Home | History | Annotate | Download | only in openfst
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for OpenFst 1.2.10.
      4 #
      5 # Report bugs to <help (at] www.openfst.org>.
      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: help (at] www.openfst.org about your system, including any
    235 $0: error possibly output before this message. Then install
    236 $0: a modern shell, or manually run the script under such a
    237 $0: shell if you do have one."
    238   fi
    239   exit 1
    240 fi
    241 fi
    242 fi
    243 SHELL=${CONFIG_SHELL-/bin/sh}
    244 export SHELL
    245 # Unset more variables known to interfere with behavior of common tools.
    246 CLICOLOR_FORCE= GREP_OPTIONS=
    247 unset CLICOLOR_FORCE GREP_OPTIONS
    248 
    249 ## --------------------- ##
    250 ## M4sh Shell Functions. ##
    251 ## --------------------- ##
    252 # as_fn_unset VAR
    253 # ---------------
    254 # Portably unset VAR.
    255 as_fn_unset ()
    256 {
    257   { eval $1=; unset $1;}
    258 }
    259 as_unset=as_fn_unset
    260 
    261 # as_fn_set_status STATUS
    262 # -----------------------
    263 # Set $? to STATUS, without forking.
    264 as_fn_set_status ()
    265 {
    266   return $1
    267 } # as_fn_set_status
    268 
    269 # as_fn_exit STATUS
    270 # -----------------
    271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    272 as_fn_exit ()
    273 {
    274   set +e
    275   as_fn_set_status $1
    276   exit $1
    277 } # as_fn_exit
    278 
    279 # as_fn_mkdir_p
    280 # -------------
    281 # Create "$as_dir" as a directory, including parents if necessary.
    282 as_fn_mkdir_p ()
    283 {
    284 
    285   case $as_dir in #(
    286   -*) as_dir=./$as_dir;;
    287   esac
    288   test -d "$as_dir" || eval $as_mkdir_p || {
    289     as_dirs=
    290     while :; do
    291       case $as_dir in #(
    292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    293       *) as_qdir=$as_dir;;
    294       esac
    295       as_dirs="'$as_qdir' $as_dirs"
    296       as_dir=`$as_dirname -- "$as_dir" ||
    297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    298 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    299 	 X"$as_dir" : 'X\(//\)$' \| \
    300 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    301 $as_echo X"$as_dir" |
    302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    303 	    s//\1/
    304 	    q
    305 	  }
    306 	  /^X\(\/\/\)[^/].*/{
    307 	    s//\1/
    308 	    q
    309 	  }
    310 	  /^X\(\/\/\)$/{
    311 	    s//\1/
    312 	    q
    313 	  }
    314 	  /^X\(\/\).*/{
    315 	    s//\1/
    316 	    q
    317 	  }
    318 	  s/.*/./; q'`
    319       test -d "$as_dir" && break
    320     done
    321     test -z "$as_dirs" || eval "mkdir $as_dirs"
    322   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    323 
    324 
    325 } # as_fn_mkdir_p
    326 # as_fn_append VAR VALUE
    327 # ----------------------
    328 # Append the text in VALUE to the end of the definition contained in VAR. Take
    329 # advantage of any shell optimizations that allow amortized linear growth over
    330 # repeated appends, instead of the typical quadratic growth present in naive
    331 # implementations.
    332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    333   eval 'as_fn_append ()
    334   {
    335     eval $1+=\$2
    336   }'
    337 else
    338   as_fn_append ()
    339   {
    340     eval $1=\$$1\$2
    341   }
    342 fi # as_fn_append
    343 
    344 # as_fn_arith ARG...
    345 # ------------------
    346 # Perform arithmetic evaluation on the ARGs, and store the result in the
    347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    348 # must be portable across $(()) and expr.
    349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    350   eval 'as_fn_arith ()
    351   {
    352     as_val=$(( $* ))
    353   }'
    354 else
    355   as_fn_arith ()
    356   {
    357     as_val=`expr "$@" || test $? -eq 1`
    358   }
    359 fi # as_fn_arith
    360 
    361 
    362 # as_fn_error ERROR [LINENO LOG_FD]
    363 # ---------------------------------
    364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    366 # script with status $?, using 1 if that was 0.
    367 as_fn_error ()
    368 {
    369   as_status=$?; test $as_status -eq 0 && as_status=1
    370   if test "$3"; then
    371     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    373   fi
    374   $as_echo "$as_me: error: $1" >&2
    375   as_fn_exit $as_status
    376 } # as_fn_error
    377 
    378 if expr a : '\(a\)' >/dev/null 2>&1 &&
    379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    380   as_expr=expr
    381 else
    382   as_expr=false
    383 fi
    384 
    385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    386   as_basename=basename
    387 else
    388   as_basename=false
    389 fi
    390 
    391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    392   as_dirname=dirname
    393 else
    394   as_dirname=false
    395 fi
    396 
    397 as_me=`$as_basename -- "$0" ||
    398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    399 	 X"$0" : 'X\(//\)$' \| \
    400 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    401 $as_echo X/"$0" |
    402     sed '/^.*\/\([^/][^/]*\)\/*$/{
    403 	    s//\1/
    404 	    q
    405 	  }
    406 	  /^X\/\(\/\/\)$/{
    407 	    s//\1/
    408 	    q
    409 	  }
    410 	  /^X\/\(\/\).*/{
    411 	    s//\1/
    412 	    q
    413 	  }
    414 	  s/.*/./; q'`
    415 
    416 # Avoid depending upon Character Ranges.
    417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    420 as_cr_digits='0123456789'
    421 as_cr_alnum=$as_cr_Letters$as_cr_digits
    422 
    423 
    424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    429   sed -n '
    430     p
    431     /[$]LINENO/=
    432   ' <$as_myself |
    433     sed '
    434       s/[$]LINENO.*/&-/
    435       t lineno
    436       b
    437       :lineno
    438       N
    439       :loop
    440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    441       t loop
    442       s/-\n.*//
    443     ' >$as_me.lineno &&
    444   chmod +x "$as_me.lineno" ||
    445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    446 
    447   # Don't try to exec as it changes $[0], causing all sort of problems
    448   # (the dirname of $[0] is not the place where we might find the
    449   # original and so on.  Autoconf is especially sensitive to this).
    450   . "./$as_me.lineno"
    451   # Exit status is that of the last command.
    452   exit
    453 }
    454 
    455 ECHO_C= ECHO_N= ECHO_T=
    456 case `echo -n x` in #(((((
    457 -n*)
    458   case `echo 'xy\c'` in
    459   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    460   xy)  ECHO_C='\c';;
    461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    462        ECHO_T='	';;
    463   esac;;
    464 *)
    465   ECHO_N='-n';;
    466 esac
    467 
    468 rm -f conf$$ conf$$.exe conf$$.file
    469 if test -d conf$$.dir; then
    470   rm -f conf$$.dir/conf$$.file
    471 else
    472   rm -f conf$$.dir
    473   mkdir conf$$.dir 2>/dev/null
    474 fi
    475 if (echo >conf$$.file) 2>/dev/null; then
    476   if ln -s conf$$.file conf$$ 2>/dev/null; then
    477     as_ln_s='ln -s'
    478     # ... but there are two gotchas:
    479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    481     # In both cases, we have to default to `cp -p'.
    482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    483       as_ln_s='cp -p'
    484   elif ln conf$$.file conf$$ 2>/dev/null; then
    485     as_ln_s=ln
    486   else
    487     as_ln_s='cp -p'
    488   fi
    489 else
    490   as_ln_s='cp -p'
    491 fi
    492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    493 rmdir conf$$.dir 2>/dev/null
    494 
    495 if mkdir -p . 2>/dev/null; then
    496   as_mkdir_p='mkdir -p "$as_dir"'
    497 else
    498   test -d ./-p && rmdir ./-p
    499   as_mkdir_p=false
    500 fi
    501 
    502 if test -x / >/dev/null 2>&1; then
    503   as_test_x='test -x'
    504 else
    505   if ls -dL / >/dev/null 2>&1; then
    506     as_ls_L_option=L
    507   else
    508     as_ls_L_option=
    509   fi
    510   as_test_x='
    511     eval sh -c '\''
    512       if test -d "$1"; then
    513 	test -d "$1/.";
    514       else
    515 	case $1 in #(
    516 	-*)set "./$1";;
    517 	esac;
    518 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    519 	???[sx]*):;;*)false;;esac;fi
    520     '\'' sh
    521   '
    522 fi
    523 as_executable_p=$as_test_x
    524 
    525 # Sed expression to map a string onto a valid CPP name.
    526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    527 
    528 # Sed expression to map a string onto a valid variable name.
    529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    530 
    531 
    532 
    533 # Check that we are running under the correct shell.
    534 SHELL=${CONFIG_SHELL-/bin/sh}
    535 
    536 case X$lt_ECHO in
    537 X*--fallback-echo)
    538   # Remove one level of quotation (which was required for Make).
    539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    540   ;;
    541 esac
    542 
    543 ECHO=${lt_ECHO-echo}
    544 if test "X$1" = X--no-reexec; then
    545   # Discard the --no-reexec flag, and continue.
    546   shift
    547 elif test "X$1" = X--fallback-echo; then
    548   # Avoid inline document here, it may be left over
    549   :
    550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    551   # Yippee, $ECHO works!
    552   :
    553 else
    554   # Restart under the correct shell.
    555   exec $SHELL "$0" --no-reexec ${1+"$@"}
    556 fi
    557 
    558 if test "X$1" = X--fallback-echo; then
    559   # used as fallback echo
    560   shift
    561   cat <<_LT_EOF
    562 $*
    563 _LT_EOF
    564   exit 0
    565 fi
    566 
    567 # The HP-UX ksh and POSIX shell print the target directory to stdout
    568 # if CDPATH is set.
    569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    570 
    571 if test -z "$lt_ECHO"; then
    572   if test "X${echo_test_string+set}" != Xset; then
    573     # find a string as large as possible, as long as the shell can cope with it
    574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    577 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    578       then
    579         break
    580       fi
    581     done
    582   fi
    583 
    584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    586      test "X$echo_testing_string" = "X$echo_test_string"; then
    587     :
    588   else
    589     # The Solaris, AIX, and Digital Unix default echo programs unquote
    590     # backslashes.  This makes it impossible to quote backslashes using
    591     #   echo "$something" | sed 's/\\/\\\\/g'
    592     #
    593     # So, first we look for a working echo in the user's PATH.
    594 
    595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    596     for dir in $PATH /usr/ucb; do
    597       IFS="$lt_save_ifs"
    598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    601          test "X$echo_testing_string" = "X$echo_test_string"; then
    602         ECHO="$dir/echo"
    603         break
    604       fi
    605     done
    606     IFS="$lt_save_ifs"
    607 
    608     if test "X$ECHO" = Xecho; then
    609       # We didn't find a better echo, so look for alternatives.
    610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    612          test "X$echo_testing_string" = "X$echo_test_string"; then
    613         # This shell has a builtin print -r that does the trick.
    614         ECHO='print -r'
    615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    616 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    617         # If we have ksh, try running configure again with it.
    618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    619         export ORIGINAL_CONFIG_SHELL
    620         CONFIG_SHELL=/bin/ksh
    621         export CONFIG_SHELL
    622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    623       else
    624         # Try using printf.
    625         ECHO='printf %s\n'
    626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    627 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    628 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    629 	  # Cool, printf works
    630 	  :
    631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    632 	     test "X$echo_testing_string" = 'X\t' &&
    633 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    634 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    635 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    636 	  export CONFIG_SHELL
    637 	  SHELL="$CONFIG_SHELL"
    638 	  export SHELL
    639 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    641 	     test "X$echo_testing_string" = 'X\t' &&
    642 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    643 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    644 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    645         else
    646 	  # maybe with a smaller string...
    647 	  prev=:
    648 
    649 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    650 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    651 	    then
    652 	      break
    653 	    fi
    654 	    prev="$cmd"
    655 	  done
    656 
    657 	  if test "$prev" != 'sed 50q "$0"'; then
    658 	    echo_test_string=`eval $prev`
    659 	    export echo_test_string
    660 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    661 	  else
    662 	    # Oops.  We lost completely, so just stick with echo.
    663 	    ECHO=echo
    664 	  fi
    665         fi
    666       fi
    667     fi
    668   fi
    669 fi
    670 
    671 # Copy echo and quote the copy suitably for passing to libtool from
    672 # the Makefile, instead of quoting the original, which is used later.
    673 lt_ECHO=$ECHO
    674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    676 fi
    677 
    678 
    679 
    680 
    681 test -n "$DJDIR" || exec 7<&0 </dev/null
    682 exec 6>&1
    683 
    684 # Name of the host.
    685 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    686 # so uname gets run too.
    687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    688 
    689 #
    690 # Initializations.
    691 #
    692 ac_default_prefix=/usr/local
    693 ac_clean_files=
    694 ac_config_libobj_dir=.
    695 LIBOBJS=
    696 cross_compiling=no
    697 subdirs=
    698 MFLAGS=
    699 MAKEFLAGS=
    700 
    701 # Identity of this package.
    702 PACKAGE_NAME='OpenFst'
    703 PACKAGE_TARNAME='openfst'
    704 PACKAGE_VERSION='1.2.10'
    705 PACKAGE_STRING='OpenFst 1.2.10'
    706 PACKAGE_BUGREPORT='help (at] www.openfst.org'
    707 PACKAGE_URL=''
    708 
    709 # Factoring default headers for most tests.
    710 ac_includes_default="\
    711 #include <stdio.h>
    712 #ifdef HAVE_SYS_TYPES_H
    713 # include <sys/types.h>
    714 #endif
    715 #ifdef HAVE_SYS_STAT_H
    716 # include <sys/stat.h>
    717 #endif
    718 #ifdef STDC_HEADERS
    719 # include <stdlib.h>
    720 # include <stddef.h>
    721 #else
    722 # ifdef HAVE_STDLIB_H
    723 #  include <stdlib.h>
    724 # endif
    725 #endif
    726 #ifdef HAVE_STRING_H
    727 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    728 #  include <memory.h>
    729 # endif
    730 # include <string.h>
    731 #endif
    732 #ifdef HAVE_STRINGS_H
    733 # include <strings.h>
    734 #endif
    735 #ifdef HAVE_INTTYPES_H
    736 # include <inttypes.h>
    737 #endif
    738 #ifdef HAVE_STDINT_H
    739 # include <stdint.h>
    740 #endif
    741 #ifdef HAVE_UNISTD_H
    742 # include <unistd.h>
    743 #endif"
    744 
    745 ac_unique_file="src/lib/fst.cc"
    746 ac_subst_vars='am__EXEEXT_FALSE
    747 am__EXEEXT_TRUE
    748 LTLIBOBJS
    749 LIBOBJS
    750 libfstdir
    751 ICU_LIBS
    752 ICU_CXXFLAGS
    753 ICU_CFLAGS
    754 ICU_CPPFLAGS
    755 ICU_CONFIG
    756 HAVE_PDT_FALSE
    757 HAVE_PDT_TRUE
    758 HAVE_LOOKAHEAD_FALSE
    759 HAVE_LOOKAHEAD_TRUE
    760 HAVE_FAR_FALSE
    761 HAVE_FAR_TRUE
    762 HAVE_CONST_FALSE
    763 HAVE_CONST_TRUE
    764 HAVE_COMPACT_FALSE
    765 HAVE_COMPACT_TRUE
    766 HAVE_SCRIPT_FALSE
    767 HAVE_SCRIPT_TRUE
    768 HAVE_BIN_FALSE
    769 HAVE_BIN_TRUE
    770 CXXCPP
    771 CPP
    772 OTOOL64
    773 OTOOL
    774 LIPO
    775 NMEDIT
    776 DSYMUTIL
    777 lt_ECHO
    778 RANLIB
    779 AR
    780 OBJDUMP
    781 LN_S
    782 NM
    783 ac_ct_DUMPBIN
    784 DUMPBIN
    785 LD
    786 FGREP
    787 EGREP
    788 GREP
    789 SED
    790 am__fastdepCC_FALSE
    791 am__fastdepCC_TRUE
    792 CCDEPMODE
    793 ac_ct_CC
    794 CFLAGS
    795 CC
    796 host_os
    797 host_vendor
    798 host_cpu
    799 host
    800 build_os
    801 build_vendor
    802 build_cpu
    803 build
    804 LIBTOOL
    805 am__fastdepCXX_FALSE
    806 am__fastdepCXX_TRUE
    807 CXXDEPMODE
    808 AMDEPBACKSLASH
    809 AMDEP_FALSE
    810 AMDEP_TRUE
    811 am__quote
    812 am__include
    813 DEPDIR
    814 OBJEXT
    815 EXEEXT
    816 ac_ct_CXX
    817 CPPFLAGS
    818 LDFLAGS
    819 CXXFLAGS
    820 CXX
    821 am__untar
    822 am__tar
    823 AMTAR
    824 am__leading_dot
    825 SET_MAKE
    826 AWK
    827 mkdir_p
    828 MKDIR_P
    829 INSTALL_STRIP_PROGRAM
    830 STRIP
    831 install_sh
    832 MAKEINFO
    833 AUTOHEADER
    834 AUTOMAKE
    835 AUTOCONF
    836 ACLOCAL
    837 VERSION
    838 PACKAGE
    839 CYGPATH_W
    840 am__isrc
    841 INSTALL_DATA
    842 INSTALL_SCRIPT
    843 INSTALL_PROGRAM
    844 target_alias
    845 host_alias
    846 build_alias
    847 LIBS
    848 ECHO_T
    849 ECHO_N
    850 ECHO_C
    851 DEFS
    852 mandir
    853 localedir
    854 libdir
    855 psdir
    856 pdfdir
    857 dvidir
    858 htmldir
    859 infodir
    860 docdir
    861 oldincludedir
    862 includedir
    863 localstatedir
    864 sharedstatedir
    865 sysconfdir
    866 datadir
    867 datarootdir
    868 libexecdir
    869 sbindir
    870 bindir
    871 program_transform_name
    872 prefix
    873 exec_prefix
    874 PACKAGE_URL
    875 PACKAGE_BUGREPORT
    876 PACKAGE_STRING
    877 PACKAGE_VERSION
    878 PACKAGE_TARNAME
    879 PACKAGE_NAME
    880 PATH_SEPARATOR
    881 SHELL'
    882 ac_subst_files=''
    883 ac_user_opts='
    884 enable_option_checking
    885 enable_dependency_tracking
    886 enable_static
    887 enable_shared
    888 with_pic
    889 enable_fast_install
    890 with_gnu_ld
    891 enable_libtool_lock
    892 enable_bin
    893 enable_compact_fsts
    894 enable_const_fsts
    895 enable_far
    896 enable_lookahead_fsts
    897 enable_pdt
    898 with_icu
    899 '
    900       ac_precious_vars='build_alias
    901 host_alias
    902 target_alias
    903 CXX
    904 CXXFLAGS
    905 LDFLAGS
    906 LIBS
    907 CPPFLAGS
    908 CCC
    909 CC
    910 CFLAGS
    911 CPP
    912 CXXCPP'
    913 
    914 
    915 # Initialize some variables set by options.
    916 ac_init_help=
    917 ac_init_version=false
    918 ac_unrecognized_opts=
    919 ac_unrecognized_sep=
    920 # The variables have the same names as the options, with
    921 # dashes changed to underlines.
    922 cache_file=/dev/null
    923 exec_prefix=NONE
    924 no_create=
    925 no_recursion=
    926 prefix=NONE
    927 program_prefix=NONE
    928 program_suffix=NONE
    929 program_transform_name=s,x,x,
    930 silent=
    931 site=
    932 srcdir=
    933 verbose=
    934 x_includes=NONE
    935 x_libraries=NONE
    936 
    937 # Installation directory options.
    938 # These are left unexpanded so users can "make install exec_prefix=/foo"
    939 # and all the variables that are supposed to be based on exec_prefix
    940 # by default will actually change.
    941 # Use braces instead of parens because sh, perl, etc. also accept them.
    942 # (The list follows the same order as the GNU Coding Standards.)
    943 bindir='${exec_prefix}/bin'
    944 sbindir='${exec_prefix}/sbin'
    945 libexecdir='${exec_prefix}/libexec'
    946 datarootdir='${prefix}/share'
    947 datadir='${datarootdir}'
    948 sysconfdir='${prefix}/etc'
    949 sharedstatedir='${prefix}/com'
    950 localstatedir='${prefix}/var'
    951 includedir='${prefix}/include'
    952 oldincludedir='/usr/include'
    953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    954 infodir='${datarootdir}/info'
    955 htmldir='${docdir}'
    956 dvidir='${docdir}'
    957 pdfdir='${docdir}'
    958 psdir='${docdir}'
    959 libdir='${exec_prefix}/lib'
    960 localedir='${datarootdir}/locale'
    961 mandir='${datarootdir}/man'
    962 
    963 ac_prev=
    964 ac_dashdash=
    965 for ac_option
    966 do
    967   # If the previous option needs an argument, assign it.
    968   if test -n "$ac_prev"; then
    969     eval $ac_prev=\$ac_option
    970     ac_prev=
    971     continue
    972   fi
    973 
    974   case $ac_option in
    975   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    976   *)	ac_optarg=yes ;;
    977   esac
    978 
    979   # Accept the important Cygnus configure options, so we can diagnose typos.
    980 
    981   case $ac_dashdash$ac_option in
    982   --)
    983     ac_dashdash=yes ;;
    984 
    985   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    986     ac_prev=bindir ;;
    987   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    988     bindir=$ac_optarg ;;
    989 
    990   -build | --build | --buil | --bui | --bu)
    991     ac_prev=build_alias ;;
    992   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    993     build_alias=$ac_optarg ;;
    994 
    995   -cache-file | --cache-file | --cache-fil | --cache-fi \
    996   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    997     ac_prev=cache_file ;;
    998   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    999   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1000     cache_file=$ac_optarg ;;
   1001 
   1002   --config-cache | -C)
   1003     cache_file=config.cache ;;
   1004 
   1005   -datadir | --datadir | --datadi | --datad)
   1006     ac_prev=datadir ;;
   1007   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1008     datadir=$ac_optarg ;;
   1009 
   1010   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1011   | --dataroo | --dataro | --datar)
   1012     ac_prev=datarootdir ;;
   1013   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1014   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1015     datarootdir=$ac_optarg ;;
   1016 
   1017   -disable-* | --disable-*)
   1018     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1019     # Reject names that are not valid shell variable names.
   1020     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1021       as_fn_error "invalid feature name: $ac_useropt"
   1022     ac_useropt_orig=$ac_useropt
   1023     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1024     case $ac_user_opts in
   1025       *"
   1026 "enable_$ac_useropt"
   1027 "*) ;;
   1028       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1029 	 ac_unrecognized_sep=', ';;
   1030     esac
   1031     eval enable_$ac_useropt=no ;;
   1032 
   1033   -docdir | --docdir | --docdi | --doc | --do)
   1034     ac_prev=docdir ;;
   1035   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1036     docdir=$ac_optarg ;;
   1037 
   1038   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1039     ac_prev=dvidir ;;
   1040   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1041     dvidir=$ac_optarg ;;
   1042 
   1043   -enable-* | --enable-*)
   1044     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1045     # Reject names that are not valid shell variable names.
   1046     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1047       as_fn_error "invalid feature name: $ac_useropt"
   1048     ac_useropt_orig=$ac_useropt
   1049     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1050     case $ac_user_opts in
   1051       *"
   1052 "enable_$ac_useropt"
   1053 "*) ;;
   1054       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1055 	 ac_unrecognized_sep=', ';;
   1056     esac
   1057     eval enable_$ac_useropt=\$ac_optarg ;;
   1058 
   1059   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1060   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1061   | --exec | --exe | --ex)
   1062     ac_prev=exec_prefix ;;
   1063   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1064   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1065   | --exec=* | --exe=* | --ex=*)
   1066     exec_prefix=$ac_optarg ;;
   1067 
   1068   -gas | --gas | --ga | --g)
   1069     # Obsolete; use --with-gas.
   1070     with_gas=yes ;;
   1071 
   1072   -help | --help | --hel | --he | -h)
   1073     ac_init_help=long ;;
   1074   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1075     ac_init_help=recursive ;;
   1076   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1077     ac_init_help=short ;;
   1078 
   1079   -host | --host | --hos | --ho)
   1080     ac_prev=host_alias ;;
   1081   -host=* | --host=* | --hos=* | --ho=*)
   1082     host_alias=$ac_optarg ;;
   1083 
   1084   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1085     ac_prev=htmldir ;;
   1086   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1087   | --ht=*)
   1088     htmldir=$ac_optarg ;;
   1089 
   1090   -includedir | --includedir | --includedi | --included | --include \
   1091   | --includ | --inclu | --incl | --inc)
   1092     ac_prev=includedir ;;
   1093   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1094   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1095     includedir=$ac_optarg ;;
   1096 
   1097   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1098     ac_prev=infodir ;;
   1099   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1100     infodir=$ac_optarg ;;
   1101 
   1102   -libdir | --libdir | --libdi | --libd)
   1103     ac_prev=libdir ;;
   1104   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1105     libdir=$ac_optarg ;;
   1106 
   1107   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1108   | --libexe | --libex | --libe)
   1109     ac_prev=libexecdir ;;
   1110   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1111   | --libexe=* | --libex=* | --libe=*)
   1112     libexecdir=$ac_optarg ;;
   1113 
   1114   -localedir | --localedir | --localedi | --localed | --locale)
   1115     ac_prev=localedir ;;
   1116   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1117     localedir=$ac_optarg ;;
   1118 
   1119   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1120   | --localstate | --localstat | --localsta | --localst | --locals)
   1121     ac_prev=localstatedir ;;
   1122   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1123   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1124     localstatedir=$ac_optarg ;;
   1125 
   1126   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1127     ac_prev=mandir ;;
   1128   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1129     mandir=$ac_optarg ;;
   1130 
   1131   -nfp | --nfp | --nf)
   1132     # Obsolete; use --without-fp.
   1133     with_fp=no ;;
   1134 
   1135   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1136   | --no-cr | --no-c | -n)
   1137     no_create=yes ;;
   1138 
   1139   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1140   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1141     no_recursion=yes ;;
   1142 
   1143   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1144   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1145   | --oldin | --oldi | --old | --ol | --o)
   1146     ac_prev=oldincludedir ;;
   1147   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1148   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1149   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1150     oldincludedir=$ac_optarg ;;
   1151 
   1152   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1153     ac_prev=prefix ;;
   1154   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1155     prefix=$ac_optarg ;;
   1156 
   1157   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1158   | --program-pre | --program-pr | --program-p)
   1159     ac_prev=program_prefix ;;
   1160   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1161   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1162     program_prefix=$ac_optarg ;;
   1163 
   1164   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1165   | --program-suf | --program-su | --program-s)
   1166     ac_prev=program_suffix ;;
   1167   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1168   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1169     program_suffix=$ac_optarg ;;
   1170 
   1171   -program-transform-name | --program-transform-name \
   1172   | --program-transform-nam | --program-transform-na \
   1173   | --program-transform-n | --program-transform- \
   1174   | --program-transform | --program-transfor \
   1175   | --program-transfo | --program-transf \
   1176   | --program-trans | --program-tran \
   1177   | --progr-tra | --program-tr | --program-t)
   1178     ac_prev=program_transform_name ;;
   1179   -program-transform-name=* | --program-transform-name=* \
   1180   | --program-transform-nam=* | --program-transform-na=* \
   1181   | --program-transform-n=* | --program-transform-=* \
   1182   | --program-transform=* | --program-transfor=* \
   1183   | --program-transfo=* | --program-transf=* \
   1184   | --program-trans=* | --program-tran=* \
   1185   | --progr-tra=* | --program-tr=* | --program-t=*)
   1186     program_transform_name=$ac_optarg ;;
   1187 
   1188   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1189     ac_prev=pdfdir ;;
   1190   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1191     pdfdir=$ac_optarg ;;
   1192 
   1193   -psdir | --psdir | --psdi | --psd | --ps)
   1194     ac_prev=psdir ;;
   1195   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1196     psdir=$ac_optarg ;;
   1197 
   1198   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1199   | -silent | --silent | --silen | --sile | --sil)
   1200     silent=yes ;;
   1201 
   1202   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1203     ac_prev=sbindir ;;
   1204   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1205   | --sbi=* | --sb=*)
   1206     sbindir=$ac_optarg ;;
   1207 
   1208   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1209   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1210   | --sharedst | --shareds | --shared | --share | --shar \
   1211   | --sha | --sh)
   1212     ac_prev=sharedstatedir ;;
   1213   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1214   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1215   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1216   | --sha=* | --sh=*)
   1217     sharedstatedir=$ac_optarg ;;
   1218 
   1219   -site | --site | --sit)
   1220     ac_prev=site ;;
   1221   -site=* | --site=* | --sit=*)
   1222     site=$ac_optarg ;;
   1223 
   1224   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1225     ac_prev=srcdir ;;
   1226   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1227     srcdir=$ac_optarg ;;
   1228 
   1229   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1230   | --syscon | --sysco | --sysc | --sys | --sy)
   1231     ac_prev=sysconfdir ;;
   1232   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1233   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1234     sysconfdir=$ac_optarg ;;
   1235 
   1236   -target | --target | --targe | --targ | --tar | --ta | --t)
   1237     ac_prev=target_alias ;;
   1238   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1239     target_alias=$ac_optarg ;;
   1240 
   1241   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1242     verbose=yes ;;
   1243 
   1244   -version | --version | --versio | --versi | --vers | -V)
   1245     ac_init_version=: ;;
   1246 
   1247   -with-* | --with-*)
   1248     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1249     # Reject names that are not valid shell variable names.
   1250     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1251       as_fn_error "invalid package name: $ac_useropt"
   1252     ac_useropt_orig=$ac_useropt
   1253     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1254     case $ac_user_opts in
   1255       *"
   1256 "with_$ac_useropt"
   1257 "*) ;;
   1258       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1259 	 ac_unrecognized_sep=', ';;
   1260     esac
   1261     eval with_$ac_useropt=\$ac_optarg ;;
   1262 
   1263   -without-* | --without-*)
   1264     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1265     # Reject names that are not valid shell variable names.
   1266     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1267       as_fn_error "invalid package name: $ac_useropt"
   1268     ac_useropt_orig=$ac_useropt
   1269     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1270     case $ac_user_opts in
   1271       *"
   1272 "with_$ac_useropt"
   1273 "*) ;;
   1274       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1275 	 ac_unrecognized_sep=', ';;
   1276     esac
   1277     eval with_$ac_useropt=no ;;
   1278 
   1279   --x)
   1280     # Obsolete; use --with-x.
   1281     with_x=yes ;;
   1282 
   1283   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1284   | --x-incl | --x-inc | --x-in | --x-i)
   1285     ac_prev=x_includes ;;
   1286   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1287   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1288     x_includes=$ac_optarg ;;
   1289 
   1290   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1291   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1292     ac_prev=x_libraries ;;
   1293   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1294   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1295     x_libraries=$ac_optarg ;;
   1296 
   1297   -*) as_fn_error "unrecognized option: \`$ac_option'
   1298 Try \`$0 --help' for more information."
   1299     ;;
   1300 
   1301   *=*)
   1302     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1303     # Reject names that are not valid shell variable names.
   1304     case $ac_envvar in #(
   1305       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1306       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1307     esac
   1308     eval $ac_envvar=\$ac_optarg
   1309     export $ac_envvar ;;
   1310 
   1311   *)
   1312     # FIXME: should be removed in autoconf 3.0.
   1313     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1314     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1315       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1316     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1317     ;;
   1318 
   1319   esac
   1320 done
   1321 
   1322 if test -n "$ac_prev"; then
   1323   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1324   as_fn_error "missing argument to $ac_option"
   1325 fi
   1326 
   1327 if test -n "$ac_unrecognized_opts"; then
   1328   case $enable_option_checking in
   1329     no) ;;
   1330     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1331     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1332   esac
   1333 fi
   1334 
   1335 # Check all directory arguments for consistency.
   1336 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1337 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1338 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1339 		libdir localedir mandir
   1340 do
   1341   eval ac_val=\$$ac_var
   1342   # Remove trailing slashes.
   1343   case $ac_val in
   1344     */ )
   1345       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1346       eval $ac_var=\$ac_val;;
   1347   esac
   1348   # Be sure to have absolute directory names.
   1349   case $ac_val in
   1350     [\\/$]* | ?:[\\/]* )  continue;;
   1351     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1352   esac
   1353   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1354 done
   1355 
   1356 # There might be people who depend on the old broken behavior: `$host'
   1357 # used to hold the argument of --host etc.
   1358 # FIXME: To remove some day.
   1359 build=$build_alias
   1360 host=$host_alias
   1361 target=$target_alias
   1362 
   1363 # FIXME: To remove some day.
   1364 if test "x$host_alias" != x; then
   1365   if test "x$build_alias" = x; then
   1366     cross_compiling=maybe
   1367     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1368     If a cross compiler is detected then cross compile mode will be used." >&2
   1369   elif test "x$build_alias" != "x$host_alias"; then
   1370     cross_compiling=yes
   1371   fi
   1372 fi
   1373 
   1374 ac_tool_prefix=
   1375 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1376 
   1377 test "$silent" = yes && exec 6>/dev/null
   1378 
   1379 
   1380 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1381 ac_ls_di=`ls -di .` &&
   1382 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1383   as_fn_error "working directory cannot be determined"
   1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1385   as_fn_error "pwd does not report name of working directory"
   1386 
   1387 
   1388 # Find the source files, if location was not specified.
   1389 if test -z "$srcdir"; then
   1390   ac_srcdir_defaulted=yes
   1391   # Try the directory containing this script, then the parent directory.
   1392   ac_confdir=`$as_dirname -- "$as_myself" ||
   1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1394 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1395 	 X"$as_myself" : 'X\(//\)$' \| \
   1396 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1397 $as_echo X"$as_myself" |
   1398     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1399 	    s//\1/
   1400 	    q
   1401 	  }
   1402 	  /^X\(\/\/\)[^/].*/{
   1403 	    s//\1/
   1404 	    q
   1405 	  }
   1406 	  /^X\(\/\/\)$/{
   1407 	    s//\1/
   1408 	    q
   1409 	  }
   1410 	  /^X\(\/\).*/{
   1411 	    s//\1/
   1412 	    q
   1413 	  }
   1414 	  s/.*/./; q'`
   1415   srcdir=$ac_confdir
   1416   if test ! -r "$srcdir/$ac_unique_file"; then
   1417     srcdir=..
   1418   fi
   1419 else
   1420   ac_srcdir_defaulted=no
   1421 fi
   1422 if test ! -r "$srcdir/$ac_unique_file"; then
   1423   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1424   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1425 fi
   1426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1427 ac_abs_confdir=`(
   1428 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1429 	pwd)`
   1430 # When building in place, set srcdir=.
   1431 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1432   srcdir=.
   1433 fi
   1434 # Remove unnecessary trailing slashes from srcdir.
   1435 # Double slashes in file names in object file debugging info
   1436 # mess up M-x gdb in Emacs.
   1437 case $srcdir in
   1438 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1439 esac
   1440 for ac_var in $ac_precious_vars; do
   1441   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1442   eval ac_env_${ac_var}_value=\$${ac_var}
   1443   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1444   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1445 done
   1446 
   1447 #
   1448 # Report the --help message.
   1449 #
   1450 if test "$ac_init_help" = "long"; then
   1451   # Omit some internal or obsolete options to make the list less imposing.
   1452   # This message is too long to be a string in the A/UX 3.1 sh.
   1453   cat <<_ACEOF
   1454 \`configure' configures OpenFst 1.2.10 to adapt to many kinds of systems.
   1455 
   1456 Usage: $0 [OPTION]... [VAR=VALUE]...
   1457 
   1458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1459 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1460 
   1461 Defaults for the options are specified in brackets.
   1462 
   1463 Configuration:
   1464   -h, --help              display this help and exit
   1465       --help=short        display options specific to this package
   1466       --help=recursive    display the short help of all the included packages
   1467   -V, --version           display version information and exit
   1468   -q, --quiet, --silent   do not print \`checking...' messages
   1469       --cache-file=FILE   cache test results in FILE [disabled]
   1470   -C, --config-cache      alias for \`--cache-file=config.cache'
   1471   -n, --no-create         do not create output files
   1472       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1473 
   1474 Installation directories:
   1475   --prefix=PREFIX         install architecture-independent files in PREFIX
   1476                           [$ac_default_prefix]
   1477   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1478                           [PREFIX]
   1479 
   1480 By default, \`make install' will install all the files in
   1481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1483 for instance \`--prefix=\$HOME'.
   1484 
   1485 For better control, use the options below.
   1486 
   1487 Fine tuning of the installation directories:
   1488   --bindir=DIR            user executables [EPREFIX/bin]
   1489   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1490   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1491   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1492   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1493   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1494   --libdir=DIR            object code libraries [EPREFIX/lib]
   1495   --includedir=DIR        C header files [PREFIX/include]
   1496   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1497   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1498   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1499   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1500   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1501   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1502   --docdir=DIR            documentation root [DATAROOTDIR/doc/openfst]
   1503   --htmldir=DIR           html documentation [DOCDIR]
   1504   --dvidir=DIR            dvi documentation [DOCDIR]
   1505   --pdfdir=DIR            pdf documentation [DOCDIR]
   1506   --psdir=DIR             ps documentation [DOCDIR]
   1507 _ACEOF
   1508 
   1509   cat <<\_ACEOF
   1510 
   1511 Program names:
   1512   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1513   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1514   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1515 
   1516 System types:
   1517   --build=BUILD     configure for building on BUILD [guessed]
   1518   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1519 _ACEOF
   1520 fi
   1521 
   1522 if test -n "$ac_init_help"; then
   1523   case $ac_init_help in
   1524      short | recursive ) echo "Configuration of OpenFst 1.2.10:";;
   1525    esac
   1526   cat <<\_ACEOF
   1527 
   1528 Optional Features:
   1529   --disable-option-checking  ignore unrecognized --enable/--with options
   1530   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1531   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1532   --disable-dependency-tracking  speeds up one-time build
   1533   --enable-dependency-tracking   do not reject slow dependency extractors
   1534   --enable-static[=PKGS]  build static libraries [default=no]
   1535   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1536   --enable-fast-install[=PKGS]
   1537                           optimize for fast installation [default=yes]
   1538   --disable-libtool-lock  avoid locking (might break parallel builds)
   1539   --enable-bin            enable fst::script and command-line binaries
   1540   --enable-compact-fsts   enable all CompactFst extensions
   1541   --enable-const-fsts     enable all ConstFst extensions
   1542   --enable-far            enable FAR extensions
   1543   --enable-lookahead-fsts enable LookAheadFst extensions
   1544   --enable-pdt            enable PDT extensions
   1545 
   1546 Optional Packages:
   1547   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1548   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1549   --with-pic              try to use only PIC/non-PIC objects [default=use
   1550                           both]
   1551   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1552   --with-icu              enable UTF8 support using the ICU Library
   1553 
   1554 Some influential environment variables:
   1555   CXX         C++ compiler command
   1556   CXXFLAGS    C++ compiler flags
   1557   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1558               nonstandard directory <lib dir>
   1559   LIBS        libraries to pass to the linker, e.g. -l<library>
   1560   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1561               you have headers in a nonstandard directory <include dir>
   1562   CC          C compiler command
   1563   CFLAGS      C compiler flags
   1564   CPP         C preprocessor
   1565   CXXCPP      C++ preprocessor
   1566 
   1567 Use these variables to override the choices made by `configure' or to help
   1568 it to find libraries and programs with nonstandard names/locations.
   1569 
   1570 Report bugs to <help@www.openfst.org>.
   1571 _ACEOF
   1572 ac_status=$?
   1573 fi
   1574 
   1575 if test "$ac_init_help" = "recursive"; then
   1576   # If there are subdirs, report their specific --help.
   1577   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1578     test -d "$ac_dir" ||
   1579       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1580       continue
   1581     ac_builddir=.
   1582 
   1583 case "$ac_dir" in
   1584 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1585 *)
   1586   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1587   # A ".." for each directory in $ac_dir_suffix.
   1588   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1589   case $ac_top_builddir_sub in
   1590   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1591   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1592   esac ;;
   1593 esac
   1594 ac_abs_top_builddir=$ac_pwd
   1595 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1596 # for backward compatibility:
   1597 ac_top_builddir=$ac_top_build_prefix
   1598 
   1599 case $srcdir in
   1600   .)  # We are building in place.
   1601     ac_srcdir=.
   1602     ac_top_srcdir=$ac_top_builddir_sub
   1603     ac_abs_top_srcdir=$ac_pwd ;;
   1604   [\\/]* | ?:[\\/]* )  # Absolute name.
   1605     ac_srcdir=$srcdir$ac_dir_suffix;
   1606     ac_top_srcdir=$srcdir
   1607     ac_abs_top_srcdir=$srcdir ;;
   1608   *) # Relative name.
   1609     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1610     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1611     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1612 esac
   1613 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1614 
   1615     cd "$ac_dir" || { ac_status=$?; continue; }
   1616     # Check for guested configure.
   1617     if test -f "$ac_srcdir/configure.gnu"; then
   1618       echo &&
   1619       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1620     elif test -f "$ac_srcdir/configure"; then
   1621       echo &&
   1622       $SHELL "$ac_srcdir/configure" --help=recursive
   1623     else
   1624       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1625     fi || ac_status=$?
   1626     cd "$ac_pwd" || { ac_status=$?; break; }
   1627   done
   1628 fi
   1629 
   1630 test -n "$ac_init_help" && exit $ac_status
   1631 if $ac_init_version; then
   1632   cat <<\_ACEOF
   1633 OpenFst configure 1.2.10
   1634 generated by GNU Autoconf 2.65
   1635 
   1636 Copyright (C) 2009 Free Software Foundation, Inc.
   1637 This configure script is free software; the Free Software Foundation
   1638 gives unlimited permission to copy, distribute and modify it.
   1639 _ACEOF
   1640   exit
   1641 fi
   1642 
   1643 ## ------------------------ ##
   1644 ## Autoconf initialization. ##
   1645 ## ------------------------ ##
   1646 
   1647 # ac_fn_cxx_try_compile LINENO
   1648 # ----------------------------
   1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1650 ac_fn_cxx_try_compile ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   rm -f conftest.$ac_objext
   1654   if { { ac_try="$ac_compile"
   1655 case "(($ac_try" in
   1656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1657   *) ac_try_echo=$ac_try;;
   1658 esac
   1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1660 $as_echo "$ac_try_echo"; } >&5
   1661   (eval "$ac_compile") 2>conftest.err
   1662   ac_status=$?
   1663   if test -s conftest.err; then
   1664     grep -v '^ *+' conftest.err >conftest.er1
   1665     cat conftest.er1 >&5
   1666     mv -f conftest.er1 conftest.err
   1667   fi
   1668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1669   test $ac_status = 0; } && {
   1670 	 test -z "$ac_cxx_werror_flag" ||
   1671 	 test ! -s conftest.err
   1672        } && test -s conftest.$ac_objext; then :
   1673   ac_retval=0
   1674 else
   1675   $as_echo "$as_me: failed program was:" >&5
   1676 sed 's/^/| /' conftest.$ac_ext >&5
   1677 
   1678 	ac_retval=1
   1679 fi
   1680   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1681   as_fn_set_status $ac_retval
   1682 
   1683 } # ac_fn_cxx_try_compile
   1684 
   1685 # ac_fn_c_try_compile LINENO
   1686 # --------------------------
   1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1688 ac_fn_c_try_compile ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   rm -f conftest.$ac_objext
   1692   if { { ac_try="$ac_compile"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_compile") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && {
   1708 	 test -z "$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        } && test -s conftest.$ac_objext; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716 	ac_retval=1
   1717 fi
   1718   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_compile
   1722 
   1723 # ac_fn_c_try_link LINENO
   1724 # -----------------------
   1725 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1726 ac_fn_c_try_link ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   rm -f conftest.$ac_objext conftest$ac_exeext
   1730   if { { ac_try="$ac_link"
   1731 case "(($ac_try" in
   1732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1733   *) ac_try_echo=$ac_try;;
   1734 esac
   1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1736 $as_echo "$ac_try_echo"; } >&5
   1737   (eval "$ac_link") 2>conftest.err
   1738   ac_status=$?
   1739   if test -s conftest.err; then
   1740     grep -v '^ *+' conftest.err >conftest.er1
   1741     cat conftest.er1 >&5
   1742     mv -f conftest.er1 conftest.err
   1743   fi
   1744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1745   test $ac_status = 0; } && {
   1746 	 test -z "$ac_c_werror_flag" ||
   1747 	 test ! -s conftest.err
   1748        } && test -s conftest$ac_exeext && {
   1749 	 test "$cross_compiling" = yes ||
   1750 	 $as_test_x conftest$ac_exeext
   1751        }; then :
   1752   ac_retval=0
   1753 else
   1754   $as_echo "$as_me: failed program was:" >&5
   1755 sed 's/^/| /' conftest.$ac_ext >&5
   1756 
   1757 	ac_retval=1
   1758 fi
   1759   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1760   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1761   # interfere with the next link command; also delete a directory that is
   1762   # left behind by Apple's compiler.  We do this before executing the actions.
   1763   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1764   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1765   as_fn_set_status $ac_retval
   1766 
   1767 } # ac_fn_c_try_link
   1768 
   1769 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1770 # -------------------------------------------------------
   1771 # Tests whether HEADER exists and can be compiled using the include files in
   1772 # INCLUDES, setting the cache variable VAR accordingly.
   1773 ac_fn_c_check_header_compile ()
   1774 {
   1775   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1777 $as_echo_n "checking for $2... " >&6; }
   1778 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1779   $as_echo_n "(cached) " >&6
   1780 else
   1781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1782 /* end confdefs.h.  */
   1783 $4
   1784 #include <$2>
   1785 _ACEOF
   1786 if ac_fn_c_try_compile "$LINENO"; then :
   1787   eval "$3=yes"
   1788 else
   1789   eval "$3=no"
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1792 fi
   1793 eval ac_res=\$$3
   1794 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1795 $as_echo "$ac_res" >&6; }
   1796   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1797 
   1798 } # ac_fn_c_check_header_compile
   1799 
   1800 # ac_fn_c_try_cpp LINENO
   1801 # ----------------------
   1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1803 ac_fn_c_try_cpp ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1807 case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 $as_echo "$ac_try_echo"; } >&5
   1813   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1814   ac_status=$?
   1815   if test -s conftest.err; then
   1816     grep -v '^ *+' conftest.err >conftest.er1
   1817     cat conftest.er1 >&5
   1818     mv -f conftest.er1 conftest.err
   1819   fi
   1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } >/dev/null && {
   1822 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1823 	 test ! -s conftest.err
   1824        }; then :
   1825   ac_retval=0
   1826 else
   1827   $as_echo "$as_me: failed program was:" >&5
   1828 sed 's/^/| /' conftest.$ac_ext >&5
   1829 
   1830     ac_retval=1
   1831 fi
   1832   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1833   as_fn_set_status $ac_retval
   1834 
   1835 } # ac_fn_c_try_cpp
   1836 
   1837 # ac_fn_c_try_run LINENO
   1838 # ----------------------
   1839 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1840 # that executables *can* be run.
   1841 ac_fn_c_try_run ()
   1842 {
   1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1844   if { { ac_try="$ac_link"
   1845 case "(($ac_try" in
   1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1847   *) ac_try_echo=$ac_try;;
   1848 esac
   1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1850 $as_echo "$ac_try_echo"; } >&5
   1851   (eval "$ac_link") 2>&5
   1852   ac_status=$?
   1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1854   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1855   { { case "(($ac_try" in
   1856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1857   *) ac_try_echo=$ac_try;;
   1858 esac
   1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1860 $as_echo "$ac_try_echo"; } >&5
   1861   (eval "$ac_try") 2>&5
   1862   ac_status=$?
   1863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1864   test $ac_status = 0; }; }; then :
   1865   ac_retval=0
   1866 else
   1867   $as_echo "$as_me: program exited with status $ac_status" >&5
   1868        $as_echo "$as_me: failed program was:" >&5
   1869 sed 's/^/| /' conftest.$ac_ext >&5
   1870 
   1871        ac_retval=$ac_status
   1872 fi
   1873   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1874   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1875   as_fn_set_status $ac_retval
   1876 
   1877 } # ac_fn_c_try_run
   1878 
   1879 # ac_fn_c_check_func LINENO FUNC VAR
   1880 # ----------------------------------
   1881 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1882 ac_fn_c_check_func ()
   1883 {
   1884   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1886 $as_echo_n "checking for $2... " >&6; }
   1887 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1888   $as_echo_n "(cached) " >&6
   1889 else
   1890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1891 /* end confdefs.h.  */
   1892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1894 #define $2 innocuous_$2
   1895 
   1896 /* System header to define __stub macros and hopefully few prototypes,
   1897     which can conflict with char $2 (); below.
   1898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1899     <limits.h> exists even on freestanding compilers.  */
   1900 
   1901 #ifdef __STDC__
   1902 # include <limits.h>
   1903 #else
   1904 # include <assert.h>
   1905 #endif
   1906 
   1907 #undef $2
   1908 
   1909 /* Override any GCC internal prototype to avoid an error.
   1910    Use char because int might match the return type of a GCC
   1911    builtin and then its argument prototype would still apply.  */
   1912 #ifdef __cplusplus
   1913 extern "C"
   1914 #endif
   1915 char $2 ();
   1916 /* The GNU C library defines this for functions which it implements
   1917     to always fail with ENOSYS.  Some functions are actually named
   1918     something starting with __ and the normal name is an alias.  */
   1919 #if defined __stub_$2 || defined __stub___$2
   1920 choke me
   1921 #endif
   1922 
   1923 int
   1924 main ()
   1925 {
   1926 return $2 ();
   1927   ;
   1928   return 0;
   1929 }
   1930 _ACEOF
   1931 if ac_fn_c_try_link "$LINENO"; then :
   1932   eval "$3=yes"
   1933 else
   1934   eval "$3=no"
   1935 fi
   1936 rm -f core conftest.err conftest.$ac_objext \
   1937     conftest$ac_exeext conftest.$ac_ext
   1938 fi
   1939 eval ac_res=\$$3
   1940 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1941 $as_echo "$ac_res" >&6; }
   1942   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1943 
   1944 } # ac_fn_c_check_func
   1945 
   1946 # ac_fn_cxx_try_cpp LINENO
   1947 # ------------------------
   1948 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1949 ac_fn_cxx_try_cpp ()
   1950 {
   1951   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1952   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1953 case "(($ac_try" in
   1954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1955   *) ac_try_echo=$ac_try;;
   1956 esac
   1957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1958 $as_echo "$ac_try_echo"; } >&5
   1959   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1960   ac_status=$?
   1961   if test -s conftest.err; then
   1962     grep -v '^ *+' conftest.err >conftest.er1
   1963     cat conftest.er1 >&5
   1964     mv -f conftest.er1 conftest.err
   1965   fi
   1966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1967   test $ac_status = 0; } >/dev/null && {
   1968 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1969 	 test ! -s conftest.err
   1970        }; then :
   1971   ac_retval=0
   1972 else
   1973   $as_echo "$as_me: failed program was:" >&5
   1974 sed 's/^/| /' conftest.$ac_ext >&5
   1975 
   1976     ac_retval=1
   1977 fi
   1978   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1979   as_fn_set_status $ac_retval
   1980 
   1981 } # ac_fn_cxx_try_cpp
   1982 
   1983 # ac_fn_cxx_try_link LINENO
   1984 # -------------------------
   1985 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1986 ac_fn_cxx_try_link ()
   1987 {
   1988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1989   rm -f conftest.$ac_objext conftest$ac_exeext
   1990   if { { ac_try="$ac_link"
   1991 case "(($ac_try" in
   1992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1993   *) ac_try_echo=$ac_try;;
   1994 esac
   1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1996 $as_echo "$ac_try_echo"; } >&5
   1997   (eval "$ac_link") 2>conftest.err
   1998   ac_status=$?
   1999   if test -s conftest.err; then
   2000     grep -v '^ *+' conftest.err >conftest.er1
   2001     cat conftest.er1 >&5
   2002     mv -f conftest.er1 conftest.err
   2003   fi
   2004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2005   test $ac_status = 0; } && {
   2006 	 test -z "$ac_cxx_werror_flag" ||
   2007 	 test ! -s conftest.err
   2008        } && test -s conftest$ac_exeext && {
   2009 	 test "$cross_compiling" = yes ||
   2010 	 $as_test_x conftest$ac_exeext
   2011        }; then :
   2012   ac_retval=0
   2013 else
   2014   $as_echo "$as_me: failed program was:" >&5
   2015 sed 's/^/| /' conftest.$ac_ext >&5
   2016 
   2017 	ac_retval=1
   2018 fi
   2019   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2020   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2021   # interfere with the next link command; also delete a directory that is
   2022   # left behind by Apple's compiler.  We do this before executing the actions.
   2023   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2024   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2025   as_fn_set_status $ac_retval
   2026 
   2027 } # ac_fn_cxx_try_link
   2028 
   2029 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
   2030 # ---------------------------------------------
   2031 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2032 # variable VAR accordingly.
   2033 ac_fn_cxx_check_type ()
   2034 {
   2035   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2037 $as_echo_n "checking for $2... " >&6; }
   2038 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2039   $as_echo_n "(cached) " >&6
   2040 else
   2041   eval "$3=no"
   2042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2043 /* end confdefs.h.  */
   2044 $4
   2045 int
   2046 main ()
   2047 {
   2048 if (sizeof ($2))
   2049 	 return 0;
   2050   ;
   2051   return 0;
   2052 }
   2053 _ACEOF
   2054 if ac_fn_cxx_try_compile "$LINENO"; then :
   2055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2056 /* end confdefs.h.  */
   2057 $4
   2058 int
   2059 main ()
   2060 {
   2061 if (sizeof (($2)))
   2062 	    return 0;
   2063   ;
   2064   return 0;
   2065 }
   2066 _ACEOF
   2067 if ac_fn_cxx_try_compile "$LINENO"; then :
   2068 
   2069 else
   2070   eval "$3=yes"
   2071 fi
   2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2073 fi
   2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2075 fi
   2076 eval ac_res=\$$3
   2077 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2078 $as_echo "$ac_res" >&6; }
   2079   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2080 
   2081 } # ac_fn_cxx_check_type
   2082 cat >config.log <<_ACEOF
   2083 This file contains any messages produced by compilers while
   2084 running configure, to aid debugging if configure makes a mistake.
   2085 
   2086 It was created by OpenFst $as_me 1.2.10, which was
   2087 generated by GNU Autoconf 2.65.  Invocation command line was
   2088 
   2089   $ $0 $@
   2090 
   2091 _ACEOF
   2092 exec 5>>config.log
   2093 {
   2094 cat <<_ASUNAME
   2095 ## --------- ##
   2096 ## Platform. ##
   2097 ## --------- ##
   2098 
   2099 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2100 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2101 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2102 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2103 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2104 
   2105 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2106 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2107 
   2108 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2109 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2110 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2111 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2112 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2113 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2114 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2115 
   2116 _ASUNAME
   2117 
   2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2119 for as_dir in $PATH
   2120 do
   2121   IFS=$as_save_IFS
   2122   test -z "$as_dir" && as_dir=.
   2123     $as_echo "PATH: $as_dir"
   2124   done
   2125 IFS=$as_save_IFS
   2126 
   2127 } >&5
   2128 
   2129 cat >&5 <<_ACEOF
   2130 
   2131 
   2132 ## ----------- ##
   2133 ## Core tests. ##
   2134 ## ----------- ##
   2135 
   2136 _ACEOF
   2137 
   2138 
   2139 # Keep a trace of the command line.
   2140 # Strip out --no-create and --no-recursion so they do not pile up.
   2141 # Strip out --silent because we don't want to record it for future runs.
   2142 # Also quote any args containing shell meta-characters.
   2143 # Make two passes to allow for proper duplicate-argument suppression.
   2144 ac_configure_args=
   2145 ac_configure_args0=
   2146 ac_configure_args1=
   2147 ac_must_keep_next=false
   2148 for ac_pass in 1 2
   2149 do
   2150   for ac_arg
   2151   do
   2152     case $ac_arg in
   2153     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2154     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2155     | -silent | --silent | --silen | --sile | --sil)
   2156       continue ;;
   2157     *\'*)
   2158       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2159     esac
   2160     case $ac_pass in
   2161     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2162     2)
   2163       as_fn_append ac_configure_args1 " '$ac_arg'"
   2164       if test $ac_must_keep_next = true; then
   2165 	ac_must_keep_next=false # Got value, back to normal.
   2166       else
   2167 	case $ac_arg in
   2168 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2169 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2170 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2171 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2172 	    case "$ac_configure_args0 " in
   2173 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2174 	    esac
   2175 	    ;;
   2176 	  -* ) ac_must_keep_next=true ;;
   2177 	esac
   2178       fi
   2179       as_fn_append ac_configure_args " '$ac_arg'"
   2180       ;;
   2181     esac
   2182   done
   2183 done
   2184 { ac_configure_args0=; unset ac_configure_args0;}
   2185 { ac_configure_args1=; unset ac_configure_args1;}
   2186 
   2187 # When interrupted or exit'd, cleanup temporary files, and complete
   2188 # config.log.  We remove comments because anyway the quotes in there
   2189 # would cause problems or look ugly.
   2190 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2191 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2192 trap 'exit_status=$?
   2193   # Save into config.log some information that might help in debugging.
   2194   {
   2195     echo
   2196 
   2197     cat <<\_ASBOX
   2198 ## ---------------- ##
   2199 ## Cache variables. ##
   2200 ## ---------------- ##
   2201 _ASBOX
   2202     echo
   2203     # The following way of writing the cache mishandles newlines in values,
   2204 (
   2205   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2206     eval ac_val=\$$ac_var
   2207     case $ac_val in #(
   2208     *${as_nl}*)
   2209       case $ac_var in #(
   2210       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2211 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2212       esac
   2213       case $ac_var in #(
   2214       _ | IFS | as_nl) ;; #(
   2215       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2216       *) { eval $ac_var=; unset $ac_var;} ;;
   2217       esac ;;
   2218     esac
   2219   done
   2220   (set) 2>&1 |
   2221     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2222     *${as_nl}ac_space=\ *)
   2223       sed -n \
   2224 	"s/'\''/'\''\\\\'\'''\''/g;
   2225 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2226       ;; #(
   2227     *)
   2228       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2229       ;;
   2230     esac |
   2231     sort
   2232 )
   2233     echo
   2234 
   2235     cat <<\_ASBOX
   2236 ## ----------------- ##
   2237 ## Output variables. ##
   2238 ## ----------------- ##
   2239 _ASBOX
   2240     echo
   2241     for ac_var in $ac_subst_vars
   2242     do
   2243       eval ac_val=\$$ac_var
   2244       case $ac_val in
   2245       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2246       esac
   2247       $as_echo "$ac_var='\''$ac_val'\''"
   2248     done | sort
   2249     echo
   2250 
   2251     if test -n "$ac_subst_files"; then
   2252       cat <<\_ASBOX
   2253 ## ------------------- ##
   2254 ## File substitutions. ##
   2255 ## ------------------- ##
   2256 _ASBOX
   2257       echo
   2258       for ac_var in $ac_subst_files
   2259       do
   2260 	eval ac_val=\$$ac_var
   2261 	case $ac_val in
   2262 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2263 	esac
   2264 	$as_echo "$ac_var='\''$ac_val'\''"
   2265       done | sort
   2266       echo
   2267     fi
   2268 
   2269     if test -s confdefs.h; then
   2270       cat <<\_ASBOX
   2271 ## ----------- ##
   2272 ## confdefs.h. ##
   2273 ## ----------- ##
   2274 _ASBOX
   2275       echo
   2276       cat confdefs.h
   2277       echo
   2278     fi
   2279     test "$ac_signal" != 0 &&
   2280       $as_echo "$as_me: caught signal $ac_signal"
   2281     $as_echo "$as_me: exit $exit_status"
   2282   } >&5
   2283   rm -f core *.core core.conftest.* &&
   2284     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2285     exit $exit_status
   2286 ' 0
   2287 for ac_signal in 1 2 13 15; do
   2288   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2289 done
   2290 ac_signal=0
   2291 
   2292 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2293 rm -f -r conftest* confdefs.h
   2294 
   2295 $as_echo "/* confdefs.h */" > confdefs.h
   2296 
   2297 # Predefined preprocessor variables.
   2298 
   2299 cat >>confdefs.h <<_ACEOF
   2300 #define PACKAGE_NAME "$PACKAGE_NAME"
   2301 _ACEOF
   2302 
   2303 cat >>confdefs.h <<_ACEOF
   2304 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2305 _ACEOF
   2306 
   2307 cat >>confdefs.h <<_ACEOF
   2308 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2309 _ACEOF
   2310 
   2311 cat >>confdefs.h <<_ACEOF
   2312 #define PACKAGE_STRING "$PACKAGE_STRING"
   2313 _ACEOF
   2314 
   2315 cat >>confdefs.h <<_ACEOF
   2316 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2317 _ACEOF
   2318 
   2319 cat >>confdefs.h <<_ACEOF
   2320 #define PACKAGE_URL "$PACKAGE_URL"
   2321 _ACEOF
   2322 
   2323 
   2324 # Let the site file select an alternate cache file if it wants to.
   2325 # Prefer an explicitly selected file to automatically selected ones.
   2326 ac_site_file1=NONE
   2327 ac_site_file2=NONE
   2328 if test -n "$CONFIG_SITE"; then
   2329   ac_site_file1=$CONFIG_SITE
   2330 elif test "x$prefix" != xNONE; then
   2331   ac_site_file1=$prefix/share/config.site
   2332   ac_site_file2=$prefix/etc/config.site
   2333 else
   2334   ac_site_file1=$ac_default_prefix/share/config.site
   2335   ac_site_file2=$ac_default_prefix/etc/config.site
   2336 fi
   2337 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2338 do
   2339   test "x$ac_site_file" = xNONE && continue
   2340   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2341     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2342 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2343     sed 's/^/| /' "$ac_site_file" >&5
   2344     . "$ac_site_file"
   2345   fi
   2346 done
   2347 
   2348 if test -r "$cache_file"; then
   2349   # Some versions of bash will fail to source /dev/null (special files
   2350   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2351   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2352     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2353 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2354     case $cache_file in
   2355       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2356       *)                      . "./$cache_file";;
   2357     esac
   2358   fi
   2359 else
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2361 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2362   >$cache_file
   2363 fi
   2364 
   2365 # Check that the precious variables saved in the cache have kept the same
   2366 # value.
   2367 ac_cache_corrupted=false
   2368 for ac_var in $ac_precious_vars; do
   2369   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2370   eval ac_new_set=\$ac_env_${ac_var}_set
   2371   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2372   eval ac_new_val=\$ac_env_${ac_var}_value
   2373   case $ac_old_set,$ac_new_set in
   2374     set,)
   2375       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2376 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2377       ac_cache_corrupted=: ;;
   2378     ,set)
   2379       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2380 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2381       ac_cache_corrupted=: ;;
   2382     ,);;
   2383     *)
   2384       if test "x$ac_old_val" != "x$ac_new_val"; then
   2385 	# differences in whitespace do not lead to failure.
   2386 	ac_old_val_w=`echo x $ac_old_val`
   2387 	ac_new_val_w=`echo x $ac_new_val`
   2388 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2389 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2390 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2391 	  ac_cache_corrupted=:
   2392 	else
   2393 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2394 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2395 	  eval $ac_var=\$ac_old_val
   2396 	fi
   2397 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2398 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2399 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2400 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2401       fi;;
   2402   esac
   2403   # Pass precious variables to config.status.
   2404   if test "$ac_new_set" = set; then
   2405     case $ac_new_val in
   2406     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2407     *) ac_arg=$ac_var=$ac_new_val ;;
   2408     esac
   2409     case " $ac_configure_args " in
   2410       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2411       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2412     esac
   2413   fi
   2414 done
   2415 if $ac_cache_corrupted; then
   2416   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2418   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2419 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2420   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2421 fi
   2422 ## -------------------- ##
   2423 ## Main body of script. ##
   2424 ## -------------------- ##
   2425 
   2426 ac_ext=c
   2427 ac_cpp='$CPP $CPPFLAGS'
   2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2431 
   2432 
   2433 am__api_version='1.11'
   2434 
   2435 ac_aux_dir=
   2436 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2437   for ac_t in install-sh install.sh shtool; do
   2438     if test -f "$ac_dir/$ac_t"; then
   2439       ac_aux_dir=$ac_dir
   2440       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2441       break 2
   2442     fi
   2443   done
   2444 done
   2445 if test -z "$ac_aux_dir"; then
   2446   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2447 fi
   2448 
   2449 # These three variables are undocumented and unsupported,
   2450 # and are intended to be withdrawn in a future Autoconf release.
   2451 # They can cause serious problems if a builder's source tree is in a directory
   2452 # whose full name contains unusual characters.
   2453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2455 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2456 
   2457 
   2458 # Find a good install program.  We prefer a C program (faster),
   2459 # so one script is as good as another.  But avoid the broken or
   2460 # incompatible versions:
   2461 # SysV /etc/install, /usr/sbin/install
   2462 # SunOS /usr/etc/install
   2463 # IRIX /sbin/install
   2464 # AIX /bin/install
   2465 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2466 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2467 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2468 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2469 # OS/2's system install, which has a completely different semantic
   2470 # ./install, which can be erroneously created by make from ./install.sh.
   2471 # Reject install programs that cannot install multiple files.
   2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2473 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2474 if test -z "$INSTALL"; then
   2475 if test "${ac_cv_path_install+set}" = set; then :
   2476   $as_echo_n "(cached) " >&6
   2477 else
   2478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483     # Account for people who put trailing slashes in PATH elements.
   2484 case $as_dir/ in #((
   2485   ./ | .// | /[cC]/* | \
   2486   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2487   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2488   /usr/ucb/* ) ;;
   2489   *)
   2490     # OSF1 and SCO ODT 3.0 have their own names for install.
   2491     # Don't use installbsd from OSF since it installs stuff as root
   2492     # by default.
   2493     for ac_prog in ginstall scoinst install; do
   2494       for ac_exec_ext in '' $ac_executable_extensions; do
   2495 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2496 	  if test $ac_prog = install &&
   2497 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2498 	    # AIX install.  It has an incompatible calling convention.
   2499 	    :
   2500 	  elif test $ac_prog = install &&
   2501 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2502 	    # program-specific install script used by HP pwplus--don't use.
   2503 	    :
   2504 	  else
   2505 	    rm -rf conftest.one conftest.two conftest.dir
   2506 	    echo one > conftest.one
   2507 	    echo two > conftest.two
   2508 	    mkdir conftest.dir
   2509 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2510 	      test -s conftest.one && test -s conftest.two &&
   2511 	      test -s conftest.dir/conftest.one &&
   2512 	      test -s conftest.dir/conftest.two
   2513 	    then
   2514 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2515 	      break 3
   2516 	    fi
   2517 	  fi
   2518 	fi
   2519       done
   2520     done
   2521     ;;
   2522 esac
   2523 
   2524   done
   2525 IFS=$as_save_IFS
   2526 
   2527 rm -rf conftest.one conftest.two conftest.dir
   2528 
   2529 fi
   2530   if test "${ac_cv_path_install+set}" = set; then
   2531     INSTALL=$ac_cv_path_install
   2532   else
   2533     # As a last resort, use the slow shell script.  Don't cache a
   2534     # value for INSTALL within a source directory, because that will
   2535     # break other packages using the cache if that directory is
   2536     # removed, or if the value is a relative name.
   2537     INSTALL=$ac_install_sh
   2538   fi
   2539 fi
   2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2541 $as_echo "$INSTALL" >&6; }
   2542 
   2543 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2544 # It thinks the first close brace ends the variable substitution.
   2545 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2546 
   2547 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2548 
   2549 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2550 
   2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2552 $as_echo_n "checking whether build environment is sane... " >&6; }
   2553 # Just in case
   2554 sleep 1
   2555 echo timestamp > conftest.file
   2556 # Reject unsafe characters in $srcdir or the absolute working directory
   2557 # name.  Accept space and tab only in the latter.
   2558 am_lf='
   2559 '
   2560 case `pwd` in
   2561   *[\\\"\#\$\&\'\`$am_lf]*)
   2562     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2563 esac
   2564 case $srcdir in
   2565   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2566     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2567 esac
   2568 
   2569 # Do `set' in a subshell so we don't clobber the current shell's
   2570 # arguments.  Must try -L first in case configure is actually a
   2571 # symlink; some systems play weird games with the mod time of symlinks
   2572 # (eg FreeBSD returns the mod time of the symlink's containing
   2573 # directory).
   2574 if (
   2575    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2576    if test "$*" = "X"; then
   2577       # -L didn't work.
   2578       set X `ls -t "$srcdir/configure" conftest.file`
   2579    fi
   2580    rm -f conftest.file
   2581    if test "$*" != "X $srcdir/configure conftest.file" \
   2582       && test "$*" != "X conftest.file $srcdir/configure"; then
   2583 
   2584       # If neither matched, then we have a broken ls.  This can happen
   2585       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2586       # broken ls alias from the environment.  This has actually
   2587       # happened.  Such a system could not be considered "sane".
   2588       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2589 alias in your environment" "$LINENO" 5
   2590    fi
   2591 
   2592    test "$2" = conftest.file
   2593    )
   2594 then
   2595    # Ok.
   2596    :
   2597 else
   2598    as_fn_error "newly created file is older than distributed files!
   2599 Check your system clock" "$LINENO" 5
   2600 fi
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2602 $as_echo "yes" >&6; }
   2603 test "$program_prefix" != NONE &&
   2604   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2605 # Use a double $ so make ignores it.
   2606 test "$program_suffix" != NONE &&
   2607   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2608 # Double any \ or $.
   2609 # By default was `s,x,x', remove it if useless.
   2610 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2611 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2612 
   2613 # expand $ac_aux_dir to an absolute path
   2614 am_aux_dir=`cd $ac_aux_dir && pwd`
   2615 
   2616 if test x"${MISSING+set}" != xset; then
   2617   case $am_aux_dir in
   2618   *\ * | *\	*)
   2619     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2620   *)
   2621     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2622   esac
   2623 fi
   2624 # Use eval to expand $SHELL
   2625 if eval "$MISSING --run true"; then
   2626   am_missing_run="$MISSING --run "
   2627 else
   2628   am_missing_run=
   2629   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2630 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2631 fi
   2632 
   2633 if test x"${install_sh}" != xset; then
   2634   case $am_aux_dir in
   2635   *\ * | *\	*)
   2636     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2637   *)
   2638     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2639   esac
   2640 fi
   2641 
   2642 # Installed binaries are usually stripped using `strip' when the user
   2643 # run `make install-strip'.  However `strip' might not be the right
   2644 # tool to use in cross-compilation environments, therefore Automake
   2645 # will honor the `STRIP' environment variable to overrule this program.
   2646 if test "$cross_compiling" != no; then
   2647   if test -n "$ac_tool_prefix"; then
   2648   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2649 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2651 $as_echo_n "checking for $ac_word... " >&6; }
   2652 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2653   $as_echo_n "(cached) " >&6
   2654 else
   2655   if test -n "$STRIP"; then
   2656   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2657 else
   2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2659 for as_dir in $PATH
   2660 do
   2661   IFS=$as_save_IFS
   2662   test -z "$as_dir" && as_dir=.
   2663     for ac_exec_ext in '' $ac_executable_extensions; do
   2664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2665     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2667     break 2
   2668   fi
   2669 done
   2670   done
   2671 IFS=$as_save_IFS
   2672 
   2673 fi
   2674 fi
   2675 STRIP=$ac_cv_prog_STRIP
   2676 if test -n "$STRIP"; then
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2678 $as_echo "$STRIP" >&6; }
   2679 else
   2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2681 $as_echo "no" >&6; }
   2682 fi
   2683 
   2684 
   2685 fi
   2686 if test -z "$ac_cv_prog_STRIP"; then
   2687   ac_ct_STRIP=$STRIP
   2688   # Extract the first word of "strip", so it can be a program name with args.
   2689 set dummy strip; ac_word=$2
   2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2691 $as_echo_n "checking for $ac_word... " >&6; }
   2692 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2693   $as_echo_n "(cached) " >&6
   2694 else
   2695   if test -n "$ac_ct_STRIP"; then
   2696   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2697 else
   2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2699 for as_dir in $PATH
   2700 do
   2701   IFS=$as_save_IFS
   2702   test -z "$as_dir" && as_dir=.
   2703     for ac_exec_ext in '' $ac_executable_extensions; do
   2704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2705     ac_cv_prog_ac_ct_STRIP="strip"
   2706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2707     break 2
   2708   fi
   2709 done
   2710   done
   2711 IFS=$as_save_IFS
   2712 
   2713 fi
   2714 fi
   2715 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2716 if test -n "$ac_ct_STRIP"; then
   2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2718 $as_echo "$ac_ct_STRIP" >&6; }
   2719 else
   2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2721 $as_echo "no" >&6; }
   2722 fi
   2723 
   2724   if test "x$ac_ct_STRIP" = x; then
   2725     STRIP=":"
   2726   else
   2727     case $cross_compiling:$ac_tool_warned in
   2728 yes:)
   2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2731 ac_tool_warned=yes ;;
   2732 esac
   2733     STRIP=$ac_ct_STRIP
   2734   fi
   2735 else
   2736   STRIP="$ac_cv_prog_STRIP"
   2737 fi
   2738 
   2739 fi
   2740 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2741 
   2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2743 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2744 if test -z "$MKDIR_P"; then
   2745   if test "${ac_cv_path_mkdir+set}" = set; then :
   2746   $as_echo_n "(cached) " >&6
   2747 else
   2748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2749 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2750 do
   2751   IFS=$as_save_IFS
   2752   test -z "$as_dir" && as_dir=.
   2753     for ac_prog in mkdir gmkdir; do
   2754 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2755 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2756 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2757 	     'mkdir (GNU coreutils) '* | \
   2758 	     'mkdir (coreutils) '* | \
   2759 	     'mkdir (fileutils) '4.1*)
   2760 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2761 	       break 3;;
   2762 	   esac
   2763 	 done
   2764        done
   2765   done
   2766 IFS=$as_save_IFS
   2767 
   2768 fi
   2769 
   2770   test -d ./--version && rmdir ./--version
   2771   if test "${ac_cv_path_mkdir+set}" = set; then
   2772     MKDIR_P="$ac_cv_path_mkdir -p"
   2773   else
   2774     # As a last resort, use the slow shell script.  Don't cache a
   2775     # value for MKDIR_P within a source directory, because that will
   2776     # break other packages using the cache if that directory is
   2777     # removed, or if the value is a relative name.
   2778     MKDIR_P="$ac_install_sh -d"
   2779   fi
   2780 fi
   2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2782 $as_echo "$MKDIR_P" >&6; }
   2783 
   2784 mkdir_p="$MKDIR_P"
   2785 case $mkdir_p in
   2786   [\\/$]* | ?:[\\/]*) ;;
   2787   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2788 esac
   2789 
   2790 for ac_prog in gawk mawk nawk awk
   2791 do
   2792   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2793 set dummy $ac_prog; ac_word=$2
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2795 $as_echo_n "checking for $ac_word... " >&6; }
   2796 if test "${ac_cv_prog_AWK+set}" = set; then :
   2797   $as_echo_n "(cached) " >&6
   2798 else
   2799   if test -n "$AWK"; then
   2800   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2801 else
   2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2803 for as_dir in $PATH
   2804 do
   2805   IFS=$as_save_IFS
   2806   test -z "$as_dir" && as_dir=.
   2807     for ac_exec_ext in '' $ac_executable_extensions; do
   2808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2809     ac_cv_prog_AWK="$ac_prog"
   2810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2811     break 2
   2812   fi
   2813 done
   2814   done
   2815 IFS=$as_save_IFS
   2816 
   2817 fi
   2818 fi
   2819 AWK=$ac_cv_prog_AWK
   2820 if test -n "$AWK"; then
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2822 $as_echo "$AWK" >&6; }
   2823 else
   2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2825 $as_echo "no" >&6; }
   2826 fi
   2827 
   2828 
   2829   test -n "$AWK" && break
   2830 done
   2831 
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2834 set x ${MAKE-make}
   2835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2836 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   cat >conftest.make <<\_ACEOF
   2840 SHELL = /bin/sh
   2841 all:
   2842 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2843 _ACEOF
   2844 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2846   *@@@%%%=?*=@@@%%%*)
   2847     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2848   *)
   2849     eval ac_cv_prog_make_${ac_make}_set=no;;
   2850 esac
   2851 rm -f conftest.make
   2852 fi
   2853 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2855 $as_echo "yes" >&6; }
   2856   SET_MAKE=
   2857 else
   2858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2859 $as_echo "no" >&6; }
   2860   SET_MAKE="MAKE=${MAKE-make}"
   2861 fi
   2862 
   2863 rm -rf .tst 2>/dev/null
   2864 mkdir .tst 2>/dev/null
   2865 if test -d .tst; then
   2866   am__leading_dot=.
   2867 else
   2868   am__leading_dot=_
   2869 fi
   2870 rmdir .tst 2>/dev/null
   2871 
   2872 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2873   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2874   # is not polluted with repeated "-I."
   2875   am__isrc=' -I$(srcdir)'
   2876   # test to see if srcdir already configured
   2877   if test -f $srcdir/config.status; then
   2878     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2879   fi
   2880 fi
   2881 
   2882 # test whether we have cygpath
   2883 if test -z "$CYGPATH_W"; then
   2884   if (cygpath --version) >/dev/null 2>/dev/null; then
   2885     CYGPATH_W='cygpath -w'
   2886   else
   2887     CYGPATH_W=echo
   2888   fi
   2889 fi
   2890 
   2891 
   2892 # Define the identity of the package.
   2893  PACKAGE='openfst'
   2894  VERSION='1.2.10'
   2895 
   2896 
   2897 cat >>confdefs.h <<_ACEOF
   2898 #define PACKAGE "$PACKAGE"
   2899 _ACEOF
   2900 
   2901 
   2902 cat >>confdefs.h <<_ACEOF
   2903 #define VERSION "$VERSION"
   2904 _ACEOF
   2905 
   2906 # Some tools Automake needs.
   2907 
   2908 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2909 
   2910 
   2911 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2912 
   2913 
   2914 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2915 
   2916 
   2917 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2918 
   2919 
   2920 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2921 
   2922 # We need awk for the "check" target.  The system "awk" is bad on
   2923 # some platforms.
   2924 # Always define AMTAR for backward compatibility.
   2925 
   2926 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2927 
   2928 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2929 
   2930 
   2931 
   2932 
   2933 
   2934 
   2935 ac_ext=cpp
   2936 ac_cpp='$CXXCPP $CPPFLAGS'
   2937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   2940 if test -z "$CXX"; then
   2941   if test -n "$CCC"; then
   2942     CXX=$CCC
   2943   else
   2944     if test -n "$ac_tool_prefix"; then
   2945   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   2946   do
   2947     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2950 $as_echo_n "checking for $ac_word... " >&6; }
   2951 if test "${ac_cv_prog_CXX+set}" = set; then :
   2952   $as_echo_n "(cached) " >&6
   2953 else
   2954   if test -n "$CXX"; then
   2955   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   2956 else
   2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2958 for as_dir in $PATH
   2959 do
   2960   IFS=$as_save_IFS
   2961   test -z "$as_dir" && as_dir=.
   2962     for ac_exec_ext in '' $ac_executable_extensions; do
   2963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2964     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   2965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2966     break 2
   2967   fi
   2968 done
   2969   done
   2970 IFS=$as_save_IFS
   2971 
   2972 fi
   2973 fi
   2974 CXX=$ac_cv_prog_CXX
   2975 if test -n "$CXX"; then
   2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   2977 $as_echo "$CXX" >&6; }
   2978 else
   2979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2980 $as_echo "no" >&6; }
   2981 fi
   2982 
   2983 
   2984     test -n "$CXX" && break
   2985   done
   2986 fi
   2987 if test -z "$CXX"; then
   2988   ac_ct_CXX=$CXX
   2989   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   2990 do
   2991   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2992 set dummy $ac_prog; ac_word=$2
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$ac_ct_CXX"; then
   2999   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006     for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3008     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013   done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3019 if test -n "$ac_ct_CXX"; then
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   3021 $as_echo "$ac_ct_CXX" >&6; }
   3022 else
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028   test -n "$ac_ct_CXX" && break
   3029 done
   3030 
   3031   if test "x$ac_ct_CXX" = x; then
   3032     CXX="g++"
   3033   else
   3034     case $cross_compiling:$ac_tool_warned in
   3035 yes:)
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3038 ac_tool_warned=yes ;;
   3039 esac
   3040     CXX=$ac_ct_CXX
   3041   fi
   3042 fi
   3043 
   3044   fi
   3045 fi
   3046 # Provide some information about the compiler.
   3047 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   3048 set X $ac_compile
   3049 ac_compiler=$2
   3050 for ac_option in --version -v -V -qversion; do
   3051   { { ac_try="$ac_compiler $ac_option >&5"
   3052 case "(($ac_try" in
   3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3054   *) ac_try_echo=$ac_try;;
   3055 esac
   3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3057 $as_echo "$ac_try_echo"; } >&5
   3058   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3059   ac_status=$?
   3060   if test -s conftest.err; then
   3061     sed '10a\
   3062 ... rest of stderr output deleted ...
   3063          10q' conftest.err >conftest.er1
   3064     cat conftest.er1 >&5
   3065   fi
   3066   rm -f conftest.er1 conftest.err
   3067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3068   test $ac_status = 0; }
   3069 done
   3070 
   3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3072 /* end confdefs.h.  */
   3073 
   3074 int
   3075 main ()
   3076 {
   3077 
   3078   ;
   3079   return 0;
   3080 }
   3081 _ACEOF
   3082 ac_clean_files_save=$ac_clean_files
   3083 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3084 # Try to create an executable without -o first, disregard a.out.
   3085 # It will help us diagnose broken compilers, and finding out an intuition
   3086 # of exeext.
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
   3088 $as_echo_n "checking whether the C++ compiler works... " >&6; }
   3089 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3090 
   3091 # The possible output files:
   3092 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3093 
   3094 ac_rmfiles=
   3095 for ac_file in $ac_files
   3096 do
   3097   case $ac_file in
   3098     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3099     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3100   esac
   3101 done
   3102 rm -f $ac_rmfiles
   3103 
   3104 if { { ac_try="$ac_link_default"
   3105 case "(($ac_try" in
   3106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3107   *) ac_try_echo=$ac_try;;
   3108 esac
   3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3110 $as_echo "$ac_try_echo"; } >&5
   3111   (eval "$ac_link_default") 2>&5
   3112   ac_status=$?
   3113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3114   test $ac_status = 0; }; then :
   3115   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3116 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3117 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3118 # so that the user can short-circuit this test for compilers unknown to
   3119 # Autoconf.
   3120 for ac_file in $ac_files ''
   3121 do
   3122   test -f "$ac_file" || continue
   3123   case $ac_file in
   3124     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3125 	;;
   3126     [ab].out )
   3127 	# We found the default executable, but exeext='' is most
   3128 	# certainly right.
   3129 	break;;
   3130     *.* )
   3131 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3132 	then :; else
   3133 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3134 	fi
   3135 	# We set ac_cv_exeext here because the later test for it is not
   3136 	# safe: cross compilers may not add the suffix if given an `-o'
   3137 	# argument, so we may need to know it at that point already.
   3138 	# Even if this section looks crufty: it has the advantage of
   3139 	# actually working.
   3140 	break;;
   3141     * )
   3142 	break;;
   3143   esac
   3144 done
   3145 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3146 
   3147 else
   3148   ac_file=''
   3149 fi
   3150 if test -z "$ac_file"; then :
   3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3152 $as_echo "no" >&6; }
   3153 $as_echo "$as_me: failed program was:" >&5
   3154 sed 's/^/| /' conftest.$ac_ext >&5
   3155 
   3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3158 { as_fn_set_status 77
   3159 as_fn_error "C++ compiler cannot create executables
   3160 See \`config.log' for more details." "$LINENO" 5; }; }
   3161 else
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3163 $as_echo "yes" >&6; }
   3164 fi
   3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
   3166 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3168 $as_echo "$ac_file" >&6; }
   3169 ac_exeext=$ac_cv_exeext
   3170 
   3171 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3172 ac_clean_files=$ac_clean_files_save
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3174 $as_echo_n "checking for suffix of executables... " >&6; }
   3175 if { { ac_try="$ac_link"
   3176 case "(($ac_try" in
   3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3178   *) ac_try_echo=$ac_try;;
   3179 esac
   3180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3181 $as_echo "$ac_try_echo"; } >&5
   3182   (eval "$ac_link") 2>&5
   3183   ac_status=$?
   3184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3185   test $ac_status = 0; }; then :
   3186   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3187 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3188 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3189 # `rm'.
   3190 for ac_file in conftest.exe conftest conftest.*; do
   3191   test -f "$ac_file" || continue
   3192   case $ac_file in
   3193     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3194     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3195 	  break;;
   3196     * ) break;;
   3197   esac
   3198 done
   3199 else
   3200   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3202 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3203 See \`config.log' for more details." "$LINENO" 5; }
   3204 fi
   3205 rm -f conftest conftest$ac_cv_exeext
   3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3207 $as_echo "$ac_cv_exeext" >&6; }
   3208 
   3209 rm -f conftest.$ac_ext
   3210 EXEEXT=$ac_cv_exeext
   3211 ac_exeext=$EXEEXT
   3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3213 /* end confdefs.h.  */
   3214 #include <stdio.h>
   3215 int
   3216 main ()
   3217 {
   3218 FILE *f = fopen ("conftest.out", "w");
   3219  return ferror (f) || fclose (f) != 0;
   3220 
   3221   ;
   3222   return 0;
   3223 }
   3224 _ACEOF
   3225 ac_clean_files="$ac_clean_files conftest.out"
   3226 # Check that the compiler produces executables we can run.  If not, either
   3227 # the compiler is broken, or we cross compile.
   3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3229 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3230 if test "$cross_compiling" != yes; then
   3231   { { ac_try="$ac_link"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_link") 2>&5
   3239   ac_status=$?
   3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3241   test $ac_status = 0; }
   3242   if { ac_try='./conftest$ac_cv_exeext'
   3243   { { case "(($ac_try" in
   3244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3245   *) ac_try_echo=$ac_try;;
   3246 esac
   3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3248 $as_echo "$ac_try_echo"; } >&5
   3249   (eval "$ac_try") 2>&5
   3250   ac_status=$?
   3251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3252   test $ac_status = 0; }; }; then
   3253     cross_compiling=no
   3254   else
   3255     if test "$cross_compiling" = maybe; then
   3256 	cross_compiling=yes
   3257     else
   3258 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3260 as_fn_error "cannot run C++ compiled programs.
   3261 If you meant to cross compile, use \`--host'.
   3262 See \`config.log' for more details." "$LINENO" 5; }
   3263     fi
   3264   fi
   3265 fi
   3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3267 $as_echo "$cross_compiling" >&6; }
   3268 
   3269 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3270 ac_clean_files=$ac_clean_files_save
   3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3272 $as_echo_n "checking for suffix of object files... " >&6; }
   3273 if test "${ac_cv_objext+set}" = set; then :
   3274   $as_echo_n "(cached) " >&6
   3275 else
   3276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3277 /* end confdefs.h.  */
   3278 
   3279 int
   3280 main ()
   3281 {
   3282 
   3283   ;
   3284   return 0;
   3285 }
   3286 _ACEOF
   3287 rm -f conftest.o conftest.obj
   3288 if { { ac_try="$ac_compile"
   3289 case "(($ac_try" in
   3290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3291   *) ac_try_echo=$ac_try;;
   3292 esac
   3293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3294 $as_echo "$ac_try_echo"; } >&5
   3295   (eval "$ac_compile") 2>&5
   3296   ac_status=$?
   3297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3298   test $ac_status = 0; }; then :
   3299   for ac_file in conftest.o conftest.obj conftest.*; do
   3300   test -f "$ac_file" || continue;
   3301   case $ac_file in
   3302     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3303     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3304        break;;
   3305   esac
   3306 done
   3307 else
   3308   $as_echo "$as_me: failed program was:" >&5
   3309 sed 's/^/| /' conftest.$ac_ext >&5
   3310 
   3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3313 as_fn_error "cannot compute suffix of object files: cannot compile
   3314 See \`config.log' for more details." "$LINENO" 5; }
   3315 fi
   3316 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3317 fi
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3319 $as_echo "$ac_cv_objext" >&6; }
   3320 OBJEXT=$ac_cv_objext
   3321 ac_objext=$OBJEXT
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   3323 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   3324 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   3325   $as_echo_n "(cached) " >&6
   3326 else
   3327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3328 /* end confdefs.h.  */
   3329 
   3330 int
   3331 main ()
   3332 {
   3333 #ifndef __GNUC__
   3334        choke me
   3335 #endif
   3336 
   3337   ;
   3338   return 0;
   3339 }
   3340 _ACEOF
   3341 if ac_fn_cxx_try_compile "$LINENO"; then :
   3342   ac_compiler_gnu=yes
   3343 else
   3344   ac_compiler_gnu=no
   3345 fi
   3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3347 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3348 
   3349 fi
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   3351 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   3352 if test $ac_compiler_gnu = yes; then
   3353   GXX=yes
   3354 else
   3355   GXX=
   3356 fi
   3357 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3358 ac_save_CXXFLAGS=$CXXFLAGS
   3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   3360 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   3361 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   3362   $as_echo_n "(cached) " >&6
   3363 else
   3364   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3365    ac_cxx_werror_flag=yes
   3366    ac_cv_prog_cxx_g=no
   3367    CXXFLAGS="-g"
   3368    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3369 /* end confdefs.h.  */
   3370 
   3371 int
   3372 main ()
   3373 {
   3374 
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 if ac_fn_cxx_try_compile "$LINENO"; then :
   3380   ac_cv_prog_cxx_g=yes
   3381 else
   3382   CXXFLAGS=""
   3383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3384 /* end confdefs.h.  */
   3385 
   3386 int
   3387 main ()
   3388 {
   3389 
   3390   ;
   3391   return 0;
   3392 }
   3393 _ACEOF
   3394 if ac_fn_cxx_try_compile "$LINENO"; then :
   3395 
   3396 else
   3397   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3398 	 CXXFLAGS="-g"
   3399 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3400 /* end confdefs.h.  */
   3401 
   3402 int
   3403 main ()
   3404 {
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 if ac_fn_cxx_try_compile "$LINENO"; then :
   3411   ac_cv_prog_cxx_g=yes
   3412 fi
   3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3414 fi
   3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3416 fi
   3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3418    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3419 fi
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   3421 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   3422 if test "$ac_test_CXXFLAGS" = set; then
   3423   CXXFLAGS=$ac_save_CXXFLAGS
   3424 elif test $ac_cv_prog_cxx_g = yes; then
   3425   if test "$GXX" = yes; then
   3426     CXXFLAGS="-g -O2"
   3427   else
   3428     CXXFLAGS="-g"
   3429   fi
   3430 else
   3431   if test "$GXX" = yes; then
   3432     CXXFLAGS="-O2"
   3433   else
   3434     CXXFLAGS=
   3435   fi
   3436 fi
   3437 ac_ext=c
   3438 ac_cpp='$CPP $CPPFLAGS'
   3439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3442 DEPDIR="${am__leading_dot}deps"
   3443 
   3444 ac_config_commands="$ac_config_commands depfiles"
   3445 
   3446 
   3447 am_make=${MAKE-make}
   3448 cat > confinc << 'END'
   3449 am__doit:
   3450 	@echo this is the am__doit target
   3451 .PHONY: am__doit
   3452 END
   3453 # If we don't find an include directive, just comment out the code.
   3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3455 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3456 am__include="#"
   3457 am__quote=
   3458 _am_result=none
   3459 # First try GNU make style include.
   3460 echo "include confinc" > confmf
   3461 # Ignore all kinds of additional output from `make'.
   3462 case `$am_make -s -f confmf 2> /dev/null` in #(
   3463 *the\ am__doit\ target*)
   3464   am__include=include
   3465   am__quote=
   3466   _am_result=GNU
   3467   ;;
   3468 esac
   3469 # Now try BSD make style include.
   3470 if test "$am__include" = "#"; then
   3471    echo '.include "confinc"' > confmf
   3472    case `$am_make -s -f confmf 2> /dev/null` in #(
   3473    *the\ am__doit\ target*)
   3474      am__include=.include
   3475      am__quote="\""
   3476      _am_result=BSD
   3477      ;;
   3478    esac
   3479 fi
   3480 
   3481 
   3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3483 $as_echo "$_am_result" >&6; }
   3484 rm -f confinc confmf
   3485 
   3486 # Check whether --enable-dependency-tracking was given.
   3487 if test "${enable_dependency_tracking+set}" = set; then :
   3488   enableval=$enable_dependency_tracking;
   3489 fi
   3490 
   3491 if test "x$enable_dependency_tracking" != xno; then
   3492   am_depcomp="$ac_aux_dir/depcomp"
   3493   AMDEPBACKSLASH='\'
   3494 fi
   3495  if test "x$enable_dependency_tracking" != xno; then
   3496   AMDEP_TRUE=
   3497   AMDEP_FALSE='#'
   3498 else
   3499   AMDEP_TRUE='#'
   3500   AMDEP_FALSE=
   3501 fi
   3502 
   3503 
   3504 
   3505 depcc="$CXX"  am_compiler_list=
   3506 
   3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3508 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3509 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
   3510   $as_echo_n "(cached) " >&6
   3511 else
   3512   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3513   # We make a subdir and do the tests there.  Otherwise we can end up
   3514   # making bogus files that we don't know about and never remove.  For
   3515   # instance it was reported that on HP-UX the gcc test will end up
   3516   # making a dummy file named `D' -- because `-MD' means `put the output
   3517   # in D'.
   3518   mkdir conftest.dir
   3519   # Copy depcomp to subdir because otherwise we won't find it if we're
   3520   # using a relative directory.
   3521   cp "$am_depcomp" conftest.dir
   3522   cd conftest.dir
   3523   # We will build objects and dependencies in a subdirectory because
   3524   # it helps to detect inapplicable dependency modes.  For instance
   3525   # both Tru64's cc and ICC support -MD to output dependencies as a
   3526   # side effect of compilation, but ICC will put the dependencies in
   3527   # the current directory while Tru64 will put them in the object
   3528   # directory.
   3529   mkdir sub
   3530 
   3531   am_cv_CXX_dependencies_compiler_type=none
   3532   if test "$am_compiler_list" = ""; then
   3533      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3534   fi
   3535   am__universal=false
   3536   case " $depcc " in #(
   3537      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3538      esac
   3539 
   3540   for depmode in $am_compiler_list; do
   3541     # Setup a source with many dependencies, because some compilers
   3542     # like to wrap large dependency lists on column 80 (with \), and
   3543     # we should not choose a depcomp mode which is confused by this.
   3544     #
   3545     # We need to recreate these files for each test, as the compiler may
   3546     # overwrite some of them when testing with obscure command lines.
   3547     # This happens at least with the AIX C compiler.
   3548     : > sub/conftest.c
   3549     for i in 1 2 3 4 5 6; do
   3550       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3551       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3552       # Solaris 8's {/usr,}/bin/sh.
   3553       touch sub/conftst$i.h
   3554     done
   3555     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3556 
   3557     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3558     # mode.  It turns out that the SunPro C++ compiler does not properly
   3559     # handle `-M -o', and we need to detect this.  Also, some Intel
   3560     # versions had trouble with output in subdirs
   3561     am__obj=sub/conftest.${OBJEXT-o}
   3562     am__minus_obj="-o $am__obj"
   3563     case $depmode in
   3564     gcc)
   3565       # This depmode causes a compiler race in universal mode.
   3566       test "$am__universal" = false || continue
   3567       ;;
   3568     nosideeffect)
   3569       # after this tag, mechanisms are not by side-effect, so they'll
   3570       # only be used when explicitly requested
   3571       if test "x$enable_dependency_tracking" = xyes; then
   3572 	continue
   3573       else
   3574 	break
   3575       fi
   3576       ;;
   3577     msvisualcpp | msvcmsys)
   3578       # This compiler won't grok `-c -o', but also, the minuso test has
   3579       # not run yet.  These depmodes are late enough in the game, and
   3580       # so weak that their functioning should not be impacted.
   3581       am__obj=conftest.${OBJEXT-o}
   3582       am__minus_obj=
   3583       ;;
   3584     none) break ;;
   3585     esac
   3586     if depmode=$depmode \
   3587        source=sub/conftest.c object=$am__obj \
   3588        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3589        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3590          >/dev/null 2>conftest.err &&
   3591        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3592        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3593        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3594        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3595       # icc doesn't choke on unknown options, it will just issue warnings
   3596       # or remarks (even with -Werror).  So we grep stderr for any message
   3597       # that says an option was ignored or not supported.
   3598       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3599       #   icc: Command line warning: ignoring option '-M'; no argument required
   3600       # The diagnosis changed in icc 8.0:
   3601       #   icc: Command line remark: option '-MP' not supported
   3602       if (grep 'ignoring option' conftest.err ||
   3603           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3604         am_cv_CXX_dependencies_compiler_type=$depmode
   3605         break
   3606       fi
   3607     fi
   3608   done
   3609 
   3610   cd ..
   3611   rm -rf conftest.dir
   3612 else
   3613   am_cv_CXX_dependencies_compiler_type=none
   3614 fi
   3615 
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   3618 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   3619 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   3620 
   3621  if
   3622   test "x$enable_dependency_tracking" != xno \
   3623   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   3624   am__fastdepCXX_TRUE=
   3625   am__fastdepCXX_FALSE='#'
   3626 else
   3627   am__fastdepCXX_TRUE='#'
   3628   am__fastdepCXX_FALSE=
   3629 fi
   3630 
   3631 
   3632 # Check whether --enable-static was given.
   3633 if test "${enable_static+set}" = set; then :
   3634   enableval=$enable_static; p=${PACKAGE-default}
   3635     case $enableval in
   3636     yes) enable_static=yes ;;
   3637     no) enable_static=no ;;
   3638     *)
   3639      enable_static=no
   3640       # Look at the argument we got.  We use all the common list separators.
   3641       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3642       for pkg in $enableval; do
   3643 	IFS="$lt_save_ifs"
   3644 	if test "X$pkg" = "X$p"; then
   3645 	  enable_static=yes
   3646 	fi
   3647       done
   3648       IFS="$lt_save_ifs"
   3649       ;;
   3650     esac
   3651 else
   3652   enable_static=no
   3653 fi
   3654 
   3655 
   3656 
   3657 
   3658 
   3659 
   3660 
   3661 
   3662 
   3663 case `pwd` in
   3664   *\ * | *\	*)
   3665     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3666 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3667 esac
   3668 
   3669 
   3670 
   3671 macro_version='2.2.6b'
   3672 macro_revision='1.3017'
   3673 
   3674 
   3675 
   3676 
   3677 
   3678 
   3679 
   3680 
   3681 
   3682 
   3683 
   3684 
   3685 
   3686 ltmain="$ac_aux_dir/ltmain.sh"
   3687 
   3688 # Make sure we can run config.sub.
   3689 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3690   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3691 
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3693 $as_echo_n "checking build system type... " >&6; }
   3694 if test "${ac_cv_build+set}" = set; then :
   3695   $as_echo_n "(cached) " >&6
   3696 else
   3697   ac_build_alias=$build_alias
   3698 test "x$ac_build_alias" = x &&
   3699   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3700 test "x$ac_build_alias" = x &&
   3701   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   3702 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3703   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3704 
   3705 fi
   3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3707 $as_echo "$ac_cv_build" >&6; }
   3708 case $ac_cv_build in
   3709 *-*-*) ;;
   3710 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   3711 esac
   3712 build=$ac_cv_build
   3713 ac_save_IFS=$IFS; IFS='-'
   3714 set x $ac_cv_build
   3715 shift
   3716 build_cpu=$1
   3717 build_vendor=$2
   3718 shift; shift
   3719 # Remember, the first character of IFS is used to create $*,
   3720 # except with old shells:
   3721 build_os=$*
   3722 IFS=$ac_save_IFS
   3723 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3724 
   3725 
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3727 $as_echo_n "checking host system type... " >&6; }
   3728 if test "${ac_cv_host+set}" = set; then :
   3729   $as_echo_n "(cached) " >&6
   3730 else
   3731   if test "x$host_alias" = x; then
   3732   ac_cv_host=$ac_cv_build
   3733 else
   3734   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3735     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3736 fi
   3737 
   3738 fi
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3740 $as_echo "$ac_cv_host" >&6; }
   3741 case $ac_cv_host in
   3742 *-*-*) ;;
   3743 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   3744 esac
   3745 host=$ac_cv_host
   3746 ac_save_IFS=$IFS; IFS='-'
   3747 set x $ac_cv_host
   3748 shift
   3749 host_cpu=$1
   3750 host_vendor=$2
   3751 shift; shift
   3752 # Remember, the first character of IFS is used to create $*,
   3753 # except with old shells:
   3754 host_os=$*
   3755 IFS=$ac_save_IFS
   3756 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3757 
   3758 
   3759 ac_ext=c
   3760 ac_cpp='$CPP $CPPFLAGS'
   3761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3764 if test -n "$ac_tool_prefix"; then
   3765   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3766 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3768 $as_echo_n "checking for $ac_word... " >&6; }
   3769 if test "${ac_cv_prog_CC+set}" = set; then :
   3770   $as_echo_n "(cached) " >&6
   3771 else
   3772   if test -n "$CC"; then
   3773   ac_cv_prog_CC="$CC" # Let the user override the test.
   3774 else
   3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3776 for as_dir in $PATH
   3777 do
   3778   IFS=$as_save_IFS
   3779   test -z "$as_dir" && as_dir=.
   3780     for ac_exec_ext in '' $ac_executable_extensions; do
   3781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3782     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3784     break 2
   3785   fi
   3786 done
   3787   done
   3788 IFS=$as_save_IFS
   3789 
   3790 fi
   3791 fi
   3792 CC=$ac_cv_prog_CC
   3793 if test -n "$CC"; then
   3794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3795 $as_echo "$CC" >&6; }
   3796 else
   3797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3798 $as_echo "no" >&6; }
   3799 fi
   3800 
   3801 
   3802 fi
   3803 if test -z "$ac_cv_prog_CC"; then
   3804   ac_ct_CC=$CC
   3805   # Extract the first word of "gcc", so it can be a program name with args.
   3806 set dummy gcc; ac_word=$2
   3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3808 $as_echo_n "checking for $ac_word... " >&6; }
   3809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3810   $as_echo_n "(cached) " >&6
   3811 else
   3812   if test -n "$ac_ct_CC"; then
   3813   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3814 else
   3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3816 for as_dir in $PATH
   3817 do
   3818   IFS=$as_save_IFS
   3819   test -z "$as_dir" && as_dir=.
   3820     for ac_exec_ext in '' $ac_executable_extensions; do
   3821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3822     ac_cv_prog_ac_ct_CC="gcc"
   3823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3824     break 2
   3825   fi
   3826 done
   3827   done
   3828 IFS=$as_save_IFS
   3829 
   3830 fi
   3831 fi
   3832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3833 if test -n "$ac_ct_CC"; then
   3834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3835 $as_echo "$ac_ct_CC" >&6; }
   3836 else
   3837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3838 $as_echo "no" >&6; }
   3839 fi
   3840 
   3841   if test "x$ac_ct_CC" = x; then
   3842     CC=""
   3843   else
   3844     case $cross_compiling:$ac_tool_warned in
   3845 yes:)
   3846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3848 ac_tool_warned=yes ;;
   3849 esac
   3850     CC=$ac_ct_CC
   3851   fi
   3852 else
   3853   CC="$ac_cv_prog_CC"
   3854 fi
   3855 
   3856 if test -z "$CC"; then
   3857           if test -n "$ac_tool_prefix"; then
   3858     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3859 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3861 $as_echo_n "checking for $ac_word... " >&6; }
   3862 if test "${ac_cv_prog_CC+set}" = set; then :
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865   if test -n "$CC"; then
   3866   ac_cv_prog_CC="$CC" # Let the user override the test.
   3867 else
   3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3869 for as_dir in $PATH
   3870 do
   3871   IFS=$as_save_IFS
   3872   test -z "$as_dir" && as_dir=.
   3873     for ac_exec_ext in '' $ac_executable_extensions; do
   3874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3875     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3877     break 2
   3878   fi
   3879 done
   3880   done
   3881 IFS=$as_save_IFS
   3882 
   3883 fi
   3884 fi
   3885 CC=$ac_cv_prog_CC
   3886 if test -n "$CC"; then
   3887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3888 $as_echo "$CC" >&6; }
   3889 else
   3890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3891 $as_echo "no" >&6; }
   3892 fi
   3893 
   3894 
   3895   fi
   3896 fi
   3897 if test -z "$CC"; then
   3898   # Extract the first word of "cc", so it can be a program name with args.
   3899 set dummy cc; ac_word=$2
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3901 $as_echo_n "checking for $ac_word... " >&6; }
   3902 if test "${ac_cv_prog_CC+set}" = set; then :
   3903   $as_echo_n "(cached) " >&6
   3904 else
   3905   if test -n "$CC"; then
   3906   ac_cv_prog_CC="$CC" # Let the user override the test.
   3907 else
   3908   ac_prog_rejected=no
   3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3910 for as_dir in $PATH
   3911 do
   3912   IFS=$as_save_IFS
   3913   test -z "$as_dir" && as_dir=.
   3914     for ac_exec_ext in '' $ac_executable_extensions; do
   3915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3916     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3917        ac_prog_rejected=yes
   3918        continue
   3919      fi
   3920     ac_cv_prog_CC="cc"
   3921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3922     break 2
   3923   fi
   3924 done
   3925   done
   3926 IFS=$as_save_IFS
   3927 
   3928 if test $ac_prog_rejected = yes; then
   3929   # We found a bogon in the path, so make sure we never use it.
   3930   set dummy $ac_cv_prog_CC
   3931   shift
   3932   if test $# != 0; then
   3933     # We chose a different compiler from the bogus one.
   3934     # However, it has the same basename, so the bogon will be chosen
   3935     # first if we set CC to just the basename; use the full file name.
   3936     shift
   3937     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3938   fi
   3939 fi
   3940 fi
   3941 fi
   3942 CC=$ac_cv_prog_CC
   3943 if test -n "$CC"; then
   3944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3945 $as_echo "$CC" >&6; }
   3946 else
   3947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3948 $as_echo "no" >&6; }
   3949 fi
   3950 
   3951 
   3952 fi
   3953 if test -z "$CC"; then
   3954   if test -n "$ac_tool_prefix"; then
   3955   for ac_prog in cl.exe
   3956   do
   3957     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3960 $as_echo_n "checking for $ac_word... " >&6; }
   3961 if test "${ac_cv_prog_CC+set}" = set; then :
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964   if test -n "$CC"; then
   3965   ac_cv_prog_CC="$CC" # Let the user override the test.
   3966 else
   3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3968 for as_dir in $PATH
   3969 do
   3970   IFS=$as_save_IFS
   3971   test -z "$as_dir" && as_dir=.
   3972     for ac_exec_ext in '' $ac_executable_extensions; do
   3973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3974     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3976     break 2
   3977   fi
   3978 done
   3979   done
   3980 IFS=$as_save_IFS
   3981 
   3982 fi
   3983 fi
   3984 CC=$ac_cv_prog_CC
   3985 if test -n "$CC"; then
   3986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3987 $as_echo "$CC" >&6; }
   3988 else
   3989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3990 $as_echo "no" >&6; }
   3991 fi
   3992 
   3993 
   3994     test -n "$CC" && break
   3995   done
   3996 fi
   3997 if test -z "$CC"; then
   3998   ac_ct_CC=$CC
   3999   for ac_prog in cl.exe
   4000 do
   4001   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4002 set dummy $ac_prog; ac_word=$2
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4004 $as_echo_n "checking for $ac_word... " >&6; }
   4005 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4006   $as_echo_n "(cached) " >&6
   4007 else
   4008   if test -n "$ac_ct_CC"; then
   4009   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4010 else
   4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4012 for as_dir in $PATH
   4013 do
   4014   IFS=$as_save_IFS
   4015   test -z "$as_dir" && as_dir=.
   4016     for ac_exec_ext in '' $ac_executable_extensions; do
   4017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4018     ac_cv_prog_ac_ct_CC="$ac_prog"
   4019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4020     break 2
   4021   fi
   4022 done
   4023   done
   4024 IFS=$as_save_IFS
   4025 
   4026 fi
   4027 fi
   4028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4029 if test -n "$ac_ct_CC"; then
   4030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4031 $as_echo "$ac_ct_CC" >&6; }
   4032 else
   4033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4034 $as_echo "no" >&6; }
   4035 fi
   4036 
   4037 
   4038   test -n "$ac_ct_CC" && break
   4039 done
   4040 
   4041   if test "x$ac_ct_CC" = x; then
   4042     CC=""
   4043   else
   4044     case $cross_compiling:$ac_tool_warned in
   4045 yes:)
   4046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4048 ac_tool_warned=yes ;;
   4049 esac
   4050     CC=$ac_ct_CC
   4051   fi
   4052 fi
   4053 
   4054 fi
   4055 
   4056 
   4057 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4059 as_fn_error "no acceptable C compiler found in \$PATH
   4060 See \`config.log' for more details." "$LINENO" 5; }
   4061 
   4062 # Provide some information about the compiler.
   4063 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4064 set X $ac_compile
   4065 ac_compiler=$2
   4066 for ac_option in --version -v -V -qversion; do
   4067   { { ac_try="$ac_compiler $ac_option >&5"
   4068 case "(($ac_try" in
   4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4070   *) ac_try_echo=$ac_try;;
   4071 esac
   4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4073 $as_echo "$ac_try_echo"; } >&5
   4074   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4075   ac_status=$?
   4076   if test -s conftest.err; then
   4077     sed '10a\
   4078 ... rest of stderr output deleted ...
   4079          10q' conftest.err >conftest.er1
   4080     cat conftest.er1 >&5
   4081   fi
   4082   rm -f conftest.er1 conftest.err
   4083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4084   test $ac_status = 0; }
   4085 done
   4086 
   4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4088 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4089 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   4090   $as_echo_n "(cached) " >&6
   4091 else
   4092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4093 /* end confdefs.h.  */
   4094 
   4095 int
   4096 main ()
   4097 {
   4098 #ifndef __GNUC__
   4099        choke me
   4100 #endif
   4101 
   4102   ;
   4103   return 0;
   4104 }
   4105 _ACEOF
   4106 if ac_fn_c_try_compile "$LINENO"; then :
   4107   ac_compiler_gnu=yes
   4108 else
   4109   ac_compiler_gnu=no
   4110 fi
   4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4113 
   4114 fi
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4116 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4117 if test $ac_compiler_gnu = yes; then
   4118   GCC=yes
   4119 else
   4120   GCC=
   4121 fi
   4122 ac_test_CFLAGS=${CFLAGS+set}
   4123 ac_save_CFLAGS=$CFLAGS
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4125 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4126 if test "${ac_cv_prog_cc_g+set}" = set; then :
   4127   $as_echo_n "(cached) " >&6
   4128 else
   4129   ac_save_c_werror_flag=$ac_c_werror_flag
   4130    ac_c_werror_flag=yes
   4131    ac_cv_prog_cc_g=no
   4132    CFLAGS="-g"
   4133    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4134 /* end confdefs.h.  */
   4135 
   4136 int
   4137 main ()
   4138 {
   4139 
   4140   ;
   4141   return 0;
   4142 }
   4143 _ACEOF
   4144 if ac_fn_c_try_compile "$LINENO"; then :
   4145   ac_cv_prog_cc_g=yes
   4146 else
   4147   CFLAGS=""
   4148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4149 /* end confdefs.h.  */
   4150 
   4151 int
   4152 main ()
   4153 {
   4154 
   4155   ;
   4156   return 0;
   4157 }
   4158 _ACEOF
   4159 if ac_fn_c_try_compile "$LINENO"; then :
   4160 
   4161 else
   4162   ac_c_werror_flag=$ac_save_c_werror_flag
   4163 	 CFLAGS="-g"
   4164 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4165 /* end confdefs.h.  */
   4166 
   4167 int
   4168 main ()
   4169 {
   4170 
   4171   ;
   4172   return 0;
   4173 }
   4174 _ACEOF
   4175 if ac_fn_c_try_compile "$LINENO"; then :
   4176   ac_cv_prog_cc_g=yes
   4177 fi
   4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4179 fi
   4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4181 fi
   4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4183    ac_c_werror_flag=$ac_save_c_werror_flag
   4184 fi
   4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4186 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4187 if test "$ac_test_CFLAGS" = set; then
   4188   CFLAGS=$ac_save_CFLAGS
   4189 elif test $ac_cv_prog_cc_g = yes; then
   4190   if test "$GCC" = yes; then
   4191     CFLAGS="-g -O2"
   4192   else
   4193     CFLAGS="-g"
   4194   fi
   4195 else
   4196   if test "$GCC" = yes; then
   4197     CFLAGS="-O2"
   4198   else
   4199     CFLAGS=
   4200   fi
   4201 fi
   4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4203 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4204 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4205   $as_echo_n "(cached) " >&6
   4206 else
   4207   ac_cv_prog_cc_c89=no
   4208 ac_save_CC=$CC
   4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4210 /* end confdefs.h.  */
   4211 #include <stdarg.h>
   4212 #include <stdio.h>
   4213 #include <sys/types.h>
   4214 #include <sys/stat.h>
   4215 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4216 struct buf { int x; };
   4217 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4218 static char *e (p, i)
   4219      char **p;
   4220      int i;
   4221 {
   4222   return p[i];
   4223 }
   4224 static char *f (char * (*g) (char **, int), char **p, ...)
   4225 {
   4226   char *s;
   4227   va_list v;
   4228   va_start (v,p);
   4229   s = g (p, va_arg (v,int));
   4230   va_end (v);
   4231   return s;
   4232 }
   4233 
   4234 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4235    function prototypes and stuff, but not '\xHH' hex character constants.
   4236    These don't provoke an error unfortunately, instead are silently treated
   4237    as 'x'.  The following induces an error, until -std is added to get
   4238    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4239    array size at least.  It's necessary to write '\x00'==0 to get something
   4240    that's true only with -std.  */
   4241 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4242 
   4243 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4244    inside strings and character constants.  */
   4245 #define FOO(x) 'x'
   4246 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4247 
   4248 int test (int i, double x);
   4249 struct s1 {int (*f) (int a);};
   4250 struct s2 {int (*f) (double a);};
   4251 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4252 int argc;
   4253 char **argv;
   4254 int
   4255 main ()
   4256 {
   4257 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4258   ;
   4259   return 0;
   4260 }
   4261 _ACEOF
   4262 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4263 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4264 do
   4265   CC="$ac_save_CC $ac_arg"
   4266   if ac_fn_c_try_compile "$LINENO"; then :
   4267   ac_cv_prog_cc_c89=$ac_arg
   4268 fi
   4269 rm -f core conftest.err conftest.$ac_objext
   4270   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4271 done
   4272 rm -f conftest.$ac_ext
   4273 CC=$ac_save_CC
   4274 
   4275 fi
   4276 # AC_CACHE_VAL
   4277 case "x$ac_cv_prog_cc_c89" in
   4278   x)
   4279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4280 $as_echo "none needed" >&6; } ;;
   4281   xno)
   4282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4283 $as_echo "unsupported" >&6; } ;;
   4284   *)
   4285     CC="$CC $ac_cv_prog_cc_c89"
   4286     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4287 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4288 esac
   4289 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4290 
   4291 fi
   4292 
   4293 ac_ext=c
   4294 ac_cpp='$CPP $CPPFLAGS'
   4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4298 
   4299 depcc="$CC"   am_compiler_list=
   4300 
   4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4302 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4303 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   4304   $as_echo_n "(cached) " >&6
   4305 else
   4306   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4307   # We make a subdir and do the tests there.  Otherwise we can end up
   4308   # making bogus files that we don't know about and never remove.  For
   4309   # instance it was reported that on HP-UX the gcc test will end up
   4310   # making a dummy file named `D' -- because `-MD' means `put the output
   4311   # in D'.
   4312   mkdir conftest.dir
   4313   # Copy depcomp to subdir because otherwise we won't find it if we're
   4314   # using a relative directory.
   4315   cp "$am_depcomp" conftest.dir
   4316   cd conftest.dir
   4317   # We will build objects and dependencies in a subdirectory because
   4318   # it helps to detect inapplicable dependency modes.  For instance
   4319   # both Tru64's cc and ICC support -MD to output dependencies as a
   4320   # side effect of compilation, but ICC will put the dependencies in
   4321   # the current directory while Tru64 will put them in the object
   4322   # directory.
   4323   mkdir sub
   4324 
   4325   am_cv_CC_dependencies_compiler_type=none
   4326   if test "$am_compiler_list" = ""; then
   4327      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4328   fi
   4329   am__universal=false
   4330   case " $depcc " in #(
   4331      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4332      esac
   4333 
   4334   for depmode in $am_compiler_list; do
   4335     # Setup a source with many dependencies, because some compilers
   4336     # like to wrap large dependency lists on column 80 (with \), and
   4337     # we should not choose a depcomp mode which is confused by this.
   4338     #
   4339     # We need to recreate these files for each test, as the compiler may
   4340     # overwrite some of them when testing with obscure command lines.
   4341     # This happens at least with the AIX C compiler.
   4342     : > sub/conftest.c
   4343     for i in 1 2 3 4 5 6; do
   4344       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4345       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4346       # Solaris 8's {/usr,}/bin/sh.
   4347       touch sub/conftst$i.h
   4348     done
   4349     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4350 
   4351     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4352     # mode.  It turns out that the SunPro C++ compiler does not properly
   4353     # handle `-M -o', and we need to detect this.  Also, some Intel
   4354     # versions had trouble with output in subdirs
   4355     am__obj=sub/conftest.${OBJEXT-o}
   4356     am__minus_obj="-o $am__obj"
   4357     case $depmode in
   4358     gcc)
   4359       # This depmode causes a compiler race in universal mode.
   4360       test "$am__universal" = false || continue
   4361       ;;
   4362     nosideeffect)
   4363       # after this tag, mechanisms are not by side-effect, so they'll
   4364       # only be used when explicitly requested
   4365       if test "x$enable_dependency_tracking" = xyes; then
   4366 	continue
   4367       else
   4368 	break
   4369       fi
   4370       ;;
   4371     msvisualcpp | msvcmsys)
   4372       # This compiler won't grok `-c -o', but also, the minuso test has
   4373       # not run yet.  These depmodes are late enough in the game, and
   4374       # so weak that their functioning should not be impacted.
   4375       am__obj=conftest.${OBJEXT-o}
   4376       am__minus_obj=
   4377       ;;
   4378     none) break ;;
   4379     esac
   4380     if depmode=$depmode \
   4381        source=sub/conftest.c object=$am__obj \
   4382        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4383        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4384          >/dev/null 2>conftest.err &&
   4385        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4386        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4387        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4388        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4389       # icc doesn't choke on unknown options, it will just issue warnings
   4390       # or remarks (even with -Werror).  So we grep stderr for any message
   4391       # that says an option was ignored or not supported.
   4392       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4393       #   icc: Command line warning: ignoring option '-M'; no argument required
   4394       # The diagnosis changed in icc 8.0:
   4395       #   icc: Command line remark: option '-MP' not supported
   4396       if (grep 'ignoring option' conftest.err ||
   4397           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4398         am_cv_CC_dependencies_compiler_type=$depmode
   4399         break
   4400       fi
   4401     fi
   4402   done
   4403 
   4404   cd ..
   4405   rm -rf conftest.dir
   4406 else
   4407   am_cv_CC_dependencies_compiler_type=none
   4408 fi
   4409 
   4410 fi
   4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4412 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4413 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4414 
   4415  if
   4416   test "x$enable_dependency_tracking" != xno \
   4417   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4418   am__fastdepCC_TRUE=
   4419   am__fastdepCC_FALSE='#'
   4420 else
   4421   am__fastdepCC_TRUE='#'
   4422   am__fastdepCC_FALSE=
   4423 fi
   4424 
   4425 
   4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4427 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4428 if test "${ac_cv_path_SED+set}" = set; then :
   4429   $as_echo_n "(cached) " >&6
   4430 else
   4431             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4432      for ac_i in 1 2 3 4 5 6 7; do
   4433        ac_script="$ac_script$as_nl$ac_script"
   4434      done
   4435      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4436      { ac_script=; unset ac_script;}
   4437      if test -z "$SED"; then
   4438   ac_path_SED_found=false
   4439   # Loop through the user's path and test for each of PROGNAME-LIST
   4440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4441 for as_dir in $PATH
   4442 do
   4443   IFS=$as_save_IFS
   4444   test -z "$as_dir" && as_dir=.
   4445     for ac_prog in sed gsed; do
   4446     for ac_exec_ext in '' $ac_executable_extensions; do
   4447       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4448       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4449 # Check for GNU ac_path_SED and select it if it is found.
   4450   # Check for GNU $ac_path_SED
   4451 case `"$ac_path_SED" --version 2>&1` in
   4452 *GNU*)
   4453   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4454 *)
   4455   ac_count=0
   4456   $as_echo_n 0123456789 >"conftest.in"
   4457   while :
   4458   do
   4459     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4460     mv "conftest.tmp" "conftest.in"
   4461     cp "conftest.in" "conftest.nl"
   4462     $as_echo '' >> "conftest.nl"
   4463     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4464     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4465     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4466     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4467       # Best one so far, save it but keep looking for a better one
   4468       ac_cv_path_SED="$ac_path_SED"
   4469       ac_path_SED_max=$ac_count
   4470     fi
   4471     # 10*(2^10) chars as input seems more than enough
   4472     test $ac_count -gt 10 && break
   4473   done
   4474   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4475 esac
   4476 
   4477       $ac_path_SED_found && break 3
   4478     done
   4479   done
   4480   done
   4481 IFS=$as_save_IFS
   4482   if test -z "$ac_cv_path_SED"; then
   4483     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4484   fi
   4485 else
   4486   ac_cv_path_SED=$SED
   4487 fi
   4488 
   4489 fi
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4491 $as_echo "$ac_cv_path_SED" >&6; }
   4492  SED="$ac_cv_path_SED"
   4493   rm -f conftest.sed
   4494 
   4495 test -z "$SED" && SED=sed
   4496 Xsed="$SED -e 1s/^X//"
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 
   4507 
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4509 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4510 if test "${ac_cv_path_GREP+set}" = set; then :
   4511   $as_echo_n "(cached) " >&6
   4512 else
   4513   if test -z "$GREP"; then
   4514   ac_path_GREP_found=false
   4515   # Loop through the user's path and test for each of PROGNAME-LIST
   4516   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4518 do
   4519   IFS=$as_save_IFS
   4520   test -z "$as_dir" && as_dir=.
   4521     for ac_prog in grep ggrep; do
   4522     for ac_exec_ext in '' $ac_executable_extensions; do
   4523       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4524       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4525 # Check for GNU ac_path_GREP and select it if it is found.
   4526   # Check for GNU $ac_path_GREP
   4527 case `"$ac_path_GREP" --version 2>&1` in
   4528 *GNU*)
   4529   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4530 *)
   4531   ac_count=0
   4532   $as_echo_n 0123456789 >"conftest.in"
   4533   while :
   4534   do
   4535     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4536     mv "conftest.tmp" "conftest.in"
   4537     cp "conftest.in" "conftest.nl"
   4538     $as_echo 'GREP' >> "conftest.nl"
   4539     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4540     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4541     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4542     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4543       # Best one so far, save it but keep looking for a better one
   4544       ac_cv_path_GREP="$ac_path_GREP"
   4545       ac_path_GREP_max=$ac_count
   4546     fi
   4547     # 10*(2^10) chars as input seems more than enough
   4548     test $ac_count -gt 10 && break
   4549   done
   4550   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4551 esac
   4552 
   4553       $ac_path_GREP_found && break 3
   4554     done
   4555   done
   4556   done
   4557 IFS=$as_save_IFS
   4558   if test -z "$ac_cv_path_GREP"; then
   4559     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4560   fi
   4561 else
   4562   ac_cv_path_GREP=$GREP
   4563 fi
   4564 
   4565 fi
   4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4567 $as_echo "$ac_cv_path_GREP" >&6; }
   4568  GREP="$ac_cv_path_GREP"
   4569 
   4570 
   4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4572 $as_echo_n "checking for egrep... " >&6; }
   4573 if test "${ac_cv_path_EGREP+set}" = set; then :
   4574   $as_echo_n "(cached) " >&6
   4575 else
   4576   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4577    then ac_cv_path_EGREP="$GREP -E"
   4578    else
   4579      if test -z "$EGREP"; then
   4580   ac_path_EGREP_found=false
   4581   # Loop through the user's path and test for each of PROGNAME-LIST
   4582   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4583 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4584 do
   4585   IFS=$as_save_IFS
   4586   test -z "$as_dir" && as_dir=.
   4587     for ac_prog in egrep; do
   4588     for ac_exec_ext in '' $ac_executable_extensions; do
   4589       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4590       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4591 # Check for GNU ac_path_EGREP and select it if it is found.
   4592   # Check for GNU $ac_path_EGREP
   4593 case `"$ac_path_EGREP" --version 2>&1` in
   4594 *GNU*)
   4595   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4596 *)
   4597   ac_count=0
   4598   $as_echo_n 0123456789 >"conftest.in"
   4599   while :
   4600   do
   4601     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4602     mv "conftest.tmp" "conftest.in"
   4603     cp "conftest.in" "conftest.nl"
   4604     $as_echo 'EGREP' >> "conftest.nl"
   4605     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4606     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4607     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4608     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4609       # Best one so far, save it but keep looking for a better one
   4610       ac_cv_path_EGREP="$ac_path_EGREP"
   4611       ac_path_EGREP_max=$ac_count
   4612     fi
   4613     # 10*(2^10) chars as input seems more than enough
   4614     test $ac_count -gt 10 && break
   4615   done
   4616   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4617 esac
   4618 
   4619       $ac_path_EGREP_found && break 3
   4620     done
   4621   done
   4622   done
   4623 IFS=$as_save_IFS
   4624   if test -z "$ac_cv_path_EGREP"; then
   4625     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4626   fi
   4627 else
   4628   ac_cv_path_EGREP=$EGREP
   4629 fi
   4630 
   4631    fi
   4632 fi
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4634 $as_echo "$ac_cv_path_EGREP" >&6; }
   4635  EGREP="$ac_cv_path_EGREP"
   4636 
   4637 
   4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4639 $as_echo_n "checking for fgrep... " >&6; }
   4640 if test "${ac_cv_path_FGREP+set}" = set; then :
   4641   $as_echo_n "(cached) " >&6
   4642 else
   4643   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4644    then ac_cv_path_FGREP="$GREP -F"
   4645    else
   4646      if test -z "$FGREP"; then
   4647   ac_path_FGREP_found=false
   4648   # Loop through the user's path and test for each of PROGNAME-LIST
   4649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4650 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4651 do
   4652   IFS=$as_save_IFS
   4653   test -z "$as_dir" && as_dir=.
   4654     for ac_prog in fgrep; do
   4655     for ac_exec_ext in '' $ac_executable_extensions; do
   4656       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4657       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4658 # Check for GNU ac_path_FGREP and select it if it is found.
   4659   # Check for GNU $ac_path_FGREP
   4660 case `"$ac_path_FGREP" --version 2>&1` in
   4661 *GNU*)
   4662   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4663 *)
   4664   ac_count=0
   4665   $as_echo_n 0123456789 >"conftest.in"
   4666   while :
   4667   do
   4668     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4669     mv "conftest.tmp" "conftest.in"
   4670     cp "conftest.in" "conftest.nl"
   4671     $as_echo 'FGREP' >> "conftest.nl"
   4672     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4673     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4674     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4675     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4676       # Best one so far, save it but keep looking for a better one
   4677       ac_cv_path_FGREP="$ac_path_FGREP"
   4678       ac_path_FGREP_max=$ac_count
   4679     fi
   4680     # 10*(2^10) chars as input seems more than enough
   4681     test $ac_count -gt 10 && break
   4682   done
   4683   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4684 esac
   4685 
   4686       $ac_path_FGREP_found && break 3
   4687     done
   4688   done
   4689   done
   4690 IFS=$as_save_IFS
   4691   if test -z "$ac_cv_path_FGREP"; then
   4692     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4693   fi
   4694 else
   4695   ac_cv_path_FGREP=$FGREP
   4696 fi
   4697 
   4698    fi
   4699 fi
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4701 $as_echo "$ac_cv_path_FGREP" >&6; }
   4702  FGREP="$ac_cv_path_FGREP"
   4703 
   4704 
   4705 test -z "$GREP" && GREP=grep
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 # Check whether --with-gnu-ld was given.
   4726 if test "${with_gnu_ld+set}" = set; then :
   4727   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4728 else
   4729   with_gnu_ld=no
   4730 fi
   4731 
   4732 ac_prog=ld
   4733 if test "$GCC" = yes; then
   4734   # Check if gcc -print-prog-name=ld gives a path.
   4735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4736 $as_echo_n "checking for ld used by $CC... " >&6; }
   4737   case $host in
   4738   *-*-mingw*)
   4739     # gcc leaves a trailing carriage return which upsets mingw
   4740     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4741   *)
   4742     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4743   esac
   4744   case $ac_prog in
   4745     # Accept absolute paths.
   4746     [\\/]* | ?:[\\/]*)
   4747       re_direlt='/[^/][^/]*/\.\./'
   4748       # Canonicalize the pathname of ld
   4749       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4750       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4751 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4752       done
   4753       test -z "$LD" && LD="$ac_prog"
   4754       ;;
   4755   "")
   4756     # If it fails, then pretend we aren't using GCC.
   4757     ac_prog=ld
   4758     ;;
   4759   *)
   4760     # If it is relative, then search for the first ld in PATH.
   4761     with_gnu_ld=unknown
   4762     ;;
   4763   esac
   4764 elif test "$with_gnu_ld" = yes; then
   4765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4766 $as_echo_n "checking for GNU ld... " >&6; }
   4767 else
   4768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4769 $as_echo_n "checking for non-GNU ld... " >&6; }
   4770 fi
   4771 if test "${lt_cv_path_LD+set}" = set; then :
   4772   $as_echo_n "(cached) " >&6
   4773 else
   4774   if test -z "$LD"; then
   4775   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4776   for ac_dir in $PATH; do
   4777     IFS="$lt_save_ifs"
   4778     test -z "$ac_dir" && ac_dir=.
   4779     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4780       lt_cv_path_LD="$ac_dir/$ac_prog"
   4781       # Check to see if the program is GNU ld.  I'd rather use --version,
   4782       # but apparently some variants of GNU ld only accept -v.
   4783       # Break only if it was the GNU/non-GNU ld that we prefer.
   4784       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4785       *GNU* | *'with BFD'*)
   4786 	test "$with_gnu_ld" != no && break
   4787 	;;
   4788       *)
   4789 	test "$with_gnu_ld" != yes && break
   4790 	;;
   4791       esac
   4792     fi
   4793   done
   4794   IFS="$lt_save_ifs"
   4795 else
   4796   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4797 fi
   4798 fi
   4799 
   4800 LD="$lt_cv_path_LD"
   4801 if test -n "$LD"; then
   4802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4803 $as_echo "$LD" >&6; }
   4804 else
   4805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4806 $as_echo "no" >&6; }
   4807 fi
   4808 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4810 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4811 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   4812   $as_echo_n "(cached) " >&6
   4813 else
   4814   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4815 case `$LD -v 2>&1 </dev/null` in
   4816 *GNU* | *'with BFD'*)
   4817   lt_cv_prog_gnu_ld=yes
   4818   ;;
   4819 *)
   4820   lt_cv_prog_gnu_ld=no
   4821   ;;
   4822 esac
   4823 fi
   4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4825 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4826 with_gnu_ld=$lt_cv_prog_gnu_ld
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4837 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4838 if test "${lt_cv_path_NM+set}" = set; then :
   4839   $as_echo_n "(cached) " >&6
   4840 else
   4841   if test -n "$NM"; then
   4842   # Let the user override the test.
   4843   lt_cv_path_NM="$NM"
   4844 else
   4845   lt_nm_to_check="${ac_tool_prefix}nm"
   4846   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4847     lt_nm_to_check="$lt_nm_to_check nm"
   4848   fi
   4849   for lt_tmp_nm in $lt_nm_to_check; do
   4850     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4851     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4852       IFS="$lt_save_ifs"
   4853       test -z "$ac_dir" && ac_dir=.
   4854       tmp_nm="$ac_dir/$lt_tmp_nm"
   4855       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4856 	# Check to see if the nm accepts a BSD-compat flag.
   4857 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4858 	#   nm: unknown option "B" ignored
   4859 	# Tru64's nm complains that /dev/null is an invalid object file
   4860 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4861 	*/dev/null* | *'Invalid file or object type'*)
   4862 	  lt_cv_path_NM="$tmp_nm -B"
   4863 	  break
   4864 	  ;;
   4865 	*)
   4866 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4867 	  */dev/null*)
   4868 	    lt_cv_path_NM="$tmp_nm -p"
   4869 	    break
   4870 	    ;;
   4871 	  *)
   4872 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4873 	    continue # so that we can try to find one that supports BSD flags
   4874 	    ;;
   4875 	  esac
   4876 	  ;;
   4877 	esac
   4878       fi
   4879     done
   4880     IFS="$lt_save_ifs"
   4881   done
   4882   : ${lt_cv_path_NM=no}
   4883 fi
   4884 fi
   4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4886 $as_echo "$lt_cv_path_NM" >&6; }
   4887 if test "$lt_cv_path_NM" != "no"; then
   4888   NM="$lt_cv_path_NM"
   4889 else
   4890   # Didn't find any BSD compatible name lister, look for dumpbin.
   4891   if test -n "$ac_tool_prefix"; then
   4892   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4893   do
   4894     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4895 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4897 $as_echo_n "checking for $ac_word... " >&6; }
   4898 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   if test -n "$DUMPBIN"; then
   4902   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4903 else
   4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4905 for as_dir in $PATH
   4906 do
   4907   IFS=$as_save_IFS
   4908   test -z "$as_dir" && as_dir=.
   4909     for ac_exec_ext in '' $ac_executable_extensions; do
   4910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4911     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4913     break 2
   4914   fi
   4915 done
   4916   done
   4917 IFS=$as_save_IFS
   4918 
   4919 fi
   4920 fi
   4921 DUMPBIN=$ac_cv_prog_DUMPBIN
   4922 if test -n "$DUMPBIN"; then
   4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4924 $as_echo "$DUMPBIN" >&6; }
   4925 else
   4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4927 $as_echo "no" >&6; }
   4928 fi
   4929 
   4930 
   4931     test -n "$DUMPBIN" && break
   4932   done
   4933 fi
   4934 if test -z "$DUMPBIN"; then
   4935   ac_ct_DUMPBIN=$DUMPBIN
   4936   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4937 do
   4938   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4939 set dummy $ac_prog; ac_word=$2
   4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4941 $as_echo_n "checking for $ac_word... " >&6; }
   4942 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   if test -n "$ac_ct_DUMPBIN"; then
   4946   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4947 else
   4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4949 for as_dir in $PATH
   4950 do
   4951   IFS=$as_save_IFS
   4952   test -z "$as_dir" && as_dir=.
   4953     for ac_exec_ext in '' $ac_executable_extensions; do
   4954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4955     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4957     break 2
   4958   fi
   4959 done
   4960   done
   4961 IFS=$as_save_IFS
   4962 
   4963 fi
   4964 fi
   4965 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4966 if test -n "$ac_ct_DUMPBIN"; then
   4967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4968 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4969 else
   4970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4971 $as_echo "no" >&6; }
   4972 fi
   4973 
   4974 
   4975   test -n "$ac_ct_DUMPBIN" && break
   4976 done
   4977 
   4978   if test "x$ac_ct_DUMPBIN" = x; then
   4979     DUMPBIN=":"
   4980   else
   4981     case $cross_compiling:$ac_tool_warned in
   4982 yes:)
   4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4985 ac_tool_warned=yes ;;
   4986 esac
   4987     DUMPBIN=$ac_ct_DUMPBIN
   4988   fi
   4989 fi
   4990 
   4991 
   4992   if test "$DUMPBIN" != ":"; then
   4993     NM="$DUMPBIN"
   4994   fi
   4995 fi
   4996 test -z "$NM" && NM=nm
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5004 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5005 if test "${lt_cv_nm_interface+set}" = set; then :
   5006   $as_echo_n "(cached) " >&6
   5007 else
   5008   lt_cv_nm_interface="BSD nm"
   5009   echo "int some_variable = 0;" > conftest.$ac_ext
   5010   (eval echo "\"\$as_me:5010: $ac_compile\"" >&5)
   5011   (eval "$ac_compile" 2>conftest.err)
   5012   cat conftest.err >&5
   5013   (eval echo "\"\$as_me:5013: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5014   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5015   cat conftest.err >&5
   5016   (eval echo "\"\$as_me:5016: output\"" >&5)
   5017   cat conftest.out >&5
   5018   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5019     lt_cv_nm_interface="MS dumpbin"
   5020   fi
   5021   rm -f conftest*
   5022 fi
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5024 $as_echo "$lt_cv_nm_interface" >&6; }
   5025 
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5027 $as_echo_n "checking whether ln -s works... " >&6; }
   5028 LN_S=$as_ln_s
   5029 if test "$LN_S" = "ln -s"; then
   5030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5031 $as_echo "yes" >&6; }
   5032 else
   5033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5034 $as_echo "no, using $LN_S" >&6; }
   5035 fi
   5036 
   5037 # find the maximum length of command line arguments
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5039 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5040 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5041   $as_echo_n "(cached) " >&6
   5042 else
   5043     i=0
   5044   teststring="ABCD"
   5045 
   5046   case $build_os in
   5047   msdosdjgpp*)
   5048     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5049     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5050     # during glob expansion).  Even if it were fixed, the result of this
   5051     # check would be larger than it should be.
   5052     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5053     ;;
   5054 
   5055   gnu*)
   5056     # Under GNU Hurd, this test is not required because there is
   5057     # no limit to the length of command line arguments.
   5058     # Libtool will interpret -1 as no limit whatsoever
   5059     lt_cv_sys_max_cmd_len=-1;
   5060     ;;
   5061 
   5062   cygwin* | mingw* | cegcc*)
   5063     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5064     # about 5 minutes as the teststring grows exponentially.
   5065     # Worse, since 9x/ME are not pre-emptively multitasking,
   5066     # you end up with a "frozen" computer, even though with patience
   5067     # the test eventually succeeds (with a max line length of 256k).
   5068     # Instead, let's just punt: use the minimum linelength reported by
   5069     # all of the supported platforms: 8192 (on NT/2K/XP).
   5070     lt_cv_sys_max_cmd_len=8192;
   5071     ;;
   5072 
   5073   amigaos*)
   5074     # On AmigaOS with pdksh, this test takes hours, literally.
   5075     # So we just punt and use a minimum line length of 8192.
   5076     lt_cv_sys_max_cmd_len=8192;
   5077     ;;
   5078 
   5079   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5080     # This has been around since 386BSD, at least.  Likely further.
   5081     if test -x /sbin/sysctl; then
   5082       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5083     elif test -x /usr/sbin/sysctl; then
   5084       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5085     else
   5086       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5087     fi
   5088     # And add a safety zone
   5089     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5090     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5091     ;;
   5092 
   5093   interix*)
   5094     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5095     lt_cv_sys_max_cmd_len=196608
   5096     ;;
   5097 
   5098   osf*)
   5099     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5100     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5101     # nice to cause kernel panics so lets avoid the loop below.
   5102     # First set a reasonable default.
   5103     lt_cv_sys_max_cmd_len=16384
   5104     #
   5105     if test -x /sbin/sysconfig; then
   5106       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5107         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5108       esac
   5109     fi
   5110     ;;
   5111   sco3.2v5*)
   5112     lt_cv_sys_max_cmd_len=102400
   5113     ;;
   5114   sysv5* | sco5v6* | sysv4.2uw2*)
   5115     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5116     if test -n "$kargmax"; then
   5117       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5118     else
   5119       lt_cv_sys_max_cmd_len=32768
   5120     fi
   5121     ;;
   5122   *)
   5123     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5124     if test -n "$lt_cv_sys_max_cmd_len"; then
   5125       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5126       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5127     else
   5128       # Make teststring a little bigger before we do anything with it.
   5129       # a 1K string should be a reasonable start.
   5130       for i in 1 2 3 4 5 6 7 8 ; do
   5131         teststring=$teststring$teststring
   5132       done
   5133       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5134       # If test is not a shell built-in, we'll probably end up computing a
   5135       # maximum length that is only half of the actual maximum length, but
   5136       # we can't tell.
   5137       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5138 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5139 	      test $i != 17 # 1/2 MB should be enough
   5140       do
   5141         i=`expr $i + 1`
   5142         teststring=$teststring$teststring
   5143       done
   5144       # Only check the string length outside the loop.
   5145       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5146       teststring=
   5147       # Add a significant safety factor because C++ compilers can tack on
   5148       # massive amounts of additional arguments before passing them to the
   5149       # linker.  It appears as though 1/2 is a usable value.
   5150       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5151     fi
   5152     ;;
   5153   esac
   5154 
   5155 fi
   5156 
   5157 if test -n $lt_cv_sys_max_cmd_len ; then
   5158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5159 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5160 else
   5161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5162 $as_echo "none" >&6; }
   5163 fi
   5164 max_cmd_len=$lt_cv_sys_max_cmd_len
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 : ${CP="cp -f"}
   5172 : ${MV="mv -f"}
   5173 : ${RM="rm -f"}
   5174 
   5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5176 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5177 # Try some XSI features
   5178 xsi_shell=no
   5179 ( _lt_dummy="a/b/c"
   5180   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5181       = c,a/b,, \
   5182     && eval 'test $(( 1 + 1 )) -eq 2 \
   5183     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5184   && xsi_shell=yes
   5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5186 $as_echo "$xsi_shell" >&6; }
   5187 
   5188 
   5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5190 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5191 lt_shell_append=no
   5192 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5193     >/dev/null 2>&1 \
   5194   && lt_shell_append=yes
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5196 $as_echo "$lt_shell_append" >&6; }
   5197 
   5198 
   5199 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5200   lt_unset=unset
   5201 else
   5202   lt_unset=false
   5203 fi
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 # test EBCDIC or ASCII
   5210 case `echo X|tr X '\101'` in
   5211  A) # ASCII based system
   5212     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5213   lt_SP2NL='tr \040 \012'
   5214   lt_NL2SP='tr \015\012 \040\040'
   5215   ;;
   5216  *) # EBCDIC based system
   5217   lt_SP2NL='tr \100 \n'
   5218   lt_NL2SP='tr \r\n \100\100'
   5219   ;;
   5220 esac
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5231 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5232 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5233   $as_echo_n "(cached) " >&6
   5234 else
   5235   lt_cv_ld_reload_flag='-r'
   5236 fi
   5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5238 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5239 reload_flag=$lt_cv_ld_reload_flag
   5240 case $reload_flag in
   5241 "" | " "*) ;;
   5242 *) reload_flag=" $reload_flag" ;;
   5243 esac
   5244 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5245 case $host_os in
   5246   darwin*)
   5247     if test "$GCC" = yes; then
   5248       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5249     else
   5250       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5251     fi
   5252     ;;
   5253 esac
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 if test -n "$ac_tool_prefix"; then
   5264   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5265 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5267 $as_echo_n "checking for $ac_word... " >&6; }
   5268 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5269   $as_echo_n "(cached) " >&6
   5270 else
   5271   if test -n "$OBJDUMP"; then
   5272   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5273 else
   5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5275 for as_dir in $PATH
   5276 do
   5277   IFS=$as_save_IFS
   5278   test -z "$as_dir" && as_dir=.
   5279     for ac_exec_ext in '' $ac_executable_extensions; do
   5280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5281     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5283     break 2
   5284   fi
   5285 done
   5286   done
   5287 IFS=$as_save_IFS
   5288 
   5289 fi
   5290 fi
   5291 OBJDUMP=$ac_cv_prog_OBJDUMP
   5292 if test -n "$OBJDUMP"; then
   5293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5294 $as_echo "$OBJDUMP" >&6; }
   5295 else
   5296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5297 $as_echo "no" >&6; }
   5298 fi
   5299 
   5300 
   5301 fi
   5302 if test -z "$ac_cv_prog_OBJDUMP"; then
   5303   ac_ct_OBJDUMP=$OBJDUMP
   5304   # Extract the first word of "objdump", so it can be a program name with args.
   5305 set dummy objdump; ac_word=$2
   5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5307 $as_echo_n "checking for $ac_word... " >&6; }
   5308 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   if test -n "$ac_ct_OBJDUMP"; then
   5312   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5313 else
   5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5315 for as_dir in $PATH
   5316 do
   5317   IFS=$as_save_IFS
   5318   test -z "$as_dir" && as_dir=.
   5319     for ac_exec_ext in '' $ac_executable_extensions; do
   5320   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5321     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5323     break 2
   5324   fi
   5325 done
   5326   done
   5327 IFS=$as_save_IFS
   5328 
   5329 fi
   5330 fi
   5331 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5332 if test -n "$ac_ct_OBJDUMP"; then
   5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5334 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5335 else
   5336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5337 $as_echo "no" >&6; }
   5338 fi
   5339 
   5340   if test "x$ac_ct_OBJDUMP" = x; then
   5341     OBJDUMP="false"
   5342   else
   5343     case $cross_compiling:$ac_tool_warned in
   5344 yes:)
   5345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5347 ac_tool_warned=yes ;;
   5348 esac
   5349     OBJDUMP=$ac_ct_OBJDUMP
   5350   fi
   5351 else
   5352   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5353 fi
   5354 
   5355 test -z "$OBJDUMP" && OBJDUMP=objdump
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5366 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5367 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5368   $as_echo_n "(cached) " >&6
   5369 else
   5370   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5371 lt_cv_file_magic_test_file=
   5372 lt_cv_deplibs_check_method='unknown'
   5373 # Need to set the preceding variable on all platforms that support
   5374 # interlibrary dependencies.
   5375 # 'none' -- dependencies not supported.
   5376 # `unknown' -- same as none, but documents that we really don't know.
   5377 # 'pass_all' -- all dependencies passed with no checks.
   5378 # 'test_compile' -- check by making test program.
   5379 # 'file_magic [[regex]]' -- check by looking for files in library path
   5380 # which responds to the $file_magic_cmd with a given extended regex.
   5381 # If you have `file' or equivalent on your system and you're not sure
   5382 # whether `pass_all' will *always* work, you probably want this one.
   5383 
   5384 case $host_os in
   5385 aix[4-9]*)
   5386   lt_cv_deplibs_check_method=pass_all
   5387   ;;
   5388 
   5389 beos*)
   5390   lt_cv_deplibs_check_method=pass_all
   5391   ;;
   5392 
   5393 bsdi[45]*)
   5394   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5395   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5396   lt_cv_file_magic_test_file=/shlib/libc.so
   5397   ;;
   5398 
   5399 cygwin*)
   5400   # func_win32_libid is a shell function defined in ltmain.sh
   5401   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5402   lt_cv_file_magic_cmd='func_win32_libid'
   5403   ;;
   5404 
   5405 mingw* | pw32*)
   5406   # Base MSYS/MinGW do not provide the 'file' command needed by
   5407   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5408   # unless we find 'file', for example because we are cross-compiling.
   5409   if ( file / ) >/dev/null 2>&1; then
   5410     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5411     lt_cv_file_magic_cmd='func_win32_libid'
   5412   else
   5413     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5414     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5415   fi
   5416   ;;
   5417 
   5418 cegcc)
   5419   # use the weaker test based on 'objdump'. See mingw*.
   5420   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5421   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5422   ;;
   5423 
   5424 darwin* | rhapsody*)
   5425   lt_cv_deplibs_check_method=pass_all
   5426   ;;
   5427 
   5428 freebsd* | dragonfly*)
   5429   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5430     case $host_cpu in
   5431     i*86 )
   5432       # Not sure whether the presence of OpenBSD here was a mistake.
   5433       # Let's accept both of them until this is cleared up.
   5434       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5435       lt_cv_file_magic_cmd=/usr/bin/file
   5436       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5437       ;;
   5438     esac
   5439   else
   5440     lt_cv_deplibs_check_method=pass_all
   5441   fi
   5442   ;;
   5443 
   5444 gnu*)
   5445   lt_cv_deplibs_check_method=pass_all
   5446   ;;
   5447 
   5448 hpux10.20* | hpux11*)
   5449   lt_cv_file_magic_cmd=/usr/bin/file
   5450   case $host_cpu in
   5451   ia64*)
   5452     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5453     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5454     ;;
   5455   hppa*64*)
   5456     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]'
   5457     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5458     ;;
   5459   *)
   5460     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5461     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5462     ;;
   5463   esac
   5464   ;;
   5465 
   5466 interix[3-9]*)
   5467   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5468   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5469   ;;
   5470 
   5471 irix5* | irix6* | nonstopux*)
   5472   case $LD in
   5473   *-32|*"-32 ") libmagic=32-bit;;
   5474   *-n32|*"-n32 ") libmagic=N32;;
   5475   *-64|*"-64 ") libmagic=64-bit;;
   5476   *) libmagic=never-match;;
   5477   esac
   5478   lt_cv_deplibs_check_method=pass_all
   5479   ;;
   5480 
   5481 # This must be Linux ELF.
   5482 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5483   lt_cv_deplibs_check_method=pass_all
   5484   ;;
   5485 
   5486 netbsd* | netbsdelf*-gnu)
   5487   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5488     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5489   else
   5490     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5491   fi
   5492   ;;
   5493 
   5494 newos6*)
   5495   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5496   lt_cv_file_magic_cmd=/usr/bin/file
   5497   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5498   ;;
   5499 
   5500 *nto* | *qnx*)
   5501   lt_cv_deplibs_check_method=pass_all
   5502   ;;
   5503 
   5504 openbsd*)
   5505   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5506     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5507   else
   5508     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5509   fi
   5510   ;;
   5511 
   5512 osf3* | osf4* | osf5*)
   5513   lt_cv_deplibs_check_method=pass_all
   5514   ;;
   5515 
   5516 rdos*)
   5517   lt_cv_deplibs_check_method=pass_all
   5518   ;;
   5519 
   5520 solaris*)
   5521   lt_cv_deplibs_check_method=pass_all
   5522   ;;
   5523 
   5524 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5525   lt_cv_deplibs_check_method=pass_all
   5526   ;;
   5527 
   5528 sysv4 | sysv4.3*)
   5529   case $host_vendor in
   5530   motorola)
   5531     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]'
   5532     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5533     ;;
   5534   ncr)
   5535     lt_cv_deplibs_check_method=pass_all
   5536     ;;
   5537   sequent)
   5538     lt_cv_file_magic_cmd='/bin/file'
   5539     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5540     ;;
   5541   sni)
   5542     lt_cv_file_magic_cmd='/bin/file'
   5543     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5544     lt_cv_file_magic_test_file=/lib/libc.so
   5545     ;;
   5546   siemens)
   5547     lt_cv_deplibs_check_method=pass_all
   5548     ;;
   5549   pc)
   5550     lt_cv_deplibs_check_method=pass_all
   5551     ;;
   5552   esac
   5553   ;;
   5554 
   5555 tpf*)
   5556   lt_cv_deplibs_check_method=pass_all
   5557   ;;
   5558 esac
   5559 
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5562 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5563 file_magic_cmd=$lt_cv_file_magic_cmd
   5564 deplibs_check_method=$lt_cv_deplibs_check_method
   5565 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 if test -n "$ac_tool_prefix"; then
   5579   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5580 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5582 $as_echo_n "checking for $ac_word... " >&6; }
   5583 if test "${ac_cv_prog_AR+set}" = set; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   if test -n "$AR"; then
   5587   ac_cv_prog_AR="$AR" # Let the user override the test.
   5588 else
   5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5590 for as_dir in $PATH
   5591 do
   5592   IFS=$as_save_IFS
   5593   test -z "$as_dir" && as_dir=.
   5594     for ac_exec_ext in '' $ac_executable_extensions; do
   5595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5596     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5598     break 2
   5599   fi
   5600 done
   5601   done
   5602 IFS=$as_save_IFS
   5603 
   5604 fi
   5605 fi
   5606 AR=$ac_cv_prog_AR
   5607 if test -n "$AR"; then
   5608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5609 $as_echo "$AR" >&6; }
   5610 else
   5611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5612 $as_echo "no" >&6; }
   5613 fi
   5614 
   5615 
   5616 fi
   5617 if test -z "$ac_cv_prog_AR"; then
   5618   ac_ct_AR=$AR
   5619   # Extract the first word of "ar", so it can be a program name with args.
   5620 set dummy ar; ac_word=$2
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5622 $as_echo_n "checking for $ac_word... " >&6; }
   5623 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   if test -n "$ac_ct_AR"; then
   5627   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5628 else
   5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5630 for as_dir in $PATH
   5631 do
   5632   IFS=$as_save_IFS
   5633   test -z "$as_dir" && as_dir=.
   5634     for ac_exec_ext in '' $ac_executable_extensions; do
   5635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5636     ac_cv_prog_ac_ct_AR="ar"
   5637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5638     break 2
   5639   fi
   5640 done
   5641   done
   5642 IFS=$as_save_IFS
   5643 
   5644 fi
   5645 fi
   5646 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5647 if test -n "$ac_ct_AR"; then
   5648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5649 $as_echo "$ac_ct_AR" >&6; }
   5650 else
   5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5652 $as_echo "no" >&6; }
   5653 fi
   5654 
   5655   if test "x$ac_ct_AR" = x; then
   5656     AR="false"
   5657   else
   5658     case $cross_compiling:$ac_tool_warned in
   5659 yes:)
   5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5662 ac_tool_warned=yes ;;
   5663 esac
   5664     AR=$ac_ct_AR
   5665   fi
   5666 else
   5667   AR="$ac_cv_prog_AR"
   5668 fi
   5669 
   5670 test -z "$AR" && AR=ar
   5671 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 if test -n "$ac_tool_prefix"; then
   5684   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5685 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5687 $as_echo_n "checking for $ac_word... " >&6; }
   5688 if test "${ac_cv_prog_STRIP+set}" = set; then :
   5689   $as_echo_n "(cached) " >&6
   5690 else
   5691   if test -n "$STRIP"; then
   5692   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5693 else
   5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5695 for as_dir in $PATH
   5696 do
   5697   IFS=$as_save_IFS
   5698   test -z "$as_dir" && as_dir=.
   5699     for ac_exec_ext in '' $ac_executable_extensions; do
   5700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5701     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5703     break 2
   5704   fi
   5705 done
   5706   done
   5707 IFS=$as_save_IFS
   5708 
   5709 fi
   5710 fi
   5711 STRIP=$ac_cv_prog_STRIP
   5712 if test -n "$STRIP"; then
   5713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5714 $as_echo "$STRIP" >&6; }
   5715 else
   5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5717 $as_echo "no" >&6; }
   5718 fi
   5719 
   5720 
   5721 fi
   5722 if test -z "$ac_cv_prog_STRIP"; then
   5723   ac_ct_STRIP=$STRIP
   5724   # Extract the first word of "strip", so it can be a program name with args.
   5725 set dummy strip; ac_word=$2
   5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5727 $as_echo_n "checking for $ac_word... " >&6; }
   5728 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   5729   $as_echo_n "(cached) " >&6
   5730 else
   5731   if test -n "$ac_ct_STRIP"; then
   5732   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5733 else
   5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5735 for as_dir in $PATH
   5736 do
   5737   IFS=$as_save_IFS
   5738   test -z "$as_dir" && as_dir=.
   5739     for ac_exec_ext in '' $ac_executable_extensions; do
   5740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5741     ac_cv_prog_ac_ct_STRIP="strip"
   5742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5743     break 2
   5744   fi
   5745 done
   5746   done
   5747 IFS=$as_save_IFS
   5748 
   5749 fi
   5750 fi
   5751 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5752 if test -n "$ac_ct_STRIP"; then
   5753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5754 $as_echo "$ac_ct_STRIP" >&6; }
   5755 else
   5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5757 $as_echo "no" >&6; }
   5758 fi
   5759 
   5760   if test "x$ac_ct_STRIP" = x; then
   5761     STRIP=":"
   5762   else
   5763     case $cross_compiling:$ac_tool_warned in
   5764 yes:)
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5767 ac_tool_warned=yes ;;
   5768 esac
   5769     STRIP=$ac_ct_STRIP
   5770   fi
   5771 else
   5772   STRIP="$ac_cv_prog_STRIP"
   5773 fi
   5774 
   5775 test -z "$STRIP" && STRIP=:
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 if test -n "$ac_tool_prefix"; then
   5783   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5786 $as_echo_n "checking for $ac_word... " >&6; }
   5787 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   if test -n "$RANLIB"; then
   5791   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5792 else
   5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5794 for as_dir in $PATH
   5795 do
   5796   IFS=$as_save_IFS
   5797   test -z "$as_dir" && as_dir=.
   5798     for ac_exec_ext in '' $ac_executable_extensions; do
   5799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5800     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5802     break 2
   5803   fi
   5804 done
   5805   done
   5806 IFS=$as_save_IFS
   5807 
   5808 fi
   5809 fi
   5810 RANLIB=$ac_cv_prog_RANLIB
   5811 if test -n "$RANLIB"; then
   5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5813 $as_echo "$RANLIB" >&6; }
   5814 else
   5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5816 $as_echo "no" >&6; }
   5817 fi
   5818 
   5819 
   5820 fi
   5821 if test -z "$ac_cv_prog_RANLIB"; then
   5822   ac_ct_RANLIB=$RANLIB
   5823   # Extract the first word of "ranlib", so it can be a program name with args.
   5824 set dummy ranlib; ac_word=$2
   5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5826 $as_echo_n "checking for $ac_word... " >&6; }
   5827 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   if test -n "$ac_ct_RANLIB"; then
   5831   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5832 else
   5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5834 for as_dir in $PATH
   5835 do
   5836   IFS=$as_save_IFS
   5837   test -z "$as_dir" && as_dir=.
   5838     for ac_exec_ext in '' $ac_executable_extensions; do
   5839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5840     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5842     break 2
   5843   fi
   5844 done
   5845   done
   5846 IFS=$as_save_IFS
   5847 
   5848 fi
   5849 fi
   5850 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5851 if test -n "$ac_ct_RANLIB"; then
   5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5853 $as_echo "$ac_ct_RANLIB" >&6; }
   5854 else
   5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5856 $as_echo "no" >&6; }
   5857 fi
   5858 
   5859   if test "x$ac_ct_RANLIB" = x; then
   5860     RANLIB=":"
   5861   else
   5862     case $cross_compiling:$ac_tool_warned in
   5863 yes:)
   5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5866 ac_tool_warned=yes ;;
   5867 esac
   5868     RANLIB=$ac_ct_RANLIB
   5869   fi
   5870 else
   5871   RANLIB="$ac_cv_prog_RANLIB"
   5872 fi
   5873 
   5874 test -z "$RANLIB" && RANLIB=:
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 # Determine commands to create old-style static archives.
   5882 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5883 old_postinstall_cmds='chmod 644 $oldlib'
   5884 old_postuninstall_cmds=
   5885 
   5886 if test -n "$RANLIB"; then
   5887   case $host_os in
   5888   openbsd*)
   5889     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5890     ;;
   5891   *)
   5892     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5893     ;;
   5894   esac
   5895   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5896 fi
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 # If no C compiler was specified, use CC.
   5932 LTCC=${LTCC-"$CC"}
   5933 
   5934 # If no C compiler flags were specified, use CFLAGS.
   5935 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5936 
   5937 # Allow CC to be a program name with arguments.
   5938 compiler=$CC
   5939 
   5940 
   5941 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5943 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5944 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   5945   $as_echo_n "(cached) " >&6
   5946 else
   5947 
   5948 # These are sane defaults that work on at least a few old systems.
   5949 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5950 
   5951 # Character class describing NM global symbol codes.
   5952 symcode='[BCDEGRST]'
   5953 
   5954 # Regexp to match symbols that can be accessed directly from C.
   5955 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5956 
   5957 # Define system-specific variables.
   5958 case $host_os in
   5959 aix*)
   5960   symcode='[BCDT]'
   5961   ;;
   5962 cygwin* | mingw* | pw32* | cegcc*)
   5963   symcode='[ABCDGISTW]'
   5964   ;;
   5965 hpux*)
   5966   if test "$host_cpu" = ia64; then
   5967     symcode='[ABCDEGRST]'
   5968   fi
   5969   ;;
   5970 irix* | nonstopux*)
   5971   symcode='[BCDEGRST]'
   5972   ;;
   5973 osf*)
   5974   symcode='[BCDEGQRST]'
   5975   ;;
   5976 solaris*)
   5977   symcode='[BDRT]'
   5978   ;;
   5979 sco3.2v5*)
   5980   symcode='[DT]'
   5981   ;;
   5982 sysv4.2uw2*)
   5983   symcode='[DT]'
   5984   ;;
   5985 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5986   symcode='[ABDT]'
   5987   ;;
   5988 sysv4)
   5989   symcode='[DFNSTU]'
   5990   ;;
   5991 esac
   5992 
   5993 # If we're using GNU nm, then use its standard symbol codes.
   5994 case `$NM -V 2>&1` in
   5995 *GNU* | *'with BFD'*)
   5996   symcode='[ABCDGIRSTW]' ;;
   5997 esac
   5998 
   5999 # Transform an extracted symbol line into a proper C declaration.
   6000 # Some systems (esp. on ia64) link data and code symbols differently,
   6001 # so use this general approach.
   6002 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6003 
   6004 # Transform an extracted symbol line into symbol name and symbol address
   6005 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6006 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'"
   6007 
   6008 # Handle CRLF in mingw tool chain
   6009 opt_cr=
   6010 case $build_os in
   6011 mingw*)
   6012   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6013   ;;
   6014 esac
   6015 
   6016 # Try without a prefix underscore, then with it.
   6017 for ac_symprfx in "" "_"; do
   6018 
   6019   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6020   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6021 
   6022   # Write the raw and C identifiers.
   6023   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6024     # Fake it for dumpbin and say T for any non-static function
   6025     # and D for any global variable.
   6026     # Also find C++ and __fastcall symbols from MSVC++,
   6027     # which start with @ or ?.
   6028     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6029 "     {last_section=section; section=\$ 3};"\
   6030 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6031 "     \$ 0!~/External *\|/{next};"\
   6032 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6033 "     {if(hide[section]) next};"\
   6034 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6035 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6036 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6037 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6038 "     ' prfx=^$ac_symprfx"
   6039   else
   6040     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6041   fi
   6042 
   6043   # Check to see that the pipe works correctly.
   6044   pipe_works=no
   6045 
   6046   rm -f conftest*
   6047   cat > conftest.$ac_ext <<_LT_EOF
   6048 #ifdef __cplusplus
   6049 extern "C" {
   6050 #endif
   6051 char nm_test_var;
   6052 void nm_test_func(void);
   6053 void nm_test_func(void){}
   6054 #ifdef __cplusplus
   6055 }
   6056 #endif
   6057 int main(){nm_test_var='a';nm_test_func();return(0);}
   6058 _LT_EOF
   6059 
   6060   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6061   (eval $ac_compile) 2>&5
   6062   ac_status=$?
   6063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6064   test $ac_status = 0; }; then
   6065     # Now try to grab the symbols.
   6066     nlist=conftest.nm
   6067     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6068   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6069   ac_status=$?
   6070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6071   test $ac_status = 0; } && test -s "$nlist"; then
   6072       # Try sorting and uniquifying the output.
   6073       if sort "$nlist" | uniq > "$nlist"T; then
   6074 	mv -f "$nlist"T "$nlist"
   6075       else
   6076 	rm -f "$nlist"T
   6077       fi
   6078 
   6079       # Make sure that we snagged all the symbols we need.
   6080       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6081 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6082 	  cat <<_LT_EOF > conftest.$ac_ext
   6083 #ifdef __cplusplus
   6084 extern "C" {
   6085 #endif
   6086 
   6087 _LT_EOF
   6088 	  # Now generate the symbol file.
   6089 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6090 
   6091 	  cat <<_LT_EOF >> conftest.$ac_ext
   6092 
   6093 /* The mapping between symbol names and symbols.  */
   6094 const struct {
   6095   const char *name;
   6096   void       *address;
   6097 }
   6098 lt__PROGRAM__LTX_preloaded_symbols[] =
   6099 {
   6100   { "@PROGRAM@", (void *) 0 },
   6101 _LT_EOF
   6102 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6103 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6104   {0, (void *) 0}
   6105 };
   6106 
   6107 /* This works around a problem in FreeBSD linker */
   6108 #ifdef FREEBSD_WORKAROUND
   6109 static const void *lt_preloaded_setup() {
   6110   return lt__PROGRAM__LTX_preloaded_symbols;
   6111 }
   6112 #endif
   6113 
   6114 #ifdef __cplusplus
   6115 }
   6116 #endif
   6117 _LT_EOF
   6118 	  # Now try linking the two files.
   6119 	  mv conftest.$ac_objext conftstm.$ac_objext
   6120 	  lt_save_LIBS="$LIBS"
   6121 	  lt_save_CFLAGS="$CFLAGS"
   6122 	  LIBS="conftstm.$ac_objext"
   6123 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6124 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6125   (eval $ac_link) 2>&5
   6126   ac_status=$?
   6127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6128   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6129 	    pipe_works=yes
   6130 	  fi
   6131 	  LIBS="$lt_save_LIBS"
   6132 	  CFLAGS="$lt_save_CFLAGS"
   6133 	else
   6134 	  echo "cannot find nm_test_func in $nlist" >&5
   6135 	fi
   6136       else
   6137 	echo "cannot find nm_test_var in $nlist" >&5
   6138       fi
   6139     else
   6140       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6141     fi
   6142   else
   6143     echo "$progname: failed program was:" >&5
   6144     cat conftest.$ac_ext >&5
   6145   fi
   6146   rm -rf conftest* conftst*
   6147 
   6148   # Do not use the global_symbol_pipe unless it works.
   6149   if test "$pipe_works" = yes; then
   6150     break
   6151   else
   6152     lt_cv_sys_global_symbol_pipe=
   6153   fi
   6154 done
   6155 
   6156 fi
   6157 
   6158 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6159   lt_cv_sys_global_symbol_to_cdecl=
   6160 fi
   6161 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6163 $as_echo "failed" >&6; }
   6164 else
   6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6166 $as_echo "ok" >&6; }
   6167 fi
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 # Check whether --enable-libtool-lock was given.
   6192 if test "${enable_libtool_lock+set}" = set; then :
   6193   enableval=$enable_libtool_lock;
   6194 fi
   6195 
   6196 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6197 
   6198 # Some flags need to be propagated to the compiler or linker for good
   6199 # libtool support.
   6200 case $host in
   6201 ia64-*-hpux*)
   6202   # Find out which ABI we are using.
   6203   echo 'int i;' > conftest.$ac_ext
   6204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6205   (eval $ac_compile) 2>&5
   6206   ac_status=$?
   6207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6208   test $ac_status = 0; }; then
   6209     case `/usr/bin/file conftest.$ac_objext` in
   6210       *ELF-32*)
   6211 	HPUX_IA64_MODE="32"
   6212 	;;
   6213       *ELF-64*)
   6214 	HPUX_IA64_MODE="64"
   6215 	;;
   6216     esac
   6217   fi
   6218   rm -rf conftest*
   6219   ;;
   6220 *-*-irix6*)
   6221   # Find out which ABI we are using.
   6222   echo '#line 6222 "configure"' > conftest.$ac_ext
   6223   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6224   (eval $ac_compile) 2>&5
   6225   ac_status=$?
   6226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6227   test $ac_status = 0; }; then
   6228     if test "$lt_cv_prog_gnu_ld" = yes; then
   6229       case `/usr/bin/file conftest.$ac_objext` in
   6230 	*32-bit*)
   6231 	  LD="${LD-ld} -melf32bsmip"
   6232 	  ;;
   6233 	*N32*)
   6234 	  LD="${LD-ld} -melf32bmipn32"
   6235 	  ;;
   6236 	*64-bit*)
   6237 	  LD="${LD-ld} -melf64bmip"
   6238 	;;
   6239       esac
   6240     else
   6241       case `/usr/bin/file conftest.$ac_objext` in
   6242 	*32-bit*)
   6243 	  LD="${LD-ld} -32"
   6244 	  ;;
   6245 	*N32*)
   6246 	  LD="${LD-ld} -n32"
   6247 	  ;;
   6248 	*64-bit*)
   6249 	  LD="${LD-ld} -64"
   6250 	  ;;
   6251       esac
   6252     fi
   6253   fi
   6254   rm -rf conftest*
   6255   ;;
   6256 
   6257 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6258 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6259   # Find out which ABI we are using.
   6260   echo 'int i;' > conftest.$ac_ext
   6261   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6262   (eval $ac_compile) 2>&5
   6263   ac_status=$?
   6264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6265   test $ac_status = 0; }; then
   6266     case `/usr/bin/file conftest.o` in
   6267       *32-bit*)
   6268 	case $host in
   6269 	  x86_64-*kfreebsd*-gnu)
   6270 	    LD="${LD-ld} -m elf_i386_fbsd"
   6271 	    ;;
   6272 	  x86_64-*linux*)
   6273 	    LD="${LD-ld} -m elf_i386"
   6274 	    ;;
   6275 	  ppc64-*linux*|powerpc64-*linux*)
   6276 	    LD="${LD-ld} -m elf32ppclinux"
   6277 	    ;;
   6278 	  s390x-*linux*)
   6279 	    LD="${LD-ld} -m elf_s390"
   6280 	    ;;
   6281 	  sparc64-*linux*)
   6282 	    LD="${LD-ld} -m elf32_sparc"
   6283 	    ;;
   6284 	esac
   6285 	;;
   6286       *64-bit*)
   6287 	case $host in
   6288 	  x86_64-*kfreebsd*-gnu)
   6289 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6290 	    ;;
   6291 	  x86_64-*linux*)
   6292 	    LD="${LD-ld} -m elf_x86_64"
   6293 	    ;;
   6294 	  ppc*-*linux*|powerpc*-*linux*)
   6295 	    LD="${LD-ld} -m elf64ppc"
   6296 	    ;;
   6297 	  s390*-*linux*|s390*-*tpf*)
   6298 	    LD="${LD-ld} -m elf64_s390"
   6299 	    ;;
   6300 	  sparc*-*linux*)
   6301 	    LD="${LD-ld} -m elf64_sparc"
   6302 	    ;;
   6303 	esac
   6304 	;;
   6305     esac
   6306   fi
   6307   rm -rf conftest*
   6308   ;;
   6309 
   6310 *-*-sco3.2v5*)
   6311   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6312   SAVE_CFLAGS="$CFLAGS"
   6313   CFLAGS="$CFLAGS -belf"
   6314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6315 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6316 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6317   $as_echo_n "(cached) " >&6
   6318 else
   6319   ac_ext=c
   6320 ac_cpp='$CPP $CPPFLAGS'
   6321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6324 
   6325      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6326 /* end confdefs.h.  */
   6327 
   6328 int
   6329 main ()
   6330 {
   6331 
   6332   ;
   6333   return 0;
   6334 }
   6335 _ACEOF
   6336 if ac_fn_c_try_link "$LINENO"; then :
   6337   lt_cv_cc_needs_belf=yes
   6338 else
   6339   lt_cv_cc_needs_belf=no
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext \
   6342     conftest$ac_exeext conftest.$ac_ext
   6343      ac_ext=c
   6344 ac_cpp='$CPP $CPPFLAGS'
   6345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6348 
   6349 fi
   6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6351 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6352   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6353     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6354     CFLAGS="$SAVE_CFLAGS"
   6355   fi
   6356   ;;
   6357 sparc*-*solaris*)
   6358   # Find out which ABI we are using.
   6359   echo 'int i;' > conftest.$ac_ext
   6360   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6361   (eval $ac_compile) 2>&5
   6362   ac_status=$?
   6363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6364   test $ac_status = 0; }; then
   6365     case `/usr/bin/file conftest.o` in
   6366     *64-bit*)
   6367       case $lt_cv_prog_gnu_ld in
   6368       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6369       *)
   6370 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6371 	  LD="${LD-ld} -64"
   6372 	fi
   6373 	;;
   6374       esac
   6375       ;;
   6376     esac
   6377   fi
   6378   rm -rf conftest*
   6379   ;;
   6380 esac
   6381 
   6382 need_locks="$enable_libtool_lock"
   6383 
   6384 
   6385   case $host_os in
   6386     rhapsody* | darwin*)
   6387     if test -n "$ac_tool_prefix"; then
   6388   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6389 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6391 $as_echo_n "checking for $ac_word... " >&6; }
   6392 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395   if test -n "$DSYMUTIL"; then
   6396   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6397 else
   6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6399 for as_dir in $PATH
   6400 do
   6401   IFS=$as_save_IFS
   6402   test -z "$as_dir" && as_dir=.
   6403     for ac_exec_ext in '' $ac_executable_extensions; do
   6404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6405     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6407     break 2
   6408   fi
   6409 done
   6410   done
   6411 IFS=$as_save_IFS
   6412 
   6413 fi
   6414 fi
   6415 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6416 if test -n "$DSYMUTIL"; then
   6417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6418 $as_echo "$DSYMUTIL" >&6; }
   6419 else
   6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6421 $as_echo "no" >&6; }
   6422 fi
   6423 
   6424 
   6425 fi
   6426 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6427   ac_ct_DSYMUTIL=$DSYMUTIL
   6428   # Extract the first word of "dsymutil", so it can be a program name with args.
   6429 set dummy dsymutil; ac_word=$2
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6431 $as_echo_n "checking for $ac_word... " >&6; }
   6432 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6433   $as_echo_n "(cached) " >&6
   6434 else
   6435   if test -n "$ac_ct_DSYMUTIL"; then
   6436   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6437 else
   6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6439 for as_dir in $PATH
   6440 do
   6441   IFS=$as_save_IFS
   6442   test -z "$as_dir" && as_dir=.
   6443     for ac_exec_ext in '' $ac_executable_extensions; do
   6444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6445     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6447     break 2
   6448   fi
   6449 done
   6450   done
   6451 IFS=$as_save_IFS
   6452 
   6453 fi
   6454 fi
   6455 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6456 if test -n "$ac_ct_DSYMUTIL"; then
   6457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6458 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6459 else
   6460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6461 $as_echo "no" >&6; }
   6462 fi
   6463 
   6464   if test "x$ac_ct_DSYMUTIL" = x; then
   6465     DSYMUTIL=":"
   6466   else
   6467     case $cross_compiling:$ac_tool_warned in
   6468 yes:)
   6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6471 ac_tool_warned=yes ;;
   6472 esac
   6473     DSYMUTIL=$ac_ct_DSYMUTIL
   6474   fi
   6475 else
   6476   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6477 fi
   6478 
   6479     if test -n "$ac_tool_prefix"; then
   6480   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6481 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6483 $as_echo_n "checking for $ac_word... " >&6; }
   6484 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6485   $as_echo_n "(cached) " >&6
   6486 else
   6487   if test -n "$NMEDIT"; then
   6488   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6489 else
   6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6491 for as_dir in $PATH
   6492 do
   6493   IFS=$as_save_IFS
   6494   test -z "$as_dir" && as_dir=.
   6495     for ac_exec_ext in '' $ac_executable_extensions; do
   6496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6497     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6499     break 2
   6500   fi
   6501 done
   6502   done
   6503 IFS=$as_save_IFS
   6504 
   6505 fi
   6506 fi
   6507 NMEDIT=$ac_cv_prog_NMEDIT
   6508 if test -n "$NMEDIT"; then
   6509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6510 $as_echo "$NMEDIT" >&6; }
   6511 else
   6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 $as_echo "no" >&6; }
   6514 fi
   6515 
   6516 
   6517 fi
   6518 if test -z "$ac_cv_prog_NMEDIT"; then
   6519   ac_ct_NMEDIT=$NMEDIT
   6520   # Extract the first word of "nmedit", so it can be a program name with args.
   6521 set dummy nmedit; ac_word=$2
   6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6523 $as_echo_n "checking for $ac_word... " >&6; }
   6524 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   if test -n "$ac_ct_NMEDIT"; then
   6528   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6529 else
   6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6531 for as_dir in $PATH
   6532 do
   6533   IFS=$as_save_IFS
   6534   test -z "$as_dir" && as_dir=.
   6535     for ac_exec_ext in '' $ac_executable_extensions; do
   6536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6537     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6539     break 2
   6540   fi
   6541 done
   6542   done
   6543 IFS=$as_save_IFS
   6544 
   6545 fi
   6546 fi
   6547 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6548 if test -n "$ac_ct_NMEDIT"; then
   6549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6550 $as_echo "$ac_ct_NMEDIT" >&6; }
   6551 else
   6552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6553 $as_echo "no" >&6; }
   6554 fi
   6555 
   6556   if test "x$ac_ct_NMEDIT" = x; then
   6557     NMEDIT=":"
   6558   else
   6559     case $cross_compiling:$ac_tool_warned in
   6560 yes:)
   6561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6563 ac_tool_warned=yes ;;
   6564 esac
   6565     NMEDIT=$ac_ct_NMEDIT
   6566   fi
   6567 else
   6568   NMEDIT="$ac_cv_prog_NMEDIT"
   6569 fi
   6570 
   6571     if test -n "$ac_tool_prefix"; then
   6572   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6573 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6575 $as_echo_n "checking for $ac_word... " >&6; }
   6576 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579   if test -n "$LIPO"; then
   6580   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6581 else
   6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6583 for as_dir in $PATH
   6584 do
   6585   IFS=$as_save_IFS
   6586   test -z "$as_dir" && as_dir=.
   6587     for ac_exec_ext in '' $ac_executable_extensions; do
   6588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6589     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6591     break 2
   6592   fi
   6593 done
   6594   done
   6595 IFS=$as_save_IFS
   6596 
   6597 fi
   6598 fi
   6599 LIPO=$ac_cv_prog_LIPO
   6600 if test -n "$LIPO"; then
   6601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6602 $as_echo "$LIPO" >&6; }
   6603 else
   6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6605 $as_echo "no" >&6; }
   6606 fi
   6607 
   6608 
   6609 fi
   6610 if test -z "$ac_cv_prog_LIPO"; then
   6611   ac_ct_LIPO=$LIPO
   6612   # Extract the first word of "lipo", so it can be a program name with args.
   6613 set dummy lipo; ac_word=$2
   6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6615 $as_echo_n "checking for $ac_word... " >&6; }
   6616 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   if test -n "$ac_ct_LIPO"; then
   6620   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6621 else
   6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6623 for as_dir in $PATH
   6624 do
   6625   IFS=$as_save_IFS
   6626   test -z "$as_dir" && as_dir=.
   6627     for ac_exec_ext in '' $ac_executable_extensions; do
   6628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6629     ac_cv_prog_ac_ct_LIPO="lipo"
   6630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6631     break 2
   6632   fi
   6633 done
   6634   done
   6635 IFS=$as_save_IFS
   6636 
   6637 fi
   6638 fi
   6639 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6640 if test -n "$ac_ct_LIPO"; then
   6641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6642 $as_echo "$ac_ct_LIPO" >&6; }
   6643 else
   6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6645 $as_echo "no" >&6; }
   6646 fi
   6647 
   6648   if test "x$ac_ct_LIPO" = x; then
   6649     LIPO=":"
   6650   else
   6651     case $cross_compiling:$ac_tool_warned in
   6652 yes:)
   6653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6655 ac_tool_warned=yes ;;
   6656 esac
   6657     LIPO=$ac_ct_LIPO
   6658   fi
   6659 else
   6660   LIPO="$ac_cv_prog_LIPO"
   6661 fi
   6662 
   6663     if test -n "$ac_tool_prefix"; then
   6664   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6665 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6667 $as_echo_n "checking for $ac_word... " >&6; }
   6668 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6669   $as_echo_n "(cached) " >&6
   6670 else
   6671   if test -n "$OTOOL"; then
   6672   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6673 else
   6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6675 for as_dir in $PATH
   6676 do
   6677   IFS=$as_save_IFS
   6678   test -z "$as_dir" && as_dir=.
   6679     for ac_exec_ext in '' $ac_executable_extensions; do
   6680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6681     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6683     break 2
   6684   fi
   6685 done
   6686   done
   6687 IFS=$as_save_IFS
   6688 
   6689 fi
   6690 fi
   6691 OTOOL=$ac_cv_prog_OTOOL
   6692 if test -n "$OTOOL"; then
   6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6694 $as_echo "$OTOOL" >&6; }
   6695 else
   6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6697 $as_echo "no" >&6; }
   6698 fi
   6699 
   6700 
   6701 fi
   6702 if test -z "$ac_cv_prog_OTOOL"; then
   6703   ac_ct_OTOOL=$OTOOL
   6704   # Extract the first word of "otool", so it can be a program name with args.
   6705 set dummy otool; ac_word=$2
   6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6707 $as_echo_n "checking for $ac_word... " >&6; }
   6708 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   6709   $as_echo_n "(cached) " >&6
   6710 else
   6711   if test -n "$ac_ct_OTOOL"; then
   6712   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6713 else
   6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6715 for as_dir in $PATH
   6716 do
   6717   IFS=$as_save_IFS
   6718   test -z "$as_dir" && as_dir=.
   6719     for ac_exec_ext in '' $ac_executable_extensions; do
   6720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6721     ac_cv_prog_ac_ct_OTOOL="otool"
   6722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6723     break 2
   6724   fi
   6725 done
   6726   done
   6727 IFS=$as_save_IFS
   6728 
   6729 fi
   6730 fi
   6731 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6732 if test -n "$ac_ct_OTOOL"; then
   6733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6734 $as_echo "$ac_ct_OTOOL" >&6; }
   6735 else
   6736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6737 $as_echo "no" >&6; }
   6738 fi
   6739 
   6740   if test "x$ac_ct_OTOOL" = x; then
   6741     OTOOL=":"
   6742   else
   6743     case $cross_compiling:$ac_tool_warned in
   6744 yes:)
   6745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6747 ac_tool_warned=yes ;;
   6748 esac
   6749     OTOOL=$ac_ct_OTOOL
   6750   fi
   6751 else
   6752   OTOOL="$ac_cv_prog_OTOOL"
   6753 fi
   6754 
   6755     if test -n "$ac_tool_prefix"; then
   6756   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6757 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6759 $as_echo_n "checking for $ac_word... " >&6; }
   6760 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   6761   $as_echo_n "(cached) " >&6
   6762 else
   6763   if test -n "$OTOOL64"; then
   6764   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6765 else
   6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6767 for as_dir in $PATH
   6768 do
   6769   IFS=$as_save_IFS
   6770   test -z "$as_dir" && as_dir=.
   6771     for ac_exec_ext in '' $ac_executable_extensions; do
   6772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6773     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6775     break 2
   6776   fi
   6777 done
   6778   done
   6779 IFS=$as_save_IFS
   6780 
   6781 fi
   6782 fi
   6783 OTOOL64=$ac_cv_prog_OTOOL64
   6784 if test -n "$OTOOL64"; then
   6785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6786 $as_echo "$OTOOL64" >&6; }
   6787 else
   6788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6789 $as_echo "no" >&6; }
   6790 fi
   6791 
   6792 
   6793 fi
   6794 if test -z "$ac_cv_prog_OTOOL64"; then
   6795   ac_ct_OTOOL64=$OTOOL64
   6796   # Extract the first word of "otool64", so it can be a program name with args.
   6797 set dummy otool64; ac_word=$2
   6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6799 $as_echo_n "checking for $ac_word... " >&6; }
   6800 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   6801   $as_echo_n "(cached) " >&6
   6802 else
   6803   if test -n "$ac_ct_OTOOL64"; then
   6804   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6805 else
   6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6807 for as_dir in $PATH
   6808 do
   6809   IFS=$as_save_IFS
   6810   test -z "$as_dir" && as_dir=.
   6811     for ac_exec_ext in '' $ac_executable_extensions; do
   6812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6813     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6815     break 2
   6816   fi
   6817 done
   6818   done
   6819 IFS=$as_save_IFS
   6820 
   6821 fi
   6822 fi
   6823 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6824 if test -n "$ac_ct_OTOOL64"; then
   6825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6826 $as_echo "$ac_ct_OTOOL64" >&6; }
   6827 else
   6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6829 $as_echo "no" >&6; }
   6830 fi
   6831 
   6832   if test "x$ac_ct_OTOOL64" = x; then
   6833     OTOOL64=":"
   6834   else
   6835     case $cross_compiling:$ac_tool_warned in
   6836 yes:)
   6837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6839 ac_tool_warned=yes ;;
   6840 esac
   6841     OTOOL64=$ac_ct_OTOOL64
   6842   fi
   6843 else
   6844   OTOOL64="$ac_cv_prog_OTOOL64"
   6845 fi
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6874 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6875 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   6876   $as_echo_n "(cached) " >&6
   6877 else
   6878   lt_cv_apple_cc_single_mod=no
   6879       if test -z "${LT_MULTI_MODULE}"; then
   6880 	# By default we will add the -single_module flag. You can override
   6881 	# by either setting the environment variable LT_MULTI_MODULE
   6882 	# non-empty at configure time, or by adding -multi_module to the
   6883 	# link flags.
   6884 	rm -rf libconftest.dylib*
   6885 	echo "int foo(void){return 1;}" > conftest.c
   6886 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6887 -dynamiclib -Wl,-single_module conftest.c" >&5
   6888 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6889 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6890         _lt_result=$?
   6891 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6892 	  lt_cv_apple_cc_single_mod=yes
   6893 	else
   6894 	  cat conftest.err >&5
   6895 	fi
   6896 	rm -rf libconftest.dylib*
   6897 	rm -f conftest.*
   6898       fi
   6899 fi
   6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6901 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6903 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6904 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   6905   $as_echo_n "(cached) " >&6
   6906 else
   6907   lt_cv_ld_exported_symbols_list=no
   6908       save_LDFLAGS=$LDFLAGS
   6909       echo "_main" > conftest.sym
   6910       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6912 /* end confdefs.h.  */
   6913 
   6914 int
   6915 main ()
   6916 {
   6917 
   6918   ;
   6919   return 0;
   6920 }
   6921 _ACEOF
   6922 if ac_fn_c_try_link "$LINENO"; then :
   6923   lt_cv_ld_exported_symbols_list=yes
   6924 else
   6925   lt_cv_ld_exported_symbols_list=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext \
   6928     conftest$ac_exeext conftest.$ac_ext
   6929 	LDFLAGS="$save_LDFLAGS"
   6930 
   6931 fi
   6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6933 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6934     case $host_os in
   6935     rhapsody* | darwin1.[012])
   6936       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6937     darwin1.*)
   6938       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6939     darwin*) # darwin 5.x on
   6940       # if running on 10.5 or later, the deployment target defaults
   6941       # to the OS version, if on x86, and 10.4, the deployment
   6942       # target defaults to 10.4. Don't you love it?
   6943       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6944 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6945 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6946 	10.[012]*)
   6947 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6948 	10.*)
   6949 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6950       esac
   6951     ;;
   6952   esac
   6953     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6954       _lt_dar_single_mod='$single_module'
   6955     fi
   6956     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6957       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6958     else
   6959       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6960     fi
   6961     if test "$DSYMUTIL" != ":"; then
   6962       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6963     else
   6964       _lt_dsymutil=
   6965     fi
   6966     ;;
   6967   esac
   6968 
   6969 ac_ext=c
   6970 ac_cpp='$CPP $CPPFLAGS'
   6971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6975 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6976 # On Suns, sometimes $CPP names a directory.
   6977 if test -n "$CPP" && test -d "$CPP"; then
   6978   CPP=
   6979 fi
   6980 if test -z "$CPP"; then
   6981   if test "${ac_cv_prog_CPP+set}" = set; then :
   6982   $as_echo_n "(cached) " >&6
   6983 else
   6984       # Double quotes because CPP needs to be expanded
   6985     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6986     do
   6987       ac_preproc_ok=false
   6988 for ac_c_preproc_warn_flag in '' yes
   6989 do
   6990   # Use a header file that comes with gcc, so configuring glibc
   6991   # with a fresh cross-compiler works.
   6992   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6993   # <limits.h> exists even on freestanding compilers.
   6994   # On the NeXT, cc -E runs the code through the compiler's parser,
   6995   # not just through cpp. "Syntax error" is here to catch this case.
   6996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6997 /* end confdefs.h.  */
   6998 #ifdef __STDC__
   6999 # include <limits.h>
   7000 #else
   7001 # include <assert.h>
   7002 #endif
   7003 		     Syntax error
   7004 _ACEOF
   7005 if ac_fn_c_try_cpp "$LINENO"; then :
   7006 
   7007 else
   7008   # Broken: fails on valid input.
   7009 continue
   7010 fi
   7011 rm -f conftest.err conftest.$ac_ext
   7012 
   7013   # OK, works on sane cases.  Now check whether nonexistent headers
   7014   # can be detected and how.
   7015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 #include <ac_nonexistent.h>
   7018 _ACEOF
   7019 if ac_fn_c_try_cpp "$LINENO"; then :
   7020   # Broken: success on invalid input.
   7021 continue
   7022 else
   7023   # Passes both tests.
   7024 ac_preproc_ok=:
   7025 break
   7026 fi
   7027 rm -f conftest.err conftest.$ac_ext
   7028 
   7029 done
   7030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7031 rm -f conftest.err conftest.$ac_ext
   7032 if $ac_preproc_ok; then :
   7033   break
   7034 fi
   7035 
   7036     done
   7037     ac_cv_prog_CPP=$CPP
   7038 
   7039 fi
   7040   CPP=$ac_cv_prog_CPP
   7041 else
   7042   ac_cv_prog_CPP=$CPP
   7043 fi
   7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7045 $as_echo "$CPP" >&6; }
   7046 ac_preproc_ok=false
   7047 for ac_c_preproc_warn_flag in '' yes
   7048 do
   7049   # Use a header file that comes with gcc, so configuring glibc
   7050   # with a fresh cross-compiler works.
   7051   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7052   # <limits.h> exists even on freestanding compilers.
   7053   # On the NeXT, cc -E runs the code through the compiler's parser,
   7054   # not just through cpp. "Syntax error" is here to catch this case.
   7055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7056 /* end confdefs.h.  */
   7057 #ifdef __STDC__
   7058 # include <limits.h>
   7059 #else
   7060 # include <assert.h>
   7061 #endif
   7062 		     Syntax error
   7063 _ACEOF
   7064 if ac_fn_c_try_cpp "$LINENO"; then :
   7065 
   7066 else
   7067   # Broken: fails on valid input.
   7068 continue
   7069 fi
   7070 rm -f conftest.err conftest.$ac_ext
   7071 
   7072   # OK, works on sane cases.  Now check whether nonexistent headers
   7073   # can be detected and how.
   7074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 #include <ac_nonexistent.h>
   7077 _ACEOF
   7078 if ac_fn_c_try_cpp "$LINENO"; then :
   7079   # Broken: success on invalid input.
   7080 continue
   7081 else
   7082   # Passes both tests.
   7083 ac_preproc_ok=:
   7084 break
   7085 fi
   7086 rm -f conftest.err conftest.$ac_ext
   7087 
   7088 done
   7089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7090 rm -f conftest.err conftest.$ac_ext
   7091 if $ac_preproc_ok; then :
   7092 
   7093 else
   7094   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7096 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   7097 See \`config.log' for more details." "$LINENO" 5; }
   7098 fi
   7099 
   7100 ac_ext=c
   7101 ac_cpp='$CPP $CPPFLAGS'
   7102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7105 
   7106 
   7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7108 $as_echo_n "checking for ANSI C header files... " >&6; }
   7109 if test "${ac_cv_header_stdc+set}" = set; then :
   7110   $as_echo_n "(cached) " >&6
   7111 else
   7112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7113 /* end confdefs.h.  */
   7114 #include <stdlib.h>
   7115 #include <stdarg.h>
   7116 #include <string.h>
   7117 #include <float.h>
   7118 
   7119 int
   7120 main ()
   7121 {
   7122 
   7123   ;
   7124   return 0;
   7125 }
   7126 _ACEOF
   7127 if ac_fn_c_try_compile "$LINENO"; then :
   7128   ac_cv_header_stdc=yes
   7129 else
   7130   ac_cv_header_stdc=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7133 
   7134 if test $ac_cv_header_stdc = yes; then
   7135   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7137 /* end confdefs.h.  */
   7138 #include <string.h>
   7139 
   7140 _ACEOF
   7141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7142   $EGREP "memchr" >/dev/null 2>&1; then :
   7143 
   7144 else
   7145   ac_cv_header_stdc=no
   7146 fi
   7147 rm -f conftest*
   7148 
   7149 fi
   7150 
   7151 if test $ac_cv_header_stdc = yes; then
   7152   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7154 /* end confdefs.h.  */
   7155 #include <stdlib.h>
   7156 
   7157 _ACEOF
   7158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7159   $EGREP "free" >/dev/null 2>&1; then :
   7160 
   7161 else
   7162   ac_cv_header_stdc=no
   7163 fi
   7164 rm -f conftest*
   7165 
   7166 fi
   7167 
   7168 if test $ac_cv_header_stdc = yes; then
   7169   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7170   if test "$cross_compiling" = yes; then :
   7171   :
   7172 else
   7173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7174 /* end confdefs.h.  */
   7175 #include <ctype.h>
   7176 #include <stdlib.h>
   7177 #if ((' ' & 0x0FF) == 0x020)
   7178 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7179 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7180 #else
   7181 # define ISLOWER(c) \
   7182 		   (('a' <= (c) && (c) <= 'i') \
   7183 		     || ('j' <= (c) && (c) <= 'r') \
   7184 		     || ('s' <= (c) && (c) <= 'z'))
   7185 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7186 #endif
   7187 
   7188 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7189 int
   7190 main ()
   7191 {
   7192   int i;
   7193   for (i = 0; i < 256; i++)
   7194     if (XOR (islower (i), ISLOWER (i))
   7195 	|| toupper (i) != TOUPPER (i))
   7196       return 2;
   7197   return 0;
   7198 }
   7199 _ACEOF
   7200 if ac_fn_c_try_run "$LINENO"; then :
   7201 
   7202 else
   7203   ac_cv_header_stdc=no
   7204 fi
   7205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7206   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7207 fi
   7208 
   7209 fi
   7210 fi
   7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7212 $as_echo "$ac_cv_header_stdc" >&6; }
   7213 if test $ac_cv_header_stdc = yes; then
   7214 
   7215 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7216 
   7217 fi
   7218 
   7219 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7220 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7221 		  inttypes.h stdint.h unistd.h
   7222 do :
   7223   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7224 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7225 "
   7226 eval as_val=\$$as_ac_Header
   7227    if test "x$as_val" = x""yes; then :
   7228   cat >>confdefs.h <<_ACEOF
   7229 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7230 _ACEOF
   7231 
   7232 fi
   7233 
   7234 done
   7235 
   7236 
   7237 for ac_header in dlfcn.h
   7238 do :
   7239   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7240 "
   7241 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7242   cat >>confdefs.h <<_ACEOF
   7243 #define HAVE_DLFCN_H 1
   7244 _ACEOF
   7245 
   7246 fi
   7247 
   7248 done
   7249 
   7250 
   7251 
   7252 ac_ext=cpp
   7253 ac_cpp='$CXXCPP $CPPFLAGS'
   7254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   7257 if test -z "$CXX"; then
   7258   if test -n "$CCC"; then
   7259     CXX=$CCC
   7260   else
   7261     if test -n "$ac_tool_prefix"; then
   7262   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   7263   do
   7264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7267 $as_echo_n "checking for $ac_word... " >&6; }
   7268 if test "${ac_cv_prog_CXX+set}" = set; then :
   7269   $as_echo_n "(cached) " >&6
   7270 else
   7271   if test -n "$CXX"; then
   7272   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   7273 else
   7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7275 for as_dir in $PATH
   7276 do
   7277   IFS=$as_save_IFS
   7278   test -z "$as_dir" && as_dir=.
   7279     for ac_exec_ext in '' $ac_executable_extensions; do
   7280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7281     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   7282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7283     break 2
   7284   fi
   7285 done
   7286   done
   7287 IFS=$as_save_IFS
   7288 
   7289 fi
   7290 fi
   7291 CXX=$ac_cv_prog_CXX
   7292 if test -n "$CXX"; then
   7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   7294 $as_echo "$CXX" >&6; }
   7295 else
   7296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7297 $as_echo "no" >&6; }
   7298 fi
   7299 
   7300 
   7301     test -n "$CXX" && break
   7302   done
   7303 fi
   7304 if test -z "$CXX"; then
   7305   ac_ct_CXX=$CXX
   7306   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   7307 do
   7308   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7309 set dummy $ac_prog; ac_word=$2
   7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7311 $as_echo_n "checking for $ac_word... " >&6; }
   7312 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   if test -n "$ac_ct_CXX"; then
   7316   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   7317 else
   7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7319 for as_dir in $PATH
   7320 do
   7321   IFS=$as_save_IFS
   7322   test -z "$as_dir" && as_dir=.
   7323     for ac_exec_ext in '' $ac_executable_extensions; do
   7324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7325     ac_cv_prog_ac_ct_CXX="$ac_prog"
   7326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7327     break 2
   7328   fi
   7329 done
   7330   done
   7331 IFS=$as_save_IFS
   7332 
   7333 fi
   7334 fi
   7335 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   7336 if test -n "$ac_ct_CXX"; then
   7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   7338 $as_echo "$ac_ct_CXX" >&6; }
   7339 else
   7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7341 $as_echo "no" >&6; }
   7342 fi
   7343 
   7344 
   7345   test -n "$ac_ct_CXX" && break
   7346 done
   7347 
   7348   if test "x$ac_ct_CXX" = x; then
   7349     CXX="g++"
   7350   else
   7351     case $cross_compiling:$ac_tool_warned in
   7352 yes:)
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7355 ac_tool_warned=yes ;;
   7356 esac
   7357     CXX=$ac_ct_CXX
   7358   fi
   7359 fi
   7360 
   7361   fi
   7362 fi
   7363 # Provide some information about the compiler.
   7364 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   7365 set X $ac_compile
   7366 ac_compiler=$2
   7367 for ac_option in --version -v -V -qversion; do
   7368   { { ac_try="$ac_compiler $ac_option >&5"
   7369 case "(($ac_try" in
   7370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7371   *) ac_try_echo=$ac_try;;
   7372 esac
   7373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7374 $as_echo "$ac_try_echo"; } >&5
   7375   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   7376   ac_status=$?
   7377   if test -s conftest.err; then
   7378     sed '10a\
   7379 ... rest of stderr output deleted ...
   7380          10q' conftest.err >conftest.er1
   7381     cat conftest.er1 >&5
   7382   fi
   7383   rm -f conftest.er1 conftest.err
   7384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7385   test $ac_status = 0; }
   7386 done
   7387 
   7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   7389 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   7390 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   7391   $as_echo_n "(cached) " >&6
   7392 else
   7393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7394 /* end confdefs.h.  */
   7395 
   7396 int
   7397 main ()
   7398 {
   7399 #ifndef __GNUC__
   7400        choke me
   7401 #endif
   7402 
   7403   ;
   7404   return 0;
   7405 }
   7406 _ACEOF
   7407 if ac_fn_cxx_try_compile "$LINENO"; then :
   7408   ac_compiler_gnu=yes
   7409 else
   7410   ac_compiler_gnu=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7413 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   7414 
   7415 fi
   7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   7417 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   7418 if test $ac_compiler_gnu = yes; then
   7419   GXX=yes
   7420 else
   7421   GXX=
   7422 fi
   7423 ac_test_CXXFLAGS=${CXXFLAGS+set}
   7424 ac_save_CXXFLAGS=$CXXFLAGS
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   7426 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   7427 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   7431    ac_cxx_werror_flag=yes
   7432    ac_cv_prog_cxx_g=no
   7433    CXXFLAGS="-g"
   7434    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 
   7437 int
   7438 main ()
   7439 {
   7440 
   7441   ;
   7442   return 0;
   7443 }
   7444 _ACEOF
   7445 if ac_fn_cxx_try_compile "$LINENO"; then :
   7446   ac_cv_prog_cxx_g=yes
   7447 else
   7448   CXXFLAGS=""
   7449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7450 /* end confdefs.h.  */
   7451 
   7452 int
   7453 main ()
   7454 {
   7455 
   7456   ;
   7457   return 0;
   7458 }
   7459 _ACEOF
   7460 if ac_fn_cxx_try_compile "$LINENO"; then :
   7461 
   7462 else
   7463   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   7464 	 CXXFLAGS="-g"
   7465 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 
   7468 int
   7469 main ()
   7470 {
   7471 
   7472   ;
   7473   return 0;
   7474 }
   7475 _ACEOF
   7476 if ac_fn_cxx_try_compile "$LINENO"; then :
   7477   ac_cv_prog_cxx_g=yes
   7478 fi
   7479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7480 fi
   7481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7482 fi
   7483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7484    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   7485 fi
   7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   7487 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   7488 if test "$ac_test_CXXFLAGS" = set; then
   7489   CXXFLAGS=$ac_save_CXXFLAGS
   7490 elif test $ac_cv_prog_cxx_g = yes; then
   7491   if test "$GXX" = yes; then
   7492     CXXFLAGS="-g -O2"
   7493   else
   7494     CXXFLAGS="-g"
   7495   fi
   7496 else
   7497   if test "$GXX" = yes; then
   7498     CXXFLAGS="-O2"
   7499   else
   7500     CXXFLAGS=
   7501   fi
   7502 fi
   7503 ac_ext=c
   7504 ac_cpp='$CPP $CPPFLAGS'
   7505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7508 
   7509 depcc="$CXX"  am_compiler_list=
   7510 
   7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7512 $as_echo_n "checking dependency style of $depcc... " >&6; }
   7513 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
   7514   $as_echo_n "(cached) " >&6
   7515 else
   7516   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7517   # We make a subdir and do the tests there.  Otherwise we can end up
   7518   # making bogus files that we don't know about and never remove.  For
   7519   # instance it was reported that on HP-UX the gcc test will end up
   7520   # making a dummy file named `D' -- because `-MD' means `put the output
   7521   # in D'.
   7522   mkdir conftest.dir
   7523   # Copy depcomp to subdir because otherwise we won't find it if we're
   7524   # using a relative directory.
   7525   cp "$am_depcomp" conftest.dir
   7526   cd conftest.dir
   7527   # We will build objects and dependencies in a subdirectory because
   7528   # it helps to detect inapplicable dependency modes.  For instance
   7529   # both Tru64's cc and ICC support -MD to output dependencies as a
   7530   # side effect of compilation, but ICC will put the dependencies in
   7531   # the current directory while Tru64 will put them in the object
   7532   # directory.
   7533   mkdir sub
   7534 
   7535   am_cv_CXX_dependencies_compiler_type=none
   7536   if test "$am_compiler_list" = ""; then
   7537      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7538   fi
   7539   am__universal=false
   7540   case " $depcc " in #(
   7541      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   7542      esac
   7543 
   7544   for depmode in $am_compiler_list; do
   7545     # Setup a source with many dependencies, because some compilers
   7546     # like to wrap large dependency lists on column 80 (with \), and
   7547     # we should not choose a depcomp mode which is confused by this.
   7548     #
   7549     # We need to recreate these files for each test, as the compiler may
   7550     # overwrite some of them when testing with obscure command lines.
   7551     # This happens at least with the AIX C compiler.
   7552     : > sub/conftest.c
   7553     for i in 1 2 3 4 5 6; do
   7554       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7555       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   7556       # Solaris 8's {/usr,}/bin/sh.
   7557       touch sub/conftst$i.h
   7558     done
   7559     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7560 
   7561     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   7562     # mode.  It turns out that the SunPro C++ compiler does not properly
   7563     # handle `-M -o', and we need to detect this.  Also, some Intel
   7564     # versions had trouble with output in subdirs
   7565     am__obj=sub/conftest.${OBJEXT-o}
   7566     am__minus_obj="-o $am__obj"
   7567     case $depmode in
   7568     gcc)
   7569       # This depmode causes a compiler race in universal mode.
   7570       test "$am__universal" = false || continue
   7571       ;;
   7572     nosideeffect)
   7573       # after this tag, mechanisms are not by side-effect, so they'll
   7574       # only be used when explicitly requested
   7575       if test "x$enable_dependency_tracking" = xyes; then
   7576 	continue
   7577       else
   7578 	break
   7579       fi
   7580       ;;
   7581     msvisualcpp | msvcmsys)
   7582       # This compiler won't grok `-c -o', but also, the minuso test has
   7583       # not run yet.  These depmodes are late enough in the game, and
   7584       # so weak that their functioning should not be impacted.
   7585       am__obj=conftest.${OBJEXT-o}
   7586       am__minus_obj=
   7587       ;;
   7588     none) break ;;
   7589     esac
   7590     if depmode=$depmode \
   7591        source=sub/conftest.c object=$am__obj \
   7592        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7593        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7594          >/dev/null 2>conftest.err &&
   7595        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7596        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7597        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7598        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7599       # icc doesn't choke on unknown options, it will just issue warnings
   7600       # or remarks (even with -Werror).  So we grep stderr for any message
   7601       # that says an option was ignored or not supported.
   7602       # When given -MP, icc 7.0 and 7.1 complain thusly:
   7603       #   icc: Command line warning: ignoring option '-M'; no argument required
   7604       # The diagnosis changed in icc 8.0:
   7605       #   icc: Command line remark: option '-MP' not supported
   7606       if (grep 'ignoring option' conftest.err ||
   7607           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7608         am_cv_CXX_dependencies_compiler_type=$depmode
   7609         break
   7610       fi
   7611     fi
   7612   done
   7613 
   7614   cd ..
   7615   rm -rf conftest.dir
   7616 else
   7617   am_cv_CXX_dependencies_compiler_type=none
   7618 fi
   7619 
   7620 fi
   7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   7622 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   7623 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   7624 
   7625  if
   7626   test "x$enable_dependency_tracking" != xno \
   7627   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   7628   am__fastdepCXX_TRUE=
   7629   am__fastdepCXX_FALSE='#'
   7630 else
   7631   am__fastdepCXX_TRUE='#'
   7632   am__fastdepCXX_FALSE=
   7633 fi
   7634 
   7635 
   7636 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   7637     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   7638     (test "X$CXX" != "Xg++"))) ; then
   7639   ac_ext=cpp
   7640 ac_cpp='$CXXCPP $CPPFLAGS'
   7641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   7645 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   7646 if test -z "$CXXCPP"; then
   7647   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650       # Double quotes because CXXCPP needs to be expanded
   7651     for CXXCPP in "$CXX -E" "/lib/cpp"
   7652     do
   7653       ac_preproc_ok=false
   7654 for ac_cxx_preproc_warn_flag in '' yes
   7655 do
   7656   # Use a header file that comes with gcc, so configuring glibc
   7657   # with a fresh cross-compiler works.
   7658   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7659   # <limits.h> exists even on freestanding compilers.
   7660   # On the NeXT, cc -E runs the code through the compiler's parser,
   7661   # not just through cpp. "Syntax error" is here to catch this case.
   7662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7663 /* end confdefs.h.  */
   7664 #ifdef __STDC__
   7665 # include <limits.h>
   7666 #else
   7667 # include <assert.h>
   7668 #endif
   7669 		     Syntax error
   7670 _ACEOF
   7671 if ac_fn_cxx_try_cpp "$LINENO"; then :
   7672 
   7673 else
   7674   # Broken: fails on valid input.
   7675 continue
   7676 fi
   7677 rm -f conftest.err conftest.$ac_ext
   7678 
   7679   # OK, works on sane cases.  Now check whether nonexistent headers
   7680   # can be detected and how.
   7681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7682 /* end confdefs.h.  */
   7683 #include <ac_nonexistent.h>
   7684 _ACEOF
   7685 if ac_fn_cxx_try_cpp "$LINENO"; then :
   7686   # Broken: success on invalid input.
   7687 continue
   7688 else
   7689   # Passes both tests.
   7690 ac_preproc_ok=:
   7691 break
   7692 fi
   7693 rm -f conftest.err conftest.$ac_ext
   7694 
   7695 done
   7696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7697 rm -f conftest.err conftest.$ac_ext
   7698 if $ac_preproc_ok; then :
   7699   break
   7700 fi
   7701 
   7702     done
   7703     ac_cv_prog_CXXCPP=$CXXCPP
   7704 
   7705 fi
   7706   CXXCPP=$ac_cv_prog_CXXCPP
   7707 else
   7708   ac_cv_prog_CXXCPP=$CXXCPP
   7709 fi
   7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   7711 $as_echo "$CXXCPP" >&6; }
   7712 ac_preproc_ok=false
   7713 for ac_cxx_preproc_warn_flag in '' yes
   7714 do
   7715   # Use a header file that comes with gcc, so configuring glibc
   7716   # with a fresh cross-compiler works.
   7717   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7718   # <limits.h> exists even on freestanding compilers.
   7719   # On the NeXT, cc -E runs the code through the compiler's parser,
   7720   # not just through cpp. "Syntax error" is here to catch this case.
   7721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7722 /* end confdefs.h.  */
   7723 #ifdef __STDC__
   7724 # include <limits.h>
   7725 #else
   7726 # include <assert.h>
   7727 #endif
   7728 		     Syntax error
   7729 _ACEOF
   7730 if ac_fn_cxx_try_cpp "$LINENO"; then :
   7731 
   7732 else
   7733   # Broken: fails on valid input.
   7734 continue
   7735 fi
   7736 rm -f conftest.err conftest.$ac_ext
   7737 
   7738   # OK, works on sane cases.  Now check whether nonexistent headers
   7739   # can be detected and how.
   7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7741 /* end confdefs.h.  */
   7742 #include <ac_nonexistent.h>
   7743 _ACEOF
   7744 if ac_fn_cxx_try_cpp "$LINENO"; then :
   7745   # Broken: success on invalid input.
   7746 continue
   7747 else
   7748   # Passes both tests.
   7749 ac_preproc_ok=:
   7750 break
   7751 fi
   7752 rm -f conftest.err conftest.$ac_ext
   7753 
   7754 done
   7755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7756 rm -f conftest.err conftest.$ac_ext
   7757 if $ac_preproc_ok; then :
   7758 
   7759 else
   7760   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7762 _lt_caught_CXX_error=yes; }
   7763 fi
   7764 
   7765 ac_ext=c
   7766 ac_cpp='$CPP $CPPFLAGS'
   7767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7770 
   7771 else
   7772   _lt_caught_CXX_error=yes
   7773 fi
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 # Set options
   7780 
   7781 
   7782 
   7783         enable_dlopen=no
   7784 
   7785 
   7786   enable_win32_dll=no
   7787 
   7788 
   7789             # Check whether --enable-shared was given.
   7790 if test "${enable_shared+set}" = set; then :
   7791   enableval=$enable_shared; p=${PACKAGE-default}
   7792     case $enableval in
   7793     yes) enable_shared=yes ;;
   7794     no) enable_shared=no ;;
   7795     *)
   7796       enable_shared=no
   7797       # Look at the argument we got.  We use all the common list separators.
   7798       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7799       for pkg in $enableval; do
   7800 	IFS="$lt_save_ifs"
   7801 	if test "X$pkg" = "X$p"; then
   7802 	  enable_shared=yes
   7803 	fi
   7804       done
   7805       IFS="$lt_save_ifs"
   7806       ;;
   7807     esac
   7808 else
   7809   enable_shared=yes
   7810 fi
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 # Check whether --with-pic was given.
   7823 if test "${with_pic+set}" = set; then :
   7824   withval=$with_pic; pic_mode="$withval"
   7825 else
   7826   pic_mode=default
   7827 fi
   7828 
   7829 
   7830 test -z "$pic_mode" && pic_mode=default
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838   # Check whether --enable-fast-install was given.
   7839 if test "${enable_fast_install+set}" = set; then :
   7840   enableval=$enable_fast_install; p=${PACKAGE-default}
   7841     case $enableval in
   7842     yes) enable_fast_install=yes ;;
   7843     no) enable_fast_install=no ;;
   7844     *)
   7845       enable_fast_install=no
   7846       # Look at the argument we got.  We use all the common list separators.
   7847       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7848       for pkg in $enableval; do
   7849 	IFS="$lt_save_ifs"
   7850 	if test "X$pkg" = "X$p"; then
   7851 	  enable_fast_install=yes
   7852 	fi
   7853       done
   7854       IFS="$lt_save_ifs"
   7855       ;;
   7856     esac
   7857 else
   7858   enable_fast_install=yes
   7859 fi
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 # This can be used to rebuild libtool when needed
   7872 LIBTOOL_DEPS="$ltmain"
   7873 
   7874 # Always use our own libtool.
   7875 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 test -z "$LN_S" && LN_S="ln -s"
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 if test -n "${ZSH_VERSION+set}" ; then
   7917    setopt NO_GLOB_SUBST
   7918 fi
   7919 
   7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7921 $as_echo_n "checking for objdir... " >&6; }
   7922 if test "${lt_cv_objdir+set}" = set; then :
   7923   $as_echo_n "(cached) " >&6
   7924 else
   7925   rm -f .libs 2>/dev/null
   7926 mkdir .libs 2>/dev/null
   7927 if test -d .libs; then
   7928   lt_cv_objdir=.libs
   7929 else
   7930   # MS-DOS does not allow filenames that begin with a dot.
   7931   lt_cv_objdir=_libs
   7932 fi
   7933 rmdir .libs 2>/dev/null
   7934 fi
   7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7936 $as_echo "$lt_cv_objdir" >&6; }
   7937 objdir=$lt_cv_objdir
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 cat >>confdefs.h <<_ACEOF
   7944 #define LT_OBJDIR "$lt_cv_objdir/"
   7945 _ACEOF
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 case $host_os in
   7964 aix3*)
   7965   # AIX sometimes has problems with the GCC collect2 program.  For some
   7966   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7967   # vanish in a puff of smoke.
   7968   if test "X${COLLECT_NAMES+set}" != Xset; then
   7969     COLLECT_NAMES=
   7970     export COLLECT_NAMES
   7971   fi
   7972   ;;
   7973 esac
   7974 
   7975 # Sed substitution that helps us do robust quoting.  It backslashifies
   7976 # metacharacters that are still active within double-quoted strings.
   7977 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7978 
   7979 # Same as above, but do not quote variable references.
   7980 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7981 
   7982 # Sed substitution to delay expansion of an escaped shell variable in a
   7983 # double_quote_subst'ed string.
   7984 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7985 
   7986 # Sed substitution to delay expansion of an escaped single quote.
   7987 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7988 
   7989 # Sed substitution to avoid accidental globbing in evaled expressions
   7990 no_glob_subst='s/\*/\\\*/g'
   7991 
   7992 # Global variables:
   7993 ofile=libtool
   7994 can_build_shared=yes
   7995 
   7996 # All known linkers require a `.a' archive for static linking (except MSVC,
   7997 # which needs '.lib').
   7998 libext=a
   7999 
   8000 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8001 
   8002 old_CC="$CC"
   8003 old_CFLAGS="$CFLAGS"
   8004 
   8005 # Set sane defaults for various variables
   8006 test -z "$CC" && CC=cc
   8007 test -z "$LTCC" && LTCC=$CC
   8008 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8009 test -z "$LD" && LD=ld
   8010 test -z "$ac_objext" && ac_objext=o
   8011 
   8012 for cc_temp in $compiler""; do
   8013   case $cc_temp in
   8014     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8015     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8016     \-*) ;;
   8017     *) break;;
   8018   esac
   8019 done
   8020 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8021 
   8022 
   8023 # Only perform the check for file, if the check method requires it
   8024 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8025 case $deplibs_check_method in
   8026 file_magic*)
   8027   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8029 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   8031   $as_echo_n "(cached) " >&6
   8032 else
   8033   case $MAGIC_CMD in
   8034 [\\/*] |  ?:[\\/]*)
   8035   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8036   ;;
   8037 *)
   8038   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8039   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8040   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8041   for ac_dir in $ac_dummy; do
   8042     IFS="$lt_save_ifs"
   8043     test -z "$ac_dir" && ac_dir=.
   8044     if test -f $ac_dir/${ac_tool_prefix}file; then
   8045       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8046       if test -n "$file_magic_test_file"; then
   8047 	case $deplibs_check_method in
   8048 	"file_magic "*)
   8049 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8050 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8051 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8052 	    $EGREP "$file_magic_regex" > /dev/null; then
   8053 	    :
   8054 	  else
   8055 	    cat <<_LT_EOF 1>&2
   8056 
   8057 *** Warning: the command libtool uses to detect shared libraries,
   8058 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8059 *** The result is that libtool may fail to recognize shared libraries
   8060 *** as such.  This will affect the creation of libtool libraries that
   8061 *** depend on shared libraries, but programs linked with such libtool
   8062 *** libraries will work regardless of this problem.  Nevertheless, you
   8063 *** may want to report the problem to your system manager and/or to
   8064 *** bug-libtool (at] gnu.org
   8065 
   8066 _LT_EOF
   8067 	  fi ;;
   8068 	esac
   8069       fi
   8070       break
   8071     fi
   8072   done
   8073   IFS="$lt_save_ifs"
   8074   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8075   ;;
   8076 esac
   8077 fi
   8078 
   8079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8080 if test -n "$MAGIC_CMD"; then
   8081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8082 $as_echo "$MAGIC_CMD" >&6; }
   8083 else
   8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8085 $as_echo "no" >&6; }
   8086 fi
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8093   if test -n "$ac_tool_prefix"; then
   8094     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8095 $as_echo_n "checking for file... " >&6; }
   8096 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   8097   $as_echo_n "(cached) " >&6
   8098 else
   8099   case $MAGIC_CMD in
   8100 [\\/*] |  ?:[\\/]*)
   8101   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8102   ;;
   8103 *)
   8104   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8105   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8106   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8107   for ac_dir in $ac_dummy; do
   8108     IFS="$lt_save_ifs"
   8109     test -z "$ac_dir" && ac_dir=.
   8110     if test -f $ac_dir/file; then
   8111       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8112       if test -n "$file_magic_test_file"; then
   8113 	case $deplibs_check_method in
   8114 	"file_magic "*)
   8115 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8116 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8117 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8118 	    $EGREP "$file_magic_regex" > /dev/null; then
   8119 	    :
   8120 	  else
   8121 	    cat <<_LT_EOF 1>&2
   8122 
   8123 *** Warning: the command libtool uses to detect shared libraries,
   8124 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8125 *** The result is that libtool may fail to recognize shared libraries
   8126 *** as such.  This will affect the creation of libtool libraries that
   8127 *** depend on shared libraries, but programs linked with such libtool
   8128 *** libraries will work regardless of this problem.  Nevertheless, you
   8129 *** may want to report the problem to your system manager and/or to
   8130 *** bug-libtool (at] gnu.org
   8131 
   8132 _LT_EOF
   8133 	  fi ;;
   8134 	esac
   8135       fi
   8136       break
   8137     fi
   8138   done
   8139   IFS="$lt_save_ifs"
   8140   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8141   ;;
   8142 esac
   8143 fi
   8144 
   8145 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8146 if test -n "$MAGIC_CMD"; then
   8147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8148 $as_echo "$MAGIC_CMD" >&6; }
   8149 else
   8150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8151 $as_echo "no" >&6; }
   8152 fi
   8153 
   8154 
   8155   else
   8156     MAGIC_CMD=:
   8157   fi
   8158 fi
   8159 
   8160   fi
   8161   ;;
   8162 esac
   8163 
   8164 # Use C for the default configuration in the libtool script
   8165 
   8166 lt_save_CC="$CC"
   8167 ac_ext=c
   8168 ac_cpp='$CPP $CPPFLAGS'
   8169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8172 
   8173 
   8174 # Source file extension for C test sources.
   8175 ac_ext=c
   8176 
   8177 # Object file extension for compiled C test sources.
   8178 objext=o
   8179 objext=$objext
   8180 
   8181 # Code to be used in simple compile tests
   8182 lt_simple_compile_test_code="int some_variable = 0;"
   8183 
   8184 # Code to be used in simple link tests
   8185 lt_simple_link_test_code='int main(){return(0);}'
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 # If no C compiler was specified, use CC.
   8194 LTCC=${LTCC-"$CC"}
   8195 
   8196 # If no C compiler flags were specified, use CFLAGS.
   8197 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8198 
   8199 # Allow CC to be a program name with arguments.
   8200 compiler=$CC
   8201 
   8202 # Save the default compiler, since it gets overwritten when the other
   8203 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8204 compiler_DEFAULT=$CC
   8205 
   8206 # save warnings/boilerplate of simple test code
   8207 ac_outfile=conftest.$ac_objext
   8208 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8209 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8210 _lt_compiler_boilerplate=`cat conftest.err`
   8211 $RM conftest*
   8212 
   8213 ac_outfile=conftest.$ac_objext
   8214 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8215 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8216 _lt_linker_boilerplate=`cat conftest.err`
   8217 $RM -r conftest*
   8218 
   8219 
   8220 ## CAVEAT EMPTOR:
   8221 ## There is no encapsulation within the following macros, do not change
   8222 ## the running order or otherwise move them around unless you know exactly
   8223 ## what you are doing...
   8224 if test -n "$compiler"; then
   8225 
   8226 lt_prog_compiler_no_builtin_flag=
   8227 
   8228 if test "$GCC" = yes; then
   8229   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8230 
   8231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8232 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8233 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   8234   $as_echo_n "(cached) " >&6
   8235 else
   8236   lt_cv_prog_compiler_rtti_exceptions=no
   8237    ac_outfile=conftest.$ac_objext
   8238    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8239    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8240    # Insert the option either (1) after the last *FLAGS variable, or
   8241    # (2) before a word containing "conftest.", or (3) at the end.
   8242    # Note that $ac_compile itself does not contain backslashes and begins
   8243    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8244    # The option is referenced via a variable to avoid confusing sed.
   8245    lt_compile=`echo "$ac_compile" | $SED \
   8246    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8247    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8248    -e 's:$: $lt_compiler_flag:'`
   8249    (eval echo "\"\$as_me:8249: $lt_compile\"" >&5)
   8250    (eval "$lt_compile" 2>conftest.err)
   8251    ac_status=$?
   8252    cat conftest.err >&5
   8253    echo "$as_me:8253: \$? = $ac_status" >&5
   8254    if (exit $ac_status) && test -s "$ac_outfile"; then
   8255      # The compiler can only warn and ignore the option if not recognized
   8256      # So say no if there are warnings other than the usual output.
   8257      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8258      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8259      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8260        lt_cv_prog_compiler_rtti_exceptions=yes
   8261      fi
   8262    fi
   8263    $RM conftest*
   8264 
   8265 fi
   8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8267 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8268 
   8269 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8270     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8271 else
   8272     :
   8273 fi
   8274 
   8275 fi
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282   lt_prog_compiler_wl=
   8283 lt_prog_compiler_pic=
   8284 lt_prog_compiler_static=
   8285 
   8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8287 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8288 
   8289   if test "$GCC" = yes; then
   8290     lt_prog_compiler_wl='-Wl,'
   8291     lt_prog_compiler_static='-static'
   8292 
   8293     case $host_os in
   8294       aix*)
   8295       # All AIX code is PIC.
   8296       if test "$host_cpu" = ia64; then
   8297 	# AIX 5 now supports IA64 processor
   8298 	lt_prog_compiler_static='-Bstatic'
   8299       fi
   8300       ;;
   8301 
   8302     amigaos*)
   8303       case $host_cpu in
   8304       powerpc)
   8305             # see comment about AmigaOS4 .so support
   8306             lt_prog_compiler_pic='-fPIC'
   8307         ;;
   8308       m68k)
   8309             # FIXME: we need at least 68020 code to build shared libraries, but
   8310             # adding the `-m68020' flag to GCC prevents building anything better,
   8311             # like `-m68040'.
   8312             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8313         ;;
   8314       esac
   8315       ;;
   8316 
   8317     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8318       # PIC is the default for these OSes.
   8319       ;;
   8320 
   8321     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8322       # This hack is so that the source file can tell whether it is being
   8323       # built for inclusion in a dll (and should export symbols for example).
   8324       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8325       # (--disable-auto-import) libraries
   8326       lt_prog_compiler_pic='-DDLL_EXPORT'
   8327       ;;
   8328 
   8329     darwin* | rhapsody*)
   8330       # PIC is the default on this platform
   8331       # Common symbols not allowed in MH_DYLIB files
   8332       lt_prog_compiler_pic='-fno-common'
   8333       ;;
   8334 
   8335     hpux*)
   8336       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8337       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8338       # sets the default TLS model and affects inlining.
   8339       case $host_cpu in
   8340       hppa*64*)
   8341 	# +Z the default
   8342 	;;
   8343       *)
   8344 	lt_prog_compiler_pic='-fPIC'
   8345 	;;
   8346       esac
   8347       ;;
   8348 
   8349     interix[3-9]*)
   8350       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8351       # Instead, we relocate shared libraries at runtime.
   8352       ;;
   8353 
   8354     msdosdjgpp*)
   8355       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8356       # on systems that don't support them.
   8357       lt_prog_compiler_can_build_shared=no
   8358       enable_shared=no
   8359       ;;
   8360 
   8361     *nto* | *qnx*)
   8362       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8363       # it will coredump.
   8364       lt_prog_compiler_pic='-fPIC -shared'
   8365       ;;
   8366 
   8367     sysv4*MP*)
   8368       if test -d /usr/nec; then
   8369 	lt_prog_compiler_pic=-Kconform_pic
   8370       fi
   8371       ;;
   8372 
   8373     *)
   8374       lt_prog_compiler_pic='-fPIC'
   8375       ;;
   8376     esac
   8377   else
   8378     # PORTME Check for flag to pass linker flags through the system compiler.
   8379     case $host_os in
   8380     aix*)
   8381       lt_prog_compiler_wl='-Wl,'
   8382       if test "$host_cpu" = ia64; then
   8383 	# AIX 5 now supports IA64 processor
   8384 	lt_prog_compiler_static='-Bstatic'
   8385       else
   8386 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8387       fi
   8388       ;;
   8389 
   8390     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8391       # This hack is so that the source file can tell whether it is being
   8392       # built for inclusion in a dll (and should export symbols for example).
   8393       lt_prog_compiler_pic='-DDLL_EXPORT'
   8394       ;;
   8395 
   8396     hpux9* | hpux10* | hpux11*)
   8397       lt_prog_compiler_wl='-Wl,'
   8398       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8399       # not for PA HP-UX.
   8400       case $host_cpu in
   8401       hppa*64*|ia64*)
   8402 	# +Z the default
   8403 	;;
   8404       *)
   8405 	lt_prog_compiler_pic='+Z'
   8406 	;;
   8407       esac
   8408       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8409       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8410       ;;
   8411 
   8412     irix5* | irix6* | nonstopux*)
   8413       lt_prog_compiler_wl='-Wl,'
   8414       # PIC (with -KPIC) is the default.
   8415       lt_prog_compiler_static='-non_shared'
   8416       ;;
   8417 
   8418     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8419       case $cc_basename in
   8420       # old Intel for x86_64 which still supported -KPIC.
   8421       ecc*)
   8422 	lt_prog_compiler_wl='-Wl,'
   8423 	lt_prog_compiler_pic='-KPIC'
   8424 	lt_prog_compiler_static='-static'
   8425         ;;
   8426       # icc used to be incompatible with GCC.
   8427       # ICC 10 doesn't accept -KPIC any more.
   8428       icc* | ifort*)
   8429 	lt_prog_compiler_wl='-Wl,'
   8430 	lt_prog_compiler_pic='-fPIC'
   8431 	lt_prog_compiler_static='-static'
   8432         ;;
   8433       # Lahey Fortran 8.1.
   8434       lf95*)
   8435 	lt_prog_compiler_wl='-Wl,'
   8436 	lt_prog_compiler_pic='--shared'
   8437 	lt_prog_compiler_static='--static'
   8438 	;;
   8439       pgcc* | pgf77* | pgf90* | pgf95*)
   8440         # Portland Group compilers (*not* the Pentium gcc compiler,
   8441 	# which looks to be a dead project)
   8442 	lt_prog_compiler_wl='-Wl,'
   8443 	lt_prog_compiler_pic='-fpic'
   8444 	lt_prog_compiler_static='-Bstatic'
   8445         ;;
   8446       ccc*)
   8447         lt_prog_compiler_wl='-Wl,'
   8448         # All Alpha code is PIC.
   8449         lt_prog_compiler_static='-non_shared'
   8450         ;;
   8451       xl*)
   8452 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8453 	lt_prog_compiler_wl='-Wl,'
   8454 	lt_prog_compiler_pic='-qpic'
   8455 	lt_prog_compiler_static='-qstaticlink'
   8456 	;;
   8457       *)
   8458 	case `$CC -V 2>&1 | sed 5q` in
   8459 	*Sun\ C*)
   8460 	  # Sun C 5.9
   8461 	  lt_prog_compiler_pic='-KPIC'
   8462 	  lt_prog_compiler_static='-Bstatic'
   8463 	  lt_prog_compiler_wl='-Wl,'
   8464 	  ;;
   8465 	*Sun\ F*)
   8466 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8467 	  lt_prog_compiler_pic='-KPIC'
   8468 	  lt_prog_compiler_static='-Bstatic'
   8469 	  lt_prog_compiler_wl=''
   8470 	  ;;
   8471 	esac
   8472 	;;
   8473       esac
   8474       ;;
   8475 
   8476     newsos6)
   8477       lt_prog_compiler_pic='-KPIC'
   8478       lt_prog_compiler_static='-Bstatic'
   8479       ;;
   8480 
   8481     *nto* | *qnx*)
   8482       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8483       # it will coredump.
   8484       lt_prog_compiler_pic='-fPIC -shared'
   8485       ;;
   8486 
   8487     osf3* | osf4* | osf5*)
   8488       lt_prog_compiler_wl='-Wl,'
   8489       # All OSF/1 code is PIC.
   8490       lt_prog_compiler_static='-non_shared'
   8491       ;;
   8492 
   8493     rdos*)
   8494       lt_prog_compiler_static='-non_shared'
   8495       ;;
   8496 
   8497     solaris*)
   8498       lt_prog_compiler_pic='-KPIC'
   8499       lt_prog_compiler_static='-Bstatic'
   8500       case $cc_basename in
   8501       f77* | f90* | f95*)
   8502 	lt_prog_compiler_wl='-Qoption ld ';;
   8503       *)
   8504 	lt_prog_compiler_wl='-Wl,';;
   8505       esac
   8506       ;;
   8507 
   8508     sunos4*)
   8509       lt_prog_compiler_wl='-Qoption ld '
   8510       lt_prog_compiler_pic='-PIC'
   8511       lt_prog_compiler_static='-Bstatic'
   8512       ;;
   8513 
   8514     sysv4 | sysv4.2uw2* | sysv4.3*)
   8515       lt_prog_compiler_wl='-Wl,'
   8516       lt_prog_compiler_pic='-KPIC'
   8517       lt_prog_compiler_static='-Bstatic'
   8518       ;;
   8519 
   8520     sysv4*MP*)
   8521       if test -d /usr/nec ;then
   8522 	lt_prog_compiler_pic='-Kconform_pic'
   8523 	lt_prog_compiler_static='-Bstatic'
   8524       fi
   8525       ;;
   8526 
   8527     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8528       lt_prog_compiler_wl='-Wl,'
   8529       lt_prog_compiler_pic='-KPIC'
   8530       lt_prog_compiler_static='-Bstatic'
   8531       ;;
   8532 
   8533     unicos*)
   8534       lt_prog_compiler_wl='-Wl,'
   8535       lt_prog_compiler_can_build_shared=no
   8536       ;;
   8537 
   8538     uts4*)
   8539       lt_prog_compiler_pic='-pic'
   8540       lt_prog_compiler_static='-Bstatic'
   8541       ;;
   8542 
   8543     *)
   8544       lt_prog_compiler_can_build_shared=no
   8545       ;;
   8546     esac
   8547   fi
   8548 
   8549 case $host_os in
   8550   # For platforms which do not support PIC, -DPIC is meaningless:
   8551   *djgpp*)
   8552     lt_prog_compiler_pic=
   8553     ;;
   8554   *)
   8555     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8556     ;;
   8557 esac
   8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8559 $as_echo "$lt_prog_compiler_pic" >&6; }
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 #
   8567 # Check to make sure the PIC flag actually works.
   8568 #
   8569 if test -n "$lt_prog_compiler_pic"; then
   8570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8571 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8572 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8573   $as_echo_n "(cached) " >&6
   8574 else
   8575   lt_cv_prog_compiler_pic_works=no
   8576    ac_outfile=conftest.$ac_objext
   8577    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8578    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8579    # Insert the option either (1) after the last *FLAGS variable, or
   8580    # (2) before a word containing "conftest.", or (3) at the end.
   8581    # Note that $ac_compile itself does not contain backslashes and begins
   8582    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8583    # The option is referenced via a variable to avoid confusing sed.
   8584    lt_compile=`echo "$ac_compile" | $SED \
   8585    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8586    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8587    -e 's:$: $lt_compiler_flag:'`
   8588    (eval echo "\"\$as_me:8588: $lt_compile\"" >&5)
   8589    (eval "$lt_compile" 2>conftest.err)
   8590    ac_status=$?
   8591    cat conftest.err >&5
   8592    echo "$as_me:8592: \$? = $ac_status" >&5
   8593    if (exit $ac_status) && test -s "$ac_outfile"; then
   8594      # The compiler can only warn and ignore the option if not recognized
   8595      # So say no if there are warnings other than the usual output.
   8596      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8597      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8598      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8599        lt_cv_prog_compiler_pic_works=yes
   8600      fi
   8601    fi
   8602    $RM conftest*
   8603 
   8604 fi
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8606 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8607 
   8608 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8609     case $lt_prog_compiler_pic in
   8610      "" | " "*) ;;
   8611      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8612      esac
   8613 else
   8614     lt_prog_compiler_pic=
   8615      lt_prog_compiler_can_build_shared=no
   8616 fi
   8617 
   8618 fi
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 #
   8626 # Check to make sure the static flag actually works.
   8627 #
   8628 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8630 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8631 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8632   $as_echo_n "(cached) " >&6
   8633 else
   8634   lt_cv_prog_compiler_static_works=no
   8635    save_LDFLAGS="$LDFLAGS"
   8636    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8637    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8638    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8639      # The linker can only warn and ignore the option if not recognized
   8640      # So say no if there are warnings
   8641      if test -s conftest.err; then
   8642        # Append any errors to the config.log.
   8643        cat conftest.err 1>&5
   8644        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8645        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8646        if diff conftest.exp conftest.er2 >/dev/null; then
   8647          lt_cv_prog_compiler_static_works=yes
   8648        fi
   8649      else
   8650        lt_cv_prog_compiler_static_works=yes
   8651      fi
   8652    fi
   8653    $RM -r conftest*
   8654    LDFLAGS="$save_LDFLAGS"
   8655 
   8656 fi
   8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8658 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8659 
   8660 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8661     :
   8662 else
   8663     lt_prog_compiler_static=
   8664 fi
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8674 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8675   $as_echo_n "(cached) " >&6
   8676 else
   8677   lt_cv_prog_compiler_c_o=no
   8678    $RM -r conftest 2>/dev/null
   8679    mkdir conftest
   8680    cd conftest
   8681    mkdir out
   8682    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8683 
   8684    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8685    # Insert the option either (1) after the last *FLAGS variable, or
   8686    # (2) before a word containing "conftest.", or (3) at the end.
   8687    # Note that $ac_compile itself does not contain backslashes and begins
   8688    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8689    lt_compile=`echo "$ac_compile" | $SED \
   8690    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8691    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8692    -e 's:$: $lt_compiler_flag:'`
   8693    (eval echo "\"\$as_me:8693: $lt_compile\"" >&5)
   8694    (eval "$lt_compile" 2>out/conftest.err)
   8695    ac_status=$?
   8696    cat out/conftest.err >&5
   8697    echo "$as_me:8697: \$? = $ac_status" >&5
   8698    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8699    then
   8700      # The compiler can only warn and ignore the option if not recognized
   8701      # So say no if there are warnings
   8702      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8703      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8704      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8705        lt_cv_prog_compiler_c_o=yes
   8706      fi
   8707    fi
   8708    chmod u+w . 2>&5
   8709    $RM conftest*
   8710    # SGI C++ compiler will create directory out/ii_files/ for
   8711    # template instantiation
   8712    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8713    $RM out/* && rmdir out
   8714    cd ..
   8715    $RM -r conftest
   8716    $RM conftest*
   8717 
   8718 fi
   8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8720 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8728 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8729 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   lt_cv_prog_compiler_c_o=no
   8733    $RM -r conftest 2>/dev/null
   8734    mkdir conftest
   8735    cd conftest
   8736    mkdir out
   8737    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8738 
   8739    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8740    # Insert the option either (1) after the last *FLAGS variable, or
   8741    # (2) before a word containing "conftest.", or (3) at the end.
   8742    # Note that $ac_compile itself does not contain backslashes and begins
   8743    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8744    lt_compile=`echo "$ac_compile" | $SED \
   8745    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8746    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8747    -e 's:$: $lt_compiler_flag:'`
   8748    (eval echo "\"\$as_me:8748: $lt_compile\"" >&5)
   8749    (eval "$lt_compile" 2>out/conftest.err)
   8750    ac_status=$?
   8751    cat out/conftest.err >&5
   8752    echo "$as_me:8752: \$? = $ac_status" >&5
   8753    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8754    then
   8755      # The compiler can only warn and ignore the option if not recognized
   8756      # So say no if there are warnings
   8757      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8758      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8759      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8760        lt_cv_prog_compiler_c_o=yes
   8761      fi
   8762    fi
   8763    chmod u+w . 2>&5
   8764    $RM conftest*
   8765    # SGI C++ compiler will create directory out/ii_files/ for
   8766    # template instantiation
   8767    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8768    $RM out/* && rmdir out
   8769    cd ..
   8770    $RM -r conftest
   8771    $RM conftest*
   8772 
   8773 fi
   8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8775 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8776 
   8777 
   8778 
   8779 
   8780 hard_links="nottested"
   8781 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8782   # do not overwrite the value of need_locks provided by the user
   8783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8784 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8785   hard_links=yes
   8786   $RM conftest*
   8787   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8788   touch conftest.a
   8789   ln conftest.a conftest.b 2>&5 || hard_links=no
   8790   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8792 $as_echo "$hard_links" >&6; }
   8793   if test "$hard_links" = no; then
   8794     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8795 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8796     need_locks=warn
   8797   fi
   8798 else
   8799   need_locks=no
   8800 fi
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8808 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8809 
   8810   runpath_var=
   8811   allow_undefined_flag=
   8812   always_export_symbols=no
   8813   archive_cmds=
   8814   archive_expsym_cmds=
   8815   compiler_needs_object=no
   8816   enable_shared_with_static_runtimes=no
   8817   export_dynamic_flag_spec=
   8818   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8819   hardcode_automatic=no
   8820   hardcode_direct=no
   8821   hardcode_direct_absolute=no
   8822   hardcode_libdir_flag_spec=
   8823   hardcode_libdir_flag_spec_ld=
   8824   hardcode_libdir_separator=
   8825   hardcode_minus_L=no
   8826   hardcode_shlibpath_var=unsupported
   8827   inherit_rpath=no
   8828   link_all_deplibs=unknown
   8829   module_cmds=
   8830   module_expsym_cmds=
   8831   old_archive_from_new_cmds=
   8832   old_archive_from_expsyms_cmds=
   8833   thread_safe_flag_spec=
   8834   whole_archive_flag_spec=
   8835   # include_expsyms should be a list of space-separated symbols to be *always*
   8836   # included in the symbol list
   8837   include_expsyms=
   8838   # exclude_expsyms can be an extended regexp of symbols to exclude
   8839   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8840   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8841   # as well as any symbol that contains `d'.
   8842   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8843   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8844   # platforms (ab)use it in PIC code, but their linkers get confused if
   8845   # the symbol is explicitly referenced.  Since portable code cannot
   8846   # rely on this symbol name, it's probably fine to never include it in
   8847   # preloaded symbol tables.
   8848   # Exclude shared library initialization/finalization symbols.
   8849   extract_expsyms_cmds=
   8850 
   8851   case $host_os in
   8852   cygwin* | mingw* | pw32* | cegcc*)
   8853     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8854     # When not using gcc, we currently assume that we are using
   8855     # Microsoft Visual C++.
   8856     if test "$GCC" != yes; then
   8857       with_gnu_ld=no
   8858     fi
   8859     ;;
   8860   interix*)
   8861     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8862     with_gnu_ld=yes
   8863     ;;
   8864   openbsd*)
   8865     with_gnu_ld=no
   8866     ;;
   8867   linux* | k*bsd*-gnu)
   8868     link_all_deplibs=no
   8869     ;;
   8870   esac
   8871 
   8872   ld_shlibs=yes
   8873   if test "$with_gnu_ld" = yes; then
   8874     # If archive_cmds runs LD, not CC, wlarc should be empty
   8875     wlarc='${wl}'
   8876 
   8877     # Set some defaults for GNU ld with shared library support. These
   8878     # are reset later if shared libraries are not supported. Putting them
   8879     # here allows them to be overridden if necessary.
   8880     runpath_var=LD_RUN_PATH
   8881     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8882     export_dynamic_flag_spec='${wl}--export-dynamic'
   8883     # ancient GNU ld didn't support --whole-archive et. al.
   8884     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8885       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8886     else
   8887       whole_archive_flag_spec=
   8888     fi
   8889     supports_anon_versioning=no
   8890     case `$LD -v 2>&1` in
   8891       *GNU\ gold*) supports_anon_versioning=yes ;;
   8892       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8893       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8894       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8895       *\ 2.11.*) ;; # other 2.11 versions
   8896       *) supports_anon_versioning=yes ;;
   8897     esac
   8898 
   8899     # See if GNU ld supports shared libraries.
   8900     case $host_os in
   8901     aix[3-9]*)
   8902       # On AIX/PPC, the GNU linker is very broken
   8903       if test "$host_cpu" != ia64; then
   8904 	ld_shlibs=no
   8905 	cat <<_LT_EOF 1>&2
   8906 
   8907 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8908 *** to be unable to reliably create shared libraries on AIX.
   8909 *** Therefore, libtool is disabling shared libraries support.  If you
   8910 *** really care for shared libraries, you may want to modify your PATH
   8911 *** so that a non-GNU linker is found, and then restart.
   8912 
   8913 _LT_EOF
   8914       fi
   8915       ;;
   8916 
   8917     amigaos*)
   8918       case $host_cpu in
   8919       powerpc)
   8920             # see comment about AmigaOS4 .so support
   8921             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8922             archive_expsym_cmds=''
   8923         ;;
   8924       m68k)
   8925             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)'
   8926             hardcode_libdir_flag_spec='-L$libdir'
   8927             hardcode_minus_L=yes
   8928         ;;
   8929       esac
   8930       ;;
   8931 
   8932     beos*)
   8933       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8934 	allow_undefined_flag=unsupported
   8935 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8936 	# support --undefined.  This deserves some investigation.  FIXME
   8937 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8938       else
   8939 	ld_shlibs=no
   8940       fi
   8941       ;;
   8942 
   8943     cygwin* | mingw* | pw32* | cegcc*)
   8944       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8945       # as there is no search path for DLLs.
   8946       hardcode_libdir_flag_spec='-L$libdir'
   8947       allow_undefined_flag=unsupported
   8948       always_export_symbols=no
   8949       enable_shared_with_static_runtimes=yes
   8950       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8951 
   8952       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8953         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8954 	# If the export-symbols file already is a .def file (1st line
   8955 	# is EXPORTS), use it as is; otherwise, prepend...
   8956 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8957 	  cp $export_symbols $output_objdir/$soname.def;
   8958 	else
   8959 	  echo EXPORTS > $output_objdir/$soname.def;
   8960 	  cat $export_symbols >> $output_objdir/$soname.def;
   8961 	fi~
   8962 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8963       else
   8964 	ld_shlibs=no
   8965       fi
   8966       ;;
   8967 
   8968     interix[3-9]*)
   8969       hardcode_direct=no
   8970       hardcode_shlibpath_var=no
   8971       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8972       export_dynamic_flag_spec='${wl}-E'
   8973       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8974       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8975       # default) and relocated if they conflict, which is a slow very memory
   8976       # consuming and fragmenting process.  To avoid this, we pick a random,
   8977       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8978       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8979       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8980       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'
   8981       ;;
   8982 
   8983     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8984       tmp_diet=no
   8985       if test "$host_os" = linux-dietlibc; then
   8986 	case $cc_basename in
   8987 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8988 	esac
   8989       fi
   8990       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8991 	 && test "$tmp_diet" = no
   8992       then
   8993 	tmp_addflag=
   8994 	tmp_sharedflag='-shared'
   8995 	case $cc_basename,$host_cpu in
   8996         pgcc*)				# Portland Group C compiler
   8997 	  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'
   8998 	  tmp_addflag=' $pic_flag'
   8999 	  ;;
   9000 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9001 	  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'
   9002 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9003 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9004 	  tmp_addflag=' -i_dynamic' ;;
   9005 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9006 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9007 	ifc* | ifort*)			# Intel Fortran compiler
   9008 	  tmp_addflag=' -nofor_main' ;;
   9009 	lf95*)				# Lahey Fortran 8.1
   9010 	  whole_archive_flag_spec=
   9011 	  tmp_sharedflag='--shared' ;;
   9012 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9013 	  tmp_sharedflag='-qmkshrobj'
   9014 	  tmp_addflag= ;;
   9015 	esac
   9016 	case `$CC -V 2>&1 | sed 5q` in
   9017 	*Sun\ C*)			# Sun C 5.9
   9018 	  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'
   9019 	  compiler_needs_object=yes
   9020 	  tmp_sharedflag='-G' ;;
   9021 	*Sun\ F*)			# Sun Fortran 8.3
   9022 	  tmp_sharedflag='-G' ;;
   9023 	esac
   9024 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9025 
   9026         if test "x$supports_anon_versioning" = xyes; then
   9027           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9028 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9029 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9030 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9031         fi
   9032 
   9033 	case $cc_basename in
   9034 	xlf*)
   9035 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9036 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9037 	  hardcode_libdir_flag_spec=
   9038 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9039 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9040 	  if test "x$supports_anon_versioning" = xyes; then
   9041 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9042 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9043 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9044 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9045 	  fi
   9046 	  ;;
   9047 	esac
   9048       else
   9049         ld_shlibs=no
   9050       fi
   9051       ;;
   9052 
   9053     netbsd* | netbsdelf*-gnu)
   9054       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9055 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9056 	wlarc=
   9057       else
   9058 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9059 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9060       fi
   9061       ;;
   9062 
   9063     solaris*)
   9064       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9065 	ld_shlibs=no
   9066 	cat <<_LT_EOF 1>&2
   9067 
   9068 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9069 *** create shared libraries on Solaris systems.  Therefore, libtool
   9070 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9071 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9072 *** your PATH or compiler configuration so that the native linker is
   9073 *** used, and then restart.
   9074 
   9075 _LT_EOF
   9076       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9077 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9078 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9079       else
   9080 	ld_shlibs=no
   9081       fi
   9082       ;;
   9083 
   9084     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9085       case `$LD -v 2>&1` in
   9086         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9087 	ld_shlibs=no
   9088 	cat <<_LT_EOF 1>&2
   9089 
   9090 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9091 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9092 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9093 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9094 *** your PATH or compiler configuration so that the native linker is
   9095 *** used, and then restart.
   9096 
   9097 _LT_EOF
   9098 	;;
   9099 	*)
   9100 	  # For security reasons, it is highly recommended that you always
   9101 	  # use absolute paths for naming shared libraries, and exclude the
   9102 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9103 	  # requires that you compile everything twice, which is a pain.
   9104 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9105 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9106 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9107 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9108 	  else
   9109 	    ld_shlibs=no
   9110 	  fi
   9111 	;;
   9112       esac
   9113       ;;
   9114 
   9115     sunos4*)
   9116       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9117       wlarc=
   9118       hardcode_direct=yes
   9119       hardcode_shlibpath_var=no
   9120       ;;
   9121 
   9122     *)
   9123       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9124 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9125 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9126       else
   9127 	ld_shlibs=no
   9128       fi
   9129       ;;
   9130     esac
   9131 
   9132     if test "$ld_shlibs" = no; then
   9133       runpath_var=
   9134       hardcode_libdir_flag_spec=
   9135       export_dynamic_flag_spec=
   9136       whole_archive_flag_spec=
   9137     fi
   9138   else
   9139     # PORTME fill in a description of your system's linker (not GNU ld)
   9140     case $host_os in
   9141     aix3*)
   9142       allow_undefined_flag=unsupported
   9143       always_export_symbols=yes
   9144       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'
   9145       # Note: this linker hardcodes the directories in LIBPATH if there
   9146       # are no directories specified by -L.
   9147       hardcode_minus_L=yes
   9148       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9149 	# Neither direct hardcoding nor static linking is supported with a
   9150 	# broken collect2.
   9151 	hardcode_direct=unsupported
   9152       fi
   9153       ;;
   9154 
   9155     aix[4-9]*)
   9156       if test "$host_cpu" = ia64; then
   9157 	# On IA64, the linker does run time linking by default, so we don't
   9158 	# have to do anything special.
   9159 	aix_use_runtimelinking=no
   9160 	exp_sym_flag='-Bexport'
   9161 	no_entry_flag=""
   9162       else
   9163 	# If we're using GNU nm, then we don't want the "-C" option.
   9164 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9165 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9166 	  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'
   9167 	else
   9168 	  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'
   9169 	fi
   9170 	aix_use_runtimelinking=no
   9171 
   9172 	# Test if we are trying to use run time linking or normal
   9173 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9174 	# need to do runtime linking.
   9175 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9176 	  for ld_flag in $LDFLAGS; do
   9177 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9178 	    aix_use_runtimelinking=yes
   9179 	    break
   9180 	  fi
   9181 	  done
   9182 	  ;;
   9183 	esac
   9184 
   9185 	exp_sym_flag='-bexport'
   9186 	no_entry_flag='-bnoentry'
   9187       fi
   9188 
   9189       # When large executables or shared objects are built, AIX ld can
   9190       # have problems creating the table of contents.  If linking a library
   9191       # or program results in "error TOC overflow" add -mminimal-toc to
   9192       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9193       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9194 
   9195       archive_cmds=''
   9196       hardcode_direct=yes
   9197       hardcode_direct_absolute=yes
   9198       hardcode_libdir_separator=':'
   9199       link_all_deplibs=yes
   9200       file_list_spec='${wl}-f,'
   9201 
   9202       if test "$GCC" = yes; then
   9203 	case $host_os in aix4.[012]|aix4.[012].*)
   9204 	# We only want to do this on AIX 4.2 and lower, the check
   9205 	# below for broken collect2 doesn't work under 4.3+
   9206 	  collect2name=`${CC} -print-prog-name=collect2`
   9207 	  if test -f "$collect2name" &&
   9208 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9209 	  then
   9210 	  # We have reworked collect2
   9211 	  :
   9212 	  else
   9213 	  # We have old collect2
   9214 	  hardcode_direct=unsupported
   9215 	  # It fails to find uninstalled libraries when the uninstalled
   9216 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9217 	  # to unsupported forces relinking
   9218 	  hardcode_minus_L=yes
   9219 	  hardcode_libdir_flag_spec='-L$libdir'
   9220 	  hardcode_libdir_separator=
   9221 	  fi
   9222 	  ;;
   9223 	esac
   9224 	shared_flag='-shared'
   9225 	if test "$aix_use_runtimelinking" = yes; then
   9226 	  shared_flag="$shared_flag "'${wl}-G'
   9227 	fi
   9228 	link_all_deplibs=no
   9229       else
   9230 	# not using gcc
   9231 	if test "$host_cpu" = ia64; then
   9232 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9233 	# chokes on -Wl,-G. The following line is correct:
   9234 	  shared_flag='-G'
   9235 	else
   9236 	  if test "$aix_use_runtimelinking" = yes; then
   9237 	    shared_flag='${wl}-G'
   9238 	  else
   9239 	    shared_flag='${wl}-bM:SRE'
   9240 	  fi
   9241 	fi
   9242       fi
   9243 
   9244       export_dynamic_flag_spec='${wl}-bexpall'
   9245       # It seems that -bexpall does not export symbols beginning with
   9246       # underscore (_), so it is better to generate a list of symbols to export.
   9247       always_export_symbols=yes
   9248       if test "$aix_use_runtimelinking" = yes; then
   9249 	# Warning - without using the other runtime loading flags (-brtl),
   9250 	# -berok will link without error, but may produce a broken library.
   9251 	allow_undefined_flag='-berok'
   9252         # Determine the default libpath from the value encoded in an
   9253         # empty executable.
   9254         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9255 /* end confdefs.h.  */
   9256 
   9257 int
   9258 main ()
   9259 {
   9260 
   9261   ;
   9262   return 0;
   9263 }
   9264 _ACEOF
   9265 if ac_fn_c_try_link "$LINENO"; then :
   9266 
   9267 lt_aix_libpath_sed='
   9268     /Import File Strings/,/^$/ {
   9269 	/^0/ {
   9270 	    s/^0  *\(.*\)$/\1/
   9271 	    p
   9272 	}
   9273     }'
   9274 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9275 # Check for a 64-bit object if we didn't find anything.
   9276 if test -z "$aix_libpath"; then
   9277   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9278 fi
   9279 fi
   9280 rm -f core conftest.err conftest.$ac_objext \
   9281     conftest$ac_exeext conftest.$ac_ext
   9282 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9283 
   9284         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9285         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"
   9286       else
   9287 	if test "$host_cpu" = ia64; then
   9288 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9289 	  allow_undefined_flag="-z nodefs"
   9290 	  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"
   9291 	else
   9292 	 # Determine the default libpath from the value encoded in an
   9293 	 # empty executable.
   9294 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9295 /* end confdefs.h.  */
   9296 
   9297 int
   9298 main ()
   9299 {
   9300 
   9301   ;
   9302   return 0;
   9303 }
   9304 _ACEOF
   9305 if ac_fn_c_try_link "$LINENO"; then :
   9306 
   9307 lt_aix_libpath_sed='
   9308     /Import File Strings/,/^$/ {
   9309 	/^0/ {
   9310 	    s/^0  *\(.*\)$/\1/
   9311 	    p
   9312 	}
   9313     }'
   9314 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9315 # Check for a 64-bit object if we didn't find anything.
   9316 if test -z "$aix_libpath"; then
   9317   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9318 fi
   9319 fi
   9320 rm -f core conftest.err conftest.$ac_objext \
   9321     conftest$ac_exeext conftest.$ac_ext
   9322 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9323 
   9324 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9325 	  # Warning - without using the other run time loading flags,
   9326 	  # -berok will link without error, but may produce a broken library.
   9327 	  no_undefined_flag=' ${wl}-bernotok'
   9328 	  allow_undefined_flag=' ${wl}-berok'
   9329 	  # Exported symbols can be pulled into shared objects from archives
   9330 	  whole_archive_flag_spec='$convenience'
   9331 	  archive_cmds_need_lc=yes
   9332 	  # This is similar to how AIX traditionally builds its shared libraries.
   9333 	  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'
   9334 	fi
   9335       fi
   9336       ;;
   9337 
   9338     amigaos*)
   9339       case $host_cpu in
   9340       powerpc)
   9341             # see comment about AmigaOS4 .so support
   9342             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9343             archive_expsym_cmds=''
   9344         ;;
   9345       m68k)
   9346             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)'
   9347             hardcode_libdir_flag_spec='-L$libdir'
   9348             hardcode_minus_L=yes
   9349         ;;
   9350       esac
   9351       ;;
   9352 
   9353     bsdi[45]*)
   9354       export_dynamic_flag_spec=-rdynamic
   9355       ;;
   9356 
   9357     cygwin* | mingw* | pw32* | cegcc*)
   9358       # When not using gcc, we currently assume that we are using
   9359       # Microsoft Visual C++.
   9360       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9361       # no search path for DLLs.
   9362       hardcode_libdir_flag_spec=' '
   9363       allow_undefined_flag=unsupported
   9364       # Tell ltmain to make .lib files, not .a files.
   9365       libext=lib
   9366       # Tell ltmain to make .dll files, not .so files.
   9367       shrext_cmds=".dll"
   9368       # FIXME: Setting linknames here is a bad hack.
   9369       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9370       # The linker will automatically build a .lib file if we build a DLL.
   9371       old_archive_from_new_cmds='true'
   9372       # FIXME: Should let the user specify the lib program.
   9373       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9374       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9375       enable_shared_with_static_runtimes=yes
   9376       ;;
   9377 
   9378     darwin* | rhapsody*)
   9379 
   9380 
   9381   archive_cmds_need_lc=no
   9382   hardcode_direct=no
   9383   hardcode_automatic=yes
   9384   hardcode_shlibpath_var=unsupported
   9385   whole_archive_flag_spec=''
   9386   link_all_deplibs=yes
   9387   allow_undefined_flag="$_lt_dar_allow_undefined"
   9388   case $cc_basename in
   9389      ifort*) _lt_dar_can_shared=yes ;;
   9390      *) _lt_dar_can_shared=$GCC ;;
   9391   esac
   9392   if test "$_lt_dar_can_shared" = "yes"; then
   9393     output_verbose_link_cmd=echo
   9394     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9395     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9396     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}"
   9397     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}"
   9398 
   9399   else
   9400   ld_shlibs=no
   9401   fi
   9402 
   9403       ;;
   9404 
   9405     dgux*)
   9406       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9407       hardcode_libdir_flag_spec='-L$libdir'
   9408       hardcode_shlibpath_var=no
   9409       ;;
   9410 
   9411     freebsd1*)
   9412       ld_shlibs=no
   9413       ;;
   9414 
   9415     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9416     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9417     # does not break anything, and helps significantly (at the cost of a little
   9418     # extra space).
   9419     freebsd2.2*)
   9420       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9421       hardcode_libdir_flag_spec='-R$libdir'
   9422       hardcode_direct=yes
   9423       hardcode_shlibpath_var=no
   9424       ;;
   9425 
   9426     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9427     freebsd2*)
   9428       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9429       hardcode_direct=yes
   9430       hardcode_minus_L=yes
   9431       hardcode_shlibpath_var=no
   9432       ;;
   9433 
   9434     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9435     freebsd* | dragonfly*)
   9436       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9437       hardcode_libdir_flag_spec='-R$libdir'
   9438       hardcode_direct=yes
   9439       hardcode_shlibpath_var=no
   9440       ;;
   9441 
   9442     hpux9*)
   9443       if test "$GCC" = yes; then
   9444 	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'
   9445       else
   9446 	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'
   9447       fi
   9448       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9449       hardcode_libdir_separator=:
   9450       hardcode_direct=yes
   9451 
   9452       # hardcode_minus_L: Not really in the search PATH,
   9453       # but as the default location of the library.
   9454       hardcode_minus_L=yes
   9455       export_dynamic_flag_spec='${wl}-E'
   9456       ;;
   9457 
   9458     hpux10*)
   9459       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9460 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9461       else
   9462 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9463       fi
   9464       if test "$with_gnu_ld" = no; then
   9465 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9466 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9467 	hardcode_libdir_separator=:
   9468 	hardcode_direct=yes
   9469 	hardcode_direct_absolute=yes
   9470 	export_dynamic_flag_spec='${wl}-E'
   9471 	# hardcode_minus_L: Not really in the search PATH,
   9472 	# but as the default location of the library.
   9473 	hardcode_minus_L=yes
   9474       fi
   9475       ;;
   9476 
   9477     hpux11*)
   9478       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9479 	case $host_cpu in
   9480 	hppa*64*)
   9481 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9482 	  ;;
   9483 	ia64*)
   9484 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9485 	  ;;
   9486 	*)
   9487 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9488 	  ;;
   9489 	esac
   9490       else
   9491 	case $host_cpu in
   9492 	hppa*64*)
   9493 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9494 	  ;;
   9495 	ia64*)
   9496 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9497 	  ;;
   9498 	*)
   9499 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9500 	  ;;
   9501 	esac
   9502       fi
   9503       if test "$with_gnu_ld" = no; then
   9504 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9505 	hardcode_libdir_separator=:
   9506 
   9507 	case $host_cpu in
   9508 	hppa*64*|ia64*)
   9509 	  hardcode_direct=no
   9510 	  hardcode_shlibpath_var=no
   9511 	  ;;
   9512 	*)
   9513 	  hardcode_direct=yes
   9514 	  hardcode_direct_absolute=yes
   9515 	  export_dynamic_flag_spec='${wl}-E'
   9516 
   9517 	  # hardcode_minus_L: Not really in the search PATH,
   9518 	  # but as the default location of the library.
   9519 	  hardcode_minus_L=yes
   9520 	  ;;
   9521 	esac
   9522       fi
   9523       ;;
   9524 
   9525     irix5* | irix6* | nonstopux*)
   9526       if test "$GCC" = yes; then
   9527 	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'
   9528 	# Try to use the -exported_symbol ld option, if it does not
   9529 	# work, assume that -exports_file does not work either and
   9530 	# implicitly export all symbols.
   9531         save_LDFLAGS="$LDFLAGS"
   9532         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9533         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9534 /* end confdefs.h.  */
   9535 int foo(void) {}
   9536 _ACEOF
   9537 if ac_fn_c_try_link "$LINENO"; then :
   9538   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'
   9539 
   9540 fi
   9541 rm -f core conftest.err conftest.$ac_objext \
   9542     conftest$ac_exeext conftest.$ac_ext
   9543         LDFLAGS="$save_LDFLAGS"
   9544       else
   9545 	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'
   9546 	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'
   9547       fi
   9548       archive_cmds_need_lc='no'
   9549       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9550       hardcode_libdir_separator=:
   9551       inherit_rpath=yes
   9552       link_all_deplibs=yes
   9553       ;;
   9554 
   9555     netbsd* | netbsdelf*-gnu)
   9556       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9557 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9558       else
   9559 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9560       fi
   9561       hardcode_libdir_flag_spec='-R$libdir'
   9562       hardcode_direct=yes
   9563       hardcode_shlibpath_var=no
   9564       ;;
   9565 
   9566     newsos6)
   9567       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9568       hardcode_direct=yes
   9569       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9570       hardcode_libdir_separator=:
   9571       hardcode_shlibpath_var=no
   9572       ;;
   9573 
   9574     *nto* | *qnx*)
   9575       ;;
   9576 
   9577     openbsd*)
   9578       if test -f /usr/libexec/ld.so; then
   9579 	hardcode_direct=yes
   9580 	hardcode_shlibpath_var=no
   9581 	hardcode_direct_absolute=yes
   9582 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9583 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9584 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9585 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9586 	  export_dynamic_flag_spec='${wl}-E'
   9587 	else
   9588 	  case $host_os in
   9589 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9590 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9591 	     hardcode_libdir_flag_spec='-R$libdir'
   9592 	     ;;
   9593 	   *)
   9594 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9595 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9596 	     ;;
   9597 	  esac
   9598 	fi
   9599       else
   9600 	ld_shlibs=no
   9601       fi
   9602       ;;
   9603 
   9604     os2*)
   9605       hardcode_libdir_flag_spec='-L$libdir'
   9606       hardcode_minus_L=yes
   9607       allow_undefined_flag=unsupported
   9608       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'
   9609       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9610       ;;
   9611 
   9612     osf3*)
   9613       if test "$GCC" = yes; then
   9614 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9615 	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'
   9616       else
   9617 	allow_undefined_flag=' -expect_unresolved \*'
   9618 	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'
   9619       fi
   9620       archive_cmds_need_lc='no'
   9621       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9622       hardcode_libdir_separator=:
   9623       ;;
   9624 
   9625     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9626       if test "$GCC" = yes; then
   9627 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9628 	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'
   9629 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9630       else
   9631 	allow_undefined_flag=' -expect_unresolved \*'
   9632 	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'
   9633 	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~
   9634 	$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'
   9635 
   9636 	# Both c and cxx compiler support -rpath directly
   9637 	hardcode_libdir_flag_spec='-rpath $libdir'
   9638       fi
   9639       archive_cmds_need_lc='no'
   9640       hardcode_libdir_separator=:
   9641       ;;
   9642 
   9643     solaris*)
   9644       no_undefined_flag=' -z defs'
   9645       if test "$GCC" = yes; then
   9646 	wlarc='${wl}'
   9647 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9648 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9649 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9650       else
   9651 	case `$CC -V 2>&1` in
   9652 	*"Compilers 5.0"*)
   9653 	  wlarc=''
   9654 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9655 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9656 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9657 	  ;;
   9658 	*)
   9659 	  wlarc='${wl}'
   9660 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9661 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9662 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9663 	  ;;
   9664 	esac
   9665       fi
   9666       hardcode_libdir_flag_spec='-R$libdir'
   9667       hardcode_shlibpath_var=no
   9668       case $host_os in
   9669       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9670       *)
   9671 	# The compiler driver will combine and reorder linker options,
   9672 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9673 	# but is careful enough not to reorder.
   9674 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9675 	if test "$GCC" = yes; then
   9676 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9677 	else
   9678 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9679 	fi
   9680 	;;
   9681       esac
   9682       link_all_deplibs=yes
   9683       ;;
   9684 
   9685     sunos4*)
   9686       if test "x$host_vendor" = xsequent; then
   9687 	# Use $CC to link under sequent, because it throws in some extra .o
   9688 	# files that make .init and .fini sections work.
   9689 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9690       else
   9691 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9692       fi
   9693       hardcode_libdir_flag_spec='-L$libdir'
   9694       hardcode_direct=yes
   9695       hardcode_minus_L=yes
   9696       hardcode_shlibpath_var=no
   9697       ;;
   9698 
   9699     sysv4)
   9700       case $host_vendor in
   9701 	sni)
   9702 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9703 	  hardcode_direct=yes # is this really true???
   9704 	;;
   9705 	siemens)
   9706 	  ## LD is ld it makes a PLAMLIB
   9707 	  ## CC just makes a GrossModule.
   9708 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9709 	  reload_cmds='$CC -r -o $output$reload_objs'
   9710 	  hardcode_direct=no
   9711         ;;
   9712 	motorola)
   9713 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9714 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9715 	;;
   9716       esac
   9717       runpath_var='LD_RUN_PATH'
   9718       hardcode_shlibpath_var=no
   9719       ;;
   9720 
   9721     sysv4.3*)
   9722       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9723       hardcode_shlibpath_var=no
   9724       export_dynamic_flag_spec='-Bexport'
   9725       ;;
   9726 
   9727     sysv4*MP*)
   9728       if test -d /usr/nec; then
   9729 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9730 	hardcode_shlibpath_var=no
   9731 	runpath_var=LD_RUN_PATH
   9732 	hardcode_runpath_var=yes
   9733 	ld_shlibs=yes
   9734       fi
   9735       ;;
   9736 
   9737     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9738       no_undefined_flag='${wl}-z,text'
   9739       archive_cmds_need_lc=no
   9740       hardcode_shlibpath_var=no
   9741       runpath_var='LD_RUN_PATH'
   9742 
   9743       if test "$GCC" = yes; then
   9744 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9745 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9746       else
   9747 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9748 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9749       fi
   9750       ;;
   9751 
   9752     sysv5* | sco3.2v5* | sco5v6*)
   9753       # Note: We can NOT use -z defs as we might desire, because we do not
   9754       # link with -lc, and that would cause any symbols used from libc to
   9755       # always be unresolved, which means just about no library would
   9756       # ever link correctly.  If we're not using GNU ld we use -z text
   9757       # though, which does catch some bad symbols but isn't as heavy-handed
   9758       # as -z defs.
   9759       no_undefined_flag='${wl}-z,text'
   9760       allow_undefined_flag='${wl}-z,nodefs'
   9761       archive_cmds_need_lc=no
   9762       hardcode_shlibpath_var=no
   9763       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9764       hardcode_libdir_separator=':'
   9765       link_all_deplibs=yes
   9766       export_dynamic_flag_spec='${wl}-Bexport'
   9767       runpath_var='LD_RUN_PATH'
   9768 
   9769       if test "$GCC" = yes; then
   9770 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9771 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9772       else
   9773 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9774 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9775       fi
   9776       ;;
   9777 
   9778     uts4*)
   9779       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9780       hardcode_libdir_flag_spec='-L$libdir'
   9781       hardcode_shlibpath_var=no
   9782       ;;
   9783 
   9784     *)
   9785       ld_shlibs=no
   9786       ;;
   9787     esac
   9788 
   9789     if test x$host_vendor = xsni; then
   9790       case $host in
   9791       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9792 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9793 	;;
   9794       esac
   9795     fi
   9796   fi
   9797 
   9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9799 $as_echo "$ld_shlibs" >&6; }
   9800 test "$ld_shlibs" = no && can_build_shared=no
   9801 
   9802 with_gnu_ld=$with_gnu_ld
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 #
   9819 # Do we need to explicitly link libc?
   9820 #
   9821 case "x$archive_cmds_need_lc" in
   9822 x|xyes)
   9823   # Assume -lc should be added
   9824   archive_cmds_need_lc=yes
   9825 
   9826   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9827     case $archive_cmds in
   9828     *'~'*)
   9829       # FIXME: we may have to deal with multi-command sequences.
   9830       ;;
   9831     '$CC '*)
   9832       # Test whether the compiler implicitly links with -lc since on some
   9833       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9834       # to ld, don't add -lc before -lgcc.
   9835       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9836 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9837       $RM conftest*
   9838       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9839 
   9840       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9841   (eval $ac_compile) 2>&5
   9842   ac_status=$?
   9843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9844   test $ac_status = 0; } 2>conftest.err; then
   9845         soname=conftest
   9846         lib=conftest
   9847         libobjs=conftest.$ac_objext
   9848         deplibs=
   9849         wl=$lt_prog_compiler_wl
   9850 	pic_flag=$lt_prog_compiler_pic
   9851         compiler_flags=-v
   9852         linker_flags=-v
   9853         verstring=
   9854         output_objdir=.
   9855         libname=conftest
   9856         lt_save_allow_undefined_flag=$allow_undefined_flag
   9857         allow_undefined_flag=
   9858         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9859   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9860   ac_status=$?
   9861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9862   test $ac_status = 0; }
   9863         then
   9864 	  archive_cmds_need_lc=no
   9865         else
   9866 	  archive_cmds_need_lc=yes
   9867         fi
   9868         allow_undefined_flag=$lt_save_allow_undefined_flag
   9869       else
   9870         cat conftest.err 1>&5
   9871       fi
   9872       $RM conftest*
   9873       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9874 $as_echo "$archive_cmds_need_lc" >&6; }
   9875       ;;
   9876     esac
   9877   fi
   9878   ;;
   9879 esac
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10038 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10039 
   10040 if test "$GCC" = yes; then
   10041   case $host_os in
   10042     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10043     *) lt_awk_arg="/^libraries:/" ;;
   10044   esac
   10045   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10046   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10047     # if the path contains ";" then we assume it to be the separator
   10048     # otherwise default to the standard path separator (i.e. ":") - it is
   10049     # assumed that no part of a normal pathname contains ";" but that should
   10050     # okay in the real world where ";" in dirpaths is itself problematic.
   10051     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10052   else
   10053     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10054   fi
   10055   # Ok, now we have the path, separated by spaces, we can step through it
   10056   # and add multilib dir if necessary.
   10057   lt_tmp_lt_search_path_spec=
   10058   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10059   for lt_sys_path in $lt_search_path_spec; do
   10060     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10061       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10062     else
   10063       test -d "$lt_sys_path" && \
   10064 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10065     fi
   10066   done
   10067   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10068 BEGIN {RS=" "; FS="/|\n";} {
   10069   lt_foo="";
   10070   lt_count=0;
   10071   for (lt_i = NF; lt_i > 0; lt_i--) {
   10072     if ($lt_i != "" && $lt_i != ".") {
   10073       if ($lt_i == "..") {
   10074         lt_count++;
   10075       } else {
   10076         if (lt_count == 0) {
   10077           lt_foo="/" $lt_i lt_foo;
   10078         } else {
   10079           lt_count--;
   10080         }
   10081       }
   10082     }
   10083   }
   10084   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10085   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10086 }'`
   10087   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10088 else
   10089   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10090 fi
   10091 library_names_spec=
   10092 libname_spec='lib$name'
   10093 soname_spec=
   10094 shrext_cmds=".so"
   10095 postinstall_cmds=
   10096 postuninstall_cmds=
   10097 finish_cmds=
   10098 finish_eval=
   10099 shlibpath_var=
   10100 shlibpath_overrides_runpath=unknown
   10101 version_type=none
   10102 dynamic_linker="$host_os ld.so"
   10103 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10104 need_lib_prefix=unknown
   10105 hardcode_into_libs=no
   10106 
   10107 # when you set need_version to no, make sure it does not cause -set_version
   10108 # flags to be left without arguments
   10109 need_version=unknown
   10110 
   10111 case $host_os in
   10112 aix3*)
   10113   version_type=linux
   10114   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10115   shlibpath_var=LIBPATH
   10116 
   10117   # AIX 3 has no versioning support, so we append a major version to the name.
   10118   soname_spec='${libname}${release}${shared_ext}$major'
   10119   ;;
   10120 
   10121 aix[4-9]*)
   10122   version_type=linux
   10123   need_lib_prefix=no
   10124   need_version=no
   10125   hardcode_into_libs=yes
   10126   if test "$host_cpu" = ia64; then
   10127     # AIX 5 supports IA64
   10128     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10129     shlibpath_var=LD_LIBRARY_PATH
   10130   else
   10131     # With GCC up to 2.95.x, collect2 would create an import file
   10132     # for dependence libraries.  The import file would start with
   10133     # the line `#! .'.  This would cause the generated library to
   10134     # depend on `.', always an invalid library.  This was fixed in
   10135     # development snapshots of GCC prior to 3.0.
   10136     case $host_os in
   10137       aix4 | aix4.[01] | aix4.[01].*)
   10138       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10139 	   echo ' yes '
   10140 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10141 	:
   10142       else
   10143 	can_build_shared=no
   10144       fi
   10145       ;;
   10146     esac
   10147     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10148     # soname into executable. Probably we can add versioning support to
   10149     # collect2, so additional links can be useful in future.
   10150     if test "$aix_use_runtimelinking" = yes; then
   10151       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10152       # instead of lib<name>.a to let people know that these are not
   10153       # typical AIX shared libraries.
   10154       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10155     else
   10156       # We preserve .a as extension for shared libraries through AIX4.2
   10157       # and later when we are not doing run time linking.
   10158       library_names_spec='${libname}${release}.a $libname.a'
   10159       soname_spec='${libname}${release}${shared_ext}$major'
   10160     fi
   10161     shlibpath_var=LIBPATH
   10162   fi
   10163   ;;
   10164 
   10165 amigaos*)
   10166   case $host_cpu in
   10167   powerpc)
   10168     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10169     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10170     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10171     ;;
   10172   m68k)
   10173     library_names_spec='$libname.ixlibrary $libname.a'
   10174     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10175     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'
   10176     ;;
   10177   esac
   10178   ;;
   10179 
   10180 beos*)
   10181   library_names_spec='${libname}${shared_ext}'
   10182   dynamic_linker="$host_os ld.so"
   10183   shlibpath_var=LIBRARY_PATH
   10184   ;;
   10185 
   10186 bsdi[45]*)
   10187   version_type=linux
   10188   need_version=no
   10189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10190   soname_spec='${libname}${release}${shared_ext}$major'
   10191   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10192   shlibpath_var=LD_LIBRARY_PATH
   10193   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10194   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10195   # the default ld.so.conf also contains /usr/contrib/lib and
   10196   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10197   # libtool to hard-code these into programs
   10198   ;;
   10199 
   10200 cygwin* | mingw* | pw32* | cegcc*)
   10201   version_type=windows
   10202   shrext_cmds=".dll"
   10203   need_version=no
   10204   need_lib_prefix=no
   10205 
   10206   case $GCC,$host_os in
   10207   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10208     library_names_spec='$libname.dll.a'
   10209     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10210     postinstall_cmds='base_file=`basename \${file}`~
   10211       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10212       dldir=$destdir/`dirname \$dlpath`~
   10213       test -d \$dldir || mkdir -p \$dldir~
   10214       $install_prog $dir/$dlname \$dldir/$dlname~
   10215       chmod a+x \$dldir/$dlname~
   10216       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10217         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10218       fi'
   10219     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10220       dlpath=$dir/\$dldll~
   10221        $RM \$dlpath'
   10222     shlibpath_overrides_runpath=yes
   10223 
   10224     case $host_os in
   10225     cygwin*)
   10226       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10227       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10228       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10229       ;;
   10230     mingw* | cegcc*)
   10231       # MinGW DLLs use traditional 'lib' prefix
   10232       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10233       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10234       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10235         # It is most probably a Windows format PATH printed by
   10236         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10237         # path with ; separators, and with drive letters. We can handle the
   10238         # drive letters (cygwin fileutils understands them), so leave them,
   10239         # especially as we might pass files found there to a mingw objdump,
   10240         # which wouldn't understand a cygwinified path. Ahh.
   10241         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10242       else
   10243         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10244       fi
   10245       ;;
   10246     pw32*)
   10247       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10248       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10249       ;;
   10250     esac
   10251     ;;
   10252 
   10253   *)
   10254     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10255     ;;
   10256   esac
   10257   dynamic_linker='Win32 ld.exe'
   10258   # FIXME: first we should search . and the directory the executable is in
   10259   shlibpath_var=PATH
   10260   ;;
   10261 
   10262 darwin* | rhapsody*)
   10263   dynamic_linker="$host_os dyld"
   10264   version_type=darwin
   10265   need_lib_prefix=no
   10266   need_version=no
   10267   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10268   soname_spec='${libname}${release}${major}$shared_ext'
   10269   shlibpath_overrides_runpath=yes
   10270   shlibpath_var=DYLD_LIBRARY_PATH
   10271   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10272 
   10273   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10274   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10275   ;;
   10276 
   10277 dgux*)
   10278   version_type=linux
   10279   need_lib_prefix=no
   10280   need_version=no
   10281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10282   soname_spec='${libname}${release}${shared_ext}$major'
   10283   shlibpath_var=LD_LIBRARY_PATH
   10284   ;;
   10285 
   10286 freebsd1*)
   10287   dynamic_linker=no
   10288   ;;
   10289 
   10290 freebsd* | dragonfly*)
   10291   # DragonFly does not have aout.  When/if they implement a new
   10292   # versioning mechanism, adjust this.
   10293   if test -x /usr/bin/objformat; then
   10294     objformat=`/usr/bin/objformat`
   10295   else
   10296     case $host_os in
   10297     freebsd[123]*) objformat=aout ;;
   10298     *) objformat=elf ;;
   10299     esac
   10300   fi
   10301   version_type=freebsd-$objformat
   10302   case $version_type in
   10303     freebsd-elf*)
   10304       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10305       need_version=no
   10306       need_lib_prefix=no
   10307       ;;
   10308     freebsd-*)
   10309       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10310       need_version=yes
   10311       ;;
   10312   esac
   10313   shlibpath_var=LD_LIBRARY_PATH
   10314   case $host_os in
   10315   freebsd2*)
   10316     shlibpath_overrides_runpath=yes
   10317     ;;
   10318   freebsd3.[01]* | freebsdelf3.[01]*)
   10319     shlibpath_overrides_runpath=yes
   10320     hardcode_into_libs=yes
   10321     ;;
   10322   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10323   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10324     shlibpath_overrides_runpath=no
   10325     hardcode_into_libs=yes
   10326     ;;
   10327   *) # from 4.6 on, and DragonFly
   10328     shlibpath_overrides_runpath=yes
   10329     hardcode_into_libs=yes
   10330     ;;
   10331   esac
   10332   ;;
   10333 
   10334 gnu*)
   10335   version_type=linux
   10336   need_lib_prefix=no
   10337   need_version=no
   10338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10339   soname_spec='${libname}${release}${shared_ext}$major'
   10340   shlibpath_var=LD_LIBRARY_PATH
   10341   hardcode_into_libs=yes
   10342   ;;
   10343 
   10344 hpux9* | hpux10* | hpux11*)
   10345   # Give a soname corresponding to the major version so that dld.sl refuses to
   10346   # link against other versions.
   10347   version_type=sunos
   10348   need_lib_prefix=no
   10349   need_version=no
   10350   case $host_cpu in
   10351   ia64*)
   10352     shrext_cmds='.so'
   10353     hardcode_into_libs=yes
   10354     dynamic_linker="$host_os dld.so"
   10355     shlibpath_var=LD_LIBRARY_PATH
   10356     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10357     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10358     soname_spec='${libname}${release}${shared_ext}$major'
   10359     if test "X$HPUX_IA64_MODE" = X32; then
   10360       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10361     else
   10362       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10363     fi
   10364     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10365     ;;
   10366   hppa*64*)
   10367     shrext_cmds='.sl'
   10368     hardcode_into_libs=yes
   10369     dynamic_linker="$host_os dld.sl"
   10370     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10371     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10372     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10373     soname_spec='${libname}${release}${shared_ext}$major'
   10374     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10375     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10376     ;;
   10377   *)
   10378     shrext_cmds='.sl'
   10379     dynamic_linker="$host_os dld.sl"
   10380     shlibpath_var=SHLIB_PATH
   10381     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10382     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10383     soname_spec='${libname}${release}${shared_ext}$major'
   10384     ;;
   10385   esac
   10386   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10387   postinstall_cmds='chmod 555 $lib'
   10388   ;;
   10389 
   10390 interix[3-9]*)
   10391   version_type=linux
   10392   need_lib_prefix=no
   10393   need_version=no
   10394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10395   soname_spec='${libname}${release}${shared_ext}$major'
   10396   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10397   shlibpath_var=LD_LIBRARY_PATH
   10398   shlibpath_overrides_runpath=no
   10399   hardcode_into_libs=yes
   10400   ;;
   10401 
   10402 irix5* | irix6* | nonstopux*)
   10403   case $host_os in
   10404     nonstopux*) version_type=nonstopux ;;
   10405     *)
   10406 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10407 		version_type=linux
   10408 	else
   10409 		version_type=irix
   10410 	fi ;;
   10411   esac
   10412   need_lib_prefix=no
   10413   need_version=no
   10414   soname_spec='${libname}${release}${shared_ext}$major'
   10415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10416   case $host_os in
   10417   irix5* | nonstopux*)
   10418     libsuff= shlibsuff=
   10419     ;;
   10420   *)
   10421     case $LD in # libtool.m4 will add one of these switches to LD
   10422     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10423       libsuff= shlibsuff= libmagic=32-bit;;
   10424     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10425       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10426     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10427       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10428     *) libsuff= shlibsuff= libmagic=never-match;;
   10429     esac
   10430     ;;
   10431   esac
   10432   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10433   shlibpath_overrides_runpath=no
   10434   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10435   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10436   hardcode_into_libs=yes
   10437   ;;
   10438 
   10439 # No shared lib support for Linux oldld, aout, or coff.
   10440 linux*oldld* | linux*aout* | linux*coff*)
   10441   dynamic_linker=no
   10442   ;;
   10443 
   10444 # This must be Linux ELF.
   10445 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10446   version_type=linux
   10447   need_lib_prefix=no
   10448   need_version=no
   10449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10450   soname_spec='${libname}${release}${shared_ext}$major'
   10451   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10452   shlibpath_var=LD_LIBRARY_PATH
   10453   shlibpath_overrides_runpath=no
   10454   # Some binutils ld are patched to set DT_RUNPATH
   10455   save_LDFLAGS=$LDFLAGS
   10456   save_libdir=$libdir
   10457   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10458        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10460 /* end confdefs.h.  */
   10461 
   10462 int
   10463 main ()
   10464 {
   10465 
   10466   ;
   10467   return 0;
   10468 }
   10469 _ACEOF
   10470 if ac_fn_c_try_link "$LINENO"; then :
   10471   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10472   shlibpath_overrides_runpath=yes
   10473 fi
   10474 fi
   10475 rm -f core conftest.err conftest.$ac_objext \
   10476     conftest$ac_exeext conftest.$ac_ext
   10477   LDFLAGS=$save_LDFLAGS
   10478   libdir=$save_libdir
   10479 
   10480   # This implies no fast_install, which is unacceptable.
   10481   # Some rework will be needed to allow for fast_install
   10482   # before this can be enabled.
   10483   hardcode_into_libs=yes
   10484 
   10485   # Append ld.so.conf contents to the search path
   10486   if test -f /etc/ld.so.conf; then
   10487     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' ' '`
   10488     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10489   fi
   10490 
   10491   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10492   # powerpc, because MkLinux only supported shared libraries with the
   10493   # GNU dynamic linker.  Since this was broken with cross compilers,
   10494   # most powerpc-linux boxes support dynamic linking these days and
   10495   # people can always --disable-shared, the test was removed, and we
   10496   # assume the GNU/Linux dynamic linker is in use.
   10497   dynamic_linker='GNU/Linux ld.so'
   10498   ;;
   10499 
   10500 netbsdelf*-gnu)
   10501   version_type=linux
   10502   need_lib_prefix=no
   10503   need_version=no
   10504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10505   soname_spec='${libname}${release}${shared_ext}$major'
   10506   shlibpath_var=LD_LIBRARY_PATH
   10507   shlibpath_overrides_runpath=no
   10508   hardcode_into_libs=yes
   10509   dynamic_linker='NetBSD ld.elf_so'
   10510   ;;
   10511 
   10512 netbsd*)
   10513   version_type=sunos
   10514   need_lib_prefix=no
   10515   need_version=no
   10516   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10517     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10518     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10519     dynamic_linker='NetBSD (a.out) ld.so'
   10520   else
   10521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10522     soname_spec='${libname}${release}${shared_ext}$major'
   10523     dynamic_linker='NetBSD ld.elf_so'
   10524   fi
   10525   shlibpath_var=LD_LIBRARY_PATH
   10526   shlibpath_overrides_runpath=yes
   10527   hardcode_into_libs=yes
   10528   ;;
   10529 
   10530 newsos6)
   10531   version_type=linux
   10532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10533   shlibpath_var=LD_LIBRARY_PATH
   10534   shlibpath_overrides_runpath=yes
   10535   ;;
   10536 
   10537 *nto* | *qnx*)
   10538   version_type=qnx
   10539   need_lib_prefix=no
   10540   need_version=no
   10541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10542   soname_spec='${libname}${release}${shared_ext}$major'
   10543   shlibpath_var=LD_LIBRARY_PATH
   10544   shlibpath_overrides_runpath=no
   10545   hardcode_into_libs=yes
   10546   dynamic_linker='ldqnx.so'
   10547   ;;
   10548 
   10549 openbsd*)
   10550   version_type=sunos
   10551   sys_lib_dlsearch_path_spec="/usr/lib"
   10552   need_lib_prefix=no
   10553   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10554   case $host_os in
   10555     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10556     *)				need_version=no  ;;
   10557   esac
   10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10559   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10560   shlibpath_var=LD_LIBRARY_PATH
   10561   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10562     case $host_os in
   10563       openbsd2.[89] | openbsd2.[89].*)
   10564 	shlibpath_overrides_runpath=no
   10565 	;;
   10566       *)
   10567 	shlibpath_overrides_runpath=yes
   10568 	;;
   10569       esac
   10570   else
   10571     shlibpath_overrides_runpath=yes
   10572   fi
   10573   ;;
   10574 
   10575 os2*)
   10576   libname_spec='$name'
   10577   shrext_cmds=".dll"
   10578   need_lib_prefix=no
   10579   library_names_spec='$libname${shared_ext} $libname.a'
   10580   dynamic_linker='OS/2 ld.exe'
   10581   shlibpath_var=LIBPATH
   10582   ;;
   10583 
   10584 osf3* | osf4* | osf5*)
   10585   version_type=osf
   10586   need_lib_prefix=no
   10587   need_version=no
   10588   soname_spec='${libname}${release}${shared_ext}$major'
   10589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10590   shlibpath_var=LD_LIBRARY_PATH
   10591   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10592   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10593   ;;
   10594 
   10595 rdos*)
   10596   dynamic_linker=no
   10597   ;;
   10598 
   10599 solaris*)
   10600   version_type=linux
   10601   need_lib_prefix=no
   10602   need_version=no
   10603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10604   soname_spec='${libname}${release}${shared_ext}$major'
   10605   shlibpath_var=LD_LIBRARY_PATH
   10606   shlibpath_overrides_runpath=yes
   10607   hardcode_into_libs=yes
   10608   # ldd complains unless libraries are executable
   10609   postinstall_cmds='chmod +x $lib'
   10610   ;;
   10611 
   10612 sunos4*)
   10613   version_type=sunos
   10614   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10615   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10616   shlibpath_var=LD_LIBRARY_PATH
   10617   shlibpath_overrides_runpath=yes
   10618   if test "$with_gnu_ld" = yes; then
   10619     need_lib_prefix=no
   10620   fi
   10621   need_version=yes
   10622   ;;
   10623 
   10624 sysv4 | sysv4.3*)
   10625   version_type=linux
   10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10627   soname_spec='${libname}${release}${shared_ext}$major'
   10628   shlibpath_var=LD_LIBRARY_PATH
   10629   case $host_vendor in
   10630     sni)
   10631       shlibpath_overrides_runpath=no
   10632       need_lib_prefix=no
   10633       runpath_var=LD_RUN_PATH
   10634       ;;
   10635     siemens)
   10636       need_lib_prefix=no
   10637       ;;
   10638     motorola)
   10639       need_lib_prefix=no
   10640       need_version=no
   10641       shlibpath_overrides_runpath=no
   10642       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10643       ;;
   10644   esac
   10645   ;;
   10646 
   10647 sysv4*MP*)
   10648   if test -d /usr/nec ;then
   10649     version_type=linux
   10650     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10651     soname_spec='$libname${shared_ext}.$major'
   10652     shlibpath_var=LD_LIBRARY_PATH
   10653   fi
   10654   ;;
   10655 
   10656 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10657   version_type=freebsd-elf
   10658   need_lib_prefix=no
   10659   need_version=no
   10660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10661   soname_spec='${libname}${release}${shared_ext}$major'
   10662   shlibpath_var=LD_LIBRARY_PATH
   10663   shlibpath_overrides_runpath=yes
   10664   hardcode_into_libs=yes
   10665   if test "$with_gnu_ld" = yes; then
   10666     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10667   else
   10668     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10669     case $host_os in
   10670       sco3.2v5*)
   10671         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10672 	;;
   10673     esac
   10674   fi
   10675   sys_lib_dlsearch_path_spec='/usr/lib'
   10676   ;;
   10677 
   10678 tpf*)
   10679   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10680   version_type=linux
   10681   need_lib_prefix=no
   10682   need_version=no
   10683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10684   shlibpath_var=LD_LIBRARY_PATH
   10685   shlibpath_overrides_runpath=no
   10686   hardcode_into_libs=yes
   10687   ;;
   10688 
   10689 uts4*)
   10690   version_type=linux
   10691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10692   soname_spec='${libname}${release}${shared_ext}$major'
   10693   shlibpath_var=LD_LIBRARY_PATH
   10694   ;;
   10695 
   10696 *)
   10697   dynamic_linker=no
   10698   ;;
   10699 esac
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10701 $as_echo "$dynamic_linker" >&6; }
   10702 test "$dynamic_linker" = no && can_build_shared=no
   10703 
   10704 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10705 if test "$GCC" = yes; then
   10706   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10707 fi
   10708 
   10709 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10710   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10711 fi
   10712 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10713   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10714 fi
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10803 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10804 hardcode_action=
   10805 if test -n "$hardcode_libdir_flag_spec" ||
   10806    test -n "$runpath_var" ||
   10807    test "X$hardcode_automatic" = "Xyes" ; then
   10808 
   10809   # We can hardcode non-existent directories.
   10810   if test "$hardcode_direct" != no &&
   10811      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10812      # have to relink, otherwise we might link with an installed library
   10813      # when we should be linking with a yet-to-be-installed one
   10814      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10815      test "$hardcode_minus_L" != no; then
   10816     # Linking always hardcodes the temporary library directory.
   10817     hardcode_action=relink
   10818   else
   10819     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10820     hardcode_action=immediate
   10821   fi
   10822 else
   10823   # We cannot hardcode anything, or else we can only hardcode existing
   10824   # directories.
   10825   hardcode_action=unsupported
   10826 fi
   10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10828 $as_echo "$hardcode_action" >&6; }
   10829 
   10830 if test "$hardcode_action" = relink ||
   10831    test "$inherit_rpath" = yes; then
   10832   # Fast installation is not supported
   10833   enable_fast_install=no
   10834 elif test "$shlibpath_overrides_runpath" = yes ||
   10835      test "$enable_shared" = no; then
   10836   # Fast installation is not necessary
   10837   enable_fast_install=needless
   10838 fi
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845   if test "x$enable_dlopen" != xyes; then
   10846   enable_dlopen=unknown
   10847   enable_dlopen_self=unknown
   10848   enable_dlopen_self_static=unknown
   10849 else
   10850   lt_cv_dlopen=no
   10851   lt_cv_dlopen_libs=
   10852 
   10853   case $host_os in
   10854   beos*)
   10855     lt_cv_dlopen="load_add_on"
   10856     lt_cv_dlopen_libs=
   10857     lt_cv_dlopen_self=yes
   10858     ;;
   10859 
   10860   mingw* | pw32* | cegcc*)
   10861     lt_cv_dlopen="LoadLibrary"
   10862     lt_cv_dlopen_libs=
   10863     ;;
   10864 
   10865   cygwin*)
   10866     lt_cv_dlopen="dlopen"
   10867     lt_cv_dlopen_libs=
   10868     ;;
   10869 
   10870   darwin*)
   10871   # if libdl is installed we need to link against it
   10872     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10873 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10874 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10875   $as_echo_n "(cached) " >&6
   10876 else
   10877   ac_check_lib_save_LIBS=$LIBS
   10878 LIBS="-ldl  $LIBS"
   10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10880 /* end confdefs.h.  */
   10881 
   10882 /* Override any GCC internal prototype to avoid an error.
   10883    Use char because int might match the return type of a GCC
   10884    builtin and then its argument prototype would still apply.  */
   10885 #ifdef __cplusplus
   10886 extern "C"
   10887 #endif
   10888 char dlopen ();
   10889 int
   10890 main ()
   10891 {
   10892 return dlopen ();
   10893   ;
   10894   return 0;
   10895 }
   10896 _ACEOF
   10897 if ac_fn_c_try_link "$LINENO"; then :
   10898   ac_cv_lib_dl_dlopen=yes
   10899 else
   10900   ac_cv_lib_dl_dlopen=no
   10901 fi
   10902 rm -f core conftest.err conftest.$ac_objext \
   10903     conftest$ac_exeext conftest.$ac_ext
   10904 LIBS=$ac_check_lib_save_LIBS
   10905 fi
   10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10907 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10908 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10909   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10910 else
   10911 
   10912     lt_cv_dlopen="dyld"
   10913     lt_cv_dlopen_libs=
   10914     lt_cv_dlopen_self=yes
   10915 
   10916 fi
   10917 
   10918     ;;
   10919 
   10920   *)
   10921     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10922 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10923   lt_cv_dlopen="shl_load"
   10924 else
   10925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10926 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10927 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10928   $as_echo_n "(cached) " >&6
   10929 else
   10930   ac_check_lib_save_LIBS=$LIBS
   10931 LIBS="-ldld  $LIBS"
   10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10933 /* end confdefs.h.  */
   10934 
   10935 /* Override any GCC internal prototype to avoid an error.
   10936    Use char because int might match the return type of a GCC
   10937    builtin and then its argument prototype would still apply.  */
   10938 #ifdef __cplusplus
   10939 extern "C"
   10940 #endif
   10941 char shl_load ();
   10942 int
   10943 main ()
   10944 {
   10945 return shl_load ();
   10946   ;
   10947   return 0;
   10948 }
   10949 _ACEOF
   10950 if ac_fn_c_try_link "$LINENO"; then :
   10951   ac_cv_lib_dld_shl_load=yes
   10952 else
   10953   ac_cv_lib_dld_shl_load=no
   10954 fi
   10955 rm -f core conftest.err conftest.$ac_objext \
   10956     conftest$ac_exeext conftest.$ac_ext
   10957 LIBS=$ac_check_lib_save_LIBS
   10958 fi
   10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10960 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10961 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10962   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10963 else
   10964   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10965 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10966   lt_cv_dlopen="dlopen"
   10967 else
   10968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10969 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10970 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10971   $as_echo_n "(cached) " >&6
   10972 else
   10973   ac_check_lib_save_LIBS=$LIBS
   10974 LIBS="-ldl  $LIBS"
   10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10976 /* end confdefs.h.  */
   10977 
   10978 /* Override any GCC internal prototype to avoid an error.
   10979    Use char because int might match the return type of a GCC
   10980    builtin and then its argument prototype would still apply.  */
   10981 #ifdef __cplusplus
   10982 extern "C"
   10983 #endif
   10984 char dlopen ();
   10985 int
   10986 main ()
   10987 {
   10988 return dlopen ();
   10989   ;
   10990   return 0;
   10991 }
   10992 _ACEOF
   10993 if ac_fn_c_try_link "$LINENO"; then :
   10994   ac_cv_lib_dl_dlopen=yes
   10995 else
   10996   ac_cv_lib_dl_dlopen=no
   10997 fi
   10998 rm -f core conftest.err conftest.$ac_objext \
   10999     conftest$ac_exeext conftest.$ac_ext
   11000 LIBS=$ac_check_lib_save_LIBS
   11001 fi
   11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11003 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11004 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   11005   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11006 else
   11007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11008 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11009 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   11010   $as_echo_n "(cached) " >&6
   11011 else
   11012   ac_check_lib_save_LIBS=$LIBS
   11013 LIBS="-lsvld  $LIBS"
   11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11015 /* end confdefs.h.  */
   11016 
   11017 /* Override any GCC internal prototype to avoid an error.
   11018    Use char because int might match the return type of a GCC
   11019    builtin and then its argument prototype would still apply.  */
   11020 #ifdef __cplusplus
   11021 extern "C"
   11022 #endif
   11023 char dlopen ();
   11024 int
   11025 main ()
   11026 {
   11027 return dlopen ();
   11028   ;
   11029   return 0;
   11030 }
   11031 _ACEOF
   11032 if ac_fn_c_try_link "$LINENO"; then :
   11033   ac_cv_lib_svld_dlopen=yes
   11034 else
   11035   ac_cv_lib_svld_dlopen=no
   11036 fi
   11037 rm -f core conftest.err conftest.$ac_objext \
   11038     conftest$ac_exeext conftest.$ac_ext
   11039 LIBS=$ac_check_lib_save_LIBS
   11040 fi
   11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11042 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11043 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   11044   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11045 else
   11046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11047 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11048 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   11049   $as_echo_n "(cached) " >&6
   11050 else
   11051   ac_check_lib_save_LIBS=$LIBS
   11052 LIBS="-ldld  $LIBS"
   11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11054 /* end confdefs.h.  */
   11055 
   11056 /* Override any GCC internal prototype to avoid an error.
   11057    Use char because int might match the return type of a GCC
   11058    builtin and then its argument prototype would still apply.  */
   11059 #ifdef __cplusplus
   11060 extern "C"
   11061 #endif
   11062 char dld_link ();
   11063 int
   11064 main ()
   11065 {
   11066 return dld_link ();
   11067   ;
   11068   return 0;
   11069 }
   11070 _ACEOF
   11071 if ac_fn_c_try_link "$LINENO"; then :
   11072   ac_cv_lib_dld_dld_link=yes
   11073 else
   11074   ac_cv_lib_dld_dld_link=no
   11075 fi
   11076 rm -f core conftest.err conftest.$ac_objext \
   11077     conftest$ac_exeext conftest.$ac_ext
   11078 LIBS=$ac_check_lib_save_LIBS
   11079 fi
   11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11081 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11082 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   11083   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11084 fi
   11085 
   11086 
   11087 fi
   11088 
   11089 
   11090 fi
   11091 
   11092 
   11093 fi
   11094 
   11095 
   11096 fi
   11097 
   11098 
   11099 fi
   11100 
   11101     ;;
   11102   esac
   11103 
   11104   if test "x$lt_cv_dlopen" != xno; then
   11105     enable_dlopen=yes
   11106   else
   11107     enable_dlopen=no
   11108   fi
   11109 
   11110   case $lt_cv_dlopen in
   11111   dlopen)
   11112     save_CPPFLAGS="$CPPFLAGS"
   11113     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11114 
   11115     save_LDFLAGS="$LDFLAGS"
   11116     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11117 
   11118     save_LIBS="$LIBS"
   11119     LIBS="$lt_cv_dlopen_libs $LIBS"
   11120 
   11121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11122 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11123 if test "${lt_cv_dlopen_self+set}" = set; then :
   11124   $as_echo_n "(cached) " >&6
   11125 else
   11126   	  if test "$cross_compiling" = yes; then :
   11127   lt_cv_dlopen_self=cross
   11128 else
   11129   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11130   lt_status=$lt_dlunknown
   11131   cat > conftest.$ac_ext <<_LT_EOF
   11132 #line 11132 "configure"
   11133 #include "confdefs.h"
   11134 
   11135 #if HAVE_DLFCN_H
   11136 #include <dlfcn.h>
   11137 #endif
   11138 
   11139 #include <stdio.h>
   11140 
   11141 #ifdef RTLD_GLOBAL
   11142 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11143 #else
   11144 #  ifdef DL_GLOBAL
   11145 #    define LT_DLGLOBAL		DL_GLOBAL
   11146 #  else
   11147 #    define LT_DLGLOBAL		0
   11148 #  endif
   11149 #endif
   11150 
   11151 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11152    find out it does not work in some platform. */
   11153 #ifndef LT_DLLAZY_OR_NOW
   11154 #  ifdef RTLD_LAZY
   11155 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11156 #  else
   11157 #    ifdef DL_LAZY
   11158 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11159 #    else
   11160 #      ifdef RTLD_NOW
   11161 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11162 #      else
   11163 #        ifdef DL_NOW
   11164 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11165 #        else
   11166 #          define LT_DLLAZY_OR_NOW	0
   11167 #        endif
   11168 #      endif
   11169 #    endif
   11170 #  endif
   11171 #endif
   11172 
   11173 void fnord() { int i=42;}
   11174 int main ()
   11175 {
   11176   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11177   int status = $lt_dlunknown;
   11178 
   11179   if (self)
   11180     {
   11181       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11182       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11183       /* dlclose (self); */
   11184     }
   11185   else
   11186     puts (dlerror ());
   11187 
   11188   return status;
   11189 }
   11190 _LT_EOF
   11191   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11192   (eval $ac_link) 2>&5
   11193   ac_status=$?
   11194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11195   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11196     (./conftest; exit; ) >&5 2>/dev/null
   11197     lt_status=$?
   11198     case x$lt_status in
   11199       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11200       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11201       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11202     esac
   11203   else :
   11204     # compilation failed
   11205     lt_cv_dlopen_self=no
   11206   fi
   11207 fi
   11208 rm -fr conftest*
   11209 
   11210 
   11211 fi
   11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11213 $as_echo "$lt_cv_dlopen_self" >&6; }
   11214 
   11215     if test "x$lt_cv_dlopen_self" = xyes; then
   11216       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11217       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11218 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11219 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   11220   $as_echo_n "(cached) " >&6
   11221 else
   11222   	  if test "$cross_compiling" = yes; then :
   11223   lt_cv_dlopen_self_static=cross
   11224 else
   11225   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11226   lt_status=$lt_dlunknown
   11227   cat > conftest.$ac_ext <<_LT_EOF
   11228 #line 11228 "configure"
   11229 #include "confdefs.h"
   11230 
   11231 #if HAVE_DLFCN_H
   11232 #include <dlfcn.h>
   11233 #endif
   11234 
   11235 #include <stdio.h>
   11236 
   11237 #ifdef RTLD_GLOBAL
   11238 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11239 #else
   11240 #  ifdef DL_GLOBAL
   11241 #    define LT_DLGLOBAL		DL_GLOBAL
   11242 #  else
   11243 #    define LT_DLGLOBAL		0
   11244 #  endif
   11245 #endif
   11246 
   11247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11248    find out it does not work in some platform. */
   11249 #ifndef LT_DLLAZY_OR_NOW
   11250 #  ifdef RTLD_LAZY
   11251 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11252 #  else
   11253 #    ifdef DL_LAZY
   11254 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11255 #    else
   11256 #      ifdef RTLD_NOW
   11257 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11258 #      else
   11259 #        ifdef DL_NOW
   11260 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11261 #        else
   11262 #          define LT_DLLAZY_OR_NOW	0
   11263 #        endif
   11264 #      endif
   11265 #    endif
   11266 #  endif
   11267 #endif
   11268 
   11269 void fnord() { int i=42;}
   11270 int main ()
   11271 {
   11272   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11273   int status = $lt_dlunknown;
   11274 
   11275   if (self)
   11276     {
   11277       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11278       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11279       /* dlclose (self); */
   11280     }
   11281   else
   11282     puts (dlerror ());
   11283 
   11284   return status;
   11285 }
   11286 _LT_EOF
   11287   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11288   (eval $ac_link) 2>&5
   11289   ac_status=$?
   11290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11291   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11292     (./conftest; exit; ) >&5 2>/dev/null
   11293     lt_status=$?
   11294     case x$lt_status in
   11295       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11296       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11297       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11298     esac
   11299   else :
   11300     # compilation failed
   11301     lt_cv_dlopen_self_static=no
   11302   fi
   11303 fi
   11304 rm -fr conftest*
   11305 
   11306 
   11307 fi
   11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11309 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11310     fi
   11311 
   11312     CPPFLAGS="$save_CPPFLAGS"
   11313     LDFLAGS="$save_LDFLAGS"
   11314     LIBS="$save_LIBS"
   11315     ;;
   11316   esac
   11317 
   11318   case $lt_cv_dlopen_self in
   11319   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11320   *) enable_dlopen_self=unknown ;;
   11321   esac
   11322 
   11323   case $lt_cv_dlopen_self_static in
   11324   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11325   *) enable_dlopen_self_static=unknown ;;
   11326   esac
   11327 fi
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 striplib=
   11346 old_striplib=
   11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11348 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11349 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11350   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11351   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11353 $as_echo "yes" >&6; }
   11354 else
   11355 # FIXME - insert some real tests, host_os isn't really good enough
   11356   case $host_os in
   11357   darwin*)
   11358     if test -n "$STRIP" ; then
   11359       striplib="$STRIP -x"
   11360       old_striplib="$STRIP -S"
   11361       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11362 $as_echo "yes" >&6; }
   11363     else
   11364       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11365 $as_echo "no" >&6; }
   11366     fi
   11367     ;;
   11368   *)
   11369     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11370 $as_echo "no" >&6; }
   11371     ;;
   11372   esac
   11373 fi
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386   # Report which library types will actually be built
   11387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11388 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11390 $as_echo "$can_build_shared" >&6; }
   11391 
   11392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11393 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11394   test "$can_build_shared" = "no" && enable_shared=no
   11395 
   11396   # On AIX, shared libraries and static libraries use the same namespace, and
   11397   # are all built from PIC.
   11398   case $host_os in
   11399   aix3*)
   11400     test "$enable_shared" = yes && enable_static=no
   11401     if test -n "$RANLIB"; then
   11402       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11403       postinstall_cmds='$RANLIB $lib'
   11404     fi
   11405     ;;
   11406 
   11407   aix[4-9]*)
   11408     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11409       test "$enable_shared" = yes && enable_static=no
   11410     fi
   11411     ;;
   11412   esac
   11413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11414 $as_echo "$enable_shared" >&6; }
   11415 
   11416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11417 $as_echo_n "checking whether to build static libraries... " >&6; }
   11418   # Make sure either enable_shared or enable_static is yes.
   11419   test "$enable_shared" = yes || enable_static=yes
   11420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11421 $as_echo "$enable_static" >&6; }
   11422 
   11423 
   11424 
   11425 
   11426 fi
   11427 ac_ext=c
   11428 ac_cpp='$CPP $CPPFLAGS'
   11429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11432 
   11433 CC="$lt_save_CC"
   11434 
   11435 
   11436 ac_ext=cpp
   11437 ac_cpp='$CXXCPP $CPPFLAGS'
   11438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11441 
   11442 archive_cmds_need_lc_CXX=no
   11443 allow_undefined_flag_CXX=
   11444 always_export_symbols_CXX=no
   11445 archive_expsym_cmds_CXX=
   11446 compiler_needs_object_CXX=no
   11447 export_dynamic_flag_spec_CXX=
   11448 hardcode_direct_CXX=no
   11449 hardcode_direct_absolute_CXX=no
   11450 hardcode_libdir_flag_spec_CXX=
   11451 hardcode_libdir_flag_spec_ld_CXX=
   11452 hardcode_libdir_separator_CXX=
   11453 hardcode_minus_L_CXX=no
   11454 hardcode_shlibpath_var_CXX=unsupported
   11455 hardcode_automatic_CXX=no
   11456 inherit_rpath_CXX=no
   11457 module_cmds_CXX=
   11458 module_expsym_cmds_CXX=
   11459 link_all_deplibs_CXX=unknown
   11460 old_archive_cmds_CXX=$old_archive_cmds
   11461 no_undefined_flag_CXX=
   11462 whole_archive_flag_spec_CXX=
   11463 enable_shared_with_static_runtimes_CXX=no
   11464 
   11465 # Source file extension for C++ test sources.
   11466 ac_ext=cpp
   11467 
   11468 # Object file extension for compiled C++ test sources.
   11469 objext=o
   11470 objext_CXX=$objext
   11471 
   11472 # No sense in running all these tests if we already determined that
   11473 # the CXX compiler isn't working.  Some variables (like enable_shared)
   11474 # are currently assumed to apply to all compilers on this platform,
   11475 # and will be corrupted by setting them based on a non-working compiler.
   11476 if test "$_lt_caught_CXX_error" != yes; then
   11477   # Code to be used in simple compile tests
   11478   lt_simple_compile_test_code="int some_variable = 0;"
   11479 
   11480   # Code to be used in simple link tests
   11481   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11482 
   11483   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 # If no C compiler was specified, use CC.
   11491 LTCC=${LTCC-"$CC"}
   11492 
   11493 # If no C compiler flags were specified, use CFLAGS.
   11494 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11495 
   11496 # Allow CC to be a program name with arguments.
   11497 compiler=$CC
   11498 
   11499 
   11500   # save warnings/boilerplate of simple test code
   11501   ac_outfile=conftest.$ac_objext
   11502 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11503 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11504 _lt_compiler_boilerplate=`cat conftest.err`
   11505 $RM conftest*
   11506 
   11507   ac_outfile=conftest.$ac_objext
   11508 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11509 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11510 _lt_linker_boilerplate=`cat conftest.err`
   11511 $RM -r conftest*
   11512 
   11513 
   11514   # Allow CC to be a program name with arguments.
   11515   lt_save_CC=$CC
   11516   lt_save_LD=$LD
   11517   lt_save_GCC=$GCC
   11518   GCC=$GXX
   11519   lt_save_with_gnu_ld=$with_gnu_ld
   11520   lt_save_path_LD=$lt_cv_path_LD
   11521   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11522     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11523   else
   11524     $as_unset lt_cv_prog_gnu_ld
   11525   fi
   11526   if test -n "${lt_cv_path_LDCXX+set}"; then
   11527     lt_cv_path_LD=$lt_cv_path_LDCXX
   11528   else
   11529     $as_unset lt_cv_path_LD
   11530   fi
   11531   test -z "${LDCXX+set}" || LD=$LDCXX
   11532   CC=${CXX-"c++"}
   11533   compiler=$CC
   11534   compiler_CXX=$CC
   11535   for cc_temp in $compiler""; do
   11536   case $cc_temp in
   11537     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11538     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11539     \-*) ;;
   11540     *) break;;
   11541   esac
   11542 done
   11543 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11544 
   11545 
   11546   if test -n "$compiler"; then
   11547     # We don't want -fno-exception when compiling C++ code, so set the
   11548     # no_builtin_flag separately
   11549     if test "$GXX" = yes; then
   11550       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11551     else
   11552       lt_prog_compiler_no_builtin_flag_CXX=
   11553     fi
   11554 
   11555     if test "$GXX" = yes; then
   11556       # Set up default GNU C++ configuration
   11557 
   11558 
   11559 
   11560 # Check whether --with-gnu-ld was given.
   11561 if test "${with_gnu_ld+set}" = set; then :
   11562   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11563 else
   11564   with_gnu_ld=no
   11565 fi
   11566 
   11567 ac_prog=ld
   11568 if test "$GCC" = yes; then
   11569   # Check if gcc -print-prog-name=ld gives a path.
   11570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11571 $as_echo_n "checking for ld used by $CC... " >&6; }
   11572   case $host in
   11573   *-*-mingw*)
   11574     # gcc leaves a trailing carriage return which upsets mingw
   11575     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11576   *)
   11577     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11578   esac
   11579   case $ac_prog in
   11580     # Accept absolute paths.
   11581     [\\/]* | ?:[\\/]*)
   11582       re_direlt='/[^/][^/]*/\.\./'
   11583       # Canonicalize the pathname of ld
   11584       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11585       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11586 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11587       done
   11588       test -z "$LD" && LD="$ac_prog"
   11589       ;;
   11590   "")
   11591     # If it fails, then pretend we aren't using GCC.
   11592     ac_prog=ld
   11593     ;;
   11594   *)
   11595     # If it is relative, then search for the first ld in PATH.
   11596     with_gnu_ld=unknown
   11597     ;;
   11598   esac
   11599 elif test "$with_gnu_ld" = yes; then
   11600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11601 $as_echo_n "checking for GNU ld... " >&6; }
   11602 else
   11603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11604 $as_echo_n "checking for non-GNU ld... " >&6; }
   11605 fi
   11606 if test "${lt_cv_path_LD+set}" = set; then :
   11607   $as_echo_n "(cached) " >&6
   11608 else
   11609   if test -z "$LD"; then
   11610   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11611   for ac_dir in $PATH; do
   11612     IFS="$lt_save_ifs"
   11613     test -z "$ac_dir" && ac_dir=.
   11614     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11615       lt_cv_path_LD="$ac_dir/$ac_prog"
   11616       # Check to see if the program is GNU ld.  I'd rather use --version,
   11617       # but apparently some variants of GNU ld only accept -v.
   11618       # Break only if it was the GNU/non-GNU ld that we prefer.
   11619       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11620       *GNU* | *'with BFD'*)
   11621 	test "$with_gnu_ld" != no && break
   11622 	;;
   11623       *)
   11624 	test "$with_gnu_ld" != yes && break
   11625 	;;
   11626       esac
   11627     fi
   11628   done
   11629   IFS="$lt_save_ifs"
   11630 else
   11631   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11632 fi
   11633 fi
   11634 
   11635 LD="$lt_cv_path_LD"
   11636 if test -n "$LD"; then
   11637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11638 $as_echo "$LD" >&6; }
   11639 else
   11640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11641 $as_echo "no" >&6; }
   11642 fi
   11643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   11647   $as_echo_n "(cached) " >&6
   11648 else
   11649   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11650 case `$LD -v 2>&1 </dev/null` in
   11651 *GNU* | *'with BFD'*)
   11652   lt_cv_prog_gnu_ld=yes
   11653   ;;
   11654 *)
   11655   lt_cv_prog_gnu_ld=no
   11656   ;;
   11657 esac
   11658 fi
   11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11661 with_gnu_ld=$lt_cv_prog_gnu_ld
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11670       # archiving commands below assume that GNU ld is being used.
   11671       if test "$with_gnu_ld" = yes; then
   11672         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11673         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11674 
   11675         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11676         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11677 
   11678         # If archive_cmds runs LD, not CC, wlarc should be empty
   11679         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11680         #     investigate it a little bit more. (MM)
   11681         wlarc='${wl}'
   11682 
   11683         # ancient GNU ld didn't support --whole-archive et. al.
   11684         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   11685 	  $GREP 'no-whole-archive' > /dev/null; then
   11686           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11687         else
   11688           whole_archive_flag_spec_CXX=
   11689         fi
   11690       else
   11691         with_gnu_ld=no
   11692         wlarc=
   11693 
   11694         # A generic and very simple default shared library creation
   11695         # command for GNU C++ for the case where it uses the native
   11696         # linker, instead of GNU ld.  If possible, this setting should
   11697         # overridden to take advantage of the native linker features on
   11698         # the platform it is being used on.
   11699         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11700       fi
   11701 
   11702       # Commands to make compiler produce verbose output that lists
   11703       # what "hidden" libraries, object files and flags are used when
   11704       # linking a shared library.
   11705       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
   11706 
   11707     else
   11708       GXX=no
   11709       with_gnu_ld=no
   11710       wlarc=
   11711     fi
   11712 
   11713     # PORTME: fill in a description of your system's C++ link characteristics
   11714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11715 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11716     ld_shlibs_CXX=yes
   11717     case $host_os in
   11718       aix3*)
   11719         # FIXME: insert proper C++ library support
   11720         ld_shlibs_CXX=no
   11721         ;;
   11722       aix[4-9]*)
   11723         if test "$host_cpu" = ia64; then
   11724           # On IA64, the linker does run time linking by default, so we don't
   11725           # have to do anything special.
   11726           aix_use_runtimelinking=no
   11727           exp_sym_flag='-Bexport'
   11728           no_entry_flag=""
   11729         else
   11730           aix_use_runtimelinking=no
   11731 
   11732           # Test if we are trying to use run time linking or normal
   11733           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11734           # need to do runtime linking.
   11735           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11736 	    for ld_flag in $LDFLAGS; do
   11737 	      case $ld_flag in
   11738 	      *-brtl*)
   11739 	        aix_use_runtimelinking=yes
   11740 	        break
   11741 	        ;;
   11742 	      esac
   11743 	    done
   11744 	    ;;
   11745           esac
   11746 
   11747           exp_sym_flag='-bexport'
   11748           no_entry_flag='-bnoentry'
   11749         fi
   11750 
   11751         # When large executables or shared objects are built, AIX ld can
   11752         # have problems creating the table of contents.  If linking a library
   11753         # or program results in "error TOC overflow" add -mminimal-toc to
   11754         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11755         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11756 
   11757         archive_cmds_CXX=''
   11758         hardcode_direct_CXX=yes
   11759         hardcode_direct_absolute_CXX=yes
   11760         hardcode_libdir_separator_CXX=':'
   11761         link_all_deplibs_CXX=yes
   11762         file_list_spec_CXX='${wl}-f,'
   11763 
   11764         if test "$GXX" = yes; then
   11765           case $host_os in aix4.[012]|aix4.[012].*)
   11766           # We only want to do this on AIX 4.2 and lower, the check
   11767           # below for broken collect2 doesn't work under 4.3+
   11768 	  collect2name=`${CC} -print-prog-name=collect2`
   11769 	  if test -f "$collect2name" &&
   11770 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11771 	  then
   11772 	    # We have reworked collect2
   11773 	    :
   11774 	  else
   11775 	    # We have old collect2
   11776 	    hardcode_direct_CXX=unsupported
   11777 	    # It fails to find uninstalled libraries when the uninstalled
   11778 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   11779 	    # to unsupported forces relinking
   11780 	    hardcode_minus_L_CXX=yes
   11781 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   11782 	    hardcode_libdir_separator_CXX=
   11783 	  fi
   11784           esac
   11785           shared_flag='-shared'
   11786 	  if test "$aix_use_runtimelinking" = yes; then
   11787 	    shared_flag="$shared_flag "'${wl}-G'
   11788 	  fi
   11789         else
   11790           # not using gcc
   11791           if test "$host_cpu" = ia64; then
   11792 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11793 	  # chokes on -Wl,-G. The following line is correct:
   11794 	  shared_flag='-G'
   11795           else
   11796 	    if test "$aix_use_runtimelinking" = yes; then
   11797 	      shared_flag='${wl}-G'
   11798 	    else
   11799 	      shared_flag='${wl}-bM:SRE'
   11800 	    fi
   11801           fi
   11802         fi
   11803 
   11804         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   11805         # It seems that -bexpall does not export symbols beginning with
   11806         # underscore (_), so it is better to generate a list of symbols to
   11807 	# export.
   11808         always_export_symbols_CXX=yes
   11809         if test "$aix_use_runtimelinking" = yes; then
   11810           # Warning - without using the other runtime loading flags (-brtl),
   11811           # -berok will link without error, but may produce a broken library.
   11812           allow_undefined_flag_CXX='-berok'
   11813           # Determine the default libpath from the value encoded in an empty
   11814           # executable.
   11815           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11816 /* end confdefs.h.  */
   11817 
   11818 int
   11819 main ()
   11820 {
   11821 
   11822   ;
   11823   return 0;
   11824 }
   11825 _ACEOF
   11826 if ac_fn_cxx_try_link "$LINENO"; then :
   11827 
   11828 lt_aix_libpath_sed='
   11829     /Import File Strings/,/^$/ {
   11830 	/^0/ {
   11831 	    s/^0  *\(.*\)$/\1/
   11832 	    p
   11833 	}
   11834     }'
   11835 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11836 # Check for a 64-bit object if we didn't find anything.
   11837 if test -z "$aix_libpath"; then
   11838   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11839 fi
   11840 fi
   11841 rm -f core conftest.err conftest.$ac_objext \
   11842     conftest$ac_exeext conftest.$ac_ext
   11843 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11844 
   11845           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11846 
   11847           archive_expsym_cmds_CXX='$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"
   11848         else
   11849           if test "$host_cpu" = ia64; then
   11850 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11851 	    allow_undefined_flag_CXX="-z nodefs"
   11852 	    archive_expsym_cmds_CXX="\$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"
   11853           else
   11854 	    # Determine the default libpath from the value encoded in an
   11855 	    # empty executable.
   11856 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11857 /* end confdefs.h.  */
   11858 
   11859 int
   11860 main ()
   11861 {
   11862 
   11863   ;
   11864   return 0;
   11865 }
   11866 _ACEOF
   11867 if ac_fn_cxx_try_link "$LINENO"; then :
   11868 
   11869 lt_aix_libpath_sed='
   11870     /Import File Strings/,/^$/ {
   11871 	/^0/ {
   11872 	    s/^0  *\(.*\)$/\1/
   11873 	    p
   11874 	}
   11875     }'
   11876 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11877 # Check for a 64-bit object if we didn't find anything.
   11878 if test -z "$aix_libpath"; then
   11879   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11880 fi
   11881 fi
   11882 rm -f core conftest.err conftest.$ac_objext \
   11883     conftest$ac_exeext conftest.$ac_ext
   11884 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11885 
   11886 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11887 	    # Warning - without using the other run time loading flags,
   11888 	    # -berok will link without error, but may produce a broken library.
   11889 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   11890 	    allow_undefined_flag_CXX=' ${wl}-berok'
   11891 	    # Exported symbols can be pulled into shared objects from archives
   11892 	    whole_archive_flag_spec_CXX='$convenience'
   11893 	    archive_cmds_need_lc_CXX=yes
   11894 	    # This is similar to how AIX traditionally builds its shared
   11895 	    # libraries.
   11896 	    archive_expsym_cmds_CXX="\$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'
   11897           fi
   11898         fi
   11899         ;;
   11900 
   11901       beos*)
   11902 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11903 	  allow_undefined_flag_CXX=unsupported
   11904 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11905 	  # support --undefined.  This deserves some investigation.  FIXME
   11906 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11907 	else
   11908 	  ld_shlibs_CXX=no
   11909 	fi
   11910 	;;
   11911 
   11912       chorus*)
   11913         case $cc_basename in
   11914           *)
   11915 	  # FIXME: insert proper C++ library support
   11916 	  ld_shlibs_CXX=no
   11917 	  ;;
   11918         esac
   11919         ;;
   11920 
   11921       cygwin* | mingw* | pw32* | cegcc*)
   11922         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11923         # as there is no search path for DLLs.
   11924         hardcode_libdir_flag_spec_CXX='-L$libdir'
   11925         allow_undefined_flag_CXX=unsupported
   11926         always_export_symbols_CXX=no
   11927         enable_shared_with_static_runtimes_CXX=yes
   11928 
   11929         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11930           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11931           # If the export-symbols file already is a .def file (1st line
   11932           # is EXPORTS), use it as is; otherwise, prepend...
   11933           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11934 	    cp $export_symbols $output_objdir/$soname.def;
   11935           else
   11936 	    echo EXPORTS > $output_objdir/$soname.def;
   11937 	    cat $export_symbols >> $output_objdir/$soname.def;
   11938           fi~
   11939           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11940         else
   11941           ld_shlibs_CXX=no
   11942         fi
   11943         ;;
   11944       darwin* | rhapsody*)
   11945 
   11946 
   11947   archive_cmds_need_lc_CXX=no
   11948   hardcode_direct_CXX=no
   11949   hardcode_automatic_CXX=yes
   11950   hardcode_shlibpath_var_CXX=unsupported
   11951   whole_archive_flag_spec_CXX=''
   11952   link_all_deplibs_CXX=yes
   11953   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11954   case $cc_basename in
   11955      ifort*) _lt_dar_can_shared=yes ;;
   11956      *) _lt_dar_can_shared=$GCC ;;
   11957   esac
   11958   if test "$_lt_dar_can_shared" = "yes"; then
   11959     output_verbose_link_cmd=echo
   11960     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11961     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11962     archive_expsym_cmds_CXX="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}"
   11963     module_expsym_cmds_CXX="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}"
   11964        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11965       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   11966       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   11967     fi
   11968 
   11969   else
   11970   ld_shlibs_CXX=no
   11971   fi
   11972 
   11973 	;;
   11974 
   11975       dgux*)
   11976         case $cc_basename in
   11977           ec++*)
   11978 	    # FIXME: insert proper C++ library support
   11979 	    ld_shlibs_CXX=no
   11980 	    ;;
   11981           ghcx*)
   11982 	    # Green Hills C++ Compiler
   11983 	    # FIXME: insert proper C++ library support
   11984 	    ld_shlibs_CXX=no
   11985 	    ;;
   11986           *)
   11987 	    # FIXME: insert proper C++ library support
   11988 	    ld_shlibs_CXX=no
   11989 	    ;;
   11990         esac
   11991         ;;
   11992 
   11993       freebsd[12]*)
   11994         # C++ shared libraries reported to be fairly broken before
   11995 	# switch to ELF
   11996         ld_shlibs_CXX=no
   11997         ;;
   11998 
   11999       freebsd-elf*)
   12000         archive_cmds_need_lc_CXX=no
   12001         ;;
   12002 
   12003       freebsd* | dragonfly*)
   12004         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   12005         # conventions
   12006         ld_shlibs_CXX=yes
   12007         ;;
   12008 
   12009       gnu*)
   12010         ;;
   12011 
   12012       hpux9*)
   12013         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12014         hardcode_libdir_separator_CXX=:
   12015         export_dynamic_flag_spec_CXX='${wl}-E'
   12016         hardcode_direct_CXX=yes
   12017         hardcode_minus_L_CXX=yes # Not in the search PATH,
   12018 				             # but as the default
   12019 				             # location of the library.
   12020 
   12021         case $cc_basename in
   12022           CC*)
   12023             # FIXME: insert proper C++ library support
   12024             ld_shlibs_CXX=no
   12025             ;;
   12026           aCC*)
   12027             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   12028             # Commands to make compiler produce verbose output that lists
   12029             # what "hidden" libraries, object files and flags are used when
   12030             # linking a shared library.
   12031             #
   12032             # There doesn't appear to be a way to prevent this compiler from
   12033             # explicitly linking system object files so we need to strip them
   12034             # from the output so that they don't get included in the library
   12035             # dependencies.
   12036             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
   12037             ;;
   12038           *)
   12039             if test "$GXX" = yes; then
   12040               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   12041             else
   12042               # FIXME: insert proper C++ library support
   12043               ld_shlibs_CXX=no
   12044             fi
   12045             ;;
   12046         esac
   12047         ;;
   12048 
   12049       hpux10*|hpux11*)
   12050         if test $with_gnu_ld = no; then
   12051 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12052 	  hardcode_libdir_separator_CXX=:
   12053 
   12054           case $host_cpu in
   12055             hppa*64*|ia64*)
   12056               ;;
   12057             *)
   12058 	      export_dynamic_flag_spec_CXX='${wl}-E'
   12059               ;;
   12060           esac
   12061         fi
   12062         case $host_cpu in
   12063           hppa*64*|ia64*)
   12064             hardcode_direct_CXX=no
   12065             hardcode_shlibpath_var_CXX=no
   12066             ;;
   12067           *)
   12068             hardcode_direct_CXX=yes
   12069             hardcode_direct_absolute_CXX=yes
   12070             hardcode_minus_L_CXX=yes # Not in the search PATH,
   12071 					         # but as the default
   12072 					         # location of the library.
   12073             ;;
   12074         esac
   12075 
   12076         case $cc_basename in
   12077           CC*)
   12078 	    # FIXME: insert proper C++ library support
   12079 	    ld_shlibs_CXX=no
   12080 	    ;;
   12081           aCC*)
   12082 	    case $host_cpu in
   12083 	      hppa*64*)
   12084 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12085 	        ;;
   12086 	      ia64*)
   12087 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12088 	        ;;
   12089 	      *)
   12090 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12091 	        ;;
   12092 	    esac
   12093 	    # Commands to make compiler produce verbose output that lists
   12094 	    # what "hidden" libraries, object files and flags are used when
   12095 	    # linking a shared library.
   12096 	    #
   12097 	    # There doesn't appear to be a way to prevent this compiler from
   12098 	    # explicitly linking system object files so we need to strip them
   12099 	    # from the output so that they don't get included in the library
   12100 	    # dependencies.
   12101 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
   12102 	    ;;
   12103           *)
   12104 	    if test "$GXX" = yes; then
   12105 	      if test $with_gnu_ld = no; then
   12106 	        case $host_cpu in
   12107 	          hppa*64*)
   12108 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12109 	            ;;
   12110 	          ia64*)
   12111 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12112 	            ;;
   12113 	          *)
   12114 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12115 	            ;;
   12116 	        esac
   12117 	      fi
   12118 	    else
   12119 	      # FIXME: insert proper C++ library support
   12120 	      ld_shlibs_CXX=no
   12121 	    fi
   12122 	    ;;
   12123         esac
   12124         ;;
   12125 
   12126       interix[3-9]*)
   12127 	hardcode_direct_CXX=no
   12128 	hardcode_shlibpath_var_CXX=no
   12129 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12130 	export_dynamic_flag_spec_CXX='${wl}-E'
   12131 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12132 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   12133 	# default) and relocated if they conflict, which is a slow very memory
   12134 	# consuming and fragmenting process.  To avoid this, we pick a random,
   12135 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12136 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12137 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   12138 	archive_expsym_cmds_CXX='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'
   12139 	;;
   12140       irix5* | irix6*)
   12141         case $cc_basename in
   12142           CC*)
   12143 	    # SGI C++
   12144 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   12145 
   12146 	    # Archives containing C++ object files must be created using
   12147 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12148 	    # necessary to make sure instantiated templates are included
   12149 	    # in the archive.
   12150 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12151 	    ;;
   12152           *)
   12153 	    if test "$GXX" = yes; then
   12154 	      if test "$with_gnu_ld" = no; then
   12155 	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
   12156 	      else
   12157 	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
   12158 	      fi
   12159 	    fi
   12160 	    link_all_deplibs_CXX=yes
   12161 	    ;;
   12162         esac
   12163         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12164         hardcode_libdir_separator_CXX=:
   12165         inherit_rpath_CXX=yes
   12166         ;;
   12167 
   12168       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12169         case $cc_basename in
   12170           KCC*)
   12171 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12172 
   12173 	    # KCC will only create a shared library if the output file
   12174 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12175 	    # to its proper name (with version) after linking.
   12176 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12177 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   12178 	    # Commands to make compiler produce verbose output that lists
   12179 	    # what "hidden" libraries, object files and flags are used when
   12180 	    # linking a shared library.
   12181 	    #
   12182 	    # There doesn't appear to be a way to prevent this compiler from
   12183 	    # explicitly linking system object files so we need to strip them
   12184 	    # from the output so that they don't get included in the library
   12185 	    # dependencies.
   12186 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
   12187 
   12188 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12189 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12190 
   12191 	    # Archives containing C++ object files must be created using
   12192 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12193 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12194 	    ;;
   12195 	  icpc* | ecpc* )
   12196 	    # Intel C++
   12197 	    with_gnu_ld=yes
   12198 	    # version 8.0 and above of icpc choke on multiply defined symbols
   12199 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   12200 	    # earlier do not add the objects themselves.
   12201 	    case `$CC -V 2>&1` in
   12202 	      *"Version 7."*)
   12203 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12204 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12205 		;;
   12206 	      *)  # Version 8.0 or newer
   12207 	        tmp_idyn=
   12208 	        case $host_cpu in
   12209 		  ia64*) tmp_idyn=' -i_dynamic';;
   12210 		esac
   12211 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12212 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12213 		;;
   12214 	    esac
   12215 	    archive_cmds_need_lc_CXX=no
   12216 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12217 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12218 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12219 	    ;;
   12220           pgCC* | pgcpp*)
   12221             # Portland Group C++ compiler
   12222 	    case `$CC -V` in
   12223 	    *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
   12224 	      prelink_cmds_CXX='tpldir=Template.dir~
   12225 		rm -rf $tpldir~
   12226 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   12227 		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
   12228 	      old_archive_cmds_CXX='tpldir=Template.dir~
   12229 		rm -rf $tpldir~
   12230 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   12231 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
   12232 		$RANLIB $oldlib'
   12233 	      archive_cmds_CXX='tpldir=Template.dir~
   12234 		rm -rf $tpldir~
   12235 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12236 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12237 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   12238 		rm -rf $tpldir~
   12239 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12240 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12241 	      ;;
   12242 	    *) # Version 6 will use weak symbols
   12243 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12244 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12245 	      ;;
   12246 	    esac
   12247 
   12248 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12249 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12250 	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   12251             ;;
   12252 	  cxx*)
   12253 	    # Compaq C++
   12254 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12255 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   12256 
   12257 	    runpath_var=LD_RUN_PATH
   12258 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12259 	    hardcode_libdir_separator_CXX=:
   12260 
   12261 	    # Commands to make compiler produce verbose output that lists
   12262 	    # what "hidden" libraries, object files and flags are used when
   12263 	    # linking a shared library.
   12264 	    #
   12265 	    # There doesn't appear to be a way to prevent this compiler from
   12266 	    # explicitly linking system object files so we need to strip them
   12267 	    # from the output so that they don't get included in the library
   12268 	    # dependencies.
   12269 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
   12270 	    ;;
   12271 	  xl*)
   12272 	    # IBM XL 8.0 on PPC, with GNU ld
   12273 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12274 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12275 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12276 	    if test "x$supports_anon_versioning" = xyes; then
   12277 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   12278 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   12279 		echo "local: *; };" >> $output_objdir/$libname.ver~
   12280 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   12281 	    fi
   12282 	    ;;
   12283 	  *)
   12284 	    case `$CC -V 2>&1 | sed 5q` in
   12285 	    *Sun\ C*)
   12286 	      # Sun C++ 5.9
   12287 	      no_undefined_flag_CXX=' -zdefs'
   12288 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12289 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12290 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   12291 	      whole_archive_flag_spec_CXX='${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'
   12292 	      compiler_needs_object_CXX=yes
   12293 
   12294 	      # Not sure whether something based on
   12295 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12296 	      # would be better.
   12297 	      output_verbose_link_cmd='echo'
   12298 
   12299 	      # Archives containing C++ object files must be created using
   12300 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12301 	      # necessary to make sure instantiated templates are included
   12302 	      # in the archive.
   12303 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12304 	      ;;
   12305 	    esac
   12306 	    ;;
   12307 	esac
   12308 	;;
   12309 
   12310       lynxos*)
   12311         # FIXME: insert proper C++ library support
   12312 	ld_shlibs_CXX=no
   12313 	;;
   12314 
   12315       m88k*)
   12316         # FIXME: insert proper C++ library support
   12317         ld_shlibs_CXX=no
   12318 	;;
   12319 
   12320       mvs*)
   12321         case $cc_basename in
   12322           cxx*)
   12323 	    # FIXME: insert proper C++ library support
   12324 	    ld_shlibs_CXX=no
   12325 	    ;;
   12326 	  *)
   12327 	    # FIXME: insert proper C++ library support
   12328 	    ld_shlibs_CXX=no
   12329 	    ;;
   12330 	esac
   12331 	;;
   12332 
   12333       netbsd*)
   12334         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12335 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12336 	  wlarc=
   12337 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12338 	  hardcode_direct_CXX=yes
   12339 	  hardcode_shlibpath_var_CXX=no
   12340 	fi
   12341 	# Workaround some broken pre-1.5 toolchains
   12342 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12343 	;;
   12344 
   12345       *nto* | *qnx*)
   12346         ld_shlibs_CXX=yes
   12347 	;;
   12348 
   12349       openbsd2*)
   12350         # C++ shared libraries are fairly broken
   12351 	ld_shlibs_CXX=no
   12352 	;;
   12353 
   12354       openbsd*)
   12355 	if test -f /usr/libexec/ld.so; then
   12356 	  hardcode_direct_CXX=yes
   12357 	  hardcode_shlibpath_var_CXX=no
   12358 	  hardcode_direct_absolute_CXX=yes
   12359 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12360 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12361 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12362 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12363 	    export_dynamic_flag_spec_CXX='${wl}-E'
   12364 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12365 	  fi
   12366 	  output_verbose_link_cmd=echo
   12367 	else
   12368 	  ld_shlibs_CXX=no
   12369 	fi
   12370 	;;
   12371 
   12372       osf3* | osf4* | osf5*)
   12373         case $cc_basename in
   12374           KCC*)
   12375 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12376 
   12377 	    # KCC will only create a shared library if the output file
   12378 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12379 	    # to its proper name (with version) after linking.
   12380 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12381 
   12382 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12383 	    hardcode_libdir_separator_CXX=:
   12384 
   12385 	    # Archives containing C++ object files must be created using
   12386 	    # the KAI C++ compiler.
   12387 	    case $host in
   12388 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   12389 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   12390 	    esac
   12391 	    ;;
   12392           RCC*)
   12393 	    # Rational C++ 2.4.1
   12394 	    # FIXME: insert proper C++ library support
   12395 	    ld_shlibs_CXX=no
   12396 	    ;;
   12397           cxx*)
   12398 	    case $host in
   12399 	      osf3*)
   12400 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12401 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   12402 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12403 		;;
   12404 	      *)
   12405 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   12406 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   12407 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12408 	          echo "-hidden">> $lib.exp~
   12409 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
   12410 	          $RM $lib.exp'
   12411 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12412 		;;
   12413 	    esac
   12414 
   12415 	    hardcode_libdir_separator_CXX=:
   12416 
   12417 	    # Commands to make compiler produce verbose output that lists
   12418 	    # what "hidden" libraries, object files and flags are used when
   12419 	    # linking a shared library.
   12420 	    #
   12421 	    # There doesn't appear to be a way to prevent this compiler from
   12422 	    # explicitly linking system object files so we need to strip them
   12423 	    # from the output so that they don't get included in the library
   12424 	    # dependencies.
   12425 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
   12426 	    ;;
   12427 	  *)
   12428 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12429 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12430 	      case $host in
   12431 	        osf3*)
   12432 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
   12433 		  ;;
   12434 	        *)
   12435 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12436 		  ;;
   12437 	      esac
   12438 
   12439 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12440 	      hardcode_libdir_separator_CXX=:
   12441 
   12442 	      # Commands to make compiler produce verbose output that lists
   12443 	      # what "hidden" libraries, object files and flags are used when
   12444 	      # linking a shared library.
   12445 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
   12446 
   12447 	    else
   12448 	      # FIXME: insert proper C++ library support
   12449 	      ld_shlibs_CXX=no
   12450 	    fi
   12451 	    ;;
   12452         esac
   12453         ;;
   12454 
   12455       psos*)
   12456         # FIXME: insert proper C++ library support
   12457         ld_shlibs_CXX=no
   12458         ;;
   12459 
   12460       sunos4*)
   12461         case $cc_basename in
   12462           CC*)
   12463 	    # Sun C++ 4.x
   12464 	    # FIXME: insert proper C++ library support
   12465 	    ld_shlibs_CXX=no
   12466 	    ;;
   12467           lcc*)
   12468 	    # Lucid
   12469 	    # FIXME: insert proper C++ library support
   12470 	    ld_shlibs_CXX=no
   12471 	    ;;
   12472           *)
   12473 	    # FIXME: insert proper C++ library support
   12474 	    ld_shlibs_CXX=no
   12475 	    ;;
   12476         esac
   12477         ;;
   12478 
   12479       solaris*)
   12480         case $cc_basename in
   12481           CC*)
   12482 	    # Sun C++ 4.2, 5.x and Centerline C++
   12483             archive_cmds_need_lc_CXX=yes
   12484 	    no_undefined_flag_CXX=' -zdefs'
   12485 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12486 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12487 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   12488 
   12489 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   12490 	    hardcode_shlibpath_var_CXX=no
   12491 	    case $host_os in
   12492 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   12493 	      *)
   12494 		# The compiler driver will combine and reorder linker options,
   12495 		# but understands `-z linker_flag'.
   12496 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   12497 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12498 	        ;;
   12499 	    esac
   12500 	    link_all_deplibs_CXX=yes
   12501 
   12502 	    output_verbose_link_cmd='echo'
   12503 
   12504 	    # Archives containing C++ object files must be created using
   12505 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12506 	    # necessary to make sure instantiated templates are included
   12507 	    # in the archive.
   12508 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12509 	    ;;
   12510           gcx*)
   12511 	    # Green Hills C++ Compiler
   12512 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12513 
   12514 	    # The C++ compiler must be used to create the archive.
   12515 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12516 	    ;;
   12517           *)
   12518 	    # GNU C++ compiler with Solaris linker
   12519 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12520 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12521 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   12522 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12523 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12524 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   12525 
   12526 	        # Commands to make compiler produce verbose output that lists
   12527 	        # what "hidden" libraries, object files and flags are used when
   12528 	        # linking a shared library.
   12529 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
   12530 	      else
   12531 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12532 	        # platform.
   12533 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12534 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12535 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   12536 
   12537 	        # Commands to make compiler produce verbose output that lists
   12538 	        # what "hidden" libraries, object files and flags are used when
   12539 	        # linking a shared library.
   12540 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
   12541 	      fi
   12542 
   12543 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12544 	      case $host_os in
   12545 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   12546 		*)
   12547 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12548 		  ;;
   12549 	      esac
   12550 	    fi
   12551 	    ;;
   12552         esac
   12553         ;;
   12554 
   12555     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12556       no_undefined_flag_CXX='${wl}-z,text'
   12557       archive_cmds_need_lc_CXX=no
   12558       hardcode_shlibpath_var_CXX=no
   12559       runpath_var='LD_RUN_PATH'
   12560 
   12561       case $cc_basename in
   12562         CC*)
   12563 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12564 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12565 	  ;;
   12566 	*)
   12567 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12568 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12569 	  ;;
   12570       esac
   12571       ;;
   12572 
   12573       sysv5* | sco3.2v5* | sco5v6*)
   12574 	# Note: We can NOT use -z defs as we might desire, because we do not
   12575 	# link with -lc, and that would cause any symbols used from libc to
   12576 	# always be unresolved, which means just about no library would
   12577 	# ever link correctly.  If we're not using GNU ld we use -z text
   12578 	# though, which does catch some bad symbols but isn't as heavy-handed
   12579 	# as -z defs.
   12580 	no_undefined_flag_CXX='${wl}-z,text'
   12581 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   12582 	archive_cmds_need_lc_CXX=no
   12583 	hardcode_shlibpath_var_CXX=no
   12584 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   12585 	hardcode_libdir_separator_CXX=':'
   12586 	link_all_deplibs_CXX=yes
   12587 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12588 	runpath_var='LD_RUN_PATH'
   12589 
   12590 	case $cc_basename in
   12591           CC*)
   12592 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12593 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12594 	    ;;
   12595 	  *)
   12596 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12597 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12598 	    ;;
   12599 	esac
   12600       ;;
   12601 
   12602       tandem*)
   12603         case $cc_basename in
   12604           NCC*)
   12605 	    # NonStop-UX NCC 3.20
   12606 	    # FIXME: insert proper C++ library support
   12607 	    ld_shlibs_CXX=no
   12608 	    ;;
   12609           *)
   12610 	    # FIXME: insert proper C++ library support
   12611 	    ld_shlibs_CXX=no
   12612 	    ;;
   12613         esac
   12614         ;;
   12615 
   12616       vxworks*)
   12617         # FIXME: insert proper C++ library support
   12618         ld_shlibs_CXX=no
   12619         ;;
   12620 
   12621       *)
   12622         # FIXME: insert proper C++ library support
   12623         ld_shlibs_CXX=no
   12624         ;;
   12625     esac
   12626 
   12627     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   12628 $as_echo "$ld_shlibs_CXX" >&6; }
   12629     test "$ld_shlibs_CXX" = no && can_build_shared=no
   12630 
   12631     GCC_CXX="$GXX"
   12632     LD_CXX="$LD"
   12633 
   12634     ## CAVEAT EMPTOR:
   12635     ## There is no encapsulation within the following macros, do not change
   12636     ## the running order or otherwise move them around unless you know exactly
   12637     ## what you are doing...
   12638     # Dependencies to place before and after the object being linked:
   12639 predep_objects_CXX=
   12640 postdep_objects_CXX=
   12641 predeps_CXX=
   12642 postdeps_CXX=
   12643 compiler_lib_search_path_CXX=
   12644 
   12645 cat > conftest.$ac_ext <<_LT_EOF
   12646 class Foo
   12647 {
   12648 public:
   12649   Foo (void) { a = 0; }
   12650 private:
   12651   int a;
   12652 };
   12653 _LT_EOF
   12654 
   12655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12656   (eval $ac_compile) 2>&5
   12657   ac_status=$?
   12658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12659   test $ac_status = 0; }; then
   12660   # Parse the compiler output and extract the necessary
   12661   # objects, libraries and library flags.
   12662 
   12663   # Sentinel used to keep track of whether or not we are before
   12664   # the conftest object file.
   12665   pre_test_object_deps_done=no
   12666 
   12667   for p in `eval "$output_verbose_link_cmd"`; do
   12668     case $p in
   12669 
   12670     -L* | -R* | -l*)
   12671        # Some compilers place space between "-{L,R}" and the path.
   12672        # Remove the space.
   12673        if test $p = "-L" ||
   12674           test $p = "-R"; then
   12675 	 prev=$p
   12676 	 continue
   12677        else
   12678 	 prev=
   12679        fi
   12680 
   12681        if test "$pre_test_object_deps_done" = no; then
   12682 	 case $p in
   12683 	 -L* | -R*)
   12684 	   # Internal compiler library paths should come after those
   12685 	   # provided the user.  The postdeps already come after the
   12686 	   # user supplied libs so there is no need to process them.
   12687 	   if test -z "$compiler_lib_search_path_CXX"; then
   12688 	     compiler_lib_search_path_CXX="${prev}${p}"
   12689 	   else
   12690 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12691 	   fi
   12692 	   ;;
   12693 	 # The "-l" case would never come before the object being
   12694 	 # linked, so don't bother handling this case.
   12695 	 esac
   12696        else
   12697 	 if test -z "$postdeps_CXX"; then
   12698 	   postdeps_CXX="${prev}${p}"
   12699 	 else
   12700 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12701 	 fi
   12702        fi
   12703        ;;
   12704 
   12705     *.$objext)
   12706        # This assumes that the test object file only shows up
   12707        # once in the compiler output.
   12708        if test "$p" = "conftest.$objext"; then
   12709 	 pre_test_object_deps_done=yes
   12710 	 continue
   12711        fi
   12712 
   12713        if test "$pre_test_object_deps_done" = no; then
   12714 	 if test -z "$predep_objects_CXX"; then
   12715 	   predep_objects_CXX="$p"
   12716 	 else
   12717 	   predep_objects_CXX="$predep_objects_CXX $p"
   12718 	 fi
   12719        else
   12720 	 if test -z "$postdep_objects_CXX"; then
   12721 	   postdep_objects_CXX="$p"
   12722 	 else
   12723 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12724 	 fi
   12725        fi
   12726        ;;
   12727 
   12728     *) ;; # Ignore the rest.
   12729 
   12730     esac
   12731   done
   12732 
   12733   # Clean up.
   12734   rm -f a.out a.exe
   12735 else
   12736   echo "libtool.m4: error: problem compiling CXX test program"
   12737 fi
   12738 
   12739 $RM -f confest.$objext
   12740 
   12741 # PORTME: override above test on systems where it is broken
   12742 case $host_os in
   12743 interix[3-9]*)
   12744   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12745   # hack all around it, let's just trust "g++" to DTRT.
   12746   predep_objects_CXX=
   12747   postdep_objects_CXX=
   12748   postdeps_CXX=
   12749   ;;
   12750 
   12751 linux*)
   12752   case `$CC -V 2>&1 | sed 5q` in
   12753   *Sun\ C*)
   12754     # Sun C++ 5.9
   12755 
   12756     # The more standards-conforming stlport4 library is
   12757     # incompatible with the Cstd library. Avoid specifying
   12758     # it if it's in CXXFLAGS. Ignore libCrun as
   12759     # -library=stlport4 depends on it.
   12760     case " $CXX $CXXFLAGS " in
   12761     *" -library=stlport4 "*)
   12762       solaris_use_stlport4=yes
   12763       ;;
   12764     esac
   12765 
   12766     if test "$solaris_use_stlport4" != yes; then
   12767       postdeps_CXX='-library=Cstd -library=Crun'
   12768     fi
   12769     ;;
   12770   esac
   12771   ;;
   12772 
   12773 solaris*)
   12774   case $cc_basename in
   12775   CC*)
   12776     # The more standards-conforming stlport4 library is
   12777     # incompatible with the Cstd library. Avoid specifying
   12778     # it if it's in CXXFLAGS. Ignore libCrun as
   12779     # -library=stlport4 depends on it.
   12780     case " $CXX $CXXFLAGS " in
   12781     *" -library=stlport4 "*)
   12782       solaris_use_stlport4=yes
   12783       ;;
   12784     esac
   12785 
   12786     # Adding this requires a known-good setup of shared libraries for
   12787     # Sun compiler versions before 5.6, else PIC objects from an old
   12788     # archive will be linked into the output, leading to subtle bugs.
   12789     if test "$solaris_use_stlport4" != yes; then
   12790       postdeps_CXX='-library=Cstd -library=Crun'
   12791     fi
   12792     ;;
   12793   esac
   12794   ;;
   12795 esac
   12796 
   12797 
   12798 case " $postdeps_CXX " in
   12799 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12800 esac
   12801  compiler_lib_search_dirs_CXX=
   12802 if test -n "${compiler_lib_search_path_CXX}"; then
   12803  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12804 fi
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836     lt_prog_compiler_wl_CXX=
   12837 lt_prog_compiler_pic_CXX=
   12838 lt_prog_compiler_static_CXX=
   12839 
   12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12841 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12842 
   12843   # C++ specific cases for pic, static, wl, etc.
   12844   if test "$GXX" = yes; then
   12845     lt_prog_compiler_wl_CXX='-Wl,'
   12846     lt_prog_compiler_static_CXX='-static'
   12847 
   12848     case $host_os in
   12849     aix*)
   12850       # All AIX code is PIC.
   12851       if test "$host_cpu" = ia64; then
   12852 	# AIX 5 now supports IA64 processor
   12853 	lt_prog_compiler_static_CXX='-Bstatic'
   12854       fi
   12855       ;;
   12856 
   12857     amigaos*)
   12858       case $host_cpu in
   12859       powerpc)
   12860             # see comment about AmigaOS4 .so support
   12861             lt_prog_compiler_pic_CXX='-fPIC'
   12862         ;;
   12863       m68k)
   12864             # FIXME: we need at least 68020 code to build shared libraries, but
   12865             # adding the `-m68020' flag to GCC prevents building anything better,
   12866             # like `-m68040'.
   12867             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12868         ;;
   12869       esac
   12870       ;;
   12871 
   12872     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12873       # PIC is the default for these OSes.
   12874       ;;
   12875     mingw* | cygwin* | os2* | pw32* | cegcc*)
   12876       # This hack is so that the source file can tell whether it is being
   12877       # built for inclusion in a dll (and should export symbols for example).
   12878       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12879       # (--disable-auto-import) libraries
   12880       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12881       ;;
   12882     darwin* | rhapsody*)
   12883       # PIC is the default on this platform
   12884       # Common symbols not allowed in MH_DYLIB files
   12885       lt_prog_compiler_pic_CXX='-fno-common'
   12886       ;;
   12887     *djgpp*)
   12888       # DJGPP does not support shared libraries at all
   12889       lt_prog_compiler_pic_CXX=
   12890       ;;
   12891     interix[3-9]*)
   12892       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12893       # Instead, we relocate shared libraries at runtime.
   12894       ;;
   12895     sysv4*MP*)
   12896       if test -d /usr/nec; then
   12897 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12898       fi
   12899       ;;
   12900     hpux*)
   12901       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12902       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12903       # sets the default TLS model and affects inlining.
   12904       case $host_cpu in
   12905       hppa*64*)
   12906 	;;
   12907       *)
   12908 	lt_prog_compiler_pic_CXX='-fPIC'
   12909 	;;
   12910       esac
   12911       ;;
   12912     *qnx* | *nto*)
   12913       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12914       # it will coredump.
   12915       lt_prog_compiler_pic_CXX='-fPIC -shared'
   12916       ;;
   12917     *)
   12918       lt_prog_compiler_pic_CXX='-fPIC'
   12919       ;;
   12920     esac
   12921   else
   12922     case $host_os in
   12923       aix[4-9]*)
   12924 	# All AIX code is PIC.
   12925 	if test "$host_cpu" = ia64; then
   12926 	  # AIX 5 now supports IA64 processor
   12927 	  lt_prog_compiler_static_CXX='-Bstatic'
   12928 	else
   12929 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12930 	fi
   12931 	;;
   12932       chorus*)
   12933 	case $cc_basename in
   12934 	cxch68*)
   12935 	  # Green Hills C++ Compiler
   12936 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   12937 	  ;;
   12938 	esac
   12939 	;;
   12940       dgux*)
   12941 	case $cc_basename in
   12942 	  ec++*)
   12943 	    lt_prog_compiler_pic_CXX='-KPIC'
   12944 	    ;;
   12945 	  ghcx*)
   12946 	    # Green Hills C++ Compiler
   12947 	    lt_prog_compiler_pic_CXX='-pic'
   12948 	    ;;
   12949 	  *)
   12950 	    ;;
   12951 	esac
   12952 	;;
   12953       freebsd* | dragonfly*)
   12954 	# FreeBSD uses GNU C++
   12955 	;;
   12956       hpux9* | hpux10* | hpux11*)
   12957 	case $cc_basename in
   12958 	  CC*)
   12959 	    lt_prog_compiler_wl_CXX='-Wl,'
   12960 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12961 	    if test "$host_cpu" != ia64; then
   12962 	      lt_prog_compiler_pic_CXX='+Z'
   12963 	    fi
   12964 	    ;;
   12965 	  aCC*)
   12966 	    lt_prog_compiler_wl_CXX='-Wl,'
   12967 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12968 	    case $host_cpu in
   12969 	    hppa*64*|ia64*)
   12970 	      # +Z the default
   12971 	      ;;
   12972 	    *)
   12973 	      lt_prog_compiler_pic_CXX='+Z'
   12974 	      ;;
   12975 	    esac
   12976 	    ;;
   12977 	  *)
   12978 	    ;;
   12979 	esac
   12980 	;;
   12981       interix*)
   12982 	# This is c89, which is MS Visual C++ (no shared libs)
   12983 	# Anyone wants to do a port?
   12984 	;;
   12985       irix5* | irix6* | nonstopux*)
   12986 	case $cc_basename in
   12987 	  CC*)
   12988 	    lt_prog_compiler_wl_CXX='-Wl,'
   12989 	    lt_prog_compiler_static_CXX='-non_shared'
   12990 	    # CC pic flag -KPIC is the default.
   12991 	    ;;
   12992 	  *)
   12993 	    ;;
   12994 	esac
   12995 	;;
   12996       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12997 	case $cc_basename in
   12998 	  KCC*)
   12999 	    # KAI C++ Compiler
   13000 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13001 	    lt_prog_compiler_pic_CXX='-fPIC'
   13002 	    ;;
   13003 	  ecpc* )
   13004 	    # old Intel C++ for x86_64 which still supported -KPIC.
   13005 	    lt_prog_compiler_wl_CXX='-Wl,'
   13006 	    lt_prog_compiler_pic_CXX='-KPIC'
   13007 	    lt_prog_compiler_static_CXX='-static'
   13008 	    ;;
   13009 	  icpc* )
   13010 	    # Intel C++, used to be incompatible with GCC.
   13011 	    # ICC 10 doesn't accept -KPIC any more.
   13012 	    lt_prog_compiler_wl_CXX='-Wl,'
   13013 	    lt_prog_compiler_pic_CXX='-fPIC'
   13014 	    lt_prog_compiler_static_CXX='-static'
   13015 	    ;;
   13016 	  pgCC* | pgcpp*)
   13017 	    # Portland Group C++ compiler
   13018 	    lt_prog_compiler_wl_CXX='-Wl,'
   13019 	    lt_prog_compiler_pic_CXX='-fpic'
   13020 	    lt_prog_compiler_static_CXX='-Bstatic'
   13021 	    ;;
   13022 	  cxx*)
   13023 	    # Compaq C++
   13024 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13025 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13026 	    lt_prog_compiler_pic_CXX=
   13027 	    lt_prog_compiler_static_CXX='-non_shared'
   13028 	    ;;
   13029 	  xlc* | xlC*)
   13030 	    # IBM XL 8.0 on PPC
   13031 	    lt_prog_compiler_wl_CXX='-Wl,'
   13032 	    lt_prog_compiler_pic_CXX='-qpic'
   13033 	    lt_prog_compiler_static_CXX='-qstaticlink'
   13034 	    ;;
   13035 	  *)
   13036 	    case `$CC -V 2>&1 | sed 5q` in
   13037 	    *Sun\ C*)
   13038 	      # Sun C++ 5.9
   13039 	      lt_prog_compiler_pic_CXX='-KPIC'
   13040 	      lt_prog_compiler_static_CXX='-Bstatic'
   13041 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   13042 	      ;;
   13043 	    esac
   13044 	    ;;
   13045 	esac
   13046 	;;
   13047       lynxos*)
   13048 	;;
   13049       m88k*)
   13050 	;;
   13051       mvs*)
   13052 	case $cc_basename in
   13053 	  cxx*)
   13054 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   13055 	    ;;
   13056 	  *)
   13057 	    ;;
   13058 	esac
   13059 	;;
   13060       netbsd* | netbsdelf*-gnu)
   13061 	;;
   13062       *qnx* | *nto*)
   13063         # QNX uses GNU C++, but need to define -shared option too, otherwise
   13064         # it will coredump.
   13065         lt_prog_compiler_pic_CXX='-fPIC -shared'
   13066         ;;
   13067       osf3* | osf4* | osf5*)
   13068 	case $cc_basename in
   13069 	  KCC*)
   13070 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13071 	    ;;
   13072 	  RCC*)
   13073 	    # Rational C++ 2.4.1
   13074 	    lt_prog_compiler_pic_CXX='-pic'
   13075 	    ;;
   13076 	  cxx*)
   13077 	    # Digital/Compaq C++
   13078 	    lt_prog_compiler_wl_CXX='-Wl,'
   13079 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13080 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13081 	    lt_prog_compiler_pic_CXX=
   13082 	    lt_prog_compiler_static_CXX='-non_shared'
   13083 	    ;;
   13084 	  *)
   13085 	    ;;
   13086 	esac
   13087 	;;
   13088       psos*)
   13089 	;;
   13090       solaris*)
   13091 	case $cc_basename in
   13092 	  CC*)
   13093 	    # Sun C++ 4.2, 5.x and Centerline C++
   13094 	    lt_prog_compiler_pic_CXX='-KPIC'
   13095 	    lt_prog_compiler_static_CXX='-Bstatic'
   13096 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   13097 	    ;;
   13098 	  gcx*)
   13099 	    # Green Hills C++ Compiler
   13100 	    lt_prog_compiler_pic_CXX='-PIC'
   13101 	    ;;
   13102 	  *)
   13103 	    ;;
   13104 	esac
   13105 	;;
   13106       sunos4*)
   13107 	case $cc_basename in
   13108 	  CC*)
   13109 	    # Sun C++ 4.x
   13110 	    lt_prog_compiler_pic_CXX='-pic'
   13111 	    lt_prog_compiler_static_CXX='-Bstatic'
   13112 	    ;;
   13113 	  lcc*)
   13114 	    # Lucid
   13115 	    lt_prog_compiler_pic_CXX='-pic'
   13116 	    ;;
   13117 	  *)
   13118 	    ;;
   13119 	esac
   13120 	;;
   13121       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13122 	case $cc_basename in
   13123 	  CC*)
   13124 	    lt_prog_compiler_wl_CXX='-Wl,'
   13125 	    lt_prog_compiler_pic_CXX='-KPIC'
   13126 	    lt_prog_compiler_static_CXX='-Bstatic'
   13127 	    ;;
   13128 	esac
   13129 	;;
   13130       tandem*)
   13131 	case $cc_basename in
   13132 	  NCC*)
   13133 	    # NonStop-UX NCC 3.20
   13134 	    lt_prog_compiler_pic_CXX='-KPIC'
   13135 	    ;;
   13136 	  *)
   13137 	    ;;
   13138 	esac
   13139 	;;
   13140       vxworks*)
   13141 	;;
   13142       *)
   13143 	lt_prog_compiler_can_build_shared_CXX=no
   13144 	;;
   13145     esac
   13146   fi
   13147 
   13148 case $host_os in
   13149   # For platforms which do not support PIC, -DPIC is meaningless:
   13150   *djgpp*)
   13151     lt_prog_compiler_pic_CXX=
   13152     ;;
   13153   *)
   13154     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13155     ;;
   13156 esac
   13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   13158 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   13159 
   13160 
   13161 
   13162 #
   13163 # Check to make sure the PIC flag actually works.
   13164 #
   13165 if test -n "$lt_prog_compiler_pic_CXX"; then
   13166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   13167 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   13168 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
   13169   $as_echo_n "(cached) " >&6
   13170 else
   13171   lt_cv_prog_compiler_pic_works_CXX=no
   13172    ac_outfile=conftest.$ac_objext
   13173    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13174    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   13175    # Insert the option either (1) after the last *FLAGS variable, or
   13176    # (2) before a word containing "conftest.", or (3) at the end.
   13177    # Note that $ac_compile itself does not contain backslashes and begins
   13178    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13179    # The option is referenced via a variable to avoid confusing sed.
   13180    lt_compile=`echo "$ac_compile" | $SED \
   13181    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13182    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13183    -e 's:$: $lt_compiler_flag:'`
   13184    (eval echo "\"\$as_me:13184: $lt_compile\"" >&5)
   13185    (eval "$lt_compile" 2>conftest.err)
   13186    ac_status=$?
   13187    cat conftest.err >&5
   13188    echo "$as_me:13188: \$? = $ac_status" >&5
   13189    if (exit $ac_status) && test -s "$ac_outfile"; then
   13190      # The compiler can only warn and ignore the option if not recognized
   13191      # So say no if there are warnings other than the usual output.
   13192      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13193      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13194      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13195        lt_cv_prog_compiler_pic_works_CXX=yes
   13196      fi
   13197    fi
   13198    $RM conftest*
   13199 
   13200 fi
   13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13202 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13203 
   13204 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13205     case $lt_prog_compiler_pic_CXX in
   13206      "" | " "*) ;;
   13207      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13208      esac
   13209 else
   13210     lt_prog_compiler_pic_CXX=
   13211      lt_prog_compiler_can_build_shared_CXX=no
   13212 fi
   13213 
   13214 fi
   13215 
   13216 
   13217 
   13218 #
   13219 # Check to make sure the static flag actually works.
   13220 #
   13221 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13223 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13224 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
   13225   $as_echo_n "(cached) " >&6
   13226 else
   13227   lt_cv_prog_compiler_static_works_CXX=no
   13228    save_LDFLAGS="$LDFLAGS"
   13229    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13230    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13231    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13232      # The linker can only warn and ignore the option if not recognized
   13233      # So say no if there are warnings
   13234      if test -s conftest.err; then
   13235        # Append any errors to the config.log.
   13236        cat conftest.err 1>&5
   13237        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13238        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13239        if diff conftest.exp conftest.er2 >/dev/null; then
   13240          lt_cv_prog_compiler_static_works_CXX=yes
   13241        fi
   13242      else
   13243        lt_cv_prog_compiler_static_works_CXX=yes
   13244      fi
   13245    fi
   13246    $RM -r conftest*
   13247    LDFLAGS="$save_LDFLAGS"
   13248 
   13249 fi
   13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13251 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13252 
   13253 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13254     :
   13255 else
   13256     lt_prog_compiler_static_CXX=
   13257 fi
   13258 
   13259 
   13260 
   13261 
   13262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13263 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13264 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
   13265   $as_echo_n "(cached) " >&6
   13266 else
   13267   lt_cv_prog_compiler_c_o_CXX=no
   13268    $RM -r conftest 2>/dev/null
   13269    mkdir conftest
   13270    cd conftest
   13271    mkdir out
   13272    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13273 
   13274    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13275    # Insert the option either (1) after the last *FLAGS variable, or
   13276    # (2) before a word containing "conftest.", or (3) at the end.
   13277    # Note that $ac_compile itself does not contain backslashes and begins
   13278    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13279    lt_compile=`echo "$ac_compile" | $SED \
   13280    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13281    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13282    -e 's:$: $lt_compiler_flag:'`
   13283    (eval echo "\"\$as_me:13283: $lt_compile\"" >&5)
   13284    (eval "$lt_compile" 2>out/conftest.err)
   13285    ac_status=$?
   13286    cat out/conftest.err >&5
   13287    echo "$as_me:13287: \$? = $ac_status" >&5
   13288    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13289    then
   13290      # The compiler can only warn and ignore the option if not recognized
   13291      # So say no if there are warnings
   13292      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13293      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13294      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13295        lt_cv_prog_compiler_c_o_CXX=yes
   13296      fi
   13297    fi
   13298    chmod u+w . 2>&5
   13299    $RM conftest*
   13300    # SGI C++ compiler will create directory out/ii_files/ for
   13301    # template instantiation
   13302    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13303    $RM out/* && rmdir out
   13304    cd ..
   13305    $RM -r conftest
   13306    $RM conftest*
   13307 
   13308 fi
   13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13310 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13311 
   13312 
   13313 
   13314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13315 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13316 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   lt_cv_prog_compiler_c_o_CXX=no
   13320    $RM -r conftest 2>/dev/null
   13321    mkdir conftest
   13322    cd conftest
   13323    mkdir out
   13324    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13325 
   13326    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13327    # Insert the option either (1) after the last *FLAGS variable, or
   13328    # (2) before a word containing "conftest.", or (3) at the end.
   13329    # Note that $ac_compile itself does not contain backslashes and begins
   13330    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13331    lt_compile=`echo "$ac_compile" | $SED \
   13332    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13333    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13334    -e 's:$: $lt_compiler_flag:'`
   13335    (eval echo "\"\$as_me:13335: $lt_compile\"" >&5)
   13336    (eval "$lt_compile" 2>out/conftest.err)
   13337    ac_status=$?
   13338    cat out/conftest.err >&5
   13339    echo "$as_me:13339: \$? = $ac_status" >&5
   13340    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13341    then
   13342      # The compiler can only warn and ignore the option if not recognized
   13343      # So say no if there are warnings
   13344      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13345      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13346      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13347        lt_cv_prog_compiler_c_o_CXX=yes
   13348      fi
   13349    fi
   13350    chmod u+w . 2>&5
   13351    $RM conftest*
   13352    # SGI C++ compiler will create directory out/ii_files/ for
   13353    # template instantiation
   13354    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13355    $RM out/* && rmdir out
   13356    cd ..
   13357    $RM -r conftest
   13358    $RM conftest*
   13359 
   13360 fi
   13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13362 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13363 
   13364 
   13365 
   13366 
   13367 hard_links="nottested"
   13368 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13369   # do not overwrite the value of need_locks provided by the user
   13370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13371 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13372   hard_links=yes
   13373   $RM conftest*
   13374   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13375   touch conftest.a
   13376   ln conftest.a conftest.b 2>&5 || hard_links=no
   13377   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13379 $as_echo "$hard_links" >&6; }
   13380   if test "$hard_links" = no; then
   13381     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13382 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13383     need_locks=warn
   13384   fi
   13385 else
   13386   need_locks=no
   13387 fi
   13388 
   13389 
   13390 
   13391     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13392 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13393 
   13394   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13395   case $host_os in
   13396   aix[4-9]*)
   13397     # If we're using GNU nm, then we don't want the "-C" option.
   13398     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13399     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13400       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   13401     else
   13402       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   13403     fi
   13404     ;;
   13405   pw32*)
   13406     export_symbols_cmds_CXX="$ltdll_cmds"
   13407   ;;
   13408   cygwin* | mingw* | cegcc*)
   13409     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   13410   ;;
   13411   linux* | k*bsd*-gnu)
   13412     link_all_deplibs_CXX=no
   13413   ;;
   13414   *)
   13415     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13416   ;;
   13417   esac
   13418   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13419 
   13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13421 $as_echo "$ld_shlibs_CXX" >&6; }
   13422 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13423 
   13424 with_gnu_ld_CXX=$with_gnu_ld
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 #
   13432 # Do we need to explicitly link libc?
   13433 #
   13434 case "x$archive_cmds_need_lc_CXX" in
   13435 x|xyes)
   13436   # Assume -lc should be added
   13437   archive_cmds_need_lc_CXX=yes
   13438 
   13439   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13440     case $archive_cmds_CXX in
   13441     *'~'*)
   13442       # FIXME: we may have to deal with multi-command sequences.
   13443       ;;
   13444     '$CC '*)
   13445       # Test whether the compiler implicitly links with -lc since on some
   13446       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13447       # to ld, don't add -lc before -lgcc.
   13448       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   13449 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13450       $RM conftest*
   13451       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13452 
   13453       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13454   (eval $ac_compile) 2>&5
   13455   ac_status=$?
   13456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13457   test $ac_status = 0; } 2>conftest.err; then
   13458         soname=conftest
   13459         lib=conftest
   13460         libobjs=conftest.$ac_objext
   13461         deplibs=
   13462         wl=$lt_prog_compiler_wl_CXX
   13463 	pic_flag=$lt_prog_compiler_pic_CXX
   13464         compiler_flags=-v
   13465         linker_flags=-v
   13466         verstring=
   13467         output_objdir=.
   13468         libname=conftest
   13469         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13470         allow_undefined_flag_CXX=
   13471         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   13472   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13473   ac_status=$?
   13474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13475   test $ac_status = 0; }
   13476         then
   13477 	  archive_cmds_need_lc_CXX=no
   13478         else
   13479 	  archive_cmds_need_lc_CXX=yes
   13480         fi
   13481         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13482       else
   13483         cat conftest.err 1>&5
   13484       fi
   13485       $RM conftest*
   13486       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
   13487 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13488       ;;
   13489     esac
   13490   fi
   13491   ;;
   13492 esac
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   13558 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13559 
   13560 library_names_spec=
   13561 libname_spec='lib$name'
   13562 soname_spec=
   13563 shrext_cmds=".so"
   13564 postinstall_cmds=
   13565 postuninstall_cmds=
   13566 finish_cmds=
   13567 finish_eval=
   13568 shlibpath_var=
   13569 shlibpath_overrides_runpath=unknown
   13570 version_type=none
   13571 dynamic_linker="$host_os ld.so"
   13572 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13573 need_lib_prefix=unknown
   13574 hardcode_into_libs=no
   13575 
   13576 # when you set need_version to no, make sure it does not cause -set_version
   13577 # flags to be left without arguments
   13578 need_version=unknown
   13579 
   13580 case $host_os in
   13581 aix3*)
   13582   version_type=linux
   13583   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13584   shlibpath_var=LIBPATH
   13585 
   13586   # AIX 3 has no versioning support, so we append a major version to the name.
   13587   soname_spec='${libname}${release}${shared_ext}$major'
   13588   ;;
   13589 
   13590 aix[4-9]*)
   13591   version_type=linux
   13592   need_lib_prefix=no
   13593   need_version=no
   13594   hardcode_into_libs=yes
   13595   if test "$host_cpu" = ia64; then
   13596     # AIX 5 supports IA64
   13597     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13598     shlibpath_var=LD_LIBRARY_PATH
   13599   else
   13600     # With GCC up to 2.95.x, collect2 would create an import file
   13601     # for dependence libraries.  The import file would start with
   13602     # the line `#! .'.  This would cause the generated library to
   13603     # depend on `.', always an invalid library.  This was fixed in
   13604     # development snapshots of GCC prior to 3.0.
   13605     case $host_os in
   13606       aix4 | aix4.[01] | aix4.[01].*)
   13607       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13608 	   echo ' yes '
   13609 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   13610 	:
   13611       else
   13612 	can_build_shared=no
   13613       fi
   13614       ;;
   13615     esac
   13616     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13617     # soname into executable. Probably we can add versioning support to
   13618     # collect2, so additional links can be useful in future.
   13619     if test "$aix_use_runtimelinking" = yes; then
   13620       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13621       # instead of lib<name>.a to let people know that these are not
   13622       # typical AIX shared libraries.
   13623       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13624     else
   13625       # We preserve .a as extension for shared libraries through AIX4.2
   13626       # and later when we are not doing run time linking.
   13627       library_names_spec='${libname}${release}.a $libname.a'
   13628       soname_spec='${libname}${release}${shared_ext}$major'
   13629     fi
   13630     shlibpath_var=LIBPATH
   13631   fi
   13632   ;;
   13633 
   13634 amigaos*)
   13635   case $host_cpu in
   13636   powerpc)
   13637     # Since July 2007 AmigaOS4 officially supports .so libraries.
   13638     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   13639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13640     ;;
   13641   m68k)
   13642     library_names_spec='$libname.ixlibrary $libname.a'
   13643     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13644     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'
   13645     ;;
   13646   esac
   13647   ;;
   13648 
   13649 beos*)
   13650   library_names_spec='${libname}${shared_ext}'
   13651   dynamic_linker="$host_os ld.so"
   13652   shlibpath_var=LIBRARY_PATH
   13653   ;;
   13654 
   13655 bsdi[45]*)
   13656   version_type=linux
   13657   need_version=no
   13658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13659   soname_spec='${libname}${release}${shared_ext}$major'
   13660   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13661   shlibpath_var=LD_LIBRARY_PATH
   13662   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13663   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13664   # the default ld.so.conf also contains /usr/contrib/lib and
   13665   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13666   # libtool to hard-code these into programs
   13667   ;;
   13668 
   13669 cygwin* | mingw* | pw32* | cegcc*)
   13670   version_type=windows
   13671   shrext_cmds=".dll"
   13672   need_version=no
   13673   need_lib_prefix=no
   13674 
   13675   case $GCC,$host_os in
   13676   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   13677     library_names_spec='$libname.dll.a'
   13678     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13679     postinstall_cmds='base_file=`basename \${file}`~
   13680       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   13681       dldir=$destdir/`dirname \$dlpath`~
   13682       test -d \$dldir || mkdir -p \$dldir~
   13683       $install_prog $dir/$dlname \$dldir/$dlname~
   13684       chmod a+x \$dldir/$dlname~
   13685       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13686         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13687       fi'
   13688     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13689       dlpath=$dir/\$dldll~
   13690        $RM \$dlpath'
   13691     shlibpath_overrides_runpath=yes
   13692 
   13693     case $host_os in
   13694     cygwin*)
   13695       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13696       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13697       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13698       ;;
   13699     mingw* | cegcc*)
   13700       # MinGW DLLs use traditional 'lib' prefix
   13701       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13702       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13703       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   13704         # It is most probably a Windows format PATH printed by
   13705         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13706         # path with ; separators, and with drive letters. We can handle the
   13707         # drive letters (cygwin fileutils understands them), so leave them,
   13708         # especially as we might pass files found there to a mingw objdump,
   13709         # which wouldn't understand a cygwinified path. Ahh.
   13710         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13711       else
   13712         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13713       fi
   13714       ;;
   13715     pw32*)
   13716       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13717       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13718       ;;
   13719     esac
   13720     ;;
   13721 
   13722   *)
   13723     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13724     ;;
   13725   esac
   13726   dynamic_linker='Win32 ld.exe'
   13727   # FIXME: first we should search . and the directory the executable is in
   13728   shlibpath_var=PATH
   13729   ;;
   13730 
   13731 darwin* | rhapsody*)
   13732   dynamic_linker="$host_os dyld"
   13733   version_type=darwin
   13734   need_lib_prefix=no
   13735   need_version=no
   13736   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13737   soname_spec='${libname}${release}${major}$shared_ext'
   13738   shlibpath_overrides_runpath=yes
   13739   shlibpath_var=DYLD_LIBRARY_PATH
   13740   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13741 
   13742   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13743   ;;
   13744 
   13745 dgux*)
   13746   version_type=linux
   13747   need_lib_prefix=no
   13748   need_version=no
   13749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13750   soname_spec='${libname}${release}${shared_ext}$major'
   13751   shlibpath_var=LD_LIBRARY_PATH
   13752   ;;
   13753 
   13754 freebsd1*)
   13755   dynamic_linker=no
   13756   ;;
   13757 
   13758 freebsd* | dragonfly*)
   13759   # DragonFly does not have aout.  When/if they implement a new
   13760   # versioning mechanism, adjust this.
   13761   if test -x /usr/bin/objformat; then
   13762     objformat=`/usr/bin/objformat`
   13763   else
   13764     case $host_os in
   13765     freebsd[123]*) objformat=aout ;;
   13766     *) objformat=elf ;;
   13767     esac
   13768   fi
   13769   version_type=freebsd-$objformat
   13770   case $version_type in
   13771     freebsd-elf*)
   13772       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13773       need_version=no
   13774       need_lib_prefix=no
   13775       ;;
   13776     freebsd-*)
   13777       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13778       need_version=yes
   13779       ;;
   13780   esac
   13781   shlibpath_var=LD_LIBRARY_PATH
   13782   case $host_os in
   13783   freebsd2*)
   13784     shlibpath_overrides_runpath=yes
   13785     ;;
   13786   freebsd3.[01]* | freebsdelf3.[01]*)
   13787     shlibpath_overrides_runpath=yes
   13788     hardcode_into_libs=yes
   13789     ;;
   13790   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13791   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13792     shlibpath_overrides_runpath=no
   13793     hardcode_into_libs=yes
   13794     ;;
   13795   *) # from 4.6 on, and DragonFly
   13796     shlibpath_overrides_runpath=yes
   13797     hardcode_into_libs=yes
   13798     ;;
   13799   esac
   13800   ;;
   13801 
   13802 gnu*)
   13803   version_type=linux
   13804   need_lib_prefix=no
   13805   need_version=no
   13806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13807   soname_spec='${libname}${release}${shared_ext}$major'
   13808   shlibpath_var=LD_LIBRARY_PATH
   13809   hardcode_into_libs=yes
   13810   ;;
   13811 
   13812 hpux9* | hpux10* | hpux11*)
   13813   # Give a soname corresponding to the major version so that dld.sl refuses to
   13814   # link against other versions.
   13815   version_type=sunos
   13816   need_lib_prefix=no
   13817   need_version=no
   13818   case $host_cpu in
   13819   ia64*)
   13820     shrext_cmds='.so'
   13821     hardcode_into_libs=yes
   13822     dynamic_linker="$host_os dld.so"
   13823     shlibpath_var=LD_LIBRARY_PATH
   13824     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13825     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13826     soname_spec='${libname}${release}${shared_ext}$major'
   13827     if test "X$HPUX_IA64_MODE" = X32; then
   13828       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13829     else
   13830       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13831     fi
   13832     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13833     ;;
   13834   hppa*64*)
   13835     shrext_cmds='.sl'
   13836     hardcode_into_libs=yes
   13837     dynamic_linker="$host_os dld.sl"
   13838     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13839     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13840     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13841     soname_spec='${libname}${release}${shared_ext}$major'
   13842     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13843     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13844     ;;
   13845   *)
   13846     shrext_cmds='.sl'
   13847     dynamic_linker="$host_os dld.sl"
   13848     shlibpath_var=SHLIB_PATH
   13849     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13850     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13851     soname_spec='${libname}${release}${shared_ext}$major'
   13852     ;;
   13853   esac
   13854   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13855   postinstall_cmds='chmod 555 $lib'
   13856   ;;
   13857 
   13858 interix[3-9]*)
   13859   version_type=linux
   13860   need_lib_prefix=no
   13861   need_version=no
   13862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13863   soname_spec='${libname}${release}${shared_ext}$major'
   13864   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13865   shlibpath_var=LD_LIBRARY_PATH
   13866   shlibpath_overrides_runpath=no
   13867   hardcode_into_libs=yes
   13868   ;;
   13869 
   13870 irix5* | irix6* | nonstopux*)
   13871   case $host_os in
   13872     nonstopux*) version_type=nonstopux ;;
   13873     *)
   13874 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13875 		version_type=linux
   13876 	else
   13877 		version_type=irix
   13878 	fi ;;
   13879   esac
   13880   need_lib_prefix=no
   13881   need_version=no
   13882   soname_spec='${libname}${release}${shared_ext}$major'
   13883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13884   case $host_os in
   13885   irix5* | nonstopux*)
   13886     libsuff= shlibsuff=
   13887     ;;
   13888   *)
   13889     case $LD in # libtool.m4 will add one of these switches to LD
   13890     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13891       libsuff= shlibsuff= libmagic=32-bit;;
   13892     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13893       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13894     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13895       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13896     *) libsuff= shlibsuff= libmagic=never-match;;
   13897     esac
   13898     ;;
   13899   esac
   13900   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13901   shlibpath_overrides_runpath=no
   13902   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13903   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13904   hardcode_into_libs=yes
   13905   ;;
   13906 
   13907 # No shared lib support for Linux oldld, aout, or coff.
   13908 linux*oldld* | linux*aout* | linux*coff*)
   13909   dynamic_linker=no
   13910   ;;
   13911 
   13912 # This must be Linux ELF.
   13913 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13914   version_type=linux
   13915   need_lib_prefix=no
   13916   need_version=no
   13917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13918   soname_spec='${libname}${release}${shared_ext}$major'
   13919   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13920   shlibpath_var=LD_LIBRARY_PATH
   13921   shlibpath_overrides_runpath=no
   13922   # Some binutils ld are patched to set DT_RUNPATH
   13923   save_LDFLAGS=$LDFLAGS
   13924   save_libdir=$libdir
   13925   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   13926        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   13927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13928 /* end confdefs.h.  */
   13929 
   13930 int
   13931 main ()
   13932 {
   13933 
   13934   ;
   13935   return 0;
   13936 }
   13937 _ACEOF
   13938 if ac_fn_cxx_try_link "$LINENO"; then :
   13939   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   13940   shlibpath_overrides_runpath=yes
   13941 fi
   13942 fi
   13943 rm -f core conftest.err conftest.$ac_objext \
   13944     conftest$ac_exeext conftest.$ac_ext
   13945   LDFLAGS=$save_LDFLAGS
   13946   libdir=$save_libdir
   13947 
   13948   # This implies no fast_install, which is unacceptable.
   13949   # Some rework will be needed to allow for fast_install
   13950   # before this can be enabled.
   13951   hardcode_into_libs=yes
   13952 
   13953   # Append ld.so.conf contents to the search path
   13954   if test -f /etc/ld.so.conf; then
   13955     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' ' '`
   13956     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13957   fi
   13958 
   13959   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13960   # powerpc, because MkLinux only supported shared libraries with the
   13961   # GNU dynamic linker.  Since this was broken with cross compilers,
   13962   # most powerpc-linux boxes support dynamic linking these days and
   13963   # people can always --disable-shared, the test was removed, and we
   13964   # assume the GNU/Linux dynamic linker is in use.
   13965   dynamic_linker='GNU/Linux ld.so'
   13966   ;;
   13967 
   13968 netbsdelf*-gnu)
   13969   version_type=linux
   13970   need_lib_prefix=no
   13971   need_version=no
   13972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13973   soname_spec='${libname}${release}${shared_ext}$major'
   13974   shlibpath_var=LD_LIBRARY_PATH
   13975   shlibpath_overrides_runpath=no
   13976   hardcode_into_libs=yes
   13977   dynamic_linker='NetBSD ld.elf_so'
   13978   ;;
   13979 
   13980 netbsd*)
   13981   version_type=sunos
   13982   need_lib_prefix=no
   13983   need_version=no
   13984   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13985     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13986     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13987     dynamic_linker='NetBSD (a.out) ld.so'
   13988   else
   13989     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13990     soname_spec='${libname}${release}${shared_ext}$major'
   13991     dynamic_linker='NetBSD ld.elf_so'
   13992   fi
   13993   shlibpath_var=LD_LIBRARY_PATH
   13994   shlibpath_overrides_runpath=yes
   13995   hardcode_into_libs=yes
   13996   ;;
   13997 
   13998 newsos6)
   13999   version_type=linux
   14000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14001   shlibpath_var=LD_LIBRARY_PATH
   14002   shlibpath_overrides_runpath=yes
   14003   ;;
   14004 
   14005 *nto* | *qnx*)
   14006   version_type=qnx
   14007   need_lib_prefix=no
   14008   need_version=no
   14009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14010   soname_spec='${libname}${release}${shared_ext}$major'
   14011   shlibpath_var=LD_LIBRARY_PATH
   14012   shlibpath_overrides_runpath=no
   14013   hardcode_into_libs=yes
   14014   dynamic_linker='ldqnx.so'
   14015   ;;
   14016 
   14017 openbsd*)
   14018   version_type=sunos
   14019   sys_lib_dlsearch_path_spec="/usr/lib"
   14020   need_lib_prefix=no
   14021   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14022   case $host_os in
   14023     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   14024     *)				need_version=no  ;;
   14025   esac
   14026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14027   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14028   shlibpath_var=LD_LIBRARY_PATH
   14029   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14030     case $host_os in
   14031       openbsd2.[89] | openbsd2.[89].*)
   14032 	shlibpath_overrides_runpath=no
   14033 	;;
   14034       *)
   14035 	shlibpath_overrides_runpath=yes
   14036 	;;
   14037       esac
   14038   else
   14039     shlibpath_overrides_runpath=yes
   14040   fi
   14041   ;;
   14042 
   14043 os2*)
   14044   libname_spec='$name'
   14045   shrext_cmds=".dll"
   14046   need_lib_prefix=no
   14047   library_names_spec='$libname${shared_ext} $libname.a'
   14048   dynamic_linker='OS/2 ld.exe'
   14049   shlibpath_var=LIBPATH
   14050   ;;
   14051 
   14052 osf3* | osf4* | osf5*)
   14053   version_type=osf
   14054   need_lib_prefix=no
   14055   need_version=no
   14056   soname_spec='${libname}${release}${shared_ext}$major'
   14057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14058   shlibpath_var=LD_LIBRARY_PATH
   14059   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14060   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14061   ;;
   14062 
   14063 rdos*)
   14064   dynamic_linker=no
   14065   ;;
   14066 
   14067 solaris*)
   14068   version_type=linux
   14069   need_lib_prefix=no
   14070   need_version=no
   14071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14072   soname_spec='${libname}${release}${shared_ext}$major'
   14073   shlibpath_var=LD_LIBRARY_PATH
   14074   shlibpath_overrides_runpath=yes
   14075   hardcode_into_libs=yes
   14076   # ldd complains unless libraries are executable
   14077   postinstall_cmds='chmod +x $lib'
   14078   ;;
   14079 
   14080 sunos4*)
   14081   version_type=sunos
   14082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14083   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14084   shlibpath_var=LD_LIBRARY_PATH
   14085   shlibpath_overrides_runpath=yes
   14086   if test "$with_gnu_ld" = yes; then
   14087     need_lib_prefix=no
   14088   fi
   14089   need_version=yes
   14090   ;;
   14091 
   14092 sysv4 | sysv4.3*)
   14093   version_type=linux
   14094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14095   soname_spec='${libname}${release}${shared_ext}$major'
   14096   shlibpath_var=LD_LIBRARY_PATH
   14097   case $host_vendor in
   14098     sni)
   14099       shlibpath_overrides_runpath=no
   14100       need_lib_prefix=no
   14101       runpath_var=LD_RUN_PATH
   14102       ;;
   14103     siemens)
   14104       need_lib_prefix=no
   14105       ;;
   14106     motorola)
   14107       need_lib_prefix=no
   14108       need_version=no
   14109       shlibpath_overrides_runpath=no
   14110       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14111       ;;
   14112   esac
   14113   ;;
   14114 
   14115 sysv4*MP*)
   14116   if test -d /usr/nec ;then
   14117     version_type=linux
   14118     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   14119     soname_spec='$libname${shared_ext}.$major'
   14120     shlibpath_var=LD_LIBRARY_PATH
   14121   fi
   14122   ;;
   14123 
   14124 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14125   version_type=freebsd-elf
   14126   need_lib_prefix=no
   14127   need_version=no
   14128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14129   soname_spec='${libname}${release}${shared_ext}$major'
   14130   shlibpath_var=LD_LIBRARY_PATH
   14131   shlibpath_overrides_runpath=yes
   14132   hardcode_into_libs=yes
   14133   if test "$with_gnu_ld" = yes; then
   14134     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   14135   else
   14136     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   14137     case $host_os in
   14138       sco3.2v5*)
   14139         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   14140 	;;
   14141     esac
   14142   fi
   14143   sys_lib_dlsearch_path_spec='/usr/lib'
   14144   ;;
   14145 
   14146 tpf*)
   14147   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   14148   version_type=linux
   14149   need_lib_prefix=no
   14150   need_version=no
   14151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14152   shlibpath_var=LD_LIBRARY_PATH
   14153   shlibpath_overrides_runpath=no
   14154   hardcode_into_libs=yes
   14155   ;;
   14156 
   14157 uts4*)
   14158   version_type=linux
   14159   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14160   soname_spec='${libname}${release}${shared_ext}$major'
   14161   shlibpath_var=LD_LIBRARY_PATH
   14162   ;;
   14163 
   14164 *)
   14165   dynamic_linker=no
   14166   ;;
   14167 esac
   14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14169 $as_echo "$dynamic_linker" >&6; }
   14170 test "$dynamic_linker" = no && can_build_shared=no
   14171 
   14172 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14173 if test "$GCC" = yes; then
   14174   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14175 fi
   14176 
   14177 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   14178   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   14179 fi
   14180 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   14181   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   14182 fi
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 
   14217 
   14218 
   14219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14220 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   14221 hardcode_action_CXX=
   14222 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   14223    test -n "$runpath_var_CXX" ||
   14224    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   14225 
   14226   # We can hardcode non-existent directories.
   14227   if test "$hardcode_direct_CXX" != no &&
   14228      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14229      # have to relink, otherwise we might link with an installed library
   14230      # when we should be linking with a yet-to-be-installed one
   14231      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   14232      test "$hardcode_minus_L_CXX" != no; then
   14233     # Linking always hardcodes the temporary library directory.
   14234     hardcode_action_CXX=relink
   14235   else
   14236     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14237     hardcode_action_CXX=immediate
   14238   fi
   14239 else
   14240   # We cannot hardcode anything, or else we can only hardcode existing
   14241   # directories.
   14242   hardcode_action_CXX=unsupported
   14243 fi
   14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   14245 $as_echo "$hardcode_action_CXX" >&6; }
   14246 
   14247 if test "$hardcode_action_CXX" = relink ||
   14248    test "$inherit_rpath_CXX" = yes; then
   14249   # Fast installation is not supported
   14250   enable_fast_install=no
   14251 elif test "$shlibpath_overrides_runpath" = yes ||
   14252      test "$enable_shared" = no; then
   14253   # Fast installation is not necessary
   14254   enable_fast_install=needless
   14255 fi
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263   fi # test -n "$compiler"
   14264 
   14265   CC=$lt_save_CC
   14266   LDCXX=$LD
   14267   LD=$lt_save_LD
   14268   GCC=$lt_save_GCC
   14269   with_gnu_ld=$lt_save_with_gnu_ld
   14270   lt_cv_path_LDCXX=$lt_cv_path_LD
   14271   lt_cv_path_LD=$lt_save_path_LD
   14272   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14273   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14274 fi # test "$_lt_caught_CXX_error" != yes
   14275 
   14276 ac_ext=c
   14277 ac_cpp='$CPP $CPPFLAGS'
   14278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294         ac_config_commands="$ac_config_commands libtool"
   14295 
   14296 
   14297 
   14298 
   14299 # Only expand once:
   14300 
   14301 
   14302 
   14303 ac_config_headers="$ac_config_headers config.h src/include/fst/config.h"
   14304 
   14305 
   14306 ac_config_files="$ac_config_files Makefile src/Makefile src/include/Makefile src/lib/Makefile src/bin/Makefile src/test/Makefile src/extensions/Makefile src/extensions/compact/Makefile src/extensions/const/Makefile src/extensions/far/Makefile src/extensions/lookahead/Makefile src/extensions/pdt/Makefile src/script/Makefile"
   14307 
   14308 
   14309 ac_ext=cpp
   14310 ac_cpp='$CXXCPP $CPPFLAGS'
   14311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   14314 
   14315 
   14316 ac_fn_cxx_check_type "$LINENO" "std::tr1::hash<long long unsigned>" "ac_cv_type_std__tr1__hash_long_long_unsigned_" "#include <tr1/unordered_map>
   14317 "
   14318 if test "x$ac_cv_type_std__tr1__hash_long_long_unsigned_" = x""yes; then :
   14319 
   14320 cat >>confdefs.h <<_ACEOF
   14321 #define HAVE_STD__TR1__HASH_LONG_LONG_UNSIGNED_ 1
   14322 _ACEOF
   14323 
   14324 
   14325 fi
   14326 
   14327 ac_fn_cxx_check_type "$LINENO" "__gnu_cxx::slist<int>" "ac_cv_type___gnu_cxx__slist_int_" "#include <ext/slist>
   14328 "
   14329 if test "x$ac_cv_type___gnu_cxx__slist_int_" = x""yes; then :
   14330 
   14331 cat >>confdefs.h <<_ACEOF
   14332 #define HAVE___GNU_CXX__SLIST_INT_ 1
   14333 _ACEOF
   14334 
   14335 
   14336 fi
   14337 
   14338 
   14339 # Check whether --enable-bin was given.
   14340 if test "${enable_bin+set}" = set; then :
   14341   enableval=$enable_bin;
   14342 else
   14343   enable_bin=yes
   14344 fi
   14345 
   14346  if test "x$enable_bin" != xno; then
   14347   HAVE_BIN_TRUE=
   14348   HAVE_BIN_FALSE='#'
   14349 else
   14350   HAVE_BIN_TRUE='#'
   14351   HAVE_BIN_FALSE=
   14352 fi
   14353 
   14354  if test "x$enable_bin" != xno; then
   14355   HAVE_SCRIPT_TRUE=
   14356   HAVE_SCRIPT_FALSE='#'
   14357 else
   14358   HAVE_SCRIPT_TRUE='#'
   14359   HAVE_SCRIPT_FALSE=
   14360 fi
   14361 
   14362 
   14363 # Check whether --enable-compact-fsts was given.
   14364 if test "${enable_compact_fsts+set}" = set; then :
   14365   enableval=$enable_compact_fsts;
   14366 else
   14367   enable_compact_fsts=no
   14368 fi
   14369 
   14370  if test "x$enable_compact_fsts" != xno; then
   14371   HAVE_COMPACT_TRUE=
   14372   HAVE_COMPACT_FALSE='#'
   14373 else
   14374   HAVE_COMPACT_TRUE='#'
   14375   HAVE_COMPACT_FALSE=
   14376 fi
   14377 
   14378 
   14379 # Check whether --enable-const-fsts was given.
   14380 if test "${enable_const_fsts+set}" = set; then :
   14381   enableval=$enable_const_fsts;
   14382 else
   14383   enable_const_fsts=no
   14384 fi
   14385 
   14386  if test "x$enable_const_fsts" != xno; then
   14387   HAVE_CONST_TRUE=
   14388   HAVE_CONST_FALSE='#'
   14389 else
   14390   HAVE_CONST_TRUE='#'
   14391   HAVE_CONST_FALSE=
   14392 fi
   14393 
   14394 
   14395 # Check whether --enable-far was given.
   14396 if test "${enable_far+set}" = set; then :
   14397   enableval=$enable_far;
   14398 else
   14399   enable_far=no
   14400 fi
   14401 
   14402  if test "x$enable_far" != xno; then
   14403   HAVE_FAR_TRUE=
   14404   HAVE_FAR_FALSE='#'
   14405 else
   14406   HAVE_FAR_TRUE='#'
   14407   HAVE_FAR_FALSE=
   14408 fi
   14409 
   14410 
   14411 # Check whether --enable-lookahead-fsts was given.
   14412 if test "${enable_lookahead_fsts+set}" = set; then :
   14413   enableval=$enable_lookahead_fsts;
   14414 else
   14415   enable_lookahead_fsts=no
   14416 fi
   14417 
   14418  if test "x$enable_lookahead_fsts" != xno; then
   14419   HAVE_LOOKAHEAD_TRUE=
   14420   HAVE_LOOKAHEAD_FALSE='#'
   14421 else
   14422   HAVE_LOOKAHEAD_TRUE='#'
   14423   HAVE_LOOKAHEAD_FALSE=
   14424 fi
   14425 
   14426 
   14427 # Check whether --enable-pdt was given.
   14428 if test "${enable_pdt+set}" = set; then :
   14429   enableval=$enable_pdt;
   14430 else
   14431   enable_pdt=no
   14432 fi
   14433 
   14434  if test "x$enable_pdt" != xno; then
   14435   HAVE_PDT_TRUE=
   14436   HAVE_PDT_FALSE='#'
   14437 else
   14438   HAVE_PDT_TRUE='#'
   14439   HAVE_PDT_FALSE=
   14440 fi
   14441 
   14442 
   14443 
   14444 # Check whether --with-icu was given.
   14445 if test "${with_icu+set}" = set; then :
   14446   withval=$with_icu;
   14447 else
   14448   with_icu=no
   14449 fi
   14450 
   14451 if test "x$with_icu" != xno; then :
   14452 
   14453   succeeded=no
   14454 
   14455   if test -z "$ICU_CONFIG"; then
   14456     # Extract the first word of "icu-config", so it can be a program name with args.
   14457 set dummy icu-config; ac_word=$2
   14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14459 $as_echo_n "checking for $ac_word... " >&6; }
   14460 if test "${ac_cv_path_ICU_CONFIG+set}" = set; then :
   14461   $as_echo_n "(cached) " >&6
   14462 else
   14463   case $ICU_CONFIG in
   14464   [\\/]* | ?:[\\/]*)
   14465   ac_cv_path_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test with a path.
   14466   ;;
   14467   *)
   14468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14469 for as_dir in $PATH
   14470 do
   14471   IFS=$as_save_IFS
   14472   test -z "$as_dir" && as_dir=.
   14473     for ac_exec_ext in '' $ac_executable_extensions; do
   14474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   14475     ac_cv_path_ICU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   14476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14477     break 2
   14478   fi
   14479 done
   14480   done
   14481 IFS=$as_save_IFS
   14482 
   14483   test -z "$ac_cv_path_ICU_CONFIG" && ac_cv_path_ICU_CONFIG="no"
   14484   ;;
   14485 esac
   14486 fi
   14487 ICU_CONFIG=$ac_cv_path_ICU_CONFIG
   14488 if test -n "$ICU_CONFIG"; then
   14489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
   14490 $as_echo "$ICU_CONFIG" >&6; }
   14491 else
   14492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14493 $as_echo "no" >&6; }
   14494 fi
   14495 
   14496 
   14497   fi
   14498 
   14499   if test "$ICU_CONFIG" = "no" ; then
   14500     echo "*** The icu-config script could not be found. Make sure it is"
   14501     echo "*** in your path, and that taglib is properly installed."
   14502     echo "*** Or see http://ibm.com/software/globalization/icu/"
   14503   else
   14504     ICU_VERSION=`$ICU_CONFIG --version`
   14505     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU >= 4.2" >&5
   14506 $as_echo_n "checking for ICU >= 4.2... " >&6; }
   14507         VERSION_CHECK=`expr $ICU_VERSION \>\= 4.2`
   14508         if test "$VERSION_CHECK" = "1" ; then
   14509             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14510 $as_echo "yes" >&6; }
   14511             succeeded=yes
   14512 
   14513             { $as_echo "$as_me:${as_lineno-$LINENO}: checking ICU_CPPFLAGS" >&5
   14514 $as_echo_n "checking ICU_CPPFLAGS... " >&6; }
   14515             ICU_CPPFLAGS=`$ICU_CONFIG --cppflags`
   14516             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CPPFLAGS" >&5
   14517 $as_echo "$ICU_CPPFLAGS" >&6; }
   14518 
   14519             { $as_echo "$as_me:${as_lineno-$LINENO}: checking ICU_CFLAGS" >&5
   14520 $as_echo_n "checking ICU_CFLAGS... " >&6; }
   14521             ICU_CFLAGS=`$ICU_CONFIG --cflags`
   14522             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CFLAGS" >&5
   14523 $as_echo "$ICU_CFLAGS" >&6; }
   14524 
   14525             { $as_echo "$as_me:${as_lineno-$LINENO}: checking ICU_CXXFLAGS" >&5
   14526 $as_echo_n "checking ICU_CXXFLAGS... " >&6; }
   14527             ICU_CXXFLAGS=`$ICU_CONFIG --cxxflags`
   14528             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CXXFLAGS" >&5
   14529 $as_echo "$ICU_CXXFLAGS" >&6; }
   14530 
   14531             { $as_echo "$as_me:${as_lineno-$LINENO}: checking ICU_LIBS" >&5
   14532 $as_echo_n "checking ICU_LIBS... " >&6; }
   14533             ICU_LIBS=`$ICU_CONFIG --ldflags`
   14534             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_LIBS" >&5
   14535 $as_echo "$ICU_LIBS" >&6; }
   14536         else
   14537             ICU_CPPFLAGS=""
   14538             ICU_CFLAGS=""
   14539             ICU_CXXFLAGS=""
   14540             ICU_LIBS=""
   14541             ## If we have a custom action on failure, don't print errors, but
   14542             ## do set a variable so people can do so.
   14543 
   14544         fi
   14545 
   14546 
   14547 
   14548 
   14549 
   14550   fi
   14551 
   14552   if test $succeeded = yes; then
   14553 
   14554 $as_echo "#define HAVE_ICU 1" >>confdefs.h
   14555 
   14556   else
   14557      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14559 as_fn_error "--with-icu was given, but ICU Library v. 4.2 or newer not found
   14560 See \`config.log' for more details." "$LINENO" 5; }
   14561   fi
   14562 
   14563 fi
   14564 
   14565 libfstdir=${libdir}/fst
   14566 
   14567 
   14568 cat >confcache <<\_ACEOF
   14569 # This file is a shell script that caches the results of configure
   14570 # tests run on this system so they can be shared between configure
   14571 # scripts and configure runs, see configure's option --config-cache.
   14572 # It is not useful on other systems.  If it contains results you don't
   14573 # want to keep, you may remove or edit it.
   14574 #
   14575 # config.status only pays attention to the cache file if you give it
   14576 # the --recheck option to rerun configure.
   14577 #
   14578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14580 # following values.
   14581 
   14582 _ACEOF
   14583 
   14584 # The following way of writing the cache mishandles newlines in values,
   14585 # but we know of no workaround that is simple, portable, and efficient.
   14586 # So, we kill variables containing newlines.
   14587 # Ultrix sh set writes to stderr and can't be redirected directly,
   14588 # and sets the high bit in the cache file unless we assign to the vars.
   14589 (
   14590   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14591     eval ac_val=\$$ac_var
   14592     case $ac_val in #(
   14593     *${as_nl}*)
   14594       case $ac_var in #(
   14595       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14596 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14597       esac
   14598       case $ac_var in #(
   14599       _ | IFS | as_nl) ;; #(
   14600       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14601       *) { eval $ac_var=; unset $ac_var;} ;;
   14602       esac ;;
   14603     esac
   14604   done
   14605 
   14606   (set) 2>&1 |
   14607     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14608     *${as_nl}ac_space=\ *)
   14609       # `set' does not quote correctly, so add quotes: double-quote
   14610       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14611       sed -n \
   14612 	"s/'/'\\\\''/g;
   14613 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14614       ;; #(
   14615     *)
   14616       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14617       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14618       ;;
   14619     esac |
   14620     sort
   14621 ) |
   14622   sed '
   14623      /^ac_cv_env_/b end
   14624      t clear
   14625      :clear
   14626      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14627      t end
   14628      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14629      :end' >>confcache
   14630 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14631   if test -w "$cache_file"; then
   14632     test "x$cache_file" != "x/dev/null" &&
   14633       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14634 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14635     cat confcache >$cache_file
   14636   else
   14637     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14639   fi
   14640 fi
   14641 rm -f confcache
   14642 
   14643 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14644 # Let make expand exec_prefix.
   14645 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14646 
   14647 DEFS=-DHAVE_CONFIG_H
   14648 
   14649 ac_libobjs=
   14650 ac_ltlibobjs=
   14651 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14652   # 1. Remove the extension, and $U if already installed.
   14653   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14654   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14655   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14656   #    will be set to the directory where LIBOBJS objects are built.
   14657   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14658   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14659 done
   14660 LIBOBJS=$ac_libobjs
   14661 
   14662 LTLIBOBJS=$ac_ltlibobjs
   14663 
   14664 
   14665  if test -n "$EXEEXT"; then
   14666   am__EXEEXT_TRUE=
   14667   am__EXEEXT_FALSE='#'
   14668 else
   14669   am__EXEEXT_TRUE='#'
   14670   am__EXEEXT_FALSE=
   14671 fi
   14672 
   14673 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14674   as_fn_error "conditional \"AMDEP\" was never defined.
   14675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14676 fi
   14677 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   14678   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
   14679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14680 fi
   14681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14682   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   14683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14684 fi
   14685 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   14686   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
   14687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14688 fi
   14689 if test -z "${HAVE_BIN_TRUE}" && test -z "${HAVE_BIN_FALSE}"; then
   14690   as_fn_error "conditional \"HAVE_BIN\" was never defined.
   14691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14692 fi
   14693 if test -z "${HAVE_SCRIPT_TRUE}" && test -z "${HAVE_SCRIPT_FALSE}"; then
   14694   as_fn_error "conditional \"HAVE_SCRIPT\" was never defined.
   14695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14696 fi
   14697 if test -z "${HAVE_COMPACT_TRUE}" && test -z "${HAVE_COMPACT_FALSE}"; then
   14698   as_fn_error "conditional \"HAVE_COMPACT\" was never defined.
   14699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14700 fi
   14701 if test -z "${HAVE_CONST_TRUE}" && test -z "${HAVE_CONST_FALSE}"; then
   14702   as_fn_error "conditional \"HAVE_CONST\" was never defined.
   14703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14704 fi
   14705 if test -z "${HAVE_FAR_TRUE}" && test -z "${HAVE_FAR_FALSE}"; then
   14706   as_fn_error "conditional \"HAVE_FAR\" was never defined.
   14707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14708 fi
   14709 if test -z "${HAVE_LOOKAHEAD_TRUE}" && test -z "${HAVE_LOOKAHEAD_FALSE}"; then
   14710   as_fn_error "conditional \"HAVE_LOOKAHEAD\" was never defined.
   14711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14712 fi
   14713 if test -z "${HAVE_PDT_TRUE}" && test -z "${HAVE_PDT_FALSE}"; then
   14714   as_fn_error "conditional \"HAVE_PDT\" was never defined.
   14715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14716 fi
   14717 
   14718 : ${CONFIG_STATUS=./config.status}
   14719 ac_write_fail=0
   14720 ac_clean_files_save=$ac_clean_files
   14721 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14723 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14724 as_write_fail=0
   14725 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14726 #! $SHELL
   14727 # Generated by $as_me.
   14728 # Run this file to recreate the current configuration.
   14729 # Compiler output produced by configure, useful for debugging
   14730 # configure, is in config.log if it exists.
   14731 
   14732 debug=false
   14733 ac_cs_recheck=false
   14734 ac_cs_silent=false
   14735 
   14736 SHELL=\${CONFIG_SHELL-$SHELL}
   14737 export SHELL
   14738 _ASEOF
   14739 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14740 ## -------------------- ##
   14741 ## M4sh Initialization. ##
   14742 ## -------------------- ##
   14743 
   14744 # Be more Bourne compatible
   14745 DUALCASE=1; export DUALCASE # for MKS sh
   14746 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14747   emulate sh
   14748   NULLCMD=:
   14749   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14750   # is contrary to our usage.  Disable this feature.
   14751   alias -g '${1+"$@"}'='"$@"'
   14752   setopt NO_GLOB_SUBST
   14753 else
   14754   case `(set -o) 2>/dev/null` in #(
   14755   *posix*) :
   14756     set -o posix ;; #(
   14757   *) :
   14758      ;;
   14759 esac
   14760 fi
   14761 
   14762 
   14763 as_nl='
   14764 '
   14765 export as_nl
   14766 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14767 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14768 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14769 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14770 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14771 # but without wasting forks for bash or zsh.
   14772 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14773     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14774   as_echo='print -r --'
   14775   as_echo_n='print -rn --'
   14776 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14777   as_echo='printf %s\n'
   14778   as_echo_n='printf %s'
   14779 else
   14780   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14781     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14782     as_echo_n='/usr/ucb/echo -n'
   14783   else
   14784     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14785     as_echo_n_body='eval
   14786       arg=$1;
   14787       case $arg in #(
   14788       *"$as_nl"*)
   14789 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14790 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14791       esac;
   14792       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14793     '
   14794     export as_echo_n_body
   14795     as_echo_n='sh -c $as_echo_n_body as_echo'
   14796   fi
   14797   export as_echo_body
   14798   as_echo='sh -c $as_echo_body as_echo'
   14799 fi
   14800 
   14801 # The user is always right.
   14802 if test "${PATH_SEPARATOR+set}" != set; then
   14803   PATH_SEPARATOR=:
   14804   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14805     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14806       PATH_SEPARATOR=';'
   14807   }
   14808 fi
   14809 
   14810 
   14811 # IFS
   14812 # We need space, tab and new line, in precisely that order.  Quoting is
   14813 # there to prevent editors from complaining about space-tab.
   14814 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14815 # splitting by setting IFS to empty value.)
   14816 IFS=" ""	$as_nl"
   14817 
   14818 # Find who we are.  Look in the path if we contain no directory separator.
   14819 case $0 in #((
   14820   *[\\/]* ) as_myself=$0 ;;
   14821   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14822 for as_dir in $PATH
   14823 do
   14824   IFS=$as_save_IFS
   14825   test -z "$as_dir" && as_dir=.
   14826     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14827   done
   14828 IFS=$as_save_IFS
   14829 
   14830      ;;
   14831 esac
   14832 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14833 # in which case we are not to be found in the path.
   14834 if test "x$as_myself" = x; then
   14835   as_myself=$0
   14836 fi
   14837 if test ! -f "$as_myself"; then
   14838   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14839   exit 1
   14840 fi
   14841 
   14842 # Unset variables that we do not need and which cause bugs (e.g. in
   14843 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14844 # suppresses any "Segmentation fault" message there.  '((' could
   14845 # trigger a bug in pdksh 5.2.14.
   14846 for as_var in BASH_ENV ENV MAIL MAILPATH
   14847 do eval test x\${$as_var+set} = xset \
   14848   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14849 done
   14850 PS1='$ '
   14851 PS2='> '
   14852 PS4='+ '
   14853 
   14854 # NLS nuisances.
   14855 LC_ALL=C
   14856 export LC_ALL
   14857 LANGUAGE=C
   14858 export LANGUAGE
   14859 
   14860 # CDPATH.
   14861 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14862 
   14863 
   14864 # as_fn_error ERROR [LINENO LOG_FD]
   14865 # ---------------------------------
   14866 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14867 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14868 # script with status $?, using 1 if that was 0.
   14869 as_fn_error ()
   14870 {
   14871   as_status=$?; test $as_status -eq 0 && as_status=1
   14872   if test "$3"; then
   14873     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14874     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   14875   fi
   14876   $as_echo "$as_me: error: $1" >&2
   14877   as_fn_exit $as_status
   14878 } # as_fn_error
   14879 
   14880 
   14881 # as_fn_set_status STATUS
   14882 # -----------------------
   14883 # Set $? to STATUS, without forking.
   14884 as_fn_set_status ()
   14885 {
   14886   return $1
   14887 } # as_fn_set_status
   14888 
   14889 # as_fn_exit STATUS
   14890 # -----------------
   14891 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14892 as_fn_exit ()
   14893 {
   14894   set +e
   14895   as_fn_set_status $1
   14896   exit $1
   14897 } # as_fn_exit
   14898 
   14899 # as_fn_unset VAR
   14900 # ---------------
   14901 # Portably unset VAR.
   14902 as_fn_unset ()
   14903 {
   14904   { eval $1=; unset $1;}
   14905 }
   14906 as_unset=as_fn_unset
   14907 # as_fn_append VAR VALUE
   14908 # ----------------------
   14909 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14910 # advantage of any shell optimizations that allow amortized linear growth over
   14911 # repeated appends, instead of the typical quadratic growth present in naive
   14912 # implementations.
   14913 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14914   eval 'as_fn_append ()
   14915   {
   14916     eval $1+=\$2
   14917   }'
   14918 else
   14919   as_fn_append ()
   14920   {
   14921     eval $1=\$$1\$2
   14922   }
   14923 fi # as_fn_append
   14924 
   14925 # as_fn_arith ARG...
   14926 # ------------------
   14927 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14928 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14929 # must be portable across $(()) and expr.
   14930 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14931   eval 'as_fn_arith ()
   14932   {
   14933     as_val=$(( $* ))
   14934   }'
   14935 else
   14936   as_fn_arith ()
   14937   {
   14938     as_val=`expr "$@" || test $? -eq 1`
   14939   }
   14940 fi # as_fn_arith
   14941 
   14942 
   14943 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14944    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14945   as_expr=expr
   14946 else
   14947   as_expr=false
   14948 fi
   14949 
   14950 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14951   as_basename=basename
   14952 else
   14953   as_basename=false
   14954 fi
   14955 
   14956 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14957   as_dirname=dirname
   14958 else
   14959   as_dirname=false
   14960 fi
   14961 
   14962 as_me=`$as_basename -- "$0" ||
   14963 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14964 	 X"$0" : 'X\(//\)$' \| \
   14965 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14966 $as_echo X/"$0" |
   14967     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14968 	    s//\1/
   14969 	    q
   14970 	  }
   14971 	  /^X\/\(\/\/\)$/{
   14972 	    s//\1/
   14973 	    q
   14974 	  }
   14975 	  /^X\/\(\/\).*/{
   14976 	    s//\1/
   14977 	    q
   14978 	  }
   14979 	  s/.*/./; q'`
   14980 
   14981 # Avoid depending upon Character Ranges.
   14982 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14983 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14984 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14985 as_cr_digits='0123456789'
   14986 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14987 
   14988 ECHO_C= ECHO_N= ECHO_T=
   14989 case `echo -n x` in #(((((
   14990 -n*)
   14991   case `echo 'xy\c'` in
   14992   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14993   xy)  ECHO_C='\c';;
   14994   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14995        ECHO_T='	';;
   14996   esac;;
   14997 *)
   14998   ECHO_N='-n';;
   14999 esac
   15000 
   15001 rm -f conf$$ conf$$.exe conf$$.file
   15002 if test -d conf$$.dir; then
   15003   rm -f conf$$.dir/conf$$.file
   15004 else
   15005   rm -f conf$$.dir
   15006   mkdir conf$$.dir 2>/dev/null
   15007 fi
   15008 if (echo >conf$$.file) 2>/dev/null; then
   15009   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15010     as_ln_s='ln -s'
   15011     # ... but there are two gotchas:
   15012     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15013     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15014     # In both cases, we have to default to `cp -p'.
   15015     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15016       as_ln_s='cp -p'
   15017   elif ln conf$$.file conf$$ 2>/dev/null; then
   15018     as_ln_s=ln
   15019   else
   15020     as_ln_s='cp -p'
   15021   fi
   15022 else
   15023   as_ln_s='cp -p'
   15024 fi
   15025 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15026 rmdir conf$$.dir 2>/dev/null
   15027 
   15028 
   15029 # as_fn_mkdir_p
   15030 # -------------
   15031 # Create "$as_dir" as a directory, including parents if necessary.
   15032 as_fn_mkdir_p ()
   15033 {
   15034 
   15035   case $as_dir in #(
   15036   -*) as_dir=./$as_dir;;
   15037   esac
   15038   test -d "$as_dir" || eval $as_mkdir_p || {
   15039     as_dirs=
   15040     while :; do
   15041       case $as_dir in #(
   15042       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15043       *) as_qdir=$as_dir;;
   15044       esac
   15045       as_dirs="'$as_qdir' $as_dirs"
   15046       as_dir=`$as_dirname -- "$as_dir" ||
   15047 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15048 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15049 	 X"$as_dir" : 'X\(//\)$' \| \
   15050 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15051 $as_echo X"$as_dir" |
   15052     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15053 	    s//\1/
   15054 	    q
   15055 	  }
   15056 	  /^X\(\/\/\)[^/].*/{
   15057 	    s//\1/
   15058 	    q
   15059 	  }
   15060 	  /^X\(\/\/\)$/{
   15061 	    s//\1/
   15062 	    q
   15063 	  }
   15064 	  /^X\(\/\).*/{
   15065 	    s//\1/
   15066 	    q
   15067 	  }
   15068 	  s/.*/./; q'`
   15069       test -d "$as_dir" && break
   15070     done
   15071     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15072   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   15073 
   15074 
   15075 } # as_fn_mkdir_p
   15076 if mkdir -p . 2>/dev/null; then
   15077   as_mkdir_p='mkdir -p "$as_dir"'
   15078 else
   15079   test -d ./-p && rmdir ./-p
   15080   as_mkdir_p=false
   15081 fi
   15082 
   15083 if test -x / >/dev/null 2>&1; then
   15084   as_test_x='test -x'
   15085 else
   15086   if ls -dL / >/dev/null 2>&1; then
   15087     as_ls_L_option=L
   15088   else
   15089     as_ls_L_option=
   15090   fi
   15091   as_test_x='
   15092     eval sh -c '\''
   15093       if test -d "$1"; then
   15094 	test -d "$1/.";
   15095       else
   15096 	case $1 in #(
   15097 	-*)set "./$1";;
   15098 	esac;
   15099 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   15100 	???[sx]*):;;*)false;;esac;fi
   15101     '\'' sh
   15102   '
   15103 fi
   15104 as_executable_p=$as_test_x
   15105 
   15106 # Sed expression to map a string onto a valid CPP name.
   15107 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15108 
   15109 # Sed expression to map a string onto a valid variable name.
   15110 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15111 
   15112 
   15113 exec 6>&1
   15114 ## ----------------------------------- ##
   15115 ## Main body of $CONFIG_STATUS script. ##
   15116 ## ----------------------------------- ##
   15117 _ASEOF
   15118 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15119 
   15120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15121 # Save the log message, to keep $0 and so on meaningful, and to
   15122 # report actual input values of CONFIG_FILES etc. instead of their
   15123 # values after options handling.
   15124 ac_log="
   15125 This file was extended by OpenFst $as_me 1.2.10, which was
   15126 generated by GNU Autoconf 2.65.  Invocation command line was
   15127 
   15128   CONFIG_FILES    = $CONFIG_FILES
   15129   CONFIG_HEADERS  = $CONFIG_HEADERS
   15130   CONFIG_LINKS    = $CONFIG_LINKS
   15131   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15132   $ $0 $@
   15133 
   15134 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15135 "
   15136 
   15137 _ACEOF
   15138 
   15139 case $ac_config_files in *"
   15140 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15141 esac
   15142 
   15143 case $ac_config_headers in *"
   15144 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15145 esac
   15146 
   15147 
   15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15149 # Files that config.status was made for.
   15150 config_files="$ac_config_files"
   15151 config_headers="$ac_config_headers"
   15152 config_commands="$ac_config_commands"
   15153 
   15154 _ACEOF
   15155 
   15156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15157 ac_cs_usage="\
   15158 \`$as_me' instantiates files and other configuration actions
   15159 from templates according to the current configuration.  Unless the files
   15160 and actions are specified as TAGs, all are instantiated by default.
   15161 
   15162 Usage: $0 [OPTION]... [TAG]...
   15163 
   15164   -h, --help       print this help, then exit
   15165   -V, --version    print version number and configuration settings, then exit
   15166       --config     print configuration, then exit
   15167   -q, --quiet, --silent
   15168                    do not print progress messages
   15169   -d, --debug      don't remove temporary files
   15170       --recheck    update $as_me by reconfiguring in the same conditions
   15171       --file=FILE[:TEMPLATE]
   15172                    instantiate the configuration file FILE
   15173       --header=FILE[:TEMPLATE]
   15174                    instantiate the configuration header FILE
   15175 
   15176 Configuration files:
   15177 $config_files
   15178 
   15179 Configuration headers:
   15180 $config_headers
   15181 
   15182 Configuration commands:
   15183 $config_commands
   15184 
   15185 Report bugs to <help (at] www.openfst.org>."
   15186 
   15187 _ACEOF
   15188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15189 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15190 ac_cs_version="\\
   15191 OpenFst config.status 1.2.10
   15192 configured by $0, generated by GNU Autoconf 2.65,
   15193   with options \\"\$ac_cs_config\\"
   15194 
   15195 Copyright (C) 2009 Free Software Foundation, Inc.
   15196 This config.status script is free software; the Free Software Foundation
   15197 gives unlimited permission to copy, distribute and modify it."
   15198 
   15199 ac_pwd='$ac_pwd'
   15200 srcdir='$srcdir'
   15201 INSTALL='$INSTALL'
   15202 MKDIR_P='$MKDIR_P'
   15203 AWK='$AWK'
   15204 test -n "\$AWK" || AWK=awk
   15205 _ACEOF
   15206 
   15207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15208 # The default lists apply if the user does not specify any file.
   15209 ac_need_defaults=:
   15210 while test $# != 0
   15211 do
   15212   case $1 in
   15213   --*=*)
   15214     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15215     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15216     ac_shift=:
   15217     ;;
   15218   *)
   15219     ac_option=$1
   15220     ac_optarg=$2
   15221     ac_shift=shift
   15222     ;;
   15223   esac
   15224 
   15225   case $ac_option in
   15226   # Handling of the options.
   15227   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15228     ac_cs_recheck=: ;;
   15229   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15230     $as_echo "$ac_cs_version"; exit ;;
   15231   --config | --confi | --conf | --con | --co | --c )
   15232     $as_echo "$ac_cs_config"; exit ;;
   15233   --debug | --debu | --deb | --de | --d | -d )
   15234     debug=: ;;
   15235   --file | --fil | --fi | --f )
   15236     $ac_shift
   15237     case $ac_optarg in
   15238     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15239     esac
   15240     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15241     ac_need_defaults=false;;
   15242   --header | --heade | --head | --hea )
   15243     $ac_shift
   15244     case $ac_optarg in
   15245     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15246     esac
   15247     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15248     ac_need_defaults=false;;
   15249   --he | --h)
   15250     # Conflict between --help and --header
   15251     as_fn_error "ambiguous option: \`$1'
   15252 Try \`$0 --help' for more information.";;
   15253   --help | --hel | -h )
   15254     $as_echo "$ac_cs_usage"; exit ;;
   15255   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15256   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15257     ac_cs_silent=: ;;
   15258 
   15259   # This is an error.
   15260   -*) as_fn_error "unrecognized option: \`$1'
   15261 Try \`$0 --help' for more information." ;;
   15262 
   15263   *) as_fn_append ac_config_targets " $1"
   15264      ac_need_defaults=false ;;
   15265 
   15266   esac
   15267   shift
   15268 done
   15269 
   15270 ac_configure_extra_args=
   15271 
   15272 if $ac_cs_silent; then
   15273   exec 6>/dev/null
   15274   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15275 fi
   15276 
   15277 _ACEOF
   15278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15279 if \$ac_cs_recheck; then
   15280   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15281   shift
   15282   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15283   CONFIG_SHELL='$SHELL'
   15284   export CONFIG_SHELL
   15285   exec "\$@"
   15286 fi
   15287 
   15288 _ACEOF
   15289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15290 exec 5>>config.log
   15291 {
   15292   echo
   15293   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15294 ## Running $as_me. ##
   15295 _ASBOX
   15296   $as_echo "$ac_log"
   15297 } >&5
   15298 
   15299 _ACEOF
   15300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15301 #
   15302 # INIT-COMMANDS
   15303 #
   15304 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15305 
   15306 
   15307 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15308 # if CDPATH is set.
   15309 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15310 
   15311 sed_quote_subst='$sed_quote_subst'
   15312 double_quote_subst='$double_quote_subst'
   15313 delay_variable_subst='$delay_variable_subst'
   15314 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   15315 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   15316 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   15317 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   15318 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   15319 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   15320 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15321 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   15322 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   15323 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15324 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   15325 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   15326 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   15327 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   15328 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   15329 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15330 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15331 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   15332 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   15333 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   15334 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   15335 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   15336 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   15337 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   15338 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   15339 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   15340 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15341 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15342 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   15343 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   15344 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   15345 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   15346 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15347 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   15348 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   15349 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15350 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15351 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15352 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   15353 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15354 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   15355 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   15356 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   15357 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   15358 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"`'
   15359 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"`'
   15360 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   15361 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   15362 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   15363 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   15364 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15365 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   15366 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   15367 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   15368 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   15369 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   15370 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   15371 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   15372 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   15373 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   15374 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   15375 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   15376 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15377 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15378 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   15379 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   15380 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15381 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15382 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   15383 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15384 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15385 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15386 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15387 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15388 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15389 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15390 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15391 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15392 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15393 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15394 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   15395 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   15396 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   15397 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   15398 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15399 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   15400 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   15401 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   15402 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   15403 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   15404 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15405 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15406 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15407 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15408 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15409 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   15410 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15411 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   15412 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   15413 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15414 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15415 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   15416 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15417 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15418 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15419 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15420 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15421 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15422 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   15423 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   15424 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15425 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15426 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   15427 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   15428 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   15429 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   15430 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15431 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15432 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
   15433 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
   15434 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
   15435 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
   15436 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
   15437 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
   15438 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15439 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15440 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15441 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15442 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15443 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15444 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15445 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15446 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15447 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15448 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15449 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15450 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15451 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15452 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15453 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15454 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15455 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15456 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15457 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15458 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15459 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15460 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15461 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15462 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15463 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15464 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15465 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15466 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15467 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15468 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15469 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15470 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15471 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15472 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15473 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15474 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15475 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15476 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15477 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15478 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15479 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15480 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15481 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15482 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15483 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15484 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
   15485 
   15486 LTCC='$LTCC'
   15487 LTCFLAGS='$LTCFLAGS'
   15488 compiler='$compiler_DEFAULT'
   15489 
   15490 # Quote evaled strings.
   15491 for var in SED \
   15492 GREP \
   15493 EGREP \
   15494 FGREP \
   15495 LD \
   15496 NM \
   15497 LN_S \
   15498 lt_SP2NL \
   15499 lt_NL2SP \
   15500 reload_flag \
   15501 OBJDUMP \
   15502 deplibs_check_method \
   15503 file_magic_cmd \
   15504 AR \
   15505 AR_FLAGS \
   15506 STRIP \
   15507 RANLIB \
   15508 CC \
   15509 CFLAGS \
   15510 compiler \
   15511 lt_cv_sys_global_symbol_pipe \
   15512 lt_cv_sys_global_symbol_to_cdecl \
   15513 lt_cv_sys_global_symbol_to_c_name_address \
   15514 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15515 SHELL \
   15516 ECHO \
   15517 lt_prog_compiler_no_builtin_flag \
   15518 lt_prog_compiler_wl \
   15519 lt_prog_compiler_pic \
   15520 lt_prog_compiler_static \
   15521 lt_cv_prog_compiler_c_o \
   15522 need_locks \
   15523 DSYMUTIL \
   15524 NMEDIT \
   15525 LIPO \
   15526 OTOOL \
   15527 OTOOL64 \
   15528 shrext_cmds \
   15529 export_dynamic_flag_spec \
   15530 whole_archive_flag_spec \
   15531 compiler_needs_object \
   15532 with_gnu_ld \
   15533 allow_undefined_flag \
   15534 no_undefined_flag \
   15535 hardcode_libdir_flag_spec \
   15536 hardcode_libdir_flag_spec_ld \
   15537 hardcode_libdir_separator \
   15538 fix_srcfile_path \
   15539 exclude_expsyms \
   15540 include_expsyms \
   15541 file_list_spec \
   15542 variables_saved_for_relink \
   15543 libname_spec \
   15544 library_names_spec \
   15545 soname_spec \
   15546 finish_eval \
   15547 old_striplib \
   15548 striplib \
   15549 compiler_lib_search_dirs \
   15550 predep_objects \
   15551 postdep_objects \
   15552 predeps \
   15553 postdeps \
   15554 compiler_lib_search_path \
   15555 LD_CXX \
   15556 compiler_CXX \
   15557 lt_prog_compiler_no_builtin_flag_CXX \
   15558 lt_prog_compiler_wl_CXX \
   15559 lt_prog_compiler_pic_CXX \
   15560 lt_prog_compiler_static_CXX \
   15561 lt_cv_prog_compiler_c_o_CXX \
   15562 export_dynamic_flag_spec_CXX \
   15563 whole_archive_flag_spec_CXX \
   15564 compiler_needs_object_CXX \
   15565 with_gnu_ld_CXX \
   15566 allow_undefined_flag_CXX \
   15567 no_undefined_flag_CXX \
   15568 hardcode_libdir_flag_spec_CXX \
   15569 hardcode_libdir_flag_spec_ld_CXX \
   15570 hardcode_libdir_separator_CXX \
   15571 fix_srcfile_path_CXX \
   15572 exclude_expsyms_CXX \
   15573 include_expsyms_CXX \
   15574 file_list_spec_CXX \
   15575 compiler_lib_search_dirs_CXX \
   15576 predep_objects_CXX \
   15577 postdep_objects_CXX \
   15578 predeps_CXX \
   15579 postdeps_CXX \
   15580 compiler_lib_search_path_CXX; do
   15581     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15582     *[\\\\\\\`\\"\\\$]*)
   15583       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15584       ;;
   15585     *)
   15586       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15587       ;;
   15588     esac
   15589 done
   15590 
   15591 # Double-quote double-evaled strings.
   15592 for var in reload_cmds \
   15593 old_postinstall_cmds \
   15594 old_postuninstall_cmds \
   15595 old_archive_cmds \
   15596 extract_expsyms_cmds \
   15597 old_archive_from_new_cmds \
   15598 old_archive_from_expsyms_cmds \
   15599 archive_cmds \
   15600 archive_expsym_cmds \
   15601 module_cmds \
   15602 module_expsym_cmds \
   15603 export_symbols_cmds \
   15604 prelink_cmds \
   15605 postinstall_cmds \
   15606 postuninstall_cmds \
   15607 finish_cmds \
   15608 sys_lib_search_path_spec \
   15609 sys_lib_dlsearch_path_spec \
   15610 old_archive_cmds_CXX \
   15611 old_archive_from_new_cmds_CXX \
   15612 old_archive_from_expsyms_cmds_CXX \
   15613 archive_cmds_CXX \
   15614 archive_expsym_cmds_CXX \
   15615 module_cmds_CXX \
   15616 module_expsym_cmds_CXX \
   15617 export_symbols_cmds_CXX \
   15618 prelink_cmds_CXX; do
   15619     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15620     *[\\\\\\\`\\"\\\$]*)
   15621       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15622       ;;
   15623     *)
   15624       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15625       ;;
   15626     esac
   15627 done
   15628 
   15629 # Fix-up fallback echo if it was mangled by the above quoting rules.
   15630 case \$lt_ECHO in
   15631 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   15632   ;;
   15633 esac
   15634 
   15635 ac_aux_dir='$ac_aux_dir'
   15636 xsi_shell='$xsi_shell'
   15637 lt_shell_append='$lt_shell_append'
   15638 
   15639 # See if we are running on zsh, and set the options which allow our
   15640 # commands through without removal of \ escapes INIT.
   15641 if test -n "\${ZSH_VERSION+set}" ; then
   15642    setopt NO_GLOB_SUBST
   15643 fi
   15644 
   15645 
   15646     PACKAGE='$PACKAGE'
   15647     VERSION='$VERSION'
   15648     TIMESTAMP='$TIMESTAMP'
   15649     RM='$RM'
   15650     ofile='$ofile'
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 _ACEOF
   15658 
   15659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15660 
   15661 # Handling of arguments.
   15662 for ac_config_target in $ac_config_targets
   15663 do
   15664   case $ac_config_target in
   15665     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15666     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15667     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15668     "src/include/fst/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/fst/config.h" ;;
   15669     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15670     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   15671     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
   15672     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
   15673     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
   15674     "src/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
   15675     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
   15676     "src/extensions/compact/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/compact/Makefile" ;;
   15677     "src/extensions/const/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/const/Makefile" ;;
   15678     "src/extensions/far/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/far/Makefile" ;;
   15679     "src/extensions/lookahead/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/lookahead/Makefile" ;;
   15680     "src/extensions/pdt/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/pdt/Makefile" ;;
   15681     "src/script/Makefile") CONFIG_FILES="$CONFIG_FILES src/script/Makefile" ;;
   15682 
   15683   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15684   esac
   15685 done
   15686 
   15687 
   15688 # If the user did not use the arguments to specify the items to instantiate,
   15689 # then the envvar interface is used.  Set only those that are not.
   15690 # We use the long form for the default assignment because of an extremely
   15691 # bizarre bug on SunOS 4.1.3.
   15692 if $ac_need_defaults; then
   15693   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15694   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15695   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15696 fi
   15697 
   15698 # Have a temporary directory for convenience.  Make it in the build tree
   15699 # simply because there is no reason against having it here, and in addition,
   15700 # creating and moving files from /tmp can sometimes cause problems.
   15701 # Hook for its removal unless debugging.
   15702 # Note that there is a small window in which the directory will not be cleaned:
   15703 # after its creation but before its name has been assigned to `$tmp'.
   15704 $debug ||
   15705 {
   15706   tmp=
   15707   trap 'exit_status=$?
   15708   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   15709 ' 0
   15710   trap 'as_fn_exit 1' 1 2 13 15
   15711 }
   15712 # Create a (secure) tmp directory for tmp files.
   15713 
   15714 {
   15715   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15716   test -n "$tmp" && test -d "$tmp"
   15717 }  ||
   15718 {
   15719   tmp=./conf$$-$RANDOM
   15720   (umask 077 && mkdir "$tmp")
   15721 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   15722 
   15723 # Set up the scripts for CONFIG_FILES section.
   15724 # No need to generate them if there are no CONFIG_FILES.
   15725 # This happens for instance with `./config.status config.h'.
   15726 if test -n "$CONFIG_FILES"; then
   15727 
   15728 
   15729 ac_cr=`echo X | tr X '\015'`
   15730 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15731 # But we know of no other shell where ac_cr would be empty at this
   15732 # point, so we can use a bashism as a fallback.
   15733 if test "x$ac_cr" = x; then
   15734   eval ac_cr=\$\'\\r\'
   15735 fi
   15736 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15737 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15738   ac_cs_awk_cr='\r'
   15739 else
   15740   ac_cs_awk_cr=$ac_cr
   15741 fi
   15742 
   15743 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   15744 _ACEOF
   15745 
   15746 
   15747 {
   15748   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15749   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15750   echo "_ACEOF"
   15751 } >conf$$subs.sh ||
   15752   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15753 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   15754 ac_delim='%!_!# '
   15755 for ac_last_try in false false false false false :; do
   15756   . ./conf$$subs.sh ||
   15757     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15758 
   15759   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15760   if test $ac_delim_n = $ac_delim_num; then
   15761     break
   15762   elif $ac_last_try; then
   15763     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   15764   else
   15765     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15766   fi
   15767 done
   15768 rm -f conf$$subs.sh
   15769 
   15770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15771 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   15772 _ACEOF
   15773 sed -n '
   15774 h
   15775 s/^/S["/; s/!.*/"]=/
   15776 p
   15777 g
   15778 s/^[^!]*!//
   15779 :repl
   15780 t repl
   15781 s/'"$ac_delim"'$//
   15782 t delim
   15783 :nl
   15784 h
   15785 s/\(.\{148\}\)..*/\1/
   15786 t more1
   15787 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15788 p
   15789 n
   15790 b repl
   15791 :more1
   15792 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15793 p
   15794 g
   15795 s/.\{148\}//
   15796 t nl
   15797 :delim
   15798 h
   15799 s/\(.\{148\}\)..*/\1/
   15800 t more2
   15801 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15802 p
   15803 b
   15804 :more2
   15805 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15806 p
   15807 g
   15808 s/.\{148\}//
   15809 t delim
   15810 ' <conf$$subs.awk | sed '
   15811 /^[^""]/{
   15812   N
   15813   s/\n//
   15814 }
   15815 ' >>$CONFIG_STATUS || ac_write_fail=1
   15816 rm -f conf$$subs.awk
   15817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15818 _ACAWK
   15819 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   15820   for (key in S) S_is_set[key] = 1
   15821   FS = ""
   15822 
   15823 }
   15824 {
   15825   line = $ 0
   15826   nfields = split(line, field, "@")
   15827   substed = 0
   15828   len = length(field[1])
   15829   for (i = 2; i < nfields; i++) {
   15830     key = field[i]
   15831     keylen = length(key)
   15832     if (S_is_set[key]) {
   15833       value = S[key]
   15834       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15835       len += length(value) + length(field[++i])
   15836       substed = 1
   15837     } else
   15838       len += 1 + keylen
   15839   }
   15840 
   15841   print line
   15842 }
   15843 
   15844 _ACAWK
   15845 _ACEOF
   15846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15847 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15848   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15849 else
   15850   cat
   15851 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   15852   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   15853 _ACEOF
   15854 
   15855 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   15856 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   15857 # trailing colons and then remove the whole line if VPATH becomes empty
   15858 # (actually we leave an empty line to preserve line numbers).
   15859 if test "x$srcdir" = x.; then
   15860   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   15861 s/:*\$(srcdir):*/:/
   15862 s/:*\${srcdir}:*/:/
   15863 s/:*@srcdir@:*/:/
   15864 s/^\([^=]*=[	 ]*\):*/\1/
   15865 s/:*$//
   15866 s/^[^=]*=[	 ]*$//
   15867 }'
   15868 fi
   15869 
   15870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15871 fi # test -n "$CONFIG_FILES"
   15872 
   15873 # Set up the scripts for CONFIG_HEADERS section.
   15874 # No need to generate them if there are no CONFIG_HEADERS.
   15875 # This happens for instance with `./config.status Makefile'.
   15876 if test -n "$CONFIG_HEADERS"; then
   15877 cat >"$tmp/defines.awk" <<\_ACAWK ||
   15878 BEGIN {
   15879 _ACEOF
   15880 
   15881 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15882 # here-document in config.status, that substitutes the proper values into
   15883 # config.h.in to produce config.h.
   15884 
   15885 # Create a delimiter string that does not exist in confdefs.h, to ease
   15886 # handling of long lines.
   15887 ac_delim='%!_!# '
   15888 for ac_last_try in false false :; do
   15889   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   15890   if test -z "$ac_t"; then
   15891     break
   15892   elif $ac_last_try; then
   15893     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   15894   else
   15895     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15896   fi
   15897 done
   15898 
   15899 # For the awk script, D is an array of macro values keyed by name,
   15900 # likewise P contains macro parameters if any.  Preserve backslash
   15901 # newline sequences.
   15902 
   15903 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15904 sed -n '
   15905 s/.\{148\}/&'"$ac_delim"'/g
   15906 t rset
   15907 :rset
   15908 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15909 t def
   15910 d
   15911 :def
   15912 s/\\$//
   15913 t bsnl
   15914 s/["\\]/\\&/g
   15915 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15916 D["\1"]=" \3"/p
   15917 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15918 d
   15919 :bsnl
   15920 s/["\\]/\\&/g
   15921 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15922 D["\1"]=" \3\\\\\\n"\\/p
   15923 t cont
   15924 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15925 t cont
   15926 d
   15927 :cont
   15928 n
   15929 s/.\{148\}/&'"$ac_delim"'/g
   15930 t clear
   15931 :clear
   15932 s/\\$//
   15933 t bsnlc
   15934 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15935 d
   15936 :bsnlc
   15937 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15938 b cont
   15939 ' <confdefs.h | sed '
   15940 s/'"$ac_delim"'/"\\\
   15941 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15942 
   15943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15944   for (key in D) D_is_set[key] = 1
   15945   FS = ""
   15946 }
   15947 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15948   line = \$ 0
   15949   split(line, arg, " ")
   15950   if (arg[1] == "#") {
   15951     defundef = arg[2]
   15952     mac1 = arg[3]
   15953   } else {
   15954     defundef = substr(arg[1], 2)
   15955     mac1 = arg[2]
   15956   }
   15957   split(mac1, mac2, "(") #)
   15958   macro = mac2[1]
   15959   prefix = substr(line, 1, index(line, defundef) - 1)
   15960   if (D_is_set[macro]) {
   15961     # Preserve the white space surrounding the "#".
   15962     print prefix "define", macro P[macro] D[macro]
   15963     next
   15964   } else {
   15965     # Replace #undef with comments.  This is necessary, for example,
   15966     # in the case of _POSIX_SOURCE, which is predefined and required
   15967     # on some systems where configure will not decide to define it.
   15968     if (defundef == "undef") {
   15969       print "/*", prefix defundef, macro, "*/"
   15970       next
   15971     }
   15972   }
   15973 }
   15974 { print }
   15975 _ACAWK
   15976 _ACEOF
   15977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15978   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   15979 fi # test -n "$CONFIG_HEADERS"
   15980 
   15981 
   15982 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15983 shift
   15984 for ac_tag
   15985 do
   15986   case $ac_tag in
   15987   :[FHLC]) ac_mode=$ac_tag; continue;;
   15988   esac
   15989   case $ac_mode$ac_tag in
   15990   :[FHL]*:*);;
   15991   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15992   :[FH]-) ac_tag=-:-;;
   15993   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15994   esac
   15995   ac_save_IFS=$IFS
   15996   IFS=:
   15997   set x $ac_tag
   15998   IFS=$ac_save_IFS
   15999   shift
   16000   ac_file=$1
   16001   shift
   16002 
   16003   case $ac_mode in
   16004   :L) ac_source=$1;;
   16005   :[FH])
   16006     ac_file_inputs=
   16007     for ac_f
   16008     do
   16009       case $ac_f in
   16010       -) ac_f="$tmp/stdin";;
   16011       *) # Look for the file first in the build tree, then in the source tree
   16012 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16013 	 # because $ac_f cannot contain `:'.
   16014 	 test -f "$ac_f" ||
   16015 	   case $ac_f in
   16016 	   [\\/$]*) false;;
   16017 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   16018 	   esac ||
   16019 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   16020       esac
   16021       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   16022       as_fn_append ac_file_inputs " '$ac_f'"
   16023     done
   16024 
   16025     # Let's still pretend it is `configure' which instantiates (i.e., don't
   16026     # use $as_me), people would be surprised to read:
   16027     #    /* config.h.  Generated by config.status.  */
   16028     configure_input='Generated from '`
   16029 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   16030 	`' by configure.'
   16031     if test x"$ac_file" != x-; then
   16032       configure_input="$ac_file.  $configure_input"
   16033       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   16034 $as_echo "$as_me: creating $ac_file" >&6;}
   16035     fi
   16036     # Neutralize special characters interpreted by sed in replacement strings.
   16037     case $configure_input in #(
   16038     *\&* | *\|* | *\\* )
   16039        ac_sed_conf_input=`$as_echo "$configure_input" |
   16040        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   16041     *) ac_sed_conf_input=$configure_input;;
   16042     esac
   16043 
   16044     case $ac_tag in
   16045     *:-:* | *:-) cat >"$tmp/stdin" \
   16046       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   16047     esac
   16048     ;;
   16049   esac
   16050 
   16051   ac_dir=`$as_dirname -- "$ac_file" ||
   16052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16053 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16054 	 X"$ac_file" : 'X\(//\)$' \| \
   16055 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   16056 $as_echo X"$ac_file" |
   16057     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16058 	    s//\1/
   16059 	    q
   16060 	  }
   16061 	  /^X\(\/\/\)[^/].*/{
   16062 	    s//\1/
   16063 	    q
   16064 	  }
   16065 	  /^X\(\/\/\)$/{
   16066 	    s//\1/
   16067 	    q
   16068 	  }
   16069 	  /^X\(\/\).*/{
   16070 	    s//\1/
   16071 	    q
   16072 	  }
   16073 	  s/.*/./; q'`
   16074   as_dir="$ac_dir"; as_fn_mkdir_p
   16075   ac_builddir=.
   16076 
   16077 case "$ac_dir" in
   16078 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16079 *)
   16080   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   16081   # A ".." for each directory in $ac_dir_suffix.
   16082   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16083   case $ac_top_builddir_sub in
   16084   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16085   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16086   esac ;;
   16087 esac
   16088 ac_abs_top_builddir=$ac_pwd
   16089 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16090 # for backward compatibility:
   16091 ac_top_builddir=$ac_top_build_prefix
   16092 
   16093 case $srcdir in
   16094   .)  # We are building in place.
   16095     ac_srcdir=.
   16096     ac_top_srcdir=$ac_top_builddir_sub
   16097     ac_abs_top_srcdir=$ac_pwd ;;
   16098   [\\/]* | ?:[\\/]* )  # Absolute name.
   16099     ac_srcdir=$srcdir$ac_dir_suffix;
   16100     ac_top_srcdir=$srcdir
   16101     ac_abs_top_srcdir=$srcdir ;;
   16102   *) # Relative name.
   16103     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16104     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16105     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16106 esac
   16107 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16108 
   16109 
   16110   case $ac_mode in
   16111   :F)
   16112   #
   16113   # CONFIG_FILE
   16114   #
   16115 
   16116   case $INSTALL in
   16117   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16118   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16119   esac
   16120   ac_MKDIR_P=$MKDIR_P
   16121   case $MKDIR_P in
   16122   [\\/$]* | ?:[\\/]* ) ;;
   16123   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16124   esac
   16125 _ACEOF
   16126 
   16127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16128 # If the template does not know about datarootdir, expand it.
   16129 # FIXME: This hack should be removed a few years after 2.60.
   16130 ac_datarootdir_hack=; ac_datarootdir_seen=
   16131 ac_sed_dataroot='
   16132 /datarootdir/ {
   16133   p
   16134   q
   16135 }
   16136 /@datadir@/p
   16137 /@docdir@/p
   16138 /@infodir@/p
   16139 /@localedir@/p
   16140 /@mandir@/p'
   16141 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16142 *datarootdir*) ac_datarootdir_seen=yes;;
   16143 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16144   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16145 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16146 _ACEOF
   16147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16148   ac_datarootdir_hack='
   16149   s&@datadir@&$datadir&g
   16150   s&@docdir@&$docdir&g
   16151   s&@infodir@&$infodir&g
   16152   s&@localedir@&$localedir&g
   16153   s&@mandir@&$mandir&g
   16154   s&\\\${datarootdir}&$datarootdir&g' ;;
   16155 esac
   16156 _ACEOF
   16157 
   16158 # Neutralize VPATH when `$srcdir' = `.'.
   16159 # Shell code in configure.ac might set extrasub.
   16160 # FIXME: do we really want to maintain this feature?
   16161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16162 ac_sed_extra="$ac_vpsub
   16163 $extrasub
   16164 _ACEOF
   16165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16166 :t
   16167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16168 s|@configure_input@|$ac_sed_conf_input|;t t
   16169 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16170 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16171 s&@srcdir@&$ac_srcdir&;t t
   16172 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16173 s&@top_srcdir@&$ac_top_srcdir&;t t
   16174 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16175 s&@builddir@&$ac_builddir&;t t
   16176 s&@abs_builddir@&$ac_abs_builddir&;t t
   16177 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16178 s&@INSTALL@&$ac_INSTALL&;t t
   16179 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16180 $ac_datarootdir_hack
   16181 "
   16182 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   16183   || as_fn_error "could not create $ac_file" "$LINENO" 5
   16184 
   16185 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16186   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   16187   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   16188   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16189 which seems to be undefined.  Please make sure it is defined." >&5
   16190 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16191 which seems to be undefined.  Please make sure it is defined." >&2;}
   16192 
   16193   rm -f "$tmp/stdin"
   16194   case $ac_file in
   16195   -) cat "$tmp/out" && rm -f "$tmp/out";;
   16196   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   16197   esac \
   16198   || as_fn_error "could not create $ac_file" "$LINENO" 5
   16199  ;;
   16200   :H)
   16201   #
   16202   # CONFIG_HEADER
   16203   #
   16204   if test x"$ac_file" != x-; then
   16205     {
   16206       $as_echo "/* $configure_input  */" \
   16207       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   16208     } >"$tmp/config.h" \
   16209       || as_fn_error "could not create $ac_file" "$LINENO" 5
   16210     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   16211       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16212 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16213     else
   16214       rm -f "$ac_file"
   16215       mv "$tmp/config.h" "$ac_file" \
   16216 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   16217     fi
   16218   else
   16219     $as_echo "/* $configure_input  */" \
   16220       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   16221       || as_fn_error "could not create -" "$LINENO" 5
   16222   fi
   16223 # Compute "$ac_file"'s index in $config_headers.
   16224 _am_arg="$ac_file"
   16225 _am_stamp_count=1
   16226 for _am_header in $config_headers :; do
   16227   case $_am_header in
   16228     $_am_arg | $_am_arg:* )
   16229       break ;;
   16230     * )
   16231       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16232   esac
   16233 done
   16234 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16235 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16236 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16237 	 X"$_am_arg" : 'X\(//\)$' \| \
   16238 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16239 $as_echo X"$_am_arg" |
   16240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16241 	    s//\1/
   16242 	    q
   16243 	  }
   16244 	  /^X\(\/\/\)[^/].*/{
   16245 	    s//\1/
   16246 	    q
   16247 	  }
   16248 	  /^X\(\/\/\)$/{
   16249 	    s//\1/
   16250 	    q
   16251 	  }
   16252 	  /^X\(\/\).*/{
   16253 	    s//\1/
   16254 	    q
   16255 	  }
   16256 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16257  ;;
   16258 
   16259   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16260 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16261  ;;
   16262   esac
   16263 
   16264 
   16265   case $ac_file$ac_mode in
   16266     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16267   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   16268   # are listed without --file.  Let's play safe and only enable the eval
   16269   # if we detect the quoting.
   16270   case $CONFIG_FILES in
   16271   *\'*) eval set x "$CONFIG_FILES" ;;
   16272   *)   set x $CONFIG_FILES ;;
   16273   esac
   16274   shift
   16275   for mf
   16276   do
   16277     # Strip MF so we end up with the name of the file.
   16278     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16279     # Check whether this is an Automake generated Makefile or not.
   16280     # We used to match only the files named `Makefile.in', but
   16281     # some people rename them; so instead we look at the file content.
   16282     # Grep'ing the first line is not enough: some people post-process
   16283     # each Makefile.in and add a new line on top of each file to say so.
   16284     # Grep'ing the whole file is not good either: AIX grep has a line
   16285     # limit of 2048, but all sed's we know have understand at least 4000.
   16286     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16287       dirpart=`$as_dirname -- "$mf" ||
   16288 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16289 	 X"$mf" : 'X\(//\)[^/]' \| \
   16290 	 X"$mf" : 'X\(//\)$' \| \
   16291 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16292 $as_echo X"$mf" |
   16293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16294 	    s//\1/
   16295 	    q
   16296 	  }
   16297 	  /^X\(\/\/\)[^/].*/{
   16298 	    s//\1/
   16299 	    q
   16300 	  }
   16301 	  /^X\(\/\/\)$/{
   16302 	    s//\1/
   16303 	    q
   16304 	  }
   16305 	  /^X\(\/\).*/{
   16306 	    s//\1/
   16307 	    q
   16308 	  }
   16309 	  s/.*/./; q'`
   16310     else
   16311       continue
   16312     fi
   16313     # Extract the definition of DEPDIR, am__include, and am__quote
   16314     # from the Makefile without running `make'.
   16315     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16316     test -z "$DEPDIR" && continue
   16317     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16318     test -z "am__include" && continue
   16319     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16320     # When using ansi2knr, U may be empty or an underscore; expand it
   16321     U=`sed -n 's/^U = //p' < "$mf"`
   16322     # Find all dependency output files, they are included files with
   16323     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16324     # simplest approach to changing $(DEPDIR) to its actual value in the
   16325     # expansion.
   16326     for file in `sed -n "
   16327       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16328 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   16329       # Make sure the directory exists.
   16330       test -f "$dirpart/$file" && continue
   16331       fdir=`$as_dirname -- "$file" ||
   16332 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16333 	 X"$file" : 'X\(//\)[^/]' \| \
   16334 	 X"$file" : 'X\(//\)$' \| \
   16335 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16336 $as_echo X"$file" |
   16337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16338 	    s//\1/
   16339 	    q
   16340 	  }
   16341 	  /^X\(\/\/\)[^/].*/{
   16342 	    s//\1/
   16343 	    q
   16344 	  }
   16345 	  /^X\(\/\/\)$/{
   16346 	    s//\1/
   16347 	    q
   16348 	  }
   16349 	  /^X\(\/\).*/{
   16350 	    s//\1/
   16351 	    q
   16352 	  }
   16353 	  s/.*/./; q'`
   16354       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16355       # echo "creating $dirpart/$file"
   16356       echo '# dummy' > "$dirpart/$file"
   16357     done
   16358   done
   16359 }
   16360  ;;
   16361     "libtool":C)
   16362 
   16363     # See if we are running on zsh, and set the options which allow our
   16364     # commands through without removal of \ escapes.
   16365     if test -n "${ZSH_VERSION+set}" ; then
   16366       setopt NO_GLOB_SUBST
   16367     fi
   16368 
   16369     cfgfile="${ofile}T"
   16370     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16371     $RM "$cfgfile"
   16372 
   16373     cat <<_LT_EOF >> "$cfgfile"
   16374 #! $SHELL
   16375 
   16376 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16377 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16378 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16379 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16380 #
   16381 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16382 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   16383 #   Written by Gordon Matzigkeit, 1996
   16384 #
   16385 #   This file is part of GNU Libtool.
   16386 #
   16387 # GNU Libtool is free software; you can redistribute it and/or
   16388 # modify it under the terms of the GNU General Public License as
   16389 # published by the Free Software Foundation; either version 2 of
   16390 # the License, or (at your option) any later version.
   16391 #
   16392 # As a special exception to the GNU General Public License,
   16393 # if you distribute this file as part of a program or library that
   16394 # is built using GNU Libtool, you may include this file under the
   16395 # same distribution terms that you use for the rest of that program.
   16396 #
   16397 # GNU Libtool is distributed in the hope that it will be useful,
   16398 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16399 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16400 # GNU General Public License for more details.
   16401 #
   16402 # You should have received a copy of the GNU General Public License
   16403 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16404 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16405 # obtained by writing to the Free Software Foundation, Inc.,
   16406 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16407 
   16408 
   16409 # The names of the tagged configurations supported by this script.
   16410 available_tags="CXX "
   16411 
   16412 # ### BEGIN LIBTOOL CONFIG
   16413 
   16414 # Whether or not to build static libraries.
   16415 build_old_libs=$enable_static
   16416 
   16417 # Which release of libtool.m4 was used?
   16418 macro_version=$macro_version
   16419 macro_revision=$macro_revision
   16420 
   16421 # Whether or not to build shared libraries.
   16422 build_libtool_libs=$enable_shared
   16423 
   16424 # What type of objects to build.
   16425 pic_mode=$pic_mode
   16426 
   16427 # Whether or not to optimize for fast installation.
   16428 fast_install=$enable_fast_install
   16429 
   16430 # The host system.
   16431 host_alias=$host_alias
   16432 host=$host
   16433 host_os=$host_os
   16434 
   16435 # The build system.
   16436 build_alias=$build_alias
   16437 build=$build
   16438 build_os=$build_os
   16439 
   16440 # A sed program that does not truncate output.
   16441 SED=$lt_SED
   16442 
   16443 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16444 Xsed="\$SED -e 1s/^X//"
   16445 
   16446 # A grep program that handles long lines.
   16447 GREP=$lt_GREP
   16448 
   16449 # An ERE matcher.
   16450 EGREP=$lt_EGREP
   16451 
   16452 # A literal string matcher.
   16453 FGREP=$lt_FGREP
   16454 
   16455 # A BSD- or MS-compatible name lister.
   16456 NM=$lt_NM
   16457 
   16458 # Whether we need soft or hard links.
   16459 LN_S=$lt_LN_S
   16460 
   16461 # What is the maximum length of a command?
   16462 max_cmd_len=$max_cmd_len
   16463 
   16464 # Object file suffix (normally "o").
   16465 objext=$ac_objext
   16466 
   16467 # Executable file suffix (normally "").
   16468 exeext=$exeext
   16469 
   16470 # whether the shell understands "unset".
   16471 lt_unset=$lt_unset
   16472 
   16473 # turn spaces into newlines.
   16474 SP2NL=$lt_lt_SP2NL
   16475 
   16476 # turn newlines into spaces.
   16477 NL2SP=$lt_lt_NL2SP
   16478 
   16479 # How to create reloadable object files.
   16480 reload_flag=$lt_reload_flag
   16481 reload_cmds=$lt_reload_cmds
   16482 
   16483 # An object symbol dumper.
   16484 OBJDUMP=$lt_OBJDUMP
   16485 
   16486 # Method to check whether dependent libraries are shared objects.
   16487 deplibs_check_method=$lt_deplibs_check_method
   16488 
   16489 # Command to use when deplibs_check_method == "file_magic".
   16490 file_magic_cmd=$lt_file_magic_cmd
   16491 
   16492 # The archiver.
   16493 AR=$lt_AR
   16494 AR_FLAGS=$lt_AR_FLAGS
   16495 
   16496 # A symbol stripping program.
   16497 STRIP=$lt_STRIP
   16498 
   16499 # Commands used to install an old-style archive.
   16500 RANLIB=$lt_RANLIB
   16501 old_postinstall_cmds=$lt_old_postinstall_cmds
   16502 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16503 
   16504 # A C compiler.
   16505 LTCC=$lt_CC
   16506 
   16507 # LTCC compiler flags.
   16508 LTCFLAGS=$lt_CFLAGS
   16509 
   16510 # Take the output of nm and produce a listing of raw symbols and C names.
   16511 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16512 
   16513 # Transform the output of nm in a proper C declaration.
   16514 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16515 
   16516 # Transform the output of nm in a C name address pair.
   16517 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16518 
   16519 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16520 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16521 
   16522 # The name of the directory that contains temporary libtool files.
   16523 objdir=$objdir
   16524 
   16525 # Shell to use when invoking shell scripts.
   16526 SHELL=$lt_SHELL
   16527 
   16528 # An echo program that does not interpret backslashes.
   16529 ECHO=$lt_ECHO
   16530 
   16531 # Used to examine libraries when file_magic_cmd begins with "file".
   16532 MAGIC_CMD=$MAGIC_CMD
   16533 
   16534 # Must we lock files when doing compilation?
   16535 need_locks=$lt_need_locks
   16536 
   16537 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16538 DSYMUTIL=$lt_DSYMUTIL
   16539 
   16540 # Tool to change global to local symbols on Mac OS X.
   16541 NMEDIT=$lt_NMEDIT
   16542 
   16543 # Tool to manipulate fat objects and archives on Mac OS X.
   16544 LIPO=$lt_LIPO
   16545 
   16546 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16547 OTOOL=$lt_OTOOL
   16548 
   16549 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16550 OTOOL64=$lt_OTOOL64
   16551 
   16552 # Old archive suffix (normally "a").
   16553 libext=$libext
   16554 
   16555 # Shared library suffix (normally ".so").
   16556 shrext_cmds=$lt_shrext_cmds
   16557 
   16558 # The commands to extract the exported symbol list from a shared archive.
   16559 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16560 
   16561 # Variables whose values should be saved in libtool wrapper scripts and
   16562 # restored at link time.
   16563 variables_saved_for_relink=$lt_variables_saved_for_relink
   16564 
   16565 # Do we need the "lib" prefix for modules?
   16566 need_lib_prefix=$need_lib_prefix
   16567 
   16568 # Do we need a version for libraries?
   16569 need_version=$need_version
   16570 
   16571 # Library versioning type.
   16572 version_type=$version_type
   16573 
   16574 # Shared library runtime path variable.
   16575 runpath_var=$runpath_var
   16576 
   16577 # Shared library path variable.
   16578 shlibpath_var=$shlibpath_var
   16579 
   16580 # Is shlibpath searched before the hard-coded library search path?
   16581 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16582 
   16583 # Format of library name prefix.
   16584 libname_spec=$lt_libname_spec
   16585 
   16586 # List of archive names.  First name is the real one, the rest are links.
   16587 # The last name is the one that the linker finds with -lNAME
   16588 library_names_spec=$lt_library_names_spec
   16589 
   16590 # The coded name of the library, if different from the real name.
   16591 soname_spec=$lt_soname_spec
   16592 
   16593 # Command to use after installation of a shared archive.
   16594 postinstall_cmds=$lt_postinstall_cmds
   16595 
   16596 # Command to use after uninstallation of a shared archive.
   16597 postuninstall_cmds=$lt_postuninstall_cmds
   16598 
   16599 # Commands used to finish a libtool library installation in a directory.
   16600 finish_cmds=$lt_finish_cmds
   16601 
   16602 # As "finish_cmds", except a single script fragment to be evaled but
   16603 # not shown.
   16604 finish_eval=$lt_finish_eval
   16605 
   16606 # Whether we should hardcode library paths into libraries.
   16607 hardcode_into_libs=$hardcode_into_libs
   16608 
   16609 # Compile-time system search path for libraries.
   16610 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16611 
   16612 # Run-time system search path for libraries.
   16613 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16614 
   16615 # Whether dlopen is supported.
   16616 dlopen_support=$enable_dlopen
   16617 
   16618 # Whether dlopen of programs is supported.
   16619 dlopen_self=$enable_dlopen_self
   16620 
   16621 # Whether dlopen of statically linked programs is supported.
   16622 dlopen_self_static=$enable_dlopen_self_static
   16623 
   16624 # Commands to strip libraries.
   16625 old_striplib=$lt_old_striplib
   16626 striplib=$lt_striplib
   16627 
   16628 
   16629 # The linker used to build libraries.
   16630 LD=$lt_LD
   16631 
   16632 # Commands used to build an old-style archive.
   16633 old_archive_cmds=$lt_old_archive_cmds
   16634 
   16635 # A language specific compiler.
   16636 CC=$lt_compiler
   16637 
   16638 # Is the compiler the GNU compiler?
   16639 with_gcc=$GCC
   16640 
   16641 # Compiler flag to turn off builtin functions.
   16642 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16643 
   16644 # How to pass a linker flag through the compiler.
   16645 wl=$lt_lt_prog_compiler_wl
   16646 
   16647 # Additional compiler flags for building library objects.
   16648 pic_flag=$lt_lt_prog_compiler_pic
   16649 
   16650 # Compiler flag to prevent dynamic linking.
   16651 link_static_flag=$lt_lt_prog_compiler_static
   16652 
   16653 # Does compiler simultaneously support -c and -o options?
   16654 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16655 
   16656 # Whether or not to add -lc for building shared libraries.
   16657 build_libtool_need_lc=$archive_cmds_need_lc
   16658 
   16659 # Whether or not to disallow shared libs when runtime libs are static.
   16660 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16661 
   16662 # Compiler flag to allow reflexive dlopens.
   16663 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16664 
   16665 # Compiler flag to generate shared objects directly from archives.
   16666 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16667 
   16668 # Whether the compiler copes with passing no objects directly.
   16669 compiler_needs_object=$lt_compiler_needs_object
   16670 
   16671 # Create an old-style archive from a shared archive.
   16672 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16673 
   16674 # Create a temporary old-style archive to link instead of a shared archive.
   16675 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16676 
   16677 # Commands used to build a shared archive.
   16678 archive_cmds=$lt_archive_cmds
   16679 archive_expsym_cmds=$lt_archive_expsym_cmds
   16680 
   16681 # Commands used to build a loadable module if different from building
   16682 # a shared archive.
   16683 module_cmds=$lt_module_cmds
   16684 module_expsym_cmds=$lt_module_expsym_cmds
   16685 
   16686 # Whether we are building with GNU ld or not.
   16687 with_gnu_ld=$lt_with_gnu_ld
   16688 
   16689 # Flag that allows shared libraries with undefined symbols to be built.
   16690 allow_undefined_flag=$lt_allow_undefined_flag
   16691 
   16692 # Flag that enforces no undefined symbols.
   16693 no_undefined_flag=$lt_no_undefined_flag
   16694 
   16695 # Flag to hardcode \$libdir into a binary during linking.
   16696 # This must work even if \$libdir does not exist
   16697 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16698 
   16699 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16700 # during linking.  This must work even if \$libdir does not exist.
   16701 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16702 
   16703 # Whether we need a single "-rpath" flag with a separated argument.
   16704 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16705 
   16706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16707 # DIR into the resulting binary.
   16708 hardcode_direct=$hardcode_direct
   16709 
   16710 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16711 # DIR into the resulting binary and the resulting library dependency is
   16712 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16713 # library is relocated.
   16714 hardcode_direct_absolute=$hardcode_direct_absolute
   16715 
   16716 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16717 # into the resulting binary.
   16718 hardcode_minus_L=$hardcode_minus_L
   16719 
   16720 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16721 # into the resulting binary.
   16722 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16723 
   16724 # Set to "yes" if building a shared library automatically hardcodes DIR
   16725 # into the library and all subsequent libraries and executables linked
   16726 # against it.
   16727 hardcode_automatic=$hardcode_automatic
   16728 
   16729 # Set to yes if linker adds runtime paths of dependent libraries
   16730 # to runtime path list.
   16731 inherit_rpath=$inherit_rpath
   16732 
   16733 # Whether libtool must link a program against all its dependency libraries.
   16734 link_all_deplibs=$link_all_deplibs
   16735 
   16736 # Fix the shell variable \$srcfile for the compiler.
   16737 fix_srcfile_path=$lt_fix_srcfile_path
   16738 
   16739 # Set to "yes" if exported symbols are required.
   16740 always_export_symbols=$always_export_symbols
   16741 
   16742 # The commands to list exported symbols.
   16743 export_symbols_cmds=$lt_export_symbols_cmds
   16744 
   16745 # Symbols that should not be listed in the preloaded symbols.
   16746 exclude_expsyms=$lt_exclude_expsyms
   16747 
   16748 # Symbols that must always be exported.
   16749 include_expsyms=$lt_include_expsyms
   16750 
   16751 # Commands necessary for linking programs (against libraries) with templates.
   16752 prelink_cmds=$lt_prelink_cmds
   16753 
   16754 # Specify filename containing input files.
   16755 file_list_spec=$lt_file_list_spec
   16756 
   16757 # How to hardcode a shared library path into an executable.
   16758 hardcode_action=$hardcode_action
   16759 
   16760 # The directories searched by this compiler when creating a shared library.
   16761 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   16762 
   16763 # Dependencies to place before and after the objects being linked to
   16764 # create a shared library.
   16765 predep_objects=$lt_predep_objects
   16766 postdep_objects=$lt_postdep_objects
   16767 predeps=$lt_predeps
   16768 postdeps=$lt_postdeps
   16769 
   16770 # The library search path used internally by the compiler when linking
   16771 # a shared library.
   16772 compiler_lib_search_path=$lt_compiler_lib_search_path
   16773 
   16774 # ### END LIBTOOL CONFIG
   16775 
   16776 _LT_EOF
   16777 
   16778   case $host_os in
   16779   aix3*)
   16780     cat <<\_LT_EOF >> "$cfgfile"
   16781 # AIX sometimes has problems with the GCC collect2 program.  For some
   16782 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16783 # vanish in a puff of smoke.
   16784 if test "X${COLLECT_NAMES+set}" != Xset; then
   16785   COLLECT_NAMES=
   16786   export COLLECT_NAMES
   16787 fi
   16788 _LT_EOF
   16789     ;;
   16790   esac
   16791 
   16792 
   16793 ltmain="$ac_aux_dir/ltmain.sh"
   16794 
   16795 
   16796   # We use sed instead of cat because bash on DJGPP gets confused if
   16797   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16798   # text mode, it properly converts lines to CR/LF.  This bash problem
   16799   # is reportedly fixed, but why not run on old versions too?
   16800   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   16801     || (rm -f "$cfgfile"; exit 1)
   16802 
   16803   case $xsi_shell in
   16804   yes)
   16805     cat << \_LT_EOF >> "$cfgfile"
   16806 
   16807 # func_dirname file append nondir_replacement
   16808 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16809 # otherwise set result to NONDIR_REPLACEMENT.
   16810 func_dirname ()
   16811 {
   16812   case ${1} in
   16813     */*) func_dirname_result="${1%/*}${2}" ;;
   16814     *  ) func_dirname_result="${3}" ;;
   16815   esac
   16816 }
   16817 
   16818 # func_basename file
   16819 func_basename ()
   16820 {
   16821   func_basename_result="${1##*/}"
   16822 }
   16823 
   16824 # func_dirname_and_basename file append nondir_replacement
   16825 # perform func_basename and func_dirname in a single function
   16826 # call:
   16827 #   dirname:  Compute the dirname of FILE.  If nonempty,
   16828 #             add APPEND to the result, otherwise set result
   16829 #             to NONDIR_REPLACEMENT.
   16830 #             value returned in "$func_dirname_result"
   16831 #   basename: Compute filename of FILE.
   16832 #             value retuned in "$func_basename_result"
   16833 # Implementation must be kept synchronized with func_dirname
   16834 # and func_basename. For efficiency, we do not delegate to
   16835 # those functions but instead duplicate the functionality here.
   16836 func_dirname_and_basename ()
   16837 {
   16838   case ${1} in
   16839     */*) func_dirname_result="${1%/*}${2}" ;;
   16840     *  ) func_dirname_result="${3}" ;;
   16841   esac
   16842   func_basename_result="${1##*/}"
   16843 }
   16844 
   16845 # func_stripname prefix suffix name
   16846 # strip PREFIX and SUFFIX off of NAME.
   16847 # PREFIX and SUFFIX must not contain globbing or regex special
   16848 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16849 # dot (in which case that matches only a dot).
   16850 func_stripname ()
   16851 {
   16852   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   16853   # positional parameters, so assign one to ordinary parameter first.
   16854   func_stripname_result=${3}
   16855   func_stripname_result=${func_stripname_result#"${1}"}
   16856   func_stripname_result=${func_stripname_result%"${2}"}
   16857 }
   16858 
   16859 # func_opt_split
   16860 func_opt_split ()
   16861 {
   16862   func_opt_split_opt=${1%%=*}
   16863   func_opt_split_arg=${1#*=}
   16864 }
   16865 
   16866 # func_lo2o object
   16867 func_lo2o ()
   16868 {
   16869   case ${1} in
   16870     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   16871     *)    func_lo2o_result=${1} ;;
   16872   esac
   16873 }
   16874 
   16875 # func_xform libobj-or-source
   16876 func_xform ()
   16877 {
   16878   func_xform_result=${1%.*}.lo
   16879 }
   16880 
   16881 # func_arith arithmetic-term...
   16882 func_arith ()
   16883 {
   16884   func_arith_result=$(( $* ))
   16885 }
   16886 
   16887 # func_len string
   16888 # STRING may not start with a hyphen.
   16889 func_len ()
   16890 {
   16891   func_len_result=${#1}
   16892 }
   16893 
   16894 _LT_EOF
   16895     ;;
   16896   *) # Bourne compatible functions.
   16897     cat << \_LT_EOF >> "$cfgfile"
   16898 
   16899 # func_dirname file append nondir_replacement
   16900 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16901 # otherwise set result to NONDIR_REPLACEMENT.
   16902 func_dirname ()
   16903 {
   16904   # Extract subdirectory from the argument.
   16905   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   16906   if test "X$func_dirname_result" = "X${1}"; then
   16907     func_dirname_result="${3}"
   16908   else
   16909     func_dirname_result="$func_dirname_result${2}"
   16910   fi
   16911 }
   16912 
   16913 # func_basename file
   16914 func_basename ()
   16915 {
   16916   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   16917 }
   16918 
   16919 
   16920 # func_stripname prefix suffix name
   16921 # strip PREFIX and SUFFIX off of NAME.
   16922 # PREFIX and SUFFIX must not contain globbing or regex special
   16923 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16924 # dot (in which case that matches only a dot).
   16925 # func_strip_suffix prefix name
   16926 func_stripname ()
   16927 {
   16928   case ${2} in
   16929     .*) func_stripname_result=`$ECHO "X${3}" \
   16930            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   16931     *)  func_stripname_result=`$ECHO "X${3}" \
   16932            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   16933   esac
   16934 }
   16935 
   16936 # sed scripts:
   16937 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16938 my_sed_long_arg='1s/^-[^=]*=//'
   16939 
   16940 # func_opt_split
   16941 func_opt_split ()
   16942 {
   16943   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   16944   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   16945 }
   16946 
   16947 # func_lo2o object
   16948 func_lo2o ()
   16949 {
   16950   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   16951 }
   16952 
   16953 # func_xform libobj-or-source
   16954 func_xform ()
   16955 {
   16956   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   16957 }
   16958 
   16959 # func_arith arithmetic-term...
   16960 func_arith ()
   16961 {
   16962   func_arith_result=`expr "$@"`
   16963 }
   16964 
   16965 # func_len string
   16966 # STRING may not start with a hyphen.
   16967 func_len ()
   16968 {
   16969   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16970 }
   16971 
   16972 _LT_EOF
   16973 esac
   16974 
   16975 case $lt_shell_append in
   16976   yes)
   16977     cat << \_LT_EOF >> "$cfgfile"
   16978 
   16979 # func_append var value
   16980 # Append VALUE to the end of shell variable VAR.
   16981 func_append ()
   16982 {
   16983   eval "$1+=\$2"
   16984 }
   16985 _LT_EOF
   16986     ;;
   16987   *)
   16988     cat << \_LT_EOF >> "$cfgfile"
   16989 
   16990 # func_append var value
   16991 # Append VALUE to the end of shell variable VAR.
   16992 func_append ()
   16993 {
   16994   eval "$1=\$$1\$2"
   16995 }
   16996 
   16997 _LT_EOF
   16998     ;;
   16999   esac
   17000 
   17001 
   17002   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   17003     || (rm -f "$cfgfile"; exit 1)
   17004 
   17005   mv -f "$cfgfile" "$ofile" ||
   17006     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17007   chmod +x "$ofile"
   17008 
   17009 
   17010     cat <<_LT_EOF >> "$ofile"
   17011 
   17012 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   17013 
   17014 # The linker used to build libraries.
   17015 LD=$lt_LD_CXX
   17016 
   17017 # Commands used to build an old-style archive.
   17018 old_archive_cmds=$lt_old_archive_cmds_CXX
   17019 
   17020 # A language specific compiler.
   17021 CC=$lt_compiler_CXX
   17022 
   17023 # Is the compiler the GNU compiler?
   17024 with_gcc=$GCC_CXX
   17025 
   17026 # Compiler flag to turn off builtin functions.
   17027 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   17028 
   17029 # How to pass a linker flag through the compiler.
   17030 wl=$lt_lt_prog_compiler_wl_CXX
   17031 
   17032 # Additional compiler flags for building library objects.
   17033 pic_flag=$lt_lt_prog_compiler_pic_CXX
   17034 
   17035 # Compiler flag to prevent dynamic linking.
   17036 link_static_flag=$lt_lt_prog_compiler_static_CXX
   17037 
   17038 # Does compiler simultaneously support -c and -o options?
   17039 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   17040 
   17041 # Whether or not to add -lc for building shared libraries.
   17042 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   17043 
   17044 # Whether or not to disallow shared libs when runtime libs are static.
   17045 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   17046 
   17047 # Compiler flag to allow reflexive dlopens.
   17048 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   17049 
   17050 # Compiler flag to generate shared objects directly from archives.
   17051 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   17052 
   17053 # Whether the compiler copes with passing no objects directly.
   17054 compiler_needs_object=$lt_compiler_needs_object_CXX
   17055 
   17056 # Create an old-style archive from a shared archive.
   17057 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   17058 
   17059 # Create a temporary old-style archive to link instead of a shared archive.
   17060 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   17061 
   17062 # Commands used to build a shared archive.
   17063 archive_cmds=$lt_archive_cmds_CXX
   17064 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   17065 
   17066 # Commands used to build a loadable module if different from building
   17067 # a shared archive.
   17068 module_cmds=$lt_module_cmds_CXX
   17069 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   17070 
   17071 # Whether we are building with GNU ld or not.
   17072 with_gnu_ld=$lt_with_gnu_ld_CXX
   17073 
   17074 # Flag that allows shared libraries with undefined symbols to be built.
   17075 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   17076 
   17077 # Flag that enforces no undefined symbols.
   17078 no_undefined_flag=$lt_no_undefined_flag_CXX
   17079 
   17080 # Flag to hardcode \$libdir into a binary during linking.
   17081 # This must work even if \$libdir does not exist
   17082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   17083 
   17084 # If ld is used when linking, flag to hardcode \$libdir into a binary
   17085 # during linking.  This must work even if \$libdir does not exist.
   17086 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   17087 
   17088 # Whether we need a single "-rpath" flag with a separated argument.
   17089 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   17090 
   17091 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17092 # DIR into the resulting binary.
   17093 hardcode_direct=$hardcode_direct_CXX
   17094 
   17095 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17096 # DIR into the resulting binary and the resulting library dependency is
   17097 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17098 # library is relocated.
   17099 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   17100 
   17101 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17102 # into the resulting binary.
   17103 hardcode_minus_L=$hardcode_minus_L_CXX
   17104 
   17105 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17106 # into the resulting binary.
   17107 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   17108 
   17109 # Set to "yes" if building a shared library automatically hardcodes DIR
   17110 # into the library and all subsequent libraries and executables linked
   17111 # against it.
   17112 hardcode_automatic=$hardcode_automatic_CXX
   17113 
   17114 # Set to yes if linker adds runtime paths of dependent libraries
   17115 # to runtime path list.
   17116 inherit_rpath=$inherit_rpath_CXX
   17117 
   17118 # Whether libtool must link a program against all its dependency libraries.
   17119 link_all_deplibs=$link_all_deplibs_CXX
   17120 
   17121 # Fix the shell variable \$srcfile for the compiler.
   17122 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   17123 
   17124 # Set to "yes" if exported symbols are required.
   17125 always_export_symbols=$always_export_symbols_CXX
   17126 
   17127 # The commands to list exported symbols.
   17128 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   17129 
   17130 # Symbols that should not be listed in the preloaded symbols.
   17131 exclude_expsyms=$lt_exclude_expsyms_CXX
   17132 
   17133 # Symbols that must always be exported.
   17134 include_expsyms=$lt_include_expsyms_CXX
   17135 
   17136 # Commands necessary for linking programs (against libraries) with templates.
   17137 prelink_cmds=$lt_prelink_cmds_CXX
   17138 
   17139 # Specify filename containing input files.
   17140 file_list_spec=$lt_file_list_spec_CXX
   17141 
   17142 # How to hardcode a shared library path into an executable.
   17143 hardcode_action=$hardcode_action_CXX
   17144 
   17145 # The directories searched by this compiler when creating a shared library.
   17146 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   17147 
   17148 # Dependencies to place before and after the objects being linked to
   17149 # create a shared library.
   17150 predep_objects=$lt_predep_objects_CXX
   17151 postdep_objects=$lt_postdep_objects_CXX
   17152 predeps=$lt_predeps_CXX
   17153 postdeps=$lt_postdeps_CXX
   17154 
   17155 # The library search path used internally by the compiler when linking
   17156 # a shared library.
   17157 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   17158 
   17159 # ### END LIBTOOL TAG CONFIG: CXX
   17160 _LT_EOF
   17161 
   17162  ;;
   17163 
   17164   esac
   17165 done # for ac_tag
   17166 
   17167 
   17168 as_fn_exit 0
   17169 _ACEOF
   17170 ac_clean_files=$ac_clean_files_save
   17171 
   17172 test $ac_write_fail = 0 ||
   17173   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   17174 
   17175 
   17176 # configure is writing to config.log, and then calls config.status.
   17177 # config.status does its own redirection, appending to config.log.
   17178 # Unfortunately, on DOS this fails, as config.log is still kept open
   17179 # by configure, so config.status won't be able to write to it; its
   17180 # output is simply discarded.  So we exec the FD to /dev/null,
   17181 # effectively closing config.log, so it can be properly (re)opened and
   17182 # appended to by config.status.  When coming back to configure, we
   17183 # need to make the FD available again.
   17184 if test "$no_create" != yes; then
   17185   ac_cs_success=:
   17186   ac_config_status_args=
   17187   test "$silent" = yes &&
   17188     ac_config_status_args="$ac_config_status_args --quiet"
   17189   exec 5>/dev/null
   17190   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17191   exec 5>>config.log
   17192   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17193   # would make configure fail if this is the last instruction.
   17194   $ac_cs_success || as_fn_exit $?
   17195 fi
   17196 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   17197   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   17198 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   17199 fi
   17200 
   17201