Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for libXext 1.1.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10 # Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; 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
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1"
    177   if (eval "$as_required") 2>/dev/null; then :
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    183 
    184 else
    185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    186 as_found=false
    187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    188 do
    189   IFS=$as_save_IFS
    190   test -z "$as_dir" && as_dir=.
    191   as_found=:
    192   case $as_dir in #(
    193 	 /*)
    194 	   for as_base in sh bash ksh sh5; do
    195 	     # Try only shells that exist, to save several forks.
    196 	     as_shell=$as_dir/$as_base
    197 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    198 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   CONFIG_SHELL=$as_shell as_have_required=yes
    200 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    201   break 2
    202 fi
    203 fi
    204 	   done;;
    205        esac
    206   as_found=false
    207 done
    208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    209 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    210   CONFIG_SHELL=$SHELL as_have_required=yes
    211 fi; }
    212 IFS=$as_save_IFS
    213 
    214 
    215       if test "x$CONFIG_SHELL" != x; then :
    216   # We cannot yet assume a decent shell, so we have to provide a
    217 	# neutralization value for shells without unset; and this also
    218 	# works around shells that cannot unset nonexistent variables.
    219 	BASH_ENV=/dev/null
    220 	ENV=/dev/null
    221 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222 	export CONFIG_SHELL
    223 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    224 fi
    225 
    226     if test x$as_have_required = xno; then :
    227   $as_echo "$0: This script requires a shell more modern than all"
    228   $as_echo "$0: the shells that I found on your system."
    229   if test x${ZSH_VERSION+set} = xset ; then
    230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    232   else
    233     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    235 $0: about your system, including any error possibly output
    236 $0: before this message. Then install a modern shell, or
    237 $0: manually run the script under such a shell if you do
    238 $0: have one."
    239   fi
    240   exit 1
    241 fi
    242 fi
    243 fi
    244 SHELL=${CONFIG_SHELL-/bin/sh}
    245 export SHELL
    246 # Unset more variables known to interfere with behavior of common tools.
    247 CLICOLOR_FORCE= GREP_OPTIONS=
    248 unset CLICOLOR_FORCE GREP_OPTIONS
    249 
    250 ## --------------------- ##
    251 ## M4sh Shell Functions. ##
    252 ## --------------------- ##
    253 # as_fn_unset VAR
    254 # ---------------
    255 # Portably unset VAR.
    256 as_fn_unset ()
    257 {
    258   { eval $1=; unset $1;}
    259 }
    260 as_unset=as_fn_unset
    261 
    262 # as_fn_set_status STATUS
    263 # -----------------------
    264 # Set $? to STATUS, without forking.
    265 as_fn_set_status ()
    266 {
    267   return $1
    268 } # as_fn_set_status
    269 
    270 # as_fn_exit STATUS
    271 # -----------------
    272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    273 as_fn_exit ()
    274 {
    275   set +e
    276   as_fn_set_status $1
    277   exit $1
    278 } # as_fn_exit
    279 
    280 # as_fn_mkdir_p
    281 # -------------
    282 # Create "$as_dir" as a directory, including parents if necessary.
    283 as_fn_mkdir_p ()
    284 {
    285 
    286   case $as_dir in #(
    287   -*) as_dir=./$as_dir;;
    288   esac
    289   test -d "$as_dir" || eval $as_mkdir_p || {
    290     as_dirs=
    291     while :; do
    292       case $as_dir in #(
    293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    294       *) as_qdir=$as_dir;;
    295       esac
    296       as_dirs="'$as_qdir' $as_dirs"
    297       as_dir=`$as_dirname -- "$as_dir" ||
    298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    300 	 X"$as_dir" : 'X\(//\)$' \| \
    301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    302 $as_echo X"$as_dir" |
    303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)[^/].*/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\/\)$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\).*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  s/.*/./; q'`
    320       test -d "$as_dir" && break
    321     done
    322     test -z "$as_dirs" || eval "mkdir $as_dirs"
    323   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    324 
    325 
    326 } # as_fn_mkdir_p
    327 # as_fn_append VAR VALUE
    328 # ----------------------
    329 # Append the text in VALUE to the end of the definition contained in VAR. Take
    330 # advantage of any shell optimizations that allow amortized linear growth over
    331 # repeated appends, instead of the typical quadratic growth present in naive
    332 # implementations.
    333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    334   eval 'as_fn_append ()
    335   {
    336     eval $1+=\$2
    337   }'
    338 else
    339   as_fn_append ()
    340   {
    341     eval $1=\$$1\$2
    342   }
    343 fi # as_fn_append
    344 
    345 # as_fn_arith ARG...
    346 # ------------------
    347 # Perform arithmetic evaluation on the ARGs, and store the result in the
    348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    349 # must be portable across $(()) and expr.
    350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    351   eval 'as_fn_arith ()
    352   {
    353     as_val=$(( $* ))
    354   }'
    355 else
    356   as_fn_arith ()
    357   {
    358     as_val=`expr "$@" || test $? -eq 1`
    359   }
    360 fi # as_fn_arith
    361 
    362 
    363 # as_fn_error ERROR [LINENO LOG_FD]
    364 # ---------------------------------
    365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    367 # script with status $?, using 1 if that was 0.
    368 as_fn_error ()
    369 {
    370   as_status=$?; test $as_status -eq 0 && as_status=1
    371   if test "$3"; then
    372     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    374   fi
    375   $as_echo "$as_me: error: $1" >&2
    376   as_fn_exit $as_status
    377 } # as_fn_error
    378 
    379 if expr a : '\(a\)' >/dev/null 2>&1 &&
    380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    381   as_expr=expr
    382 else
    383   as_expr=false
    384 fi
    385 
    386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    387   as_basename=basename
    388 else
    389   as_basename=false
    390 fi
    391 
    392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    393   as_dirname=dirname
    394 else
    395   as_dirname=false
    396 fi
    397 
    398 as_me=`$as_basename -- "$0" ||
    399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    400 	 X"$0" : 'X\(//\)$' \| \
    401 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    402 $as_echo X/"$0" |
    403     sed '/^.*\/\([^/][^/]*\)\/*$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\/\)$/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  /^X\/\(\/\).*/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  s/.*/./; q'`
    416 
    417 # Avoid depending upon Character Ranges.
    418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    421 as_cr_digits='0123456789'
    422 as_cr_alnum=$as_cr_Letters$as_cr_digits
    423 
    424 
    425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    430   sed -n '
    431     p
    432     /[$]LINENO/=
    433   ' <$as_myself |
    434     sed '
    435       s/[$]LINENO.*/&-/
    436       t lineno
    437       b
    438       :lineno
    439       N
    440       :loop
    441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    442       t loop
    443       s/-\n.*//
    444     ' >$as_me.lineno &&
    445   chmod +x "$as_me.lineno" ||
    446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    447 
    448   # Don't try to exec as it changes $[0], causing all sort of problems
    449   # (the dirname of $[0] is not the place where we might find the
    450   # original and so on.  Autoconf is especially sensitive to this).
    451   . "./$as_me.lineno"
    452   # Exit status is that of the last command.
    453   exit
    454 }
    455 
    456 ECHO_C= ECHO_N= ECHO_T=
    457 case `echo -n x` in #(((((
    458 -n*)
    459   case `echo 'xy\c'` in
    460   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    461   xy)  ECHO_C='\c';;
    462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    463        ECHO_T='	';;
    464   esac;;
    465 *)
    466   ECHO_N='-n';;
    467 esac
    468 
    469 rm -f conf$$ conf$$.exe conf$$.file
    470 if test -d conf$$.dir; then
    471   rm -f conf$$.dir/conf$$.file
    472 else
    473   rm -f conf$$.dir
    474   mkdir conf$$.dir 2>/dev/null
    475 fi
    476 if (echo >conf$$.file) 2>/dev/null; then
    477   if ln -s conf$$.file conf$$ 2>/dev/null; then
    478     as_ln_s='ln -s'
    479     # ... but there are two gotchas:
    480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    482     # In both cases, we have to default to `cp -p'.
    483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    484       as_ln_s='cp -p'
    485   elif ln conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s=ln
    487   else
    488     as_ln_s='cp -p'
    489   fi
    490 else
    491   as_ln_s='cp -p'
    492 fi
    493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    494 rmdir conf$$.dir 2>/dev/null
    495 
    496 if mkdir -p . 2>/dev/null; then
    497   as_mkdir_p='mkdir -p "$as_dir"'
    498 else
    499   test -d ./-p && rmdir ./-p
    500   as_mkdir_p=false
    501 fi
    502 
    503 if test -x / >/dev/null 2>&1; then
    504   as_test_x='test -x'
    505 else
    506   if ls -dL / >/dev/null 2>&1; then
    507     as_ls_L_option=L
    508   else
    509     as_ls_L_option=
    510   fi
    511   as_test_x='
    512     eval sh -c '\''
    513       if test -d "$1"; then
    514 	test -d "$1/.";
    515       else
    516 	case $1 in #(
    517 	-*)set "./$1";;
    518 	esac;
    519 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    520 	???[sx]*):;;*)false;;esac;fi
    521     '\'' sh
    522   '
    523 fi
    524 as_executable_p=$as_test_x
    525 
    526 # Sed expression to map a string onto a valid CPP name.
    527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 # Sed expression to map a string onto a valid variable name.
    530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    531 
    532 
    533 
    534 # Check that we are running under the correct shell.
    535 SHELL=${CONFIG_SHELL-/bin/sh}
    536 
    537 case X$lt_ECHO in
    538 X*--fallback-echo)
    539   # Remove one level of quotation (which was required for Make).
    540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    541   ;;
    542 esac
    543 
    544 ECHO=${lt_ECHO-echo}
    545 if test "X$1" = X--no-reexec; then
    546   # Discard the --no-reexec flag, and continue.
    547   shift
    548 elif test "X$1" = X--fallback-echo; then
    549   # Avoid inline document here, it may be left over
    550   :
    551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    552   # Yippee, $ECHO works!
    553   :
    554 else
    555   # Restart under the correct shell.
    556   exec $SHELL "$0" --no-reexec ${1+"$@"}
    557 fi
    558 
    559 if test "X$1" = X--fallback-echo; then
    560   # used as fallback echo
    561   shift
    562   cat <<_LT_EOF
    563 $*
    564 _LT_EOF
    565   exit 0
    566 fi
    567 
    568 # The HP-UX ksh and POSIX shell print the target directory to stdout
    569 # if CDPATH is set.
    570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    571 
    572 if test -z "$lt_ECHO"; then
    573   if test "X${echo_test_string+set}" != Xset; then
    574     # find a string as large as possible, as long as the shell can cope with it
    575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    578 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    579       then
    580         break
    581       fi
    582     done
    583   fi
    584 
    585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    587      test "X$echo_testing_string" = "X$echo_test_string"; then
    588     :
    589   else
    590     # The Solaris, AIX, and Digital Unix default echo programs unquote
    591     # backslashes.  This makes it impossible to quote backslashes using
    592     #   echo "$something" | sed 's/\\/\\\\/g'
    593     #
    594     # So, first we look for a working echo in the user's PATH.
    595 
    596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    597     for dir in $PATH /usr/ucb; do
    598       IFS="$lt_save_ifs"
    599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    602          test "X$echo_testing_string" = "X$echo_test_string"; then
    603         ECHO="$dir/echo"
    604         break
    605       fi
    606     done
    607     IFS="$lt_save_ifs"
    608 
    609     if test "X$ECHO" = Xecho; then
    610       # We didn't find a better echo, so look for alternatives.
    611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    613          test "X$echo_testing_string" = "X$echo_test_string"; then
    614         # This shell has a builtin print -r that does the trick.
    615         ECHO='print -r'
    616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    617 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    618         # If we have ksh, try running configure again with it.
    619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    620         export ORIGINAL_CONFIG_SHELL
    621         CONFIG_SHELL=/bin/ksh
    622         export CONFIG_SHELL
    623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    624       else
    625         # Try using printf.
    626         ECHO='printf %s\n'
    627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    628 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    629 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    630 	  # Cool, printf works
    631 	  :
    632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    633 	     test "X$echo_testing_string" = 'X\t' &&
    634 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    635 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    636 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    637 	  export CONFIG_SHELL
    638 	  SHELL="$CONFIG_SHELL"
    639 	  export SHELL
    640 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    642 	     test "X$echo_testing_string" = 'X\t' &&
    643 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    644 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    645 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    646         else
    647 	  # maybe with a smaller string...
    648 	  prev=:
    649 
    650 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    651 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    652 	    then
    653 	      break
    654 	    fi
    655 	    prev="$cmd"
    656 	  done
    657 
    658 	  if test "$prev" != 'sed 50q "$0"'; then
    659 	    echo_test_string=`eval $prev`
    660 	    export echo_test_string
    661 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    662 	  else
    663 	    # Oops.  We lost completely, so just stick with echo.
    664 	    ECHO=echo
    665 	  fi
    666         fi
    667       fi
    668     fi
    669   fi
    670 fi
    671 
    672 # Copy echo and quote the copy suitably for passing to libtool from
    673 # the Makefile, instead of quoting the original, which is used later.
    674 lt_ECHO=$ECHO
    675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    677 fi
    678 
    679 
    680 
    681 
    682 test -n "$DJDIR" || exec 7<&0 </dev/null
    683 exec 6>&1
    684 
    685 # Name of the host.
    686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    687 # so uname gets run too.
    688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    689 
    690 #
    691 # Initializations.
    692 #
    693 ac_default_prefix=/usr/local
    694 ac_clean_files=
    695 ac_config_libobj_dir=.
    696 LIBOBJS=
    697 cross_compiling=no
    698 subdirs=
    699 MFLAGS=
    700 MAKEFLAGS=
    701 
    702 # Identity of this package.
    703 PACKAGE_NAME='libXext'
    704 PACKAGE_TARNAME='libXext'
    705 PACKAGE_VERSION='1.1.2'
    706 PACKAGE_STRING='libXext 1.1.2'
    707 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    708 PACKAGE_URL=''
    709 
    710 ac_unique_file="Makefile.am"
    711 # Factoring default headers for most tests.
    712 ac_includes_default="\
    713 #include <stdio.h>
    714 #ifdef HAVE_SYS_TYPES_H
    715 # include <sys/types.h>
    716 #endif
    717 #ifdef HAVE_SYS_STAT_H
    718 # include <sys/stat.h>
    719 #endif
    720 #ifdef STDC_HEADERS
    721 # include <stdlib.h>
    722 # include <stddef.h>
    723 #else
    724 # ifdef HAVE_STDLIB_H
    725 #  include <stdlib.h>
    726 # endif
    727 #endif
    728 #ifdef HAVE_STRING_H
    729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    730 #  include <memory.h>
    731 # endif
    732 # include <string.h>
    733 #endif
    734 #ifdef HAVE_STRINGS_H
    735 # include <strings.h>
    736 #endif
    737 #ifdef HAVE_INTTYPES_H
    738 # include <inttypes.h>
    739 #endif
    740 #ifdef HAVE_STDINT_H
    741 # include <stdint.h>
    742 #endif
    743 #ifdef HAVE_UNISTD_H
    744 # include <unistd.h>
    745 #endif"
    746 
    747 ac_subst_vars='am__EXEEXT_FALSE
    748 am__EXEEXT_TRUE
    749 LTLIBOBJS
    750 LIBOBJS
    751 MAKE_LINT_LIB_FALSE
    752 MAKE_LINT_LIB_TRUE
    753 LINTLIB
    754 LINT_FALSE
    755 LINT_TRUE
    756 LINT_FLAGS
    757 LINT
    758 RAWCPPFLAGS
    759 RAWCPP
    760 XTMALLOC_ZERO_CFLAGS
    761 XMALLOC_ZERO_CFLAGS
    762 MALLOC_ZERO_CFLAGS
    763 XEXT_LIBS
    764 XEXT_CFLAGS
    765 OTOOL64
    766 OTOOL
    767 LIPO
    768 NMEDIT
    769 DSYMUTIL
    770 lt_ECHO
    771 RANLIB
    772 AR
    773 OBJDUMP
    774 LN_S
    775 NM
    776 ac_ct_DUMPBIN
    777 DUMPBIN
    778 LD
    779 FGREP
    780 SED
    781 LIBTOOL
    782 XEXT_SOREV
    783 AM_BACKSLASH
    784 AM_DEFAULT_VERBOSITY
    785 MAN_SUBSTS
    786 XORG_MAN_PAGE
    787 ADMIN_MAN_DIR
    788 DRIVER_MAN_DIR
    789 MISC_MAN_DIR
    790 FILE_MAN_DIR
    791 LIB_MAN_DIR
    792 APP_MAN_DIR
    793 ADMIN_MAN_SUFFIX
    794 DRIVER_MAN_SUFFIX
    795 MISC_MAN_SUFFIX
    796 FILE_MAN_SUFFIX
    797 LIB_MAN_SUFFIX
    798 APP_MAN_SUFFIX
    799 host_os
    800 host_vendor
    801 host_cpu
    802 host
    803 build_os
    804 build_vendor
    805 build_cpu
    806 build
    807 INSTALL_CMD
    808 PKG_CONFIG
    809 CHANGELOG_CMD
    810 CWARNFLAGS
    811 EGREP
    812 GREP
    813 CPP
    814 am__fastdepCC_FALSE
    815 am__fastdepCC_TRUE
    816 CCDEPMODE
    817 AMDEPBACKSLASH
    818 AMDEP_FALSE
    819 AMDEP_TRUE
    820 am__quote
    821 am__include
    822 DEPDIR
    823 OBJEXT
    824 EXEEXT
    825 ac_ct_CC
    826 CPPFLAGS
    827 LDFLAGS
    828 CFLAGS
    829 CC
    830 MAINT
    831 MAINTAINER_MODE_FALSE
    832 MAINTAINER_MODE_TRUE
    833 am__untar
    834 am__tar
    835 AMTAR
    836 am__leading_dot
    837 SET_MAKE
    838 AWK
    839 mkdir_p
    840 MKDIR_P
    841 INSTALL_STRIP_PROGRAM
    842 STRIP
    843 install_sh
    844 MAKEINFO
    845 AUTOHEADER
    846 AUTOMAKE
    847 AUTOCONF
    848 ACLOCAL
    849 VERSION
    850 PACKAGE
    851 CYGPATH_W
    852 am__isrc
    853 INSTALL_DATA
    854 INSTALL_SCRIPT
    855 INSTALL_PROGRAM
    856 target_alias
    857 host_alias
    858 build_alias
    859 LIBS
    860 ECHO_T
    861 ECHO_N
    862 ECHO_C
    863 DEFS
    864 mandir
    865 localedir
    866 libdir
    867 psdir
    868 pdfdir
    869 dvidir
    870 htmldir
    871 infodir
    872 docdir
    873 oldincludedir
    874 includedir
    875 localstatedir
    876 sharedstatedir
    877 sysconfdir
    878 datadir
    879 datarootdir
    880 libexecdir
    881 sbindir
    882 bindir
    883 program_transform_name
    884 prefix
    885 exec_prefix
    886 PACKAGE_URL
    887 PACKAGE_BUGREPORT
    888 PACKAGE_STRING
    889 PACKAGE_VERSION
    890 PACKAGE_TARNAME
    891 PACKAGE_NAME
    892 PATH_SEPARATOR
    893 SHELL'
    894 ac_subst_files=''
    895 ac_user_opts='
    896 enable_option_checking
    897 enable_maintainer_mode
    898 enable_dependency_tracking
    899 enable_strict_compilation
    900 with_release_version
    901 enable_silent_rules
    902 enable_shared
    903 enable_static
    904 with_pic
    905 enable_fast_install
    906 with_gnu_ld
    907 enable_libtool_lock
    908 enable_malloc0returnsnull
    909 with_lint
    910 enable_lint_library
    911 '
    912       ac_precious_vars='build_alias
    913 host_alias
    914 target_alias
    915 CC
    916 CFLAGS
    917 LDFLAGS
    918 LIBS
    919 CPPFLAGS
    920 CPP
    921 PKG_CONFIG
    922 XEXT_CFLAGS
    923 XEXT_LIBS'
    924 
    925 
    926 # Initialize some variables set by options.
    927 ac_init_help=
    928 ac_init_version=false
    929 ac_unrecognized_opts=
    930 ac_unrecognized_sep=
    931 # The variables have the same names as the options, with
    932 # dashes changed to underlines.
    933 cache_file=/dev/null
    934 exec_prefix=NONE
    935 no_create=
    936 no_recursion=
    937 prefix=NONE
    938 program_prefix=NONE
    939 program_suffix=NONE
    940 program_transform_name=s,x,x,
    941 silent=
    942 site=
    943 srcdir=
    944 verbose=
    945 x_includes=NONE
    946 x_libraries=NONE
    947 
    948 # Installation directory options.
    949 # These are left unexpanded so users can "make install exec_prefix=/foo"
    950 # and all the variables that are supposed to be based on exec_prefix
    951 # by default will actually change.
    952 # Use braces instead of parens because sh, perl, etc. also accept them.
    953 # (The list follows the same order as the GNU Coding Standards.)
    954 bindir='${exec_prefix}/bin'
    955 sbindir='${exec_prefix}/sbin'
    956 libexecdir='${exec_prefix}/libexec'
    957 datarootdir='${prefix}/share'
    958 datadir='${datarootdir}'
    959 sysconfdir='${prefix}/etc'
    960 sharedstatedir='${prefix}/com'
    961 localstatedir='${prefix}/var'
    962 includedir='${prefix}/include'
    963 oldincludedir='/usr/include'
    964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    965 infodir='${datarootdir}/info'
    966 htmldir='${docdir}'
    967 dvidir='${docdir}'
    968 pdfdir='${docdir}'
    969 psdir='${docdir}'
    970 libdir='${exec_prefix}/lib'
    971 localedir='${datarootdir}/locale'
    972 mandir='${datarootdir}/man'
    973 
    974 ac_prev=
    975 ac_dashdash=
    976 for ac_option
    977 do
    978   # If the previous option needs an argument, assign it.
    979   if test -n "$ac_prev"; then
    980     eval $ac_prev=\$ac_option
    981     ac_prev=
    982     continue
    983   fi
    984 
    985   case $ac_option in
    986   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    987   *)	ac_optarg=yes ;;
    988   esac
    989 
    990   # Accept the important Cygnus configure options, so we can diagnose typos.
    991 
    992   case $ac_dashdash$ac_option in
    993   --)
    994     ac_dashdash=yes ;;
    995 
    996   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    997     ac_prev=bindir ;;
    998   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    999     bindir=$ac_optarg ;;
   1000 
   1001   -build | --build | --buil | --bui | --bu)
   1002     ac_prev=build_alias ;;
   1003   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1004     build_alias=$ac_optarg ;;
   1005 
   1006   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1007   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1008     ac_prev=cache_file ;;
   1009   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1010   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1011     cache_file=$ac_optarg ;;
   1012 
   1013   --config-cache | -C)
   1014     cache_file=config.cache ;;
   1015 
   1016   -datadir | --datadir | --datadi | --datad)
   1017     ac_prev=datadir ;;
   1018   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1019     datadir=$ac_optarg ;;
   1020 
   1021   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1022   | --dataroo | --dataro | --datar)
   1023     ac_prev=datarootdir ;;
   1024   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1025   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1026     datarootdir=$ac_optarg ;;
   1027 
   1028   -disable-* | --disable-*)
   1029     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1030     # Reject names that are not valid shell variable names.
   1031     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1032       as_fn_error "invalid feature name: $ac_useropt"
   1033     ac_useropt_orig=$ac_useropt
   1034     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1035     case $ac_user_opts in
   1036       *"
   1037 "enable_$ac_useropt"
   1038 "*) ;;
   1039       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1040 	 ac_unrecognized_sep=', ';;
   1041     esac
   1042     eval enable_$ac_useropt=no ;;
   1043 
   1044   -docdir | --docdir | --docdi | --doc | --do)
   1045     ac_prev=docdir ;;
   1046   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1047     docdir=$ac_optarg ;;
   1048 
   1049   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1050     ac_prev=dvidir ;;
   1051   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1052     dvidir=$ac_optarg ;;
   1053 
   1054   -enable-* | --enable-*)
   1055     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1056     # Reject names that are not valid shell variable names.
   1057     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1058       as_fn_error "invalid feature name: $ac_useropt"
   1059     ac_useropt_orig=$ac_useropt
   1060     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1061     case $ac_user_opts in
   1062       *"
   1063 "enable_$ac_useropt"
   1064 "*) ;;
   1065       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1066 	 ac_unrecognized_sep=', ';;
   1067     esac
   1068     eval enable_$ac_useropt=\$ac_optarg ;;
   1069 
   1070   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1071   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1072   | --exec | --exe | --ex)
   1073     ac_prev=exec_prefix ;;
   1074   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1075   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1076   | --exec=* | --exe=* | --ex=*)
   1077     exec_prefix=$ac_optarg ;;
   1078 
   1079   -gas | --gas | --ga | --g)
   1080     # Obsolete; use --with-gas.
   1081     with_gas=yes ;;
   1082 
   1083   -help | --help | --hel | --he | -h)
   1084     ac_init_help=long ;;
   1085   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1086     ac_init_help=recursive ;;
   1087   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1088     ac_init_help=short ;;
   1089 
   1090   -host | --host | --hos | --ho)
   1091     ac_prev=host_alias ;;
   1092   -host=* | --host=* | --hos=* | --ho=*)
   1093     host_alias=$ac_optarg ;;
   1094 
   1095   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1096     ac_prev=htmldir ;;
   1097   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1098   | --ht=*)
   1099     htmldir=$ac_optarg ;;
   1100 
   1101   -includedir | --includedir | --includedi | --included | --include \
   1102   | --includ | --inclu | --incl | --inc)
   1103     ac_prev=includedir ;;
   1104   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1105   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1106     includedir=$ac_optarg ;;
   1107 
   1108   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1109     ac_prev=infodir ;;
   1110   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1111     infodir=$ac_optarg ;;
   1112 
   1113   -libdir | --libdir | --libdi | --libd)
   1114     ac_prev=libdir ;;
   1115   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1116     libdir=$ac_optarg ;;
   1117 
   1118   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1119   | --libexe | --libex | --libe)
   1120     ac_prev=libexecdir ;;
   1121   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1122   | --libexe=* | --libex=* | --libe=*)
   1123     libexecdir=$ac_optarg ;;
   1124 
   1125   -localedir | --localedir | --localedi | --localed | --locale)
   1126     ac_prev=localedir ;;
   1127   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1128     localedir=$ac_optarg ;;
   1129 
   1130   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1131   | --localstate | --localstat | --localsta | --localst | --locals)
   1132     ac_prev=localstatedir ;;
   1133   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1134   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1135     localstatedir=$ac_optarg ;;
   1136 
   1137   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1138     ac_prev=mandir ;;
   1139   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1140     mandir=$ac_optarg ;;
   1141 
   1142   -nfp | --nfp | --nf)
   1143     # Obsolete; use --without-fp.
   1144     with_fp=no ;;
   1145 
   1146   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1147   | --no-cr | --no-c | -n)
   1148     no_create=yes ;;
   1149 
   1150   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1151   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1152     no_recursion=yes ;;
   1153 
   1154   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1155   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1156   | --oldin | --oldi | --old | --ol | --o)
   1157     ac_prev=oldincludedir ;;
   1158   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1159   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1160   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1161     oldincludedir=$ac_optarg ;;
   1162 
   1163   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1164     ac_prev=prefix ;;
   1165   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1166     prefix=$ac_optarg ;;
   1167 
   1168   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1169   | --program-pre | --program-pr | --program-p)
   1170     ac_prev=program_prefix ;;
   1171   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1172   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1173     program_prefix=$ac_optarg ;;
   1174 
   1175   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1176   | --program-suf | --program-su | --program-s)
   1177     ac_prev=program_suffix ;;
   1178   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1179   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1180     program_suffix=$ac_optarg ;;
   1181 
   1182   -program-transform-name | --program-transform-name \
   1183   | --program-transform-nam | --program-transform-na \
   1184   | --program-transform-n | --program-transform- \
   1185   | --program-transform | --program-transfor \
   1186   | --program-transfo | --program-transf \
   1187   | --program-trans | --program-tran \
   1188   | --progr-tra | --program-tr | --program-t)
   1189     ac_prev=program_transform_name ;;
   1190   -program-transform-name=* | --program-transform-name=* \
   1191   | --program-transform-nam=* | --program-transform-na=* \
   1192   | --program-transform-n=* | --program-transform-=* \
   1193   | --program-transform=* | --program-transfor=* \
   1194   | --program-transfo=* | --program-transf=* \
   1195   | --program-trans=* | --program-tran=* \
   1196   | --progr-tra=* | --program-tr=* | --program-t=*)
   1197     program_transform_name=$ac_optarg ;;
   1198 
   1199   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1200     ac_prev=pdfdir ;;
   1201   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1202     pdfdir=$ac_optarg ;;
   1203 
   1204   -psdir | --psdir | --psdi | --psd | --ps)
   1205     ac_prev=psdir ;;
   1206   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1207     psdir=$ac_optarg ;;
   1208 
   1209   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1210   | -silent | --silent | --silen | --sile | --sil)
   1211     silent=yes ;;
   1212 
   1213   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1214     ac_prev=sbindir ;;
   1215   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1216   | --sbi=* | --sb=*)
   1217     sbindir=$ac_optarg ;;
   1218 
   1219   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1220   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1221   | --sharedst | --shareds | --shared | --share | --shar \
   1222   | --sha | --sh)
   1223     ac_prev=sharedstatedir ;;
   1224   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1225   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1226   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1227   | --sha=* | --sh=*)
   1228     sharedstatedir=$ac_optarg ;;
   1229 
   1230   -site | --site | --sit)
   1231     ac_prev=site ;;
   1232   -site=* | --site=* | --sit=*)
   1233     site=$ac_optarg ;;
   1234 
   1235   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1236     ac_prev=srcdir ;;
   1237   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1238     srcdir=$ac_optarg ;;
   1239 
   1240   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1241   | --syscon | --sysco | --sysc | --sys | --sy)
   1242     ac_prev=sysconfdir ;;
   1243   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1244   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1245     sysconfdir=$ac_optarg ;;
   1246 
   1247   -target | --target | --targe | --targ | --tar | --ta | --t)
   1248     ac_prev=target_alias ;;
   1249   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1250     target_alias=$ac_optarg ;;
   1251 
   1252   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1253     verbose=yes ;;
   1254 
   1255   -version | --version | --versio | --versi | --vers | -V)
   1256     ac_init_version=: ;;
   1257 
   1258   -with-* | --with-*)
   1259     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1260     # Reject names that are not valid shell variable names.
   1261     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1262       as_fn_error "invalid package name: $ac_useropt"
   1263     ac_useropt_orig=$ac_useropt
   1264     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1265     case $ac_user_opts in
   1266       *"
   1267 "with_$ac_useropt"
   1268 "*) ;;
   1269       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1270 	 ac_unrecognized_sep=', ';;
   1271     esac
   1272     eval with_$ac_useropt=\$ac_optarg ;;
   1273 
   1274   -without-* | --without-*)
   1275     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1276     # Reject names that are not valid shell variable names.
   1277     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1278       as_fn_error "invalid package name: $ac_useropt"
   1279     ac_useropt_orig=$ac_useropt
   1280     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1281     case $ac_user_opts in
   1282       *"
   1283 "with_$ac_useropt"
   1284 "*) ;;
   1285       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1286 	 ac_unrecognized_sep=', ';;
   1287     esac
   1288     eval with_$ac_useropt=no ;;
   1289 
   1290   --x)
   1291     # Obsolete; use --with-x.
   1292     with_x=yes ;;
   1293 
   1294   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1295   | --x-incl | --x-inc | --x-in | --x-i)
   1296     ac_prev=x_includes ;;
   1297   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1298   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1299     x_includes=$ac_optarg ;;
   1300 
   1301   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1302   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1303     ac_prev=x_libraries ;;
   1304   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1305   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1306     x_libraries=$ac_optarg ;;
   1307 
   1308   -*) as_fn_error "unrecognized option: \`$ac_option'
   1309 Try \`$0 --help' for more information."
   1310     ;;
   1311 
   1312   *=*)
   1313     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1314     # Reject names that are not valid shell variable names.
   1315     case $ac_envvar in #(
   1316       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1317       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1318     esac
   1319     eval $ac_envvar=\$ac_optarg
   1320     export $ac_envvar ;;
   1321 
   1322   *)
   1323     # FIXME: should be removed in autoconf 3.0.
   1324     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1325     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1326       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1327     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1328     ;;
   1329 
   1330   esac
   1331 done
   1332 
   1333 if test -n "$ac_prev"; then
   1334   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1335   as_fn_error "missing argument to $ac_option"
   1336 fi
   1337 
   1338 if test -n "$ac_unrecognized_opts"; then
   1339   case $enable_option_checking in
   1340     no) ;;
   1341     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1342     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1343   esac
   1344 fi
   1345 
   1346 # Check all directory arguments for consistency.
   1347 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1348 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1349 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1350 		libdir localedir mandir
   1351 do
   1352   eval ac_val=\$$ac_var
   1353   # Remove trailing slashes.
   1354   case $ac_val in
   1355     */ )
   1356       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1357       eval $ac_var=\$ac_val;;
   1358   esac
   1359   # Be sure to have absolute directory names.
   1360   case $ac_val in
   1361     [\\/$]* | ?:[\\/]* )  continue;;
   1362     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1363   esac
   1364   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1365 done
   1366 
   1367 # There might be people who depend on the old broken behavior: `$host'
   1368 # used to hold the argument of --host etc.
   1369 # FIXME: To remove some day.
   1370 build=$build_alias
   1371 host=$host_alias
   1372 target=$target_alias
   1373 
   1374 # FIXME: To remove some day.
   1375 if test "x$host_alias" != x; then
   1376   if test "x$build_alias" = x; then
   1377     cross_compiling=maybe
   1378     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1379     If a cross compiler is detected then cross compile mode will be used." >&2
   1380   elif test "x$build_alias" != "x$host_alias"; then
   1381     cross_compiling=yes
   1382   fi
   1383 fi
   1384 
   1385 ac_tool_prefix=
   1386 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1387 
   1388 test "$silent" = yes && exec 6>/dev/null
   1389 
   1390 
   1391 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1392 ac_ls_di=`ls -di .` &&
   1393 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1394   as_fn_error "working directory cannot be determined"
   1395 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1396   as_fn_error "pwd does not report name of working directory"
   1397 
   1398 
   1399 # Find the source files, if location was not specified.
   1400 if test -z "$srcdir"; then
   1401   ac_srcdir_defaulted=yes
   1402   # Try the directory containing this script, then the parent directory.
   1403   ac_confdir=`$as_dirname -- "$as_myself" ||
   1404 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1405 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1406 	 X"$as_myself" : 'X\(//\)$' \| \
   1407 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1408 $as_echo X"$as_myself" |
   1409     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1410 	    s//\1/
   1411 	    q
   1412 	  }
   1413 	  /^X\(\/\/\)[^/].*/{
   1414 	    s//\1/
   1415 	    q
   1416 	  }
   1417 	  /^X\(\/\/\)$/{
   1418 	    s//\1/
   1419 	    q
   1420 	  }
   1421 	  /^X\(\/\).*/{
   1422 	    s//\1/
   1423 	    q
   1424 	  }
   1425 	  s/.*/./; q'`
   1426   srcdir=$ac_confdir
   1427   if test ! -r "$srcdir/$ac_unique_file"; then
   1428     srcdir=..
   1429   fi
   1430 else
   1431   ac_srcdir_defaulted=no
   1432 fi
   1433 if test ! -r "$srcdir/$ac_unique_file"; then
   1434   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1435   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1436 fi
   1437 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1438 ac_abs_confdir=`(
   1439 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1440 	pwd)`
   1441 # When building in place, set srcdir=.
   1442 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1443   srcdir=.
   1444 fi
   1445 # Remove unnecessary trailing slashes from srcdir.
   1446 # Double slashes in file names in object file debugging info
   1447 # mess up M-x gdb in Emacs.
   1448 case $srcdir in
   1449 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1450 esac
   1451 for ac_var in $ac_precious_vars; do
   1452   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1453   eval ac_env_${ac_var}_value=\$${ac_var}
   1454   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1455   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1456 done
   1457 
   1458 #
   1459 # Report the --help message.
   1460 #
   1461 if test "$ac_init_help" = "long"; then
   1462   # Omit some internal or obsolete options to make the list less imposing.
   1463   # This message is too long to be a string in the A/UX 3.1 sh.
   1464   cat <<_ACEOF
   1465 \`configure' configures libXext 1.1.2 to adapt to many kinds of systems.
   1466 
   1467 Usage: $0 [OPTION]... [VAR=VALUE]...
   1468 
   1469 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1470 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1471 
   1472 Defaults for the options are specified in brackets.
   1473 
   1474 Configuration:
   1475   -h, --help              display this help and exit
   1476       --help=short        display options specific to this package
   1477       --help=recursive    display the short help of all the included packages
   1478   -V, --version           display version information and exit
   1479   -q, --quiet, --silent   do not print \`checking...' messages
   1480       --cache-file=FILE   cache test results in FILE [disabled]
   1481   -C, --config-cache      alias for \`--cache-file=config.cache'
   1482   -n, --no-create         do not create output files
   1483       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1484 
   1485 Installation directories:
   1486   --prefix=PREFIX         install architecture-independent files in PREFIX
   1487                           [$ac_default_prefix]
   1488   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1489                           [PREFIX]
   1490 
   1491 By default, \`make install' will install all the files in
   1492 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1493 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1494 for instance \`--prefix=\$HOME'.
   1495 
   1496 For better control, use the options below.
   1497 
   1498 Fine tuning of the installation directories:
   1499   --bindir=DIR            user executables [EPREFIX/bin]
   1500   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1501   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1502   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1503   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1504   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1505   --libdir=DIR            object code libraries [EPREFIX/lib]
   1506   --includedir=DIR        C header files [PREFIX/include]
   1507   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1508   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1509   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1510   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1511   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1512   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1513   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXext]
   1514   --htmldir=DIR           html documentation [DOCDIR]
   1515   --dvidir=DIR            dvi documentation [DOCDIR]
   1516   --pdfdir=DIR            pdf documentation [DOCDIR]
   1517   --psdir=DIR             ps documentation [DOCDIR]
   1518 _ACEOF
   1519 
   1520   cat <<\_ACEOF
   1521 
   1522 Program names:
   1523   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1524   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1525   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1526 
   1527 System types:
   1528   --build=BUILD     configure for building on BUILD [guessed]
   1529   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1530 _ACEOF
   1531 fi
   1532 
   1533 if test -n "$ac_init_help"; then
   1534   case $ac_init_help in
   1535      short | recursive ) echo "Configuration of libXext 1.1.2:";;
   1536    esac
   1537   cat <<\_ACEOF
   1538 
   1539 Optional Features:
   1540   --disable-option-checking  ignore unrecognized --enable/--with options
   1541   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1542   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1543   --enable-maintainer-mode  enable make rules and dependencies not useful
   1544 			  (and sometimes confusing) to the casual installer
   1545   --disable-dependency-tracking  speeds up one-time build
   1546   --enable-dependency-tracking   do not reject slow dependency extractors
   1547   --enable-strict-compilation
   1548                           Enable all warnings from compiler and make them
   1549                           errors (default: disabled)
   1550   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1551   --disable-silent-rules         verbose build output (undo: `make V=0')
   1552   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1553   --enable-static[=PKGS]  build static libraries [default=yes]
   1554   --enable-fast-install[=PKGS]
   1555                           optimize for fast installation [default=yes]
   1556   --disable-libtool-lock  avoid locking (might break parallel builds)
   1557   --enable-malloc0returnsnull
   1558                           malloc(0) returns NULL (default: auto)
   1559   --enable-lint-library   Create lint library (default: disabled)
   1560 
   1561 Optional Packages:
   1562   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1563   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1564   --with-release-version=STRING
   1565                           Use release version string in package name
   1566   --with-pic              try to use only PIC/non-PIC objects [default=use
   1567                           both]
   1568   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1569   --with-lint             Use a lint-style source code checker (default:
   1570                           disabled)
   1571 
   1572 Some influential environment variables:
   1573   CC          C compiler command
   1574   CFLAGS      C compiler flags
   1575   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1576               nonstandard directory <lib dir>
   1577   LIBS        libraries to pass to the linker, e.g. -l<library>
   1578   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1579               you have headers in a nonstandard directory <include dir>
   1580   CPP         C preprocessor
   1581   PKG_CONFIG  path to pkg-config utility
   1582   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1583   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1584 
   1585 Use these variables to override the choices made by `configure' or to help
   1586 it to find libraries and programs with nonstandard names/locations.
   1587 
   1588 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1589 _ACEOF
   1590 ac_status=$?
   1591 fi
   1592 
   1593 if test "$ac_init_help" = "recursive"; then
   1594   # If there are subdirs, report their specific --help.
   1595   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1596     test -d "$ac_dir" ||
   1597       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1598       continue
   1599     ac_builddir=.
   1600 
   1601 case "$ac_dir" in
   1602 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1603 *)
   1604   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1605   # A ".." for each directory in $ac_dir_suffix.
   1606   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1607   case $ac_top_builddir_sub in
   1608   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1609   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1610   esac ;;
   1611 esac
   1612 ac_abs_top_builddir=$ac_pwd
   1613 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1614 # for backward compatibility:
   1615 ac_top_builddir=$ac_top_build_prefix
   1616 
   1617 case $srcdir in
   1618   .)  # We are building in place.
   1619     ac_srcdir=.
   1620     ac_top_srcdir=$ac_top_builddir_sub
   1621     ac_abs_top_srcdir=$ac_pwd ;;
   1622   [\\/]* | ?:[\\/]* )  # Absolute name.
   1623     ac_srcdir=$srcdir$ac_dir_suffix;
   1624     ac_top_srcdir=$srcdir
   1625     ac_abs_top_srcdir=$srcdir ;;
   1626   *) # Relative name.
   1627     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1628     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1629     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1630 esac
   1631 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1632 
   1633     cd "$ac_dir" || { ac_status=$?; continue; }
   1634     # Check for guested configure.
   1635     if test -f "$ac_srcdir/configure.gnu"; then
   1636       echo &&
   1637       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1638     elif test -f "$ac_srcdir/configure"; then
   1639       echo &&
   1640       $SHELL "$ac_srcdir/configure" --help=recursive
   1641     else
   1642       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1643     fi || ac_status=$?
   1644     cd "$ac_pwd" || { ac_status=$?; break; }
   1645   done
   1646 fi
   1647 
   1648 test -n "$ac_init_help" && exit $ac_status
   1649 if $ac_init_version; then
   1650   cat <<\_ACEOF
   1651 libXext configure 1.1.2
   1652 generated by GNU Autoconf 2.65
   1653 
   1654 Copyright (C) 2009 Free Software Foundation, Inc.
   1655 This configure script is free software; the Free Software Foundation
   1656 gives unlimited permission to copy, distribute and modify it.
   1657 _ACEOF
   1658   exit
   1659 fi
   1660 
   1661 ## ------------------------ ##
   1662 ## Autoconf initialization. ##
   1663 ## ------------------------ ##
   1664 
   1665 # ac_fn_c_try_compile LINENO
   1666 # --------------------------
   1667 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1668 ac_fn_c_try_compile ()
   1669 {
   1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1671   rm -f conftest.$ac_objext
   1672   if { { ac_try="$ac_compile"
   1673 case "(($ac_try" in
   1674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1675   *) ac_try_echo=$ac_try;;
   1676 esac
   1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1678 $as_echo "$ac_try_echo"; } >&5
   1679   (eval "$ac_compile") 2>conftest.err
   1680   ac_status=$?
   1681   if test -s conftest.err; then
   1682     grep -v '^ *+' conftest.err >conftest.er1
   1683     cat conftest.er1 >&5
   1684     mv -f conftest.er1 conftest.err
   1685   fi
   1686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1687   test $ac_status = 0; } && {
   1688 	 test -z "$ac_c_werror_flag" ||
   1689 	 test ! -s conftest.err
   1690        } && test -s conftest.$ac_objext; then :
   1691   ac_retval=0
   1692 else
   1693   $as_echo "$as_me: failed program was:" >&5
   1694 sed 's/^/| /' conftest.$ac_ext >&5
   1695 
   1696 	ac_retval=1
   1697 fi
   1698   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1699   as_fn_set_status $ac_retval
   1700 
   1701 } # ac_fn_c_try_compile
   1702 
   1703 # ac_fn_c_check_decl LINENO SYMBOL VAR
   1704 # ------------------------------------
   1705 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   1706 ac_fn_c_check_decl ()
   1707 {
   1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   1710 $as_echo_n "checking whether $2 is declared... " >&6; }
   1711 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1712   $as_echo_n "(cached) " >&6
   1713 else
   1714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1715 /* end confdefs.h.  */
   1716 $4
   1717 int
   1718 main ()
   1719 {
   1720 #ifndef $2
   1721   (void) $2;
   1722 #endif
   1723 
   1724   ;
   1725   return 0;
   1726 }
   1727 _ACEOF
   1728 if ac_fn_c_try_compile "$LINENO"; then :
   1729   eval "$3=yes"
   1730 else
   1731   eval "$3=no"
   1732 fi
   1733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1734 fi
   1735 eval ac_res=\$$3
   1736 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1737 $as_echo "$ac_res" >&6; }
   1738   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1739 
   1740 } # ac_fn_c_check_decl
   1741 
   1742 # ac_fn_c_try_cpp LINENO
   1743 # ----------------------
   1744 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1745 ac_fn_c_try_cpp ()
   1746 {
   1747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1748   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1749 case "(($ac_try" in
   1750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1751   *) ac_try_echo=$ac_try;;
   1752 esac
   1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1754 $as_echo "$ac_try_echo"; } >&5
   1755   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1756   ac_status=$?
   1757   if test -s conftest.err; then
   1758     grep -v '^ *+' conftest.err >conftest.er1
   1759     cat conftest.er1 >&5
   1760     mv -f conftest.er1 conftest.err
   1761   fi
   1762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1763   test $ac_status = 0; } >/dev/null && {
   1764 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1765 	 test ! -s conftest.err
   1766        }; then :
   1767   ac_retval=0
   1768 else
   1769   $as_echo "$as_me: failed program was:" >&5
   1770 sed 's/^/| /' conftest.$ac_ext >&5
   1771 
   1772     ac_retval=1
   1773 fi
   1774   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1775   as_fn_set_status $ac_retval
   1776 
   1777 } # ac_fn_c_try_cpp
   1778 
   1779 # ac_fn_c_try_run LINENO
   1780 # ----------------------
   1781 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1782 # that executables *can* be run.
   1783 ac_fn_c_try_run ()
   1784 {
   1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1786   if { { ac_try="$ac_link"
   1787 case "(($ac_try" in
   1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1789   *) ac_try_echo=$ac_try;;
   1790 esac
   1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1792 $as_echo "$ac_try_echo"; } >&5
   1793   (eval "$ac_link") 2>&5
   1794   ac_status=$?
   1795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1796   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1797   { { case "(($ac_try" in
   1798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1799   *) ac_try_echo=$ac_try;;
   1800 esac
   1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1802 $as_echo "$ac_try_echo"; } >&5
   1803   (eval "$ac_try") 2>&5
   1804   ac_status=$?
   1805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1806   test $ac_status = 0; }; }; then :
   1807   ac_retval=0
   1808 else
   1809   $as_echo "$as_me: program exited with status $ac_status" >&5
   1810        $as_echo "$as_me: failed program was:" >&5
   1811 sed 's/^/| /' conftest.$ac_ext >&5
   1812 
   1813        ac_retval=$ac_status
   1814 fi
   1815   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1816   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1817   as_fn_set_status $ac_retval
   1818 
   1819 } # ac_fn_c_try_run
   1820 
   1821 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1822 # -------------------------------------------------------
   1823 # Tests whether HEADER exists and can be compiled using the include files in
   1824 # INCLUDES, setting the cache variable VAR accordingly.
   1825 ac_fn_c_check_header_compile ()
   1826 {
   1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1829 $as_echo_n "checking for $2... " >&6; }
   1830 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1831   $as_echo_n "(cached) " >&6
   1832 else
   1833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1834 /* end confdefs.h.  */
   1835 $4
   1836 #include <$2>
   1837 _ACEOF
   1838 if ac_fn_c_try_compile "$LINENO"; then :
   1839   eval "$3=yes"
   1840 else
   1841   eval "$3=no"
   1842 fi
   1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1844 fi
   1845 eval ac_res=\$$3
   1846 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1847 $as_echo "$ac_res" >&6; }
   1848   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1849 
   1850 } # ac_fn_c_check_header_compile
   1851 
   1852 # ac_fn_c_try_link LINENO
   1853 # -----------------------
   1854 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1855 ac_fn_c_try_link ()
   1856 {
   1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1858   rm -f conftest.$ac_objext conftest$ac_exeext
   1859   if { { ac_try="$ac_link"
   1860 case "(($ac_try" in
   1861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1862   *) ac_try_echo=$ac_try;;
   1863 esac
   1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1865 $as_echo "$ac_try_echo"; } >&5
   1866   (eval "$ac_link") 2>conftest.err
   1867   ac_status=$?
   1868   if test -s conftest.err; then
   1869     grep -v '^ *+' conftest.err >conftest.er1
   1870     cat conftest.er1 >&5
   1871     mv -f conftest.er1 conftest.err
   1872   fi
   1873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1874   test $ac_status = 0; } && {
   1875 	 test -z "$ac_c_werror_flag" ||
   1876 	 test ! -s conftest.err
   1877        } && test -s conftest$ac_exeext && {
   1878 	 test "$cross_compiling" = yes ||
   1879 	 $as_test_x conftest$ac_exeext
   1880        }; then :
   1881   ac_retval=0
   1882 else
   1883   $as_echo "$as_me: failed program was:" >&5
   1884 sed 's/^/| /' conftest.$ac_ext >&5
   1885 
   1886 	ac_retval=1
   1887 fi
   1888   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1889   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1890   # interfere with the next link command; also delete a directory that is
   1891   # left behind by Apple's compiler.  We do this before executing the actions.
   1892   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1893   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1894   as_fn_set_status $ac_retval
   1895 
   1896 } # ac_fn_c_try_link
   1897 
   1898 # ac_fn_c_check_func LINENO FUNC VAR
   1899 # ----------------------------------
   1900 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1901 ac_fn_c_check_func ()
   1902 {
   1903   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1905 $as_echo_n "checking for $2... " >&6; }
   1906 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1907   $as_echo_n "(cached) " >&6
   1908 else
   1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1910 /* end confdefs.h.  */
   1911 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1913 #define $2 innocuous_$2
   1914 
   1915 /* System header to define __stub macros and hopefully few prototypes,
   1916     which can conflict with char $2 (); below.
   1917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1918     <limits.h> exists even on freestanding compilers.  */
   1919 
   1920 #ifdef __STDC__
   1921 # include <limits.h>
   1922 #else
   1923 # include <assert.h>
   1924 #endif
   1925 
   1926 #undef $2
   1927 
   1928 /* Override any GCC internal prototype to avoid an error.
   1929    Use char because int might match the return type of a GCC
   1930    builtin and then its argument prototype would still apply.  */
   1931 #ifdef __cplusplus
   1932 extern "C"
   1933 #endif
   1934 char $2 ();
   1935 /* The GNU C library defines this for functions which it implements
   1936     to always fail with ENOSYS.  Some functions are actually named
   1937     something starting with __ and the normal name is an alias.  */
   1938 #if defined __stub_$2 || defined __stub___$2
   1939 choke me
   1940 #endif
   1941 
   1942 int
   1943 main ()
   1944 {
   1945 return $2 ();
   1946   ;
   1947   return 0;
   1948 }
   1949 _ACEOF
   1950 if ac_fn_c_try_link "$LINENO"; then :
   1951   eval "$3=yes"
   1952 else
   1953   eval "$3=no"
   1954 fi
   1955 rm -f core conftest.err conftest.$ac_objext \
   1956     conftest$ac_exeext conftest.$ac_ext
   1957 fi
   1958 eval ac_res=\$$3
   1959 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1960 $as_echo "$ac_res" >&6; }
   1961   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1962 
   1963 } # ac_fn_c_check_func
   1964 cat >config.log <<_ACEOF
   1965 This file contains any messages produced by compilers while
   1966 running configure, to aid debugging if configure makes a mistake.
   1967 
   1968 It was created by libXext $as_me 1.1.2, which was
   1969 generated by GNU Autoconf 2.65.  Invocation command line was
   1970 
   1971   $ $0 $@
   1972 
   1973 _ACEOF
   1974 exec 5>>config.log
   1975 {
   1976 cat <<_ASUNAME
   1977 ## --------- ##
   1978 ## Platform. ##
   1979 ## --------- ##
   1980 
   1981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1986 
   1987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1988 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1989 
   1990 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1991 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1993 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1994 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1995 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1996 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1997 
   1998 _ASUNAME
   1999 
   2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2001 for as_dir in $PATH
   2002 do
   2003   IFS=$as_save_IFS
   2004   test -z "$as_dir" && as_dir=.
   2005     $as_echo "PATH: $as_dir"
   2006   done
   2007 IFS=$as_save_IFS
   2008 
   2009 } >&5
   2010 
   2011 cat >&5 <<_ACEOF
   2012 
   2013 
   2014 ## ----------- ##
   2015 ## Core tests. ##
   2016 ## ----------- ##
   2017 
   2018 _ACEOF
   2019 
   2020 
   2021 # Keep a trace of the command line.
   2022 # Strip out --no-create and --no-recursion so they do not pile up.
   2023 # Strip out --silent because we don't want to record it for future runs.
   2024 # Also quote any args containing shell meta-characters.
   2025 # Make two passes to allow for proper duplicate-argument suppression.
   2026 ac_configure_args=
   2027 ac_configure_args0=
   2028 ac_configure_args1=
   2029 ac_must_keep_next=false
   2030 for ac_pass in 1 2
   2031 do
   2032   for ac_arg
   2033   do
   2034     case $ac_arg in
   2035     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2036     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2037     | -silent | --silent | --silen | --sile | --sil)
   2038       continue ;;
   2039     *\'*)
   2040       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2041     esac
   2042     case $ac_pass in
   2043     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2044     2)
   2045       as_fn_append ac_configure_args1 " '$ac_arg'"
   2046       if test $ac_must_keep_next = true; then
   2047 	ac_must_keep_next=false # Got value, back to normal.
   2048       else
   2049 	case $ac_arg in
   2050 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2051 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2052 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2053 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2054 	    case "$ac_configure_args0 " in
   2055 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2056 	    esac
   2057 	    ;;
   2058 	  -* ) ac_must_keep_next=true ;;
   2059 	esac
   2060       fi
   2061       as_fn_append ac_configure_args " '$ac_arg'"
   2062       ;;
   2063     esac
   2064   done
   2065 done
   2066 { ac_configure_args0=; unset ac_configure_args0;}
   2067 { ac_configure_args1=; unset ac_configure_args1;}
   2068 
   2069 # When interrupted or exit'd, cleanup temporary files, and complete
   2070 # config.log.  We remove comments because anyway the quotes in there
   2071 # would cause problems or look ugly.
   2072 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2073 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2074 trap 'exit_status=$?
   2075   # Save into config.log some information that might help in debugging.
   2076   {
   2077     echo
   2078 
   2079     cat <<\_ASBOX
   2080 ## ---------------- ##
   2081 ## Cache variables. ##
   2082 ## ---------------- ##
   2083 _ASBOX
   2084     echo
   2085     # The following way of writing the cache mishandles newlines in values,
   2086 (
   2087   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2088     eval ac_val=\$$ac_var
   2089     case $ac_val in #(
   2090     *${as_nl}*)
   2091       case $ac_var in #(
   2092       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2094       esac
   2095       case $ac_var in #(
   2096       _ | IFS | as_nl) ;; #(
   2097       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2098       *) { eval $ac_var=; unset $ac_var;} ;;
   2099       esac ;;
   2100     esac
   2101   done
   2102   (set) 2>&1 |
   2103     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2104     *${as_nl}ac_space=\ *)
   2105       sed -n \
   2106 	"s/'\''/'\''\\\\'\'''\''/g;
   2107 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2108       ;; #(
   2109     *)
   2110       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2111       ;;
   2112     esac |
   2113     sort
   2114 )
   2115     echo
   2116 
   2117     cat <<\_ASBOX
   2118 ## ----------------- ##
   2119 ## Output variables. ##
   2120 ## ----------------- ##
   2121 _ASBOX
   2122     echo
   2123     for ac_var in $ac_subst_vars
   2124     do
   2125       eval ac_val=\$$ac_var
   2126       case $ac_val in
   2127       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2128       esac
   2129       $as_echo "$ac_var='\''$ac_val'\''"
   2130     done | sort
   2131     echo
   2132 
   2133     if test -n "$ac_subst_files"; then
   2134       cat <<\_ASBOX
   2135 ## ------------------- ##
   2136 ## File substitutions. ##
   2137 ## ------------------- ##
   2138 _ASBOX
   2139       echo
   2140       for ac_var in $ac_subst_files
   2141       do
   2142 	eval ac_val=\$$ac_var
   2143 	case $ac_val in
   2144 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2145 	esac
   2146 	$as_echo "$ac_var='\''$ac_val'\''"
   2147       done | sort
   2148       echo
   2149     fi
   2150 
   2151     if test -s confdefs.h; then
   2152       cat <<\_ASBOX
   2153 ## ----------- ##
   2154 ## confdefs.h. ##
   2155 ## ----------- ##
   2156 _ASBOX
   2157       echo
   2158       cat confdefs.h
   2159       echo
   2160     fi
   2161     test "$ac_signal" != 0 &&
   2162       $as_echo "$as_me: caught signal $ac_signal"
   2163     $as_echo "$as_me: exit $exit_status"
   2164   } >&5
   2165   rm -f core *.core core.conftest.* &&
   2166     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2167     exit $exit_status
   2168 ' 0
   2169 for ac_signal in 1 2 13 15; do
   2170   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2171 done
   2172 ac_signal=0
   2173 
   2174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2175 rm -f -r conftest* confdefs.h
   2176 
   2177 $as_echo "/* confdefs.h */" > confdefs.h
   2178 
   2179 # Predefined preprocessor variables.
   2180 
   2181 cat >>confdefs.h <<_ACEOF
   2182 #define PACKAGE_NAME "$PACKAGE_NAME"
   2183 _ACEOF
   2184 
   2185 cat >>confdefs.h <<_ACEOF
   2186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2187 _ACEOF
   2188 
   2189 cat >>confdefs.h <<_ACEOF
   2190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2191 _ACEOF
   2192 
   2193 cat >>confdefs.h <<_ACEOF
   2194 #define PACKAGE_STRING "$PACKAGE_STRING"
   2195 _ACEOF
   2196 
   2197 cat >>confdefs.h <<_ACEOF
   2198 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2199 _ACEOF
   2200 
   2201 cat >>confdefs.h <<_ACEOF
   2202 #define PACKAGE_URL "$PACKAGE_URL"
   2203 _ACEOF
   2204 
   2205 
   2206 # Let the site file select an alternate cache file if it wants to.
   2207 # Prefer an explicitly selected file to automatically selected ones.
   2208 ac_site_file1=NONE
   2209 ac_site_file2=NONE
   2210 if test -n "$CONFIG_SITE"; then
   2211   ac_site_file1=$CONFIG_SITE
   2212 elif test "x$prefix" != xNONE; then
   2213   ac_site_file1=$prefix/share/config.site
   2214   ac_site_file2=$prefix/etc/config.site
   2215 else
   2216   ac_site_file1=$ac_default_prefix/share/config.site
   2217   ac_site_file2=$ac_default_prefix/etc/config.site
   2218 fi
   2219 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2220 do
   2221   test "x$ac_site_file" = xNONE && continue
   2222   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2223     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2224 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2225     sed 's/^/| /' "$ac_site_file" >&5
   2226     . "$ac_site_file"
   2227   fi
   2228 done
   2229 
   2230 if test -r "$cache_file"; then
   2231   # Some versions of bash will fail to source /dev/null (special files
   2232   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2233   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2234     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2235 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2236     case $cache_file in
   2237       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2238       *)                      . "./$cache_file";;
   2239     esac
   2240   fi
   2241 else
   2242   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2243 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2244   >$cache_file
   2245 fi
   2246 
   2247 # Check that the precious variables saved in the cache have kept the same
   2248 # value.
   2249 ac_cache_corrupted=false
   2250 for ac_var in $ac_precious_vars; do
   2251   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2252   eval ac_new_set=\$ac_env_${ac_var}_set
   2253   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2254   eval ac_new_val=\$ac_env_${ac_var}_value
   2255   case $ac_old_set,$ac_new_set in
   2256     set,)
   2257       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2258 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2259       ac_cache_corrupted=: ;;
   2260     ,set)
   2261       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2262 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2263       ac_cache_corrupted=: ;;
   2264     ,);;
   2265     *)
   2266       if test "x$ac_old_val" != "x$ac_new_val"; then
   2267 	# differences in whitespace do not lead to failure.
   2268 	ac_old_val_w=`echo x $ac_old_val`
   2269 	ac_new_val_w=`echo x $ac_new_val`
   2270 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2271 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2272 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2273 	  ac_cache_corrupted=:
   2274 	else
   2275 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2276 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2277 	  eval $ac_var=\$ac_old_val
   2278 	fi
   2279 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2280 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2281 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2282 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2283       fi;;
   2284   esac
   2285   # Pass precious variables to config.status.
   2286   if test "$ac_new_set" = set; then
   2287     case $ac_new_val in
   2288     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2289     *) ac_arg=$ac_var=$ac_new_val ;;
   2290     esac
   2291     case " $ac_configure_args " in
   2292       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2293       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2294     esac
   2295   fi
   2296 done
   2297 if $ac_cache_corrupted; then
   2298   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2300   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2301 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2302   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2303 fi
   2304 ## -------------------- ##
   2305 ## Main body of script. ##
   2306 ## -------------------- ##
   2307 
   2308 ac_ext=c
   2309 ac_cpp='$CPP $CPPFLAGS'
   2310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2313 
   2314 
   2315 
   2316 
   2317 am__api_version='1.11'
   2318 
   2319 ac_aux_dir=
   2320 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2321   for ac_t in install-sh install.sh shtool; do
   2322     if test -f "$ac_dir/$ac_t"; then
   2323       ac_aux_dir=$ac_dir
   2324       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2325       break 2
   2326     fi
   2327   done
   2328 done
   2329 if test -z "$ac_aux_dir"; then
   2330   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2331 fi
   2332 
   2333 # These three variables are undocumented and unsupported,
   2334 # and are intended to be withdrawn in a future Autoconf release.
   2335 # They can cause serious problems if a builder's source tree is in a directory
   2336 # whose full name contains unusual characters.
   2337 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2338 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2339 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2340 
   2341 
   2342 # Find a good install program.  We prefer a C program (faster),
   2343 # so one script is as good as another.  But avoid the broken or
   2344 # incompatible versions:
   2345 # SysV /etc/install, /usr/sbin/install
   2346 # SunOS /usr/etc/install
   2347 # IRIX /sbin/install
   2348 # AIX /bin/install
   2349 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2350 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2351 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2352 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2353 # OS/2's system install, which has a completely different semantic
   2354 # ./install, which can be erroneously created by make from ./install.sh.
   2355 # Reject install programs that cannot install multiple files.
   2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2357 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2358 if test -z "$INSTALL"; then
   2359 if test "${ac_cv_path_install+set}" = set; then :
   2360   $as_echo_n "(cached) " >&6
   2361 else
   2362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2363 for as_dir in $PATH
   2364 do
   2365   IFS=$as_save_IFS
   2366   test -z "$as_dir" && as_dir=.
   2367     # Account for people who put trailing slashes in PATH elements.
   2368 case $as_dir/ in #((
   2369   ./ | .// | /[cC]/* | \
   2370   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2371   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2372   /usr/ucb/* ) ;;
   2373   *)
   2374     # OSF1 and SCO ODT 3.0 have their own names for install.
   2375     # Don't use installbsd from OSF since it installs stuff as root
   2376     # by default.
   2377     for ac_prog in ginstall scoinst install; do
   2378       for ac_exec_ext in '' $ac_executable_extensions; do
   2379 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2380 	  if test $ac_prog = install &&
   2381 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2382 	    # AIX install.  It has an incompatible calling convention.
   2383 	    :
   2384 	  elif test $ac_prog = install &&
   2385 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2386 	    # program-specific install script used by HP pwplus--don't use.
   2387 	    :
   2388 	  else
   2389 	    rm -rf conftest.one conftest.two conftest.dir
   2390 	    echo one > conftest.one
   2391 	    echo two > conftest.two
   2392 	    mkdir conftest.dir
   2393 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2394 	      test -s conftest.one && test -s conftest.two &&
   2395 	      test -s conftest.dir/conftest.one &&
   2396 	      test -s conftest.dir/conftest.two
   2397 	    then
   2398 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2399 	      break 3
   2400 	    fi
   2401 	  fi
   2402 	fi
   2403       done
   2404     done
   2405     ;;
   2406 esac
   2407 
   2408   done
   2409 IFS=$as_save_IFS
   2410 
   2411 rm -rf conftest.one conftest.two conftest.dir
   2412 
   2413 fi
   2414   if test "${ac_cv_path_install+set}" = set; then
   2415     INSTALL=$ac_cv_path_install
   2416   else
   2417     # As a last resort, use the slow shell script.  Don't cache a
   2418     # value for INSTALL within a source directory, because that will
   2419     # break other packages using the cache if that directory is
   2420     # removed, or if the value is a relative name.
   2421     INSTALL=$ac_install_sh
   2422   fi
   2423 fi
   2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2425 $as_echo "$INSTALL" >&6; }
   2426 
   2427 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2428 # It thinks the first close brace ends the variable substitution.
   2429 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2430 
   2431 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2432 
   2433 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2434 
   2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2436 $as_echo_n "checking whether build environment is sane... " >&6; }
   2437 # Just in case
   2438 sleep 1
   2439 echo timestamp > conftest.file
   2440 # Reject unsafe characters in $srcdir or the absolute working directory
   2441 # name.  Accept space and tab only in the latter.
   2442 am_lf='
   2443 '
   2444 case `pwd` in
   2445   *[\\\"\#\$\&\'\`$am_lf]*)
   2446     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2447 esac
   2448 case $srcdir in
   2449   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2450     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2451 esac
   2452 
   2453 # Do `set' in a subshell so we don't clobber the current shell's
   2454 # arguments.  Must try -L first in case configure is actually a
   2455 # symlink; some systems play weird games with the mod time of symlinks
   2456 # (eg FreeBSD returns the mod time of the symlink's containing
   2457 # directory).
   2458 if (
   2459    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2460    if test "$*" = "X"; then
   2461       # -L didn't work.
   2462       set X `ls -t "$srcdir/configure" conftest.file`
   2463    fi
   2464    rm -f conftest.file
   2465    if test "$*" != "X $srcdir/configure conftest.file" \
   2466       && test "$*" != "X conftest.file $srcdir/configure"; then
   2467 
   2468       # If neither matched, then we have a broken ls.  This can happen
   2469       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2470       # broken ls alias from the environment.  This has actually
   2471       # happened.  Such a system could not be considered "sane".
   2472       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2473 alias in your environment" "$LINENO" 5
   2474    fi
   2475 
   2476    test "$2" = conftest.file
   2477    )
   2478 then
   2479    # Ok.
   2480    :
   2481 else
   2482    as_fn_error "newly created file is older than distributed files!
   2483 Check your system clock" "$LINENO" 5
   2484 fi
   2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2486 $as_echo "yes" >&6; }
   2487 test "$program_prefix" != NONE &&
   2488   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2489 # Use a double $ so make ignores it.
   2490 test "$program_suffix" != NONE &&
   2491   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2492 # Double any \ or $.
   2493 # By default was `s,x,x', remove it if useless.
   2494 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2495 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2496 
   2497 # expand $ac_aux_dir to an absolute path
   2498 am_aux_dir=`cd $ac_aux_dir && pwd`
   2499 
   2500 if test x"${MISSING+set}" != xset; then
   2501   case $am_aux_dir in
   2502   *\ * | *\	*)
   2503     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2504   *)
   2505     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2506   esac
   2507 fi
   2508 # Use eval to expand $SHELL
   2509 if eval "$MISSING --run true"; then
   2510   am_missing_run="$MISSING --run "
   2511 else
   2512   am_missing_run=
   2513   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2514 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2515 fi
   2516 
   2517 if test x"${install_sh}" != xset; then
   2518   case $am_aux_dir in
   2519   *\ * | *\	*)
   2520     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2521   *)
   2522     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2523   esac
   2524 fi
   2525 
   2526 # Installed binaries are usually stripped using `strip' when the user
   2527 # run `make install-strip'.  However `strip' might not be the right
   2528 # tool to use in cross-compilation environments, therefore Automake
   2529 # will honor the `STRIP' environment variable to overrule this program.
   2530 if test "$cross_compiling" != no; then
   2531   if test -n "$ac_tool_prefix"; then
   2532   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2533 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2535 $as_echo_n "checking for $ac_word... " >&6; }
   2536 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   if test -n "$STRIP"; then
   2540   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2541 else
   2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2543 for as_dir in $PATH
   2544 do
   2545   IFS=$as_save_IFS
   2546   test -z "$as_dir" && as_dir=.
   2547     for ac_exec_ext in '' $ac_executable_extensions; do
   2548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2549     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2551     break 2
   2552   fi
   2553 done
   2554   done
   2555 IFS=$as_save_IFS
   2556 
   2557 fi
   2558 fi
   2559 STRIP=$ac_cv_prog_STRIP
   2560 if test -n "$STRIP"; then
   2561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2562 $as_echo "$STRIP" >&6; }
   2563 else
   2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2565 $as_echo "no" >&6; }
   2566 fi
   2567 
   2568 
   2569 fi
   2570 if test -z "$ac_cv_prog_STRIP"; then
   2571   ac_ct_STRIP=$STRIP
   2572   # Extract the first word of "strip", so it can be a program name with args.
   2573 set dummy strip; ac_word=$2
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2575 $as_echo_n "checking for $ac_word... " >&6; }
   2576 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579   if test -n "$ac_ct_STRIP"; then
   2580   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2581 else
   2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2583 for as_dir in $PATH
   2584 do
   2585   IFS=$as_save_IFS
   2586   test -z "$as_dir" && as_dir=.
   2587     for ac_exec_ext in '' $ac_executable_extensions; do
   2588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2589     ac_cv_prog_ac_ct_STRIP="strip"
   2590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2591     break 2
   2592   fi
   2593 done
   2594   done
   2595 IFS=$as_save_IFS
   2596 
   2597 fi
   2598 fi
   2599 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2600 if test -n "$ac_ct_STRIP"; then
   2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2602 $as_echo "$ac_ct_STRIP" >&6; }
   2603 else
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2605 $as_echo "no" >&6; }
   2606 fi
   2607 
   2608   if test "x$ac_ct_STRIP" = x; then
   2609     STRIP=":"
   2610   else
   2611     case $cross_compiling:$ac_tool_warned in
   2612 yes:)
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2615 ac_tool_warned=yes ;;
   2616 esac
   2617     STRIP=$ac_ct_STRIP
   2618   fi
   2619 else
   2620   STRIP="$ac_cv_prog_STRIP"
   2621 fi
   2622 
   2623 fi
   2624 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2625 
   2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2627 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2628 if test -z "$MKDIR_P"; then
   2629   if test "${ac_cv_path_mkdir+set}" = set; then :
   2630   $as_echo_n "(cached) " >&6
   2631 else
   2632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2633 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2634 do
   2635   IFS=$as_save_IFS
   2636   test -z "$as_dir" && as_dir=.
   2637     for ac_prog in mkdir gmkdir; do
   2638 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2639 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2640 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2641 	     'mkdir (GNU coreutils) '* | \
   2642 	     'mkdir (coreutils) '* | \
   2643 	     'mkdir (fileutils) '4.1*)
   2644 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2645 	       break 3;;
   2646 	   esac
   2647 	 done
   2648        done
   2649   done
   2650 IFS=$as_save_IFS
   2651 
   2652 fi
   2653 
   2654   test -d ./--version && rmdir ./--version
   2655   if test "${ac_cv_path_mkdir+set}" = set; then
   2656     MKDIR_P="$ac_cv_path_mkdir -p"
   2657   else
   2658     # As a last resort, use the slow shell script.  Don't cache a
   2659     # value for MKDIR_P within a source directory, because that will
   2660     # break other packages using the cache if that directory is
   2661     # removed, or if the value is a relative name.
   2662     MKDIR_P="$ac_install_sh -d"
   2663   fi
   2664 fi
   2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2666 $as_echo "$MKDIR_P" >&6; }
   2667 
   2668 mkdir_p="$MKDIR_P"
   2669 case $mkdir_p in
   2670   [\\/$]* | ?:[\\/]*) ;;
   2671   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2672 esac
   2673 
   2674 for ac_prog in gawk mawk nawk awk
   2675 do
   2676   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2677 set dummy $ac_prog; ac_word=$2
   2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2679 $as_echo_n "checking for $ac_word... " >&6; }
   2680 if test "${ac_cv_prog_AWK+set}" = set; then :
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   if test -n "$AWK"; then
   2684   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2685 else
   2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2687 for as_dir in $PATH
   2688 do
   2689   IFS=$as_save_IFS
   2690   test -z "$as_dir" && as_dir=.
   2691     for ac_exec_ext in '' $ac_executable_extensions; do
   2692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2693     ac_cv_prog_AWK="$ac_prog"
   2694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2695     break 2
   2696   fi
   2697 done
   2698   done
   2699 IFS=$as_save_IFS
   2700 
   2701 fi
   2702 fi
   2703 AWK=$ac_cv_prog_AWK
   2704 if test -n "$AWK"; then
   2705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2706 $as_echo "$AWK" >&6; }
   2707 else
   2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2709 $as_echo "no" >&6; }
   2710 fi
   2711 
   2712 
   2713   test -n "$AWK" && break
   2714 done
   2715 
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2717 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2718 set x ${MAKE-make}
   2719 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2720 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2721   $as_echo_n "(cached) " >&6
   2722 else
   2723   cat >conftest.make <<\_ACEOF
   2724 SHELL = /bin/sh
   2725 all:
   2726 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2727 _ACEOF
   2728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2729 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2730   *@@@%%%=?*=@@@%%%*)
   2731     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2732   *)
   2733     eval ac_cv_prog_make_${ac_make}_set=no;;
   2734 esac
   2735 rm -f conftest.make
   2736 fi
   2737 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2739 $as_echo "yes" >&6; }
   2740   SET_MAKE=
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 $as_echo "no" >&6; }
   2744   SET_MAKE="MAKE=${MAKE-make}"
   2745 fi
   2746 
   2747 rm -rf .tst 2>/dev/null
   2748 mkdir .tst 2>/dev/null
   2749 if test -d .tst; then
   2750   am__leading_dot=.
   2751 else
   2752   am__leading_dot=_
   2753 fi
   2754 rmdir .tst 2>/dev/null
   2755 
   2756 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2757   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2758   # is not polluted with repeated "-I."
   2759   am__isrc=' -I$(srcdir)'
   2760   # test to see if srcdir already configured
   2761   if test -f $srcdir/config.status; then
   2762     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2763   fi
   2764 fi
   2765 
   2766 # test whether we have cygpath
   2767 if test -z "$CYGPATH_W"; then
   2768   if (cygpath --version) >/dev/null 2>/dev/null; then
   2769     CYGPATH_W='cygpath -w'
   2770   else
   2771     CYGPATH_W=echo
   2772   fi
   2773 fi
   2774 
   2775 
   2776 # Define the identity of the package.
   2777  PACKAGE='libXext'
   2778  VERSION='1.1.2'
   2779 
   2780 
   2781 cat >>confdefs.h <<_ACEOF
   2782 #define PACKAGE "$PACKAGE"
   2783 _ACEOF
   2784 
   2785 
   2786 cat >>confdefs.h <<_ACEOF
   2787 #define VERSION "$VERSION"
   2788 _ACEOF
   2789 
   2790 # Some tools Automake needs.
   2791 
   2792 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2793 
   2794 
   2795 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2796 
   2797 
   2798 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2799 
   2800 
   2801 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2802 
   2803 
   2804 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2805 
   2806 # We need awk for the "check" target.  The system "awk" is bad on
   2807 # some platforms.
   2808 # Always define AMTAR for backward compatibility.
   2809 
   2810 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2811 
   2812 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2821 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2822     # Check whether --enable-maintainer-mode was given.
   2823 if test "${enable_maintainer_mode+set}" = set; then :
   2824   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2825 else
   2826   USE_MAINTAINER_MODE=no
   2827 fi
   2828 
   2829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2830 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2831    if test $USE_MAINTAINER_MODE = yes; then
   2832   MAINTAINER_MODE_TRUE=
   2833   MAINTAINER_MODE_FALSE='#'
   2834 else
   2835   MAINTAINER_MODE_TRUE='#'
   2836   MAINTAINER_MODE_FALSE=
   2837 fi
   2838 
   2839   MAINT=$MAINTAINER_MODE_TRUE
   2840 
   2841 
   2842 
   2843 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2844 
   2845 
   2846 
   2847 
   2848 
   2849 
   2850 
   2851 
   2852 
   2853 
   2854 
   2855 DEPDIR="${am__leading_dot}deps"
   2856 
   2857 ac_config_commands="$ac_config_commands depfiles"
   2858 
   2859 
   2860 am_make=${MAKE-make}
   2861 cat > confinc << 'END'
   2862 am__doit:
   2863 	@echo this is the am__doit target
   2864 .PHONY: am__doit
   2865 END
   2866 # If we don't find an include directive, just comment out the code.
   2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2868 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2869 am__include="#"
   2870 am__quote=
   2871 _am_result=none
   2872 # First try GNU make style include.
   2873 echo "include confinc" > confmf
   2874 # Ignore all kinds of additional output from `make'.
   2875 case `$am_make -s -f confmf 2> /dev/null` in #(
   2876 *the\ am__doit\ target*)
   2877   am__include=include
   2878   am__quote=
   2879   _am_result=GNU
   2880   ;;
   2881 esac
   2882 # Now try BSD make style include.
   2883 if test "$am__include" = "#"; then
   2884    echo '.include "confinc"' > confmf
   2885    case `$am_make -s -f confmf 2> /dev/null` in #(
   2886    *the\ am__doit\ target*)
   2887      am__include=.include
   2888      am__quote="\""
   2889      _am_result=BSD
   2890      ;;
   2891    esac
   2892 fi
   2893 
   2894 
   2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2896 $as_echo "$_am_result" >&6; }
   2897 rm -f confinc confmf
   2898 
   2899 # Check whether --enable-dependency-tracking was given.
   2900 if test "${enable_dependency_tracking+set}" = set; then :
   2901   enableval=$enable_dependency_tracking;
   2902 fi
   2903 
   2904 if test "x$enable_dependency_tracking" != xno; then
   2905   am_depcomp="$ac_aux_dir/depcomp"
   2906   AMDEPBACKSLASH='\'
   2907 fi
   2908  if test "x$enable_dependency_tracking" != xno; then
   2909   AMDEP_TRUE=
   2910   AMDEP_FALSE='#'
   2911 else
   2912   AMDEP_TRUE='#'
   2913   AMDEP_FALSE=
   2914 fi
   2915 
   2916 
   2917 ac_ext=c
   2918 ac_cpp='$CPP $CPPFLAGS'
   2919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2922 if test -n "$ac_tool_prefix"; then
   2923   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2924 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2926 $as_echo_n "checking for $ac_word... " >&6; }
   2927 if test "${ac_cv_prog_CC+set}" = set; then :
   2928   $as_echo_n "(cached) " >&6
   2929 else
   2930   if test -n "$CC"; then
   2931   ac_cv_prog_CC="$CC" # Let the user override the test.
   2932 else
   2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2934 for as_dir in $PATH
   2935 do
   2936   IFS=$as_save_IFS
   2937   test -z "$as_dir" && as_dir=.
   2938     for ac_exec_ext in '' $ac_executable_extensions; do
   2939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2940     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2942     break 2
   2943   fi
   2944 done
   2945   done
   2946 IFS=$as_save_IFS
   2947 
   2948 fi
   2949 fi
   2950 CC=$ac_cv_prog_CC
   2951 if test -n "$CC"; then
   2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2953 $as_echo "$CC" >&6; }
   2954 else
   2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2956 $as_echo "no" >&6; }
   2957 fi
   2958 
   2959 
   2960 fi
   2961 if test -z "$ac_cv_prog_CC"; then
   2962   ac_ct_CC=$CC
   2963   # Extract the first word of "gcc", so it can be a program name with args.
   2964 set dummy gcc; ac_word=$2
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2966 $as_echo_n "checking for $ac_word... " >&6; }
   2967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2968   $as_echo_n "(cached) " >&6
   2969 else
   2970   if test -n "$ac_ct_CC"; then
   2971   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2972 else
   2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2974 for as_dir in $PATH
   2975 do
   2976   IFS=$as_save_IFS
   2977   test -z "$as_dir" && as_dir=.
   2978     for ac_exec_ext in '' $ac_executable_extensions; do
   2979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2980     ac_cv_prog_ac_ct_CC="gcc"
   2981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2982     break 2
   2983   fi
   2984 done
   2985   done
   2986 IFS=$as_save_IFS
   2987 
   2988 fi
   2989 fi
   2990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2991 if test -n "$ac_ct_CC"; then
   2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2993 $as_echo "$ac_ct_CC" >&6; }
   2994 else
   2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2996 $as_echo "no" >&6; }
   2997 fi
   2998 
   2999   if test "x$ac_ct_CC" = x; then
   3000     CC=""
   3001   else
   3002     case $cross_compiling:$ac_tool_warned in
   3003 yes:)
   3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3006 ac_tool_warned=yes ;;
   3007 esac
   3008     CC=$ac_ct_CC
   3009   fi
   3010 else
   3011   CC="$ac_cv_prog_CC"
   3012 fi
   3013 
   3014 if test -z "$CC"; then
   3015           if test -n "$ac_tool_prefix"; then
   3016     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3017 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3019 $as_echo_n "checking for $ac_word... " >&6; }
   3020 if test "${ac_cv_prog_CC+set}" = set; then :
   3021   $as_echo_n "(cached) " >&6
   3022 else
   3023   if test -n "$CC"; then
   3024   ac_cv_prog_CC="$CC" # Let the user override the test.
   3025 else
   3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3027 for as_dir in $PATH
   3028 do
   3029   IFS=$as_save_IFS
   3030   test -z "$as_dir" && as_dir=.
   3031     for ac_exec_ext in '' $ac_executable_extensions; do
   3032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3033     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3035     break 2
   3036   fi
   3037 done
   3038   done
   3039 IFS=$as_save_IFS
   3040 
   3041 fi
   3042 fi
   3043 CC=$ac_cv_prog_CC
   3044 if test -n "$CC"; then
   3045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3046 $as_echo "$CC" >&6; }
   3047 else
   3048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3049 $as_echo "no" >&6; }
   3050 fi
   3051 
   3052 
   3053   fi
   3054 fi
   3055 if test -z "$CC"; then
   3056   # Extract the first word of "cc", so it can be a program name with args.
   3057 set dummy cc; ac_word=$2
   3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3059 $as_echo_n "checking for $ac_word... " >&6; }
   3060 if test "${ac_cv_prog_CC+set}" = set; then :
   3061   $as_echo_n "(cached) " >&6
   3062 else
   3063   if test -n "$CC"; then
   3064   ac_cv_prog_CC="$CC" # Let the user override the test.
   3065 else
   3066   ac_prog_rejected=no
   3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3068 for as_dir in $PATH
   3069 do
   3070   IFS=$as_save_IFS
   3071   test -z "$as_dir" && as_dir=.
   3072     for ac_exec_ext in '' $ac_executable_extensions; do
   3073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3074     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3075        ac_prog_rejected=yes
   3076        continue
   3077      fi
   3078     ac_cv_prog_CC="cc"
   3079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3080     break 2
   3081   fi
   3082 done
   3083   done
   3084 IFS=$as_save_IFS
   3085 
   3086 if test $ac_prog_rejected = yes; then
   3087   # We found a bogon in the path, so make sure we never use it.
   3088   set dummy $ac_cv_prog_CC
   3089   shift
   3090   if test $# != 0; then
   3091     # We chose a different compiler from the bogus one.
   3092     # However, it has the same basename, so the bogon will be chosen
   3093     # first if we set CC to just the basename; use the full file name.
   3094     shift
   3095     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3096   fi
   3097 fi
   3098 fi
   3099 fi
   3100 CC=$ac_cv_prog_CC
   3101 if test -n "$CC"; then
   3102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3103 $as_echo "$CC" >&6; }
   3104 else
   3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3106 $as_echo "no" >&6; }
   3107 fi
   3108 
   3109 
   3110 fi
   3111 if test -z "$CC"; then
   3112   if test -n "$ac_tool_prefix"; then
   3113   for ac_prog in cl.exe
   3114   do
   3115     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3118 $as_echo_n "checking for $ac_word... " >&6; }
   3119 if test "${ac_cv_prog_CC+set}" = set; then :
   3120   $as_echo_n "(cached) " >&6
   3121 else
   3122   if test -n "$CC"; then
   3123   ac_cv_prog_CC="$CC" # Let the user override the test.
   3124 else
   3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3126 for as_dir in $PATH
   3127 do
   3128   IFS=$as_save_IFS
   3129   test -z "$as_dir" && as_dir=.
   3130     for ac_exec_ext in '' $ac_executable_extensions; do
   3131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3132     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3134     break 2
   3135   fi
   3136 done
   3137   done
   3138 IFS=$as_save_IFS
   3139 
   3140 fi
   3141 fi
   3142 CC=$ac_cv_prog_CC
   3143 if test -n "$CC"; then
   3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3145 $as_echo "$CC" >&6; }
   3146 else
   3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3148 $as_echo "no" >&6; }
   3149 fi
   3150 
   3151 
   3152     test -n "$CC" && break
   3153   done
   3154 fi
   3155 if test -z "$CC"; then
   3156   ac_ct_CC=$CC
   3157   for ac_prog in cl.exe
   3158 do
   3159   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3160 set dummy $ac_prog; ac_word=$2
   3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3162 $as_echo_n "checking for $ac_word... " >&6; }
   3163 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3164   $as_echo_n "(cached) " >&6
   3165 else
   3166   if test -n "$ac_ct_CC"; then
   3167   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3168 else
   3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3170 for as_dir in $PATH
   3171 do
   3172   IFS=$as_save_IFS
   3173   test -z "$as_dir" && as_dir=.
   3174     for ac_exec_ext in '' $ac_executable_extensions; do
   3175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3176     ac_cv_prog_ac_ct_CC="$ac_prog"
   3177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3178     break 2
   3179   fi
   3180 done
   3181   done
   3182 IFS=$as_save_IFS
   3183 
   3184 fi
   3185 fi
   3186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3187 if test -n "$ac_ct_CC"; then
   3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3189 $as_echo "$ac_ct_CC" >&6; }
   3190 else
   3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3192 $as_echo "no" >&6; }
   3193 fi
   3194 
   3195 
   3196   test -n "$ac_ct_CC" && break
   3197 done
   3198 
   3199   if test "x$ac_ct_CC" = x; then
   3200     CC=""
   3201   else
   3202     case $cross_compiling:$ac_tool_warned in
   3203 yes:)
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3206 ac_tool_warned=yes ;;
   3207 esac
   3208     CC=$ac_ct_CC
   3209   fi
   3210 fi
   3211 
   3212 fi
   3213 
   3214 
   3215 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3217 as_fn_error "no acceptable C compiler found in \$PATH
   3218 See \`config.log' for more details." "$LINENO" 5; }
   3219 
   3220 # Provide some information about the compiler.
   3221 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3222 set X $ac_compile
   3223 ac_compiler=$2
   3224 for ac_option in --version -v -V -qversion; do
   3225   { { ac_try="$ac_compiler $ac_option >&5"
   3226 case "(($ac_try" in
   3227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3228   *) ac_try_echo=$ac_try;;
   3229 esac
   3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3231 $as_echo "$ac_try_echo"; } >&5
   3232   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3233   ac_status=$?
   3234   if test -s conftest.err; then
   3235     sed '10a\
   3236 ... rest of stderr output deleted ...
   3237          10q' conftest.err >conftest.er1
   3238     cat conftest.er1 >&5
   3239   fi
   3240   rm -f conftest.er1 conftest.err
   3241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3242   test $ac_status = 0; }
   3243 done
   3244 
   3245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3246 /* end confdefs.h.  */
   3247 
   3248 int
   3249 main ()
   3250 {
   3251 
   3252   ;
   3253   return 0;
   3254 }
   3255 _ACEOF
   3256 ac_clean_files_save=$ac_clean_files
   3257 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3258 # Try to create an executable without -o first, disregard a.out.
   3259 # It will help us diagnose broken compilers, and finding out an intuition
   3260 # of exeext.
   3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3262 $as_echo_n "checking whether the C compiler works... " >&6; }
   3263 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3264 
   3265 # The possible output files:
   3266 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3267 
   3268 ac_rmfiles=
   3269 for ac_file in $ac_files
   3270 do
   3271   case $ac_file in
   3272     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3273     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3274   esac
   3275 done
   3276 rm -f $ac_rmfiles
   3277 
   3278 if { { ac_try="$ac_link_default"
   3279 case "(($ac_try" in
   3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3281   *) ac_try_echo=$ac_try;;
   3282 esac
   3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3284 $as_echo "$ac_try_echo"; } >&5
   3285   (eval "$ac_link_default") 2>&5
   3286   ac_status=$?
   3287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3288   test $ac_status = 0; }; then :
   3289   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3290 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3291 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3292 # so that the user can short-circuit this test for compilers unknown to
   3293 # Autoconf.
   3294 for ac_file in $ac_files ''
   3295 do
   3296   test -f "$ac_file" || continue
   3297   case $ac_file in
   3298     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3299 	;;
   3300     [ab].out )
   3301 	# We found the default executable, but exeext='' is most
   3302 	# certainly right.
   3303 	break;;
   3304     *.* )
   3305 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3306 	then :; else
   3307 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3308 	fi
   3309 	# We set ac_cv_exeext here because the later test for it is not
   3310 	# safe: cross compilers may not add the suffix if given an `-o'
   3311 	# argument, so we may need to know it at that point already.
   3312 	# Even if this section looks crufty: it has the advantage of
   3313 	# actually working.
   3314 	break;;
   3315     * )
   3316 	break;;
   3317   esac
   3318 done
   3319 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3320 
   3321 else
   3322   ac_file=''
   3323 fi
   3324 if test -z "$ac_file"; then :
   3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3326 $as_echo "no" >&6; }
   3327 $as_echo "$as_me: failed program was:" >&5
   3328 sed 's/^/| /' conftest.$ac_ext >&5
   3329 
   3330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3332 { as_fn_set_status 77
   3333 as_fn_error "C compiler cannot create executables
   3334 See \`config.log' for more details." "$LINENO" 5; }; }
   3335 else
   3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3337 $as_echo "yes" >&6; }
   3338 fi
   3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3340 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3342 $as_echo "$ac_file" >&6; }
   3343 ac_exeext=$ac_cv_exeext
   3344 
   3345 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3346 ac_clean_files=$ac_clean_files_save
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3348 $as_echo_n "checking for suffix of executables... " >&6; }
   3349 if { { ac_try="$ac_link"
   3350 case "(($ac_try" in
   3351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3352   *) ac_try_echo=$ac_try;;
   3353 esac
   3354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3355 $as_echo "$ac_try_echo"; } >&5
   3356   (eval "$ac_link") 2>&5
   3357   ac_status=$?
   3358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3359   test $ac_status = 0; }; then :
   3360   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3361 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3362 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3363 # `rm'.
   3364 for ac_file in conftest.exe conftest conftest.*; do
   3365   test -f "$ac_file" || continue
   3366   case $ac_file in
   3367     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3368     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3369 	  break;;
   3370     * ) break;;
   3371   esac
   3372 done
   3373 else
   3374   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3376 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3377 See \`config.log' for more details." "$LINENO" 5; }
   3378 fi
   3379 rm -f conftest conftest$ac_cv_exeext
   3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3381 $as_echo "$ac_cv_exeext" >&6; }
   3382 
   3383 rm -f conftest.$ac_ext
   3384 EXEEXT=$ac_cv_exeext
   3385 ac_exeext=$EXEEXT
   3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3387 /* end confdefs.h.  */
   3388 #include <stdio.h>
   3389 int
   3390 main ()
   3391 {
   3392 FILE *f = fopen ("conftest.out", "w");
   3393  return ferror (f) || fclose (f) != 0;
   3394 
   3395   ;
   3396   return 0;
   3397 }
   3398 _ACEOF
   3399 ac_clean_files="$ac_clean_files conftest.out"
   3400 # Check that the compiler produces executables we can run.  If not, either
   3401 # the compiler is broken, or we cross compile.
   3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3403 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3404 if test "$cross_compiling" != yes; then
   3405   { { ac_try="$ac_link"
   3406 case "(($ac_try" in
   3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3408   *) ac_try_echo=$ac_try;;
   3409 esac
   3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3411 $as_echo "$ac_try_echo"; } >&5
   3412   (eval "$ac_link") 2>&5
   3413   ac_status=$?
   3414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3415   test $ac_status = 0; }
   3416   if { ac_try='./conftest$ac_cv_exeext'
   3417   { { case "(($ac_try" in
   3418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3419   *) ac_try_echo=$ac_try;;
   3420 esac
   3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3422 $as_echo "$ac_try_echo"; } >&5
   3423   (eval "$ac_try") 2>&5
   3424   ac_status=$?
   3425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3426   test $ac_status = 0; }; }; then
   3427     cross_compiling=no
   3428   else
   3429     if test "$cross_compiling" = maybe; then
   3430 	cross_compiling=yes
   3431     else
   3432 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3434 as_fn_error "cannot run C compiled programs.
   3435 If you meant to cross compile, use \`--host'.
   3436 See \`config.log' for more details." "$LINENO" 5; }
   3437     fi
   3438   fi
   3439 fi
   3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3441 $as_echo "$cross_compiling" >&6; }
   3442 
   3443 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3444 ac_clean_files=$ac_clean_files_save
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3446 $as_echo_n "checking for suffix of object files... " >&6; }
   3447 if test "${ac_cv_objext+set}" = set; then :
   3448   $as_echo_n "(cached) " >&6
   3449 else
   3450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3451 /* end confdefs.h.  */
   3452 
   3453 int
   3454 main ()
   3455 {
   3456 
   3457   ;
   3458   return 0;
   3459 }
   3460 _ACEOF
   3461 rm -f conftest.o conftest.obj
   3462 if { { ac_try="$ac_compile"
   3463 case "(($ac_try" in
   3464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3465   *) ac_try_echo=$ac_try;;
   3466 esac
   3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3468 $as_echo "$ac_try_echo"; } >&5
   3469   (eval "$ac_compile") 2>&5
   3470   ac_status=$?
   3471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3472   test $ac_status = 0; }; then :
   3473   for ac_file in conftest.o conftest.obj conftest.*; do
   3474   test -f "$ac_file" || continue;
   3475   case $ac_file in
   3476     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3477     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3478        break;;
   3479   esac
   3480 done
   3481 else
   3482   $as_echo "$as_me: failed program was:" >&5
   3483 sed 's/^/| /' conftest.$ac_ext >&5
   3484 
   3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3487 as_fn_error "cannot compute suffix of object files: cannot compile
   3488 See \`config.log' for more details." "$LINENO" 5; }
   3489 fi
   3490 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3491 fi
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3493 $as_echo "$ac_cv_objext" >&6; }
   3494 OBJEXT=$ac_cv_objext
   3495 ac_objext=$OBJEXT
   3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3497 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3498 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3499   $as_echo_n "(cached) " >&6
   3500 else
   3501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3502 /* end confdefs.h.  */
   3503 
   3504 int
   3505 main ()
   3506 {
   3507 #ifndef __GNUC__
   3508        choke me
   3509 #endif
   3510 
   3511   ;
   3512   return 0;
   3513 }
   3514 _ACEOF
   3515 if ac_fn_c_try_compile "$LINENO"; then :
   3516   ac_compiler_gnu=yes
   3517 else
   3518   ac_compiler_gnu=no
   3519 fi
   3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3522 
   3523 fi
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3525 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3526 if test $ac_compiler_gnu = yes; then
   3527   GCC=yes
   3528 else
   3529   GCC=
   3530 fi
   3531 ac_test_CFLAGS=${CFLAGS+set}
   3532 ac_save_CFLAGS=$CFLAGS
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3534 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3535 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3536   $as_echo_n "(cached) " >&6
   3537 else
   3538   ac_save_c_werror_flag=$ac_c_werror_flag
   3539    ac_c_werror_flag=yes
   3540    ac_cv_prog_cc_g=no
   3541    CFLAGS="-g"
   3542    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3543 /* end confdefs.h.  */
   3544 
   3545 int
   3546 main ()
   3547 {
   3548 
   3549   ;
   3550   return 0;
   3551 }
   3552 _ACEOF
   3553 if ac_fn_c_try_compile "$LINENO"; then :
   3554   ac_cv_prog_cc_g=yes
   3555 else
   3556   CFLAGS=""
   3557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3558 /* end confdefs.h.  */
   3559 
   3560 int
   3561 main ()
   3562 {
   3563 
   3564   ;
   3565   return 0;
   3566 }
   3567 _ACEOF
   3568 if ac_fn_c_try_compile "$LINENO"; then :
   3569 
   3570 else
   3571   ac_c_werror_flag=$ac_save_c_werror_flag
   3572 	 CFLAGS="-g"
   3573 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3574 /* end confdefs.h.  */
   3575 
   3576 int
   3577 main ()
   3578 {
   3579 
   3580   ;
   3581   return 0;
   3582 }
   3583 _ACEOF
   3584 if ac_fn_c_try_compile "$LINENO"; then :
   3585   ac_cv_prog_cc_g=yes
   3586 fi
   3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3588 fi
   3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3590 fi
   3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3592    ac_c_werror_flag=$ac_save_c_werror_flag
   3593 fi
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3595 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3596 if test "$ac_test_CFLAGS" = set; then
   3597   CFLAGS=$ac_save_CFLAGS
   3598 elif test $ac_cv_prog_cc_g = yes; then
   3599   if test "$GCC" = yes; then
   3600     CFLAGS="-g -O2"
   3601   else
   3602     CFLAGS="-g"
   3603   fi
   3604 else
   3605   if test "$GCC" = yes; then
   3606     CFLAGS="-O2"
   3607   else
   3608     CFLAGS=
   3609   fi
   3610 fi
   3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3612 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3613 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3614   $as_echo_n "(cached) " >&6
   3615 else
   3616   ac_cv_prog_cc_c89=no
   3617 ac_save_CC=$CC
   3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3619 /* end confdefs.h.  */
   3620 #include <stdarg.h>
   3621 #include <stdio.h>
   3622 #include <sys/types.h>
   3623 #include <sys/stat.h>
   3624 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3625 struct buf { int x; };
   3626 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3627 static char *e (p, i)
   3628      char **p;
   3629      int i;
   3630 {
   3631   return p[i];
   3632 }
   3633 static char *f (char * (*g) (char **, int), char **p, ...)
   3634 {
   3635   char *s;
   3636   va_list v;
   3637   va_start (v,p);
   3638   s = g (p, va_arg (v,int));
   3639   va_end (v);
   3640   return s;
   3641 }
   3642 
   3643 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3644    function prototypes and stuff, but not '\xHH' hex character constants.
   3645    These don't provoke an error unfortunately, instead are silently treated
   3646    as 'x'.  The following induces an error, until -std is added to get
   3647    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3648    array size at least.  It's necessary to write '\x00'==0 to get something
   3649    that's true only with -std.  */
   3650 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3651 
   3652 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3653    inside strings and character constants.  */
   3654 #define FOO(x) 'x'
   3655 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3656 
   3657 int test (int i, double x);
   3658 struct s1 {int (*f) (int a);};
   3659 struct s2 {int (*f) (double a);};
   3660 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3661 int argc;
   3662 char **argv;
   3663 int
   3664 main ()
   3665 {
   3666 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3667   ;
   3668   return 0;
   3669 }
   3670 _ACEOF
   3671 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3672 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3673 do
   3674   CC="$ac_save_CC $ac_arg"
   3675   if ac_fn_c_try_compile "$LINENO"; then :
   3676   ac_cv_prog_cc_c89=$ac_arg
   3677 fi
   3678 rm -f core conftest.err conftest.$ac_objext
   3679   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3680 done
   3681 rm -f conftest.$ac_ext
   3682 CC=$ac_save_CC
   3683 
   3684 fi
   3685 # AC_CACHE_VAL
   3686 case "x$ac_cv_prog_cc_c89" in
   3687   x)
   3688     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3689 $as_echo "none needed" >&6; } ;;
   3690   xno)
   3691     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3692 $as_echo "unsupported" >&6; } ;;
   3693   *)
   3694     CC="$CC $ac_cv_prog_cc_c89"
   3695     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3696 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3697 esac
   3698 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3699 
   3700 fi
   3701 
   3702 ac_ext=c
   3703 ac_cpp='$CPP $CPPFLAGS'
   3704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3707 
   3708 depcc="$CC"   am_compiler_list=
   3709 
   3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3711 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3713   $as_echo_n "(cached) " >&6
   3714 else
   3715   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3716   # We make a subdir and do the tests there.  Otherwise we can end up
   3717   # making bogus files that we don't know about and never remove.  For
   3718   # instance it was reported that on HP-UX the gcc test will end up
   3719   # making a dummy file named `D' -- because `-MD' means `put the output
   3720   # in D'.
   3721   mkdir conftest.dir
   3722   # Copy depcomp to subdir because otherwise we won't find it if we're
   3723   # using a relative directory.
   3724   cp "$am_depcomp" conftest.dir
   3725   cd conftest.dir
   3726   # We will build objects and dependencies in a subdirectory because
   3727   # it helps to detect inapplicable dependency modes.  For instance
   3728   # both Tru64's cc and ICC support -MD to output dependencies as a
   3729   # side effect of compilation, but ICC will put the dependencies in
   3730   # the current directory while Tru64 will put them in the object
   3731   # directory.
   3732   mkdir sub
   3733 
   3734   am_cv_CC_dependencies_compiler_type=none
   3735   if test "$am_compiler_list" = ""; then
   3736      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3737   fi
   3738   am__universal=false
   3739   case " $depcc " in #(
   3740      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3741      esac
   3742 
   3743   for depmode in $am_compiler_list; do
   3744     # Setup a source with many dependencies, because some compilers
   3745     # like to wrap large dependency lists on column 80 (with \), and
   3746     # we should not choose a depcomp mode which is confused by this.
   3747     #
   3748     # We need to recreate these files for each test, as the compiler may
   3749     # overwrite some of them when testing with obscure command lines.
   3750     # This happens at least with the AIX C compiler.
   3751     : > sub/conftest.c
   3752     for i in 1 2 3 4 5 6; do
   3753       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3754       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3755       # Solaris 8's {/usr,}/bin/sh.
   3756       touch sub/conftst$i.h
   3757     done
   3758     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3759 
   3760     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3761     # mode.  It turns out that the SunPro C++ compiler does not properly
   3762     # handle `-M -o', and we need to detect this.  Also, some Intel
   3763     # versions had trouble with output in subdirs
   3764     am__obj=sub/conftest.${OBJEXT-o}
   3765     am__minus_obj="-o $am__obj"
   3766     case $depmode in
   3767     gcc)
   3768       # This depmode causes a compiler race in universal mode.
   3769       test "$am__universal" = false || continue
   3770       ;;
   3771     nosideeffect)
   3772       # after this tag, mechanisms are not by side-effect, so they'll
   3773       # only be used when explicitly requested
   3774       if test "x$enable_dependency_tracking" = xyes; then
   3775 	continue
   3776       else
   3777 	break
   3778       fi
   3779       ;;
   3780     msvisualcpp | msvcmsys)
   3781       # This compiler won't grok `-c -o', but also, the minuso test has
   3782       # not run yet.  These depmodes are late enough in the game, and
   3783       # so weak that their functioning should not be impacted.
   3784       am__obj=conftest.${OBJEXT-o}
   3785       am__minus_obj=
   3786       ;;
   3787     none) break ;;
   3788     esac
   3789     if depmode=$depmode \
   3790        source=sub/conftest.c object=$am__obj \
   3791        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3792        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3793          >/dev/null 2>conftest.err &&
   3794        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3795        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3796        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3797        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3798       # icc doesn't choke on unknown options, it will just issue warnings
   3799       # or remarks (even with -Werror).  So we grep stderr for any message
   3800       # that says an option was ignored or not supported.
   3801       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3802       #   icc: Command line warning: ignoring option '-M'; no argument required
   3803       # The diagnosis changed in icc 8.0:
   3804       #   icc: Command line remark: option '-MP' not supported
   3805       if (grep 'ignoring option' conftest.err ||
   3806           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3807         am_cv_CC_dependencies_compiler_type=$depmode
   3808         break
   3809       fi
   3810     fi
   3811   done
   3812 
   3813   cd ..
   3814   rm -rf conftest.dir
   3815 else
   3816   am_cv_CC_dependencies_compiler_type=none
   3817 fi
   3818 
   3819 fi
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3821 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3822 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3823 
   3824  if
   3825   test "x$enable_dependency_tracking" != xno \
   3826   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3827   am__fastdepCC_TRUE=
   3828   am__fastdepCC_FALSE='#'
   3829 else
   3830   am__fastdepCC_TRUE='#'
   3831   am__fastdepCC_FALSE=
   3832 fi
   3833 
   3834 
   3835 
   3836 ac_ext=c
   3837 ac_cpp='$CPP $CPPFLAGS'
   3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3842 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3843 # On Suns, sometimes $CPP names a directory.
   3844 if test -n "$CPP" && test -d "$CPP"; then
   3845   CPP=
   3846 fi
   3847 if test -z "$CPP"; then
   3848   if test "${ac_cv_prog_CPP+set}" = set; then :
   3849   $as_echo_n "(cached) " >&6
   3850 else
   3851       # Double quotes because CPP needs to be expanded
   3852     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3853     do
   3854       ac_preproc_ok=false
   3855 for ac_c_preproc_warn_flag in '' yes
   3856 do
   3857   # Use a header file that comes with gcc, so configuring glibc
   3858   # with a fresh cross-compiler works.
   3859   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3860   # <limits.h> exists even on freestanding compilers.
   3861   # On the NeXT, cc -E runs the code through the compiler's parser,
   3862   # not just through cpp. "Syntax error" is here to catch this case.
   3863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3864 /* end confdefs.h.  */
   3865 #ifdef __STDC__
   3866 # include <limits.h>
   3867 #else
   3868 # include <assert.h>
   3869 #endif
   3870 		     Syntax error
   3871 _ACEOF
   3872 if ac_fn_c_try_cpp "$LINENO"; then :
   3873 
   3874 else
   3875   # Broken: fails on valid input.
   3876 continue
   3877 fi
   3878 rm -f conftest.err conftest.$ac_ext
   3879 
   3880   # OK, works on sane cases.  Now check whether nonexistent headers
   3881   # can be detected and how.
   3882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3883 /* end confdefs.h.  */
   3884 #include <ac_nonexistent.h>
   3885 _ACEOF
   3886 if ac_fn_c_try_cpp "$LINENO"; then :
   3887   # Broken: success on invalid input.
   3888 continue
   3889 else
   3890   # Passes both tests.
   3891 ac_preproc_ok=:
   3892 break
   3893 fi
   3894 rm -f conftest.err conftest.$ac_ext
   3895 
   3896 done
   3897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3898 rm -f conftest.err conftest.$ac_ext
   3899 if $ac_preproc_ok; then :
   3900   break
   3901 fi
   3902 
   3903     done
   3904     ac_cv_prog_CPP=$CPP
   3905 
   3906 fi
   3907   CPP=$ac_cv_prog_CPP
   3908 else
   3909   ac_cv_prog_CPP=$CPP
   3910 fi
   3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3912 $as_echo "$CPP" >&6; }
   3913 ac_preproc_ok=false
   3914 for ac_c_preproc_warn_flag in '' yes
   3915 do
   3916   # Use a header file that comes with gcc, so configuring glibc
   3917   # with a fresh cross-compiler works.
   3918   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3919   # <limits.h> exists even on freestanding compilers.
   3920   # On the NeXT, cc -E runs the code through the compiler's parser,
   3921   # not just through cpp. "Syntax error" is here to catch this case.
   3922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3923 /* end confdefs.h.  */
   3924 #ifdef __STDC__
   3925 # include <limits.h>
   3926 #else
   3927 # include <assert.h>
   3928 #endif
   3929 		     Syntax error
   3930 _ACEOF
   3931 if ac_fn_c_try_cpp "$LINENO"; then :
   3932 
   3933 else
   3934   # Broken: fails on valid input.
   3935 continue
   3936 fi
   3937 rm -f conftest.err conftest.$ac_ext
   3938 
   3939   # OK, works on sane cases.  Now check whether nonexistent headers
   3940   # can be detected and how.
   3941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3942 /* end confdefs.h.  */
   3943 #include <ac_nonexistent.h>
   3944 _ACEOF
   3945 if ac_fn_c_try_cpp "$LINENO"; then :
   3946   # Broken: success on invalid input.
   3947 continue
   3948 else
   3949   # Passes both tests.
   3950 ac_preproc_ok=:
   3951 break
   3952 fi
   3953 rm -f conftest.err conftest.$ac_ext
   3954 
   3955 done
   3956 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3957 rm -f conftest.err conftest.$ac_ext
   3958 if $ac_preproc_ok; then :
   3959 
   3960 else
   3961   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3963 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   3964 See \`config.log' for more details." "$LINENO" 5; }
   3965 fi
   3966 
   3967 ac_ext=c
   3968 ac_cpp='$CPP $CPPFLAGS'
   3969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3972 
   3973 
   3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3975 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3976 if test "${ac_cv_path_GREP+set}" = set; then :
   3977   $as_echo_n "(cached) " >&6
   3978 else
   3979   if test -z "$GREP"; then
   3980   ac_path_GREP_found=false
   3981   # Loop through the user's path and test for each of PROGNAME-LIST
   3982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3984 do
   3985   IFS=$as_save_IFS
   3986   test -z "$as_dir" && as_dir=.
   3987     for ac_prog in grep ggrep; do
   3988     for ac_exec_ext in '' $ac_executable_extensions; do
   3989       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3990       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3991 # Check for GNU ac_path_GREP and select it if it is found.
   3992   # Check for GNU $ac_path_GREP
   3993 case `"$ac_path_GREP" --version 2>&1` in
   3994 *GNU*)
   3995   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3996 *)
   3997   ac_count=0
   3998   $as_echo_n 0123456789 >"conftest.in"
   3999   while :
   4000   do
   4001     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4002     mv "conftest.tmp" "conftest.in"
   4003     cp "conftest.in" "conftest.nl"
   4004     $as_echo 'GREP' >> "conftest.nl"
   4005     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4006     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4007     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4008     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4009       # Best one so far, save it but keep looking for a better one
   4010       ac_cv_path_GREP="$ac_path_GREP"
   4011       ac_path_GREP_max=$ac_count
   4012     fi
   4013     # 10*(2^10) chars as input seems more than enough
   4014     test $ac_count -gt 10 && break
   4015   done
   4016   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4017 esac
   4018 
   4019       $ac_path_GREP_found && break 3
   4020     done
   4021   done
   4022   done
   4023 IFS=$as_save_IFS
   4024   if test -z "$ac_cv_path_GREP"; then
   4025     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4026   fi
   4027 else
   4028   ac_cv_path_GREP=$GREP
   4029 fi
   4030 
   4031 fi
   4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4033 $as_echo "$ac_cv_path_GREP" >&6; }
   4034  GREP="$ac_cv_path_GREP"
   4035 
   4036 
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4038 $as_echo_n "checking for egrep... " >&6; }
   4039 if test "${ac_cv_path_EGREP+set}" = set; then :
   4040   $as_echo_n "(cached) " >&6
   4041 else
   4042   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4043    then ac_cv_path_EGREP="$GREP -E"
   4044    else
   4045      if test -z "$EGREP"; then
   4046   ac_path_EGREP_found=false
   4047   # Loop through the user's path and test for each of PROGNAME-LIST
   4048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4050 do
   4051   IFS=$as_save_IFS
   4052   test -z "$as_dir" && as_dir=.
   4053     for ac_prog in egrep; do
   4054     for ac_exec_ext in '' $ac_executable_extensions; do
   4055       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4056       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4057 # Check for GNU ac_path_EGREP and select it if it is found.
   4058   # Check for GNU $ac_path_EGREP
   4059 case `"$ac_path_EGREP" --version 2>&1` in
   4060 *GNU*)
   4061   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4062 *)
   4063   ac_count=0
   4064   $as_echo_n 0123456789 >"conftest.in"
   4065   while :
   4066   do
   4067     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4068     mv "conftest.tmp" "conftest.in"
   4069     cp "conftest.in" "conftest.nl"
   4070     $as_echo 'EGREP' >> "conftest.nl"
   4071     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4072     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4073     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4074     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4075       # Best one so far, save it but keep looking for a better one
   4076       ac_cv_path_EGREP="$ac_path_EGREP"
   4077       ac_path_EGREP_max=$ac_count
   4078     fi
   4079     # 10*(2^10) chars as input seems more than enough
   4080     test $ac_count -gt 10 && break
   4081   done
   4082   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4083 esac
   4084 
   4085       $ac_path_EGREP_found && break 3
   4086     done
   4087   done
   4088   done
   4089 IFS=$as_save_IFS
   4090   if test -z "$ac_cv_path_EGREP"; then
   4091     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4092   fi
   4093 else
   4094   ac_cv_path_EGREP=$EGREP
   4095 fi
   4096 
   4097    fi
   4098 fi
   4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4100 $as_echo "$ac_cv_path_EGREP" >&6; }
   4101  EGREP="$ac_cv_path_EGREP"
   4102 
   4103 
   4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4105 $as_echo_n "checking for ANSI C header files... " >&6; }
   4106 if test "${ac_cv_header_stdc+set}" = set; then :
   4107   $as_echo_n "(cached) " >&6
   4108 else
   4109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4110 /* end confdefs.h.  */
   4111 #include <stdlib.h>
   4112 #include <stdarg.h>
   4113 #include <string.h>
   4114 #include <float.h>
   4115 
   4116 int
   4117 main ()
   4118 {
   4119 
   4120   ;
   4121   return 0;
   4122 }
   4123 _ACEOF
   4124 if ac_fn_c_try_compile "$LINENO"; then :
   4125   ac_cv_header_stdc=yes
   4126 else
   4127   ac_cv_header_stdc=no
   4128 fi
   4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4130 
   4131 if test $ac_cv_header_stdc = yes; then
   4132   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4134 /* end confdefs.h.  */
   4135 #include <string.h>
   4136 
   4137 _ACEOF
   4138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4139   $EGREP "memchr" >/dev/null 2>&1; then :
   4140 
   4141 else
   4142   ac_cv_header_stdc=no
   4143 fi
   4144 rm -f conftest*
   4145 
   4146 fi
   4147 
   4148 if test $ac_cv_header_stdc = yes; then
   4149   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4151 /* end confdefs.h.  */
   4152 #include <stdlib.h>
   4153 
   4154 _ACEOF
   4155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4156   $EGREP "free" >/dev/null 2>&1; then :
   4157 
   4158 else
   4159   ac_cv_header_stdc=no
   4160 fi
   4161 rm -f conftest*
   4162 
   4163 fi
   4164 
   4165 if test $ac_cv_header_stdc = yes; then
   4166   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4167   if test "$cross_compiling" = yes; then :
   4168   :
   4169 else
   4170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4171 /* end confdefs.h.  */
   4172 #include <ctype.h>
   4173 #include <stdlib.h>
   4174 #if ((' ' & 0x0FF) == 0x020)
   4175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4177 #else
   4178 # define ISLOWER(c) \
   4179 		   (('a' <= (c) && (c) <= 'i') \
   4180 		     || ('j' <= (c) && (c) <= 'r') \
   4181 		     || ('s' <= (c) && (c) <= 'z'))
   4182 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4183 #endif
   4184 
   4185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4186 int
   4187 main ()
   4188 {
   4189   int i;
   4190   for (i = 0; i < 256; i++)
   4191     if (XOR (islower (i), ISLOWER (i))
   4192 	|| toupper (i) != TOUPPER (i))
   4193       return 2;
   4194   return 0;
   4195 }
   4196 _ACEOF
   4197 if ac_fn_c_try_run "$LINENO"; then :
   4198 
   4199 else
   4200   ac_cv_header_stdc=no
   4201 fi
   4202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4203   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4204 fi
   4205 
   4206 fi
   4207 fi
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4209 $as_echo "$ac_cv_header_stdc" >&6; }
   4210 if test $ac_cv_header_stdc = yes; then
   4211 
   4212 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4213 
   4214 fi
   4215 
   4216 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4217 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4218 		  inttypes.h stdint.h unistd.h
   4219 do :
   4220   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4221 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4222 "
   4223 eval as_val=\$$as_ac_Header
   4224    if test "x$as_val" = x""yes; then :
   4225   cat >>confdefs.h <<_ACEOF
   4226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4227 _ACEOF
   4228 
   4229 fi
   4230 
   4231 done
   4232 
   4233 
   4234    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4235 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4236 if test "${ac_cv_prog_cc_c99+set}" = set; then :
   4237   $as_echo_n "(cached) " >&6
   4238 else
   4239   ac_cv_prog_cc_c99=no
   4240 ac_save_CC=$CC
   4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4242 /* end confdefs.h.  */
   4243 #include <stdarg.h>
   4244 #include <stdbool.h>
   4245 #include <stdlib.h>
   4246 #include <wchar.h>
   4247 #include <stdio.h>
   4248 
   4249 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4250 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4251 #define showlist(...) puts (#__VA_ARGS__)
   4252 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4253 static void
   4254 test_varargs_macros (void)
   4255 {
   4256   int x = 1234;
   4257   int y = 5678;
   4258   debug ("Flag");
   4259   debug ("X = %d\n", x);
   4260   showlist (The first, second, and third items.);
   4261   report (x>y, "x is %d but y is %d", x, y);
   4262 }
   4263 
   4264 // Check long long types.
   4265 #define BIG64 18446744073709551615ull
   4266 #define BIG32 4294967295ul
   4267 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4268 #if !BIG_OK
   4269   your preprocessor is broken;
   4270 #endif
   4271 #if BIG_OK
   4272 #else
   4273   your preprocessor is broken;
   4274 #endif
   4275 static long long int bignum = -9223372036854775807LL;
   4276 static unsigned long long int ubignum = BIG64;
   4277 
   4278 struct incomplete_array
   4279 {
   4280   int datasize;
   4281   double data[];
   4282 };
   4283 
   4284 struct named_init {
   4285   int number;
   4286   const wchar_t *name;
   4287   double average;
   4288 };
   4289 
   4290 typedef const char *ccp;
   4291 
   4292 static inline int
   4293 test_restrict (ccp restrict text)
   4294 {
   4295   // See if C++-style comments work.
   4296   // Iterate through items via the restricted pointer.
   4297   // Also check for declarations in for loops.
   4298   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4299     continue;
   4300   return 0;
   4301 }
   4302 
   4303 // Check varargs and va_copy.
   4304 static void
   4305 test_varargs (const char *format, ...)
   4306 {
   4307   va_list args;
   4308   va_start (args, format);
   4309   va_list args_copy;
   4310   va_copy (args_copy, args);
   4311 
   4312   const char *str;
   4313   int number;
   4314   float fnumber;
   4315 
   4316   while (*format)
   4317     {
   4318       switch (*format++)
   4319 	{
   4320 	case 's': // string
   4321 	  str = va_arg (args_copy, const char *);
   4322 	  break;
   4323 	case 'd': // int
   4324 	  number = va_arg (args_copy, int);
   4325 	  break;
   4326 	case 'f': // float
   4327 	  fnumber = va_arg (args_copy, double);
   4328 	  break;
   4329 	default:
   4330 	  break;
   4331 	}
   4332     }
   4333   va_end (args_copy);
   4334   va_end (args);
   4335 }
   4336 
   4337 int
   4338 main ()
   4339 {
   4340 
   4341   // Check bool.
   4342   _Bool success = false;
   4343 
   4344   // Check restrict.
   4345   if (test_restrict ("String literal") == 0)
   4346     success = true;
   4347   char *restrict newvar = "Another string";
   4348 
   4349   // Check varargs.
   4350   test_varargs ("s, d' f .", "string", 65, 34.234);
   4351   test_varargs_macros ();
   4352 
   4353   // Check flexible array members.
   4354   struct incomplete_array *ia =
   4355     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4356   ia->datasize = 10;
   4357   for (int i = 0; i < ia->datasize; ++i)
   4358     ia->data[i] = i * 1.234;
   4359 
   4360   // Check named initializers.
   4361   struct named_init ni = {
   4362     .number = 34,
   4363     .name = L"Test wide string",
   4364     .average = 543.34343,
   4365   };
   4366 
   4367   ni.number = 58;
   4368 
   4369   int dynamic_array[ni.number];
   4370   dynamic_array[ni.number - 1] = 543;
   4371 
   4372   // work around unused variable warnings
   4373   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4374 	  || dynamic_array[ni.number - 1] != 543);
   4375 
   4376   ;
   4377   return 0;
   4378 }
   4379 _ACEOF
   4380 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4381 do
   4382   CC="$ac_save_CC $ac_arg"
   4383   if ac_fn_c_try_compile "$LINENO"; then :
   4384   ac_cv_prog_cc_c99=$ac_arg
   4385 fi
   4386 rm -f core conftest.err conftest.$ac_objext
   4387   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4388 done
   4389 rm -f conftest.$ac_ext
   4390 CC=$ac_save_CC
   4391 
   4392 fi
   4393 # AC_CACHE_VAL
   4394 case "x$ac_cv_prog_cc_c99" in
   4395   x)
   4396     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4397 $as_echo "none needed" >&6; } ;;
   4398   xno)
   4399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4400 $as_echo "unsupported" >&6; } ;;
   4401   *)
   4402     CC="$CC $ac_cv_prog_cc_c99"
   4403     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4404 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4405 esac
   4406 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4407 
   4408 fi
   4409 
   4410 
   4411 
   4412 
   4413 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4414 	if test -n "$ac_tool_prefix"; then
   4415   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4416 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4418 $as_echo_n "checking for $ac_word... " >&6; }
   4419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   case $PKG_CONFIG in
   4423   [\\/]* | ?:[\\/]*)
   4424   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4425   ;;
   4426   *)
   4427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4428 for as_dir in $PATH
   4429 do
   4430   IFS=$as_save_IFS
   4431   test -z "$as_dir" && as_dir=.
   4432     for ac_exec_ext in '' $ac_executable_extensions; do
   4433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4434     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4436     break 2
   4437   fi
   4438 done
   4439   done
   4440 IFS=$as_save_IFS
   4441 
   4442   ;;
   4443 esac
   4444 fi
   4445 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4446 if test -n "$PKG_CONFIG"; then
   4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4448 $as_echo "$PKG_CONFIG" >&6; }
   4449 else
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4451 $as_echo "no" >&6; }
   4452 fi
   4453 
   4454 
   4455 fi
   4456 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4457   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4458   # Extract the first word of "pkg-config", so it can be a program name with args.
   4459 set dummy pkg-config; ac_word=$2
   4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4461 $as_echo_n "checking for $ac_word... " >&6; }
   4462 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   4463   $as_echo_n "(cached) " >&6
   4464 else
   4465   case $ac_pt_PKG_CONFIG in
   4466   [\\/]* | ?:[\\/]*)
   4467   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4468   ;;
   4469   *)
   4470   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4471 for as_dir in $PATH
   4472 do
   4473   IFS=$as_save_IFS
   4474   test -z "$as_dir" && as_dir=.
   4475     for ac_exec_ext in '' $ac_executable_extensions; do
   4476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4477     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4479     break 2
   4480   fi
   4481 done
   4482   done
   4483 IFS=$as_save_IFS
   4484 
   4485   ;;
   4486 esac
   4487 fi
   4488 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4489 if test -n "$ac_pt_PKG_CONFIG"; then
   4490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4491 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4492 else
   4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4494 $as_echo "no" >&6; }
   4495 fi
   4496 
   4497   if test "x$ac_pt_PKG_CONFIG" = x; then
   4498     PKG_CONFIG=""
   4499   else
   4500     case $cross_compiling:$ac_tool_warned in
   4501 yes:)
   4502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4504 ac_tool_warned=yes ;;
   4505 esac
   4506     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4507   fi
   4508 else
   4509   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4510 fi
   4511 
   4512 fi
   4513 if test -n "$PKG_CONFIG"; then
   4514 	_pkg_min_version=0.9.0
   4515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4516 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4517 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4519 $as_echo "yes" >&6; }
   4520 	else
   4521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4522 $as_echo "no" >&6; }
   4523 		PKG_CONFIG=""
   4524 	fi
   4525 
   4526 fi
   4527 # Make sure we can run config.sub.
   4528 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4529   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4530 
   4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4532 $as_echo_n "checking build system type... " >&6; }
   4533 if test "${ac_cv_build+set}" = set; then :
   4534   $as_echo_n "(cached) " >&6
   4535 else
   4536   ac_build_alias=$build_alias
   4537 test "x$ac_build_alias" = x &&
   4538   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4539 test "x$ac_build_alias" = x &&
   4540   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   4541 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4542   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4543 
   4544 fi
   4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4546 $as_echo "$ac_cv_build" >&6; }
   4547 case $ac_cv_build in
   4548 *-*-*) ;;
   4549 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   4550 esac
   4551 build=$ac_cv_build
   4552 ac_save_IFS=$IFS; IFS='-'
   4553 set x $ac_cv_build
   4554 shift
   4555 build_cpu=$1
   4556 build_vendor=$2
   4557 shift; shift
   4558 # Remember, the first character of IFS is used to create $*,
   4559 # except with old shells:
   4560 build_os=$*
   4561 IFS=$ac_save_IFS
   4562 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4563 
   4564 
   4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4566 $as_echo_n "checking host system type... " >&6; }
   4567 if test "${ac_cv_host+set}" = set; then :
   4568   $as_echo_n "(cached) " >&6
   4569 else
   4570   if test "x$host_alias" = x; then
   4571   ac_cv_host=$ac_cv_build
   4572 else
   4573   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4574     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4575 fi
   4576 
   4577 fi
   4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4579 $as_echo "$ac_cv_host" >&6; }
   4580 case $ac_cv_host in
   4581 *-*-*) ;;
   4582 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   4583 esac
   4584 host=$ac_cv_host
   4585 ac_save_IFS=$IFS; IFS='-'
   4586 set x $ac_cv_host
   4587 shift
   4588 host_cpu=$1
   4589 host_vendor=$2
   4590 shift; shift
   4591 # Remember, the first character of IFS is used to create $*,
   4592 # except with old shells:
   4593 host_os=$*
   4594 IFS=$ac_save_IFS
   4595 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 if  test "x$GCC" = xyes ; then
   4602     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4603 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4604 -Wbad-function-cast -Wformat=2"
   4605     case `$CC -dumpversion` in
   4606     3.4.* | 4.*)
   4607 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4608 	;;
   4609     esac
   4610 else
   4611     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4612 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4613   SUNCC="yes"
   4614 else
   4615   SUNCC="no"
   4616 fi
   4617 
   4618     if test "x$SUNCC" = "xyes"; then
   4619 	CWARNFLAGS="-v"
   4620     fi
   4621 fi
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 # Check whether --enable-strict-compilation was given.
   4630 if test "${enable_strict_compilation+set}" = set; then :
   4631   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4632 else
   4633   STRICT_COMPILE=no
   4634 fi
   4635 
   4636 if test "x$STRICT_COMPILE" = "xyes"; then
   4637 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4638 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4639   SUNCC="yes"
   4640 else
   4641   SUNCC="no"
   4642 fi
   4643 
   4644 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4645 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
   4646   INTELCC="yes"
   4647 else
   4648   INTELCC="no"
   4649 fi
   4650 
   4651 	if test "x$GCC" = xyes ; then
   4652 		STRICT_CFLAGS="-pedantic -Werror"
   4653 	elif test "x$SUNCC" = "xyes"; then
   4654 		STRICT_CFLAGS="-errwarn"
   4655     elif test "x$INTELCC" = "xyes"; then
   4656 		STRICT_CFLAGS="-Werror"
   4657 	fi
   4658 fi
   4659 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4660 
   4661 
   4662 
   4663 
   4664 # Check whether --with-release-version was given.
   4665 if test "${with_release_version+set}" = set; then :
   4666   withval=$with_release_version; RELEASE_VERSION="$withval"
   4667 else
   4668   RELEASE_VERSION=""
   4669 fi
   4670 
   4671 	if test "x$RELEASE_VERSION" != "x"; then
   4672 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   4673 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   4674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
   4675 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   4676 	fi
   4677 
   4678 cat >>confdefs.h <<_ACEOF
   4679 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4680 _ACEOF
   4681 
   4682 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4683 	if test "x$PVM" = "x"; then
   4684 		PVM="0"
   4685 	fi
   4686 
   4687 cat >>confdefs.h <<_ACEOF
   4688 #define PACKAGE_VERSION_MINOR $PVM
   4689 _ACEOF
   4690 
   4691 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4692 	if test "x$PVP" = "x"; then
   4693 		PVP="0"
   4694 	fi
   4695 
   4696 cat >>confdefs.h <<_ACEOF
   4697 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4698 _ACEOF
   4699 
   4700 
   4701 
   4702 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4703 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4704 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4705 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4706 
   4707 
   4708 
   4709 
   4710 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4711 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4712 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4713 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4714 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 if test x$APP_MAN_SUFFIX = x    ; then
   4721     APP_MAN_SUFFIX=1
   4722 fi
   4723 if test x$APP_MAN_DIR = x    ; then
   4724     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4725 fi
   4726 
   4727 if test x$LIB_MAN_SUFFIX = x    ; then
   4728     LIB_MAN_SUFFIX=3
   4729 fi
   4730 if test x$LIB_MAN_DIR = x    ; then
   4731     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4732 fi
   4733 
   4734 if test x$FILE_MAN_SUFFIX = x    ; then
   4735     case $host_os in
   4736 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4737 	*)		FILE_MAN_SUFFIX=5  ;;
   4738     esac
   4739 fi
   4740 if test x$FILE_MAN_DIR = x    ; then
   4741     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4742 fi
   4743 
   4744 if test x$MISC_MAN_SUFFIX = x    ; then
   4745     case $host_os in
   4746 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4747 	*)		MISC_MAN_SUFFIX=7  ;;
   4748     esac
   4749 fi
   4750 if test x$MISC_MAN_DIR = x    ; then
   4751     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4752 fi
   4753 
   4754 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4755     case $host_os in
   4756 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4757 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4758     esac
   4759 fi
   4760 if test x$DRIVER_MAN_DIR = x    ; then
   4761     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4762 fi
   4763 
   4764 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4765     case $host_os in
   4766 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4767 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4768     esac
   4769 fi
   4770 if test x$ADMIN_MAN_DIR = x    ; then
   4771     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4772 fi
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 XORG_MAN_PAGE="X Version 11"
   4789 
   4790 MAN_SUBSTS="\
   4791 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4792 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4793 	-e 's|__xservername__|Xorg|g' \
   4794 	-e 's|__xconfigfile__|xorg.conf|g' \
   4795 	-e 's|__projectroot__|\$(prefix)|g' \
   4796 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4797 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4798 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4799 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4800 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4801 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4802 
   4803 
   4804 
   4805 # Check whether --enable-silent-rules was given.
   4806 if test "${enable_silent_rules+set}" = set; then :
   4807   enableval=$enable_silent_rules;
   4808 fi
   4809 
   4810 case $enable_silent_rules in
   4811 yes) AM_DEFAULT_VERBOSITY=0;;
   4812 no)  AM_DEFAULT_VERBOSITY=1;;
   4813 *)   AM_DEFAULT_VERBOSITY=0;;
   4814 esac
   4815 AM_BACKSLASH='\'
   4816 
   4817 
   4818 ac_config_headers="$ac_config_headers config.h"
   4819 
   4820 
   4821 # Determine .so library version per platform
   4822 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
   4823 
   4824 if test "x$XEXT_SOREV" = "x" ; then
   4825     case $host_os in
   4826 	openbsd*)	XEXT_SOREV=8:0 		;;
   4827 	solaris*)       XEXT_SOREV=0 		;;
   4828 	*)              XEXT_SOREV=6:4:0 	;;
   4829     esac
   4830 fi
   4831 
   4832 
   4833 # Checks for programs.
   4834 case `pwd` in
   4835   *\ * | *\	*)
   4836     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4837 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4838 esac
   4839 
   4840 
   4841 
   4842 macro_version='2.2.6b'
   4843 macro_revision='1.3017'
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 ltmain="$ac_aux_dir/ltmain.sh"
   4858 
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4860 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4861 if test "${ac_cv_path_SED+set}" = set; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4865      for ac_i in 1 2 3 4 5 6 7; do
   4866        ac_script="$ac_script$as_nl$ac_script"
   4867      done
   4868      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4869      { ac_script=; unset ac_script;}
   4870      if test -z "$SED"; then
   4871   ac_path_SED_found=false
   4872   # Loop through the user's path and test for each of PROGNAME-LIST
   4873   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4874 for as_dir in $PATH
   4875 do
   4876   IFS=$as_save_IFS
   4877   test -z "$as_dir" && as_dir=.
   4878     for ac_prog in sed gsed; do
   4879     for ac_exec_ext in '' $ac_executable_extensions; do
   4880       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4881       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4882 # Check for GNU ac_path_SED and select it if it is found.
   4883   # Check for GNU $ac_path_SED
   4884 case `"$ac_path_SED" --version 2>&1` in
   4885 *GNU*)
   4886   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4887 *)
   4888   ac_count=0
   4889   $as_echo_n 0123456789 >"conftest.in"
   4890   while :
   4891   do
   4892     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4893     mv "conftest.tmp" "conftest.in"
   4894     cp "conftest.in" "conftest.nl"
   4895     $as_echo '' >> "conftest.nl"
   4896     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4897     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4898     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4899     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4900       # Best one so far, save it but keep looking for a better one
   4901       ac_cv_path_SED="$ac_path_SED"
   4902       ac_path_SED_max=$ac_count
   4903     fi
   4904     # 10*(2^10) chars as input seems more than enough
   4905     test $ac_count -gt 10 && break
   4906   done
   4907   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4908 esac
   4909 
   4910       $ac_path_SED_found && break 3
   4911     done
   4912   done
   4913   done
   4914 IFS=$as_save_IFS
   4915   if test -z "$ac_cv_path_SED"; then
   4916     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4917   fi
   4918 else
   4919   ac_cv_path_SED=$SED
   4920 fi
   4921 
   4922 fi
   4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4924 $as_echo "$ac_cv_path_SED" >&6; }
   4925  SED="$ac_cv_path_SED"
   4926   rm -f conftest.sed
   4927 
   4928 test -z "$SED" && SED=sed
   4929 Xsed="$SED -e 1s/^X//"
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4942 $as_echo_n "checking for fgrep... " >&6; }
   4943 if test "${ac_cv_path_FGREP+set}" = set; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4947    then ac_cv_path_FGREP="$GREP -F"
   4948    else
   4949      if test -z "$FGREP"; then
   4950   ac_path_FGREP_found=false
   4951   # Loop through the user's path and test for each of PROGNAME-LIST
   4952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4953 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4954 do
   4955   IFS=$as_save_IFS
   4956   test -z "$as_dir" && as_dir=.
   4957     for ac_prog in fgrep; do
   4958     for ac_exec_ext in '' $ac_executable_extensions; do
   4959       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4960       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4961 # Check for GNU ac_path_FGREP and select it if it is found.
   4962   # Check for GNU $ac_path_FGREP
   4963 case `"$ac_path_FGREP" --version 2>&1` in
   4964 *GNU*)
   4965   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4966 *)
   4967   ac_count=0
   4968   $as_echo_n 0123456789 >"conftest.in"
   4969   while :
   4970   do
   4971     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4972     mv "conftest.tmp" "conftest.in"
   4973     cp "conftest.in" "conftest.nl"
   4974     $as_echo 'FGREP' >> "conftest.nl"
   4975     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4976     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4977     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4978     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4979       # Best one so far, save it but keep looking for a better one
   4980       ac_cv_path_FGREP="$ac_path_FGREP"
   4981       ac_path_FGREP_max=$ac_count
   4982     fi
   4983     # 10*(2^10) chars as input seems more than enough
   4984     test $ac_count -gt 10 && break
   4985   done
   4986   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4987 esac
   4988 
   4989       $ac_path_FGREP_found && break 3
   4990     done
   4991   done
   4992   done
   4993 IFS=$as_save_IFS
   4994   if test -z "$ac_cv_path_FGREP"; then
   4995     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4996   fi
   4997 else
   4998   ac_cv_path_FGREP=$FGREP
   4999 fi
   5000 
   5001    fi
   5002 fi
   5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5004 $as_echo "$ac_cv_path_FGREP" >&6; }
   5005  FGREP="$ac_cv_path_FGREP"
   5006 
   5007 
   5008 test -z "$GREP" && GREP=grep
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 # Check whether --with-gnu-ld was given.
   5029 if test "${with_gnu_ld+set}" = set; then :
   5030   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5031 else
   5032   with_gnu_ld=no
   5033 fi
   5034 
   5035 ac_prog=ld
   5036 if test "$GCC" = yes; then
   5037   # Check if gcc -print-prog-name=ld gives a path.
   5038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5039 $as_echo_n "checking for ld used by $CC... " >&6; }
   5040   case $host in
   5041   *-*-mingw*)
   5042     # gcc leaves a trailing carriage return which upsets mingw
   5043     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5044   *)
   5045     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5046   esac
   5047   case $ac_prog in
   5048     # Accept absolute paths.
   5049     [\\/]* | ?:[\\/]*)
   5050       re_direlt='/[^/][^/]*/\.\./'
   5051       # Canonicalize the pathname of ld
   5052       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5053       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5054 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5055       done
   5056       test -z "$LD" && LD="$ac_prog"
   5057       ;;
   5058   "")
   5059     # If it fails, then pretend we aren't using GCC.
   5060     ac_prog=ld
   5061     ;;
   5062   *)
   5063     # If it is relative, then search for the first ld in PATH.
   5064     with_gnu_ld=unknown
   5065     ;;
   5066   esac
   5067 elif test "$with_gnu_ld" = yes; then
   5068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5069 $as_echo_n "checking for GNU ld... " >&6; }
   5070 else
   5071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5072 $as_echo_n "checking for non-GNU ld... " >&6; }
   5073 fi
   5074 if test "${lt_cv_path_LD+set}" = set; then :
   5075   $as_echo_n "(cached) " >&6
   5076 else
   5077   if test -z "$LD"; then
   5078   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5079   for ac_dir in $PATH; do
   5080     IFS="$lt_save_ifs"
   5081     test -z "$ac_dir" && ac_dir=.
   5082     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5083       lt_cv_path_LD="$ac_dir/$ac_prog"
   5084       # Check to see if the program is GNU ld.  I'd rather use --version,
   5085       # but apparently some variants of GNU ld only accept -v.
   5086       # Break only if it was the GNU/non-GNU ld that we prefer.
   5087       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5088       *GNU* | *'with BFD'*)
   5089 	test "$with_gnu_ld" != no && break
   5090 	;;
   5091       *)
   5092 	test "$with_gnu_ld" != yes && break
   5093 	;;
   5094       esac
   5095     fi
   5096   done
   5097   IFS="$lt_save_ifs"
   5098 else
   5099   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5100 fi
   5101 fi
   5102 
   5103 LD="$lt_cv_path_LD"
   5104 if test -n "$LD"; then
   5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5106 $as_echo "$LD" >&6; }
   5107 else
   5108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5109 $as_echo "no" >&6; }
   5110 fi
   5111 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5113 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5114 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5115   $as_echo_n "(cached) " >&6
   5116 else
   5117   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5118 case `$LD -v 2>&1 </dev/null` in
   5119 *GNU* | *'with BFD'*)
   5120   lt_cv_prog_gnu_ld=yes
   5121   ;;
   5122 *)
   5123   lt_cv_prog_gnu_ld=no
   5124   ;;
   5125 esac
   5126 fi
   5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5128 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5129 with_gnu_ld=$lt_cv_prog_gnu_ld
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5140 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5141 if test "${lt_cv_path_NM+set}" = set; then :
   5142   $as_echo_n "(cached) " >&6
   5143 else
   5144   if test -n "$NM"; then
   5145   # Let the user override the test.
   5146   lt_cv_path_NM="$NM"
   5147 else
   5148   lt_nm_to_check="${ac_tool_prefix}nm"
   5149   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5150     lt_nm_to_check="$lt_nm_to_check nm"
   5151   fi
   5152   for lt_tmp_nm in $lt_nm_to_check; do
   5153     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5154     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5155       IFS="$lt_save_ifs"
   5156       test -z "$ac_dir" && ac_dir=.
   5157       tmp_nm="$ac_dir/$lt_tmp_nm"
   5158       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5159 	# Check to see if the nm accepts a BSD-compat flag.
   5160 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5161 	#   nm: unknown option "B" ignored
   5162 	# Tru64's nm complains that /dev/null is an invalid object file
   5163 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5164 	*/dev/null* | *'Invalid file or object type'*)
   5165 	  lt_cv_path_NM="$tmp_nm -B"
   5166 	  break
   5167 	  ;;
   5168 	*)
   5169 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5170 	  */dev/null*)
   5171 	    lt_cv_path_NM="$tmp_nm -p"
   5172 	    break
   5173 	    ;;
   5174 	  *)
   5175 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5176 	    continue # so that we can try to find one that supports BSD flags
   5177 	    ;;
   5178 	  esac
   5179 	  ;;
   5180 	esac
   5181       fi
   5182     done
   5183     IFS="$lt_save_ifs"
   5184   done
   5185   : ${lt_cv_path_NM=no}
   5186 fi
   5187 fi
   5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5189 $as_echo "$lt_cv_path_NM" >&6; }
   5190 if test "$lt_cv_path_NM" != "no"; then
   5191   NM="$lt_cv_path_NM"
   5192 else
   5193   # Didn't find any BSD compatible name lister, look for dumpbin.
   5194   if test -n "$ac_tool_prefix"; then
   5195   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5196   do
   5197     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5200 $as_echo_n "checking for $ac_word... " >&6; }
   5201 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5202   $as_echo_n "(cached) " >&6
   5203 else
   5204   if test -n "$DUMPBIN"; then
   5205   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5206 else
   5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5208 for as_dir in $PATH
   5209 do
   5210   IFS=$as_save_IFS
   5211   test -z "$as_dir" && as_dir=.
   5212     for ac_exec_ext in '' $ac_executable_extensions; do
   5213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5214     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5216     break 2
   5217   fi
   5218 done
   5219   done
   5220 IFS=$as_save_IFS
   5221 
   5222 fi
   5223 fi
   5224 DUMPBIN=$ac_cv_prog_DUMPBIN
   5225 if test -n "$DUMPBIN"; then
   5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5227 $as_echo "$DUMPBIN" >&6; }
   5228 else
   5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5230 $as_echo "no" >&6; }
   5231 fi
   5232 
   5233 
   5234     test -n "$DUMPBIN" && break
   5235   done
   5236 fi
   5237 if test -z "$DUMPBIN"; then
   5238   ac_ct_DUMPBIN=$DUMPBIN
   5239   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5240 do
   5241   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5242 set dummy $ac_prog; ac_word=$2
   5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5244 $as_echo_n "checking for $ac_word... " >&6; }
   5245 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5246   $as_echo_n "(cached) " >&6
   5247 else
   5248   if test -n "$ac_ct_DUMPBIN"; then
   5249   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5250 else
   5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5252 for as_dir in $PATH
   5253 do
   5254   IFS=$as_save_IFS
   5255   test -z "$as_dir" && as_dir=.
   5256     for ac_exec_ext in '' $ac_executable_extensions; do
   5257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5258     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5260     break 2
   5261   fi
   5262 done
   5263   done
   5264 IFS=$as_save_IFS
   5265 
   5266 fi
   5267 fi
   5268 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5269 if test -n "$ac_ct_DUMPBIN"; then
   5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5271 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5272 else
   5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5274 $as_echo "no" >&6; }
   5275 fi
   5276 
   5277 
   5278   test -n "$ac_ct_DUMPBIN" && break
   5279 done
   5280 
   5281   if test "x$ac_ct_DUMPBIN" = x; then
   5282     DUMPBIN=":"
   5283   else
   5284     case $cross_compiling:$ac_tool_warned in
   5285 yes:)
   5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5288 ac_tool_warned=yes ;;
   5289 esac
   5290     DUMPBIN=$ac_ct_DUMPBIN
   5291   fi
   5292 fi
   5293 
   5294 
   5295   if test "$DUMPBIN" != ":"; then
   5296     NM="$DUMPBIN"
   5297   fi
   5298 fi
   5299 test -z "$NM" && NM=nm
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5307 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5308 if test "${lt_cv_nm_interface+set}" = set; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   lt_cv_nm_interface="BSD nm"
   5312   echo "int some_variable = 0;" > conftest.$ac_ext
   5313   (eval echo "\"\$as_me:5313: $ac_compile\"" >&5)
   5314   (eval "$ac_compile" 2>conftest.err)
   5315   cat conftest.err >&5
   5316   (eval echo "\"\$as_me:5316: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5317   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5318   cat conftest.err >&5
   5319   (eval echo "\"\$as_me:5319: output\"" >&5)
   5320   cat conftest.out >&5
   5321   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5322     lt_cv_nm_interface="MS dumpbin"
   5323   fi
   5324   rm -f conftest*
   5325 fi
   5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5327 $as_echo "$lt_cv_nm_interface" >&6; }
   5328 
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5330 $as_echo_n "checking whether ln -s works... " >&6; }
   5331 LN_S=$as_ln_s
   5332 if test "$LN_S" = "ln -s"; then
   5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5334 $as_echo "yes" >&6; }
   5335 else
   5336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5337 $as_echo "no, using $LN_S" >&6; }
   5338 fi
   5339 
   5340 # find the maximum length of command line arguments
   5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5342 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5343 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5344   $as_echo_n "(cached) " >&6
   5345 else
   5346     i=0
   5347   teststring="ABCD"
   5348 
   5349   case $build_os in
   5350   msdosdjgpp*)
   5351     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5352     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5353     # during glob expansion).  Even if it were fixed, the result of this
   5354     # check would be larger than it should be.
   5355     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5356     ;;
   5357 
   5358   gnu*)
   5359     # Under GNU Hurd, this test is not required because there is
   5360     # no limit to the length of command line arguments.
   5361     # Libtool will interpret -1 as no limit whatsoever
   5362     lt_cv_sys_max_cmd_len=-1;
   5363     ;;
   5364 
   5365   cygwin* | mingw* | cegcc*)
   5366     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5367     # about 5 minutes as the teststring grows exponentially.
   5368     # Worse, since 9x/ME are not pre-emptively multitasking,
   5369     # you end up with a "frozen" computer, even though with patience
   5370     # the test eventually succeeds (with a max line length of 256k).
   5371     # Instead, let's just punt: use the minimum linelength reported by
   5372     # all of the supported platforms: 8192 (on NT/2K/XP).
   5373     lt_cv_sys_max_cmd_len=8192;
   5374     ;;
   5375 
   5376   amigaos*)
   5377     # On AmigaOS with pdksh, this test takes hours, literally.
   5378     # So we just punt and use a minimum line length of 8192.
   5379     lt_cv_sys_max_cmd_len=8192;
   5380     ;;
   5381 
   5382   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5383     # This has been around since 386BSD, at least.  Likely further.
   5384     if test -x /sbin/sysctl; then
   5385       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5386     elif test -x /usr/sbin/sysctl; then
   5387       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5388     else
   5389       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5390     fi
   5391     # And add a safety zone
   5392     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5393     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5394     ;;
   5395 
   5396   interix*)
   5397     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5398     lt_cv_sys_max_cmd_len=196608
   5399     ;;
   5400 
   5401   osf*)
   5402     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5403     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5404     # nice to cause kernel panics so lets avoid the loop below.
   5405     # First set a reasonable default.
   5406     lt_cv_sys_max_cmd_len=16384
   5407     #
   5408     if test -x /sbin/sysconfig; then
   5409       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5410         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5411       esac
   5412     fi
   5413     ;;
   5414   sco3.2v5*)
   5415     lt_cv_sys_max_cmd_len=102400
   5416     ;;
   5417   sysv5* | sco5v6* | sysv4.2uw2*)
   5418     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5419     if test -n "$kargmax"; then
   5420       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5421     else
   5422       lt_cv_sys_max_cmd_len=32768
   5423     fi
   5424     ;;
   5425   *)
   5426     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5427     if test -n "$lt_cv_sys_max_cmd_len"; then
   5428       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5429       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5430     else
   5431       # Make teststring a little bigger before we do anything with it.
   5432       # a 1K string should be a reasonable start.
   5433       for i in 1 2 3 4 5 6 7 8 ; do
   5434         teststring=$teststring$teststring
   5435       done
   5436       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5437       # If test is not a shell built-in, we'll probably end up computing a
   5438       # maximum length that is only half of the actual maximum length, but
   5439       # we can't tell.
   5440       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5441 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5442 	      test $i != 17 # 1/2 MB should be enough
   5443       do
   5444         i=`expr $i + 1`
   5445         teststring=$teststring$teststring
   5446       done
   5447       # Only check the string length outside the loop.
   5448       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5449       teststring=
   5450       # Add a significant safety factor because C++ compilers can tack on
   5451       # massive amounts of additional arguments before passing them to the
   5452       # linker.  It appears as though 1/2 is a usable value.
   5453       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5454     fi
   5455     ;;
   5456   esac
   5457 
   5458 fi
   5459 
   5460 if test -n $lt_cv_sys_max_cmd_len ; then
   5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5462 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5463 else
   5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5465 $as_echo "none" >&6; }
   5466 fi
   5467 max_cmd_len=$lt_cv_sys_max_cmd_len
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 : ${CP="cp -f"}
   5475 : ${MV="mv -f"}
   5476 : ${RM="rm -f"}
   5477 
   5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5479 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5480 # Try some XSI features
   5481 xsi_shell=no
   5482 ( _lt_dummy="a/b/c"
   5483   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5484       = c,a/b,, \
   5485     && eval 'test $(( 1 + 1 )) -eq 2 \
   5486     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5487   && xsi_shell=yes
   5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5489 $as_echo "$xsi_shell" >&6; }
   5490 
   5491 
   5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5493 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5494 lt_shell_append=no
   5495 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5496     >/dev/null 2>&1 \
   5497   && lt_shell_append=yes
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5499 $as_echo "$lt_shell_append" >&6; }
   5500 
   5501 
   5502 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5503   lt_unset=unset
   5504 else
   5505   lt_unset=false
   5506 fi
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 # test EBCDIC or ASCII
   5513 case `echo X|tr X '\101'` in
   5514  A) # ASCII based system
   5515     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5516   lt_SP2NL='tr \040 \012'
   5517   lt_NL2SP='tr \015\012 \040\040'
   5518   ;;
   5519  *) # EBCDIC based system
   5520   lt_SP2NL='tr \100 \n'
   5521   lt_NL2SP='tr \r\n \100\100'
   5522   ;;
   5523 esac
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5534 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5535 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   lt_cv_ld_reload_flag='-r'
   5539 fi
   5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5541 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5542 reload_flag=$lt_cv_ld_reload_flag
   5543 case $reload_flag in
   5544 "" | " "*) ;;
   5545 *) reload_flag=" $reload_flag" ;;
   5546 esac
   5547 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5548 case $host_os in
   5549   darwin*)
   5550     if test "$GCC" = yes; then
   5551       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5552     else
   5553       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5554     fi
   5555     ;;
   5556 esac
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 if test -n "$ac_tool_prefix"; then
   5567   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5568 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5570 $as_echo_n "checking for $ac_word... " >&6; }
   5571 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5572   $as_echo_n "(cached) " >&6
   5573 else
   5574   if test -n "$OBJDUMP"; then
   5575   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5576 else
   5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5578 for as_dir in $PATH
   5579 do
   5580   IFS=$as_save_IFS
   5581   test -z "$as_dir" && as_dir=.
   5582     for ac_exec_ext in '' $ac_executable_extensions; do
   5583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5584     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5586     break 2
   5587   fi
   5588 done
   5589   done
   5590 IFS=$as_save_IFS
   5591 
   5592 fi
   5593 fi
   5594 OBJDUMP=$ac_cv_prog_OBJDUMP
   5595 if test -n "$OBJDUMP"; then
   5596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5597 $as_echo "$OBJDUMP" >&6; }
   5598 else
   5599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5600 $as_echo "no" >&6; }
   5601 fi
   5602 
   5603 
   5604 fi
   5605 if test -z "$ac_cv_prog_OBJDUMP"; then
   5606   ac_ct_OBJDUMP=$OBJDUMP
   5607   # Extract the first word of "objdump", so it can be a program name with args.
   5608 set dummy objdump; ac_word=$2
   5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5610 $as_echo_n "checking for $ac_word... " >&6; }
   5611 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5612   $as_echo_n "(cached) " >&6
   5613 else
   5614   if test -n "$ac_ct_OBJDUMP"; then
   5615   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5616 else
   5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5618 for as_dir in $PATH
   5619 do
   5620   IFS=$as_save_IFS
   5621   test -z "$as_dir" && as_dir=.
   5622     for ac_exec_ext in '' $ac_executable_extensions; do
   5623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5624     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5626     break 2
   5627   fi
   5628 done
   5629   done
   5630 IFS=$as_save_IFS
   5631 
   5632 fi
   5633 fi
   5634 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5635 if test -n "$ac_ct_OBJDUMP"; then
   5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5637 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5638 else
   5639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5640 $as_echo "no" >&6; }
   5641 fi
   5642 
   5643   if test "x$ac_ct_OBJDUMP" = x; then
   5644     OBJDUMP="false"
   5645   else
   5646     case $cross_compiling:$ac_tool_warned in
   5647 yes:)
   5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5650 ac_tool_warned=yes ;;
   5651 esac
   5652     OBJDUMP=$ac_ct_OBJDUMP
   5653   fi
   5654 else
   5655   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5656 fi
   5657 
   5658 test -z "$OBJDUMP" && OBJDUMP=objdump
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5669 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5670 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5671   $as_echo_n "(cached) " >&6
   5672 else
   5673   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5674 lt_cv_file_magic_test_file=
   5675 lt_cv_deplibs_check_method='unknown'
   5676 # Need to set the preceding variable on all platforms that support
   5677 # interlibrary dependencies.
   5678 # 'none' -- dependencies not supported.
   5679 # `unknown' -- same as none, but documents that we really don't know.
   5680 # 'pass_all' -- all dependencies passed with no checks.
   5681 # 'test_compile' -- check by making test program.
   5682 # 'file_magic [[regex]]' -- check by looking for files in library path
   5683 # which responds to the $file_magic_cmd with a given extended regex.
   5684 # If you have `file' or equivalent on your system and you're not sure
   5685 # whether `pass_all' will *always* work, you probably want this one.
   5686 
   5687 case $host_os in
   5688 aix[4-9]*)
   5689   lt_cv_deplibs_check_method=pass_all
   5690   ;;
   5691 
   5692 beos*)
   5693   lt_cv_deplibs_check_method=pass_all
   5694   ;;
   5695 
   5696 bsdi[45]*)
   5697   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5698   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5699   lt_cv_file_magic_test_file=/shlib/libc.so
   5700   ;;
   5701 
   5702 cygwin*)
   5703   # func_win32_libid is a shell function defined in ltmain.sh
   5704   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5705   lt_cv_file_magic_cmd='func_win32_libid'
   5706   ;;
   5707 
   5708 mingw* | pw32*)
   5709   # Base MSYS/MinGW do not provide the 'file' command needed by
   5710   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5711   # unless we find 'file', for example because we are cross-compiling.
   5712   if ( file / ) >/dev/null 2>&1; then
   5713     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5714     lt_cv_file_magic_cmd='func_win32_libid'
   5715   else
   5716     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5717     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5718   fi
   5719   ;;
   5720 
   5721 cegcc)
   5722   # use the weaker test based on 'objdump'. See mingw*.
   5723   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5724   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5725   ;;
   5726 
   5727 darwin* | rhapsody*)
   5728   lt_cv_deplibs_check_method=pass_all
   5729   ;;
   5730 
   5731 freebsd* | dragonfly*)
   5732   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5733     case $host_cpu in
   5734     i*86 )
   5735       # Not sure whether the presence of OpenBSD here was a mistake.
   5736       # Let's accept both of them until this is cleared up.
   5737       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5738       lt_cv_file_magic_cmd=/usr/bin/file
   5739       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5740       ;;
   5741     esac
   5742   else
   5743     lt_cv_deplibs_check_method=pass_all
   5744   fi
   5745   ;;
   5746 
   5747 gnu*)
   5748   lt_cv_deplibs_check_method=pass_all
   5749   ;;
   5750 
   5751 hpux10.20* | hpux11*)
   5752   lt_cv_file_magic_cmd=/usr/bin/file
   5753   case $host_cpu in
   5754   ia64*)
   5755     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5756     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5757     ;;
   5758   hppa*64*)
   5759     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5760     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5761     ;;
   5762   *)
   5763     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5764     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5765     ;;
   5766   esac
   5767   ;;
   5768 
   5769 interix[3-9]*)
   5770   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5771   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5772   ;;
   5773 
   5774 irix5* | irix6* | nonstopux*)
   5775   case $LD in
   5776   *-32|*"-32 ") libmagic=32-bit;;
   5777   *-n32|*"-n32 ") libmagic=N32;;
   5778   *-64|*"-64 ") libmagic=64-bit;;
   5779   *) libmagic=never-match;;
   5780   esac
   5781   lt_cv_deplibs_check_method=pass_all
   5782   ;;
   5783 
   5784 # This must be Linux ELF.
   5785 linux* | k*bsd*-gnu)
   5786   lt_cv_deplibs_check_method=pass_all
   5787   ;;
   5788 
   5789 netbsd*)
   5790   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5791     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5792   else
   5793     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5794   fi
   5795   ;;
   5796 
   5797 newos6*)
   5798   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5799   lt_cv_file_magic_cmd=/usr/bin/file
   5800   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5801   ;;
   5802 
   5803 *nto* | *qnx*)
   5804   lt_cv_deplibs_check_method=pass_all
   5805   ;;
   5806 
   5807 openbsd*)
   5808   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5809     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5810   else
   5811     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5812   fi
   5813   ;;
   5814 
   5815 osf3* | osf4* | osf5*)
   5816   lt_cv_deplibs_check_method=pass_all
   5817   ;;
   5818 
   5819 rdos*)
   5820   lt_cv_deplibs_check_method=pass_all
   5821   ;;
   5822 
   5823 solaris*)
   5824   lt_cv_deplibs_check_method=pass_all
   5825   ;;
   5826 
   5827 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5828   lt_cv_deplibs_check_method=pass_all
   5829   ;;
   5830 
   5831 sysv4 | sysv4.3*)
   5832   case $host_vendor in
   5833   motorola)
   5834     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]'
   5835     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5836     ;;
   5837   ncr)
   5838     lt_cv_deplibs_check_method=pass_all
   5839     ;;
   5840   sequent)
   5841     lt_cv_file_magic_cmd='/bin/file'
   5842     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5843     ;;
   5844   sni)
   5845     lt_cv_file_magic_cmd='/bin/file'
   5846     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5847     lt_cv_file_magic_test_file=/lib/libc.so
   5848     ;;
   5849   siemens)
   5850     lt_cv_deplibs_check_method=pass_all
   5851     ;;
   5852   pc)
   5853     lt_cv_deplibs_check_method=pass_all
   5854     ;;
   5855   esac
   5856   ;;
   5857 
   5858 tpf*)
   5859   lt_cv_deplibs_check_method=pass_all
   5860   ;;
   5861 esac
   5862 
   5863 fi
   5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5865 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5866 file_magic_cmd=$lt_cv_file_magic_cmd
   5867 deplibs_check_method=$lt_cv_deplibs_check_method
   5868 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 if test -n "$ac_tool_prefix"; then
   5882   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5883 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5885 $as_echo_n "checking for $ac_word... " >&6; }
   5886 if test "${ac_cv_prog_AR+set}" = set; then :
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889   if test -n "$AR"; then
   5890   ac_cv_prog_AR="$AR" # Let the user override the test.
   5891 else
   5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5893 for as_dir in $PATH
   5894 do
   5895   IFS=$as_save_IFS
   5896   test -z "$as_dir" && as_dir=.
   5897     for ac_exec_ext in '' $ac_executable_extensions; do
   5898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5899     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5901     break 2
   5902   fi
   5903 done
   5904   done
   5905 IFS=$as_save_IFS
   5906 
   5907 fi
   5908 fi
   5909 AR=$ac_cv_prog_AR
   5910 if test -n "$AR"; then
   5911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5912 $as_echo "$AR" >&6; }
   5913 else
   5914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5915 $as_echo "no" >&6; }
   5916 fi
   5917 
   5918 
   5919 fi
   5920 if test -z "$ac_cv_prog_AR"; then
   5921   ac_ct_AR=$AR
   5922   # Extract the first word of "ar", so it can be a program name with args.
   5923 set dummy ar; ac_word=$2
   5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5925 $as_echo_n "checking for $ac_word... " >&6; }
   5926 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929   if test -n "$ac_ct_AR"; then
   5930   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5931 else
   5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5933 for as_dir in $PATH
   5934 do
   5935   IFS=$as_save_IFS
   5936   test -z "$as_dir" && as_dir=.
   5937     for ac_exec_ext in '' $ac_executable_extensions; do
   5938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5939     ac_cv_prog_ac_ct_AR="ar"
   5940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5941     break 2
   5942   fi
   5943 done
   5944   done
   5945 IFS=$as_save_IFS
   5946 
   5947 fi
   5948 fi
   5949 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5950 if test -n "$ac_ct_AR"; then
   5951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5952 $as_echo "$ac_ct_AR" >&6; }
   5953 else
   5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5955 $as_echo "no" >&6; }
   5956 fi
   5957 
   5958   if test "x$ac_ct_AR" = x; then
   5959     AR="false"
   5960   else
   5961     case $cross_compiling:$ac_tool_warned in
   5962 yes:)
   5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5965 ac_tool_warned=yes ;;
   5966 esac
   5967     AR=$ac_ct_AR
   5968   fi
   5969 else
   5970   AR="$ac_cv_prog_AR"
   5971 fi
   5972 
   5973 test -z "$AR" && AR=ar
   5974 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 if test -n "$ac_tool_prefix"; then
   5987   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5988 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5990 $as_echo_n "checking for $ac_word... " >&6; }
   5991 if test "${ac_cv_prog_STRIP+set}" = set; then :
   5992   $as_echo_n "(cached) " >&6
   5993 else
   5994   if test -n "$STRIP"; then
   5995   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5996 else
   5997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5998 for as_dir in $PATH
   5999 do
   6000   IFS=$as_save_IFS
   6001   test -z "$as_dir" && as_dir=.
   6002     for ac_exec_ext in '' $ac_executable_extensions; do
   6003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6004     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6006     break 2
   6007   fi
   6008 done
   6009   done
   6010 IFS=$as_save_IFS
   6011 
   6012 fi
   6013 fi
   6014 STRIP=$ac_cv_prog_STRIP
   6015 if test -n "$STRIP"; then
   6016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6017 $as_echo "$STRIP" >&6; }
   6018 else
   6019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6020 $as_echo "no" >&6; }
   6021 fi
   6022 
   6023 
   6024 fi
   6025 if test -z "$ac_cv_prog_STRIP"; then
   6026   ac_ct_STRIP=$STRIP
   6027   # Extract the first word of "strip", so it can be a program name with args.
   6028 set dummy strip; ac_word=$2
   6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6030 $as_echo_n "checking for $ac_word... " >&6; }
   6031 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6032   $as_echo_n "(cached) " >&6
   6033 else
   6034   if test -n "$ac_ct_STRIP"; then
   6035   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6036 else
   6037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6038 for as_dir in $PATH
   6039 do
   6040   IFS=$as_save_IFS
   6041   test -z "$as_dir" && as_dir=.
   6042     for ac_exec_ext in '' $ac_executable_extensions; do
   6043   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6044     ac_cv_prog_ac_ct_STRIP="strip"
   6045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6046     break 2
   6047   fi
   6048 done
   6049   done
   6050 IFS=$as_save_IFS
   6051 
   6052 fi
   6053 fi
   6054 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6055 if test -n "$ac_ct_STRIP"; then
   6056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6057 $as_echo "$ac_ct_STRIP" >&6; }
   6058 else
   6059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6060 $as_echo "no" >&6; }
   6061 fi
   6062 
   6063   if test "x$ac_ct_STRIP" = x; then
   6064     STRIP=":"
   6065   else
   6066     case $cross_compiling:$ac_tool_warned in
   6067 yes:)
   6068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6070 ac_tool_warned=yes ;;
   6071 esac
   6072     STRIP=$ac_ct_STRIP
   6073   fi
   6074 else
   6075   STRIP="$ac_cv_prog_STRIP"
   6076 fi
   6077 
   6078 test -z "$STRIP" && STRIP=:
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 if test -n "$ac_tool_prefix"; then
   6086   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6087 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6089 $as_echo_n "checking for $ac_word... " >&6; }
   6090 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093   if test -n "$RANLIB"; then
   6094   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6095 else
   6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6097 for as_dir in $PATH
   6098 do
   6099   IFS=$as_save_IFS
   6100   test -z "$as_dir" && as_dir=.
   6101     for ac_exec_ext in '' $ac_executable_extensions; do
   6102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6103     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6105     break 2
   6106   fi
   6107 done
   6108   done
   6109 IFS=$as_save_IFS
   6110 
   6111 fi
   6112 fi
   6113 RANLIB=$ac_cv_prog_RANLIB
   6114 if test -n "$RANLIB"; then
   6115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6116 $as_echo "$RANLIB" >&6; }
   6117 else
   6118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6119 $as_echo "no" >&6; }
   6120 fi
   6121 
   6122 
   6123 fi
   6124 if test -z "$ac_cv_prog_RANLIB"; then
   6125   ac_ct_RANLIB=$RANLIB
   6126   # Extract the first word of "ranlib", so it can be a program name with args.
   6127 set dummy ranlib; ac_word=$2
   6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6129 $as_echo_n "checking for $ac_word... " >&6; }
   6130 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6131   $as_echo_n "(cached) " >&6
   6132 else
   6133   if test -n "$ac_ct_RANLIB"; then
   6134   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6135 else
   6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6137 for as_dir in $PATH
   6138 do
   6139   IFS=$as_save_IFS
   6140   test -z "$as_dir" && as_dir=.
   6141     for ac_exec_ext in '' $ac_executable_extensions; do
   6142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6143     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6145     break 2
   6146   fi
   6147 done
   6148   done
   6149 IFS=$as_save_IFS
   6150 
   6151 fi
   6152 fi
   6153 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6154 if test -n "$ac_ct_RANLIB"; then
   6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6156 $as_echo "$ac_ct_RANLIB" >&6; }
   6157 else
   6158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6159 $as_echo "no" >&6; }
   6160 fi
   6161 
   6162   if test "x$ac_ct_RANLIB" = x; then
   6163     RANLIB=":"
   6164   else
   6165     case $cross_compiling:$ac_tool_warned in
   6166 yes:)
   6167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6169 ac_tool_warned=yes ;;
   6170 esac
   6171     RANLIB=$ac_ct_RANLIB
   6172   fi
   6173 else
   6174   RANLIB="$ac_cv_prog_RANLIB"
   6175 fi
   6176 
   6177 test -z "$RANLIB" && RANLIB=:
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 # Determine commands to create old-style static archives.
   6185 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6186 old_postinstall_cmds='chmod 644 $oldlib'
   6187 old_postuninstall_cmds=
   6188 
   6189 if test -n "$RANLIB"; then
   6190   case $host_os in
   6191   openbsd*)
   6192     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6193     ;;
   6194   *)
   6195     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6196     ;;
   6197   esac
   6198   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6199 fi
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 # If no C compiler was specified, use CC.
   6235 LTCC=${LTCC-"$CC"}
   6236 
   6237 # If no C compiler flags were specified, use CFLAGS.
   6238 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6239 
   6240 # Allow CC to be a program name with arguments.
   6241 compiler=$CC
   6242 
   6243 
   6244 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6246 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6247 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250 
   6251 # These are sane defaults that work on at least a few old systems.
   6252 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6253 
   6254 # Character class describing NM global symbol codes.
   6255 symcode='[BCDEGRST]'
   6256 
   6257 # Regexp to match symbols that can be accessed directly from C.
   6258 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6259 
   6260 # Define system-specific variables.
   6261 case $host_os in
   6262 aix*)
   6263   symcode='[BCDT]'
   6264   ;;
   6265 cygwin* | mingw* | pw32* | cegcc*)
   6266   symcode='[ABCDGISTW]'
   6267   ;;
   6268 hpux*)
   6269   if test "$host_cpu" = ia64; then
   6270     symcode='[ABCDEGRST]'
   6271   fi
   6272   ;;
   6273 irix* | nonstopux*)
   6274   symcode='[BCDEGRST]'
   6275   ;;
   6276 osf*)
   6277   symcode='[BCDEGQRST]'
   6278   ;;
   6279 solaris*)
   6280   symcode='[BDRT]'
   6281   ;;
   6282 sco3.2v5*)
   6283   symcode='[DT]'
   6284   ;;
   6285 sysv4.2uw2*)
   6286   symcode='[DT]'
   6287   ;;
   6288 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6289   symcode='[ABDT]'
   6290   ;;
   6291 sysv4)
   6292   symcode='[DFNSTU]'
   6293   ;;
   6294 esac
   6295 
   6296 # If we're using GNU nm, then use its standard symbol codes.
   6297 case `$NM -V 2>&1` in
   6298 *GNU* | *'with BFD'*)
   6299   symcode='[ABCDGIRSTW]' ;;
   6300 esac
   6301 
   6302 # Transform an extracted symbol line into a proper C declaration.
   6303 # Some systems (esp. on ia64) link data and code symbols differently,
   6304 # so use this general approach.
   6305 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6306 
   6307 # Transform an extracted symbol line into symbol name and symbol address
   6308 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6309 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6310 
   6311 # Handle CRLF in mingw tool chain
   6312 opt_cr=
   6313 case $build_os in
   6314 mingw*)
   6315   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6316   ;;
   6317 esac
   6318 
   6319 # Try without a prefix underscore, then with it.
   6320 for ac_symprfx in "" "_"; do
   6321 
   6322   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6323   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6324 
   6325   # Write the raw and C identifiers.
   6326   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6327     # Fake it for dumpbin and say T for any non-static function
   6328     # and D for any global variable.
   6329     # Also find C++ and __fastcall symbols from MSVC++,
   6330     # which start with @ or ?.
   6331     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6332 "     {last_section=section; section=\$ 3};"\
   6333 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6334 "     \$ 0!~/External *\|/{next};"\
   6335 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6336 "     {if(hide[section]) next};"\
   6337 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6338 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6339 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6340 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6341 "     ' prfx=^$ac_symprfx"
   6342   else
   6343     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6344   fi
   6345 
   6346   # Check to see that the pipe works correctly.
   6347   pipe_works=no
   6348 
   6349   rm -f conftest*
   6350   cat > conftest.$ac_ext <<_LT_EOF
   6351 #ifdef __cplusplus
   6352 extern "C" {
   6353 #endif
   6354 char nm_test_var;
   6355 void nm_test_func(void);
   6356 void nm_test_func(void){}
   6357 #ifdef __cplusplus
   6358 }
   6359 #endif
   6360 int main(){nm_test_var='a';nm_test_func();return(0);}
   6361 _LT_EOF
   6362 
   6363   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6364   (eval $ac_compile) 2>&5
   6365   ac_status=$?
   6366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6367   test $ac_status = 0; }; then
   6368     # Now try to grab the symbols.
   6369     nlist=conftest.nm
   6370     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6371   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6372   ac_status=$?
   6373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6374   test $ac_status = 0; } && test -s "$nlist"; then
   6375       # Try sorting and uniquifying the output.
   6376       if sort "$nlist" | uniq > "$nlist"T; then
   6377 	mv -f "$nlist"T "$nlist"
   6378       else
   6379 	rm -f "$nlist"T
   6380       fi
   6381 
   6382       # Make sure that we snagged all the symbols we need.
   6383       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6384 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6385 	  cat <<_LT_EOF > conftest.$ac_ext
   6386 #ifdef __cplusplus
   6387 extern "C" {
   6388 #endif
   6389 
   6390 _LT_EOF
   6391 	  # Now generate the symbol file.
   6392 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6393 
   6394 	  cat <<_LT_EOF >> conftest.$ac_ext
   6395 
   6396 /* The mapping between symbol names and symbols.  */
   6397 const struct {
   6398   const char *name;
   6399   void       *address;
   6400 }
   6401 lt__PROGRAM__LTX_preloaded_symbols[] =
   6402 {
   6403   { "@PROGRAM@", (void *) 0 },
   6404 _LT_EOF
   6405 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6406 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6407   {0, (void *) 0}
   6408 };
   6409 
   6410 /* This works around a problem in FreeBSD linker */
   6411 #ifdef FREEBSD_WORKAROUND
   6412 static const void *lt_preloaded_setup() {
   6413   return lt__PROGRAM__LTX_preloaded_symbols;
   6414 }
   6415 #endif
   6416 
   6417 #ifdef __cplusplus
   6418 }
   6419 #endif
   6420 _LT_EOF
   6421 	  # Now try linking the two files.
   6422 	  mv conftest.$ac_objext conftstm.$ac_objext
   6423 	  lt_save_LIBS="$LIBS"
   6424 	  lt_save_CFLAGS="$CFLAGS"
   6425 	  LIBS="conftstm.$ac_objext"
   6426 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6427 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6428   (eval $ac_link) 2>&5
   6429   ac_status=$?
   6430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6431   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6432 	    pipe_works=yes
   6433 	  fi
   6434 	  LIBS="$lt_save_LIBS"
   6435 	  CFLAGS="$lt_save_CFLAGS"
   6436 	else
   6437 	  echo "cannot find nm_test_func in $nlist" >&5
   6438 	fi
   6439       else
   6440 	echo "cannot find nm_test_var in $nlist" >&5
   6441       fi
   6442     else
   6443       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6444     fi
   6445   else
   6446     echo "$progname: failed program was:" >&5
   6447     cat conftest.$ac_ext >&5
   6448   fi
   6449   rm -rf conftest* conftst*
   6450 
   6451   # Do not use the global_symbol_pipe unless it works.
   6452   if test "$pipe_works" = yes; then
   6453     break
   6454   else
   6455     lt_cv_sys_global_symbol_pipe=
   6456   fi
   6457 done
   6458 
   6459 fi
   6460 
   6461 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6462   lt_cv_sys_global_symbol_to_cdecl=
   6463 fi
   6464 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6466 $as_echo "failed" >&6; }
   6467 else
   6468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6469 $as_echo "ok" >&6; }
   6470 fi
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 # Check whether --enable-libtool-lock was given.
   6494 if test "${enable_libtool_lock+set}" = set; then :
   6495   enableval=$enable_libtool_lock;
   6496 fi
   6497 
   6498 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6499 
   6500 # Some flags need to be propagated to the compiler or linker for good
   6501 # libtool support.
   6502 case $host in
   6503 ia64-*-hpux*)
   6504   # Find out which ABI we are using.
   6505   echo 'int i;' > conftest.$ac_ext
   6506   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6507   (eval $ac_compile) 2>&5
   6508   ac_status=$?
   6509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6510   test $ac_status = 0; }; then
   6511     case `/usr/bin/file conftest.$ac_objext` in
   6512       *ELF-32*)
   6513 	HPUX_IA64_MODE="32"
   6514 	;;
   6515       *ELF-64*)
   6516 	HPUX_IA64_MODE="64"
   6517 	;;
   6518     esac
   6519   fi
   6520   rm -rf conftest*
   6521   ;;
   6522 *-*-irix6*)
   6523   # Find out which ABI we are using.
   6524   echo '#line 6524 "configure"' > conftest.$ac_ext
   6525   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6526   (eval $ac_compile) 2>&5
   6527   ac_status=$?
   6528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6529   test $ac_status = 0; }; then
   6530     if test "$lt_cv_prog_gnu_ld" = yes; then
   6531       case `/usr/bin/file conftest.$ac_objext` in
   6532 	*32-bit*)
   6533 	  LD="${LD-ld} -melf32bsmip"
   6534 	  ;;
   6535 	*N32*)
   6536 	  LD="${LD-ld} -melf32bmipn32"
   6537 	  ;;
   6538 	*64-bit*)
   6539 	  LD="${LD-ld} -melf64bmip"
   6540 	;;
   6541       esac
   6542     else
   6543       case `/usr/bin/file conftest.$ac_objext` in
   6544 	*32-bit*)
   6545 	  LD="${LD-ld} -32"
   6546 	  ;;
   6547 	*N32*)
   6548 	  LD="${LD-ld} -n32"
   6549 	  ;;
   6550 	*64-bit*)
   6551 	  LD="${LD-ld} -64"
   6552 	  ;;
   6553       esac
   6554     fi
   6555   fi
   6556   rm -rf conftest*
   6557   ;;
   6558 
   6559 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6560 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6561   # Find out which ABI we are using.
   6562   echo 'int i;' > conftest.$ac_ext
   6563   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6564   (eval $ac_compile) 2>&5
   6565   ac_status=$?
   6566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6567   test $ac_status = 0; }; then
   6568     case `/usr/bin/file conftest.o` in
   6569       *32-bit*)
   6570 	case $host in
   6571 	  x86_64-*kfreebsd*-gnu)
   6572 	    LD="${LD-ld} -m elf_i386_fbsd"
   6573 	    ;;
   6574 	  x86_64-*linux*)
   6575 	    LD="${LD-ld} -m elf_i386"
   6576 	    ;;
   6577 	  ppc64-*linux*|powerpc64-*linux*)
   6578 	    LD="${LD-ld} -m elf32ppclinux"
   6579 	    ;;
   6580 	  s390x-*linux*)
   6581 	    LD="${LD-ld} -m elf_s390"
   6582 	    ;;
   6583 	  sparc64-*linux*)
   6584 	    LD="${LD-ld} -m elf32_sparc"
   6585 	    ;;
   6586 	esac
   6587 	;;
   6588       *64-bit*)
   6589 	case $host in
   6590 	  x86_64-*kfreebsd*-gnu)
   6591 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6592 	    ;;
   6593 	  x86_64-*linux*)
   6594 	    LD="${LD-ld} -m elf_x86_64"
   6595 	    ;;
   6596 	  ppc*-*linux*|powerpc*-*linux*)
   6597 	    LD="${LD-ld} -m elf64ppc"
   6598 	    ;;
   6599 	  s390*-*linux*|s390*-*tpf*)
   6600 	    LD="${LD-ld} -m elf64_s390"
   6601 	    ;;
   6602 	  sparc*-*linux*)
   6603 	    LD="${LD-ld} -m elf64_sparc"
   6604 	    ;;
   6605 	esac
   6606 	;;
   6607     esac
   6608   fi
   6609   rm -rf conftest*
   6610   ;;
   6611 
   6612 *-*-sco3.2v5*)
   6613   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6614   SAVE_CFLAGS="$CFLAGS"
   6615   CFLAGS="$CFLAGS -belf"
   6616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6617 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6618 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621   ac_ext=c
   6622 ac_cpp='$CPP $CPPFLAGS'
   6623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6626 
   6627      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 
   6630 int
   6631 main ()
   6632 {
   6633 
   6634   ;
   6635   return 0;
   6636 }
   6637 _ACEOF
   6638 if ac_fn_c_try_link "$LINENO"; then :
   6639   lt_cv_cc_needs_belf=yes
   6640 else
   6641   lt_cv_cc_needs_belf=no
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext \
   6644     conftest$ac_exeext conftest.$ac_ext
   6645      ac_ext=c
   6646 ac_cpp='$CPP $CPPFLAGS'
   6647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6650 
   6651 fi
   6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6653 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6654   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6655     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6656     CFLAGS="$SAVE_CFLAGS"
   6657   fi
   6658   ;;
   6659 sparc*-*solaris*)
   6660   # Find out which ABI we are using.
   6661   echo 'int i;' > conftest.$ac_ext
   6662   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6663   (eval $ac_compile) 2>&5
   6664   ac_status=$?
   6665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6666   test $ac_status = 0; }; then
   6667     case `/usr/bin/file conftest.o` in
   6668     *64-bit*)
   6669       case $lt_cv_prog_gnu_ld in
   6670       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6671       *)
   6672 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6673 	  LD="${LD-ld} -64"
   6674 	fi
   6675 	;;
   6676       esac
   6677       ;;
   6678     esac
   6679   fi
   6680   rm -rf conftest*
   6681   ;;
   6682 esac
   6683 
   6684 need_locks="$enable_libtool_lock"
   6685 
   6686 
   6687   case $host_os in
   6688     rhapsody* | darwin*)
   6689     if test -n "$ac_tool_prefix"; then
   6690   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6691 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6693 $as_echo_n "checking for $ac_word... " >&6; }
   6694 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6695   $as_echo_n "(cached) " >&6
   6696 else
   6697   if test -n "$DSYMUTIL"; then
   6698   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6699 else
   6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6701 for as_dir in $PATH
   6702 do
   6703   IFS=$as_save_IFS
   6704   test -z "$as_dir" && as_dir=.
   6705     for ac_exec_ext in '' $ac_executable_extensions; do
   6706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6707     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6709     break 2
   6710   fi
   6711 done
   6712   done
   6713 IFS=$as_save_IFS
   6714 
   6715 fi
   6716 fi
   6717 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6718 if test -n "$DSYMUTIL"; then
   6719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6720 $as_echo "$DSYMUTIL" >&6; }
   6721 else
   6722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6723 $as_echo "no" >&6; }
   6724 fi
   6725 
   6726 
   6727 fi
   6728 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6729   ac_ct_DSYMUTIL=$DSYMUTIL
   6730   # Extract the first word of "dsymutil", so it can be a program name with args.
   6731 set dummy dsymutil; ac_word=$2
   6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6733 $as_echo_n "checking for $ac_word... " >&6; }
   6734 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   if test -n "$ac_ct_DSYMUTIL"; then
   6738   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6739 else
   6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6741 for as_dir in $PATH
   6742 do
   6743   IFS=$as_save_IFS
   6744   test -z "$as_dir" && as_dir=.
   6745     for ac_exec_ext in '' $ac_executable_extensions; do
   6746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6747     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6749     break 2
   6750   fi
   6751 done
   6752   done
   6753 IFS=$as_save_IFS
   6754 
   6755 fi
   6756 fi
   6757 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6758 if test -n "$ac_ct_DSYMUTIL"; then
   6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6760 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6761 else
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6763 $as_echo "no" >&6; }
   6764 fi
   6765 
   6766   if test "x$ac_ct_DSYMUTIL" = x; then
   6767     DSYMUTIL=":"
   6768   else
   6769     case $cross_compiling:$ac_tool_warned in
   6770 yes:)
   6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6773 ac_tool_warned=yes ;;
   6774 esac
   6775     DSYMUTIL=$ac_ct_DSYMUTIL
   6776   fi
   6777 else
   6778   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6779 fi
   6780 
   6781     if test -n "$ac_tool_prefix"; then
   6782   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6783 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6785 $as_echo_n "checking for $ac_word... " >&6; }
   6786 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   if test -n "$NMEDIT"; then
   6790   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6791 else
   6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6793 for as_dir in $PATH
   6794 do
   6795   IFS=$as_save_IFS
   6796   test -z "$as_dir" && as_dir=.
   6797     for ac_exec_ext in '' $ac_executable_extensions; do
   6798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6799     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6801     break 2
   6802   fi
   6803 done
   6804   done
   6805 IFS=$as_save_IFS
   6806 
   6807 fi
   6808 fi
   6809 NMEDIT=$ac_cv_prog_NMEDIT
   6810 if test -n "$NMEDIT"; then
   6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6812 $as_echo "$NMEDIT" >&6; }
   6813 else
   6814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6815 $as_echo "no" >&6; }
   6816 fi
   6817 
   6818 
   6819 fi
   6820 if test -z "$ac_cv_prog_NMEDIT"; then
   6821   ac_ct_NMEDIT=$NMEDIT
   6822   # Extract the first word of "nmedit", so it can be a program name with args.
   6823 set dummy nmedit; ac_word=$2
   6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6825 $as_echo_n "checking for $ac_word... " >&6; }
   6826 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6827   $as_echo_n "(cached) " >&6
   6828 else
   6829   if test -n "$ac_ct_NMEDIT"; then
   6830   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6831 else
   6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6833 for as_dir in $PATH
   6834 do
   6835   IFS=$as_save_IFS
   6836   test -z "$as_dir" && as_dir=.
   6837     for ac_exec_ext in '' $ac_executable_extensions; do
   6838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6839     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6841     break 2
   6842   fi
   6843 done
   6844   done
   6845 IFS=$as_save_IFS
   6846 
   6847 fi
   6848 fi
   6849 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6850 if test -n "$ac_ct_NMEDIT"; then
   6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6852 $as_echo "$ac_ct_NMEDIT" >&6; }
   6853 else
   6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6855 $as_echo "no" >&6; }
   6856 fi
   6857 
   6858   if test "x$ac_ct_NMEDIT" = x; then
   6859     NMEDIT=":"
   6860   else
   6861     case $cross_compiling:$ac_tool_warned in
   6862 yes:)
   6863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6865 ac_tool_warned=yes ;;
   6866 esac
   6867     NMEDIT=$ac_ct_NMEDIT
   6868   fi
   6869 else
   6870   NMEDIT="$ac_cv_prog_NMEDIT"
   6871 fi
   6872 
   6873     if test -n "$ac_tool_prefix"; then
   6874   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6875 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6877 $as_echo_n "checking for $ac_word... " >&6; }
   6878 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6879   $as_echo_n "(cached) " >&6
   6880 else
   6881   if test -n "$LIPO"; then
   6882   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6883 else
   6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6885 for as_dir in $PATH
   6886 do
   6887   IFS=$as_save_IFS
   6888   test -z "$as_dir" && as_dir=.
   6889     for ac_exec_ext in '' $ac_executable_extensions; do
   6890   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6891     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6893     break 2
   6894   fi
   6895 done
   6896   done
   6897 IFS=$as_save_IFS
   6898 
   6899 fi
   6900 fi
   6901 LIPO=$ac_cv_prog_LIPO
   6902 if test -n "$LIPO"; then
   6903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6904 $as_echo "$LIPO" >&6; }
   6905 else
   6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6907 $as_echo "no" >&6; }
   6908 fi
   6909 
   6910 
   6911 fi
   6912 if test -z "$ac_cv_prog_LIPO"; then
   6913   ac_ct_LIPO=$LIPO
   6914   # Extract the first word of "lipo", so it can be a program name with args.
   6915 set dummy lipo; ac_word=$2
   6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6917 $as_echo_n "checking for $ac_word... " >&6; }
   6918 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6919   $as_echo_n "(cached) " >&6
   6920 else
   6921   if test -n "$ac_ct_LIPO"; then
   6922   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6923 else
   6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6925 for as_dir in $PATH
   6926 do
   6927   IFS=$as_save_IFS
   6928   test -z "$as_dir" && as_dir=.
   6929     for ac_exec_ext in '' $ac_executable_extensions; do
   6930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6931     ac_cv_prog_ac_ct_LIPO="lipo"
   6932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6933     break 2
   6934   fi
   6935 done
   6936   done
   6937 IFS=$as_save_IFS
   6938 
   6939 fi
   6940 fi
   6941 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6942 if test -n "$ac_ct_LIPO"; then
   6943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6944 $as_echo "$ac_ct_LIPO" >&6; }
   6945 else
   6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6947 $as_echo "no" >&6; }
   6948 fi
   6949 
   6950   if test "x$ac_ct_LIPO" = x; then
   6951     LIPO=":"
   6952   else
   6953     case $cross_compiling:$ac_tool_warned in
   6954 yes:)
   6955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6957 ac_tool_warned=yes ;;
   6958 esac
   6959     LIPO=$ac_ct_LIPO
   6960   fi
   6961 else
   6962   LIPO="$ac_cv_prog_LIPO"
   6963 fi
   6964 
   6965     if test -n "$ac_tool_prefix"; then
   6966   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6967 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6969 $as_echo_n "checking for $ac_word... " >&6; }
   6970 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   if test -n "$OTOOL"; then
   6974   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6975 else
   6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6977 for as_dir in $PATH
   6978 do
   6979   IFS=$as_save_IFS
   6980   test -z "$as_dir" && as_dir=.
   6981     for ac_exec_ext in '' $ac_executable_extensions; do
   6982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6983     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6985     break 2
   6986   fi
   6987 done
   6988   done
   6989 IFS=$as_save_IFS
   6990 
   6991 fi
   6992 fi
   6993 OTOOL=$ac_cv_prog_OTOOL
   6994 if test -n "$OTOOL"; then
   6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6996 $as_echo "$OTOOL" >&6; }
   6997 else
   6998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6999 $as_echo "no" >&6; }
   7000 fi
   7001 
   7002 
   7003 fi
   7004 if test -z "$ac_cv_prog_OTOOL"; then
   7005   ac_ct_OTOOL=$OTOOL
   7006   # Extract the first word of "otool", so it can be a program name with args.
   7007 set dummy otool; ac_word=$2
   7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7009 $as_echo_n "checking for $ac_word... " >&6; }
   7010 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   if test -n "$ac_ct_OTOOL"; then
   7014   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7015 else
   7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7017 for as_dir in $PATH
   7018 do
   7019   IFS=$as_save_IFS
   7020   test -z "$as_dir" && as_dir=.
   7021     for ac_exec_ext in '' $ac_executable_extensions; do
   7022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7023     ac_cv_prog_ac_ct_OTOOL="otool"
   7024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7025     break 2
   7026   fi
   7027 done
   7028   done
   7029 IFS=$as_save_IFS
   7030 
   7031 fi
   7032 fi
   7033 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7034 if test -n "$ac_ct_OTOOL"; then
   7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7036 $as_echo "$ac_ct_OTOOL" >&6; }
   7037 else
   7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7039 $as_echo "no" >&6; }
   7040 fi
   7041 
   7042   if test "x$ac_ct_OTOOL" = x; then
   7043     OTOOL=":"
   7044   else
   7045     case $cross_compiling:$ac_tool_warned in
   7046 yes:)
   7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7049 ac_tool_warned=yes ;;
   7050 esac
   7051     OTOOL=$ac_ct_OTOOL
   7052   fi
   7053 else
   7054   OTOOL="$ac_cv_prog_OTOOL"
   7055 fi
   7056 
   7057     if test -n "$ac_tool_prefix"; then
   7058   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7059 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7061 $as_echo_n "checking for $ac_word... " >&6; }
   7062 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7063   $as_echo_n "(cached) " >&6
   7064 else
   7065   if test -n "$OTOOL64"; then
   7066   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7067 else
   7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7069 for as_dir in $PATH
   7070 do
   7071   IFS=$as_save_IFS
   7072   test -z "$as_dir" && as_dir=.
   7073     for ac_exec_ext in '' $ac_executable_extensions; do
   7074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7075     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7077     break 2
   7078   fi
   7079 done
   7080   done
   7081 IFS=$as_save_IFS
   7082 
   7083 fi
   7084 fi
   7085 OTOOL64=$ac_cv_prog_OTOOL64
   7086 if test -n "$OTOOL64"; then
   7087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7088 $as_echo "$OTOOL64" >&6; }
   7089 else
   7090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7091 $as_echo "no" >&6; }
   7092 fi
   7093 
   7094 
   7095 fi
   7096 if test -z "$ac_cv_prog_OTOOL64"; then
   7097   ac_ct_OTOOL64=$OTOOL64
   7098   # Extract the first word of "otool64", so it can be a program name with args.
   7099 set dummy otool64; ac_word=$2
   7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7101 $as_echo_n "checking for $ac_word... " >&6; }
   7102 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   if test -n "$ac_ct_OTOOL64"; then
   7106   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7107 else
   7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7109 for as_dir in $PATH
   7110 do
   7111   IFS=$as_save_IFS
   7112   test -z "$as_dir" && as_dir=.
   7113     for ac_exec_ext in '' $ac_executable_extensions; do
   7114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7115     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7117     break 2
   7118   fi
   7119 done
   7120   done
   7121 IFS=$as_save_IFS
   7122 
   7123 fi
   7124 fi
   7125 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7126 if test -n "$ac_ct_OTOOL64"; then
   7127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7128 $as_echo "$ac_ct_OTOOL64" >&6; }
   7129 else
   7130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7131 $as_echo "no" >&6; }
   7132 fi
   7133 
   7134   if test "x$ac_ct_OTOOL64" = x; then
   7135     OTOOL64=":"
   7136   else
   7137     case $cross_compiling:$ac_tool_warned in
   7138 yes:)
   7139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7141 ac_tool_warned=yes ;;
   7142 esac
   7143     OTOOL64=$ac_ct_OTOOL64
   7144   fi
   7145 else
   7146   OTOOL64="$ac_cv_prog_OTOOL64"
   7147 fi
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7176 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7177 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180   lt_cv_apple_cc_single_mod=no
   7181       if test -z "${LT_MULTI_MODULE}"; then
   7182 	# By default we will add the -single_module flag. You can override
   7183 	# by either setting the environment variable LT_MULTI_MODULE
   7184 	# non-empty at configure time, or by adding -multi_module to the
   7185 	# link flags.
   7186 	rm -rf libconftest.dylib*
   7187 	echo "int foo(void){return 1;}" > conftest.c
   7188 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7189 -dynamiclib -Wl,-single_module conftest.c" >&5
   7190 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7191 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7192         _lt_result=$?
   7193 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7194 	  lt_cv_apple_cc_single_mod=yes
   7195 	else
   7196 	  cat conftest.err >&5
   7197 	fi
   7198 	rm -rf libconftest.dylib*
   7199 	rm -f conftest.*
   7200       fi
   7201 fi
   7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7203 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7204     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7205 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7206 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   lt_cv_ld_exported_symbols_list=no
   7210       save_LDFLAGS=$LDFLAGS
   7211       echo "_main" > conftest.sym
   7212       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7214 /* end confdefs.h.  */
   7215 
   7216 int
   7217 main ()
   7218 {
   7219 
   7220   ;
   7221   return 0;
   7222 }
   7223 _ACEOF
   7224 if ac_fn_c_try_link "$LINENO"; then :
   7225   lt_cv_ld_exported_symbols_list=yes
   7226 else
   7227   lt_cv_ld_exported_symbols_list=no
   7228 fi
   7229 rm -f core conftest.err conftest.$ac_objext \
   7230     conftest$ac_exeext conftest.$ac_ext
   7231 	LDFLAGS="$save_LDFLAGS"
   7232 
   7233 fi
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7235 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7236     case $host_os in
   7237     rhapsody* | darwin1.[012])
   7238       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7239     darwin1.*)
   7240       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7241     darwin*) # darwin 5.x on
   7242       # if running on 10.5 or later, the deployment target defaults
   7243       # to the OS version, if on x86, and 10.4, the deployment
   7244       # target defaults to 10.4. Don't you love it?
   7245       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7246 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7247 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7248 	10.[012]*)
   7249 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7250 	10.*)
   7251 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7252       esac
   7253     ;;
   7254   esac
   7255     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7256       _lt_dar_single_mod='$single_module'
   7257     fi
   7258     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7259       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7260     else
   7261       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7262     fi
   7263     if test "$DSYMUTIL" != ":"; then
   7264       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7265     else
   7266       _lt_dsymutil=
   7267     fi
   7268     ;;
   7269   esac
   7270 
   7271 for ac_header in dlfcn.h
   7272 do :
   7273   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7274 "
   7275 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7276   cat >>confdefs.h <<_ACEOF
   7277 #define HAVE_DLFCN_H 1
   7278 _ACEOF
   7279 
   7280 fi
   7281 
   7282 done
   7283 
   7284 
   7285 
   7286 # Set options
   7287 
   7288 
   7289 
   7290         enable_dlopen=no
   7291 
   7292 
   7293   enable_win32_dll=no
   7294 
   7295 
   7296             # Check whether --enable-shared was given.
   7297 if test "${enable_shared+set}" = set; then :
   7298   enableval=$enable_shared; p=${PACKAGE-default}
   7299     case $enableval in
   7300     yes) enable_shared=yes ;;
   7301     no) enable_shared=no ;;
   7302     *)
   7303       enable_shared=no
   7304       # Look at the argument we got.  We use all the common list separators.
   7305       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7306       for pkg in $enableval; do
   7307 	IFS="$lt_save_ifs"
   7308 	if test "X$pkg" = "X$p"; then
   7309 	  enable_shared=yes
   7310 	fi
   7311       done
   7312       IFS="$lt_save_ifs"
   7313       ;;
   7314     esac
   7315 else
   7316   enable_shared=yes
   7317 fi
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327   # Check whether --enable-static was given.
   7328 if test "${enable_static+set}" = set; then :
   7329   enableval=$enable_static; p=${PACKAGE-default}
   7330     case $enableval in
   7331     yes) enable_static=yes ;;
   7332     no) enable_static=no ;;
   7333     *)
   7334      enable_static=no
   7335       # Look at the argument we got.  We use all the common list separators.
   7336       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7337       for pkg in $enableval; do
   7338 	IFS="$lt_save_ifs"
   7339 	if test "X$pkg" = "X$p"; then
   7340 	  enable_static=yes
   7341 	fi
   7342       done
   7343       IFS="$lt_save_ifs"
   7344       ;;
   7345     esac
   7346 else
   7347   enable_static=yes
   7348 fi
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 # Check whether --with-pic was given.
   7360 if test "${with_pic+set}" = set; then :
   7361   withval=$with_pic; pic_mode="$withval"
   7362 else
   7363   pic_mode=default
   7364 fi
   7365 
   7366 
   7367 test -z "$pic_mode" && pic_mode=default
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375   # Check whether --enable-fast-install was given.
   7376 if test "${enable_fast_install+set}" = set; then :
   7377   enableval=$enable_fast_install; p=${PACKAGE-default}
   7378     case $enableval in
   7379     yes) enable_fast_install=yes ;;
   7380     no) enable_fast_install=no ;;
   7381     *)
   7382       enable_fast_install=no
   7383       # Look at the argument we got.  We use all the common list separators.
   7384       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7385       for pkg in $enableval; do
   7386 	IFS="$lt_save_ifs"
   7387 	if test "X$pkg" = "X$p"; then
   7388 	  enable_fast_install=yes
   7389 	fi
   7390       done
   7391       IFS="$lt_save_ifs"
   7392       ;;
   7393     esac
   7394 else
   7395   enable_fast_install=yes
   7396 fi
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 # This can be used to rebuild libtool when needed
   7409 LIBTOOL_DEPS="$ltmain"
   7410 
   7411 # Always use our own libtool.
   7412 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 test -z "$LN_S" && LN_S="ln -s"
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 if test -n "${ZSH_VERSION+set}" ; then
   7454    setopt NO_GLOB_SUBST
   7455 fi
   7456 
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7458 $as_echo_n "checking for objdir... " >&6; }
   7459 if test "${lt_cv_objdir+set}" = set; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   rm -f .libs 2>/dev/null
   7463 mkdir .libs 2>/dev/null
   7464 if test -d .libs; then
   7465   lt_cv_objdir=.libs
   7466 else
   7467   # MS-DOS does not allow filenames that begin with a dot.
   7468   lt_cv_objdir=_libs
   7469 fi
   7470 rmdir .libs 2>/dev/null
   7471 fi
   7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7473 $as_echo "$lt_cv_objdir" >&6; }
   7474 objdir=$lt_cv_objdir
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 cat >>confdefs.h <<_ACEOF
   7481 #define LT_OBJDIR "$lt_cv_objdir/"
   7482 _ACEOF
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 case $host_os in
   7501 aix3*)
   7502   # AIX sometimes has problems with the GCC collect2 program.  For some
   7503   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7504   # vanish in a puff of smoke.
   7505   if test "X${COLLECT_NAMES+set}" != Xset; then
   7506     COLLECT_NAMES=
   7507     export COLLECT_NAMES
   7508   fi
   7509   ;;
   7510 esac
   7511 
   7512 # Sed substitution that helps us do robust quoting.  It backslashifies
   7513 # metacharacters that are still active within double-quoted strings.
   7514 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7515 
   7516 # Same as above, but do not quote variable references.
   7517 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7518 
   7519 # Sed substitution to delay expansion of an escaped shell variable in a
   7520 # double_quote_subst'ed string.
   7521 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7522 
   7523 # Sed substitution to delay expansion of an escaped single quote.
   7524 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7525 
   7526 # Sed substitution to avoid accidental globbing in evaled expressions
   7527 no_glob_subst='s/\*/\\\*/g'
   7528 
   7529 # Global variables:
   7530 ofile=libtool
   7531 can_build_shared=yes
   7532 
   7533 # All known linkers require a `.a' archive for static linking (except MSVC,
   7534 # which needs '.lib').
   7535 libext=a
   7536 
   7537 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7538 
   7539 old_CC="$CC"
   7540 old_CFLAGS="$CFLAGS"
   7541 
   7542 # Set sane defaults for various variables
   7543 test -z "$CC" && CC=cc
   7544 test -z "$LTCC" && LTCC=$CC
   7545 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7546 test -z "$LD" && LD=ld
   7547 test -z "$ac_objext" && ac_objext=o
   7548 
   7549 for cc_temp in $compiler""; do
   7550   case $cc_temp in
   7551     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7552     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7553     \-*) ;;
   7554     *) break;;
   7555   esac
   7556 done
   7557 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7558 
   7559 
   7560 # Only perform the check for file, if the check method requires it
   7561 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7562 case $deplibs_check_method in
   7563 file_magic*)
   7564   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7566 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7567 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7568   $as_echo_n "(cached) " >&6
   7569 else
   7570   case $MAGIC_CMD in
   7571 [\\/*] |  ?:[\\/]*)
   7572   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7573   ;;
   7574 *)
   7575   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7576   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7577   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7578   for ac_dir in $ac_dummy; do
   7579     IFS="$lt_save_ifs"
   7580     test -z "$ac_dir" && ac_dir=.
   7581     if test -f $ac_dir/${ac_tool_prefix}file; then
   7582       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7583       if test -n "$file_magic_test_file"; then
   7584 	case $deplibs_check_method in
   7585 	"file_magic "*)
   7586 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7587 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7588 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7589 	    $EGREP "$file_magic_regex" > /dev/null; then
   7590 	    :
   7591 	  else
   7592 	    cat <<_LT_EOF 1>&2
   7593 
   7594 *** Warning: the command libtool uses to detect shared libraries,
   7595 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7596 *** The result is that libtool may fail to recognize shared libraries
   7597 *** as such.  This will affect the creation of libtool libraries that
   7598 *** depend on shared libraries, but programs linked with such libtool
   7599 *** libraries will work regardless of this problem.  Nevertheless, you
   7600 *** may want to report the problem to your system manager and/or to
   7601 *** bug-libtool@gnu.org
   7602 
   7603 _LT_EOF
   7604 	  fi ;;
   7605 	esac
   7606       fi
   7607       break
   7608     fi
   7609   done
   7610   IFS="$lt_save_ifs"
   7611   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7612   ;;
   7613 esac
   7614 fi
   7615 
   7616 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7617 if test -n "$MAGIC_CMD"; then
   7618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7619 $as_echo "$MAGIC_CMD" >&6; }
   7620 else
   7621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7622 $as_echo "no" >&6; }
   7623 fi
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7630   if test -n "$ac_tool_prefix"; then
   7631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7632 $as_echo_n "checking for file... " >&6; }
   7633 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   case $MAGIC_CMD in
   7637 [\\/*] |  ?:[\\/]*)
   7638   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7639   ;;
   7640 *)
   7641   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7642   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7643   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7644   for ac_dir in $ac_dummy; do
   7645     IFS="$lt_save_ifs"
   7646     test -z "$ac_dir" && ac_dir=.
   7647     if test -f $ac_dir/file; then
   7648       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7649       if test -n "$file_magic_test_file"; then
   7650 	case $deplibs_check_method in
   7651 	"file_magic "*)
   7652 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7653 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7654 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7655 	    $EGREP "$file_magic_regex" > /dev/null; then
   7656 	    :
   7657 	  else
   7658 	    cat <<_LT_EOF 1>&2
   7659 
   7660 *** Warning: the command libtool uses to detect shared libraries,
   7661 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7662 *** The result is that libtool may fail to recognize shared libraries
   7663 *** as such.  This will affect the creation of libtool libraries that
   7664 *** depend on shared libraries, but programs linked with such libtool
   7665 *** libraries will work regardless of this problem.  Nevertheless, you
   7666 *** may want to report the problem to your system manager and/or to
   7667 *** bug-libtool@gnu.org
   7668 
   7669 _LT_EOF
   7670 	  fi ;;
   7671 	esac
   7672       fi
   7673       break
   7674     fi
   7675   done
   7676   IFS="$lt_save_ifs"
   7677   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7678   ;;
   7679 esac
   7680 fi
   7681 
   7682 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7683 if test -n "$MAGIC_CMD"; then
   7684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7685 $as_echo "$MAGIC_CMD" >&6; }
   7686 else
   7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7688 $as_echo "no" >&6; }
   7689 fi
   7690 
   7691 
   7692   else
   7693     MAGIC_CMD=:
   7694   fi
   7695 fi
   7696 
   7697   fi
   7698   ;;
   7699 esac
   7700 
   7701 # Use C for the default configuration in the libtool script
   7702 
   7703 lt_save_CC="$CC"
   7704 ac_ext=c
   7705 ac_cpp='$CPP $CPPFLAGS'
   7706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7709 
   7710 
   7711 # Source file extension for C test sources.
   7712 ac_ext=c
   7713 
   7714 # Object file extension for compiled C test sources.
   7715 objext=o
   7716 objext=$objext
   7717 
   7718 # Code to be used in simple compile tests
   7719 lt_simple_compile_test_code="int some_variable = 0;"
   7720 
   7721 # Code to be used in simple link tests
   7722 lt_simple_link_test_code='int main(){return(0);}'
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 # If no C compiler was specified, use CC.
   7731 LTCC=${LTCC-"$CC"}
   7732 
   7733 # If no C compiler flags were specified, use CFLAGS.
   7734 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7735 
   7736 # Allow CC to be a program name with arguments.
   7737 compiler=$CC
   7738 
   7739 # Save the default compiler, since it gets overwritten when the other
   7740 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7741 compiler_DEFAULT=$CC
   7742 
   7743 # save warnings/boilerplate of simple test code
   7744 ac_outfile=conftest.$ac_objext
   7745 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7746 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7747 _lt_compiler_boilerplate=`cat conftest.err`
   7748 $RM conftest*
   7749 
   7750 ac_outfile=conftest.$ac_objext
   7751 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7752 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7753 _lt_linker_boilerplate=`cat conftest.err`
   7754 $RM -r conftest*
   7755 
   7756 
   7757 if test -n "$compiler"; then
   7758 
   7759 lt_prog_compiler_no_builtin_flag=
   7760 
   7761 if test "$GCC" = yes; then
   7762   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7763 
   7764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7765 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7766 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7767   $as_echo_n "(cached) " >&6
   7768 else
   7769   lt_cv_prog_compiler_rtti_exceptions=no
   7770    ac_outfile=conftest.$ac_objext
   7771    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7772    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7773    # Insert the option either (1) after the last *FLAGS variable, or
   7774    # (2) before a word containing "conftest.", or (3) at the end.
   7775    # Note that $ac_compile itself does not contain backslashes and begins
   7776    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7777    # The option is referenced via a variable to avoid confusing sed.
   7778    lt_compile=`echo "$ac_compile" | $SED \
   7779    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7780    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7781    -e 's:$: $lt_compiler_flag:'`
   7782    (eval echo "\"\$as_me:7782: $lt_compile\"" >&5)
   7783    (eval "$lt_compile" 2>conftest.err)
   7784    ac_status=$?
   7785    cat conftest.err >&5
   7786    echo "$as_me:7786: \$? = $ac_status" >&5
   7787    if (exit $ac_status) && test -s "$ac_outfile"; then
   7788      # The compiler can only warn and ignore the option if not recognized
   7789      # So say no if there are warnings other than the usual output.
   7790      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7791      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7792      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7793        lt_cv_prog_compiler_rtti_exceptions=yes
   7794      fi
   7795    fi
   7796    $RM conftest*
   7797 
   7798 fi
   7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7800 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7801 
   7802 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7803     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7804 else
   7805     :
   7806 fi
   7807 
   7808 fi
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815   lt_prog_compiler_wl=
   7816 lt_prog_compiler_pic=
   7817 lt_prog_compiler_static=
   7818 
   7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7820 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7821 
   7822   if test "$GCC" = yes; then
   7823     lt_prog_compiler_wl='-Wl,'
   7824     lt_prog_compiler_static='-static'
   7825 
   7826     case $host_os in
   7827       aix*)
   7828       # All AIX code is PIC.
   7829       if test "$host_cpu" = ia64; then
   7830 	# AIX 5 now supports IA64 processor
   7831 	lt_prog_compiler_static='-Bstatic'
   7832       fi
   7833       ;;
   7834 
   7835     amigaos*)
   7836       case $host_cpu in
   7837       powerpc)
   7838             # see comment about AmigaOS4 .so support
   7839             lt_prog_compiler_pic='-fPIC'
   7840         ;;
   7841       m68k)
   7842             # FIXME: we need at least 68020 code to build shared libraries, but
   7843             # adding the `-m68020' flag to GCC prevents building anything better,
   7844             # like `-m68040'.
   7845             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7846         ;;
   7847       esac
   7848       ;;
   7849 
   7850     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7851       # PIC is the default for these OSes.
   7852       ;;
   7853 
   7854     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7855       # This hack is so that the source file can tell whether it is being
   7856       # built for inclusion in a dll (and should export symbols for example).
   7857       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7858       # (--disable-auto-import) libraries
   7859       lt_prog_compiler_pic='-DDLL_EXPORT'
   7860       ;;
   7861 
   7862     darwin* | rhapsody*)
   7863       # PIC is the default on this platform
   7864       # Common symbols not allowed in MH_DYLIB files
   7865       lt_prog_compiler_pic='-fno-common'
   7866       ;;
   7867 
   7868     hpux*)
   7869       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7870       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7871       # sets the default TLS model and affects inlining.
   7872       case $host_cpu in
   7873       hppa*64*)
   7874 	# +Z the default
   7875 	;;
   7876       *)
   7877 	lt_prog_compiler_pic='-fPIC'
   7878 	;;
   7879       esac
   7880       ;;
   7881 
   7882     interix[3-9]*)
   7883       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7884       # Instead, we relocate shared libraries at runtime.
   7885       ;;
   7886 
   7887     msdosdjgpp*)
   7888       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7889       # on systems that don't support them.
   7890       lt_prog_compiler_can_build_shared=no
   7891       enable_shared=no
   7892       ;;
   7893 
   7894     *nto* | *qnx*)
   7895       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7896       # it will coredump.
   7897       lt_prog_compiler_pic='-fPIC -shared'
   7898       ;;
   7899 
   7900     sysv4*MP*)
   7901       if test -d /usr/nec; then
   7902 	lt_prog_compiler_pic=-Kconform_pic
   7903       fi
   7904       ;;
   7905 
   7906     *)
   7907       lt_prog_compiler_pic='-fPIC'
   7908       ;;
   7909     esac
   7910   else
   7911     # PORTME Check for flag to pass linker flags through the system compiler.
   7912     case $host_os in
   7913     aix*)
   7914       lt_prog_compiler_wl='-Wl,'
   7915       if test "$host_cpu" = ia64; then
   7916 	# AIX 5 now supports IA64 processor
   7917 	lt_prog_compiler_static='-Bstatic'
   7918       else
   7919 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7920       fi
   7921       ;;
   7922 
   7923     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7924       # This hack is so that the source file can tell whether it is being
   7925       # built for inclusion in a dll (and should export symbols for example).
   7926       lt_prog_compiler_pic='-DDLL_EXPORT'
   7927       ;;
   7928 
   7929     hpux9* | hpux10* | hpux11*)
   7930       lt_prog_compiler_wl='-Wl,'
   7931       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7932       # not for PA HP-UX.
   7933       case $host_cpu in
   7934       hppa*64*|ia64*)
   7935 	# +Z the default
   7936 	;;
   7937       *)
   7938 	lt_prog_compiler_pic='+Z'
   7939 	;;
   7940       esac
   7941       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7942       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7943       ;;
   7944 
   7945     irix5* | irix6* | nonstopux*)
   7946       lt_prog_compiler_wl='-Wl,'
   7947       # PIC (with -KPIC) is the default.
   7948       lt_prog_compiler_static='-non_shared'
   7949       ;;
   7950 
   7951     linux* | k*bsd*-gnu)
   7952       case $cc_basename in
   7953       # old Intel for x86_64 which still supported -KPIC.
   7954       ecc*)
   7955 	lt_prog_compiler_wl='-Wl,'
   7956 	lt_prog_compiler_pic='-KPIC'
   7957 	lt_prog_compiler_static='-static'
   7958         ;;
   7959       # icc used to be incompatible with GCC.
   7960       # ICC 10 doesn't accept -KPIC any more.
   7961       icc* | ifort*)
   7962 	lt_prog_compiler_wl='-Wl,'
   7963 	lt_prog_compiler_pic='-fPIC'
   7964 	lt_prog_compiler_static='-static'
   7965         ;;
   7966       # Lahey Fortran 8.1.
   7967       lf95*)
   7968 	lt_prog_compiler_wl='-Wl,'
   7969 	lt_prog_compiler_pic='--shared'
   7970 	lt_prog_compiler_static='--static'
   7971 	;;
   7972       pgcc* | pgf77* | pgf90* | pgf95*)
   7973         # Portland Group compilers (*not* the Pentium gcc compiler,
   7974 	# which looks to be a dead project)
   7975 	lt_prog_compiler_wl='-Wl,'
   7976 	lt_prog_compiler_pic='-fpic'
   7977 	lt_prog_compiler_static='-Bstatic'
   7978         ;;
   7979       ccc*)
   7980         lt_prog_compiler_wl='-Wl,'
   7981         # All Alpha code is PIC.
   7982         lt_prog_compiler_static='-non_shared'
   7983         ;;
   7984       xl*)
   7985 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7986 	lt_prog_compiler_wl='-Wl,'
   7987 	lt_prog_compiler_pic='-qpic'
   7988 	lt_prog_compiler_static='-qstaticlink'
   7989 	;;
   7990       *)
   7991 	case `$CC -V 2>&1 | sed 5q` in
   7992 	*Sun\ C*)
   7993 	  # Sun C 5.9
   7994 	  lt_prog_compiler_pic='-KPIC'
   7995 	  lt_prog_compiler_static='-Bstatic'
   7996 	  lt_prog_compiler_wl='-Wl,'
   7997 	  ;;
   7998 	*Sun\ F*)
   7999 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8000 	  lt_prog_compiler_pic='-KPIC'
   8001 	  lt_prog_compiler_static='-Bstatic'
   8002 	  lt_prog_compiler_wl=''
   8003 	  ;;
   8004 	esac
   8005 	;;
   8006       esac
   8007       ;;
   8008 
   8009     newsos6)
   8010       lt_prog_compiler_pic='-KPIC'
   8011       lt_prog_compiler_static='-Bstatic'
   8012       ;;
   8013 
   8014     *nto* | *qnx*)
   8015       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8016       # it will coredump.
   8017       lt_prog_compiler_pic='-fPIC -shared'
   8018       ;;
   8019 
   8020     osf3* | osf4* | osf5*)
   8021       lt_prog_compiler_wl='-Wl,'
   8022       # All OSF/1 code is PIC.
   8023       lt_prog_compiler_static='-non_shared'
   8024       ;;
   8025 
   8026     rdos*)
   8027       lt_prog_compiler_static='-non_shared'
   8028       ;;
   8029 
   8030     solaris*)
   8031       lt_prog_compiler_pic='-KPIC'
   8032       lt_prog_compiler_static='-Bstatic'
   8033       case $cc_basename in
   8034       f77* | f90* | f95*)
   8035 	lt_prog_compiler_wl='-Qoption ld ';;
   8036       *)
   8037 	lt_prog_compiler_wl='-Wl,';;
   8038       esac
   8039       ;;
   8040 
   8041     sunos4*)
   8042       lt_prog_compiler_wl='-Qoption ld '
   8043       lt_prog_compiler_pic='-PIC'
   8044       lt_prog_compiler_static='-Bstatic'
   8045       ;;
   8046 
   8047     sysv4 | sysv4.2uw2* | sysv4.3*)
   8048       lt_prog_compiler_wl='-Wl,'
   8049       lt_prog_compiler_pic='-KPIC'
   8050       lt_prog_compiler_static='-Bstatic'
   8051       ;;
   8052 
   8053     sysv4*MP*)
   8054       if test -d /usr/nec ;then
   8055 	lt_prog_compiler_pic='-Kconform_pic'
   8056 	lt_prog_compiler_static='-Bstatic'
   8057       fi
   8058       ;;
   8059 
   8060     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8061       lt_prog_compiler_wl='-Wl,'
   8062       lt_prog_compiler_pic='-KPIC'
   8063       lt_prog_compiler_static='-Bstatic'
   8064       ;;
   8065 
   8066     unicos*)
   8067       lt_prog_compiler_wl='-Wl,'
   8068       lt_prog_compiler_can_build_shared=no
   8069       ;;
   8070 
   8071     uts4*)
   8072       lt_prog_compiler_pic='-pic'
   8073       lt_prog_compiler_static='-Bstatic'
   8074       ;;
   8075 
   8076     *)
   8077       lt_prog_compiler_can_build_shared=no
   8078       ;;
   8079     esac
   8080   fi
   8081 
   8082 case $host_os in
   8083   # For platforms which do not support PIC, -DPIC is meaningless:
   8084   *djgpp*)
   8085     lt_prog_compiler_pic=
   8086     ;;
   8087   *)
   8088     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8089     ;;
   8090 esac
   8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8092 $as_echo "$lt_prog_compiler_pic" >&6; }
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 #
   8100 # Check to make sure the PIC flag actually works.
   8101 #
   8102 if test -n "$lt_prog_compiler_pic"; then
   8103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8104 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8105 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8106   $as_echo_n "(cached) " >&6
   8107 else
   8108   lt_cv_prog_compiler_pic_works=no
   8109    ac_outfile=conftest.$ac_objext
   8110    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8111    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8112    # Insert the option either (1) after the last *FLAGS variable, or
   8113    # (2) before a word containing "conftest.", or (3) at the end.
   8114    # Note that $ac_compile itself does not contain backslashes and begins
   8115    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8116    # The option is referenced via a variable to avoid confusing sed.
   8117    lt_compile=`echo "$ac_compile" | $SED \
   8118    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8119    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8120    -e 's:$: $lt_compiler_flag:'`
   8121    (eval echo "\"\$as_me:8121: $lt_compile\"" >&5)
   8122    (eval "$lt_compile" 2>conftest.err)
   8123    ac_status=$?
   8124    cat conftest.err >&5
   8125    echo "$as_me:8125: \$? = $ac_status" >&5
   8126    if (exit $ac_status) && test -s "$ac_outfile"; then
   8127      # The compiler can only warn and ignore the option if not recognized
   8128      # So say no if there are warnings other than the usual output.
   8129      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8130      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8131      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8132        lt_cv_prog_compiler_pic_works=yes
   8133      fi
   8134    fi
   8135    $RM conftest*
   8136 
   8137 fi
   8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8139 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8140 
   8141 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8142     case $lt_prog_compiler_pic in
   8143      "" | " "*) ;;
   8144      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8145      esac
   8146 else
   8147     lt_prog_compiler_pic=
   8148      lt_prog_compiler_can_build_shared=no
   8149 fi
   8150 
   8151 fi
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 #
   8159 # Check to make sure the static flag actually works.
   8160 #
   8161 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8163 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8164 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8165   $as_echo_n "(cached) " >&6
   8166 else
   8167   lt_cv_prog_compiler_static_works=no
   8168    save_LDFLAGS="$LDFLAGS"
   8169    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8170    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8171    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8172      # The linker can only warn and ignore the option if not recognized
   8173      # So say no if there are warnings
   8174      if test -s conftest.err; then
   8175        # Append any errors to the config.log.
   8176        cat conftest.err 1>&5
   8177        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8178        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8179        if diff conftest.exp conftest.er2 >/dev/null; then
   8180          lt_cv_prog_compiler_static_works=yes
   8181        fi
   8182      else
   8183        lt_cv_prog_compiler_static_works=yes
   8184      fi
   8185    fi
   8186    $RM -r conftest*
   8187    LDFLAGS="$save_LDFLAGS"
   8188 
   8189 fi
   8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8192 
   8193 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8194     :
   8195 else
   8196     lt_prog_compiler_static=
   8197 fi
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8207 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8208   $as_echo_n "(cached) " >&6
   8209 else
   8210   lt_cv_prog_compiler_c_o=no
   8211    $RM -r conftest 2>/dev/null
   8212    mkdir conftest
   8213    cd conftest
   8214    mkdir out
   8215    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8216 
   8217    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8218    # Insert the option either (1) after the last *FLAGS variable, or
   8219    # (2) before a word containing "conftest.", or (3) at the end.
   8220    # Note that $ac_compile itself does not contain backslashes and begins
   8221    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8222    lt_compile=`echo "$ac_compile" | $SED \
   8223    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8224    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8225    -e 's:$: $lt_compiler_flag:'`
   8226    (eval echo "\"\$as_me:8226: $lt_compile\"" >&5)
   8227    (eval "$lt_compile" 2>out/conftest.err)
   8228    ac_status=$?
   8229    cat out/conftest.err >&5
   8230    echo "$as_me:8230: \$? = $ac_status" >&5
   8231    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8232    then
   8233      # The compiler can only warn and ignore the option if not recognized
   8234      # So say no if there are warnings
   8235      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8236      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8237      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8238        lt_cv_prog_compiler_c_o=yes
   8239      fi
   8240    fi
   8241    chmod u+w . 2>&5
   8242    $RM conftest*
   8243    # SGI C++ compiler will create directory out/ii_files/ for
   8244    # template instantiation
   8245    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8246    $RM out/* && rmdir out
   8247    cd ..
   8248    $RM -r conftest
   8249    $RM conftest*
   8250 
   8251 fi
   8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8262 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8263   $as_echo_n "(cached) " >&6
   8264 else
   8265   lt_cv_prog_compiler_c_o=no
   8266    $RM -r conftest 2>/dev/null
   8267    mkdir conftest
   8268    cd conftest
   8269    mkdir out
   8270    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8271 
   8272    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8273    # Insert the option either (1) after the last *FLAGS variable, or
   8274    # (2) before a word containing "conftest.", or (3) at the end.
   8275    # Note that $ac_compile itself does not contain backslashes and begins
   8276    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8277    lt_compile=`echo "$ac_compile" | $SED \
   8278    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8279    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8280    -e 's:$: $lt_compiler_flag:'`
   8281    (eval echo "\"\$as_me:8281: $lt_compile\"" >&5)
   8282    (eval "$lt_compile" 2>out/conftest.err)
   8283    ac_status=$?
   8284    cat out/conftest.err >&5
   8285    echo "$as_me:8285: \$? = $ac_status" >&5
   8286    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8287    then
   8288      # The compiler can only warn and ignore the option if not recognized
   8289      # So say no if there are warnings
   8290      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8291      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8292      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8293        lt_cv_prog_compiler_c_o=yes
   8294      fi
   8295    fi
   8296    chmod u+w . 2>&5
   8297    $RM conftest*
   8298    # SGI C++ compiler will create directory out/ii_files/ for
   8299    # template instantiation
   8300    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8301    $RM out/* && rmdir out
   8302    cd ..
   8303    $RM -r conftest
   8304    $RM conftest*
   8305 
   8306 fi
   8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8309 
   8310 
   8311 
   8312 
   8313 hard_links="nottested"
   8314 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8315   # do not overwrite the value of need_locks provided by the user
   8316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8317 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8318   hard_links=yes
   8319   $RM conftest*
   8320   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8321   touch conftest.a
   8322   ln conftest.a conftest.b 2>&5 || hard_links=no
   8323   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8325 $as_echo "$hard_links" >&6; }
   8326   if test "$hard_links" = no; then
   8327     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8328 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8329     need_locks=warn
   8330   fi
   8331 else
   8332   need_locks=no
   8333 fi
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8342 
   8343   runpath_var=
   8344   allow_undefined_flag=
   8345   always_export_symbols=no
   8346   archive_cmds=
   8347   archive_expsym_cmds=
   8348   compiler_needs_object=no
   8349   enable_shared_with_static_runtimes=no
   8350   export_dynamic_flag_spec=
   8351   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8352   hardcode_automatic=no
   8353   hardcode_direct=no
   8354   hardcode_direct_absolute=no
   8355   hardcode_libdir_flag_spec=
   8356   hardcode_libdir_flag_spec_ld=
   8357   hardcode_libdir_separator=
   8358   hardcode_minus_L=no
   8359   hardcode_shlibpath_var=unsupported
   8360   inherit_rpath=no
   8361   link_all_deplibs=unknown
   8362   module_cmds=
   8363   module_expsym_cmds=
   8364   old_archive_from_new_cmds=
   8365   old_archive_from_expsyms_cmds=
   8366   thread_safe_flag_spec=
   8367   whole_archive_flag_spec=
   8368   # include_expsyms should be a list of space-separated symbols to be *always*
   8369   # included in the symbol list
   8370   include_expsyms=
   8371   # exclude_expsyms can be an extended regexp of symbols to exclude
   8372   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8373   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8374   # as well as any symbol that contains `d'.
   8375   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8376   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8377   # platforms (ab)use it in PIC code, but their linkers get confused if
   8378   # the symbol is explicitly referenced.  Since portable code cannot
   8379   # rely on this symbol name, it's probably fine to never include it in
   8380   # preloaded symbol tables.
   8381   # Exclude shared library initialization/finalization symbols.
   8382   extract_expsyms_cmds=
   8383 
   8384   case $host_os in
   8385   cygwin* | mingw* | pw32* | cegcc*)
   8386     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8387     # When not using gcc, we currently assume that we are using
   8388     # Microsoft Visual C++.
   8389     if test "$GCC" != yes; then
   8390       with_gnu_ld=no
   8391     fi
   8392     ;;
   8393   interix*)
   8394     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8395     with_gnu_ld=yes
   8396     ;;
   8397   openbsd*)
   8398     with_gnu_ld=no
   8399     ;;
   8400   esac
   8401 
   8402   ld_shlibs=yes
   8403   if test "$with_gnu_ld" = yes; then
   8404     # If archive_cmds runs LD, not CC, wlarc should be empty
   8405     wlarc='${wl}'
   8406 
   8407     # Set some defaults for GNU ld with shared library support. These
   8408     # are reset later if shared libraries are not supported. Putting them
   8409     # here allows them to be overridden if necessary.
   8410     runpath_var=LD_RUN_PATH
   8411     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8412     export_dynamic_flag_spec='${wl}--export-dynamic'
   8413     # ancient GNU ld didn't support --whole-archive et. al.
   8414     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8415       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8416     else
   8417       whole_archive_flag_spec=
   8418     fi
   8419     supports_anon_versioning=no
   8420     case `$LD -v 2>&1` in
   8421       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8422       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8423       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8424       *\ 2.11.*) ;; # other 2.11 versions
   8425       *) supports_anon_versioning=yes ;;
   8426     esac
   8427 
   8428     # See if GNU ld supports shared libraries.
   8429     case $host_os in
   8430     aix[3-9]*)
   8431       # On AIX/PPC, the GNU linker is very broken
   8432       if test "$host_cpu" != ia64; then
   8433 	ld_shlibs=no
   8434 	cat <<_LT_EOF 1>&2
   8435 
   8436 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8437 *** to be unable to reliably create shared libraries on AIX.
   8438 *** Therefore, libtool is disabling shared libraries support.  If you
   8439 *** really care for shared libraries, you may want to modify your PATH
   8440 *** so that a non-GNU linker is found, and then restart.
   8441 
   8442 _LT_EOF
   8443       fi
   8444       ;;
   8445 
   8446     amigaos*)
   8447       case $host_cpu in
   8448       powerpc)
   8449             # see comment about AmigaOS4 .so support
   8450             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8451             archive_expsym_cmds=''
   8452         ;;
   8453       m68k)
   8454             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)'
   8455             hardcode_libdir_flag_spec='-L$libdir'
   8456             hardcode_minus_L=yes
   8457         ;;
   8458       esac
   8459       ;;
   8460 
   8461     beos*)
   8462       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8463 	allow_undefined_flag=unsupported
   8464 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8465 	# support --undefined.  This deserves some investigation.  FIXME
   8466 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8467       else
   8468 	ld_shlibs=no
   8469       fi
   8470       ;;
   8471 
   8472     cygwin* | mingw* | pw32* | cegcc*)
   8473       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8474       # as there is no search path for DLLs.
   8475       hardcode_libdir_flag_spec='-L$libdir'
   8476       allow_undefined_flag=unsupported
   8477       always_export_symbols=no
   8478       enable_shared_with_static_runtimes=yes
   8479       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8480 
   8481       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8482         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8483 	# If the export-symbols file already is a .def file (1st line
   8484 	# is EXPORTS), use it as is; otherwise, prepend...
   8485 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8486 	  cp $export_symbols $output_objdir/$soname.def;
   8487 	else
   8488 	  echo EXPORTS > $output_objdir/$soname.def;
   8489 	  cat $export_symbols >> $output_objdir/$soname.def;
   8490 	fi~
   8491 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8492       else
   8493 	ld_shlibs=no
   8494       fi
   8495       ;;
   8496 
   8497     interix[3-9]*)
   8498       hardcode_direct=no
   8499       hardcode_shlibpath_var=no
   8500       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8501       export_dynamic_flag_spec='${wl}-E'
   8502       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8503       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8504       # default) and relocated if they conflict, which is a slow very memory
   8505       # consuming and fragmenting process.  To avoid this, we pick a random,
   8506       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8507       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8508       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8509       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'
   8510       ;;
   8511 
   8512     gnu* | linux* | tpf* | k*bsd*-gnu)
   8513       tmp_diet=no
   8514       if test "$host_os" = linux-dietlibc; then
   8515 	case $cc_basename in
   8516 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8517 	esac
   8518       fi
   8519       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8520 	 && test "$tmp_diet" = no
   8521       then
   8522 	tmp_addflag=
   8523 	tmp_sharedflag='-shared'
   8524 	case $cc_basename,$host_cpu in
   8525         pgcc*)				# Portland Group C compiler
   8526 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8527 	  tmp_addflag=' $pic_flag'
   8528 	  ;;
   8529 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8530 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8531 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8532 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8533 	  tmp_addflag=' -i_dynamic' ;;
   8534 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8535 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8536 	ifc* | ifort*)			# Intel Fortran compiler
   8537 	  tmp_addflag=' -nofor_main' ;;
   8538 	lf95*)				# Lahey Fortran 8.1
   8539 	  whole_archive_flag_spec=
   8540 	  tmp_sharedflag='--shared' ;;
   8541 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8542 	  tmp_sharedflag='-qmkshrobj'
   8543 	  tmp_addflag= ;;
   8544 	esac
   8545 	case `$CC -V 2>&1 | sed 5q` in
   8546 	*Sun\ C*)			# Sun C 5.9
   8547 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8548 	  compiler_needs_object=yes
   8549 	  tmp_sharedflag='-G' ;;
   8550 	*Sun\ F*)			# Sun Fortran 8.3
   8551 	  tmp_sharedflag='-G' ;;
   8552 	esac
   8553 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8554 
   8555         if test "x$supports_anon_versioning" = xyes; then
   8556           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8557 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8558 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8559 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8560         fi
   8561 
   8562 	case $cc_basename in
   8563 	xlf*)
   8564 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8565 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8566 	  hardcode_libdir_flag_spec=
   8567 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8568 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8569 	  if test "x$supports_anon_versioning" = xyes; then
   8570 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8571 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8572 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8573 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8574 	  fi
   8575 	  ;;
   8576 	esac
   8577       else
   8578         ld_shlibs=no
   8579       fi
   8580       ;;
   8581 
   8582     netbsd*)
   8583       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8584 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8585 	wlarc=
   8586       else
   8587 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8588 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8589       fi
   8590       ;;
   8591 
   8592     solaris*)
   8593       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8594 	ld_shlibs=no
   8595 	cat <<_LT_EOF 1>&2
   8596 
   8597 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8598 *** create shared libraries on Solaris systems.  Therefore, libtool
   8599 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8600 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8601 *** your PATH or compiler configuration so that the native linker is
   8602 *** used, and then restart.
   8603 
   8604 _LT_EOF
   8605       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8606 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8607 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8608       else
   8609 	ld_shlibs=no
   8610       fi
   8611       ;;
   8612 
   8613     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8614       case `$LD -v 2>&1` in
   8615         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8616 	ld_shlibs=no
   8617 	cat <<_LT_EOF 1>&2
   8618 
   8619 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8620 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8621 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8622 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8623 *** your PATH or compiler configuration so that the native linker is
   8624 *** used, and then restart.
   8625 
   8626 _LT_EOF
   8627 	;;
   8628 	*)
   8629 	  # For security reasons, it is highly recommended that you always
   8630 	  # use absolute paths for naming shared libraries, and exclude the
   8631 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8632 	  # requires that you compile everything twice, which is a pain.
   8633 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8634 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8635 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8636 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8637 	  else
   8638 	    ld_shlibs=no
   8639 	  fi
   8640 	;;
   8641       esac
   8642       ;;
   8643 
   8644     sunos4*)
   8645       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8646       wlarc=
   8647       hardcode_direct=yes
   8648       hardcode_shlibpath_var=no
   8649       ;;
   8650 
   8651     *)
   8652       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8653 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8654 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8655       else
   8656 	ld_shlibs=no
   8657       fi
   8658       ;;
   8659     esac
   8660 
   8661     if test "$ld_shlibs" = no; then
   8662       runpath_var=
   8663       hardcode_libdir_flag_spec=
   8664       export_dynamic_flag_spec=
   8665       whole_archive_flag_spec=
   8666     fi
   8667   else
   8668     # PORTME fill in a description of your system's linker (not GNU ld)
   8669     case $host_os in
   8670     aix3*)
   8671       allow_undefined_flag=unsupported
   8672       always_export_symbols=yes
   8673       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'
   8674       # Note: this linker hardcodes the directories in LIBPATH if there
   8675       # are no directories specified by -L.
   8676       hardcode_minus_L=yes
   8677       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8678 	# Neither direct hardcoding nor static linking is supported with a
   8679 	# broken collect2.
   8680 	hardcode_direct=unsupported
   8681       fi
   8682       ;;
   8683 
   8684     aix[4-9]*)
   8685       if test "$host_cpu" = ia64; then
   8686 	# On IA64, the linker does run time linking by default, so we don't
   8687 	# have to do anything special.
   8688 	aix_use_runtimelinking=no
   8689 	exp_sym_flag='-Bexport'
   8690 	no_entry_flag=""
   8691       else
   8692 	# If we're using GNU nm, then we don't want the "-C" option.
   8693 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8694 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8695 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8696 	else
   8697 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8698 	fi
   8699 	aix_use_runtimelinking=no
   8700 
   8701 	# Test if we are trying to use run time linking or normal
   8702 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8703 	# need to do runtime linking.
   8704 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8705 	  for ld_flag in $LDFLAGS; do
   8706 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8707 	    aix_use_runtimelinking=yes
   8708 	    break
   8709 	  fi
   8710 	  done
   8711 	  ;;
   8712 	esac
   8713 
   8714 	exp_sym_flag='-bexport'
   8715 	no_entry_flag='-bnoentry'
   8716       fi
   8717 
   8718       # When large executables or shared objects are built, AIX ld can
   8719       # have problems creating the table of contents.  If linking a library
   8720       # or program results in "error TOC overflow" add -mminimal-toc to
   8721       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8722       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8723 
   8724       archive_cmds=''
   8725       hardcode_direct=yes
   8726       hardcode_direct_absolute=yes
   8727       hardcode_libdir_separator=':'
   8728       link_all_deplibs=yes
   8729       file_list_spec='${wl}-f,'
   8730 
   8731       if test "$GCC" = yes; then
   8732 	case $host_os in aix4.[012]|aix4.[012].*)
   8733 	# We only want to do this on AIX 4.2 and lower, the check
   8734 	# below for broken collect2 doesn't work under 4.3+
   8735 	  collect2name=`${CC} -print-prog-name=collect2`
   8736 	  if test -f "$collect2name" &&
   8737 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8738 	  then
   8739 	  # We have reworked collect2
   8740 	  :
   8741 	  else
   8742 	  # We have old collect2
   8743 	  hardcode_direct=unsupported
   8744 	  # It fails to find uninstalled libraries when the uninstalled
   8745 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8746 	  # to unsupported forces relinking
   8747 	  hardcode_minus_L=yes
   8748 	  hardcode_libdir_flag_spec='-L$libdir'
   8749 	  hardcode_libdir_separator=
   8750 	  fi
   8751 	  ;;
   8752 	esac
   8753 	shared_flag='-shared'
   8754 	if test "$aix_use_runtimelinking" = yes; then
   8755 	  shared_flag="$shared_flag "'${wl}-G'
   8756 	fi
   8757       else
   8758 	# not using gcc
   8759 	if test "$host_cpu" = ia64; then
   8760 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8761 	# chokes on -Wl,-G. The following line is correct:
   8762 	  shared_flag='-G'
   8763 	else
   8764 	  if test "$aix_use_runtimelinking" = yes; then
   8765 	    shared_flag='${wl}-G'
   8766 	  else
   8767 	    shared_flag='${wl}-bM:SRE'
   8768 	  fi
   8769 	fi
   8770       fi
   8771 
   8772       export_dynamic_flag_spec='${wl}-bexpall'
   8773       # It seems that -bexpall does not export symbols beginning with
   8774       # underscore (_), so it is better to generate a list of symbols to export.
   8775       always_export_symbols=yes
   8776       if test "$aix_use_runtimelinking" = yes; then
   8777 	# Warning - without using the other runtime loading flags (-brtl),
   8778 	# -berok will link without error, but may produce a broken library.
   8779 	allow_undefined_flag='-berok'
   8780         # Determine the default libpath from the value encoded in an
   8781         # empty executable.
   8782         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8783 /* end confdefs.h.  */
   8784 
   8785 int
   8786 main ()
   8787 {
   8788 
   8789   ;
   8790   return 0;
   8791 }
   8792 _ACEOF
   8793 if ac_fn_c_try_link "$LINENO"; then :
   8794 
   8795 lt_aix_libpath_sed='
   8796     /Import File Strings/,/^$/ {
   8797 	/^0/ {
   8798 	    s/^0  *\(.*\)$/\1/
   8799 	    p
   8800 	}
   8801     }'
   8802 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8803 # Check for a 64-bit object if we didn't find anything.
   8804 if test -z "$aix_libpath"; then
   8805   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8806 fi
   8807 fi
   8808 rm -f core conftest.err conftest.$ac_objext \
   8809     conftest$ac_exeext conftest.$ac_ext
   8810 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8811 
   8812         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8813         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8814       else
   8815 	if test "$host_cpu" = ia64; then
   8816 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8817 	  allow_undefined_flag="-z nodefs"
   8818 	  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"
   8819 	else
   8820 	 # Determine the default libpath from the value encoded in an
   8821 	 # empty executable.
   8822 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8823 /* end confdefs.h.  */
   8824 
   8825 int
   8826 main ()
   8827 {
   8828 
   8829   ;
   8830   return 0;
   8831 }
   8832 _ACEOF
   8833 if ac_fn_c_try_link "$LINENO"; then :
   8834 
   8835 lt_aix_libpath_sed='
   8836     /Import File Strings/,/^$/ {
   8837 	/^0/ {
   8838 	    s/^0  *\(.*\)$/\1/
   8839 	    p
   8840 	}
   8841     }'
   8842 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8843 # Check for a 64-bit object if we didn't find anything.
   8844 if test -z "$aix_libpath"; then
   8845   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8846 fi
   8847 fi
   8848 rm -f core conftest.err conftest.$ac_objext \
   8849     conftest$ac_exeext conftest.$ac_ext
   8850 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8851 
   8852 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8853 	  # Warning - without using the other run time loading flags,
   8854 	  # -berok will link without error, but may produce a broken library.
   8855 	  no_undefined_flag=' ${wl}-bernotok'
   8856 	  allow_undefined_flag=' ${wl}-berok'
   8857 	  # Exported symbols can be pulled into shared objects from archives
   8858 	  whole_archive_flag_spec='$convenience'
   8859 	  archive_cmds_need_lc=yes
   8860 	  # This is similar to how AIX traditionally builds its shared libraries.
   8861 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   8862 	fi
   8863       fi
   8864       ;;
   8865 
   8866     amigaos*)
   8867       case $host_cpu in
   8868       powerpc)
   8869             # see comment about AmigaOS4 .so support
   8870             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8871             archive_expsym_cmds=''
   8872         ;;
   8873       m68k)
   8874             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)'
   8875             hardcode_libdir_flag_spec='-L$libdir'
   8876             hardcode_minus_L=yes
   8877         ;;
   8878       esac
   8879       ;;
   8880 
   8881     bsdi[45]*)
   8882       export_dynamic_flag_spec=-rdynamic
   8883       ;;
   8884 
   8885     cygwin* | mingw* | pw32* | cegcc*)
   8886       # When not using gcc, we currently assume that we are using
   8887       # Microsoft Visual C++.
   8888       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8889       # no search path for DLLs.
   8890       hardcode_libdir_flag_spec=' '
   8891       allow_undefined_flag=unsupported
   8892       # Tell ltmain to make .lib files, not .a files.
   8893       libext=lib
   8894       # Tell ltmain to make .dll files, not .so files.
   8895       shrext_cmds=".dll"
   8896       # FIXME: Setting linknames here is a bad hack.
   8897       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8898       # The linker will automatically build a .lib file if we build a DLL.
   8899       old_archive_from_new_cmds='true'
   8900       # FIXME: Should let the user specify the lib program.
   8901       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8902       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8903       enable_shared_with_static_runtimes=yes
   8904       ;;
   8905 
   8906     darwin* | rhapsody*)
   8907 
   8908 
   8909   archive_cmds_need_lc=no
   8910   hardcode_direct=no
   8911   hardcode_automatic=yes
   8912   hardcode_shlibpath_var=unsupported
   8913   whole_archive_flag_spec=''
   8914   link_all_deplibs=yes
   8915   allow_undefined_flag="$_lt_dar_allow_undefined"
   8916   case $cc_basename in
   8917      ifort*) _lt_dar_can_shared=yes ;;
   8918      *) _lt_dar_can_shared=$GCC ;;
   8919   esac
   8920   if test "$_lt_dar_can_shared" = "yes"; then
   8921     output_verbose_link_cmd=echo
   8922     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8923     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8924     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}"
   8925     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}"
   8926 
   8927   else
   8928   ld_shlibs=no
   8929   fi
   8930 
   8931       ;;
   8932 
   8933     dgux*)
   8934       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8935       hardcode_libdir_flag_spec='-L$libdir'
   8936       hardcode_shlibpath_var=no
   8937       ;;
   8938 
   8939     freebsd1*)
   8940       ld_shlibs=no
   8941       ;;
   8942 
   8943     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8944     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8945     # does not break anything, and helps significantly (at the cost of a little
   8946     # extra space).
   8947     freebsd2.2*)
   8948       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8949       hardcode_libdir_flag_spec='-R$libdir'
   8950       hardcode_direct=yes
   8951       hardcode_shlibpath_var=no
   8952       ;;
   8953 
   8954     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8955     freebsd2*)
   8956       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8957       hardcode_direct=yes
   8958       hardcode_minus_L=yes
   8959       hardcode_shlibpath_var=no
   8960       ;;
   8961 
   8962     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8963     freebsd* | dragonfly*)
   8964       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8965       hardcode_libdir_flag_spec='-R$libdir'
   8966       hardcode_direct=yes
   8967       hardcode_shlibpath_var=no
   8968       ;;
   8969 
   8970     hpux9*)
   8971       if test "$GCC" = yes; then
   8972 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8973       else
   8974 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8975       fi
   8976       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8977       hardcode_libdir_separator=:
   8978       hardcode_direct=yes
   8979 
   8980       # hardcode_minus_L: Not really in the search PATH,
   8981       # but as the default location of the library.
   8982       hardcode_minus_L=yes
   8983       export_dynamic_flag_spec='${wl}-E'
   8984       ;;
   8985 
   8986     hpux10*)
   8987       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8988 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8989       else
   8990 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8991       fi
   8992       if test "$with_gnu_ld" = no; then
   8993 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8994 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8995 	hardcode_libdir_separator=:
   8996 	hardcode_direct=yes
   8997 	hardcode_direct_absolute=yes
   8998 	export_dynamic_flag_spec='${wl}-E'
   8999 	# hardcode_minus_L: Not really in the search PATH,
   9000 	# but as the default location of the library.
   9001 	hardcode_minus_L=yes
   9002       fi
   9003       ;;
   9004 
   9005     hpux11*)
   9006       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9007 	case $host_cpu in
   9008 	hppa*64*)
   9009 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9010 	  ;;
   9011 	ia64*)
   9012 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9013 	  ;;
   9014 	*)
   9015 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9016 	  ;;
   9017 	esac
   9018       else
   9019 	case $host_cpu in
   9020 	hppa*64*)
   9021 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9022 	  ;;
   9023 	ia64*)
   9024 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9025 	  ;;
   9026 	*)
   9027 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9028 	  ;;
   9029 	esac
   9030       fi
   9031       if test "$with_gnu_ld" = no; then
   9032 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9033 	hardcode_libdir_separator=:
   9034 
   9035 	case $host_cpu in
   9036 	hppa*64*|ia64*)
   9037 	  hardcode_direct=no
   9038 	  hardcode_shlibpath_var=no
   9039 	  ;;
   9040 	*)
   9041 	  hardcode_direct=yes
   9042 	  hardcode_direct_absolute=yes
   9043 	  export_dynamic_flag_spec='${wl}-E'
   9044 
   9045 	  # hardcode_minus_L: Not really in the search PATH,
   9046 	  # but as the default location of the library.
   9047 	  hardcode_minus_L=yes
   9048 	  ;;
   9049 	esac
   9050       fi
   9051       ;;
   9052 
   9053     irix5* | irix6* | nonstopux*)
   9054       if test "$GCC" = yes; then
   9055 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9056 	# Try to use the -exported_symbol ld option, if it does not
   9057 	# work, assume that -exports_file does not work either and
   9058 	# implicitly export all symbols.
   9059         save_LDFLAGS="$LDFLAGS"
   9060         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9061         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9062 /* end confdefs.h.  */
   9063 int foo(void) {}
   9064 _ACEOF
   9065 if ac_fn_c_try_link "$LINENO"; then :
   9066   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9067 
   9068 fi
   9069 rm -f core conftest.err conftest.$ac_objext \
   9070     conftest$ac_exeext conftest.$ac_ext
   9071         LDFLAGS="$save_LDFLAGS"
   9072       else
   9073 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9074 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9075       fi
   9076       archive_cmds_need_lc='no'
   9077       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9078       hardcode_libdir_separator=:
   9079       inherit_rpath=yes
   9080       link_all_deplibs=yes
   9081       ;;
   9082 
   9083     netbsd*)
   9084       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9085 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9086       else
   9087 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9088       fi
   9089       hardcode_libdir_flag_spec='-R$libdir'
   9090       hardcode_direct=yes
   9091       hardcode_shlibpath_var=no
   9092       ;;
   9093 
   9094     newsos6)
   9095       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9096       hardcode_direct=yes
   9097       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9098       hardcode_libdir_separator=:
   9099       hardcode_shlibpath_var=no
   9100       ;;
   9101 
   9102     *nto* | *qnx*)
   9103       ;;
   9104 
   9105     openbsd*)
   9106       if test -f /usr/libexec/ld.so; then
   9107 	hardcode_direct=yes
   9108 	hardcode_shlibpath_var=no
   9109 	hardcode_direct_absolute=yes
   9110 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9111 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9112 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9113 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9114 	  export_dynamic_flag_spec='${wl}-E'
   9115 	else
   9116 	  case $host_os in
   9117 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9118 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9119 	     hardcode_libdir_flag_spec='-R$libdir'
   9120 	     ;;
   9121 	   *)
   9122 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9123 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9124 	     ;;
   9125 	  esac
   9126 	fi
   9127       else
   9128 	ld_shlibs=no
   9129       fi
   9130       ;;
   9131 
   9132     os2*)
   9133       hardcode_libdir_flag_spec='-L$libdir'
   9134       hardcode_minus_L=yes
   9135       allow_undefined_flag=unsupported
   9136       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9137       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9138       ;;
   9139 
   9140     osf3*)
   9141       if test "$GCC" = yes; then
   9142 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9143 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9144       else
   9145 	allow_undefined_flag=' -expect_unresolved \*'
   9146 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9147       fi
   9148       archive_cmds_need_lc='no'
   9149       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9150       hardcode_libdir_separator=:
   9151       ;;
   9152 
   9153     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9154       if test "$GCC" = yes; then
   9155 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9156 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9157 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9158       else
   9159 	allow_undefined_flag=' -expect_unresolved \*'
   9160 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9161 	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~
   9162 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9163 
   9164 	# Both c and cxx compiler support -rpath directly
   9165 	hardcode_libdir_flag_spec='-rpath $libdir'
   9166       fi
   9167       archive_cmds_need_lc='no'
   9168       hardcode_libdir_separator=:
   9169       ;;
   9170 
   9171     solaris*)
   9172       no_undefined_flag=' -z defs'
   9173       if test "$GCC" = yes; then
   9174 	wlarc='${wl}'
   9175 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9176 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9177 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9178       else
   9179 	case `$CC -V 2>&1` in
   9180 	*"Compilers 5.0"*)
   9181 	  wlarc=''
   9182 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9183 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9184 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9185 	  ;;
   9186 	*)
   9187 	  wlarc='${wl}'
   9188 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9189 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9190 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9191 	  ;;
   9192 	esac
   9193       fi
   9194       hardcode_libdir_flag_spec='-R$libdir'
   9195       hardcode_shlibpath_var=no
   9196       case $host_os in
   9197       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9198       *)
   9199 	# The compiler driver will combine and reorder linker options,
   9200 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9201 	# but is careful enough not to reorder.
   9202 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9203 	if test "$GCC" = yes; then
   9204 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9205 	else
   9206 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9207 	fi
   9208 	;;
   9209       esac
   9210       link_all_deplibs=yes
   9211       ;;
   9212 
   9213     sunos4*)
   9214       if test "x$host_vendor" = xsequent; then
   9215 	# Use $CC to link under sequent, because it throws in some extra .o
   9216 	# files that make .init and .fini sections work.
   9217 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9218       else
   9219 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9220       fi
   9221       hardcode_libdir_flag_spec='-L$libdir'
   9222       hardcode_direct=yes
   9223       hardcode_minus_L=yes
   9224       hardcode_shlibpath_var=no
   9225       ;;
   9226 
   9227     sysv4)
   9228       case $host_vendor in
   9229 	sni)
   9230 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9231 	  hardcode_direct=yes # is this really true???
   9232 	;;
   9233 	siemens)
   9234 	  ## LD is ld it makes a PLAMLIB
   9235 	  ## CC just makes a GrossModule.
   9236 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9237 	  reload_cmds='$CC -r -o $output$reload_objs'
   9238 	  hardcode_direct=no
   9239         ;;
   9240 	motorola)
   9241 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9242 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9243 	;;
   9244       esac
   9245       runpath_var='LD_RUN_PATH'
   9246       hardcode_shlibpath_var=no
   9247       ;;
   9248 
   9249     sysv4.3*)
   9250       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9251       hardcode_shlibpath_var=no
   9252       export_dynamic_flag_spec='-Bexport'
   9253       ;;
   9254 
   9255     sysv4*MP*)
   9256       if test -d /usr/nec; then
   9257 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9258 	hardcode_shlibpath_var=no
   9259 	runpath_var=LD_RUN_PATH
   9260 	hardcode_runpath_var=yes
   9261 	ld_shlibs=yes
   9262       fi
   9263       ;;
   9264 
   9265     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9266       no_undefined_flag='${wl}-z,text'
   9267       archive_cmds_need_lc=no
   9268       hardcode_shlibpath_var=no
   9269       runpath_var='LD_RUN_PATH'
   9270 
   9271       if test "$GCC" = yes; then
   9272 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9273 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9274       else
   9275 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9276 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9277       fi
   9278       ;;
   9279 
   9280     sysv5* | sco3.2v5* | sco5v6*)
   9281       # Note: We can NOT use -z defs as we might desire, because we do not
   9282       # link with -lc, and that would cause any symbols used from libc to
   9283       # always be unresolved, which means just about no library would
   9284       # ever link correctly.  If we're not using GNU ld we use -z text
   9285       # though, which does catch some bad symbols but isn't as heavy-handed
   9286       # as -z defs.
   9287       no_undefined_flag='${wl}-z,text'
   9288       allow_undefined_flag='${wl}-z,nodefs'
   9289       archive_cmds_need_lc=no
   9290       hardcode_shlibpath_var=no
   9291       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9292       hardcode_libdir_separator=':'
   9293       link_all_deplibs=yes
   9294       export_dynamic_flag_spec='${wl}-Bexport'
   9295       runpath_var='LD_RUN_PATH'
   9296 
   9297       if test "$GCC" = yes; then
   9298 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9299 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9300       else
   9301 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9302 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9303       fi
   9304       ;;
   9305 
   9306     uts4*)
   9307       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9308       hardcode_libdir_flag_spec='-L$libdir'
   9309       hardcode_shlibpath_var=no
   9310       ;;
   9311 
   9312     *)
   9313       ld_shlibs=no
   9314       ;;
   9315     esac
   9316 
   9317     if test x$host_vendor = xsni; then
   9318       case $host in
   9319       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9320 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9321 	;;
   9322       esac
   9323     fi
   9324   fi
   9325 
   9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9327 $as_echo "$ld_shlibs" >&6; }
   9328 test "$ld_shlibs" = no && can_build_shared=no
   9329 
   9330 with_gnu_ld=$with_gnu_ld
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 #
   9347 # Do we need to explicitly link libc?
   9348 #
   9349 case "x$archive_cmds_need_lc" in
   9350 x|xyes)
   9351   # Assume -lc should be added
   9352   archive_cmds_need_lc=yes
   9353 
   9354   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9355     case $archive_cmds in
   9356     *'~'*)
   9357       # FIXME: we may have to deal with multi-command sequences.
   9358       ;;
   9359     '$CC '*)
   9360       # Test whether the compiler implicitly links with -lc since on some
   9361       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9362       # to ld, don't add -lc before -lgcc.
   9363       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9364 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9365       $RM conftest*
   9366       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9367 
   9368       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9369   (eval $ac_compile) 2>&5
   9370   ac_status=$?
   9371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9372   test $ac_status = 0; } 2>conftest.err; then
   9373         soname=conftest
   9374         lib=conftest
   9375         libobjs=conftest.$ac_objext
   9376         deplibs=
   9377         wl=$lt_prog_compiler_wl
   9378 	pic_flag=$lt_prog_compiler_pic
   9379         compiler_flags=-v
   9380         linker_flags=-v
   9381         verstring=
   9382         output_objdir=.
   9383         libname=conftest
   9384         lt_save_allow_undefined_flag=$allow_undefined_flag
   9385         allow_undefined_flag=
   9386         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9387   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9388   ac_status=$?
   9389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9390   test $ac_status = 0; }
   9391         then
   9392 	  archive_cmds_need_lc=no
   9393         else
   9394 	  archive_cmds_need_lc=yes
   9395         fi
   9396         allow_undefined_flag=$lt_save_allow_undefined_flag
   9397       else
   9398         cat conftest.err 1>&5
   9399       fi
   9400       $RM conftest*
   9401       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9402 $as_echo "$archive_cmds_need_lc" >&6; }
   9403       ;;
   9404     esac
   9405   fi
   9406   ;;
   9407 esac
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   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 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9566 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9567 
   9568 if test "$GCC" = yes; then
   9569   case $host_os in
   9570     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9571     *) lt_awk_arg="/^libraries:/" ;;
   9572   esac
   9573   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9574   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9575     # if the path contains ";" then we assume it to be the separator
   9576     # otherwise default to the standard path separator (i.e. ":") - it is
   9577     # assumed that no part of a normal pathname contains ";" but that should
   9578     # okay in the real world where ";" in dirpaths is itself problematic.
   9579     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9580   else
   9581     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9582   fi
   9583   # Ok, now we have the path, separated by spaces, we can step through it
   9584   # and add multilib dir if necessary.
   9585   lt_tmp_lt_search_path_spec=
   9586   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9587   for lt_sys_path in $lt_search_path_spec; do
   9588     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9589       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9590     else
   9591       test -d "$lt_sys_path" && \
   9592 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9593     fi
   9594   done
   9595   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9596 BEGIN {RS=" "; FS="/|\n";} {
   9597   lt_foo="";
   9598   lt_count=0;
   9599   for (lt_i = NF; lt_i > 0; lt_i--) {
   9600     if ($lt_i != "" && $lt_i != ".") {
   9601       if ($lt_i == "..") {
   9602         lt_count++;
   9603       } else {
   9604         if (lt_count == 0) {
   9605           lt_foo="/" $lt_i lt_foo;
   9606         } else {
   9607           lt_count--;
   9608         }
   9609       }
   9610     }
   9611   }
   9612   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9613   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9614 }'`
   9615   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9616 else
   9617   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9618 fi
   9619 library_names_spec=
   9620 libname_spec='lib$name'
   9621 soname_spec=
   9622 shrext_cmds=".so"
   9623 postinstall_cmds=
   9624 postuninstall_cmds=
   9625 finish_cmds=
   9626 finish_eval=
   9627 shlibpath_var=
   9628 shlibpath_overrides_runpath=unknown
   9629 version_type=none
   9630 dynamic_linker="$host_os ld.so"
   9631 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9632 need_lib_prefix=unknown
   9633 hardcode_into_libs=no
   9634 
   9635 # when you set need_version to no, make sure it does not cause -set_version
   9636 # flags to be left without arguments
   9637 need_version=unknown
   9638 
   9639 case $host_os in
   9640 aix3*)
   9641   version_type=linux
   9642   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9643   shlibpath_var=LIBPATH
   9644 
   9645   # AIX 3 has no versioning support, so we append a major version to the name.
   9646   soname_spec='${libname}${release}${shared_ext}$major'
   9647   ;;
   9648 
   9649 aix[4-9]*)
   9650   version_type=linux
   9651   need_lib_prefix=no
   9652   need_version=no
   9653   hardcode_into_libs=yes
   9654   if test "$host_cpu" = ia64; then
   9655     # AIX 5 supports IA64
   9656     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9657     shlibpath_var=LD_LIBRARY_PATH
   9658   else
   9659     # With GCC up to 2.95.x, collect2 would create an import file
   9660     # for dependence libraries.  The import file would start with
   9661     # the line `#! .'.  This would cause the generated library to
   9662     # depend on `.', always an invalid library.  This was fixed in
   9663     # development snapshots of GCC prior to 3.0.
   9664     case $host_os in
   9665       aix4 | aix4.[01] | aix4.[01].*)
   9666       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9667 	   echo ' yes '
   9668 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9669 	:
   9670       else
   9671 	can_build_shared=no
   9672       fi
   9673       ;;
   9674     esac
   9675     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9676     # soname into executable. Probably we can add versioning support to
   9677     # collect2, so additional links can be useful in future.
   9678     if test "$aix_use_runtimelinking" = yes; then
   9679       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9680       # instead of lib<name>.a to let people know that these are not
   9681       # typical AIX shared libraries.
   9682       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9683     else
   9684       # We preserve .a as extension for shared libraries through AIX4.2
   9685       # and later when we are not doing run time linking.
   9686       library_names_spec='${libname}${release}.a $libname.a'
   9687       soname_spec='${libname}${release}${shared_ext}$major'
   9688     fi
   9689     shlibpath_var=LIBPATH
   9690   fi
   9691   ;;
   9692 
   9693 amigaos*)
   9694   case $host_cpu in
   9695   powerpc)
   9696     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9697     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9698     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9699     ;;
   9700   m68k)
   9701     library_names_spec='$libname.ixlibrary $libname.a'
   9702     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9703     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   9704     ;;
   9705   esac
   9706   ;;
   9707 
   9708 beos*)
   9709   library_names_spec='${libname}${shared_ext}'
   9710   dynamic_linker="$host_os ld.so"
   9711   shlibpath_var=LIBRARY_PATH
   9712   ;;
   9713 
   9714 bsdi[45]*)
   9715   version_type=linux
   9716   need_version=no
   9717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9718   soname_spec='${libname}${release}${shared_ext}$major'
   9719   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9720   shlibpath_var=LD_LIBRARY_PATH
   9721   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9722   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9723   # the default ld.so.conf also contains /usr/contrib/lib and
   9724   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9725   # libtool to hard-code these into programs
   9726   ;;
   9727 
   9728 cygwin* | mingw* | pw32* | cegcc*)
   9729   version_type=windows
   9730   shrext_cmds=".dll"
   9731   need_version=no
   9732   need_lib_prefix=no
   9733 
   9734   case $GCC,$host_os in
   9735   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9736     library_names_spec='$libname.dll.a'
   9737     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9738     postinstall_cmds='base_file=`basename \${file}`~
   9739       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9740       dldir=$destdir/`dirname \$dlpath`~
   9741       test -d \$dldir || mkdir -p \$dldir~
   9742       $install_prog $dir/$dlname \$dldir/$dlname~
   9743       chmod a+x \$dldir/$dlname~
   9744       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9745         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9746       fi'
   9747     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9748       dlpath=$dir/\$dldll~
   9749        $RM \$dlpath'
   9750     shlibpath_overrides_runpath=yes
   9751 
   9752     case $host_os in
   9753     cygwin*)
   9754       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9755       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9756       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9757       ;;
   9758     mingw* | cegcc*)
   9759       # MinGW DLLs use traditional 'lib' prefix
   9760       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9761       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9762       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9763         # It is most probably a Windows format PATH printed by
   9764         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9765         # path with ; separators, and with drive letters. We can handle the
   9766         # drive letters (cygwin fileutils understands them), so leave them,
   9767         # especially as we might pass files found there to a mingw objdump,
   9768         # which wouldn't understand a cygwinified path. Ahh.
   9769         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9770       else
   9771         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9772       fi
   9773       ;;
   9774     pw32*)
   9775       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9776       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9777       ;;
   9778     esac
   9779     ;;
   9780 
   9781   *)
   9782     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9783     ;;
   9784   esac
   9785   dynamic_linker='Win32 ld.exe'
   9786   # FIXME: first we should search . and the directory the executable is in
   9787   shlibpath_var=PATH
   9788   ;;
   9789 
   9790 darwin* | rhapsody*)
   9791   dynamic_linker="$host_os dyld"
   9792   version_type=darwin
   9793   need_lib_prefix=no
   9794   need_version=no
   9795   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9796   soname_spec='${libname}${release}${major}$shared_ext'
   9797   shlibpath_overrides_runpath=yes
   9798   shlibpath_var=DYLD_LIBRARY_PATH
   9799   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9800 
   9801   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9802   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9803   ;;
   9804 
   9805 dgux*)
   9806   version_type=linux
   9807   need_lib_prefix=no
   9808   need_version=no
   9809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9810   soname_spec='${libname}${release}${shared_ext}$major'
   9811   shlibpath_var=LD_LIBRARY_PATH
   9812   ;;
   9813 
   9814 freebsd1*)
   9815   dynamic_linker=no
   9816   ;;
   9817 
   9818 freebsd* | dragonfly*)
   9819   # DragonFly does not have aout.  When/if they implement a new
   9820   # versioning mechanism, adjust this.
   9821   if test -x /usr/bin/objformat; then
   9822     objformat=`/usr/bin/objformat`
   9823   else
   9824     case $host_os in
   9825     freebsd[123]*) objformat=aout ;;
   9826     *) objformat=elf ;;
   9827     esac
   9828   fi
   9829   version_type=freebsd-$objformat
   9830   case $version_type in
   9831     freebsd-elf*)
   9832       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9833       need_version=no
   9834       need_lib_prefix=no
   9835       ;;
   9836     freebsd-*)
   9837       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9838       need_version=yes
   9839       ;;
   9840   esac
   9841   shlibpath_var=LD_LIBRARY_PATH
   9842   case $host_os in
   9843   freebsd2*)
   9844     shlibpath_overrides_runpath=yes
   9845     ;;
   9846   freebsd3.[01]* | freebsdelf3.[01]*)
   9847     shlibpath_overrides_runpath=yes
   9848     hardcode_into_libs=yes
   9849     ;;
   9850   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9851   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9852     shlibpath_overrides_runpath=no
   9853     hardcode_into_libs=yes
   9854     ;;
   9855   *) # from 4.6 on, and DragonFly
   9856     shlibpath_overrides_runpath=yes
   9857     hardcode_into_libs=yes
   9858     ;;
   9859   esac
   9860   ;;
   9861 
   9862 gnu*)
   9863   version_type=linux
   9864   need_lib_prefix=no
   9865   need_version=no
   9866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9867   soname_spec='${libname}${release}${shared_ext}$major'
   9868   shlibpath_var=LD_LIBRARY_PATH
   9869   hardcode_into_libs=yes
   9870   ;;
   9871 
   9872 hpux9* | hpux10* | hpux11*)
   9873   # Give a soname corresponding to the major version so that dld.sl refuses to
   9874   # link against other versions.
   9875   version_type=sunos
   9876   need_lib_prefix=no
   9877   need_version=no
   9878   case $host_cpu in
   9879   ia64*)
   9880     shrext_cmds='.so'
   9881     hardcode_into_libs=yes
   9882     dynamic_linker="$host_os dld.so"
   9883     shlibpath_var=LD_LIBRARY_PATH
   9884     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9885     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9886     soname_spec='${libname}${release}${shared_ext}$major'
   9887     if test "X$HPUX_IA64_MODE" = X32; then
   9888       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9889     else
   9890       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9891     fi
   9892     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9893     ;;
   9894   hppa*64*)
   9895     shrext_cmds='.sl'
   9896     hardcode_into_libs=yes
   9897     dynamic_linker="$host_os dld.sl"
   9898     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9899     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9900     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9901     soname_spec='${libname}${release}${shared_ext}$major'
   9902     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9903     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9904     ;;
   9905   *)
   9906     shrext_cmds='.sl'
   9907     dynamic_linker="$host_os dld.sl"
   9908     shlibpath_var=SHLIB_PATH
   9909     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9910     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9911     soname_spec='${libname}${release}${shared_ext}$major'
   9912     ;;
   9913   esac
   9914   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9915   postinstall_cmds='chmod 555 $lib'
   9916   ;;
   9917 
   9918 interix[3-9]*)
   9919   version_type=linux
   9920   need_lib_prefix=no
   9921   need_version=no
   9922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9923   soname_spec='${libname}${release}${shared_ext}$major'
   9924   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9925   shlibpath_var=LD_LIBRARY_PATH
   9926   shlibpath_overrides_runpath=no
   9927   hardcode_into_libs=yes
   9928   ;;
   9929 
   9930 irix5* | irix6* | nonstopux*)
   9931   case $host_os in
   9932     nonstopux*) version_type=nonstopux ;;
   9933     *)
   9934 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9935 		version_type=linux
   9936 	else
   9937 		version_type=irix
   9938 	fi ;;
   9939   esac
   9940   need_lib_prefix=no
   9941   need_version=no
   9942   soname_spec='${libname}${release}${shared_ext}$major'
   9943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9944   case $host_os in
   9945   irix5* | nonstopux*)
   9946     libsuff= shlibsuff=
   9947     ;;
   9948   *)
   9949     case $LD in # libtool.m4 will add one of these switches to LD
   9950     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9951       libsuff= shlibsuff= libmagic=32-bit;;
   9952     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9953       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9954     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9955       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9956     *) libsuff= shlibsuff= libmagic=never-match;;
   9957     esac
   9958     ;;
   9959   esac
   9960   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9961   shlibpath_overrides_runpath=no
   9962   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9963   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9964   hardcode_into_libs=yes
   9965   ;;
   9966 
   9967 # No shared lib support for Linux oldld, aout, or coff.
   9968 linux*oldld* | linux*aout* | linux*coff*)
   9969   dynamic_linker=no
   9970   ;;
   9971 
   9972 # This must be Linux ELF.
   9973 linux* | k*bsd*-gnu)
   9974   version_type=linux
   9975   need_lib_prefix=no
   9976   need_version=no
   9977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9978   soname_spec='${libname}${release}${shared_ext}$major'
   9979   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9980   shlibpath_var=LD_LIBRARY_PATH
   9981   shlibpath_overrides_runpath=no
   9982   # Some binutils ld are patched to set DT_RUNPATH
   9983   save_LDFLAGS=$LDFLAGS
   9984   save_libdir=$libdir
   9985   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9986        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9988 /* end confdefs.h.  */
   9989 
   9990 int
   9991 main ()
   9992 {
   9993 
   9994   ;
   9995   return 0;
   9996 }
   9997 _ACEOF
   9998 if ac_fn_c_try_link "$LINENO"; then :
   9999   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10000   shlibpath_overrides_runpath=yes
   10001 fi
   10002 fi
   10003 rm -f core conftest.err conftest.$ac_objext \
   10004     conftest$ac_exeext conftest.$ac_ext
   10005   LDFLAGS=$save_LDFLAGS
   10006   libdir=$save_libdir
   10007 
   10008   # This implies no fast_install, which is unacceptable.
   10009   # Some rework will be needed to allow for fast_install
   10010   # before this can be enabled.
   10011   hardcode_into_libs=yes
   10012 
   10013   # Append ld.so.conf contents to the search path
   10014   if test -f /etc/ld.so.conf; then
   10015     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;/^$/d' | tr '\n' ' '`
   10016     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10017   fi
   10018 
   10019   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10020   # powerpc, because MkLinux only supported shared libraries with the
   10021   # GNU dynamic linker.  Since this was broken with cross compilers,
   10022   # most powerpc-linux boxes support dynamic linking these days and
   10023   # people can always --disable-shared, the test was removed, and we
   10024   # assume the GNU/Linux dynamic linker is in use.
   10025   dynamic_linker='GNU/Linux ld.so'
   10026   ;;
   10027 
   10028 netbsd*)
   10029   version_type=sunos
   10030   need_lib_prefix=no
   10031   need_version=no
   10032   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10033     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10034     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10035     dynamic_linker='NetBSD (a.out) ld.so'
   10036   else
   10037     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10038     soname_spec='${libname}${release}${shared_ext}$major'
   10039     dynamic_linker='NetBSD ld.elf_so'
   10040   fi
   10041   shlibpath_var=LD_LIBRARY_PATH
   10042   shlibpath_overrides_runpath=yes
   10043   hardcode_into_libs=yes
   10044   ;;
   10045 
   10046 newsos6)
   10047   version_type=linux
   10048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10049   shlibpath_var=LD_LIBRARY_PATH
   10050   shlibpath_overrides_runpath=yes
   10051   ;;
   10052 
   10053 *nto* | *qnx*)
   10054   version_type=qnx
   10055   need_lib_prefix=no
   10056   need_version=no
   10057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10058   soname_spec='${libname}${release}${shared_ext}$major'
   10059   shlibpath_var=LD_LIBRARY_PATH
   10060   shlibpath_overrides_runpath=no
   10061   hardcode_into_libs=yes
   10062   dynamic_linker='ldqnx.so'
   10063   ;;
   10064 
   10065 openbsd*)
   10066   version_type=sunos
   10067   sys_lib_dlsearch_path_spec="/usr/lib"
   10068   need_lib_prefix=no
   10069   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10070   case $host_os in
   10071     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10072     *)				need_version=no  ;;
   10073   esac
   10074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10075   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10076   shlibpath_var=LD_LIBRARY_PATH
   10077   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10078     case $host_os in
   10079       openbsd2.[89] | openbsd2.[89].*)
   10080 	shlibpath_overrides_runpath=no
   10081 	;;
   10082       *)
   10083 	shlibpath_overrides_runpath=yes
   10084 	;;
   10085       esac
   10086   else
   10087     shlibpath_overrides_runpath=yes
   10088   fi
   10089   ;;
   10090 
   10091 os2*)
   10092   libname_spec='$name'
   10093   shrext_cmds=".dll"
   10094   need_lib_prefix=no
   10095   library_names_spec='$libname${shared_ext} $libname.a'
   10096   dynamic_linker='OS/2 ld.exe'
   10097   shlibpath_var=LIBPATH
   10098   ;;
   10099 
   10100 osf3* | osf4* | osf5*)
   10101   version_type=osf
   10102   need_lib_prefix=no
   10103   need_version=no
   10104   soname_spec='${libname}${release}${shared_ext}$major'
   10105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10106   shlibpath_var=LD_LIBRARY_PATH
   10107   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10108   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10109   ;;
   10110 
   10111 rdos*)
   10112   dynamic_linker=no
   10113   ;;
   10114 
   10115 solaris*)
   10116   version_type=linux
   10117   need_lib_prefix=no
   10118   need_version=no
   10119   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10120   soname_spec='${libname}${release}${shared_ext}$major'
   10121   shlibpath_var=LD_LIBRARY_PATH
   10122   shlibpath_overrides_runpath=yes
   10123   hardcode_into_libs=yes
   10124   # ldd complains unless libraries are executable
   10125   postinstall_cmds='chmod +x $lib'
   10126   ;;
   10127 
   10128 sunos4*)
   10129   version_type=sunos
   10130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10131   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10132   shlibpath_var=LD_LIBRARY_PATH
   10133   shlibpath_overrides_runpath=yes
   10134   if test "$with_gnu_ld" = yes; then
   10135     need_lib_prefix=no
   10136   fi
   10137   need_version=yes
   10138   ;;
   10139 
   10140 sysv4 | sysv4.3*)
   10141   version_type=linux
   10142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10143   soname_spec='${libname}${release}${shared_ext}$major'
   10144   shlibpath_var=LD_LIBRARY_PATH
   10145   case $host_vendor in
   10146     sni)
   10147       shlibpath_overrides_runpath=no
   10148       need_lib_prefix=no
   10149       runpath_var=LD_RUN_PATH
   10150       ;;
   10151     siemens)
   10152       need_lib_prefix=no
   10153       ;;
   10154     motorola)
   10155       need_lib_prefix=no
   10156       need_version=no
   10157       shlibpath_overrides_runpath=no
   10158       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10159       ;;
   10160   esac
   10161   ;;
   10162 
   10163 sysv4*MP*)
   10164   if test -d /usr/nec ;then
   10165     version_type=linux
   10166     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10167     soname_spec='$libname${shared_ext}.$major'
   10168     shlibpath_var=LD_LIBRARY_PATH
   10169   fi
   10170   ;;
   10171 
   10172 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10173   version_type=freebsd-elf
   10174   need_lib_prefix=no
   10175   need_version=no
   10176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10177   soname_spec='${libname}${release}${shared_ext}$major'
   10178   shlibpath_var=LD_LIBRARY_PATH
   10179   shlibpath_overrides_runpath=yes
   10180   hardcode_into_libs=yes
   10181   if test "$with_gnu_ld" = yes; then
   10182     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10183   else
   10184     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10185     case $host_os in
   10186       sco3.2v5*)
   10187         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10188 	;;
   10189     esac
   10190   fi
   10191   sys_lib_dlsearch_path_spec='/usr/lib'
   10192   ;;
   10193 
   10194 tpf*)
   10195   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10196   version_type=linux
   10197   need_lib_prefix=no
   10198   need_version=no
   10199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10200   shlibpath_var=LD_LIBRARY_PATH
   10201   shlibpath_overrides_runpath=no
   10202   hardcode_into_libs=yes
   10203   ;;
   10204 
   10205 uts4*)
   10206   version_type=linux
   10207   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10208   soname_spec='${libname}${release}${shared_ext}$major'
   10209   shlibpath_var=LD_LIBRARY_PATH
   10210   ;;
   10211 
   10212 *)
   10213   dynamic_linker=no
   10214   ;;
   10215 esac
   10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10217 $as_echo "$dynamic_linker" >&6; }
   10218 test "$dynamic_linker" = no && can_build_shared=no
   10219 
   10220 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10221 if test "$GCC" = yes; then
   10222   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10223 fi
   10224 
   10225 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10226   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10227 fi
   10228 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10229   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10230 fi
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10319 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10320 hardcode_action=
   10321 if test -n "$hardcode_libdir_flag_spec" ||
   10322    test -n "$runpath_var" ||
   10323    test "X$hardcode_automatic" = "Xyes" ; then
   10324 
   10325   # We can hardcode non-existent directories.
   10326   if test "$hardcode_direct" != no &&
   10327      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10328      # have to relink, otherwise we might link with an installed library
   10329      # when we should be linking with a yet-to-be-installed one
   10330      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10331      test "$hardcode_minus_L" != no; then
   10332     # Linking always hardcodes the temporary library directory.
   10333     hardcode_action=relink
   10334   else
   10335     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10336     hardcode_action=immediate
   10337   fi
   10338 else
   10339   # We cannot hardcode anything, or else we can only hardcode existing
   10340   # directories.
   10341   hardcode_action=unsupported
   10342 fi
   10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10344 $as_echo "$hardcode_action" >&6; }
   10345 
   10346 if test "$hardcode_action" = relink ||
   10347    test "$inherit_rpath" = yes; then
   10348   # Fast installation is not supported
   10349   enable_fast_install=no
   10350 elif test "$shlibpath_overrides_runpath" = yes ||
   10351      test "$enable_shared" = no; then
   10352   # Fast installation is not necessary
   10353   enable_fast_install=needless
   10354 fi
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361   if test "x$enable_dlopen" != xyes; then
   10362   enable_dlopen=unknown
   10363   enable_dlopen_self=unknown
   10364   enable_dlopen_self_static=unknown
   10365 else
   10366   lt_cv_dlopen=no
   10367   lt_cv_dlopen_libs=
   10368 
   10369   case $host_os in
   10370   beos*)
   10371     lt_cv_dlopen="load_add_on"
   10372     lt_cv_dlopen_libs=
   10373     lt_cv_dlopen_self=yes
   10374     ;;
   10375 
   10376   mingw* | pw32* | cegcc*)
   10377     lt_cv_dlopen="LoadLibrary"
   10378     lt_cv_dlopen_libs=
   10379     ;;
   10380 
   10381   cygwin*)
   10382     lt_cv_dlopen="dlopen"
   10383     lt_cv_dlopen_libs=
   10384     ;;
   10385 
   10386   darwin*)
   10387   # if libdl is installed we need to link against it
   10388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10389 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10390 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10391   $as_echo_n "(cached) " >&6
   10392 else
   10393   ac_check_lib_save_LIBS=$LIBS
   10394 LIBS="-ldl  $LIBS"
   10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 
   10398 /* Override any GCC internal prototype to avoid an error.
   10399    Use char because int might match the return type of a GCC
   10400    builtin and then its argument prototype would still apply.  */
   10401 #ifdef __cplusplus
   10402 extern "C"
   10403 #endif
   10404 char dlopen ();
   10405 int
   10406 main ()
   10407 {
   10408 return dlopen ();
   10409   ;
   10410   return 0;
   10411 }
   10412 _ACEOF
   10413 if ac_fn_c_try_link "$LINENO"; then :
   10414   ac_cv_lib_dl_dlopen=yes
   10415 else
   10416   ac_cv_lib_dl_dlopen=no
   10417 fi
   10418 rm -f core conftest.err conftest.$ac_objext \
   10419     conftest$ac_exeext conftest.$ac_ext
   10420 LIBS=$ac_check_lib_save_LIBS
   10421 fi
   10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10423 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10424 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10425   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10426 else
   10427 
   10428     lt_cv_dlopen="dyld"
   10429     lt_cv_dlopen_libs=
   10430     lt_cv_dlopen_self=yes
   10431 
   10432 fi
   10433 
   10434     ;;
   10435 
   10436   *)
   10437     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10438 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10439   lt_cv_dlopen="shl_load"
   10440 else
   10441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10442 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10443 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10444   $as_echo_n "(cached) " >&6
   10445 else
   10446   ac_check_lib_save_LIBS=$LIBS
   10447 LIBS="-ldld  $LIBS"
   10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 
   10451 /* Override any GCC internal prototype to avoid an error.
   10452    Use char because int might match the return type of a GCC
   10453    builtin and then its argument prototype would still apply.  */
   10454 #ifdef __cplusplus
   10455 extern "C"
   10456 #endif
   10457 char shl_load ();
   10458 int
   10459 main ()
   10460 {
   10461 return shl_load ();
   10462   ;
   10463   return 0;
   10464 }
   10465 _ACEOF
   10466 if ac_fn_c_try_link "$LINENO"; then :
   10467   ac_cv_lib_dld_shl_load=yes
   10468 else
   10469   ac_cv_lib_dld_shl_load=no
   10470 fi
   10471 rm -f core conftest.err conftest.$ac_objext \
   10472     conftest$ac_exeext conftest.$ac_ext
   10473 LIBS=$ac_check_lib_save_LIBS
   10474 fi
   10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10476 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10477 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10478   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10479 else
   10480   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10481 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10482   lt_cv_dlopen="dlopen"
   10483 else
   10484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10485 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10486 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10487   $as_echo_n "(cached) " >&6
   10488 else
   10489   ac_check_lib_save_LIBS=$LIBS
   10490 LIBS="-ldl  $LIBS"
   10491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10492 /* end confdefs.h.  */
   10493 
   10494 /* Override any GCC internal prototype to avoid an error.
   10495    Use char because int might match the return type of a GCC
   10496    builtin and then its argument prototype would still apply.  */
   10497 #ifdef __cplusplus
   10498 extern "C"
   10499 #endif
   10500 char dlopen ();
   10501 int
   10502 main ()
   10503 {
   10504 return dlopen ();
   10505   ;
   10506   return 0;
   10507 }
   10508 _ACEOF
   10509 if ac_fn_c_try_link "$LINENO"; then :
   10510   ac_cv_lib_dl_dlopen=yes
   10511 else
   10512   ac_cv_lib_dl_dlopen=no
   10513 fi
   10514 rm -f core conftest.err conftest.$ac_objext \
   10515     conftest$ac_exeext conftest.$ac_ext
   10516 LIBS=$ac_check_lib_save_LIBS
   10517 fi
   10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10519 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10520 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10521   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10522 else
   10523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10524 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10525 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10526   $as_echo_n "(cached) " >&6
   10527 else
   10528   ac_check_lib_save_LIBS=$LIBS
   10529 LIBS="-lsvld  $LIBS"
   10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10531 /* end confdefs.h.  */
   10532 
   10533 /* Override any GCC internal prototype to avoid an error.
   10534    Use char because int might match the return type of a GCC
   10535    builtin and then its argument prototype would still apply.  */
   10536 #ifdef __cplusplus
   10537 extern "C"
   10538 #endif
   10539 char dlopen ();
   10540 int
   10541 main ()
   10542 {
   10543 return dlopen ();
   10544   ;
   10545   return 0;
   10546 }
   10547 _ACEOF
   10548 if ac_fn_c_try_link "$LINENO"; then :
   10549   ac_cv_lib_svld_dlopen=yes
   10550 else
   10551   ac_cv_lib_svld_dlopen=no
   10552 fi
   10553 rm -f core conftest.err conftest.$ac_objext \
   10554     conftest$ac_exeext conftest.$ac_ext
   10555 LIBS=$ac_check_lib_save_LIBS
   10556 fi
   10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10558 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10559 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10560   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10561 else
   10562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10563 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10564 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10565   $as_echo_n "(cached) " >&6
   10566 else
   10567   ac_check_lib_save_LIBS=$LIBS
   10568 LIBS="-ldld  $LIBS"
   10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10570 /* end confdefs.h.  */
   10571 
   10572 /* Override any GCC internal prototype to avoid an error.
   10573    Use char because int might match the return type of a GCC
   10574    builtin and then its argument prototype would still apply.  */
   10575 #ifdef __cplusplus
   10576 extern "C"
   10577 #endif
   10578 char dld_link ();
   10579 int
   10580 main ()
   10581 {
   10582 return dld_link ();
   10583   ;
   10584   return 0;
   10585 }
   10586 _ACEOF
   10587 if ac_fn_c_try_link "$LINENO"; then :
   10588   ac_cv_lib_dld_dld_link=yes
   10589 else
   10590   ac_cv_lib_dld_dld_link=no
   10591 fi
   10592 rm -f core conftest.err conftest.$ac_objext \
   10593     conftest$ac_exeext conftest.$ac_ext
   10594 LIBS=$ac_check_lib_save_LIBS
   10595 fi
   10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10597 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10598 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10599   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10600 fi
   10601 
   10602 
   10603 fi
   10604 
   10605 
   10606 fi
   10607 
   10608 
   10609 fi
   10610 
   10611 
   10612 fi
   10613 
   10614 
   10615 fi
   10616 
   10617     ;;
   10618   esac
   10619 
   10620   if test "x$lt_cv_dlopen" != xno; then
   10621     enable_dlopen=yes
   10622   else
   10623     enable_dlopen=no
   10624   fi
   10625 
   10626   case $lt_cv_dlopen in
   10627   dlopen)
   10628     save_CPPFLAGS="$CPPFLAGS"
   10629     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10630 
   10631     save_LDFLAGS="$LDFLAGS"
   10632     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10633 
   10634     save_LIBS="$LIBS"
   10635     LIBS="$lt_cv_dlopen_libs $LIBS"
   10636 
   10637     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10638 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10639 if test "${lt_cv_dlopen_self+set}" = set; then :
   10640   $as_echo_n "(cached) " >&6
   10641 else
   10642   	  if test "$cross_compiling" = yes; then :
   10643   lt_cv_dlopen_self=cross
   10644 else
   10645   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10646   lt_status=$lt_dlunknown
   10647   cat > conftest.$ac_ext <<_LT_EOF
   10648 #line 10648 "configure"
   10649 #include "confdefs.h"
   10650 
   10651 #if HAVE_DLFCN_H
   10652 #include <dlfcn.h>
   10653 #endif
   10654 
   10655 #include <stdio.h>
   10656 
   10657 #ifdef RTLD_GLOBAL
   10658 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10659 #else
   10660 #  ifdef DL_GLOBAL
   10661 #    define LT_DLGLOBAL		DL_GLOBAL
   10662 #  else
   10663 #    define LT_DLGLOBAL		0
   10664 #  endif
   10665 #endif
   10666 
   10667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10668    find out it does not work in some platform. */
   10669 #ifndef LT_DLLAZY_OR_NOW
   10670 #  ifdef RTLD_LAZY
   10671 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10672 #  else
   10673 #    ifdef DL_LAZY
   10674 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10675 #    else
   10676 #      ifdef RTLD_NOW
   10677 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10678 #      else
   10679 #        ifdef DL_NOW
   10680 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10681 #        else
   10682 #          define LT_DLLAZY_OR_NOW	0
   10683 #        endif
   10684 #      endif
   10685 #    endif
   10686 #  endif
   10687 #endif
   10688 
   10689 void fnord() { int i=42;}
   10690 int main ()
   10691 {
   10692   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10693   int status = $lt_dlunknown;
   10694 
   10695   if (self)
   10696     {
   10697       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10698       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10699       /* dlclose (self); */
   10700     }
   10701   else
   10702     puts (dlerror ());
   10703 
   10704   return status;
   10705 }
   10706 _LT_EOF
   10707   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10708   (eval $ac_link) 2>&5
   10709   ac_status=$?
   10710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10711   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10712     (./conftest; exit; ) >&5 2>/dev/null
   10713     lt_status=$?
   10714     case x$lt_status in
   10715       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10716       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10717       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10718     esac
   10719   else :
   10720     # compilation failed
   10721     lt_cv_dlopen_self=no
   10722   fi
   10723 fi
   10724 rm -fr conftest*
   10725 
   10726 
   10727 fi
   10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10729 $as_echo "$lt_cv_dlopen_self" >&6; }
   10730 
   10731     if test "x$lt_cv_dlopen_self" = xyes; then
   10732       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10733       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10734 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10735 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10736   $as_echo_n "(cached) " >&6
   10737 else
   10738   	  if test "$cross_compiling" = yes; then :
   10739   lt_cv_dlopen_self_static=cross
   10740 else
   10741   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10742   lt_status=$lt_dlunknown
   10743   cat > conftest.$ac_ext <<_LT_EOF
   10744 #line 10744 "configure"
   10745 #include "confdefs.h"
   10746 
   10747 #if HAVE_DLFCN_H
   10748 #include <dlfcn.h>
   10749 #endif
   10750 
   10751 #include <stdio.h>
   10752 
   10753 #ifdef RTLD_GLOBAL
   10754 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10755 #else
   10756 #  ifdef DL_GLOBAL
   10757 #    define LT_DLGLOBAL		DL_GLOBAL
   10758 #  else
   10759 #    define LT_DLGLOBAL		0
   10760 #  endif
   10761 #endif
   10762 
   10763 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10764    find out it does not work in some platform. */
   10765 #ifndef LT_DLLAZY_OR_NOW
   10766 #  ifdef RTLD_LAZY
   10767 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10768 #  else
   10769 #    ifdef DL_LAZY
   10770 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10771 #    else
   10772 #      ifdef RTLD_NOW
   10773 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10774 #      else
   10775 #        ifdef DL_NOW
   10776 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10777 #        else
   10778 #          define LT_DLLAZY_OR_NOW	0
   10779 #        endif
   10780 #      endif
   10781 #    endif
   10782 #  endif
   10783 #endif
   10784 
   10785 void fnord() { int i=42;}
   10786 int main ()
   10787 {
   10788   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10789   int status = $lt_dlunknown;
   10790 
   10791   if (self)
   10792     {
   10793       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10794       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10795       /* dlclose (self); */
   10796     }
   10797   else
   10798     puts (dlerror ());
   10799 
   10800   return status;
   10801 }
   10802 _LT_EOF
   10803   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10804   (eval $ac_link) 2>&5
   10805   ac_status=$?
   10806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10807   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10808     (./conftest; exit; ) >&5 2>/dev/null
   10809     lt_status=$?
   10810     case x$lt_status in
   10811       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10812       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10813       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10814     esac
   10815   else :
   10816     # compilation failed
   10817     lt_cv_dlopen_self_static=no
   10818   fi
   10819 fi
   10820 rm -fr conftest*
   10821 
   10822 
   10823 fi
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10825 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10826     fi
   10827 
   10828     CPPFLAGS="$save_CPPFLAGS"
   10829     LDFLAGS="$save_LDFLAGS"
   10830     LIBS="$save_LIBS"
   10831     ;;
   10832   esac
   10833 
   10834   case $lt_cv_dlopen_self in
   10835   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10836   *) enable_dlopen_self=unknown ;;
   10837   esac
   10838 
   10839   case $lt_cv_dlopen_self_static in
   10840   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10841   *) enable_dlopen_self_static=unknown ;;
   10842   esac
   10843 fi
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 striplib=
   10862 old_striplib=
   10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10864 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10865 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10866   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10867   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10869 $as_echo "yes" >&6; }
   10870 else
   10871 # FIXME - insert some real tests, host_os isn't really good enough
   10872   case $host_os in
   10873   darwin*)
   10874     if test -n "$STRIP" ; then
   10875       striplib="$STRIP -x"
   10876       old_striplib="$STRIP -S"
   10877       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10878 $as_echo "yes" >&6; }
   10879     else
   10880       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10881 $as_echo "no" >&6; }
   10882     fi
   10883     ;;
   10884   *)
   10885     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10886 $as_echo "no" >&6; }
   10887     ;;
   10888   esac
   10889 fi
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902   # Report which library types will actually be built
   10903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10904 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10906 $as_echo "$can_build_shared" >&6; }
   10907 
   10908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10909 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10910   test "$can_build_shared" = "no" && enable_shared=no
   10911 
   10912   # On AIX, shared libraries and static libraries use the same namespace, and
   10913   # are all built from PIC.
   10914   case $host_os in
   10915   aix3*)
   10916     test "$enable_shared" = yes && enable_static=no
   10917     if test -n "$RANLIB"; then
   10918       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10919       postinstall_cmds='$RANLIB $lib'
   10920     fi
   10921     ;;
   10922 
   10923   aix[4-9]*)
   10924     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10925       test "$enable_shared" = yes && enable_static=no
   10926     fi
   10927     ;;
   10928   esac
   10929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10930 $as_echo "$enable_shared" >&6; }
   10931 
   10932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10933 $as_echo_n "checking whether to build static libraries... " >&6; }
   10934   # Make sure either enable_shared or enable_static is yes.
   10935   test "$enable_shared" = yes || enable_static=yes
   10936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10937 $as_echo "$enable_static" >&6; }
   10938 
   10939 
   10940 
   10941 
   10942 fi
   10943 ac_ext=c
   10944 ac_cpp='$CPP $CPPFLAGS'
   10945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10948 
   10949 CC="$lt_save_CC"
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963         ac_config_commands="$ac_config_commands libtool"
   10964 
   10965 
   10966 
   10967 
   10968 # Only expand once:
   10969 
   10970 
   10971 ac_ext=c
   10972 ac_cpp='$CPP $CPPFLAGS'
   10973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10976 if test -n "$ac_tool_prefix"; then
   10977   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   10978 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10980 $as_echo_n "checking for $ac_word... " >&6; }
   10981 if test "${ac_cv_prog_CC+set}" = set; then :
   10982   $as_echo_n "(cached) " >&6
   10983 else
   10984   if test -n "$CC"; then
   10985   ac_cv_prog_CC="$CC" # Let the user override the test.
   10986 else
   10987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10988 for as_dir in $PATH
   10989 do
   10990   IFS=$as_save_IFS
   10991   test -z "$as_dir" && as_dir=.
   10992     for ac_exec_ext in '' $ac_executable_extensions; do
   10993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10994     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   10995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10996     break 2
   10997   fi
   10998 done
   10999   done
   11000 IFS=$as_save_IFS
   11001 
   11002 fi
   11003 fi
   11004 CC=$ac_cv_prog_CC
   11005 if test -n "$CC"; then
   11006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11007 $as_echo "$CC" >&6; }
   11008 else
   11009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11010 $as_echo "no" >&6; }
   11011 fi
   11012 
   11013 
   11014 fi
   11015 if test -z "$ac_cv_prog_CC"; then
   11016   ac_ct_CC=$CC
   11017   # Extract the first word of "gcc", so it can be a program name with args.
   11018 set dummy gcc; ac_word=$2
   11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11020 $as_echo_n "checking for $ac_word... " >&6; }
   11021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   11022   $as_echo_n "(cached) " >&6
   11023 else
   11024   if test -n "$ac_ct_CC"; then
   11025   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11026 else
   11027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11028 for as_dir in $PATH
   11029 do
   11030   IFS=$as_save_IFS
   11031   test -z "$as_dir" && as_dir=.
   11032     for ac_exec_ext in '' $ac_executable_extensions; do
   11033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11034     ac_cv_prog_ac_ct_CC="gcc"
   11035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11036     break 2
   11037   fi
   11038 done
   11039   done
   11040 IFS=$as_save_IFS
   11041 
   11042 fi
   11043 fi
   11044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11045 if test -n "$ac_ct_CC"; then
   11046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11047 $as_echo "$ac_ct_CC" >&6; }
   11048 else
   11049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11050 $as_echo "no" >&6; }
   11051 fi
   11052 
   11053   if test "x$ac_ct_CC" = x; then
   11054     CC=""
   11055   else
   11056     case $cross_compiling:$ac_tool_warned in
   11057 yes:)
   11058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11060 ac_tool_warned=yes ;;
   11061 esac
   11062     CC=$ac_ct_CC
   11063   fi
   11064 else
   11065   CC="$ac_cv_prog_CC"
   11066 fi
   11067 
   11068 if test -z "$CC"; then
   11069           if test -n "$ac_tool_prefix"; then
   11070     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11071 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11073 $as_echo_n "checking for $ac_word... " >&6; }
   11074 if test "${ac_cv_prog_CC+set}" = set; then :
   11075   $as_echo_n "(cached) " >&6
   11076 else
   11077   if test -n "$CC"; then
   11078   ac_cv_prog_CC="$CC" # Let the user override the test.
   11079 else
   11080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11081 for as_dir in $PATH
   11082 do
   11083   IFS=$as_save_IFS
   11084   test -z "$as_dir" && as_dir=.
   11085     for ac_exec_ext in '' $ac_executable_extensions; do
   11086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11087     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11089     break 2
   11090   fi
   11091 done
   11092   done
   11093 IFS=$as_save_IFS
   11094 
   11095 fi
   11096 fi
   11097 CC=$ac_cv_prog_CC
   11098 if test -n "$CC"; then
   11099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11100 $as_echo "$CC" >&6; }
   11101 else
   11102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11103 $as_echo "no" >&6; }
   11104 fi
   11105 
   11106 
   11107   fi
   11108 fi
   11109 if test -z "$CC"; then
   11110   # Extract the first word of "cc", so it can be a program name with args.
   11111 set dummy cc; ac_word=$2
   11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11113 $as_echo_n "checking for $ac_word... " >&6; }
   11114 if test "${ac_cv_prog_CC+set}" = set; then :
   11115   $as_echo_n "(cached) " >&6
   11116 else
   11117   if test -n "$CC"; then
   11118   ac_cv_prog_CC="$CC" # Let the user override the test.
   11119 else
   11120   ac_prog_rejected=no
   11121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11122 for as_dir in $PATH
   11123 do
   11124   IFS=$as_save_IFS
   11125   test -z "$as_dir" && as_dir=.
   11126     for ac_exec_ext in '' $ac_executable_extensions; do
   11127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11128     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11129        ac_prog_rejected=yes
   11130        continue
   11131      fi
   11132     ac_cv_prog_CC="cc"
   11133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11134     break 2
   11135   fi
   11136 done
   11137   done
   11138 IFS=$as_save_IFS
   11139 
   11140 if test $ac_prog_rejected = yes; then
   11141   # We found a bogon in the path, so make sure we never use it.
   11142   set dummy $ac_cv_prog_CC
   11143   shift
   11144   if test $# != 0; then
   11145     # We chose a different compiler from the bogus one.
   11146     # However, it has the same basename, so the bogon will be chosen
   11147     # first if we set CC to just the basename; use the full file name.
   11148     shift
   11149     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11150   fi
   11151 fi
   11152 fi
   11153 fi
   11154 CC=$ac_cv_prog_CC
   11155 if test -n "$CC"; then
   11156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11157 $as_echo "$CC" >&6; }
   11158 else
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11160 $as_echo "no" >&6; }
   11161 fi
   11162 
   11163 
   11164 fi
   11165 if test -z "$CC"; then
   11166   if test -n "$ac_tool_prefix"; then
   11167   for ac_prog in cl.exe
   11168   do
   11169     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11172 $as_echo_n "checking for $ac_word... " >&6; }
   11173 if test "${ac_cv_prog_CC+set}" = set; then :
   11174   $as_echo_n "(cached) " >&6
   11175 else
   11176   if test -n "$CC"; then
   11177   ac_cv_prog_CC="$CC" # Let the user override the test.
   11178 else
   11179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11180 for as_dir in $PATH
   11181 do
   11182   IFS=$as_save_IFS
   11183   test -z "$as_dir" && as_dir=.
   11184     for ac_exec_ext in '' $ac_executable_extensions; do
   11185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11186     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11188     break 2
   11189   fi
   11190 done
   11191   done
   11192 IFS=$as_save_IFS
   11193 
   11194 fi
   11195 fi
   11196 CC=$ac_cv_prog_CC
   11197 if test -n "$CC"; then
   11198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11199 $as_echo "$CC" >&6; }
   11200 else
   11201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11202 $as_echo "no" >&6; }
   11203 fi
   11204 
   11205 
   11206     test -n "$CC" && break
   11207   done
   11208 fi
   11209 if test -z "$CC"; then
   11210   ac_ct_CC=$CC
   11211   for ac_prog in cl.exe
   11212 do
   11213   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11214 set dummy $ac_prog; ac_word=$2
   11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11216 $as_echo_n "checking for $ac_word... " >&6; }
   11217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   11218   $as_echo_n "(cached) " >&6
   11219 else
   11220   if test -n "$ac_ct_CC"; then
   11221   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11222 else
   11223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11224 for as_dir in $PATH
   11225 do
   11226   IFS=$as_save_IFS
   11227   test -z "$as_dir" && as_dir=.
   11228     for ac_exec_ext in '' $ac_executable_extensions; do
   11229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11230     ac_cv_prog_ac_ct_CC="$ac_prog"
   11231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11232     break 2
   11233   fi
   11234 done
   11235   done
   11236 IFS=$as_save_IFS
   11237 
   11238 fi
   11239 fi
   11240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11241 if test -n "$ac_ct_CC"; then
   11242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11243 $as_echo "$ac_ct_CC" >&6; }
   11244 else
   11245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11246 $as_echo "no" >&6; }
   11247 fi
   11248 
   11249 
   11250   test -n "$ac_ct_CC" && break
   11251 done
   11252 
   11253   if test "x$ac_ct_CC" = x; then
   11254     CC=""
   11255   else
   11256     case $cross_compiling:$ac_tool_warned in
   11257 yes:)
   11258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11260 ac_tool_warned=yes ;;
   11261 esac
   11262     CC=$ac_ct_CC
   11263   fi
   11264 fi
   11265 
   11266 fi
   11267 
   11268 
   11269 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11271 as_fn_error "no acceptable C compiler found in \$PATH
   11272 See \`config.log' for more details." "$LINENO" 5; }
   11273 
   11274 # Provide some information about the compiler.
   11275 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   11276 set X $ac_compile
   11277 ac_compiler=$2
   11278 for ac_option in --version -v -V -qversion; do
   11279   { { ac_try="$ac_compiler $ac_option >&5"
   11280 case "(($ac_try" in
   11281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11282   *) ac_try_echo=$ac_try;;
   11283 esac
   11284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11285 $as_echo "$ac_try_echo"; } >&5
   11286   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   11287   ac_status=$?
   11288   if test -s conftest.err; then
   11289     sed '10a\
   11290 ... rest of stderr output deleted ...
   11291          10q' conftest.err >conftest.er1
   11292     cat conftest.er1 >&5
   11293   fi
   11294   rm -f conftest.er1 conftest.err
   11295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11296   test $ac_status = 0; }
   11297 done
   11298 
   11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   11300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11301 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   11302   $as_echo_n "(cached) " >&6
   11303 else
   11304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11305 /* end confdefs.h.  */
   11306 
   11307 int
   11308 main ()
   11309 {
   11310 #ifndef __GNUC__
   11311        choke me
   11312 #endif
   11313 
   11314   ;
   11315   return 0;
   11316 }
   11317 _ACEOF
   11318 if ac_fn_c_try_compile "$LINENO"; then :
   11319   ac_compiler_gnu=yes
   11320 else
   11321   ac_compiler_gnu=no
   11322 fi
   11323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11325 
   11326 fi
   11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   11328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11329 if test $ac_compiler_gnu = yes; then
   11330   GCC=yes
   11331 else
   11332   GCC=
   11333 fi
   11334 ac_test_CFLAGS=${CFLAGS+set}
   11335 ac_save_CFLAGS=$CFLAGS
   11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   11337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11338 if test "${ac_cv_prog_cc_g+set}" = set; then :
   11339   $as_echo_n "(cached) " >&6
   11340 else
   11341   ac_save_c_werror_flag=$ac_c_werror_flag
   11342    ac_c_werror_flag=yes
   11343    ac_cv_prog_cc_g=no
   11344    CFLAGS="-g"
   11345    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11346 /* end confdefs.h.  */
   11347 
   11348 int
   11349 main ()
   11350 {
   11351 
   11352   ;
   11353   return 0;
   11354 }
   11355 _ACEOF
   11356 if ac_fn_c_try_compile "$LINENO"; then :
   11357   ac_cv_prog_cc_g=yes
   11358 else
   11359   CFLAGS=""
   11360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11361 /* end confdefs.h.  */
   11362 
   11363 int
   11364 main ()
   11365 {
   11366 
   11367   ;
   11368   return 0;
   11369 }
   11370 _ACEOF
   11371 if ac_fn_c_try_compile "$LINENO"; then :
   11372 
   11373 else
   11374   ac_c_werror_flag=$ac_save_c_werror_flag
   11375 	 CFLAGS="-g"
   11376 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11377 /* end confdefs.h.  */
   11378 
   11379 int
   11380 main ()
   11381 {
   11382 
   11383   ;
   11384   return 0;
   11385 }
   11386 _ACEOF
   11387 if ac_fn_c_try_compile "$LINENO"; then :
   11388   ac_cv_prog_cc_g=yes
   11389 fi
   11390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11391 fi
   11392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11393 fi
   11394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11395    ac_c_werror_flag=$ac_save_c_werror_flag
   11396 fi
   11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   11398 $as_echo "$ac_cv_prog_cc_g" >&6; }
   11399 if test "$ac_test_CFLAGS" = set; then
   11400   CFLAGS=$ac_save_CFLAGS
   11401 elif test $ac_cv_prog_cc_g = yes; then
   11402   if test "$GCC" = yes; then
   11403     CFLAGS="-g -O2"
   11404   else
   11405     CFLAGS="-g"
   11406   fi
   11407 else
   11408   if test "$GCC" = yes; then
   11409     CFLAGS="-O2"
   11410   else
   11411     CFLAGS=
   11412   fi
   11413 fi
   11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   11415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   11416 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   11417   $as_echo_n "(cached) " >&6
   11418 else
   11419   ac_cv_prog_cc_c89=no
   11420 ac_save_CC=$CC
   11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11422 /* end confdefs.h.  */
   11423 #include <stdarg.h>
   11424 #include <stdio.h>
   11425 #include <sys/types.h>
   11426 #include <sys/stat.h>
   11427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   11428 struct buf { int x; };
   11429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   11430 static char *e (p, i)
   11431      char **p;
   11432      int i;
   11433 {
   11434   return p[i];
   11435 }
   11436 static char *f (char * (*g) (char **, int), char **p, ...)
   11437 {
   11438   char *s;
   11439   va_list v;
   11440   va_start (v,p);
   11441   s = g (p, va_arg (v,int));
   11442   va_end (v);
   11443   return s;
   11444 }
   11445 
   11446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   11447    function prototypes and stuff, but not '\xHH' hex character constants.
   11448    These don't provoke an error unfortunately, instead are silently treated
   11449    as 'x'.  The following induces an error, until -std is added to get
   11450    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   11451    array size at least.  It's necessary to write '\x00'==0 to get something
   11452    that's true only with -std.  */
   11453 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   11454 
   11455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   11456    inside strings and character constants.  */
   11457 #define FOO(x) 'x'
   11458 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   11459 
   11460 int test (int i, double x);
   11461 struct s1 {int (*f) (int a);};
   11462 struct s2 {int (*f) (double a);};
   11463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   11464 int argc;
   11465 char **argv;
   11466 int
   11467 main ()
   11468 {
   11469 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   11470   ;
   11471   return 0;
   11472 }
   11473 _ACEOF
   11474 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   11475 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   11476 do
   11477   CC="$ac_save_CC $ac_arg"
   11478   if ac_fn_c_try_compile "$LINENO"; then :
   11479   ac_cv_prog_cc_c89=$ac_arg
   11480 fi
   11481 rm -f core conftest.err conftest.$ac_objext
   11482   test "x$ac_cv_prog_cc_c89" != "xno" && break
   11483 done
   11484 rm -f conftest.$ac_ext
   11485 CC=$ac_save_CC
   11486 
   11487 fi
   11488 # AC_CACHE_VAL
   11489 case "x$ac_cv_prog_cc_c89" in
   11490   x)
   11491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11492 $as_echo "none needed" >&6; } ;;
   11493   xno)
   11494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11495 $as_echo "unsupported" >&6; } ;;
   11496   *)
   11497     CC="$CC $ac_cv_prog_cc_c89"
   11498     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   11499 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   11500 esac
   11501 if test "x$ac_cv_prog_cc_c89" != xno; then :
   11502 
   11503 fi
   11504 
   11505 ac_ext=c
   11506 ac_cpp='$CPP $CPPFLAGS'
   11507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11510 
   11511 depcc="$CC"   am_compiler_list=
   11512 
   11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   11514 $as_echo_n "checking dependency style of $depcc... " >&6; }
   11515 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   11516   $as_echo_n "(cached) " >&6
   11517 else
   11518   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11519   # We make a subdir and do the tests there.  Otherwise we can end up
   11520   # making bogus files that we don't know about and never remove.  For
   11521   # instance it was reported that on HP-UX the gcc test will end up
   11522   # making a dummy file named `D' -- because `-MD' means `put the output
   11523   # in D'.
   11524   mkdir conftest.dir
   11525   # Copy depcomp to subdir because otherwise we won't find it if we're
   11526   # using a relative directory.
   11527   cp "$am_depcomp" conftest.dir
   11528   cd conftest.dir
   11529   # We will build objects and dependencies in a subdirectory because
   11530   # it helps to detect inapplicable dependency modes.  For instance
   11531   # both Tru64's cc and ICC support -MD to output dependencies as a
   11532   # side effect of compilation, but ICC will put the dependencies in
   11533   # the current directory while Tru64 will put them in the object
   11534   # directory.
   11535   mkdir sub
   11536 
   11537   am_cv_CC_dependencies_compiler_type=none
   11538   if test "$am_compiler_list" = ""; then
   11539      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11540   fi
   11541   am__universal=false
   11542   case " $depcc " in #(
   11543      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   11544      esac
   11545 
   11546   for depmode in $am_compiler_list; do
   11547     # Setup a source with many dependencies, because some compilers
   11548     # like to wrap large dependency lists on column 80 (with \), and
   11549     # we should not choose a depcomp mode which is confused by this.
   11550     #
   11551     # We need to recreate these files for each test, as the compiler may
   11552     # overwrite some of them when testing with obscure command lines.
   11553     # This happens at least with the AIX C compiler.
   11554     : > sub/conftest.c
   11555     for i in 1 2 3 4 5 6; do
   11556       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11557       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11558       # Solaris 8's {/usr,}/bin/sh.
   11559       touch sub/conftst$i.h
   11560     done
   11561     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11562 
   11563     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11564     # mode.  It turns out that the SunPro C++ compiler does not properly
   11565     # handle `-M -o', and we need to detect this.  Also, some Intel
   11566     # versions had trouble with output in subdirs
   11567     am__obj=sub/conftest.${OBJEXT-o}
   11568     am__minus_obj="-o $am__obj"
   11569     case $depmode in
   11570     gcc)
   11571       # This depmode causes a compiler race in universal mode.
   11572       test "$am__universal" = false || continue
   11573       ;;
   11574     nosideeffect)
   11575       # after this tag, mechanisms are not by side-effect, so they'll
   11576       # only be used when explicitly requested
   11577       if test "x$enable_dependency_tracking" = xyes; then
   11578 	continue
   11579       else
   11580 	break
   11581       fi
   11582       ;;
   11583     msvisualcpp | msvcmsys)
   11584       # This compiler won't grok `-c -o', but also, the minuso test has
   11585       # not run yet.  These depmodes are late enough in the game, and
   11586       # so weak that their functioning should not be impacted.
   11587       am__obj=conftest.${OBJEXT-o}
   11588       am__minus_obj=
   11589       ;;
   11590     none) break ;;
   11591     esac
   11592     if depmode=$depmode \
   11593        source=sub/conftest.c object=$am__obj \
   11594        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11595        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   11596          >/dev/null 2>conftest.err &&
   11597        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11598        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11599        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   11600        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11601       # icc doesn't choke on unknown options, it will just issue warnings
   11602       # or remarks (even with -Werror).  So we grep stderr for any message
   11603       # that says an option was ignored or not supported.
   11604       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11605       #   icc: Command line warning: ignoring option '-M'; no argument required
   11606       # The diagnosis changed in icc 8.0:
   11607       #   icc: Command line remark: option '-MP' not supported
   11608       if (grep 'ignoring option' conftest.err ||
   11609           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11610         am_cv_CC_dependencies_compiler_type=$depmode
   11611         break
   11612       fi
   11613     fi
   11614   done
   11615 
   11616   cd ..
   11617   rm -rf conftest.dir
   11618 else
   11619   am_cv_CC_dependencies_compiler_type=none
   11620 fi
   11621 
   11622 fi
   11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   11624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   11625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11626 
   11627  if
   11628   test "x$enable_dependency_tracking" != xno \
   11629   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11630   am__fastdepCC_TRUE=
   11631   am__fastdepCC_FALSE='#'
   11632 else
   11633   am__fastdepCC_TRUE='#'
   11634   am__fastdepCC_FALSE=
   11635 fi
   11636 
   11637 
   11638 
   11639 # Checks for pkg-config packages
   11640 
   11641 pkg_failed=no
   11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   11643 $as_echo_n "checking for XEXT... " >&6; }
   11644 
   11645 if test -n "$XEXT_CFLAGS"; then
   11646     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   11647  elif test -n "$PKG_CONFIG"; then
   11648     if test -n "$PKG_CONFIG" && \
   11649     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2\""; } >&5
   11650   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2") 2>&5
   11651   ac_status=$?
   11652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11653   test $ac_status = 0; }; then
   11654   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>/dev/null`
   11655 else
   11656   pkg_failed=yes
   11657 fi
   11658  else
   11659     pkg_failed=untried
   11660 fi
   11661 if test -n "$XEXT_LIBS"; then
   11662     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   11663  elif test -n "$PKG_CONFIG"; then
   11664     if test -n "$PKG_CONFIG" && \
   11665     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2\""; } >&5
   11666   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2") 2>&5
   11667   ac_status=$?
   11668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11669   test $ac_status = 0; }; then
   11670   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>/dev/null`
   11671 else
   11672   pkg_failed=yes
   11673 fi
   11674  else
   11675     pkg_failed=untried
   11676 fi
   11677 
   11678 
   11679 
   11680 if test $pkg_failed = yes; then
   11681 
   11682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11683         _pkg_short_errors_supported=yes
   11684 else
   11685         _pkg_short_errors_supported=no
   11686 fi
   11687         if test $_pkg_short_errors_supported = yes; then
   11688 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>&1`
   11689         else
   11690 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>&1`
   11691         fi
   11692 	# Put the nasty error message in config.log where it belongs
   11693 	echo "$XEXT_PKG_ERRORS" >&5
   11694 
   11695 	as_fn_error "Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2) were not met:
   11696 
   11697 $XEXT_PKG_ERRORS
   11698 
   11699 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11700 installed software in a non-standard prefix.
   11701 
   11702 Alternatively, you may set the environment variables XEXT_CFLAGS
   11703 and XEXT_LIBS to avoid the need to call pkg-config.
   11704 See the pkg-config man page for more details.
   11705 " "$LINENO" 5
   11706 elif test $pkg_failed = untried; then
   11707 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11709 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11710 is in your PATH or set the PKG_CONFIG environment variable to the full
   11711 path to pkg-config.
   11712 
   11713 Alternatively, you may set the environment variables XEXT_CFLAGS
   11714 and XEXT_LIBS to avoid the need to call pkg-config.
   11715 See the pkg-config man page for more details.
   11716 
   11717 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11718 See \`config.log' for more details." "$LINENO" 5; }
   11719 else
   11720 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   11721 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   11722         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11723 $as_echo "yes" >&6; }
   11724 	:
   11725 fi
   11726 
   11727 
   11728 
   11729 # Checks for libraries.
   11730 
   11731 # Checks for header files.
   11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   11733 $as_echo_n "checking for ANSI C header files... " >&6; }
   11734 if test "${ac_cv_header_stdc+set}" = set; then :
   11735   $as_echo_n "(cached) " >&6
   11736 else
   11737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11738 /* end confdefs.h.  */
   11739 #include <stdlib.h>
   11740 #include <stdarg.h>
   11741 #include <string.h>
   11742 #include <float.h>
   11743 
   11744 int
   11745 main ()
   11746 {
   11747 
   11748   ;
   11749   return 0;
   11750 }
   11751 _ACEOF
   11752 if ac_fn_c_try_compile "$LINENO"; then :
   11753   ac_cv_header_stdc=yes
   11754 else
   11755   ac_cv_header_stdc=no
   11756 fi
   11757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11758 
   11759 if test $ac_cv_header_stdc = yes; then
   11760   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   11761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11762 /* end confdefs.h.  */
   11763 #include <string.h>
   11764 
   11765 _ACEOF
   11766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11767   $EGREP "memchr" >/dev/null 2>&1; then :
   11768 
   11769 else
   11770   ac_cv_header_stdc=no
   11771 fi
   11772 rm -f conftest*
   11773 
   11774 fi
   11775 
   11776 if test $ac_cv_header_stdc = yes; then
   11777   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   11778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11779 /* end confdefs.h.  */
   11780 #include <stdlib.h>
   11781 
   11782 _ACEOF
   11783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   11784   $EGREP "free" >/dev/null 2>&1; then :
   11785 
   11786 else
   11787   ac_cv_header_stdc=no
   11788 fi
   11789 rm -f conftest*
   11790 
   11791 fi
   11792 
   11793 if test $ac_cv_header_stdc = yes; then
   11794   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   11795   if test "$cross_compiling" = yes; then :
   11796   :
   11797 else
   11798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11799 /* end confdefs.h.  */
   11800 #include <ctype.h>
   11801 #include <stdlib.h>
   11802 #if ((' ' & 0x0FF) == 0x020)
   11803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   11804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   11805 #else
   11806 # define ISLOWER(c) \
   11807 		   (('a' <= (c) && (c) <= 'i') \
   11808 		     || ('j' <= (c) && (c) <= 'r') \
   11809 		     || ('s' <= (c) && (c) <= 'z'))
   11810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   11811 #endif
   11812 
   11813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   11814 int
   11815 main ()
   11816 {
   11817   int i;
   11818   for (i = 0; i < 256; i++)
   11819     if (XOR (islower (i), ISLOWER (i))
   11820 	|| toupper (i) != TOUPPER (i))
   11821       return 2;
   11822   return 0;
   11823 }
   11824 _ACEOF
   11825 if ac_fn_c_try_run "$LINENO"; then :
   11826 
   11827 else
   11828   ac_cv_header_stdc=no
   11829 fi
   11830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11831   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11832 fi
   11833 
   11834 fi
   11835 fi
   11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   11837 $as_echo "$ac_cv_header_stdc" >&6; }
   11838 if test $ac_cv_header_stdc = yes; then
   11839 
   11840 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   11841 
   11842 fi
   11843 
   11844 
   11845 
   11846 # Check whether --enable-malloc0returnsnull was given.
   11847 if test "${enable_malloc0returnsnull+set}" = set; then :
   11848   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   11849 else
   11850   MALLOC_ZERO_RETURNS_NULL=auto
   11851 fi
   11852 
   11853 
   11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   11855 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   11856 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   11857 	if test "$cross_compiling" = yes; then :
   11858   MALLOC_ZERO_RETURNS_NULL=yes
   11859 else
   11860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11861 /* end confdefs.h.  */
   11862 
   11863 char *malloc();
   11864 char *realloc();
   11865 char *calloc();
   11866 main() {
   11867     char *m0, *r0, *c0, *p;
   11868     m0 = malloc(0);
   11869     p = malloc(10);
   11870     r0 = realloc(p,0);
   11871     c0 = calloc(0);
   11872     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   11873 }
   11874 _ACEOF
   11875 if ac_fn_c_try_run "$LINENO"; then :
   11876   MALLOC_ZERO_RETURNS_NULL=yes
   11877 else
   11878   MALLOC_ZERO_RETURNS_NULL=no
   11879 fi
   11880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11881   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11882 fi
   11883 
   11884 fi
   11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   11886 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   11887 
   11888 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   11889 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   11890 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   11891 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   11892 else
   11893 	MALLOC_ZERO_CFLAGS=""
   11894 	XMALLOC_ZERO_CFLAGS=""
   11895 	XTMALLOC_ZERO_CFLAGS=""
   11896 fi
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 # Man page processing requirements
   11904 
   11905 
   11906 for ac_prog in cpp
   11907 do
   11908   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11909 set dummy $ac_prog; ac_word=$2
   11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11911 $as_echo_n "checking for $ac_word... " >&6; }
   11912 if test "${ac_cv_path_RAWCPP+set}" = set; then :
   11913   $as_echo_n "(cached) " >&6
   11914 else
   11915   case $RAWCPP in
   11916   [\\/]* | ?:[\\/]*)
   11917   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   11918   ;;
   11919   *)
   11920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11921 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   11922 for as_dir in $as_dummy
   11923 do
   11924   IFS=$as_save_IFS
   11925   test -z "$as_dir" && as_dir=.
   11926     for ac_exec_ext in '' $ac_executable_extensions; do
   11927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11928     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   11929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11930     break 2
   11931   fi
   11932 done
   11933   done
   11934 IFS=$as_save_IFS
   11935 
   11936   ;;
   11937 esac
   11938 fi
   11939 RAWCPP=$ac_cv_path_RAWCPP
   11940 if test -n "$RAWCPP"; then
   11941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   11942 $as_echo "$RAWCPP" >&6; }
   11943 else
   11944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11945 $as_echo "no" >&6; }
   11946 fi
   11947 
   11948 
   11949   test -n "$RAWCPP" && break
   11950 done
   11951 test -n "$RAWCPP" || RAWCPP="${CPP}"
   11952 
   11953 
   11954 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   11955 # which is not the best choice for supporting other OS'es, but covers most
   11956 # of the ones we need for now.
   11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   11958 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11960 /* end confdefs.h.  */
   11961 Does cpp redefine unix ?
   11962 _ACEOF
   11963 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   11964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11965 $as_echo "no" >&6; }
   11966 else
   11967 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   11968 		RAWCPPFLAGS=-undef
   11969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11970 $as_echo "yes" >&6; }
   11971 	# under Cygwin unix is still defined even with -undef
   11972 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   11973 		RAWCPPFLAGS="-undef -ansi"
   11974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   11975 $as_echo "yes, with -ansi" >&6; }
   11976 	else
   11977 		as_fn_error "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   11978 	fi
   11979 fi
   11980 rm -f conftest.$ac_ext
   11981 
   11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   11983 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11985 /* end confdefs.h.  */
   11986 Does cpp preserve   "whitespace"?
   11987 _ACEOF
   11988 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   11989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11990 $as_echo "no" >&6; }
   11991 else
   11992 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   11993 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   11994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11995 $as_echo "yes" >&6; }
   11996 	else
   11997 		as_fn_error "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   11998 	fi
   11999 fi
   12000 rm -f conftest.$ac_ext
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 # Allow checking code with lint, sparse, etc.
   12007 
   12008 # Check whether --with-lint was given.
   12009 if test "${with_lint+set}" = set; then :
   12010   withval=$with_lint; use_lint=$withval
   12011 else
   12012   use_lint=no
   12013 fi
   12014 
   12015 if test "x$use_lint" = "xyes" ; then
   12016 	LINT="lint"
   12017 else
   12018 	LINT="$use_lint"
   12019 fi
   12020 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   12021     case $LINT in
   12022 	lint|*/lint)
   12023 	    case $host_os in
   12024 		solaris*)
   12025 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   12026 			;;
   12027 	    esac
   12028 	    ;;
   12029     esac
   12030 fi
   12031 
   12032 
   12033 
   12034  if test x$LINT != xno; then
   12035   LINT_TRUE=
   12036   LINT_FALSE='#'
   12037 else
   12038   LINT_TRUE='#'
   12039   LINT_FALSE=
   12040 fi
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 # Build lint "library" for more indepth checks of programs calling this library
   12047 # Check whether --enable-lint-library was given.
   12048 if test "${enable_lint_library+set}" = set; then :
   12049   enableval=$enable_lint_library; make_lint_lib=$enableval
   12050 else
   12051   make_lint_lib=no
   12052 fi
   12053 
   12054 if test "x$make_lint_lib" != "xno" ; then
   12055 	if test "x$LINT" = "xno" ; then
   12056 		as_fn_error "Cannot make lint library without --with-lint" "$LINENO" 5
   12057 	fi
   12058 	if test "x$make_lint_lib" = "xyes" ; then
   12059 		LINTLIB=llib-lXext.ln
   12060 	else
   12061 		LINTLIB=$make_lint_lib
   12062 	fi
   12063 fi
   12064 
   12065  if test x$make_lint_lib != xno; then
   12066   MAKE_LINT_LIB_TRUE=
   12067   MAKE_LINT_LIB_FALSE='#'
   12068 else
   12069   MAKE_LINT_LIB_TRUE='#'
   12070   MAKE_LINT_LIB_FALSE=
   12071 fi
   12072 
   12073 
   12074 
   12075 
   12076 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile xext.pc"
   12077 
   12078 cat >confcache <<\_ACEOF
   12079 # This file is a shell script that caches the results of configure
   12080 # tests run on this system so they can be shared between configure
   12081 # scripts and configure runs, see configure's option --config-cache.
   12082 # It is not useful on other systems.  If it contains results you don't
   12083 # want to keep, you may remove or edit it.
   12084 #
   12085 # config.status only pays attention to the cache file if you give it
   12086 # the --recheck option to rerun configure.
   12087 #
   12088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12090 # following values.
   12091 
   12092 _ACEOF
   12093 
   12094 # The following way of writing the cache mishandles newlines in values,
   12095 # but we know of no workaround that is simple, portable, and efficient.
   12096 # So, we kill variables containing newlines.
   12097 # Ultrix sh set writes to stderr and can't be redirected directly,
   12098 # and sets the high bit in the cache file unless we assign to the vars.
   12099 (
   12100   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12101     eval ac_val=\$$ac_var
   12102     case $ac_val in #(
   12103     *${as_nl}*)
   12104       case $ac_var in #(
   12105       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12106 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12107       esac
   12108       case $ac_var in #(
   12109       _ | IFS | as_nl) ;; #(
   12110       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12111       *) { eval $ac_var=; unset $ac_var;} ;;
   12112       esac ;;
   12113     esac
   12114   done
   12115 
   12116   (set) 2>&1 |
   12117     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12118     *${as_nl}ac_space=\ *)
   12119       # `set' does not quote correctly, so add quotes: double-quote
   12120       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12121       sed -n \
   12122 	"s/'/'\\\\''/g;
   12123 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12124       ;; #(
   12125     *)
   12126       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12127       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12128       ;;
   12129     esac |
   12130     sort
   12131 ) |
   12132   sed '
   12133      /^ac_cv_env_/b end
   12134      t clear
   12135      :clear
   12136      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12137      t end
   12138      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12139      :end' >>confcache
   12140 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12141   if test -w "$cache_file"; then
   12142     test "x$cache_file" != "x/dev/null" &&
   12143       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12144 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12145     cat confcache >$cache_file
   12146   else
   12147     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12148 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12149   fi
   12150 fi
   12151 rm -f confcache
   12152 
   12153 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12154 # Let make expand exec_prefix.
   12155 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12156 
   12157 DEFS=-DHAVE_CONFIG_H
   12158 
   12159 ac_libobjs=
   12160 ac_ltlibobjs=
   12161 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12162   # 1. Remove the extension, and $U if already installed.
   12163   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12164   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12165   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12166   #    will be set to the directory where LIBOBJS objects are built.
   12167   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12168   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12169 done
   12170 LIBOBJS=$ac_libobjs
   12171 
   12172 LTLIBOBJS=$ac_ltlibobjs
   12173 
   12174 
   12175  if test -n "$EXEEXT"; then
   12176   am__EXEEXT_TRUE=
   12177   am__EXEEXT_FALSE='#'
   12178 else
   12179   am__EXEEXT_TRUE='#'
   12180   am__EXEEXT_FALSE=
   12181 fi
   12182 
   12183 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12184   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
   12185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12186 fi
   12187 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12188   as_fn_error "conditional \"AMDEP\" was never defined.
   12189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12190 fi
   12191 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12192   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   12193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12194 fi
   12195 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12196   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   12197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12198 fi
   12199 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12200   as_fn_error "conditional \"LINT\" was never defined.
   12201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12202 fi
   12203 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   12204   as_fn_error "conditional \"MAKE_LINT_LIB\" was never defined.
   12205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12206 fi
   12207 
   12208 : ${CONFIG_STATUS=./config.status}
   12209 ac_write_fail=0
   12210 ac_clean_files_save=$ac_clean_files
   12211 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12213 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12214 as_write_fail=0
   12215 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12216 #! $SHELL
   12217 # Generated by $as_me.
   12218 # Run this file to recreate the current configuration.
   12219 # Compiler output produced by configure, useful for debugging
   12220 # configure, is in config.log if it exists.
   12221 
   12222 debug=false
   12223 ac_cs_recheck=false
   12224 ac_cs_silent=false
   12225 
   12226 SHELL=\${CONFIG_SHELL-$SHELL}
   12227 export SHELL
   12228 _ASEOF
   12229 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12230 ## -------------------- ##
   12231 ## M4sh Initialization. ##
   12232 ## -------------------- ##
   12233 
   12234 # Be more Bourne compatible
   12235 DUALCASE=1; export DUALCASE # for MKS sh
   12236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12237   emulate sh
   12238   NULLCMD=:
   12239   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12240   # is contrary to our usage.  Disable this feature.
   12241   alias -g '${1+"$@"}'='"$@"'
   12242   setopt NO_GLOB_SUBST
   12243 else
   12244   case `(set -o) 2>/dev/null` in #(
   12245   *posix*) :
   12246     set -o posix ;; #(
   12247   *) :
   12248      ;;
   12249 esac
   12250 fi
   12251 
   12252 
   12253 as_nl='
   12254 '
   12255 export as_nl
   12256 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12257 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12259 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12260 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12261 # but without wasting forks for bash or zsh.
   12262 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12263     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12264   as_echo='print -r --'
   12265   as_echo_n='print -rn --'
   12266 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12267   as_echo='printf %s\n'
   12268   as_echo_n='printf %s'
   12269 else
   12270   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12271     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12272     as_echo_n='/usr/ucb/echo -n'
   12273   else
   12274     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12275     as_echo_n_body='eval
   12276       arg=$1;
   12277       case $arg in #(
   12278       *"$as_nl"*)
   12279 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12280 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12281       esac;
   12282       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12283     '
   12284     export as_echo_n_body
   12285     as_echo_n='sh -c $as_echo_n_body as_echo'
   12286   fi
   12287   export as_echo_body
   12288   as_echo='sh -c $as_echo_body as_echo'
   12289 fi
   12290 
   12291 # The user is always right.
   12292 if test "${PATH_SEPARATOR+set}" != set; then
   12293   PATH_SEPARATOR=:
   12294   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12295     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12296       PATH_SEPARATOR=';'
   12297   }
   12298 fi
   12299 
   12300 
   12301 # IFS
   12302 # We need space, tab and new line, in precisely that order.  Quoting is
   12303 # there to prevent editors from complaining about space-tab.
   12304 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12305 # splitting by setting IFS to empty value.)
   12306 IFS=" ""	$as_nl"
   12307 
   12308 # Find who we are.  Look in the path if we contain no directory separator.
   12309 case $0 in #((
   12310   *[\\/]* ) as_myself=$0 ;;
   12311   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12312 for as_dir in $PATH
   12313 do
   12314   IFS=$as_save_IFS
   12315   test -z "$as_dir" && as_dir=.
   12316     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12317   done
   12318 IFS=$as_save_IFS
   12319 
   12320      ;;
   12321 esac
   12322 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12323 # in which case we are not to be found in the path.
   12324 if test "x$as_myself" = x; then
   12325   as_myself=$0
   12326 fi
   12327 if test ! -f "$as_myself"; then
   12328   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12329   exit 1
   12330 fi
   12331 
   12332 # Unset variables that we do not need and which cause bugs (e.g. in
   12333 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12334 # suppresses any "Segmentation fault" message there.  '((' could
   12335 # trigger a bug in pdksh 5.2.14.
   12336 for as_var in BASH_ENV ENV MAIL MAILPATH
   12337 do eval test x\${$as_var+set} = xset \
   12338   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12339 done
   12340 PS1='$ '
   12341 PS2='> '
   12342 PS4='+ '
   12343 
   12344 # NLS nuisances.
   12345 LC_ALL=C
   12346 export LC_ALL
   12347 LANGUAGE=C
   12348 export LANGUAGE
   12349 
   12350 # CDPATH.
   12351 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12352 
   12353 
   12354 # as_fn_error ERROR [LINENO LOG_FD]
   12355 # ---------------------------------
   12356 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12357 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12358 # script with status $?, using 1 if that was 0.
   12359 as_fn_error ()
   12360 {
   12361   as_status=$?; test $as_status -eq 0 && as_status=1
   12362   if test "$3"; then
   12363     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12364     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   12365   fi
   12366   $as_echo "$as_me: error: $1" >&2
   12367   as_fn_exit $as_status
   12368 } # as_fn_error
   12369 
   12370 
   12371 # as_fn_set_status STATUS
   12372 # -----------------------
   12373 # Set $? to STATUS, without forking.
   12374 as_fn_set_status ()
   12375 {
   12376   return $1
   12377 } # as_fn_set_status
   12378 
   12379 # as_fn_exit STATUS
   12380 # -----------------
   12381 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12382 as_fn_exit ()
   12383 {
   12384   set +e
   12385   as_fn_set_status $1
   12386   exit $1
   12387 } # as_fn_exit
   12388 
   12389 # as_fn_unset VAR
   12390 # ---------------
   12391 # Portably unset VAR.
   12392 as_fn_unset ()
   12393 {
   12394   { eval $1=; unset $1;}
   12395 }
   12396 as_unset=as_fn_unset
   12397 # as_fn_append VAR VALUE
   12398 # ----------------------
   12399 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12400 # advantage of any shell optimizations that allow amortized linear growth over
   12401 # repeated appends, instead of the typical quadratic growth present in naive
   12402 # implementations.
   12403 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12404   eval 'as_fn_append ()
   12405   {
   12406     eval $1+=\$2
   12407   }'
   12408 else
   12409   as_fn_append ()
   12410   {
   12411     eval $1=\$$1\$2
   12412   }
   12413 fi # as_fn_append
   12414 
   12415 # as_fn_arith ARG...
   12416 # ------------------
   12417 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12418 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12419 # must be portable across $(()) and expr.
   12420 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12421   eval 'as_fn_arith ()
   12422   {
   12423     as_val=$(( $* ))
   12424   }'
   12425 else
   12426   as_fn_arith ()
   12427   {
   12428     as_val=`expr "$@" || test $? -eq 1`
   12429   }
   12430 fi # as_fn_arith
   12431 
   12432 
   12433 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12435   as_expr=expr
   12436 else
   12437   as_expr=false
   12438 fi
   12439 
   12440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12441   as_basename=basename
   12442 else
   12443   as_basename=false
   12444 fi
   12445 
   12446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12447   as_dirname=dirname
   12448 else
   12449   as_dirname=false
   12450 fi
   12451 
   12452 as_me=`$as_basename -- "$0" ||
   12453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12454 	 X"$0" : 'X\(//\)$' \| \
   12455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12456 $as_echo X/"$0" |
   12457     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12458 	    s//\1/
   12459 	    q
   12460 	  }
   12461 	  /^X\/\(\/\/\)$/{
   12462 	    s//\1/
   12463 	    q
   12464 	  }
   12465 	  /^X\/\(\/\).*/{
   12466 	    s//\1/
   12467 	    q
   12468 	  }
   12469 	  s/.*/./; q'`
   12470 
   12471 # Avoid depending upon Character Ranges.
   12472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12475 as_cr_digits='0123456789'
   12476 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12477 
   12478 ECHO_C= ECHO_N= ECHO_T=
   12479 case `echo -n x` in #(((((
   12480 -n*)
   12481   case `echo 'xy\c'` in
   12482   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12483   xy)  ECHO_C='\c';;
   12484   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12485        ECHO_T='	';;
   12486   esac;;
   12487 *)
   12488   ECHO_N='-n';;
   12489 esac
   12490 
   12491 rm -f conf$$ conf$$.exe conf$$.file
   12492 if test -d conf$$.dir; then
   12493   rm -f conf$$.dir/conf$$.file
   12494 else
   12495   rm -f conf$$.dir
   12496   mkdir conf$$.dir 2>/dev/null
   12497 fi
   12498 if (echo >conf$$.file) 2>/dev/null; then
   12499   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12500     as_ln_s='ln -s'
   12501     # ... but there are two gotchas:
   12502     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12503     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12504     # In both cases, we have to default to `cp -p'.
   12505     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12506       as_ln_s='cp -p'
   12507   elif ln conf$$.file conf$$ 2>/dev/null; then
   12508     as_ln_s=ln
   12509   else
   12510     as_ln_s='cp -p'
   12511   fi
   12512 else
   12513   as_ln_s='cp -p'
   12514 fi
   12515 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12516 rmdir conf$$.dir 2>/dev/null
   12517 
   12518 
   12519 # as_fn_mkdir_p
   12520 # -------------
   12521 # Create "$as_dir" as a directory, including parents if necessary.
   12522 as_fn_mkdir_p ()
   12523 {
   12524 
   12525   case $as_dir in #(
   12526   -*) as_dir=./$as_dir;;
   12527   esac
   12528   test -d "$as_dir" || eval $as_mkdir_p || {
   12529     as_dirs=
   12530     while :; do
   12531       case $as_dir in #(
   12532       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12533       *) as_qdir=$as_dir;;
   12534       esac
   12535       as_dirs="'$as_qdir' $as_dirs"
   12536       as_dir=`$as_dirname -- "$as_dir" ||
   12537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12538 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12539 	 X"$as_dir" : 'X\(//\)$' \| \
   12540 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12541 $as_echo X"$as_dir" |
   12542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12543 	    s//\1/
   12544 	    q
   12545 	  }
   12546 	  /^X\(\/\/\)[^/].*/{
   12547 	    s//\1/
   12548 	    q
   12549 	  }
   12550 	  /^X\(\/\/\)$/{
   12551 	    s//\1/
   12552 	    q
   12553 	  }
   12554 	  /^X\(\/\).*/{
   12555 	    s//\1/
   12556 	    q
   12557 	  }
   12558 	  s/.*/./; q'`
   12559       test -d "$as_dir" && break
   12560     done
   12561     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12562   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   12563 
   12564 
   12565 } # as_fn_mkdir_p
   12566 if mkdir -p . 2>/dev/null; then
   12567   as_mkdir_p='mkdir -p "$as_dir"'
   12568 else
   12569   test -d ./-p && rmdir ./-p
   12570   as_mkdir_p=false
   12571 fi
   12572 
   12573 if test -x / >/dev/null 2>&1; then
   12574   as_test_x='test -x'
   12575 else
   12576   if ls -dL / >/dev/null 2>&1; then
   12577     as_ls_L_option=L
   12578   else
   12579     as_ls_L_option=
   12580   fi
   12581   as_test_x='
   12582     eval sh -c '\''
   12583       if test -d "$1"; then
   12584 	test -d "$1/.";
   12585       else
   12586 	case $1 in #(
   12587 	-*)set "./$1";;
   12588 	esac;
   12589 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12590 	???[sx]*):;;*)false;;esac;fi
   12591     '\'' sh
   12592   '
   12593 fi
   12594 as_executable_p=$as_test_x
   12595 
   12596 # Sed expression to map a string onto a valid CPP name.
   12597 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12598 
   12599 # Sed expression to map a string onto a valid variable name.
   12600 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12601 
   12602 
   12603 exec 6>&1
   12604 ## ----------------------------------- ##
   12605 ## Main body of $CONFIG_STATUS script. ##
   12606 ## ----------------------------------- ##
   12607 _ASEOF
   12608 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12609 
   12610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12611 # Save the log message, to keep $0 and so on meaningful, and to
   12612 # report actual input values of CONFIG_FILES etc. instead of their
   12613 # values after options handling.
   12614 ac_log="
   12615 This file was extended by libXext $as_me 1.1.2, which was
   12616 generated by GNU Autoconf 2.65.  Invocation command line was
   12617 
   12618   CONFIG_FILES    = $CONFIG_FILES
   12619   CONFIG_HEADERS  = $CONFIG_HEADERS
   12620   CONFIG_LINKS    = $CONFIG_LINKS
   12621   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12622   $ $0 $@
   12623 
   12624 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12625 "
   12626 
   12627 _ACEOF
   12628 
   12629 case $ac_config_files in *"
   12630 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12631 esac
   12632 
   12633 case $ac_config_headers in *"
   12634 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12635 esac
   12636 
   12637 
   12638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12639 # Files that config.status was made for.
   12640 config_files="$ac_config_files"
   12641 config_headers="$ac_config_headers"
   12642 config_commands="$ac_config_commands"
   12643 
   12644 _ACEOF
   12645 
   12646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12647 ac_cs_usage="\
   12648 \`$as_me' instantiates files and other configuration actions
   12649 from templates according to the current configuration.  Unless the files
   12650 and actions are specified as TAGs, all are instantiated by default.
   12651 
   12652 Usage: $0 [OPTION]... [TAG]...
   12653 
   12654   -h, --help       print this help, then exit
   12655   -V, --version    print version number and configuration settings, then exit
   12656       --config     print configuration, then exit
   12657   -q, --quiet, --silent
   12658                    do not print progress messages
   12659   -d, --debug      don't remove temporary files
   12660       --recheck    update $as_me by reconfiguring in the same conditions
   12661       --file=FILE[:TEMPLATE]
   12662                    instantiate the configuration file FILE
   12663       --header=FILE[:TEMPLATE]
   12664                    instantiate the configuration header FILE
   12665 
   12666 Configuration files:
   12667 $config_files
   12668 
   12669 Configuration headers:
   12670 $config_headers
   12671 
   12672 Configuration commands:
   12673 $config_commands
   12674 
   12675 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12676 
   12677 _ACEOF
   12678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12679 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12680 ac_cs_version="\\
   12681 libXext config.status 1.1.2
   12682 configured by $0, generated by GNU Autoconf 2.65,
   12683   with options \\"\$ac_cs_config\\"
   12684 
   12685 Copyright (C) 2009 Free Software Foundation, Inc.
   12686 This config.status script is free software; the Free Software Foundation
   12687 gives unlimited permission to copy, distribute and modify it."
   12688 
   12689 ac_pwd='$ac_pwd'
   12690 srcdir='$srcdir'
   12691 INSTALL='$INSTALL'
   12692 MKDIR_P='$MKDIR_P'
   12693 AWK='$AWK'
   12694 test -n "\$AWK" || AWK=awk
   12695 _ACEOF
   12696 
   12697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12698 # The default lists apply if the user does not specify any file.
   12699 ac_need_defaults=:
   12700 while test $# != 0
   12701 do
   12702   case $1 in
   12703   --*=*)
   12704     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12705     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12706     ac_shift=:
   12707     ;;
   12708   *)
   12709     ac_option=$1
   12710     ac_optarg=$2
   12711     ac_shift=shift
   12712     ;;
   12713   esac
   12714 
   12715   case $ac_option in
   12716   # Handling of the options.
   12717   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12718     ac_cs_recheck=: ;;
   12719   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12720     $as_echo "$ac_cs_version"; exit ;;
   12721   --config | --confi | --conf | --con | --co | --c )
   12722     $as_echo "$ac_cs_config"; exit ;;
   12723   --debug | --debu | --deb | --de | --d | -d )
   12724     debug=: ;;
   12725   --file | --fil | --fi | --f )
   12726     $ac_shift
   12727     case $ac_optarg in
   12728     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12729     esac
   12730     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12731     ac_need_defaults=false;;
   12732   --header | --heade | --head | --hea )
   12733     $ac_shift
   12734     case $ac_optarg in
   12735     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12736     esac
   12737     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12738     ac_need_defaults=false;;
   12739   --he | --h)
   12740     # Conflict between --help and --header
   12741     as_fn_error "ambiguous option: \`$1'
   12742 Try \`$0 --help' for more information.";;
   12743   --help | --hel | -h )
   12744     $as_echo "$ac_cs_usage"; exit ;;
   12745   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12746   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12747     ac_cs_silent=: ;;
   12748 
   12749   # This is an error.
   12750   -*) as_fn_error "unrecognized option: \`$1'
   12751 Try \`$0 --help' for more information." ;;
   12752 
   12753   *) as_fn_append ac_config_targets " $1"
   12754      ac_need_defaults=false ;;
   12755 
   12756   esac
   12757   shift
   12758 done
   12759 
   12760 ac_configure_extra_args=
   12761 
   12762 if $ac_cs_silent; then
   12763   exec 6>/dev/null
   12764   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12765 fi
   12766 
   12767 _ACEOF
   12768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12769 if \$ac_cs_recheck; then
   12770   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12771   shift
   12772   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12773   CONFIG_SHELL='$SHELL'
   12774   export CONFIG_SHELL
   12775   exec "\$@"
   12776 fi
   12777 
   12778 _ACEOF
   12779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12780 exec 5>>config.log
   12781 {
   12782   echo
   12783   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12784 ## Running $as_me. ##
   12785 _ASBOX
   12786   $as_echo "$ac_log"
   12787 } >&5
   12788 
   12789 _ACEOF
   12790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12791 #
   12792 # INIT-COMMANDS
   12793 #
   12794 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12795 
   12796 
   12797 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12798 # if CDPATH is set.
   12799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12800 
   12801 sed_quote_subst='$sed_quote_subst'
   12802 double_quote_subst='$double_quote_subst'
   12803 delay_variable_subst='$delay_variable_subst'
   12804 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12805 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12806 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12807 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12808 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12809 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12810 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12811 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12812 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12813 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12814 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12815 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12816 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12817 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12818 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12819 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12820 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12821 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12822 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12823 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12824 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12825 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12826 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12827 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12828 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12829 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12830 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12831 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12832 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12833 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12834 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12835 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12836 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12837 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12838 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12839 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12840 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12841 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12842 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12843 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12844 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12845 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12846 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12847 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12848 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   12849 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12850 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12851 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12852 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12853 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12854 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12855 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12856 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12857 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12858 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12859 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12860 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12861 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12862 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12863 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12864 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12865 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12866 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12867 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12868 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12869 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12870 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12871 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12872 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12873 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12874 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12875 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12876 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12877 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12878 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12879 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12880 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12881 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12882 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12883 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12884 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12885 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12886 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12887 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12888 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12889 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12890 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12891 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12892 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12893 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12894 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12895 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12896 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12897 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12898 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12899 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12900 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12901 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12902 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12903 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12904 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12905 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12906 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12907 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12908 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12909 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12910 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12911 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12912 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12913 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12914 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12915 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12916 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12917 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12918 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12919 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12920 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12921 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12922 
   12923 LTCC='$LTCC'
   12924 LTCFLAGS='$LTCFLAGS'
   12925 compiler='$compiler_DEFAULT'
   12926 
   12927 # Quote evaled strings.
   12928 for var in SED \
   12929 GREP \
   12930 EGREP \
   12931 FGREP \
   12932 LD \
   12933 NM \
   12934 LN_S \
   12935 lt_SP2NL \
   12936 lt_NL2SP \
   12937 reload_flag \
   12938 OBJDUMP \
   12939 deplibs_check_method \
   12940 file_magic_cmd \
   12941 AR \
   12942 AR_FLAGS \
   12943 STRIP \
   12944 RANLIB \
   12945 CC \
   12946 CFLAGS \
   12947 compiler \
   12948 lt_cv_sys_global_symbol_pipe \
   12949 lt_cv_sys_global_symbol_to_cdecl \
   12950 lt_cv_sys_global_symbol_to_c_name_address \
   12951 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12952 SHELL \
   12953 ECHO \
   12954 lt_prog_compiler_no_builtin_flag \
   12955 lt_prog_compiler_wl \
   12956 lt_prog_compiler_pic \
   12957 lt_prog_compiler_static \
   12958 lt_cv_prog_compiler_c_o \
   12959 need_locks \
   12960 DSYMUTIL \
   12961 NMEDIT \
   12962 LIPO \
   12963 OTOOL \
   12964 OTOOL64 \
   12965 shrext_cmds \
   12966 export_dynamic_flag_spec \
   12967 whole_archive_flag_spec \
   12968 compiler_needs_object \
   12969 with_gnu_ld \
   12970 allow_undefined_flag \
   12971 no_undefined_flag \
   12972 hardcode_libdir_flag_spec \
   12973 hardcode_libdir_flag_spec_ld \
   12974 hardcode_libdir_separator \
   12975 fix_srcfile_path \
   12976 exclude_expsyms \
   12977 include_expsyms \
   12978 file_list_spec \
   12979 variables_saved_for_relink \
   12980 libname_spec \
   12981 library_names_spec \
   12982 soname_spec \
   12983 finish_eval \
   12984 old_striplib \
   12985 striplib; do
   12986     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12987     *[\\\\\\\`\\"\\\$]*)
   12988       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12989       ;;
   12990     *)
   12991       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12992       ;;
   12993     esac
   12994 done
   12995 
   12996 # Double-quote double-evaled strings.
   12997 for var in reload_cmds \
   12998 old_postinstall_cmds \
   12999 old_postuninstall_cmds \
   13000 old_archive_cmds \
   13001 extract_expsyms_cmds \
   13002 old_archive_from_new_cmds \
   13003 old_archive_from_expsyms_cmds \
   13004 archive_cmds \
   13005 archive_expsym_cmds \
   13006 module_cmds \
   13007 module_expsym_cmds \
   13008 export_symbols_cmds \
   13009 prelink_cmds \
   13010 postinstall_cmds \
   13011 postuninstall_cmds \
   13012 finish_cmds \
   13013 sys_lib_search_path_spec \
   13014 sys_lib_dlsearch_path_spec; do
   13015     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13016     *[\\\\\\\`\\"\\\$]*)
   13017       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13018       ;;
   13019     *)
   13020       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13021       ;;
   13022     esac
   13023 done
   13024 
   13025 # Fix-up fallback echo if it was mangled by the above quoting rules.
   13026 case \$lt_ECHO in
   13027 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   13028   ;;
   13029 esac
   13030 
   13031 ac_aux_dir='$ac_aux_dir'
   13032 xsi_shell='$xsi_shell'
   13033 lt_shell_append='$lt_shell_append'
   13034 
   13035 # See if we are running on zsh, and set the options which allow our
   13036 # commands through without removal of \ escapes INIT.
   13037 if test -n "\${ZSH_VERSION+set}" ; then
   13038    setopt NO_GLOB_SUBST
   13039 fi
   13040 
   13041 
   13042     PACKAGE='$PACKAGE'
   13043     VERSION='$VERSION'
   13044     TIMESTAMP='$TIMESTAMP'
   13045     RM='$RM'
   13046     ofile='$ofile'
   13047 
   13048 
   13049 
   13050 
   13051 _ACEOF
   13052 
   13053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13054 
   13055 # Handling of arguments.
   13056 for ac_config_target in $ac_config_targets
   13057 do
   13058   case $ac_config_target in
   13059     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13060     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13061     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13062     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13063     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13064     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13065     "xext.pc") CONFIG_FILES="$CONFIG_FILES xext.pc" ;;
   13066 
   13067   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13068   esac
   13069 done
   13070 
   13071 
   13072 # If the user did not use the arguments to specify the items to instantiate,
   13073 # then the envvar interface is used.  Set only those that are not.
   13074 # We use the long form for the default assignment because of an extremely
   13075 # bizarre bug on SunOS 4.1.3.
   13076 if $ac_need_defaults; then
   13077   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13078   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13079   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13080 fi
   13081 
   13082 # Have a temporary directory for convenience.  Make it in the build tree
   13083 # simply because there is no reason against having it here, and in addition,
   13084 # creating and moving files from /tmp can sometimes cause problems.
   13085 # Hook for its removal unless debugging.
   13086 # Note that there is a small window in which the directory will not be cleaned:
   13087 # after its creation but before its name has been assigned to `$tmp'.
   13088 $debug ||
   13089 {
   13090   tmp=
   13091   trap 'exit_status=$?
   13092   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   13093 ' 0
   13094   trap 'as_fn_exit 1' 1 2 13 15
   13095 }
   13096 # Create a (secure) tmp directory for tmp files.
   13097 
   13098 {
   13099   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13100   test -n "$tmp" && test -d "$tmp"
   13101 }  ||
   13102 {
   13103   tmp=./conf$$-$RANDOM
   13104   (umask 077 && mkdir "$tmp")
   13105 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   13106 
   13107 # Set up the scripts for CONFIG_FILES section.
   13108 # No need to generate them if there are no CONFIG_FILES.
   13109 # This happens for instance with `./config.status config.h'.
   13110 if test -n "$CONFIG_FILES"; then
   13111 
   13112 
   13113 ac_cr=`echo X | tr X '\015'`
   13114 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13115 # But we know of no other shell where ac_cr would be empty at this
   13116 # point, so we can use a bashism as a fallback.
   13117 if test "x$ac_cr" = x; then
   13118   eval ac_cr=\$\'\\r\'
   13119 fi
   13120 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13121 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13122   ac_cs_awk_cr='\r'
   13123 else
   13124   ac_cs_awk_cr=$ac_cr
   13125 fi
   13126 
   13127 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   13128 _ACEOF
   13129 
   13130 
   13131 {
   13132   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13133   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13134   echo "_ACEOF"
   13135 } >conf$$subs.sh ||
   13136   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   13137 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   13138 ac_delim='%!_!# '
   13139 for ac_last_try in false false false false false :; do
   13140   . ./conf$$subs.sh ||
   13141     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   13142 
   13143   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13144   if test $ac_delim_n = $ac_delim_num; then
   13145     break
   13146   elif $ac_last_try; then
   13147     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   13148   else
   13149     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13150   fi
   13151 done
   13152 rm -f conf$$subs.sh
   13153 
   13154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13155 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   13156 _ACEOF
   13157 sed -n '
   13158 h
   13159 s/^/S["/; s/!.*/"]=/
   13160 p
   13161 g
   13162 s/^[^!]*!//
   13163 :repl
   13164 t repl
   13165 s/'"$ac_delim"'$//
   13166 t delim
   13167 :nl
   13168 h
   13169 s/\(.\{148\}\)..*/\1/
   13170 t more1
   13171 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13172 p
   13173 n
   13174 b repl
   13175 :more1
   13176 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13177 p
   13178 g
   13179 s/.\{148\}//
   13180 t nl
   13181 :delim
   13182 h
   13183 s/\(.\{148\}\)..*/\1/
   13184 t more2
   13185 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13186 p
   13187 b
   13188 :more2
   13189 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13190 p
   13191 g
   13192 s/.\{148\}//
   13193 t delim
   13194 ' <conf$$subs.awk | sed '
   13195 /^[^""]/{
   13196   N
   13197   s/\n//
   13198 }
   13199 ' >>$CONFIG_STATUS || ac_write_fail=1
   13200 rm -f conf$$subs.awk
   13201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13202 _ACAWK
   13203 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   13204   for (key in S) S_is_set[key] = 1
   13205   FS = ""
   13206 
   13207 }
   13208 {
   13209   line = $ 0
   13210   nfields = split(line, field, "@")
   13211   substed = 0
   13212   len = length(field[1])
   13213   for (i = 2; i < nfields; i++) {
   13214     key = field[i]
   13215     keylen = length(key)
   13216     if (S_is_set[key]) {
   13217       value = S[key]
   13218       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13219       len += length(value) + length(field[++i])
   13220       substed = 1
   13221     } else
   13222       len += 1 + keylen
   13223   }
   13224 
   13225   print line
   13226 }
   13227 
   13228 _ACAWK
   13229 _ACEOF
   13230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13231 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13232   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13233 else
   13234   cat
   13235 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13236   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   13237 _ACEOF
   13238 
   13239 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13240 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13241 # trailing colons and then remove the whole line if VPATH becomes empty
   13242 # (actually we leave an empty line to preserve line numbers).
   13243 if test "x$srcdir" = x.; then
   13244   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13245 s/:*\$(srcdir):*/:/
   13246 s/:*\${srcdir}:*/:/
   13247 s/:*@srcdir@:*/:/
   13248 s/^\([^=]*=[	 ]*\):*/\1/
   13249 s/:*$//
   13250 s/^[^=]*=[	 ]*$//
   13251 }'
   13252 fi
   13253 
   13254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13255 fi # test -n "$CONFIG_FILES"
   13256 
   13257 # Set up the scripts for CONFIG_HEADERS section.
   13258 # No need to generate them if there are no CONFIG_HEADERS.
   13259 # This happens for instance with `./config.status Makefile'.
   13260 if test -n "$CONFIG_HEADERS"; then
   13261 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13262 BEGIN {
   13263 _ACEOF
   13264 
   13265 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13266 # here-document in config.status, that substitutes the proper values into
   13267 # config.h.in to produce config.h.
   13268 
   13269 # Create a delimiter string that does not exist in confdefs.h, to ease
   13270 # handling of long lines.
   13271 ac_delim='%!_!# '
   13272 for ac_last_try in false false :; do
   13273   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13274   if test -z "$ac_t"; then
   13275     break
   13276   elif $ac_last_try; then
   13277     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   13278   else
   13279     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13280   fi
   13281 done
   13282 
   13283 # For the awk script, D is an array of macro values keyed by name,
   13284 # likewise P contains macro parameters if any.  Preserve backslash
   13285 # newline sequences.
   13286 
   13287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13288 sed -n '
   13289 s/.\{148\}/&'"$ac_delim"'/g
   13290 t rset
   13291 :rset
   13292 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13293 t def
   13294 d
   13295 :def
   13296 s/\\$//
   13297 t bsnl
   13298 s/["\\]/\\&/g
   13299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13300 D["\1"]=" \3"/p
   13301 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13302 d
   13303 :bsnl
   13304 s/["\\]/\\&/g
   13305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13306 D["\1"]=" \3\\\\\\n"\\/p
   13307 t cont
   13308 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13309 t cont
   13310 d
   13311 :cont
   13312 n
   13313 s/.\{148\}/&'"$ac_delim"'/g
   13314 t clear
   13315 :clear
   13316 s/\\$//
   13317 t bsnlc
   13318 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13319 d
   13320 :bsnlc
   13321 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13322 b cont
   13323 ' <confdefs.h | sed '
   13324 s/'"$ac_delim"'/"\\\
   13325 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13326 
   13327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13328   for (key in D) D_is_set[key] = 1
   13329   FS = ""
   13330 }
   13331 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13332   line = \$ 0
   13333   split(line, arg, " ")
   13334   if (arg[1] == "#") {
   13335     defundef = arg[2]
   13336     mac1 = arg[3]
   13337   } else {
   13338     defundef = substr(arg[1], 2)
   13339     mac1 = arg[2]
   13340   }
   13341   split(mac1, mac2, "(") #)
   13342   macro = mac2[1]
   13343   prefix = substr(line, 1, index(line, defundef) - 1)
   13344   if (D_is_set[macro]) {
   13345     # Preserve the white space surrounding the "#".
   13346     print prefix "define", macro P[macro] D[macro]
   13347     next
   13348   } else {
   13349     # Replace #undef with comments.  This is necessary, for example,
   13350     # in the case of _POSIX_SOURCE, which is predefined and required
   13351     # on some systems where configure will not decide to define it.
   13352     if (defundef == "undef") {
   13353       print "/*", prefix defundef, macro, "*/"
   13354       next
   13355     }
   13356   }
   13357 }
   13358 { print }
   13359 _ACAWK
   13360 _ACEOF
   13361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13362   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   13363 fi # test -n "$CONFIG_HEADERS"
   13364 
   13365 
   13366 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13367 shift
   13368 for ac_tag
   13369 do
   13370   case $ac_tag in
   13371   :[FHLC]) ac_mode=$ac_tag; continue;;
   13372   esac
   13373   case $ac_mode$ac_tag in
   13374   :[FHL]*:*);;
   13375   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13376   :[FH]-) ac_tag=-:-;;
   13377   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13378   esac
   13379   ac_save_IFS=$IFS
   13380   IFS=:
   13381   set x $ac_tag
   13382   IFS=$ac_save_IFS
   13383   shift
   13384   ac_file=$1
   13385   shift
   13386 
   13387   case $ac_mode in
   13388   :L) ac_source=$1;;
   13389   :[FH])
   13390     ac_file_inputs=
   13391     for ac_f
   13392     do
   13393       case $ac_f in
   13394       -) ac_f="$tmp/stdin";;
   13395       *) # Look for the file first in the build tree, then in the source tree
   13396 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13397 	 # because $ac_f cannot contain `:'.
   13398 	 test -f "$ac_f" ||
   13399 	   case $ac_f in
   13400 	   [\\/$]*) false;;
   13401 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13402 	   esac ||
   13403 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13404       esac
   13405       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13406       as_fn_append ac_file_inputs " '$ac_f'"
   13407     done
   13408 
   13409     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13410     # use $as_me), people would be surprised to read:
   13411     #    /* config.h.  Generated by config.status.  */
   13412     configure_input='Generated from '`
   13413 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13414 	`' by configure.'
   13415     if test x"$ac_file" != x-; then
   13416       configure_input="$ac_file.  $configure_input"
   13417       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13418 $as_echo "$as_me: creating $ac_file" >&6;}
   13419     fi
   13420     # Neutralize special characters interpreted by sed in replacement strings.
   13421     case $configure_input in #(
   13422     *\&* | *\|* | *\\* )
   13423        ac_sed_conf_input=`$as_echo "$configure_input" |
   13424        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13425     *) ac_sed_conf_input=$configure_input;;
   13426     esac
   13427 
   13428     case $ac_tag in
   13429     *:-:* | *:-) cat >"$tmp/stdin" \
   13430       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   13431     esac
   13432     ;;
   13433   esac
   13434 
   13435   ac_dir=`$as_dirname -- "$ac_file" ||
   13436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13437 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13438 	 X"$ac_file" : 'X\(//\)$' \| \
   13439 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13440 $as_echo X"$ac_file" |
   13441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13442 	    s//\1/
   13443 	    q
   13444 	  }
   13445 	  /^X\(\/\/\)[^/].*/{
   13446 	    s//\1/
   13447 	    q
   13448 	  }
   13449 	  /^X\(\/\/\)$/{
   13450 	    s//\1/
   13451 	    q
   13452 	  }
   13453 	  /^X\(\/\).*/{
   13454 	    s//\1/
   13455 	    q
   13456 	  }
   13457 	  s/.*/./; q'`
   13458   as_dir="$ac_dir"; as_fn_mkdir_p
   13459   ac_builddir=.
   13460 
   13461 case "$ac_dir" in
   13462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13463 *)
   13464   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13465   # A ".." for each directory in $ac_dir_suffix.
   13466   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13467   case $ac_top_builddir_sub in
   13468   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13469   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13470   esac ;;
   13471 esac
   13472 ac_abs_top_builddir=$ac_pwd
   13473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13474 # for backward compatibility:
   13475 ac_top_builddir=$ac_top_build_prefix
   13476 
   13477 case $srcdir in
   13478   .)  # We are building in place.
   13479     ac_srcdir=.
   13480     ac_top_srcdir=$ac_top_builddir_sub
   13481     ac_abs_top_srcdir=$ac_pwd ;;
   13482   [\\/]* | ?:[\\/]* )  # Absolute name.
   13483     ac_srcdir=$srcdir$ac_dir_suffix;
   13484     ac_top_srcdir=$srcdir
   13485     ac_abs_top_srcdir=$srcdir ;;
   13486   *) # Relative name.
   13487     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13488     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13489     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13490 esac
   13491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13492 
   13493 
   13494   case $ac_mode in
   13495   :F)
   13496   #
   13497   # CONFIG_FILE
   13498   #
   13499 
   13500   case $INSTALL in
   13501   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13502   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13503   esac
   13504   ac_MKDIR_P=$MKDIR_P
   13505   case $MKDIR_P in
   13506   [\\/$]* | ?:[\\/]* ) ;;
   13507   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13508   esac
   13509 _ACEOF
   13510 
   13511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13512 # If the template does not know about datarootdir, expand it.
   13513 # FIXME: This hack should be removed a few years after 2.60.
   13514 ac_datarootdir_hack=; ac_datarootdir_seen=
   13515 ac_sed_dataroot='
   13516 /datarootdir/ {
   13517   p
   13518   q
   13519 }
   13520 /@datadir@/p
   13521 /@docdir@/p
   13522 /@infodir@/p
   13523 /@localedir@/p
   13524 /@mandir@/p'
   13525 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13526 *datarootdir*) ac_datarootdir_seen=yes;;
   13527 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13528   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13529 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13530 _ACEOF
   13531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13532   ac_datarootdir_hack='
   13533   s&@datadir@&$datadir&g
   13534   s&@docdir@&$docdir&g
   13535   s&@infodir@&$infodir&g
   13536   s&@localedir@&$localedir&g
   13537   s&@mandir@&$mandir&g
   13538   s&\\\${datarootdir}&$datarootdir&g' ;;
   13539 esac
   13540 _ACEOF
   13541 
   13542 # Neutralize VPATH when `$srcdir' = `.'.
   13543 # Shell code in configure.ac might set extrasub.
   13544 # FIXME: do we really want to maintain this feature?
   13545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13546 ac_sed_extra="$ac_vpsub
   13547 $extrasub
   13548 _ACEOF
   13549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13550 :t
   13551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13552 s|@configure_input@|$ac_sed_conf_input|;t t
   13553 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13554 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13555 s&@srcdir@&$ac_srcdir&;t t
   13556 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13557 s&@top_srcdir@&$ac_top_srcdir&;t t
   13558 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13559 s&@builddir@&$ac_builddir&;t t
   13560 s&@abs_builddir@&$ac_abs_builddir&;t t
   13561 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13562 s&@INSTALL@&$ac_INSTALL&;t t
   13563 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13564 $ac_datarootdir_hack
   13565 "
   13566 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13567   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13568 
   13569 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13570   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13571   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13572   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13573 which seems to be undefined.  Please make sure it is defined." >&5
   13574 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13575 which seems to be undefined.  Please make sure it is defined." >&2;}
   13576 
   13577   rm -f "$tmp/stdin"
   13578   case $ac_file in
   13579   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13580   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13581   esac \
   13582   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13583  ;;
   13584   :H)
   13585   #
   13586   # CONFIG_HEADER
   13587   #
   13588   if test x"$ac_file" != x-; then
   13589     {
   13590       $as_echo "/* $configure_input  */" \
   13591       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13592     } >"$tmp/config.h" \
   13593       || as_fn_error "could not create $ac_file" "$LINENO" 5
   13594     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13595       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13596 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13597     else
   13598       rm -f "$ac_file"
   13599       mv "$tmp/config.h" "$ac_file" \
   13600 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   13601     fi
   13602   else
   13603     $as_echo "/* $configure_input  */" \
   13604       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13605       || as_fn_error "could not create -" "$LINENO" 5
   13606   fi
   13607 # Compute "$ac_file"'s index in $config_headers.
   13608 _am_arg="$ac_file"
   13609 _am_stamp_count=1
   13610 for _am_header in $config_headers :; do
   13611   case $_am_header in
   13612     $_am_arg | $_am_arg:* )
   13613       break ;;
   13614     * )
   13615       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13616   esac
   13617 done
   13618 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13619 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13620 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13621 	 X"$_am_arg" : 'X\(//\)$' \| \
   13622 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13623 $as_echo X"$_am_arg" |
   13624     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13625 	    s//\1/
   13626 	    q
   13627 	  }
   13628 	  /^X\(\/\/\)[^/].*/{
   13629 	    s//\1/
   13630 	    q
   13631 	  }
   13632 	  /^X\(\/\/\)$/{
   13633 	    s//\1/
   13634 	    q
   13635 	  }
   13636 	  /^X\(\/\).*/{
   13637 	    s//\1/
   13638 	    q
   13639 	  }
   13640 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13641  ;;
   13642 
   13643   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13644 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13645  ;;
   13646   esac
   13647 
   13648 
   13649   case $ac_file$ac_mode in
   13650     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13651   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13652   # are listed without --file.  Let's play safe and only enable the eval
   13653   # if we detect the quoting.
   13654   case $CONFIG_FILES in
   13655   *\'*) eval set x "$CONFIG_FILES" ;;
   13656   *)   set x $CONFIG_FILES ;;
   13657   esac
   13658   shift
   13659   for mf
   13660   do
   13661     # Strip MF so we end up with the name of the file.
   13662     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13663     # Check whether this is an Automake generated Makefile or not.
   13664     # We used to match only the files named `Makefile.in', but
   13665     # some people rename them; so instead we look at the file content.
   13666     # Grep'ing the first line is not enough: some people post-process
   13667     # each Makefile.in and add a new line on top of each file to say so.
   13668     # Grep'ing the whole file is not good either: AIX grep has a line
   13669     # limit of 2048, but all sed's we know have understand at least 4000.
   13670     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13671       dirpart=`$as_dirname -- "$mf" ||
   13672 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13673 	 X"$mf" : 'X\(//\)[^/]' \| \
   13674 	 X"$mf" : 'X\(//\)$' \| \
   13675 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13676 $as_echo X"$mf" |
   13677     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13678 	    s//\1/
   13679 	    q
   13680 	  }
   13681 	  /^X\(\/\/\)[^/].*/{
   13682 	    s//\1/
   13683 	    q
   13684 	  }
   13685 	  /^X\(\/\/\)$/{
   13686 	    s//\1/
   13687 	    q
   13688 	  }
   13689 	  /^X\(\/\).*/{
   13690 	    s//\1/
   13691 	    q
   13692 	  }
   13693 	  s/.*/./; q'`
   13694     else
   13695       continue
   13696     fi
   13697     # Extract the definition of DEPDIR, am__include, and am__quote
   13698     # from the Makefile without running `make'.
   13699     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13700     test -z "$DEPDIR" && continue
   13701     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13702     test -z "am__include" && continue
   13703     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13704     # When using ansi2knr, U may be empty or an underscore; expand it
   13705     U=`sed -n 's/^U = //p' < "$mf"`
   13706     # Find all dependency output files, they are included files with
   13707     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13708     # simplest approach to changing $(DEPDIR) to its actual value in the
   13709     # expansion.
   13710     for file in `sed -n "
   13711       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13712 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13713       # Make sure the directory exists.
   13714       test -f "$dirpart/$file" && continue
   13715       fdir=`$as_dirname -- "$file" ||
   13716 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13717 	 X"$file" : 'X\(//\)[^/]' \| \
   13718 	 X"$file" : 'X\(//\)$' \| \
   13719 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13720 $as_echo X"$file" |
   13721     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13722 	    s//\1/
   13723 	    q
   13724 	  }
   13725 	  /^X\(\/\/\)[^/].*/{
   13726 	    s//\1/
   13727 	    q
   13728 	  }
   13729 	  /^X\(\/\/\)$/{
   13730 	    s//\1/
   13731 	    q
   13732 	  }
   13733 	  /^X\(\/\).*/{
   13734 	    s//\1/
   13735 	    q
   13736 	  }
   13737 	  s/.*/./; q'`
   13738       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13739       # echo "creating $dirpart/$file"
   13740       echo '# dummy' > "$dirpart/$file"
   13741     done
   13742   done
   13743 }
   13744  ;;
   13745     "libtool":C)
   13746 
   13747     # See if we are running on zsh, and set the options which allow our
   13748     # commands through without removal of \ escapes.
   13749     if test -n "${ZSH_VERSION+set}" ; then
   13750       setopt NO_GLOB_SUBST
   13751     fi
   13752 
   13753     cfgfile="${ofile}T"
   13754     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13755     $RM "$cfgfile"
   13756 
   13757     cat <<_LT_EOF >> "$cfgfile"
   13758 #! $SHELL
   13759 
   13760 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13761 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13762 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13763 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13764 #
   13765 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13766 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13767 #   Written by Gordon Matzigkeit, 1996
   13768 #
   13769 #   This file is part of GNU Libtool.
   13770 #
   13771 # GNU Libtool is free software; you can redistribute it and/or
   13772 # modify it under the terms of the GNU General Public License as
   13773 # published by the Free Software Foundation; either version 2 of
   13774 # the License, or (at your option) any later version.
   13775 #
   13776 # As a special exception to the GNU General Public License,
   13777 # if you distribute this file as part of a program or library that
   13778 # is built using GNU Libtool, you may include this file under the
   13779 # same distribution terms that you use for the rest of that program.
   13780 #
   13781 # GNU Libtool is distributed in the hope that it will be useful,
   13782 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13784 # GNU General Public License for more details.
   13785 #
   13786 # You should have received a copy of the GNU General Public License
   13787 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13788 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13789 # obtained by writing to the Free Software Foundation, Inc.,
   13790 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13791 
   13792 
   13793 # The names of the tagged configurations supported by this script.
   13794 available_tags=""
   13795 
   13796 # ### BEGIN LIBTOOL CONFIG
   13797 
   13798 # Which release of libtool.m4 was used?
   13799 macro_version=$macro_version
   13800 macro_revision=$macro_revision
   13801 
   13802 # Whether or not to build shared libraries.
   13803 build_libtool_libs=$enable_shared
   13804 
   13805 # Whether or not to build static libraries.
   13806 build_old_libs=$enable_static
   13807 
   13808 # What type of objects to build.
   13809 pic_mode=$pic_mode
   13810 
   13811 # Whether or not to optimize for fast installation.
   13812 fast_install=$enable_fast_install
   13813 
   13814 # The host system.
   13815 host_alias=$host_alias
   13816 host=$host
   13817 host_os=$host_os
   13818 
   13819 # The build system.
   13820 build_alias=$build_alias
   13821 build=$build
   13822 build_os=$build_os
   13823 
   13824 # A sed program that does not truncate output.
   13825 SED=$lt_SED
   13826 
   13827 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13828 Xsed="\$SED -e 1s/^X//"
   13829 
   13830 # A grep program that handles long lines.
   13831 GREP=$lt_GREP
   13832 
   13833 # An ERE matcher.
   13834 EGREP=$lt_EGREP
   13835 
   13836 # A literal string matcher.
   13837 FGREP=$lt_FGREP
   13838 
   13839 # A BSD- or MS-compatible name lister.
   13840 NM=$lt_NM
   13841 
   13842 # Whether we need soft or hard links.
   13843 LN_S=$lt_LN_S
   13844 
   13845 # What is the maximum length of a command?
   13846 max_cmd_len=$max_cmd_len
   13847 
   13848 # Object file suffix (normally "o").
   13849 objext=$ac_objext
   13850 
   13851 # Executable file suffix (normally "").
   13852 exeext=$exeext
   13853 
   13854 # whether the shell understands "unset".
   13855 lt_unset=$lt_unset
   13856 
   13857 # turn spaces into newlines.
   13858 SP2NL=$lt_lt_SP2NL
   13859 
   13860 # turn newlines into spaces.
   13861 NL2SP=$lt_lt_NL2SP
   13862 
   13863 # How to create reloadable object files.
   13864 reload_flag=$lt_reload_flag
   13865 reload_cmds=$lt_reload_cmds
   13866 
   13867 # An object symbol dumper.
   13868 OBJDUMP=$lt_OBJDUMP
   13869 
   13870 # Method to check whether dependent libraries are shared objects.
   13871 deplibs_check_method=$lt_deplibs_check_method
   13872 
   13873 # Command to use when deplibs_check_method == "file_magic".
   13874 file_magic_cmd=$lt_file_magic_cmd
   13875 
   13876 # The archiver.
   13877 AR=$lt_AR
   13878 AR_FLAGS=$lt_AR_FLAGS
   13879 
   13880 # A symbol stripping program.
   13881 STRIP=$lt_STRIP
   13882 
   13883 # Commands used to install an old-style archive.
   13884 RANLIB=$lt_RANLIB
   13885 old_postinstall_cmds=$lt_old_postinstall_cmds
   13886 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13887 
   13888 # A C compiler.
   13889 LTCC=$lt_CC
   13890 
   13891 # LTCC compiler flags.
   13892 LTCFLAGS=$lt_CFLAGS
   13893 
   13894 # Take the output of nm and produce a listing of raw symbols and C names.
   13895 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13896 
   13897 # Transform the output of nm in a proper C declaration.
   13898 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13899 
   13900 # Transform the output of nm in a C name address pair.
   13901 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13902 
   13903 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13904 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13905 
   13906 # The name of the directory that contains temporary libtool files.
   13907 objdir=$objdir
   13908 
   13909 # Shell to use when invoking shell scripts.
   13910 SHELL=$lt_SHELL
   13911 
   13912 # An echo program that does not interpret backslashes.
   13913 ECHO=$lt_ECHO
   13914 
   13915 # Used to examine libraries when file_magic_cmd begins with "file".
   13916 MAGIC_CMD=$MAGIC_CMD
   13917 
   13918 # Must we lock files when doing compilation?
   13919 need_locks=$lt_need_locks
   13920 
   13921 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13922 DSYMUTIL=$lt_DSYMUTIL
   13923 
   13924 # Tool to change global to local symbols on Mac OS X.
   13925 NMEDIT=$lt_NMEDIT
   13926 
   13927 # Tool to manipulate fat objects and archives on Mac OS X.
   13928 LIPO=$lt_LIPO
   13929 
   13930 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13931 OTOOL=$lt_OTOOL
   13932 
   13933 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13934 OTOOL64=$lt_OTOOL64
   13935 
   13936 # Old archive suffix (normally "a").
   13937 libext=$libext
   13938 
   13939 # Shared library suffix (normally ".so").
   13940 shrext_cmds=$lt_shrext_cmds
   13941 
   13942 # The commands to extract the exported symbol list from a shared archive.
   13943 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13944 
   13945 # Variables whose values should be saved in libtool wrapper scripts and
   13946 # restored at link time.
   13947 variables_saved_for_relink=$lt_variables_saved_for_relink
   13948 
   13949 # Do we need the "lib" prefix for modules?
   13950 need_lib_prefix=$need_lib_prefix
   13951 
   13952 # Do we need a version for libraries?
   13953 need_version=$need_version
   13954 
   13955 # Library versioning type.
   13956 version_type=$version_type
   13957 
   13958 # Shared library runtime path variable.
   13959 runpath_var=$runpath_var
   13960 
   13961 # Shared library path variable.
   13962 shlibpath_var=$shlibpath_var
   13963 
   13964 # Is shlibpath searched before the hard-coded library search path?
   13965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13966 
   13967 # Format of library name prefix.
   13968 libname_spec=$lt_libname_spec
   13969 
   13970 # List of archive names.  First name is the real one, the rest are links.
   13971 # The last name is the one that the linker finds with -lNAME
   13972 library_names_spec=$lt_library_names_spec
   13973 
   13974 # The coded name of the library, if different from the real name.
   13975 soname_spec=$lt_soname_spec
   13976 
   13977 # Command to use after installation of a shared archive.
   13978 postinstall_cmds=$lt_postinstall_cmds
   13979 
   13980 # Command to use after uninstallation of a shared archive.
   13981 postuninstall_cmds=$lt_postuninstall_cmds
   13982 
   13983 # Commands used to finish a libtool library installation in a directory.
   13984 finish_cmds=$lt_finish_cmds
   13985 
   13986 # As "finish_cmds", except a single script fragment to be evaled but
   13987 # not shown.
   13988 finish_eval=$lt_finish_eval
   13989 
   13990 # Whether we should hardcode library paths into libraries.
   13991 hardcode_into_libs=$hardcode_into_libs
   13992 
   13993 # Compile-time system search path for libraries.
   13994 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13995 
   13996 # Run-time system search path for libraries.
   13997 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13998 
   13999 # Whether dlopen is supported.
   14000 dlopen_support=$enable_dlopen
   14001 
   14002 # Whether dlopen of programs is supported.
   14003 dlopen_self=$enable_dlopen_self
   14004 
   14005 # Whether dlopen of statically linked programs is supported.
   14006 dlopen_self_static=$enable_dlopen_self_static
   14007 
   14008 # Commands to strip libraries.
   14009 old_striplib=$lt_old_striplib
   14010 striplib=$lt_striplib
   14011 
   14012 
   14013 # The linker used to build libraries.
   14014 LD=$lt_LD
   14015 
   14016 # Commands used to build an old-style archive.
   14017 old_archive_cmds=$lt_old_archive_cmds
   14018 
   14019 # A language specific compiler.
   14020 CC=$lt_compiler
   14021 
   14022 # Is the compiler the GNU compiler?
   14023 with_gcc=$GCC
   14024 
   14025 # Compiler flag to turn off builtin functions.
   14026 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14027 
   14028 # How to pass a linker flag through the compiler.
   14029 wl=$lt_lt_prog_compiler_wl
   14030 
   14031 # Additional compiler flags for building library objects.
   14032 pic_flag=$lt_lt_prog_compiler_pic
   14033 
   14034 # Compiler flag to prevent dynamic linking.
   14035 link_static_flag=$lt_lt_prog_compiler_static
   14036 
   14037 # Does compiler simultaneously support -c and -o options?
   14038 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14039 
   14040 # Whether or not to add -lc for building shared libraries.
   14041 build_libtool_need_lc=$archive_cmds_need_lc
   14042 
   14043 # Whether or not to disallow shared libs when runtime libs are static.
   14044 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14045 
   14046 # Compiler flag to allow reflexive dlopens.
   14047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14048 
   14049 # Compiler flag to generate shared objects directly from archives.
   14050 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14051 
   14052 # Whether the compiler copes with passing no objects directly.
   14053 compiler_needs_object=$lt_compiler_needs_object
   14054 
   14055 # Create an old-style archive from a shared archive.
   14056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14057 
   14058 # Create a temporary old-style archive to link instead of a shared archive.
   14059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14060 
   14061 # Commands used to build a shared archive.
   14062 archive_cmds=$lt_archive_cmds
   14063 archive_expsym_cmds=$lt_archive_expsym_cmds
   14064 
   14065 # Commands used to build a loadable module if different from building
   14066 # a shared archive.
   14067 module_cmds=$lt_module_cmds
   14068 module_expsym_cmds=$lt_module_expsym_cmds
   14069 
   14070 # Whether we are building with GNU ld or not.
   14071 with_gnu_ld=$lt_with_gnu_ld
   14072 
   14073 # Flag that allows shared libraries with undefined symbols to be built.
   14074 allow_undefined_flag=$lt_allow_undefined_flag
   14075 
   14076 # Flag that enforces no undefined symbols.
   14077 no_undefined_flag=$lt_no_undefined_flag
   14078 
   14079 # Flag to hardcode \$libdir into a binary during linking.
   14080 # This must work even if \$libdir does not exist
   14081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14082 
   14083 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14084 # during linking.  This must work even if \$libdir does not exist.
   14085 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14086 
   14087 # Whether we need a single "-rpath" flag with a separated argument.
   14088 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14089 
   14090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14091 # DIR into the resulting binary.
   14092 hardcode_direct=$hardcode_direct
   14093 
   14094 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14095 # DIR into the resulting binary and the resulting library dependency is
   14096 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14097 # library is relocated.
   14098 hardcode_direct_absolute=$hardcode_direct_absolute
   14099 
   14100 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14101 # into the resulting binary.
   14102 hardcode_minus_L=$hardcode_minus_L
   14103 
   14104 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14105 # into the resulting binary.
   14106 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14107 
   14108 # Set to "yes" if building a shared library automatically hardcodes DIR
   14109 # into the library and all subsequent libraries and executables linked
   14110 # against it.
   14111 hardcode_automatic=$hardcode_automatic
   14112 
   14113 # Set to yes if linker adds runtime paths of dependent libraries
   14114 # to runtime path list.
   14115 inherit_rpath=$inherit_rpath
   14116 
   14117 # Whether libtool must link a program against all its dependency libraries.
   14118 link_all_deplibs=$link_all_deplibs
   14119 
   14120 # Fix the shell variable \$srcfile for the compiler.
   14121 fix_srcfile_path=$lt_fix_srcfile_path
   14122 
   14123 # Set to "yes" if exported symbols are required.
   14124 always_export_symbols=$always_export_symbols
   14125 
   14126 # The commands to list exported symbols.
   14127 export_symbols_cmds=$lt_export_symbols_cmds
   14128 
   14129 # Symbols that should not be listed in the preloaded symbols.
   14130 exclude_expsyms=$lt_exclude_expsyms
   14131 
   14132 # Symbols that must always be exported.
   14133 include_expsyms=$lt_include_expsyms
   14134 
   14135 # Commands necessary for linking programs (against libraries) with templates.
   14136 prelink_cmds=$lt_prelink_cmds
   14137 
   14138 # Specify filename containing input files.
   14139 file_list_spec=$lt_file_list_spec
   14140 
   14141 # How to hardcode a shared library path into an executable.
   14142 hardcode_action=$hardcode_action
   14143 
   14144 # ### END LIBTOOL CONFIG
   14145 
   14146 _LT_EOF
   14147 
   14148   case $host_os in
   14149   aix3*)
   14150     cat <<\_LT_EOF >> "$cfgfile"
   14151 # AIX sometimes has problems with the GCC collect2 program.  For some
   14152 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14153 # vanish in a puff of smoke.
   14154 if test "X${COLLECT_NAMES+set}" != Xset; then
   14155   COLLECT_NAMES=
   14156   export COLLECT_NAMES
   14157 fi
   14158 _LT_EOF
   14159     ;;
   14160   esac
   14161 
   14162 
   14163 ltmain="$ac_aux_dir/ltmain.sh"
   14164 
   14165 
   14166   # We use sed instead of cat because bash on DJGPP gets confused if
   14167   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14168   # text mode, it properly converts lines to CR/LF.  This bash problem
   14169   # is reportedly fixed, but why not run on old versions too?
   14170   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14171     || (rm -f "$cfgfile"; exit 1)
   14172 
   14173   case $xsi_shell in
   14174   yes)
   14175     cat << \_LT_EOF >> "$cfgfile"
   14176 
   14177 # func_dirname file append nondir_replacement
   14178 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14179 # otherwise set result to NONDIR_REPLACEMENT.
   14180 func_dirname ()
   14181 {
   14182   case ${1} in
   14183     */*) func_dirname_result="${1%/*}${2}" ;;
   14184     *  ) func_dirname_result="${3}" ;;
   14185   esac
   14186 }
   14187 
   14188 # func_basename file
   14189 func_basename ()
   14190 {
   14191   func_basename_result="${1##*/}"
   14192 }
   14193 
   14194 # func_dirname_and_basename file append nondir_replacement
   14195 # perform func_basename and func_dirname in a single function
   14196 # call:
   14197 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14198 #             add APPEND to the result, otherwise set result
   14199 #             to NONDIR_REPLACEMENT.
   14200 #             value returned in "$func_dirname_result"
   14201 #   basename: Compute filename of FILE.
   14202 #             value retuned in "$func_basename_result"
   14203 # Implementation must be kept synchronized with func_dirname
   14204 # and func_basename. For efficiency, we do not delegate to
   14205 # those functions but instead duplicate the functionality here.
   14206 func_dirname_and_basename ()
   14207 {
   14208   case ${1} in
   14209     */*) func_dirname_result="${1%/*}${2}" ;;
   14210     *  ) func_dirname_result="${3}" ;;
   14211   esac
   14212   func_basename_result="${1##*/}"
   14213 }
   14214 
   14215 # func_stripname prefix suffix name
   14216 # strip PREFIX and SUFFIX off of NAME.
   14217 # PREFIX and SUFFIX must not contain globbing or regex special
   14218 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14219 # dot (in which case that matches only a dot).
   14220 func_stripname ()
   14221 {
   14222   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14223   # positional parameters, so assign one to ordinary parameter first.
   14224   func_stripname_result=${3}
   14225   func_stripname_result=${func_stripname_result#"${1}"}
   14226   func_stripname_result=${func_stripname_result%"${2}"}
   14227 }
   14228 
   14229 # func_opt_split
   14230 func_opt_split ()
   14231 {
   14232   func_opt_split_opt=${1%%=*}
   14233   func_opt_split_arg=${1#*=}
   14234 }
   14235 
   14236 # func_lo2o object
   14237 func_lo2o ()
   14238 {
   14239   case ${1} in
   14240     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14241     *)    func_lo2o_result=${1} ;;
   14242   esac
   14243 }
   14244 
   14245 # func_xform libobj-or-source
   14246 func_xform ()
   14247 {
   14248   func_xform_result=${1%.*}.lo
   14249 }
   14250 
   14251 # func_arith arithmetic-term...
   14252 func_arith ()
   14253 {
   14254   func_arith_result=$(( $* ))
   14255 }
   14256 
   14257 # func_len string
   14258 # STRING may not start with a hyphen.
   14259 func_len ()
   14260 {
   14261   func_len_result=${#1}
   14262 }
   14263 
   14264 _LT_EOF
   14265     ;;
   14266   *) # Bourne compatible functions.
   14267     cat << \_LT_EOF >> "$cfgfile"
   14268 
   14269 # func_dirname file append nondir_replacement
   14270 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14271 # otherwise set result to NONDIR_REPLACEMENT.
   14272 func_dirname ()
   14273 {
   14274   # Extract subdirectory from the argument.
   14275   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14276   if test "X$func_dirname_result" = "X${1}"; then
   14277     func_dirname_result="${3}"
   14278   else
   14279     func_dirname_result="$func_dirname_result${2}"
   14280   fi
   14281 }
   14282 
   14283 # func_basename file
   14284 func_basename ()
   14285 {
   14286   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14287 }
   14288 
   14289 
   14290 # func_stripname prefix suffix name
   14291 # strip PREFIX and SUFFIX off of NAME.
   14292 # PREFIX and SUFFIX must not contain globbing or regex special
   14293 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14294 # dot (in which case that matches only a dot).
   14295 # func_strip_suffix prefix name
   14296 func_stripname ()
   14297 {
   14298   case ${2} in
   14299     .*) func_stripname_result=`$ECHO "X${3}" \
   14300            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14301     *)  func_stripname_result=`$ECHO "X${3}" \
   14302            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14303   esac
   14304 }
   14305 
   14306 # sed scripts:
   14307 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14308 my_sed_long_arg='1s/^-[^=]*=//'
   14309 
   14310 # func_opt_split
   14311 func_opt_split ()
   14312 {
   14313   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14314   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14315 }
   14316 
   14317 # func_lo2o object
   14318 func_lo2o ()
   14319 {
   14320   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14321 }
   14322 
   14323 # func_xform libobj-or-source
   14324 func_xform ()
   14325 {
   14326   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14327 }
   14328 
   14329 # func_arith arithmetic-term...
   14330 func_arith ()
   14331 {
   14332   func_arith_result=`expr "$@"`
   14333 }
   14334 
   14335 # func_len string
   14336 # STRING may not start with a hyphen.
   14337 func_len ()
   14338 {
   14339   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14340 }
   14341 
   14342 _LT_EOF
   14343 esac
   14344 
   14345 case $lt_shell_append in
   14346   yes)
   14347     cat << \_LT_EOF >> "$cfgfile"
   14348 
   14349 # func_append var value
   14350 # Append VALUE to the end of shell variable VAR.
   14351 func_append ()
   14352 {
   14353   eval "$1+=\$2"
   14354 }
   14355 _LT_EOF
   14356     ;;
   14357   *)
   14358     cat << \_LT_EOF >> "$cfgfile"
   14359 
   14360 # func_append var value
   14361 # Append VALUE to the end of shell variable VAR.
   14362 func_append ()
   14363 {
   14364   eval "$1=\$$1\$2"
   14365 }
   14366 
   14367 _LT_EOF
   14368     ;;
   14369   esac
   14370 
   14371 
   14372   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14373     || (rm -f "$cfgfile"; exit 1)
   14374 
   14375   mv -f "$cfgfile" "$ofile" ||
   14376     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14377   chmod +x "$ofile"
   14378 
   14379  ;;
   14380 
   14381   esac
   14382 done # for ac_tag
   14383 
   14384 
   14385 as_fn_exit 0
   14386 _ACEOF
   14387 ac_clean_files=$ac_clean_files_save
   14388 
   14389 test $ac_write_fail = 0 ||
   14390   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14391 
   14392 
   14393 # configure is writing to config.log, and then calls config.status.
   14394 # config.status does its own redirection, appending to config.log.
   14395 # Unfortunately, on DOS this fails, as config.log is still kept open
   14396 # by configure, so config.status won't be able to write to it; its
   14397 # output is simply discarded.  So we exec the FD to /dev/null,
   14398 # effectively closing config.log, so it can be properly (re)opened and
   14399 # appended to by config.status.  When coming back to configure, we
   14400 # need to make the FD available again.
   14401 if test "$no_create" != yes; then
   14402   ac_cs_success=:
   14403   ac_config_status_args=
   14404   test "$silent" = yes &&
   14405     ac_config_status_args="$ac_config_status_args --quiet"
   14406   exec 5>/dev/null
   14407   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14408   exec 5>>config.log
   14409   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14410   # would make configure fail if this is the last instruction.
   14411   $ac_cs_success || as_fn_exit $?
   14412 fi
   14413 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14414   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14415 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14416 fi
   14417 
   14418