Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for mpc 1.0.3.
      4 #
      5 # Report bugs to <mpc-discuss (at] lists.gforge.inria.fr>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: mpc-discuss (at] lists.gforge.inria.fr about your system,
    279 $0: including any error possibly output before this
    280 $0: message. Then install a modern shell, or manually run
    281 $0: the script under such a shell if you do have one."
    282   fi
    283   exit 1
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 # as_fn_unset VAR
    297 # ---------------
    298 # Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 # as_fn_set_status STATUS
    306 # -----------------------
    307 # Set $? to STATUS, without forking.
    308 as_fn_set_status ()
    309 {
    310   return $1
    311 } # as_fn_set_status
    312 
    313 # as_fn_exit STATUS
    314 # -----------------
    315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316 as_fn_exit ()
    317 {
    318   set +e
    319   as_fn_set_status $1
    320   exit $1
    321 } # as_fn_exit
    322 
    323 # as_fn_mkdir_p
    324 # -------------
    325 # Create "$as_dir" as a directory, including parents if necessary.
    326 as_fn_mkdir_p ()
    327 {
    328 
    329   case $as_dir in #(
    330   -*) as_dir=./$as_dir;;
    331   esac
    332   test -d "$as_dir" || eval $as_mkdir_p || {
    333     as_dirs=
    334     while :; do
    335       case $as_dir in #(
    336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337       *) as_qdir=$as_dir;;
    338       esac
    339       as_dirs="'$as_qdir' $as_dirs"
    340       as_dir=`$as_dirname -- "$as_dir" ||
    341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343 	 X"$as_dir" : 'X\(//\)$' \| \
    344 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345 $as_echo X"$as_dir" |
    346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\/\)[^/].*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  /^X\(\/\/\)$/{
    355 	    s//\1/
    356 	    q
    357 	  }
    358 	  /^X\(\/\).*/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  s/.*/./; q'`
    363       test -d "$as_dir" && break
    364     done
    365     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367 
    368 
    369 } # as_fn_mkdir_p
    370 
    371 # as_fn_executable_p FILE
    372 # -----------------------
    373 # Test if FILE is an executable regular file.
    374 as_fn_executable_p ()
    375 {
    376   test -f "$1" && test -x "$1"
    377 } # as_fn_executable_p
    378 # as_fn_append VAR VALUE
    379 # ----------------------
    380 # Append the text in VALUE to the end of the definition contained in VAR. Take
    381 # advantage of any shell optimizations that allow amortized linear growth over
    382 # repeated appends, instead of the typical quadratic growth present in naive
    383 # implementations.
    384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # as_fn_append
    395 
    396 # as_fn_arith ARG...
    397 # ------------------
    398 # Perform arithmetic evaluation on the ARGs, and store the result in the
    399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    400 # must be portable across $(()) and expr.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # as_fn_arith
    412 
    413 
    414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    415 # ----------------------------------------
    416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418 # script with STATUS, using 1 if that was 0.
    419 as_fn_error ()
    420 {
    421   as_status=$1; test $as_status -eq 0 && as_status=1
    422   if test "$4"; then
    423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425   fi
    426   $as_echo "$as_me: error: $2" >&2
    427   as_fn_exit $as_status
    428 } # as_fn_error
    429 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_me=`$as_basename -- "$0" ||
    450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451 	 X"$0" : 'X\(//\)$' \| \
    452 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453 $as_echo X/"$0" |
    454     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  /^X\/\(\/\/\)$/{
    459 	    s//\1/
    460 	    q
    461 	  }
    462 	  /^X\/\(\/\).*/{
    463 	    s//\1/
    464 	    q
    465 	  }
    466 	  s/.*/./; q'`
    467 
    468 # Avoid depending upon Character Ranges.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_cr_alnum=$as_cr_Letters$as_cr_digits
    474 
    475 
    476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481   sed -n '
    482     p
    483     /[$]LINENO/=
    484   ' <$as_myself |
    485     sed '
    486       s/[$]LINENO.*/&-/
    487       t lineno
    488       b
    489       :lineno
    490       N
    491       :loop
    492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493       t loop
    494       s/-\n.*//
    495     ' >$as_me.lineno &&
    496   chmod +x "$as_me.lineno" ||
    497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498 
    499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500   # already done that, so ensure we don't try to do so again and fall
    501   # in an infinite loop.  This has already happened in practice.
    502   _as_can_reexec=no; export _as_can_reexec
    503   # Don't try to exec as it changes $[0], causing all sort of problems
    504   # (the dirname of $[0] is not the place where we might find the
    505   # original and so on.  Autoconf is especially sensitive to this).
    506   . "./$as_me.lineno"
    507   # Exit status is that of the last command.
    508   exit
    509 }
    510 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `echo -n x` in #(((((
    513 -n*)
    514   case `echo 'xy\c'` in
    515   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516   xy)  ECHO_C='\c';;
    517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518        ECHO_T='	';;
    519   esac;;
    520 *)
    521   ECHO_N='-n';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (echo >conf$$.file) 2>/dev/null; then
    532   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s='ln -s'
    534     # ... but there are two gotchas:
    535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537     # In both cases, we have to default to `cp -pR'.
    538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539       as_ln_s='cp -pR'
    540   elif ln conf$$.file conf$$ 2>/dev/null; then
    541     as_ln_s=ln
    542   else
    543     as_ln_s='cp -pR'
    544   fi
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 # Sed expression to map a string onto a valid variable name.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 6>&1
    572 
    573 # Name of the host.
    574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575 # so uname gets run too.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIBOBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 PACKAGE_NAME='mpc'
    592 PACKAGE_TARNAME='mpc'
    593 PACKAGE_VERSION='1.0.3'
    594 PACKAGE_STRING='mpc 1.0.3'
    595 PACKAGE_BUGREPORT='mpc-discuss (at] lists.gforge.inria.fr'
    596 PACKAGE_URL=''
    597 
    598 ac_unique_file="src/mpc-impl.h"
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 GITVERSION
    639 HASGIT
    640 GCC_VERSION
    641 AS
    642 MPC_LDFLAGS
    643 MPC_LOG_H
    644 LIBOBJS
    645 CPP
    646 LT_SYS_LIBRARY_PATH
    647 OTOOL64
    648 OTOOL
    649 LIPO
    650 NMEDIT
    651 DSYMUTIL
    652 MANIFEST_TOOL
    653 RANLIB
    654 DLLTOOL
    655 OBJDUMP
    656 LN_S
    657 NM
    658 ac_ct_DUMPBIN
    659 DUMPBIN
    660 LD
    661 FGREP
    662 LIBTOOL
    663 ac_ct_AR
    664 AR
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 am__nodep
    669 AMDEPBACKSLASH
    670 AMDEP_FALSE
    671 AMDEP_TRUE
    672 am__quote
    673 am__include
    674 DEPDIR
    675 OBJEXT
    676 EXEEXT
    677 ac_ct_CC
    678 CPPFLAGS
    679 LDFLAGS
    680 CFLAGS
    681 CC
    682 SED
    683 EGREP
    684 GREP
    685 VALGRIND
    686 host_os
    687 host_vendor
    688 host_cpu
    689 host
    690 build_os
    691 build_vendor
    692 build_cpu
    693 build
    694 MAINT
    695 MAINTAINER_MODE_FALSE
    696 MAINTAINER_MODE_TRUE
    697 AM_BACKSLASH
    698 AM_DEFAULT_VERBOSITY
    699 AM_DEFAULT_V
    700 AM_V
    701 am__untar
    702 am__tar
    703 AMTAR
    704 am__leading_dot
    705 SET_MAKE
    706 AWK
    707 mkdir_p
    708 MKDIR_P
    709 INSTALL_STRIP_PROGRAM
    710 STRIP
    711 install_sh
    712 MAKEINFO
    713 AUTOHEADER
    714 AUTOMAKE
    715 AUTOCONF
    716 ACLOCAL
    717 VERSION
    718 PACKAGE
    719 CYGPATH_W
    720 am__isrc
    721 INSTALL_DATA
    722 INSTALL_SCRIPT
    723 INSTALL_PROGRAM
    724 target_alias
    725 host_alias
    726 build_alias
    727 LIBS
    728 ECHO_T
    729 ECHO_N
    730 ECHO_C
    731 DEFS
    732 mandir
    733 localedir
    734 libdir
    735 psdir
    736 pdfdir
    737 dvidir
    738 htmldir
    739 infodir
    740 docdir
    741 oldincludedir
    742 includedir
    743 localstatedir
    744 sharedstatedir
    745 sysconfdir
    746 datadir
    747 datarootdir
    748 libexecdir
    749 sbindir
    750 bindir
    751 program_transform_name
    752 prefix
    753 exec_prefix
    754 PACKAGE_URL
    755 PACKAGE_BUGREPORT
    756 PACKAGE_STRING
    757 PACKAGE_VERSION
    758 PACKAGE_TARNAME
    759 PACKAGE_NAME
    760 PATH_SEPARATOR
    761 SHELL'
    762 ac_subst_files=''
    763 ac_user_opts='
    764 enable_option_checking
    765 enable_silent_rules
    766 enable_maintainer_mode
    767 with_mpfr_include
    768 with_mpfr_lib
    769 with_mpfr
    770 with_gmp_include
    771 with_gmp_lib
    772 with_gmp
    773 enable_logging
    774 enable_valgrind_tests
    775 enable_dependency_tracking
    776 enable_shared
    777 enable_static
    778 with_pic
    779 enable_fast_install
    780 with_aix_soname
    781 with_gnu_ld
    782 with_sysroot
    783 enable_libtool_lock
    784 '
    785       ac_precious_vars='build_alias
    786 host_alias
    787 target_alias
    788 CC
    789 CFLAGS
    790 LDFLAGS
    791 LIBS
    792 CPPFLAGS
    793 LT_SYS_LIBRARY_PATH
    794 CPP'
    795 
    796 
    797 # Initialize some variables set by options.
    798 ac_init_help=
    799 ac_init_version=false
    800 ac_unrecognized_opts=
    801 ac_unrecognized_sep=
    802 # The variables have the same names as the options, with
    803 # dashes changed to underlines.
    804 cache_file=/dev/null
    805 exec_prefix=NONE
    806 no_create=
    807 no_recursion=
    808 prefix=NONE
    809 program_prefix=NONE
    810 program_suffix=NONE
    811 program_transform_name=s,x,x,
    812 silent=
    813 site=
    814 srcdir=
    815 verbose=
    816 x_includes=NONE
    817 x_libraries=NONE
    818 
    819 # Installation directory options.
    820 # These are left unexpanded so users can "make install exec_prefix=/foo"
    821 # and all the variables that are supposed to be based on exec_prefix
    822 # by default will actually change.
    823 # Use braces instead of parens because sh, perl, etc. also accept them.
    824 # (The list follows the same order as the GNU Coding Standards.)
    825 bindir='${exec_prefix}/bin'
    826 sbindir='${exec_prefix}/sbin'
    827 libexecdir='${exec_prefix}/libexec'
    828 datarootdir='${prefix}/share'
    829 datadir='${datarootdir}'
    830 sysconfdir='${prefix}/etc'
    831 sharedstatedir='${prefix}/com'
    832 localstatedir='${prefix}/var'
    833 includedir='${prefix}/include'
    834 oldincludedir='/usr/include'
    835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    836 infodir='${datarootdir}/info'
    837 htmldir='${docdir}'
    838 dvidir='${docdir}'
    839 pdfdir='${docdir}'
    840 psdir='${docdir}'
    841 libdir='${exec_prefix}/lib'
    842 localedir='${datarootdir}/locale'
    843 mandir='${datarootdir}/man'
    844 
    845 ac_prev=
    846 ac_dashdash=
    847 for ac_option
    848 do
    849   # If the previous option needs an argument, assign it.
    850   if test -n "$ac_prev"; then
    851     eval $ac_prev=\$ac_option
    852     ac_prev=
    853     continue
    854   fi
    855 
    856   case $ac_option in
    857   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    858   *=)   ac_optarg= ;;
    859   *)    ac_optarg=yes ;;
    860   esac
    861 
    862   # Accept the important Cygnus configure options, so we can diagnose typos.
    863 
    864   case $ac_dashdash$ac_option in
    865   --)
    866     ac_dashdash=yes ;;
    867 
    868   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    869     ac_prev=bindir ;;
    870   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    871     bindir=$ac_optarg ;;
    872 
    873   -build | --build | --buil | --bui | --bu)
    874     ac_prev=build_alias ;;
    875   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    876     build_alias=$ac_optarg ;;
    877 
    878   -cache-file | --cache-file | --cache-fil | --cache-fi \
    879   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    880     ac_prev=cache_file ;;
    881   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    882   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    883     cache_file=$ac_optarg ;;
    884 
    885   --config-cache | -C)
    886     cache_file=config.cache ;;
    887 
    888   -datadir | --datadir | --datadi | --datad)
    889     ac_prev=datadir ;;
    890   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    891     datadir=$ac_optarg ;;
    892 
    893   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    894   | --dataroo | --dataro | --datar)
    895     ac_prev=datarootdir ;;
    896   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    897   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    898     datarootdir=$ac_optarg ;;
    899 
    900   -disable-* | --disable-*)
    901     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    902     # Reject names that are not valid shell variable names.
    903     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    904       as_fn_error $? "invalid feature name: $ac_useropt"
    905     ac_useropt_orig=$ac_useropt
    906     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    907     case $ac_user_opts in
    908       *"
    909 "enable_$ac_useropt"
    910 "*) ;;
    911       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    912 	 ac_unrecognized_sep=', ';;
    913     esac
    914     eval enable_$ac_useropt=no ;;
    915 
    916   -docdir | --docdir | --docdi | --doc | --do)
    917     ac_prev=docdir ;;
    918   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    919     docdir=$ac_optarg ;;
    920 
    921   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    922     ac_prev=dvidir ;;
    923   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    924     dvidir=$ac_optarg ;;
    925 
    926   -enable-* | --enable-*)
    927     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    928     # Reject names that are not valid shell variable names.
    929     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    930       as_fn_error $? "invalid feature name: $ac_useropt"
    931     ac_useropt_orig=$ac_useropt
    932     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    933     case $ac_user_opts in
    934       *"
    935 "enable_$ac_useropt"
    936 "*) ;;
    937       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    938 	 ac_unrecognized_sep=', ';;
    939     esac
    940     eval enable_$ac_useropt=\$ac_optarg ;;
    941 
    942   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    943   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    944   | --exec | --exe | --ex)
    945     ac_prev=exec_prefix ;;
    946   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    947   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    948   | --exec=* | --exe=* | --ex=*)
    949     exec_prefix=$ac_optarg ;;
    950 
    951   -gas | --gas | --ga | --g)
    952     # Obsolete; use --with-gas.
    953     with_gas=yes ;;
    954 
    955   -help | --help | --hel | --he | -h)
    956     ac_init_help=long ;;
    957   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    958     ac_init_help=recursive ;;
    959   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    960     ac_init_help=short ;;
    961 
    962   -host | --host | --hos | --ho)
    963     ac_prev=host_alias ;;
    964   -host=* | --host=* | --hos=* | --ho=*)
    965     host_alias=$ac_optarg ;;
    966 
    967   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    968     ac_prev=htmldir ;;
    969   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    970   | --ht=*)
    971     htmldir=$ac_optarg ;;
    972 
    973   -includedir | --includedir | --includedi | --included | --include \
    974   | --includ | --inclu | --incl | --inc)
    975     ac_prev=includedir ;;
    976   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    977   | --includ=* | --inclu=* | --incl=* | --inc=*)
    978     includedir=$ac_optarg ;;
    979 
    980   -infodir | --infodir | --infodi | --infod | --info | --inf)
    981     ac_prev=infodir ;;
    982   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    983     infodir=$ac_optarg ;;
    984 
    985   -libdir | --libdir | --libdi | --libd)
    986     ac_prev=libdir ;;
    987   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    988     libdir=$ac_optarg ;;
    989 
    990   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    991   | --libexe | --libex | --libe)
    992     ac_prev=libexecdir ;;
    993   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    994   | --libexe=* | --libex=* | --libe=*)
    995     libexecdir=$ac_optarg ;;
    996 
    997   -localedir | --localedir | --localedi | --localed | --locale)
    998     ac_prev=localedir ;;
    999   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1000     localedir=$ac_optarg ;;
   1001 
   1002   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1003   | --localstate | --localstat | --localsta | --localst | --locals)
   1004     ac_prev=localstatedir ;;
   1005   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1006   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1007     localstatedir=$ac_optarg ;;
   1008 
   1009   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1010     ac_prev=mandir ;;
   1011   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1012     mandir=$ac_optarg ;;
   1013 
   1014   -nfp | --nfp | --nf)
   1015     # Obsolete; use --without-fp.
   1016     with_fp=no ;;
   1017 
   1018   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1019   | --no-cr | --no-c | -n)
   1020     no_create=yes ;;
   1021 
   1022   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1023   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1024     no_recursion=yes ;;
   1025 
   1026   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1027   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1028   | --oldin | --oldi | --old | --ol | --o)
   1029     ac_prev=oldincludedir ;;
   1030   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1031   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1032   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1033     oldincludedir=$ac_optarg ;;
   1034 
   1035   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1036     ac_prev=prefix ;;
   1037   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1038     prefix=$ac_optarg ;;
   1039 
   1040   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1041   | --program-pre | --program-pr | --program-p)
   1042     ac_prev=program_prefix ;;
   1043   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1044   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1045     program_prefix=$ac_optarg ;;
   1046 
   1047   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1048   | --program-suf | --program-su | --program-s)
   1049     ac_prev=program_suffix ;;
   1050   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1051   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1052     program_suffix=$ac_optarg ;;
   1053 
   1054   -program-transform-name | --program-transform-name \
   1055   | --program-transform-nam | --program-transform-na \
   1056   | --program-transform-n | --program-transform- \
   1057   | --program-transform | --program-transfor \
   1058   | --program-transfo | --program-transf \
   1059   | --program-trans | --program-tran \
   1060   | --progr-tra | --program-tr | --program-t)
   1061     ac_prev=program_transform_name ;;
   1062   -program-transform-name=* | --program-transform-name=* \
   1063   | --program-transform-nam=* | --program-transform-na=* \
   1064   | --program-transform-n=* | --program-transform-=* \
   1065   | --program-transform=* | --program-transfor=* \
   1066   | --program-transfo=* | --program-transf=* \
   1067   | --program-trans=* | --program-tran=* \
   1068   | --progr-tra=* | --program-tr=* | --program-t=*)
   1069     program_transform_name=$ac_optarg ;;
   1070 
   1071   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1072     ac_prev=pdfdir ;;
   1073   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1074     pdfdir=$ac_optarg ;;
   1075 
   1076   -psdir | --psdir | --psdi | --psd | --ps)
   1077     ac_prev=psdir ;;
   1078   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1079     psdir=$ac_optarg ;;
   1080 
   1081   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1082   | -silent | --silent | --silen | --sile | --sil)
   1083     silent=yes ;;
   1084 
   1085   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1086     ac_prev=sbindir ;;
   1087   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1088   | --sbi=* | --sb=*)
   1089     sbindir=$ac_optarg ;;
   1090 
   1091   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1092   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1093   | --sharedst | --shareds | --shared | --share | --shar \
   1094   | --sha | --sh)
   1095     ac_prev=sharedstatedir ;;
   1096   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1097   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1098   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1099   | --sha=* | --sh=*)
   1100     sharedstatedir=$ac_optarg ;;
   1101 
   1102   -site | --site | --sit)
   1103     ac_prev=site ;;
   1104   -site=* | --site=* | --sit=*)
   1105     site=$ac_optarg ;;
   1106 
   1107   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1108     ac_prev=srcdir ;;
   1109   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1110     srcdir=$ac_optarg ;;
   1111 
   1112   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1113   | --syscon | --sysco | --sysc | --sys | --sy)
   1114     ac_prev=sysconfdir ;;
   1115   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1116   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1117     sysconfdir=$ac_optarg ;;
   1118 
   1119   -target | --target | --targe | --targ | --tar | --ta | --t)
   1120     ac_prev=target_alias ;;
   1121   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1122     target_alias=$ac_optarg ;;
   1123 
   1124   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1125     verbose=yes ;;
   1126 
   1127   -version | --version | --versio | --versi | --vers | -V)
   1128     ac_init_version=: ;;
   1129 
   1130   -with-* | --with-*)
   1131     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1132     # Reject names that are not valid shell variable names.
   1133     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1134       as_fn_error $? "invalid package name: $ac_useropt"
   1135     ac_useropt_orig=$ac_useropt
   1136     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1137     case $ac_user_opts in
   1138       *"
   1139 "with_$ac_useropt"
   1140 "*) ;;
   1141       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1142 	 ac_unrecognized_sep=', ';;
   1143     esac
   1144     eval with_$ac_useropt=\$ac_optarg ;;
   1145 
   1146   -without-* | --without-*)
   1147     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1148     # Reject names that are not valid shell variable names.
   1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1150       as_fn_error $? "invalid package name: $ac_useropt"
   1151     ac_useropt_orig=$ac_useropt
   1152     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1153     case $ac_user_opts in
   1154       *"
   1155 "with_$ac_useropt"
   1156 "*) ;;
   1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1158 	 ac_unrecognized_sep=', ';;
   1159     esac
   1160     eval with_$ac_useropt=no ;;
   1161 
   1162   --x)
   1163     # Obsolete; use --with-x.
   1164     with_x=yes ;;
   1165 
   1166   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1167   | --x-incl | --x-inc | --x-in | --x-i)
   1168     ac_prev=x_includes ;;
   1169   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1170   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1171     x_includes=$ac_optarg ;;
   1172 
   1173   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1174   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1175     ac_prev=x_libraries ;;
   1176   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1177   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1178     x_libraries=$ac_optarg ;;
   1179 
   1180   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1181 Try \`$0 --help' for more information"
   1182     ;;
   1183 
   1184   *=*)
   1185     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1186     # Reject names that are not valid shell variable names.
   1187     case $ac_envvar in #(
   1188       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1189       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1190     esac
   1191     eval $ac_envvar=\$ac_optarg
   1192     export $ac_envvar ;;
   1193 
   1194   *)
   1195     # FIXME: should be removed in autoconf 3.0.
   1196     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1197     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1198       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1199     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1200     ;;
   1201 
   1202   esac
   1203 done
   1204 
   1205 if test -n "$ac_prev"; then
   1206   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1207   as_fn_error $? "missing argument to $ac_option"
   1208 fi
   1209 
   1210 if test -n "$ac_unrecognized_opts"; then
   1211   case $enable_option_checking in
   1212     no) ;;
   1213     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1214     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1215   esac
   1216 fi
   1217 
   1218 # Check all directory arguments for consistency.
   1219 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1220 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1221 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1222 		libdir localedir mandir
   1223 do
   1224   eval ac_val=\$$ac_var
   1225   # Remove trailing slashes.
   1226   case $ac_val in
   1227     */ )
   1228       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1229       eval $ac_var=\$ac_val;;
   1230   esac
   1231   # Be sure to have absolute directory names.
   1232   case $ac_val in
   1233     [\\/$]* | ?:[\\/]* )  continue;;
   1234     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1235   esac
   1236   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1237 done
   1238 
   1239 # There might be people who depend on the old broken behavior: `$host'
   1240 # used to hold the argument of --host etc.
   1241 # FIXME: To remove some day.
   1242 build=$build_alias
   1243 host=$host_alias
   1244 target=$target_alias
   1245 
   1246 # FIXME: To remove some day.
   1247 if test "x$host_alias" != x; then
   1248   if test "x$build_alias" = x; then
   1249     cross_compiling=maybe
   1250   elif test "x$build_alias" != "x$host_alias"; then
   1251     cross_compiling=yes
   1252   fi
   1253 fi
   1254 
   1255 ac_tool_prefix=
   1256 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1257 
   1258 test "$silent" = yes && exec 6>/dev/null
   1259 
   1260 
   1261 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1262 ac_ls_di=`ls -di .` &&
   1263 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1264   as_fn_error $? "working directory cannot be determined"
   1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1266   as_fn_error $? "pwd does not report name of working directory"
   1267 
   1268 
   1269 # Find the source files, if location was not specified.
   1270 if test -z "$srcdir"; then
   1271   ac_srcdir_defaulted=yes
   1272   # Try the directory containing this script, then the parent directory.
   1273   ac_confdir=`$as_dirname -- "$as_myself" ||
   1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1275 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1276 	 X"$as_myself" : 'X\(//\)$' \| \
   1277 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1278 $as_echo X"$as_myself" |
   1279     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)[^/].*/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\/\)$/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  /^X\(\/\).*/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  s/.*/./; q'`
   1296   srcdir=$ac_confdir
   1297   if test ! -r "$srcdir/$ac_unique_file"; then
   1298     srcdir=..
   1299   fi
   1300 else
   1301   ac_srcdir_defaulted=no
   1302 fi
   1303 if test ! -r "$srcdir/$ac_unique_file"; then
   1304   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1305   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1306 fi
   1307 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1308 ac_abs_confdir=`(
   1309 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1310 	pwd)`
   1311 # When building in place, set srcdir=.
   1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1313   srcdir=.
   1314 fi
   1315 # Remove unnecessary trailing slashes from srcdir.
   1316 # Double slashes in file names in object file debugging info
   1317 # mess up M-x gdb in Emacs.
   1318 case $srcdir in
   1319 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1320 esac
   1321 for ac_var in $ac_precious_vars; do
   1322   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1323   eval ac_env_${ac_var}_value=\$${ac_var}
   1324   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1325   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1326 done
   1327 
   1328 #
   1329 # Report the --help message.
   1330 #
   1331 if test "$ac_init_help" = "long"; then
   1332   # Omit some internal or obsolete options to make the list less imposing.
   1333   # This message is too long to be a string in the A/UX 3.1 sh.
   1334   cat <<_ACEOF
   1335 \`configure' configures mpc 1.0.3 to adapt to many kinds of systems.
   1336 
   1337 Usage: $0 [OPTION]... [VAR=VALUE]...
   1338 
   1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1340 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1341 
   1342 Defaults for the options are specified in brackets.
   1343 
   1344 Configuration:
   1345   -h, --help              display this help and exit
   1346       --help=short        display options specific to this package
   1347       --help=recursive    display the short help of all the included packages
   1348   -V, --version           display version information and exit
   1349   -q, --quiet, --silent   do not print \`checking ...' messages
   1350       --cache-file=FILE   cache test results in FILE [disabled]
   1351   -C, --config-cache      alias for \`--cache-file=config.cache'
   1352   -n, --no-create         do not create output files
   1353       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1354 
   1355 Installation directories:
   1356   --prefix=PREFIX         install architecture-independent files in PREFIX
   1357                           [$ac_default_prefix]
   1358   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1359                           [PREFIX]
   1360 
   1361 By default, \`make install' will install all the files in
   1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1364 for instance \`--prefix=\$HOME'.
   1365 
   1366 For better control, use the options below.
   1367 
   1368 Fine tuning of the installation directories:
   1369   --bindir=DIR            user executables [EPREFIX/bin]
   1370   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1371   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1372   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1373   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1374   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1375   --libdir=DIR            object code libraries [EPREFIX/lib]
   1376   --includedir=DIR        C header files [PREFIX/include]
   1377   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1378   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1379   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1380   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1381   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1382   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1383   --docdir=DIR            documentation root [DATAROOTDIR/doc/mpc]
   1384   --htmldir=DIR           html documentation [DOCDIR]
   1385   --dvidir=DIR            dvi documentation [DOCDIR]
   1386   --pdfdir=DIR            pdf documentation [DOCDIR]
   1387   --psdir=DIR             ps documentation [DOCDIR]
   1388 _ACEOF
   1389 
   1390   cat <<\_ACEOF
   1391 
   1392 Program names:
   1393   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1394   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1395   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1396 
   1397 System types:
   1398   --build=BUILD     configure for building on BUILD [guessed]
   1399   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1400 _ACEOF
   1401 fi
   1402 
   1403 if test -n "$ac_init_help"; then
   1404   case $ac_init_help in
   1405      short | recursive ) echo "Configuration of mpc 1.0.3:";;
   1406    esac
   1407   cat <<\_ACEOF
   1408 
   1409 Optional Features:
   1410   --disable-option-checking  ignore unrecognized --enable/--with options
   1411   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1412   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1413   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1414   --disable-silent-rules  verbose build output (undo: "make V=0")
   1415   --enable-maintainer-mode
   1416                           enable make rules and dependencies not useful (and
   1417                           sometimes confusing) to the casual installer
   1418   --enable-logging        enable logging of function calls to stderr (default
   1419                           = no)
   1420   --enable-valgrind-tests run checks through valgrind (default = no)
   1421   --enable-dependency-tracking
   1422                           do not reject slow dependency extractors
   1423   --disable-dependency-tracking
   1424                           speeds up one-time build
   1425   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1426   --enable-static[=PKGS]  build static libraries [default=yes]
   1427   --enable-fast-install[=PKGS]
   1428                           optimize for fast installation [default=yes]
   1429   --disable-libtool-lock  avoid locking (might break parallel builds)
   1430 
   1431 Optional Packages:
   1432   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1433   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1434   --with-mpfr-include=DIR MPFR include directory
   1435   --with-mpfr-lib=DIR     MPFR lib directory
   1436   --with-mpfr=DIR         MPFR install directory
   1437   --with-gmp-include=DIR  GMP include directory
   1438   --with-gmp-lib=DIR      GMP lib directory
   1439   --with-gmp=DIR          GMP install directory
   1440   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1441                           both]
   1442   --with-aix-soname=aix|svr4|both
   1443                           shared library versioning (aka "SONAME") variant to
   1444                           provide on AIX, [default=aix].
   1445   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1446   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1447                           compiler's sysroot if not specified).
   1448 
   1449 Some influential environment variables:
   1450   CC          C compiler command
   1451   CFLAGS      C compiler flags
   1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1453               nonstandard directory <lib dir>
   1454   LIBS        libraries to pass to the linker, e.g. -l<library>
   1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1456               you have headers in a nonstandard directory <include dir>
   1457   LT_SYS_LIBRARY_PATH
   1458               User-defined run-time library search path.
   1459   CPP         C preprocessor
   1460 
   1461 Use these variables to override the choices made by `configure' or to help
   1462 it to find libraries and programs with nonstandard names/locations.
   1463 
   1464 Report bugs to <mpc-discuss (at] lists.gforge.inria.fr>.
   1465 _ACEOF
   1466 ac_status=$?
   1467 fi
   1468 
   1469 if test "$ac_init_help" = "recursive"; then
   1470   # If there are subdirs, report their specific --help.
   1471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1472     test -d "$ac_dir" ||
   1473       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1474       continue
   1475     ac_builddir=.
   1476 
   1477 case "$ac_dir" in
   1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479 *)
   1480   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1481   # A ".." for each directory in $ac_dir_suffix.
   1482   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1483   case $ac_top_builddir_sub in
   1484   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1485   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1486   esac ;;
   1487 esac
   1488 ac_abs_top_builddir=$ac_pwd
   1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1490 # for backward compatibility:
   1491 ac_top_builddir=$ac_top_build_prefix
   1492 
   1493 case $srcdir in
   1494   .)  # We are building in place.
   1495     ac_srcdir=.
   1496     ac_top_srcdir=$ac_top_builddir_sub
   1497     ac_abs_top_srcdir=$ac_pwd ;;
   1498   [\\/]* | ?:[\\/]* )  # Absolute name.
   1499     ac_srcdir=$srcdir$ac_dir_suffix;
   1500     ac_top_srcdir=$srcdir
   1501     ac_abs_top_srcdir=$srcdir ;;
   1502   *) # Relative name.
   1503     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1504     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1505     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1506 esac
   1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1508 
   1509     cd "$ac_dir" || { ac_status=$?; continue; }
   1510     # Check for guested configure.
   1511     if test -f "$ac_srcdir/configure.gnu"; then
   1512       echo &&
   1513       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1514     elif test -f "$ac_srcdir/configure"; then
   1515       echo &&
   1516       $SHELL "$ac_srcdir/configure" --help=recursive
   1517     else
   1518       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1519     fi || ac_status=$?
   1520     cd "$ac_pwd" || { ac_status=$?; break; }
   1521   done
   1522 fi
   1523 
   1524 test -n "$ac_init_help" && exit $ac_status
   1525 if $ac_init_version; then
   1526   cat <<\_ACEOF
   1527 mpc configure 1.0.3
   1528 generated by GNU Autoconf 2.69
   1529 
   1530 Copyright (C) 2012 Free Software Foundation, Inc.
   1531 This configure script is free software; the Free Software Foundation
   1532 gives unlimited permission to copy, distribute and modify it.
   1533 _ACEOF
   1534   exit
   1535 fi
   1536 
   1537 ## ------------------------ ##
   1538 ## Autoconf initialization. ##
   1539 ## ------------------------ ##
   1540 
   1541 # ac_fn_c_try_compile LINENO
   1542 # --------------------------
   1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1544 ac_fn_c_try_compile ()
   1545 {
   1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1547   rm -f conftest.$ac_objext
   1548   if { { ac_try="$ac_compile"
   1549 case "(($ac_try" in
   1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1551   *) ac_try_echo=$ac_try;;
   1552 esac
   1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1554 $as_echo "$ac_try_echo"; } >&5
   1555   (eval "$ac_compile") 2>conftest.err
   1556   ac_status=$?
   1557   if test -s conftest.err; then
   1558     grep -v '^ *+' conftest.err >conftest.er1
   1559     cat conftest.er1 >&5
   1560     mv -f conftest.er1 conftest.err
   1561   fi
   1562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1563   test $ac_status = 0; } && {
   1564 	 test -z "$ac_c_werror_flag" ||
   1565 	 test ! -s conftest.err
   1566        } && test -s conftest.$ac_objext; then :
   1567   ac_retval=0
   1568 else
   1569   $as_echo "$as_me: failed program was:" >&5
   1570 sed 's/^/| /' conftest.$ac_ext >&5
   1571 
   1572 	ac_retval=1
   1573 fi
   1574   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1575   as_fn_set_status $ac_retval
   1576 
   1577 } # ac_fn_c_try_compile
   1578 
   1579 # ac_fn_c_try_link LINENO
   1580 # -----------------------
   1581 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1582 ac_fn_c_try_link ()
   1583 {
   1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1585   rm -f conftest.$ac_objext conftest$ac_exeext
   1586   if { { ac_try="$ac_link"
   1587 case "(($ac_try" in
   1588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1589   *) ac_try_echo=$ac_try;;
   1590 esac
   1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1592 $as_echo "$ac_try_echo"; } >&5
   1593   (eval "$ac_link") 2>conftest.err
   1594   ac_status=$?
   1595   if test -s conftest.err; then
   1596     grep -v '^ *+' conftest.err >conftest.er1
   1597     cat conftest.er1 >&5
   1598     mv -f conftest.er1 conftest.err
   1599   fi
   1600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1601   test $ac_status = 0; } && {
   1602 	 test -z "$ac_c_werror_flag" ||
   1603 	 test ! -s conftest.err
   1604        } && test -s conftest$ac_exeext && {
   1605 	 test "$cross_compiling" = yes ||
   1606 	 test -x conftest$ac_exeext
   1607        }; then :
   1608   ac_retval=0
   1609 else
   1610   $as_echo "$as_me: failed program was:" >&5
   1611 sed 's/^/| /' conftest.$ac_ext >&5
   1612 
   1613 	ac_retval=1
   1614 fi
   1615   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1616   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1617   # interfere with the next link command; also delete a directory that is
   1618   # left behind by Apple's compiler.  We do this before executing the actions.
   1619   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1620   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1621   as_fn_set_status $ac_retval
   1622 
   1623 } # ac_fn_c_try_link
   1624 
   1625 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1626 # -------------------------------------------------------
   1627 # Tests whether HEADER exists and can be compiled using the include files in
   1628 # INCLUDES, setting the cache variable VAR accordingly.
   1629 ac_fn_c_check_header_compile ()
   1630 {
   1631   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1633 $as_echo_n "checking for $2... " >&6; }
   1634 if eval \${$3+:} false; then :
   1635   $as_echo_n "(cached) " >&6
   1636 else
   1637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1638 /* end confdefs.h.  */
   1639 $4
   1640 #include <$2>
   1641 _ACEOF
   1642 if ac_fn_c_try_compile "$LINENO"; then :
   1643   eval "$3=yes"
   1644 else
   1645   eval "$3=no"
   1646 fi
   1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1648 fi
   1649 eval ac_res=\$$3
   1650 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1651 $as_echo "$ac_res" >&6; }
   1652   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1653 
   1654 } # ac_fn_c_check_header_compile
   1655 
   1656 # ac_fn_c_try_cpp LINENO
   1657 # ----------------------
   1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1659 ac_fn_c_try_cpp ()
   1660 {
   1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1662   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1663 case "(($ac_try" in
   1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1665   *) ac_try_echo=$ac_try;;
   1666 esac
   1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1668 $as_echo "$ac_try_echo"; } >&5
   1669   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1670   ac_status=$?
   1671   if test -s conftest.err; then
   1672     grep -v '^ *+' conftest.err >conftest.er1
   1673     cat conftest.er1 >&5
   1674     mv -f conftest.er1 conftest.err
   1675   fi
   1676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } > conftest.i && {
   1678 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1679 	 test ! -s conftest.err
   1680        }; then :
   1681   ac_retval=0
   1682 else
   1683   $as_echo "$as_me: failed program was:" >&5
   1684 sed 's/^/| /' conftest.$ac_ext >&5
   1685 
   1686     ac_retval=1
   1687 fi
   1688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1689   as_fn_set_status $ac_retval
   1690 
   1691 } # ac_fn_c_try_cpp
   1692 
   1693 # ac_fn_c_try_run LINENO
   1694 # ----------------------
   1695 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1696 # that executables *can* be run.
   1697 ac_fn_c_try_run ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   if { { ac_try="$ac_link"
   1701 case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_link") 2>&5
   1708   ac_status=$?
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1711   { { case "(($ac_try" in
   1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1713   *) ac_try_echo=$ac_try;;
   1714 esac
   1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1716 $as_echo "$ac_try_echo"; } >&5
   1717   (eval "$ac_try") 2>&5
   1718   ac_status=$?
   1719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1720   test $ac_status = 0; }; }; then :
   1721   ac_retval=0
   1722 else
   1723   $as_echo "$as_me: program exited with status $ac_status" >&5
   1724        $as_echo "$as_me: failed program was:" >&5
   1725 sed 's/^/| /' conftest.$ac_ext >&5
   1726 
   1727        ac_retval=$ac_status
   1728 fi
   1729   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731   as_fn_set_status $ac_retval
   1732 
   1733 } # ac_fn_c_try_run
   1734 
   1735 # ac_fn_c_check_func LINENO FUNC VAR
   1736 # ----------------------------------
   1737 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1738 ac_fn_c_check_func ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1742 $as_echo_n "checking for $2... " >&6; }
   1743 if eval \${$3+:} false; then :
   1744   $as_echo_n "(cached) " >&6
   1745 else
   1746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1747 /* end confdefs.h.  */
   1748 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1750 #define $2 innocuous_$2
   1751 
   1752 /* System header to define __stub macros and hopefully few prototypes,
   1753     which can conflict with char $2 (); below.
   1754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1755     <limits.h> exists even on freestanding compilers.  */
   1756 
   1757 #ifdef __STDC__
   1758 # include <limits.h>
   1759 #else
   1760 # include <assert.h>
   1761 #endif
   1762 
   1763 #undef $2
   1764 
   1765 /* Override any GCC internal prototype to avoid an error.
   1766    Use char because int might match the return type of a GCC
   1767    builtin and then its argument prototype would still apply.  */
   1768 #ifdef __cplusplus
   1769 extern "C"
   1770 #endif
   1771 char $2 ();
   1772 /* The GNU C library defines this for functions which it implements
   1773     to always fail with ENOSYS.  Some functions are actually named
   1774     something starting with __ and the normal name is an alias.  */
   1775 #if defined __stub_$2 || defined __stub___$2
   1776 choke me
   1777 #endif
   1778 
   1779 int
   1780 main ()
   1781 {
   1782 return $2 ();
   1783   ;
   1784   return 0;
   1785 }
   1786 _ACEOF
   1787 if ac_fn_c_try_link "$LINENO"; then :
   1788   eval "$3=yes"
   1789 else
   1790   eval "$3=no"
   1791 fi
   1792 rm -f core conftest.err conftest.$ac_objext \
   1793     conftest$ac_exeext conftest.$ac_ext
   1794 fi
   1795 eval ac_res=\$$3
   1796 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1797 $as_echo "$ac_res" >&6; }
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799 
   1800 } # ac_fn_c_check_func
   1801 
   1802 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1803 # -------------------------------------------------------
   1804 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1805 # the include files in INCLUDES and setting the cache variable VAR
   1806 # accordingly.
   1807 ac_fn_c_check_header_mongrel ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   if eval \${$3+:} false; then :
   1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1812 $as_echo_n "checking for $2... " >&6; }
   1813 if eval \${$3+:} false; then :
   1814   $as_echo_n "(cached) " >&6
   1815 fi
   1816 eval ac_res=\$$3
   1817 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1818 $as_echo "$ac_res" >&6; }
   1819 else
   1820   # Is the header compilable?
   1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1822 $as_echo_n "checking $2 usability... " >&6; }
   1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1824 /* end confdefs.h.  */
   1825 $4
   1826 #include <$2>
   1827 _ACEOF
   1828 if ac_fn_c_try_compile "$LINENO"; then :
   1829   ac_header_compiler=yes
   1830 else
   1831   ac_header_compiler=no
   1832 fi
   1833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1835 $as_echo "$ac_header_compiler" >&6; }
   1836 
   1837 # Is the header present?
   1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1839 $as_echo_n "checking $2 presence... " >&6; }
   1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1841 /* end confdefs.h.  */
   1842 #include <$2>
   1843 _ACEOF
   1844 if ac_fn_c_try_cpp "$LINENO"; then :
   1845   ac_header_preproc=yes
   1846 else
   1847   ac_header_preproc=no
   1848 fi
   1849 rm -f conftest.err conftest.i conftest.$ac_ext
   1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1851 $as_echo "$ac_header_preproc" >&6; }
   1852 
   1853 # So?  What about this header?
   1854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1855   yes:no: )
   1856     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1857 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1858     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1859 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1860     ;;
   1861   no:yes:* )
   1862     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1863 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1865 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1866     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1867 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1869 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1870     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1871 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1872 ( $as_echo "## ------------------------------------------------ ##
   1873 ## Report this to mpc-discuss (at] lists.gforge.inria.fr ##
   1874 ## ------------------------------------------------ ##"
   1875      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1876     ;;
   1877 esac
   1878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1879 $as_echo_n "checking for $2... " >&6; }
   1880 if eval \${$3+:} false; then :
   1881   $as_echo_n "(cached) " >&6
   1882 else
   1883   eval "$3=\$ac_header_compiler"
   1884 fi
   1885 eval ac_res=\$$3
   1886 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1887 $as_echo "$ac_res" >&6; }
   1888 fi
   1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1890 
   1891 } # ac_fn_c_check_header_mongrel
   1892 
   1893 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1894 # -------------------------------------------
   1895 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1896 # variable VAR accordingly.
   1897 ac_fn_c_check_type ()
   1898 {
   1899   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1901 $as_echo_n "checking for $2... " >&6; }
   1902 if eval \${$3+:} false; then :
   1903   $as_echo_n "(cached) " >&6
   1904 else
   1905   eval "$3=no"
   1906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1907 /* end confdefs.h.  */
   1908 $4
   1909 int
   1910 main ()
   1911 {
   1912 if (sizeof ($2))
   1913 	 return 0;
   1914   ;
   1915   return 0;
   1916 }
   1917 _ACEOF
   1918 if ac_fn_c_try_compile "$LINENO"; then :
   1919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1920 /* end confdefs.h.  */
   1921 $4
   1922 int
   1923 main ()
   1924 {
   1925 if (sizeof (($2)))
   1926 	    return 0;
   1927   ;
   1928   return 0;
   1929 }
   1930 _ACEOF
   1931 if ac_fn_c_try_compile "$LINENO"; then :
   1932 
   1933 else
   1934   eval "$3=yes"
   1935 fi
   1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1937 fi
   1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1939 fi
   1940 eval ac_res=\$$3
   1941 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1942 $as_echo "$ac_res" >&6; }
   1943   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1944 
   1945 } # ac_fn_c_check_type
   1946 cat >config.log <<_ACEOF
   1947 This file contains any messages produced by compilers while
   1948 running configure, to aid debugging if configure makes a mistake.
   1949 
   1950 It was created by mpc $as_me 1.0.3, which was
   1951 generated by GNU Autoconf 2.69.  Invocation command line was
   1952 
   1953   $ $0 $@
   1954 
   1955 _ACEOF
   1956 exec 5>>config.log
   1957 {
   1958 cat <<_ASUNAME
   1959 ## --------- ##
   1960 ## Platform. ##
   1961 ## --------- ##
   1962 
   1963 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1964 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1965 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1966 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1967 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1968 
   1969 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1970 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1971 
   1972 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1973 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1974 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1975 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1976 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1977 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1978 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1979 
   1980 _ASUNAME
   1981 
   1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1983 for as_dir in $PATH
   1984 do
   1985   IFS=$as_save_IFS
   1986   test -z "$as_dir" && as_dir=.
   1987     $as_echo "PATH: $as_dir"
   1988   done
   1989 IFS=$as_save_IFS
   1990 
   1991 } >&5
   1992 
   1993 cat >&5 <<_ACEOF
   1994 
   1995 
   1996 ## ----------- ##
   1997 ## Core tests. ##
   1998 ## ----------- ##
   1999 
   2000 _ACEOF
   2001 
   2002 
   2003 # Keep a trace of the command line.
   2004 # Strip out --no-create and --no-recursion so they do not pile up.
   2005 # Strip out --silent because we don't want to record it for future runs.
   2006 # Also quote any args containing shell meta-characters.
   2007 # Make two passes to allow for proper duplicate-argument suppression.
   2008 ac_configure_args=
   2009 ac_configure_args0=
   2010 ac_configure_args1=
   2011 ac_must_keep_next=false
   2012 for ac_pass in 1 2
   2013 do
   2014   for ac_arg
   2015   do
   2016     case $ac_arg in
   2017     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2018     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2019     | -silent | --silent | --silen | --sile | --sil)
   2020       continue ;;
   2021     *\'*)
   2022       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2023     esac
   2024     case $ac_pass in
   2025     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2026     2)
   2027       as_fn_append ac_configure_args1 " '$ac_arg'"
   2028       if test $ac_must_keep_next = true; then
   2029 	ac_must_keep_next=false # Got value, back to normal.
   2030       else
   2031 	case $ac_arg in
   2032 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2033 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2034 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2035 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2036 	    case "$ac_configure_args0 " in
   2037 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2038 	    esac
   2039 	    ;;
   2040 	  -* ) ac_must_keep_next=true ;;
   2041 	esac
   2042       fi
   2043       as_fn_append ac_configure_args " '$ac_arg'"
   2044       ;;
   2045     esac
   2046   done
   2047 done
   2048 { ac_configure_args0=; unset ac_configure_args0;}
   2049 { ac_configure_args1=; unset ac_configure_args1;}
   2050 
   2051 # When interrupted or exit'd, cleanup temporary files, and complete
   2052 # config.log.  We remove comments because anyway the quotes in there
   2053 # would cause problems or look ugly.
   2054 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2055 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2056 trap 'exit_status=$?
   2057   # Save into config.log some information that might help in debugging.
   2058   {
   2059     echo
   2060 
   2061     $as_echo "## ---------------- ##
   2062 ## Cache variables. ##
   2063 ## ---------------- ##"
   2064     echo
   2065     # The following way of writing the cache mishandles newlines in values,
   2066 (
   2067   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2068     eval ac_val=\$$ac_var
   2069     case $ac_val in #(
   2070     *${as_nl}*)
   2071       case $ac_var in #(
   2072       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2074       esac
   2075       case $ac_var in #(
   2076       _ | IFS | as_nl) ;; #(
   2077       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2078       *) { eval $ac_var=; unset $ac_var;} ;;
   2079       esac ;;
   2080     esac
   2081   done
   2082   (set) 2>&1 |
   2083     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2084     *${as_nl}ac_space=\ *)
   2085       sed -n \
   2086 	"s/'\''/'\''\\\\'\'''\''/g;
   2087 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2088       ;; #(
   2089     *)
   2090       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2091       ;;
   2092     esac |
   2093     sort
   2094 )
   2095     echo
   2096 
   2097     $as_echo "## ----------------- ##
   2098 ## Output variables. ##
   2099 ## ----------------- ##"
   2100     echo
   2101     for ac_var in $ac_subst_vars
   2102     do
   2103       eval ac_val=\$$ac_var
   2104       case $ac_val in
   2105       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2106       esac
   2107       $as_echo "$ac_var='\''$ac_val'\''"
   2108     done | sort
   2109     echo
   2110 
   2111     if test -n "$ac_subst_files"; then
   2112       $as_echo "## ------------------- ##
   2113 ## File substitutions. ##
   2114 ## ------------------- ##"
   2115       echo
   2116       for ac_var in $ac_subst_files
   2117       do
   2118 	eval ac_val=\$$ac_var
   2119 	case $ac_val in
   2120 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2121 	esac
   2122 	$as_echo "$ac_var='\''$ac_val'\''"
   2123       done | sort
   2124       echo
   2125     fi
   2126 
   2127     if test -s confdefs.h; then
   2128       $as_echo "## ----------- ##
   2129 ## confdefs.h. ##
   2130 ## ----------- ##"
   2131       echo
   2132       cat confdefs.h
   2133       echo
   2134     fi
   2135     test "$ac_signal" != 0 &&
   2136       $as_echo "$as_me: caught signal $ac_signal"
   2137     $as_echo "$as_me: exit $exit_status"
   2138   } >&5
   2139   rm -f core *.core core.conftest.* &&
   2140     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2141     exit $exit_status
   2142 ' 0
   2143 for ac_signal in 1 2 13 15; do
   2144   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2145 done
   2146 ac_signal=0
   2147 
   2148 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2149 rm -f -r conftest* confdefs.h
   2150 
   2151 $as_echo "/* confdefs.h */" > confdefs.h
   2152 
   2153 # Predefined preprocessor variables.
   2154 
   2155 cat >>confdefs.h <<_ACEOF
   2156 #define PACKAGE_NAME "$PACKAGE_NAME"
   2157 _ACEOF
   2158 
   2159 cat >>confdefs.h <<_ACEOF
   2160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2161 _ACEOF
   2162 
   2163 cat >>confdefs.h <<_ACEOF
   2164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2165 _ACEOF
   2166 
   2167 cat >>confdefs.h <<_ACEOF
   2168 #define PACKAGE_STRING "$PACKAGE_STRING"
   2169 _ACEOF
   2170 
   2171 cat >>confdefs.h <<_ACEOF
   2172 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2173 _ACEOF
   2174 
   2175 cat >>confdefs.h <<_ACEOF
   2176 #define PACKAGE_URL "$PACKAGE_URL"
   2177 _ACEOF
   2178 
   2179 
   2180 # Let the site file select an alternate cache file if it wants to.
   2181 # Prefer an explicitly selected file to automatically selected ones.
   2182 ac_site_file1=NONE
   2183 ac_site_file2=NONE
   2184 if test -n "$CONFIG_SITE"; then
   2185   # We do not want a PATH search for config.site.
   2186   case $CONFIG_SITE in #((
   2187     -*)  ac_site_file1=./$CONFIG_SITE;;
   2188     */*) ac_site_file1=$CONFIG_SITE;;
   2189     *)   ac_site_file1=./$CONFIG_SITE;;
   2190   esac
   2191 elif test "x$prefix" != xNONE; then
   2192   ac_site_file1=$prefix/share/config.site
   2193   ac_site_file2=$prefix/etc/config.site
   2194 else
   2195   ac_site_file1=$ac_default_prefix/share/config.site
   2196   ac_site_file2=$ac_default_prefix/etc/config.site
   2197 fi
   2198 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2199 do
   2200   test "x$ac_site_file" = xNONE && continue
   2201   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2202     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2203 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2204     sed 's/^/| /' "$ac_site_file" >&5
   2205     . "$ac_site_file" \
   2206       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2208 as_fn_error $? "failed to load site script $ac_site_file
   2209 See \`config.log' for more details" "$LINENO" 5; }
   2210   fi
   2211 done
   2212 
   2213 if test -r "$cache_file"; then
   2214   # Some versions of bash will fail to source /dev/null (special files
   2215   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2216   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2217     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2218 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2219     case $cache_file in
   2220       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2221       *)                      . "./$cache_file";;
   2222     esac
   2223   fi
   2224 else
   2225   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2226 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2227   >$cache_file
   2228 fi
   2229 
   2230 # Check that the precious variables saved in the cache have kept the same
   2231 # value.
   2232 ac_cache_corrupted=false
   2233 for ac_var in $ac_precious_vars; do
   2234   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2235   eval ac_new_set=\$ac_env_${ac_var}_set
   2236   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2237   eval ac_new_val=\$ac_env_${ac_var}_value
   2238   case $ac_old_set,$ac_new_set in
   2239     set,)
   2240       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2241 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2242       ac_cache_corrupted=: ;;
   2243     ,set)
   2244       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2245 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2246       ac_cache_corrupted=: ;;
   2247     ,);;
   2248     *)
   2249       if test "x$ac_old_val" != "x$ac_new_val"; then
   2250 	# differences in whitespace do not lead to failure.
   2251 	ac_old_val_w=`echo x $ac_old_val`
   2252 	ac_new_val_w=`echo x $ac_new_val`
   2253 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2254 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2255 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2256 	  ac_cache_corrupted=:
   2257 	else
   2258 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2259 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2260 	  eval $ac_var=\$ac_old_val
   2261 	fi
   2262 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2263 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2264 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2265 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2266       fi;;
   2267   esac
   2268   # Pass precious variables to config.status.
   2269   if test "$ac_new_set" = set; then
   2270     case $ac_new_val in
   2271     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2272     *) ac_arg=$ac_var=$ac_new_val ;;
   2273     esac
   2274     case " $ac_configure_args " in
   2275       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2276       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2277     esac
   2278   fi
   2279 done
   2280 if $ac_cache_corrupted; then
   2281   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2283   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2284 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2285   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2286 fi
   2287 ## -------------------- ##
   2288 ## Main body of script. ##
   2289 ## -------------------- ##
   2290 
   2291 ac_ext=c
   2292 ac_cpp='$CPP $CPPFLAGS'
   2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2296 
   2297 
   2298 
   2299 ac_config_headers="$ac_config_headers config.h"
   2300 
   2301 
   2302 am__api_version='1.15'
   2303 
   2304 ac_aux_dir=
   2305 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2306   if test -f "$ac_dir/install-sh"; then
   2307     ac_aux_dir=$ac_dir
   2308     ac_install_sh="$ac_aux_dir/install-sh -c"
   2309     break
   2310   elif test -f "$ac_dir/install.sh"; then
   2311     ac_aux_dir=$ac_dir
   2312     ac_install_sh="$ac_aux_dir/install.sh -c"
   2313     break
   2314   elif test -f "$ac_dir/shtool"; then
   2315     ac_aux_dir=$ac_dir
   2316     ac_install_sh="$ac_aux_dir/shtool install -c"
   2317     break
   2318   fi
   2319 done
   2320 if test -z "$ac_aux_dir"; then
   2321   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2322 fi
   2323 
   2324 # These three variables are undocumented and unsupported,
   2325 # and are intended to be withdrawn in a future Autoconf release.
   2326 # They can cause serious problems if a builder's source tree is in a directory
   2327 # whose full name contains unusual characters.
   2328 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2329 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2330 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2331 
   2332 
   2333 # Find a good install program.  We prefer a C program (faster),
   2334 # so one script is as good as another.  But avoid the broken or
   2335 # incompatible versions:
   2336 # SysV /etc/install, /usr/sbin/install
   2337 # SunOS /usr/etc/install
   2338 # IRIX /sbin/install
   2339 # AIX /bin/install
   2340 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2341 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2342 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2343 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2344 # OS/2's system install, which has a completely different semantic
   2345 # ./install, which can be erroneously created by make from ./install.sh.
   2346 # Reject install programs that cannot install multiple files.
   2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2348 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2349 if test -z "$INSTALL"; then
   2350 if ${ac_cv_path_install+:} false; then :
   2351   $as_echo_n "(cached) " >&6
   2352 else
   2353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2354 for as_dir in $PATH
   2355 do
   2356   IFS=$as_save_IFS
   2357   test -z "$as_dir" && as_dir=.
   2358     # Account for people who put trailing slashes in PATH elements.
   2359 case $as_dir/ in #((
   2360   ./ | .// | /[cC]/* | \
   2361   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2362   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2363   /usr/ucb/* ) ;;
   2364   *)
   2365     # OSF1 and SCO ODT 3.0 have their own names for install.
   2366     # Don't use installbsd from OSF since it installs stuff as root
   2367     # by default.
   2368     for ac_prog in ginstall scoinst install; do
   2369       for ac_exec_ext in '' $ac_executable_extensions; do
   2370 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2371 	  if test $ac_prog = install &&
   2372 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2373 	    # AIX install.  It has an incompatible calling convention.
   2374 	    :
   2375 	  elif test $ac_prog = install &&
   2376 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2377 	    # program-specific install script used by HP pwplus--don't use.
   2378 	    :
   2379 	  else
   2380 	    rm -rf conftest.one conftest.two conftest.dir
   2381 	    echo one > conftest.one
   2382 	    echo two > conftest.two
   2383 	    mkdir conftest.dir
   2384 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2385 	      test -s conftest.one && test -s conftest.two &&
   2386 	      test -s conftest.dir/conftest.one &&
   2387 	      test -s conftest.dir/conftest.two
   2388 	    then
   2389 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2390 	      break 3
   2391 	    fi
   2392 	  fi
   2393 	fi
   2394       done
   2395     done
   2396     ;;
   2397 esac
   2398 
   2399   done
   2400 IFS=$as_save_IFS
   2401 
   2402 rm -rf conftest.one conftest.two conftest.dir
   2403 
   2404 fi
   2405   if test "${ac_cv_path_install+set}" = set; then
   2406     INSTALL=$ac_cv_path_install
   2407   else
   2408     # As a last resort, use the slow shell script.  Don't cache a
   2409     # value for INSTALL within a source directory, because that will
   2410     # break other packages using the cache if that directory is
   2411     # removed, or if the value is a relative name.
   2412     INSTALL=$ac_install_sh
   2413   fi
   2414 fi
   2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2416 $as_echo "$INSTALL" >&6; }
   2417 
   2418 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2419 # It thinks the first close brace ends the variable substitution.
   2420 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2421 
   2422 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2423 
   2424 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2425 
   2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2427 $as_echo_n "checking whether build environment is sane... " >&6; }
   2428 # Reject unsafe characters in $srcdir or the absolute working directory
   2429 # name.  Accept space and tab only in the latter.
   2430 am_lf='
   2431 '
   2432 case `pwd` in
   2433   *[\\\"\#\$\&\'\`$am_lf]*)
   2434     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2435 esac
   2436 case $srcdir in
   2437   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2438     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2439 esac
   2440 
   2441 # Do 'set' in a subshell so we don't clobber the current shell's
   2442 # arguments.  Must try -L first in case configure is actually a
   2443 # symlink; some systems play weird games with the mod time of symlinks
   2444 # (eg FreeBSD returns the mod time of the symlink's containing
   2445 # directory).
   2446 if (
   2447    am_has_slept=no
   2448    for am_try in 1 2; do
   2449      echo "timestamp, slept: $am_has_slept" > conftest.file
   2450      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2451      if test "$*" = "X"; then
   2452 	# -L didn't work.
   2453 	set X `ls -t "$srcdir/configure" conftest.file`
   2454      fi
   2455      if test "$*" != "X $srcdir/configure conftest.file" \
   2456 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2457 
   2458 	# If neither matched, then we have a broken ls.  This can happen
   2459 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2460 	# broken ls alias from the environment.  This has actually
   2461 	# happened.  Such a system could not be considered "sane".
   2462 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2463   alias in your environment" "$LINENO" 5
   2464      fi
   2465      if test "$2" = conftest.file || test $am_try -eq 2; then
   2466        break
   2467      fi
   2468      # Just in case.
   2469      sleep 1
   2470      am_has_slept=yes
   2471    done
   2472    test "$2" = conftest.file
   2473    )
   2474 then
   2475    # Ok.
   2476    :
   2477 else
   2478    as_fn_error $? "newly created file is older than distributed files!
   2479 Check your system clock" "$LINENO" 5
   2480 fi
   2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2482 $as_echo "yes" >&6; }
   2483 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2484 # generated files are strictly newer.
   2485 am_sleep_pid=
   2486 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2487   ( sleep 1 ) &
   2488   am_sleep_pid=$!
   2489 fi
   2490 
   2491 rm -f conftest.file
   2492 
   2493 test "$program_prefix" != NONE &&
   2494   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2495 # Use a double $ so make ignores it.
   2496 test "$program_suffix" != NONE &&
   2497   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2498 # Double any \ or $.
   2499 # By default was `s,x,x', remove it if useless.
   2500 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2501 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2502 
   2503 # Expand $ac_aux_dir to an absolute path.
   2504 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2505 
   2506 if test x"${MISSING+set}" != xset; then
   2507   case $am_aux_dir in
   2508   *\ * | *\	*)
   2509     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2510   *)
   2511     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2512   esac
   2513 fi
   2514 # Use eval to expand $SHELL
   2515 if eval "$MISSING --is-lightweight"; then
   2516   am_missing_run="$MISSING "
   2517 else
   2518   am_missing_run=
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2520 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2521 fi
   2522 
   2523 if test x"${install_sh+set}" != xset; then
   2524   case $am_aux_dir in
   2525   *\ * | *\	*)
   2526     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2527   *)
   2528     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2529   esac
   2530 fi
   2531 
   2532 # Installed binaries are usually stripped using 'strip' when the user
   2533 # run "make install-strip".  However 'strip' might not be the right
   2534 # tool to use in cross-compilation environments, therefore Automake
   2535 # will honor the 'STRIP' environment variable to overrule this program.
   2536 if test "$cross_compiling" != no; then
   2537   if test -n "$ac_tool_prefix"; then
   2538   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2539 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2541 $as_echo_n "checking for $ac_word... " >&6; }
   2542 if ${ac_cv_prog_STRIP+:} false; then :
   2543   $as_echo_n "(cached) " >&6
   2544 else
   2545   if test -n "$STRIP"; then
   2546   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2547 else
   2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2549 for as_dir in $PATH
   2550 do
   2551   IFS=$as_save_IFS
   2552   test -z "$as_dir" && as_dir=.
   2553     for ac_exec_ext in '' $ac_executable_extensions; do
   2554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2555     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2557     break 2
   2558   fi
   2559 done
   2560   done
   2561 IFS=$as_save_IFS
   2562 
   2563 fi
   2564 fi
   2565 STRIP=$ac_cv_prog_STRIP
   2566 if test -n "$STRIP"; then
   2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2568 $as_echo "$STRIP" >&6; }
   2569 else
   2570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2571 $as_echo "no" >&6; }
   2572 fi
   2573 
   2574 
   2575 fi
   2576 if test -z "$ac_cv_prog_STRIP"; then
   2577   ac_ct_STRIP=$STRIP
   2578   # Extract the first word of "strip", so it can be a program name with args.
   2579 set dummy strip; ac_word=$2
   2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2581 $as_echo_n "checking for $ac_word... " >&6; }
   2582 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2583   $as_echo_n "(cached) " >&6
   2584 else
   2585   if test -n "$ac_ct_STRIP"; then
   2586   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2587 else
   2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2589 for as_dir in $PATH
   2590 do
   2591   IFS=$as_save_IFS
   2592   test -z "$as_dir" && as_dir=.
   2593     for ac_exec_ext in '' $ac_executable_extensions; do
   2594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2595     ac_cv_prog_ac_ct_STRIP="strip"
   2596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2597     break 2
   2598   fi
   2599 done
   2600   done
   2601 IFS=$as_save_IFS
   2602 
   2603 fi
   2604 fi
   2605 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2606 if test -n "$ac_ct_STRIP"; then
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2608 $as_echo "$ac_ct_STRIP" >&6; }
   2609 else
   2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2611 $as_echo "no" >&6; }
   2612 fi
   2613 
   2614   if test "x$ac_ct_STRIP" = x; then
   2615     STRIP=":"
   2616   else
   2617     case $cross_compiling:$ac_tool_warned in
   2618 yes:)
   2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2621 ac_tool_warned=yes ;;
   2622 esac
   2623     STRIP=$ac_ct_STRIP
   2624   fi
   2625 else
   2626   STRIP="$ac_cv_prog_STRIP"
   2627 fi
   2628 
   2629 fi
   2630 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2631 
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2633 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2634 if test -z "$MKDIR_P"; then
   2635   if ${ac_cv_path_mkdir+:} false; then :
   2636   $as_echo_n "(cached) " >&6
   2637 else
   2638   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2639 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2640 do
   2641   IFS=$as_save_IFS
   2642   test -z "$as_dir" && as_dir=.
   2643     for ac_prog in mkdir gmkdir; do
   2644 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2645 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2646 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2647 	     'mkdir (GNU coreutils) '* | \
   2648 	     'mkdir (coreutils) '* | \
   2649 	     'mkdir (fileutils) '4.1*)
   2650 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2651 	       break 3;;
   2652 	   esac
   2653 	 done
   2654        done
   2655   done
   2656 IFS=$as_save_IFS
   2657 
   2658 fi
   2659 
   2660   test -d ./--version && rmdir ./--version
   2661   if test "${ac_cv_path_mkdir+set}" = set; then
   2662     MKDIR_P="$ac_cv_path_mkdir -p"
   2663   else
   2664     # As a last resort, use the slow shell script.  Don't cache a
   2665     # value for MKDIR_P within a source directory, because that will
   2666     # break other packages using the cache if that directory is
   2667     # removed, or if the value is a relative name.
   2668     MKDIR_P="$ac_install_sh -d"
   2669   fi
   2670 fi
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2672 $as_echo "$MKDIR_P" >&6; }
   2673 
   2674 for ac_prog in gawk mawk nawk awk
   2675 do
   2676   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2677 set dummy $ac_prog; ac_word=$2
   2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2679 $as_echo_n "checking for $ac_word... " >&6; }
   2680 if ${ac_cv_prog_AWK+:} false; then :
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   if test -n "$AWK"; then
   2684   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2685 else
   2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2687 for as_dir in $PATH
   2688 do
   2689   IFS=$as_save_IFS
   2690   test -z "$as_dir" && as_dir=.
   2691     for ac_exec_ext in '' $ac_executable_extensions; do
   2692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2693     ac_cv_prog_AWK="$ac_prog"
   2694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2695     break 2
   2696   fi
   2697 done
   2698   done
   2699 IFS=$as_save_IFS
   2700 
   2701 fi
   2702 fi
   2703 AWK=$ac_cv_prog_AWK
   2704 if test -n "$AWK"; then
   2705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2706 $as_echo "$AWK" >&6; }
   2707 else
   2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2709 $as_echo "no" >&6; }
   2710 fi
   2711 
   2712 
   2713   test -n "$AWK" && break
   2714 done
   2715 
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2717 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2718 set x ${MAKE-make}
   2719 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2720 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2721   $as_echo_n "(cached) " >&6
   2722 else
   2723   cat >conftest.make <<\_ACEOF
   2724 SHELL = /bin/sh
   2725 all:
   2726 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2727 _ACEOF
   2728 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2729 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2730   *@@@%%%=?*=@@@%%%*)
   2731     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2732   *)
   2733     eval ac_cv_prog_make_${ac_make}_set=no;;
   2734 esac
   2735 rm -f conftest.make
   2736 fi
   2737 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2739 $as_echo "yes" >&6; }
   2740   SET_MAKE=
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 $as_echo "no" >&6; }
   2744   SET_MAKE="MAKE=${MAKE-make}"
   2745 fi
   2746 
   2747 rm -rf .tst 2>/dev/null
   2748 mkdir .tst 2>/dev/null
   2749 if test -d .tst; then
   2750   am__leading_dot=.
   2751 else
   2752   am__leading_dot=_
   2753 fi
   2754 rmdir .tst 2>/dev/null
   2755 
   2756 # Check whether --enable-silent-rules was given.
   2757 if test "${enable_silent_rules+set}" = set; then :
   2758   enableval=$enable_silent_rules;
   2759 fi
   2760 
   2761 case $enable_silent_rules in # (((
   2762   yes) AM_DEFAULT_VERBOSITY=0;;
   2763    no) AM_DEFAULT_VERBOSITY=1;;
   2764     *) AM_DEFAULT_VERBOSITY=1;;
   2765 esac
   2766 am_make=${MAKE-make}
   2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2768 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2769 if ${am_cv_make_support_nested_variables+:} false; then :
   2770   $as_echo_n "(cached) " >&6
   2771 else
   2772   if $as_echo 'TRUE=$(BAR$(V))
   2773 BAR0=false
   2774 BAR1=true
   2775 V=1
   2776 am__doit:
   2777 	@$(TRUE)
   2778 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2779   am_cv_make_support_nested_variables=yes
   2780 else
   2781   am_cv_make_support_nested_variables=no
   2782 fi
   2783 fi
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2785 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2786 if test $am_cv_make_support_nested_variables = yes; then
   2787     AM_V='$(V)'
   2788   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2789 else
   2790   AM_V=$AM_DEFAULT_VERBOSITY
   2791   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2792 fi
   2793 AM_BACKSLASH='\'
   2794 
   2795 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2796   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2797   # is not polluted with repeated "-I."
   2798   am__isrc=' -I$(srcdir)'
   2799   # test to see if srcdir already configured
   2800   if test -f $srcdir/config.status; then
   2801     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2802   fi
   2803 fi
   2804 
   2805 # test whether we have cygpath
   2806 if test -z "$CYGPATH_W"; then
   2807   if (cygpath --version) >/dev/null 2>/dev/null; then
   2808     CYGPATH_W='cygpath -w'
   2809   else
   2810     CYGPATH_W=echo
   2811   fi
   2812 fi
   2813 
   2814 
   2815 # Define the identity of the package.
   2816  PACKAGE='mpc'
   2817  VERSION='1.0.3'
   2818 
   2819 
   2820 cat >>confdefs.h <<_ACEOF
   2821 #define PACKAGE "$PACKAGE"
   2822 _ACEOF
   2823 
   2824 
   2825 cat >>confdefs.h <<_ACEOF
   2826 #define VERSION "$VERSION"
   2827 _ACEOF
   2828 
   2829 # Some tools Automake needs.
   2830 
   2831 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2832 
   2833 
   2834 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2835 
   2836 
   2837 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2838 
   2839 
   2840 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2841 
   2842 
   2843 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2844 
   2845 # For better backward compatibility.  To be removed once Automake 1.9.x
   2846 # dies out for good.  For more background, see:
   2847 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2848 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2849 mkdir_p='$(MKDIR_P)'
   2850 
   2851 # We need awk for the "check" target (and possibly the TAP driver).  The
   2852 # system "awk" is bad on some platforms.
   2853 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2854 # in the wild :-(  We should find a proper way to deprecate it ...
   2855 AMTAR='$${TAR-tar}'
   2856 
   2857 
   2858 # We'll loop over all known methods to create a tar archive until one works.
   2859 _am_tools='gnutar  pax cpio none'
   2860 
   2861 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2862 
   2863 
   2864 
   2865 
   2866 
   2867 
   2868 # POSIX will say in a future version that running "rm -f" with no argument
   2869 # is OK; and we want to be able to make that assumption in our Makefile
   2870 # recipes.  So use an aggressive probe to check that the usage we want is
   2871 # actually supported "in the wild" to an acceptable degree.
   2872 # See automake bug#10828.
   2873 # To make any issue more visible, cause the running configure to be aborted
   2874 # by default if the 'rm' program in use doesn't match our expectations; the
   2875 # user can still override this though.
   2876 if rm -f && rm -fr && rm -rf; then : OK; else
   2877   cat >&2 <<'END'
   2878 Oops!
   2879 
   2880 Your 'rm' program seems unable to run without file operands specified
   2881 on the command line, even when the '-f' option is present.  This is contrary
   2882 to the behaviour of most rm programs out there, and not conforming with
   2883 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2884 
   2885 Please tell bug-automake@gnu.org about your system, including the value
   2886 of your $PATH and any error possibly output before this message.  This
   2887 can help us improve future automake versions.
   2888 
   2889 END
   2890   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2891     echo 'Configuration will proceed anyway, since you have set the' >&2
   2892     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2893     echo >&2
   2894   else
   2895     cat >&2 <<'END'
   2896 Aborting the configuration process, to ensure you take notice of the issue.
   2897 
   2898 You can download and install GNU coreutils to get an 'rm' implementation
   2899 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2900 
   2901 If you want to complete the configuration process using your problematic
   2902 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2903 to "yes", and re-run configure.
   2904 
   2905 END
   2906     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2907   fi
   2908 fi
   2909 
   2910 
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2912 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2913     # Check whether --enable-maintainer-mode was given.
   2914 if test "${enable_maintainer_mode+set}" = set; then :
   2915   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2916 else
   2917   USE_MAINTAINER_MODE=no
   2918 fi
   2919 
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2921 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2922    if test $USE_MAINTAINER_MODE = yes; then
   2923   MAINTAINER_MODE_TRUE=
   2924   MAINTAINER_MODE_FALSE='#'
   2925 else
   2926   MAINTAINER_MODE_TRUE='#'
   2927   MAINTAINER_MODE_FALSE=
   2928 fi
   2929 
   2930   MAINT=$MAINTAINER_MODE_TRUE
   2931 
   2932 
   2933 
   2934 USER_CC=$CC
   2935 USER_CFLAGS=$CFLAGS
   2936 
   2937 # Make sure we can run config.sub.
   2938 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2939   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2940 
   2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2942 $as_echo_n "checking build system type... " >&6; }
   2943 if ${ac_cv_build+:} false; then :
   2944   $as_echo_n "(cached) " >&6
   2945 else
   2946   ac_build_alias=$build_alias
   2947 test "x$ac_build_alias" = x &&
   2948   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2949 test "x$ac_build_alias" = x &&
   2950   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2951 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2952   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2953 
   2954 fi
   2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2956 $as_echo "$ac_cv_build" >&6; }
   2957 case $ac_cv_build in
   2958 *-*-*) ;;
   2959 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2960 esac
   2961 build=$ac_cv_build
   2962 ac_save_IFS=$IFS; IFS='-'
   2963 set x $ac_cv_build
   2964 shift
   2965 build_cpu=$1
   2966 build_vendor=$2
   2967 shift; shift
   2968 # Remember, the first character of IFS is used to create $*,
   2969 # except with old shells:
   2970 build_os=$*
   2971 IFS=$ac_save_IFS
   2972 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2973 
   2974 
   2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2976 $as_echo_n "checking host system type... " >&6; }
   2977 if ${ac_cv_host+:} false; then :
   2978   $as_echo_n "(cached) " >&6
   2979 else
   2980   if test "x$host_alias" = x; then
   2981   ac_cv_host=$ac_cv_build
   2982 else
   2983   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2984     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2985 fi
   2986 
   2987 fi
   2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2989 $as_echo "$ac_cv_host" >&6; }
   2990 case $ac_cv_host in
   2991 *-*-*) ;;
   2992 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2993 esac
   2994 host=$ac_cv_host
   2995 ac_save_IFS=$IFS; IFS='-'
   2996 set x $ac_cv_host
   2997 shift
   2998 host_cpu=$1
   2999 host_vendor=$2
   3000 shift; shift
   3001 # Remember, the first character of IFS is used to create $*,
   3002 # except with old shells:
   3003 host_os=$*
   3004 IFS=$ac_save_IFS
   3005 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3006 
   3007 
   3008 
   3009 
   3010 
   3011 # Extra arguments to configure
   3012 
   3013 # Check whether --with-mpfr_include was given.
   3014 if test "${with_mpfr_include+set}" = set; then :
   3015   withval=$with_mpfr_include; CPPFLAGS="-I$withval $CPPFLAGS"
   3016 fi
   3017 
   3018 
   3019 # Check whether --with-mpfr_lib was given.
   3020 if test "${with_mpfr_lib+set}" = set; then :
   3021   withval=$with_mpfr_lib; LDFLAGS="-L$withval $LDFLAGS"
   3022 fi
   3023 
   3024 
   3025 # Check whether --with-mpfr was given.
   3026 if test "${with_mpfr+set}" = set; then :
   3027   withval=$with_mpfr;
   3028             if test -z "$with_mpfr_include" -a -z "$with_mpfr_lib" ; then
   3029                CPPFLAGS="-I$withval/include $CPPFLAGS"
   3030                LDFLAGS="-L$withval/lib $LDFLAGS"
   3031             else
   3032                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3034 as_fn_error $? "Do not use --with-mpfr and --with-mpfr-include/--with-mpfr-lib options simultaneously.
   3035 See \`config.log' for more details" "$LINENO" 5; }
   3036             fi
   3037 
   3038 fi
   3039 
   3040 
   3041 # Check whether --with-gmp_include was given.
   3042 if test "${with_gmp_include+set}" = set; then :
   3043   withval=$with_gmp_include; CPPFLAGS="-I$withval $CPPFLAGS"
   3044 fi
   3045 
   3046 
   3047 # Check whether --with-gmp_lib was given.
   3048 if test "${with_gmp_lib+set}" = set; then :
   3049   withval=$with_gmp_lib; LDFLAGS="-L$withval $LDFLAGS"
   3050 fi
   3051 
   3052 
   3053 # Check whether --with-gmp was given.
   3054 if test "${with_gmp+set}" = set; then :
   3055   withval=$with_gmp;
   3056             if test -z "$with_gmp_lib" -a -z "$with_gmp_include" ; then
   3057                CPPFLAGS="-I$withval/include $CPPFLAGS"
   3058                LDFLAGS="-L$withval/lib $LDFLAGS"
   3059             else
   3060                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3062 as_fn_error $? "Do not use --with-gmp and --with-gmp-include/--with-gmp-lib options simultaneously.
   3063 See \`config.log' for more details" "$LINENO" 5; }
   3064             fi
   3065 
   3066 fi
   3067 
   3068 # Check whether --enable-logging was given.
   3069 if test "${enable_logging+set}" = set; then :
   3070   enableval=$enable_logging; case $enableval in
   3071                  yes) if test "x$enable_shared" = "xno"; then :
   3072   as_fn_error $? "Logging works only with shared libraries; do not mix --enable-logging and --disable-shared" "$LINENO" 5
   3073 fi ;;
   3074                  no)  ;;
   3075                  *)   as_fn_error $? "Bad value for --enable-logging: Use yes or no" "$LINENO" 5 ;;
   3076               esac
   3077 
   3078 
   3079 fi
   3080 
   3081 # Check whether --enable-valgrind-tests was given.
   3082 if test "${enable_valgrind_tests+set}" = set; then :
   3083   enableval=$enable_valgrind_tests; case $enableval in
   3084                  yes)
   3085   # Run self-tests under valgrind?
   3086   if test "$cross_compiling" = no; then
   3087     for ac_prog in valgrind
   3088 do
   3089   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3090 set dummy $ac_prog; ac_word=$2
   3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3092 $as_echo_n "checking for $ac_word... " >&6; }
   3093 if ${ac_cv_prog_VALGRIND+:} false; then :
   3094   $as_echo_n "(cached) " >&6
   3095 else
   3096   if test -n "$VALGRIND"; then
   3097   ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
   3098 else
   3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3100 for as_dir in $PATH
   3101 do
   3102   IFS=$as_save_IFS
   3103   test -z "$as_dir" && as_dir=.
   3104     for ac_exec_ext in '' $ac_executable_extensions; do
   3105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3106     ac_cv_prog_VALGRIND="$ac_prog"
   3107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3108     break 2
   3109   fi
   3110 done
   3111   done
   3112 IFS=$as_save_IFS
   3113 
   3114 fi
   3115 fi
   3116 VALGRIND=$ac_cv_prog_VALGRIND
   3117 if test -n "$VALGRIND"; then
   3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
   3119 $as_echo "$VALGRIND" >&6; }
   3120 else
   3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3122 $as_echo "no" >&6; }
   3123 fi
   3124 
   3125 
   3126   test -n "$VALGRIND" && break
   3127 done
   3128 
   3129   fi
   3130 
   3131   OPTS="-q --error-exitcode=1 --leak-check=full"
   3132 
   3133   if test -n "$VALGRIND" \
   3134      && $VALGRIND $OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then
   3135     opt_valgrind_tests=yes
   3136     VALGRIND="$VALGRIND $OPTS"
   3137 # Addition AE: enable suppression file through a shell variable
   3138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind suppression file" >&5
   3139 $as_echo_n "checking for valgrind suppression file... " >&6; }
   3140     if test -n "$VALGRIND_SUPPRESSION"; then
   3141        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_SUPPRESSION" >&5
   3142 $as_echo "$VALGRIND_SUPPRESSION" >&6; }
   3143        VALGRIND="$VALGRIND --suppressions=$VALGRIND_SUPPRESSION"
   3144     else
   3145        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3146 $as_echo "no" >&6; }
   3147     fi
   3148 
   3149 $as_echo "#define MPC_USE_VALGRIND 1" >>confdefs.h
   3150 
   3151   else
   3152     opt_valgrind_tests=no
   3153     VALGRIND=
   3154   fi
   3155 
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether self tests are run under valgrind" >&5
   3157 $as_echo_n "checking whether self tests are run under valgrind... " >&6; }
   3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $opt_valgrind_tests" >&5
   3159 $as_echo "$opt_valgrind_tests" >&6; }
   3160  ;;
   3161                  no)  ;;
   3162                  *)   as_fn_error $? "Bad value for --enable-valgrind-tests: Use yes or no" "$LINENO" 5 ;;
   3163               esac
   3164 
   3165 
   3166 fi
   3167 
   3168 
   3169 # Check for CC and CFLAGS in gmp.h unless the user specified one of them
   3170 # look for EGREP and SED here, see continued problem
   3171 # at http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-January/001056.html
   3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3173 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3174 if ${ac_cv_path_GREP+:} false; then :
   3175   $as_echo_n "(cached) " >&6
   3176 else
   3177   if test -z "$GREP"; then
   3178   ac_path_GREP_found=false
   3179   # Loop through the user's path and test for each of PROGNAME-LIST
   3180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3182 do
   3183   IFS=$as_save_IFS
   3184   test -z "$as_dir" && as_dir=.
   3185     for ac_prog in grep ggrep; do
   3186     for ac_exec_ext in '' $ac_executable_extensions; do
   3187       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3188       as_fn_executable_p "$ac_path_GREP" || continue
   3189 # Check for GNU ac_path_GREP and select it if it is found.
   3190   # Check for GNU $ac_path_GREP
   3191 case `"$ac_path_GREP" --version 2>&1` in
   3192 *GNU*)
   3193   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3194 *)
   3195   ac_count=0
   3196   $as_echo_n 0123456789 >"conftest.in"
   3197   while :
   3198   do
   3199     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3200     mv "conftest.tmp" "conftest.in"
   3201     cp "conftest.in" "conftest.nl"
   3202     $as_echo 'GREP' >> "conftest.nl"
   3203     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3204     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3205     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3206     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3207       # Best one so far, save it but keep looking for a better one
   3208       ac_cv_path_GREP="$ac_path_GREP"
   3209       ac_path_GREP_max=$ac_count
   3210     fi
   3211     # 10*(2^10) chars as input seems more than enough
   3212     test $ac_count -gt 10 && break
   3213   done
   3214   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3215 esac
   3216 
   3217       $ac_path_GREP_found && break 3
   3218     done
   3219   done
   3220   done
   3221 IFS=$as_save_IFS
   3222   if test -z "$ac_cv_path_GREP"; then
   3223     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3224   fi
   3225 else
   3226   ac_cv_path_GREP=$GREP
   3227 fi
   3228 
   3229 fi
   3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3231 $as_echo "$ac_cv_path_GREP" >&6; }
   3232  GREP="$ac_cv_path_GREP"
   3233 
   3234 
   3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3236 $as_echo_n "checking for egrep... " >&6; }
   3237 if ${ac_cv_path_EGREP+:} false; then :
   3238   $as_echo_n "(cached) " >&6
   3239 else
   3240   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3241    then ac_cv_path_EGREP="$GREP -E"
   3242    else
   3243      if test -z "$EGREP"; then
   3244   ac_path_EGREP_found=false
   3245   # Loop through the user's path and test for each of PROGNAME-LIST
   3246   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3248 do
   3249   IFS=$as_save_IFS
   3250   test -z "$as_dir" && as_dir=.
   3251     for ac_prog in egrep; do
   3252     for ac_exec_ext in '' $ac_executable_extensions; do
   3253       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3254       as_fn_executable_p "$ac_path_EGREP" || continue
   3255 # Check for GNU ac_path_EGREP and select it if it is found.
   3256   # Check for GNU $ac_path_EGREP
   3257 case `"$ac_path_EGREP" --version 2>&1` in
   3258 *GNU*)
   3259   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3260 *)
   3261   ac_count=0
   3262   $as_echo_n 0123456789 >"conftest.in"
   3263   while :
   3264   do
   3265     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3266     mv "conftest.tmp" "conftest.in"
   3267     cp "conftest.in" "conftest.nl"
   3268     $as_echo 'EGREP' >> "conftest.nl"
   3269     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3270     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3271     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3272     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3273       # Best one so far, save it but keep looking for a better one
   3274       ac_cv_path_EGREP="$ac_path_EGREP"
   3275       ac_path_EGREP_max=$ac_count
   3276     fi
   3277     # 10*(2^10) chars as input seems more than enough
   3278     test $ac_count -gt 10 && break
   3279   done
   3280   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3281 esac
   3282 
   3283       $ac_path_EGREP_found && break 3
   3284     done
   3285   done
   3286   done
   3287 IFS=$as_save_IFS
   3288   if test -z "$ac_cv_path_EGREP"; then
   3289     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3290   fi
   3291 else
   3292   ac_cv_path_EGREP=$EGREP
   3293 fi
   3294 
   3295    fi
   3296 fi
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3298 $as_echo "$ac_cv_path_EGREP" >&6; }
   3299  EGREP="$ac_cv_path_EGREP"
   3300 
   3301 
   3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3303 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3304 if ${ac_cv_path_SED+:} false; then :
   3305   $as_echo_n "(cached) " >&6
   3306 else
   3307             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3308      for ac_i in 1 2 3 4 5 6 7; do
   3309        ac_script="$ac_script$as_nl$ac_script"
   3310      done
   3311      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3312      { ac_script=; unset ac_script;}
   3313      if test -z "$SED"; then
   3314   ac_path_SED_found=false
   3315   # Loop through the user's path and test for each of PROGNAME-LIST
   3316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3317 for as_dir in $PATH
   3318 do
   3319   IFS=$as_save_IFS
   3320   test -z "$as_dir" && as_dir=.
   3321     for ac_prog in sed gsed; do
   3322     for ac_exec_ext in '' $ac_executable_extensions; do
   3323       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3324       as_fn_executable_p "$ac_path_SED" || continue
   3325 # Check for GNU ac_path_SED and select it if it is found.
   3326   # Check for GNU $ac_path_SED
   3327 case `"$ac_path_SED" --version 2>&1` in
   3328 *GNU*)
   3329   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3330 *)
   3331   ac_count=0
   3332   $as_echo_n 0123456789 >"conftest.in"
   3333   while :
   3334   do
   3335     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3336     mv "conftest.tmp" "conftest.in"
   3337     cp "conftest.in" "conftest.nl"
   3338     $as_echo '' >> "conftest.nl"
   3339     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3340     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3341     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3342     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3343       # Best one so far, save it but keep looking for a better one
   3344       ac_cv_path_SED="$ac_path_SED"
   3345       ac_path_SED_max=$ac_count
   3346     fi
   3347     # 10*(2^10) chars as input seems more than enough
   3348     test $ac_count -gt 10 && break
   3349   done
   3350   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3351 esac
   3352 
   3353       $ac_path_SED_found && break 3
   3354     done
   3355   done
   3356   done
   3357 IFS=$as_save_IFS
   3358   if test -z "$ac_cv_path_SED"; then
   3359     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3360   fi
   3361 else
   3362   ac_cv_path_SED=$SED
   3363 fi
   3364 
   3365 fi
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3367 $as_echo "$ac_cv_path_SED" >&6; }
   3368  SED="$ac_cv_path_SED"
   3369   rm -f conftest.sed
   3370 
   3371 if test -z "$USER_CC" && test -z "$USER_CFLAGS"; then
   3372 
   3373    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC and CFLAGS in gmp.h" >&5
   3374 $as_echo_n "checking for CC and CFLAGS in gmp.h... " >&6; }
   3375    # AC_PROG_CPP triggers the search for a C compiler; use hack instead
   3376    for cpp in /lib/cpp gcc cc c99
   3377    do
   3378       test $cpp = /lib/cpp || cpp="$cpp -E"
   3379       echo foo > conftest.c
   3380       if $cpp $CPPFLAGS conftest.c > /dev/null 2> /dev/null ; then
   3381          # Get CC
   3382          echo "#include \"gmp.h\"" >  conftest.c
   3383          echo "MPFR_OPTION __GMP_CC"           >> conftest.c
   3384          GMP_CC=`$cpp $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g;s/ *" *//g'`
   3385          # Get CFLAGS
   3386          echo "#include \"gmp.h\"" >  conftest.c
   3387          echo "MPFR_OPTION __GMP_CFLAGS"           >> conftest.c
   3388          GMP_CFLAGS=`$cpp $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g;s/ *" *//g'`
   3389          break
   3390       fi
   3391    done
   3392 
   3393    if test "x$GMP_CFLAGS" = "x__GMP_CFLAGS" -o "x$GMP_CC" = "x__GMP_CC" ; then
   3394       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3395 $as_echo "no" >&6; }
   3396       GMP_CC=
   3397       GMP_CFLAGS=
   3398    else
   3399       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&5
   3400 $as_echo "yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&6; }
   3401    fi
   3402 
   3403    # Check for validity of CC and CFLAGS obtained from gmp.h
   3404    if test -n "$GMP_CC$GMP_CFLAGS" ; then
   3405       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS" >&5
   3406 $as_echo_n "checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS... " >&6; }
   3407       echo "int main (void) { return 0; }" > conftest.c
   3408       if $GMP_CC $GMP_CFLAGS -o conftest conftest.c 2> /dev/null ; then
   3409          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3410 $as_echo "yes" >&6; }
   3411          CC=$GMP_CC
   3412          CFLAGS=$GMP_CFLAGS
   3413       else
   3414          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3415 $as_echo "no" >&6; }
   3416       fi
   3417    fi
   3418 
   3419    rm -f conftest*
   3420 
   3421 fi
   3422 
   3423 # Setup CC and CFLAGS
   3424 ac_ext=c
   3425 ac_cpp='$CPP $CPPFLAGS'
   3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3429 if test -n "$ac_tool_prefix"; then
   3430   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3433 $as_echo_n "checking for $ac_word... " >&6; }
   3434 if ${ac_cv_prog_CC+:} false; then :
   3435   $as_echo_n "(cached) " >&6
   3436 else
   3437   if test -n "$CC"; then
   3438   ac_cv_prog_CC="$CC" # Let the user override the test.
   3439 else
   3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3441 for as_dir in $PATH
   3442 do
   3443   IFS=$as_save_IFS
   3444   test -z "$as_dir" && as_dir=.
   3445     for ac_exec_ext in '' $ac_executable_extensions; do
   3446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3447     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3449     break 2
   3450   fi
   3451 done
   3452   done
   3453 IFS=$as_save_IFS
   3454 
   3455 fi
   3456 fi
   3457 CC=$ac_cv_prog_CC
   3458 if test -n "$CC"; then
   3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3460 $as_echo "$CC" >&6; }
   3461 else
   3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3463 $as_echo "no" >&6; }
   3464 fi
   3465 
   3466 
   3467 fi
   3468 if test -z "$ac_cv_prog_CC"; then
   3469   ac_ct_CC=$CC
   3470   # Extract the first word of "gcc", so it can be a program name with args.
   3471 set dummy gcc; ac_word=$2
   3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3473 $as_echo_n "checking for $ac_word... " >&6; }
   3474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3475   $as_echo_n "(cached) " >&6
   3476 else
   3477   if test -n "$ac_ct_CC"; then
   3478   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3479 else
   3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3481 for as_dir in $PATH
   3482 do
   3483   IFS=$as_save_IFS
   3484   test -z "$as_dir" && as_dir=.
   3485     for ac_exec_ext in '' $ac_executable_extensions; do
   3486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3487     ac_cv_prog_ac_ct_CC="gcc"
   3488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3489     break 2
   3490   fi
   3491 done
   3492   done
   3493 IFS=$as_save_IFS
   3494 
   3495 fi
   3496 fi
   3497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3498 if test -n "$ac_ct_CC"; then
   3499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3500 $as_echo "$ac_ct_CC" >&6; }
   3501 else
   3502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3503 $as_echo "no" >&6; }
   3504 fi
   3505 
   3506   if test "x$ac_ct_CC" = x; then
   3507     CC=""
   3508   else
   3509     case $cross_compiling:$ac_tool_warned in
   3510 yes:)
   3511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3513 ac_tool_warned=yes ;;
   3514 esac
   3515     CC=$ac_ct_CC
   3516   fi
   3517 else
   3518   CC="$ac_cv_prog_CC"
   3519 fi
   3520 
   3521 if test -z "$CC"; then
   3522           if test -n "$ac_tool_prefix"; then
   3523     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3524 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3526 $as_echo_n "checking for $ac_word... " >&6; }
   3527 if ${ac_cv_prog_CC+:} false; then :
   3528   $as_echo_n "(cached) " >&6
   3529 else
   3530   if test -n "$CC"; then
   3531   ac_cv_prog_CC="$CC" # Let the user override the test.
   3532 else
   3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3534 for as_dir in $PATH
   3535 do
   3536   IFS=$as_save_IFS
   3537   test -z "$as_dir" && as_dir=.
   3538     for ac_exec_ext in '' $ac_executable_extensions; do
   3539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3540     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3542     break 2
   3543   fi
   3544 done
   3545   done
   3546 IFS=$as_save_IFS
   3547 
   3548 fi
   3549 fi
   3550 CC=$ac_cv_prog_CC
   3551 if test -n "$CC"; then
   3552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3553 $as_echo "$CC" >&6; }
   3554 else
   3555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3556 $as_echo "no" >&6; }
   3557 fi
   3558 
   3559 
   3560   fi
   3561 fi
   3562 if test -z "$CC"; then
   3563   # Extract the first word of "cc", so it can be a program name with args.
   3564 set dummy cc; ac_word=$2
   3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3566 $as_echo_n "checking for $ac_word... " >&6; }
   3567 if ${ac_cv_prog_CC+:} false; then :
   3568   $as_echo_n "(cached) " >&6
   3569 else
   3570   if test -n "$CC"; then
   3571   ac_cv_prog_CC="$CC" # Let the user override the test.
   3572 else
   3573   ac_prog_rejected=no
   3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3575 for as_dir in $PATH
   3576 do
   3577   IFS=$as_save_IFS
   3578   test -z "$as_dir" && as_dir=.
   3579     for ac_exec_ext in '' $ac_executable_extensions; do
   3580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3581     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3582        ac_prog_rejected=yes
   3583        continue
   3584      fi
   3585     ac_cv_prog_CC="cc"
   3586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3587     break 2
   3588   fi
   3589 done
   3590   done
   3591 IFS=$as_save_IFS
   3592 
   3593 if test $ac_prog_rejected = yes; then
   3594   # We found a bogon in the path, so make sure we never use it.
   3595   set dummy $ac_cv_prog_CC
   3596   shift
   3597   if test $# != 0; then
   3598     # We chose a different compiler from the bogus one.
   3599     # However, it has the same basename, so the bogon will be chosen
   3600     # first if we set CC to just the basename; use the full file name.
   3601     shift
   3602     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3603   fi
   3604 fi
   3605 fi
   3606 fi
   3607 CC=$ac_cv_prog_CC
   3608 if test -n "$CC"; then
   3609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3610 $as_echo "$CC" >&6; }
   3611 else
   3612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3613 $as_echo "no" >&6; }
   3614 fi
   3615 
   3616 
   3617 fi
   3618 if test -z "$CC"; then
   3619   if test -n "$ac_tool_prefix"; then
   3620   for ac_prog in cl.exe
   3621   do
   3622     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3625 $as_echo_n "checking for $ac_word... " >&6; }
   3626 if ${ac_cv_prog_CC+:} false; then :
   3627   $as_echo_n "(cached) " >&6
   3628 else
   3629   if test -n "$CC"; then
   3630   ac_cv_prog_CC="$CC" # Let the user override the test.
   3631 else
   3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3633 for as_dir in $PATH
   3634 do
   3635   IFS=$as_save_IFS
   3636   test -z "$as_dir" && as_dir=.
   3637     for ac_exec_ext in '' $ac_executable_extensions; do
   3638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3639     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3641     break 2
   3642   fi
   3643 done
   3644   done
   3645 IFS=$as_save_IFS
   3646 
   3647 fi
   3648 fi
   3649 CC=$ac_cv_prog_CC
   3650 if test -n "$CC"; then
   3651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3652 $as_echo "$CC" >&6; }
   3653 else
   3654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3655 $as_echo "no" >&6; }
   3656 fi
   3657 
   3658 
   3659     test -n "$CC" && break
   3660   done
   3661 fi
   3662 if test -z "$CC"; then
   3663   ac_ct_CC=$CC
   3664   for ac_prog in cl.exe
   3665 do
   3666   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3667 set dummy $ac_prog; ac_word=$2
   3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3669 $as_echo_n "checking for $ac_word... " >&6; }
   3670 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3671   $as_echo_n "(cached) " >&6
   3672 else
   3673   if test -n "$ac_ct_CC"; then
   3674   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3675 else
   3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3677 for as_dir in $PATH
   3678 do
   3679   IFS=$as_save_IFS
   3680   test -z "$as_dir" && as_dir=.
   3681     for ac_exec_ext in '' $ac_executable_extensions; do
   3682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3683     ac_cv_prog_ac_ct_CC="$ac_prog"
   3684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3685     break 2
   3686   fi
   3687 done
   3688   done
   3689 IFS=$as_save_IFS
   3690 
   3691 fi
   3692 fi
   3693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3694 if test -n "$ac_ct_CC"; then
   3695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3696 $as_echo "$ac_ct_CC" >&6; }
   3697 else
   3698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3699 $as_echo "no" >&6; }
   3700 fi
   3701 
   3702 
   3703   test -n "$ac_ct_CC" && break
   3704 done
   3705 
   3706   if test "x$ac_ct_CC" = x; then
   3707     CC=""
   3708   else
   3709     case $cross_compiling:$ac_tool_warned in
   3710 yes:)
   3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3713 ac_tool_warned=yes ;;
   3714 esac
   3715     CC=$ac_ct_CC
   3716   fi
   3717 fi
   3718 
   3719 fi
   3720 
   3721 
   3722 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3724 as_fn_error $? "no acceptable C compiler found in \$PATH
   3725 See \`config.log' for more details" "$LINENO" 5; }
   3726 
   3727 # Provide some information about the compiler.
   3728 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3729 set X $ac_compile
   3730 ac_compiler=$2
   3731 for ac_option in --version -v -V -qversion; do
   3732   { { ac_try="$ac_compiler $ac_option >&5"
   3733 case "(($ac_try" in
   3734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3735   *) ac_try_echo=$ac_try;;
   3736 esac
   3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3738 $as_echo "$ac_try_echo"; } >&5
   3739   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3740   ac_status=$?
   3741   if test -s conftest.err; then
   3742     sed '10a\
   3743 ... rest of stderr output deleted ...
   3744          10q' conftest.err >conftest.er1
   3745     cat conftest.er1 >&5
   3746   fi
   3747   rm -f conftest.er1 conftest.err
   3748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3749   test $ac_status = 0; }
   3750 done
   3751 
   3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3753 /* end confdefs.h.  */
   3754 
   3755 int
   3756 main ()
   3757 {
   3758 
   3759   ;
   3760   return 0;
   3761 }
   3762 _ACEOF
   3763 ac_clean_files_save=$ac_clean_files
   3764 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3765 # Try to create an executable without -o first, disregard a.out.
   3766 # It will help us diagnose broken compilers, and finding out an intuition
   3767 # of exeext.
   3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3769 $as_echo_n "checking whether the C compiler works... " >&6; }
   3770 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3771 
   3772 # The possible output files:
   3773 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3774 
   3775 ac_rmfiles=
   3776 for ac_file in $ac_files
   3777 do
   3778   case $ac_file in
   3779     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3780     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3781   esac
   3782 done
   3783 rm -f $ac_rmfiles
   3784 
   3785 if { { ac_try="$ac_link_default"
   3786 case "(($ac_try" in
   3787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3788   *) ac_try_echo=$ac_try;;
   3789 esac
   3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3791 $as_echo "$ac_try_echo"; } >&5
   3792   (eval "$ac_link_default") 2>&5
   3793   ac_status=$?
   3794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3795   test $ac_status = 0; }; then :
   3796   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3797 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3798 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3799 # so that the user can short-circuit this test for compilers unknown to
   3800 # Autoconf.
   3801 for ac_file in $ac_files ''
   3802 do
   3803   test -f "$ac_file" || continue
   3804   case $ac_file in
   3805     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3806 	;;
   3807     [ab].out )
   3808 	# We found the default executable, but exeext='' is most
   3809 	# certainly right.
   3810 	break;;
   3811     *.* )
   3812 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3813 	then :; else
   3814 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3815 	fi
   3816 	# We set ac_cv_exeext here because the later test for it is not
   3817 	# safe: cross compilers may not add the suffix if given an `-o'
   3818 	# argument, so we may need to know it at that point already.
   3819 	# Even if this section looks crufty: it has the advantage of
   3820 	# actually working.
   3821 	break;;
   3822     * )
   3823 	break;;
   3824   esac
   3825 done
   3826 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3827 
   3828 else
   3829   ac_file=''
   3830 fi
   3831 if test -z "$ac_file"; then :
   3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3833 $as_echo "no" >&6; }
   3834 $as_echo "$as_me: failed program was:" >&5
   3835 sed 's/^/| /' conftest.$ac_ext >&5
   3836 
   3837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3839 as_fn_error 77 "C compiler cannot create executables
   3840 See \`config.log' for more details" "$LINENO" 5; }
   3841 else
   3842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3843 $as_echo "yes" >&6; }
   3844 fi
   3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3846 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3848 $as_echo "$ac_file" >&6; }
   3849 ac_exeext=$ac_cv_exeext
   3850 
   3851 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3852 ac_clean_files=$ac_clean_files_save
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3854 $as_echo_n "checking for suffix of executables... " >&6; }
   3855 if { { ac_try="$ac_link"
   3856 case "(($ac_try" in
   3857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3858   *) ac_try_echo=$ac_try;;
   3859 esac
   3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3861 $as_echo "$ac_try_echo"; } >&5
   3862   (eval "$ac_link") 2>&5
   3863   ac_status=$?
   3864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3865   test $ac_status = 0; }; then :
   3866   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3867 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3868 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3869 # `rm'.
   3870 for ac_file in conftest.exe conftest conftest.*; do
   3871   test -f "$ac_file" || continue
   3872   case $ac_file in
   3873     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3874     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3875 	  break;;
   3876     * ) break;;
   3877   esac
   3878 done
   3879 else
   3880   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3882 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3883 See \`config.log' for more details" "$LINENO" 5; }
   3884 fi
   3885 rm -f conftest conftest$ac_cv_exeext
   3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3887 $as_echo "$ac_cv_exeext" >&6; }
   3888 
   3889 rm -f conftest.$ac_ext
   3890 EXEEXT=$ac_cv_exeext
   3891 ac_exeext=$EXEEXT
   3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3893 /* end confdefs.h.  */
   3894 #include <stdio.h>
   3895 int
   3896 main ()
   3897 {
   3898 FILE *f = fopen ("conftest.out", "w");
   3899  return ferror (f) || fclose (f) != 0;
   3900 
   3901   ;
   3902   return 0;
   3903 }
   3904 _ACEOF
   3905 ac_clean_files="$ac_clean_files conftest.out"
   3906 # Check that the compiler produces executables we can run.  If not, either
   3907 # the compiler is broken, or we cross compile.
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3909 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3910 if test "$cross_compiling" != yes; then
   3911   { { ac_try="$ac_link"
   3912 case "(($ac_try" in
   3913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3914   *) ac_try_echo=$ac_try;;
   3915 esac
   3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3917 $as_echo "$ac_try_echo"; } >&5
   3918   (eval "$ac_link") 2>&5
   3919   ac_status=$?
   3920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3921   test $ac_status = 0; }
   3922   if { ac_try='./conftest$ac_cv_exeext'
   3923   { { case "(($ac_try" in
   3924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3925   *) ac_try_echo=$ac_try;;
   3926 esac
   3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3928 $as_echo "$ac_try_echo"; } >&5
   3929   (eval "$ac_try") 2>&5
   3930   ac_status=$?
   3931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3932   test $ac_status = 0; }; }; then
   3933     cross_compiling=no
   3934   else
   3935     if test "$cross_compiling" = maybe; then
   3936 	cross_compiling=yes
   3937     else
   3938 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3940 as_fn_error $? "cannot run C compiled programs.
   3941 If you meant to cross compile, use \`--host'.
   3942 See \`config.log' for more details" "$LINENO" 5; }
   3943     fi
   3944   fi
   3945 fi
   3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3947 $as_echo "$cross_compiling" >&6; }
   3948 
   3949 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3950 ac_clean_files=$ac_clean_files_save
   3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3952 $as_echo_n "checking for suffix of object files... " >&6; }
   3953 if ${ac_cv_objext+:} false; then :
   3954   $as_echo_n "(cached) " >&6
   3955 else
   3956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3957 /* end confdefs.h.  */
   3958 
   3959 int
   3960 main ()
   3961 {
   3962 
   3963   ;
   3964   return 0;
   3965 }
   3966 _ACEOF
   3967 rm -f conftest.o conftest.obj
   3968 if { { ac_try="$ac_compile"
   3969 case "(($ac_try" in
   3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3971   *) ac_try_echo=$ac_try;;
   3972 esac
   3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3974 $as_echo "$ac_try_echo"; } >&5
   3975   (eval "$ac_compile") 2>&5
   3976   ac_status=$?
   3977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3978   test $ac_status = 0; }; then :
   3979   for ac_file in conftest.o conftest.obj conftest.*; do
   3980   test -f "$ac_file" || continue;
   3981   case $ac_file in
   3982     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3983     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3984        break;;
   3985   esac
   3986 done
   3987 else
   3988   $as_echo "$as_me: failed program was:" >&5
   3989 sed 's/^/| /' conftest.$ac_ext >&5
   3990 
   3991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3993 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3994 See \`config.log' for more details" "$LINENO" 5; }
   3995 fi
   3996 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3997 fi
   3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3999 $as_echo "$ac_cv_objext" >&6; }
   4000 OBJEXT=$ac_cv_objext
   4001 ac_objext=$OBJEXT
   4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4003 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4004 if ${ac_cv_c_compiler_gnu+:} false; then :
   4005   $as_echo_n "(cached) " >&6
   4006 else
   4007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4008 /* end confdefs.h.  */
   4009 
   4010 int
   4011 main ()
   4012 {
   4013 #ifndef __GNUC__
   4014        choke me
   4015 #endif
   4016 
   4017   ;
   4018   return 0;
   4019 }
   4020 _ACEOF
   4021 if ac_fn_c_try_compile "$LINENO"; then :
   4022   ac_compiler_gnu=yes
   4023 else
   4024   ac_compiler_gnu=no
   4025 fi
   4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4027 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4028 
   4029 fi
   4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4031 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4032 if test $ac_compiler_gnu = yes; then
   4033   GCC=yes
   4034 else
   4035   GCC=
   4036 fi
   4037 ac_test_CFLAGS=${CFLAGS+set}
   4038 ac_save_CFLAGS=$CFLAGS
   4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4040 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4041 if ${ac_cv_prog_cc_g+:} false; then :
   4042   $as_echo_n "(cached) " >&6
   4043 else
   4044   ac_save_c_werror_flag=$ac_c_werror_flag
   4045    ac_c_werror_flag=yes
   4046    ac_cv_prog_cc_g=no
   4047    CFLAGS="-g"
   4048    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4049 /* end confdefs.h.  */
   4050 
   4051 int
   4052 main ()
   4053 {
   4054 
   4055   ;
   4056   return 0;
   4057 }
   4058 _ACEOF
   4059 if ac_fn_c_try_compile "$LINENO"; then :
   4060   ac_cv_prog_cc_g=yes
   4061 else
   4062   CFLAGS=""
   4063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4064 /* end confdefs.h.  */
   4065 
   4066 int
   4067 main ()
   4068 {
   4069 
   4070   ;
   4071   return 0;
   4072 }
   4073 _ACEOF
   4074 if ac_fn_c_try_compile "$LINENO"; then :
   4075 
   4076 else
   4077   ac_c_werror_flag=$ac_save_c_werror_flag
   4078 	 CFLAGS="-g"
   4079 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4080 /* end confdefs.h.  */
   4081 
   4082 int
   4083 main ()
   4084 {
   4085 
   4086   ;
   4087   return 0;
   4088 }
   4089 _ACEOF
   4090 if ac_fn_c_try_compile "$LINENO"; then :
   4091   ac_cv_prog_cc_g=yes
   4092 fi
   4093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4094 fi
   4095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4096 fi
   4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4098    ac_c_werror_flag=$ac_save_c_werror_flag
   4099 fi
   4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4101 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4102 if test "$ac_test_CFLAGS" = set; then
   4103   CFLAGS=$ac_save_CFLAGS
   4104 elif test $ac_cv_prog_cc_g = yes; then
   4105   if test "$GCC" = yes; then
   4106     CFLAGS="-g -O2"
   4107   else
   4108     CFLAGS="-g"
   4109   fi
   4110 else
   4111   if test "$GCC" = yes; then
   4112     CFLAGS="-O2"
   4113   else
   4114     CFLAGS=
   4115   fi
   4116 fi
   4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4118 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4119 if ${ac_cv_prog_cc_c89+:} false; then :
   4120   $as_echo_n "(cached) " >&6
   4121 else
   4122   ac_cv_prog_cc_c89=no
   4123 ac_save_CC=$CC
   4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4125 /* end confdefs.h.  */
   4126 #include <stdarg.h>
   4127 #include <stdio.h>
   4128 struct stat;
   4129 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4130 struct buf { int x; };
   4131 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4132 static char *e (p, i)
   4133      char **p;
   4134      int i;
   4135 {
   4136   return p[i];
   4137 }
   4138 static char *f (char * (*g) (char **, int), char **p, ...)
   4139 {
   4140   char *s;
   4141   va_list v;
   4142   va_start (v,p);
   4143   s = g (p, va_arg (v,int));
   4144   va_end (v);
   4145   return s;
   4146 }
   4147 
   4148 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4149    function prototypes and stuff, but not '\xHH' hex character constants.
   4150    These don't provoke an error unfortunately, instead are silently treated
   4151    as 'x'.  The following induces an error, until -std is added to get
   4152    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4153    array size at least.  It's necessary to write '\x00'==0 to get something
   4154    that's true only with -std.  */
   4155 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4156 
   4157 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4158    inside strings and character constants.  */
   4159 #define FOO(x) 'x'
   4160 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4161 
   4162 int test (int i, double x);
   4163 struct s1 {int (*f) (int a);};
   4164 struct s2 {int (*f) (double a);};
   4165 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4166 int argc;
   4167 char **argv;
   4168 int
   4169 main ()
   4170 {
   4171 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4172   ;
   4173   return 0;
   4174 }
   4175 _ACEOF
   4176 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4177 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4178 do
   4179   CC="$ac_save_CC $ac_arg"
   4180   if ac_fn_c_try_compile "$LINENO"; then :
   4181   ac_cv_prog_cc_c89=$ac_arg
   4182 fi
   4183 rm -f core conftest.err conftest.$ac_objext
   4184   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4185 done
   4186 rm -f conftest.$ac_ext
   4187 CC=$ac_save_CC
   4188 
   4189 fi
   4190 # AC_CACHE_VAL
   4191 case "x$ac_cv_prog_cc_c89" in
   4192   x)
   4193     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4194 $as_echo "none needed" >&6; } ;;
   4195   xno)
   4196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4197 $as_echo "unsupported" >&6; } ;;
   4198   *)
   4199     CC="$CC $ac_cv_prog_cc_c89"
   4200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4201 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4202 esac
   4203 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4204 
   4205 fi
   4206 
   4207 ac_ext=c
   4208 ac_cpp='$CPP $CPPFLAGS'
   4209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4212 
   4213 ac_ext=c
   4214 ac_cpp='$CPP $CPPFLAGS'
   4215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4219 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4220 if ${am_cv_prog_cc_c_o+:} false; then :
   4221   $as_echo_n "(cached) " >&6
   4222 else
   4223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4224 /* end confdefs.h.  */
   4225 
   4226 int
   4227 main ()
   4228 {
   4229 
   4230   ;
   4231   return 0;
   4232 }
   4233 _ACEOF
   4234   # Make sure it works both with $CC and with simple cc.
   4235   # Following AC_PROG_CC_C_O, we do the test twice because some
   4236   # compilers refuse to overwrite an existing .o file with -o,
   4237   # though they will create one.
   4238   am_cv_prog_cc_c_o=yes
   4239   for am_i in 1 2; do
   4240     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4241    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4242    ac_status=$?
   4243    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4244    (exit $ac_status); } \
   4245          && test -f conftest2.$ac_objext; then
   4246       : OK
   4247     else
   4248       am_cv_prog_cc_c_o=no
   4249       break
   4250     fi
   4251   done
   4252   rm -f core conftest*
   4253   unset am_i
   4254 fi
   4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4256 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4257 if test "$am_cv_prog_cc_c_o" != yes; then
   4258    # Losing compiler, so override with the script.
   4259    # FIXME: It is wrong to rewrite CC.
   4260    # But if we don't then we get into trouble of one sort or another.
   4261    # A longer-term fix would be to have automake use am__CC in this case,
   4262    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4263    CC="$am_aux_dir/compile $CC"
   4264 fi
   4265 ac_ext=c
   4266 ac_cpp='$CPP $CPPFLAGS'
   4267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4270 
   4271 DEPDIR="${am__leading_dot}deps"
   4272 
   4273 ac_config_commands="$ac_config_commands depfiles"
   4274 
   4275 
   4276 am_make=${MAKE-make}
   4277 cat > confinc << 'END'
   4278 am__doit:
   4279 	@echo this is the am__doit target
   4280 .PHONY: am__doit
   4281 END
   4282 # If we don't find an include directive, just comment out the code.
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4284 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4285 am__include="#"
   4286 am__quote=
   4287 _am_result=none
   4288 # First try GNU make style include.
   4289 echo "include confinc" > confmf
   4290 # Ignore all kinds of additional output from 'make'.
   4291 case `$am_make -s -f confmf 2> /dev/null` in #(
   4292 *the\ am__doit\ target*)
   4293   am__include=include
   4294   am__quote=
   4295   _am_result=GNU
   4296   ;;
   4297 esac
   4298 # Now try BSD make style include.
   4299 if test "$am__include" = "#"; then
   4300    echo '.include "confinc"' > confmf
   4301    case `$am_make -s -f confmf 2> /dev/null` in #(
   4302    *the\ am__doit\ target*)
   4303      am__include=.include
   4304      am__quote="\""
   4305      _am_result=BSD
   4306      ;;
   4307    esac
   4308 fi
   4309 
   4310 
   4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4312 $as_echo "$_am_result" >&6; }
   4313 rm -f confinc confmf
   4314 
   4315 # Check whether --enable-dependency-tracking was given.
   4316 if test "${enable_dependency_tracking+set}" = set; then :
   4317   enableval=$enable_dependency_tracking;
   4318 fi
   4319 
   4320 if test "x$enable_dependency_tracking" != xno; then
   4321   am_depcomp="$ac_aux_dir/depcomp"
   4322   AMDEPBACKSLASH='\'
   4323   am__nodep='_no'
   4324 fi
   4325  if test "x$enable_dependency_tracking" != xno; then
   4326   AMDEP_TRUE=
   4327   AMDEP_FALSE='#'
   4328 else
   4329   AMDEP_TRUE='#'
   4330   AMDEP_FALSE=
   4331 fi
   4332 
   4333 
   4334 
   4335 depcc="$CC"   am_compiler_list=
   4336 
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4338 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4339 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4340   $as_echo_n "(cached) " >&6
   4341 else
   4342   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4343   # We make a subdir and do the tests there.  Otherwise we can end up
   4344   # making bogus files that we don't know about and never remove.  For
   4345   # instance it was reported that on HP-UX the gcc test will end up
   4346   # making a dummy file named 'D' -- because '-MD' means "put the output
   4347   # in D".
   4348   rm -rf conftest.dir
   4349   mkdir conftest.dir
   4350   # Copy depcomp to subdir because otherwise we won't find it if we're
   4351   # using a relative directory.
   4352   cp "$am_depcomp" conftest.dir
   4353   cd conftest.dir
   4354   # We will build objects and dependencies in a subdirectory because
   4355   # it helps to detect inapplicable dependency modes.  For instance
   4356   # both Tru64's cc and ICC support -MD to output dependencies as a
   4357   # side effect of compilation, but ICC will put the dependencies in
   4358   # the current directory while Tru64 will put them in the object
   4359   # directory.
   4360   mkdir sub
   4361 
   4362   am_cv_CC_dependencies_compiler_type=none
   4363   if test "$am_compiler_list" = ""; then
   4364      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4365   fi
   4366   am__universal=false
   4367   case " $depcc " in #(
   4368      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4369      esac
   4370 
   4371   for depmode in $am_compiler_list; do
   4372     # Setup a source with many dependencies, because some compilers
   4373     # like to wrap large dependency lists on column 80 (with \), and
   4374     # we should not choose a depcomp mode which is confused by this.
   4375     #
   4376     # We need to recreate these files for each test, as the compiler may
   4377     # overwrite some of them when testing with obscure command lines.
   4378     # This happens at least with the AIX C compiler.
   4379     : > sub/conftest.c
   4380     for i in 1 2 3 4 5 6; do
   4381       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4382       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4383       # Solaris 10 /bin/sh.
   4384       echo '/* dummy */' > sub/conftst$i.h
   4385     done
   4386     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4387 
   4388     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4389     # mode.  It turns out that the SunPro C++ compiler does not properly
   4390     # handle '-M -o', and we need to detect this.  Also, some Intel
   4391     # versions had trouble with output in subdirs.
   4392     am__obj=sub/conftest.${OBJEXT-o}
   4393     am__minus_obj="-o $am__obj"
   4394     case $depmode in
   4395     gcc)
   4396       # This depmode causes a compiler race in universal mode.
   4397       test "$am__universal" = false || continue
   4398       ;;
   4399     nosideeffect)
   4400       # After this tag, mechanisms are not by side-effect, so they'll
   4401       # only be used when explicitly requested.
   4402       if test "x$enable_dependency_tracking" = xyes; then
   4403 	continue
   4404       else
   4405 	break
   4406       fi
   4407       ;;
   4408     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4409       # This compiler won't grok '-c -o', but also, the minuso test has
   4410       # not run yet.  These depmodes are late enough in the game, and
   4411       # so weak that their functioning should not be impacted.
   4412       am__obj=conftest.${OBJEXT-o}
   4413       am__minus_obj=
   4414       ;;
   4415     none) break ;;
   4416     esac
   4417     if depmode=$depmode \
   4418        source=sub/conftest.c object=$am__obj \
   4419        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4420        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4421          >/dev/null 2>conftest.err &&
   4422        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4423        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4424        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4425        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4426       # icc doesn't choke on unknown options, it will just issue warnings
   4427       # or remarks (even with -Werror).  So we grep stderr for any message
   4428       # that says an option was ignored or not supported.
   4429       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4430       #   icc: Command line warning: ignoring option '-M'; no argument required
   4431       # The diagnosis changed in icc 8.0:
   4432       #   icc: Command line remark: option '-MP' not supported
   4433       if (grep 'ignoring option' conftest.err ||
   4434           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4435         am_cv_CC_dependencies_compiler_type=$depmode
   4436         break
   4437       fi
   4438     fi
   4439   done
   4440 
   4441   cd ..
   4442   rm -rf conftest.dir
   4443 else
   4444   am_cv_CC_dependencies_compiler_type=none
   4445 fi
   4446 
   4447 fi
   4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4449 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4450 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4451 
   4452  if
   4453   test "x$enable_dependency_tracking" != xno \
   4454   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4455   am__fastdepCC_TRUE=
   4456   am__fastdepCC_FALSE='#'
   4457 else
   4458   am__fastdepCC_TRUE='#'
   4459   am__fastdepCC_FALSE=
   4460 fi
   4461 
   4462 
   4463 ac_ext=c
   4464 ac_cpp='$CPP $CPPFLAGS'
   4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4468 
   4469 
   4470 # automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
   4471 
   4472 if test -n "$ac_tool_prefix"; then
   4473   for ac_prog in ar lib "link -lib"
   4474   do
   4475     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4478 $as_echo_n "checking for $ac_word... " >&6; }
   4479 if ${ac_cv_prog_AR+:} false; then :
   4480   $as_echo_n "(cached) " >&6
   4481 else
   4482   if test -n "$AR"; then
   4483   ac_cv_prog_AR="$AR" # Let the user override the test.
   4484 else
   4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4486 for as_dir in $PATH
   4487 do
   4488   IFS=$as_save_IFS
   4489   test -z "$as_dir" && as_dir=.
   4490     for ac_exec_ext in '' $ac_executable_extensions; do
   4491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4492     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   4493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4494     break 2
   4495   fi
   4496 done
   4497   done
   4498 IFS=$as_save_IFS
   4499 
   4500 fi
   4501 fi
   4502 AR=$ac_cv_prog_AR
   4503 if test -n "$AR"; then
   4504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4505 $as_echo "$AR" >&6; }
   4506 else
   4507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4508 $as_echo "no" >&6; }
   4509 fi
   4510 
   4511 
   4512     test -n "$AR" && break
   4513   done
   4514 fi
   4515 if test -z "$AR"; then
   4516   ac_ct_AR=$AR
   4517   for ac_prog in ar lib "link -lib"
   4518 do
   4519   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4520 set dummy $ac_prog; ac_word=$2
   4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4522 $as_echo_n "checking for $ac_word... " >&6; }
   4523 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4524   $as_echo_n "(cached) " >&6
   4525 else
   4526   if test -n "$ac_ct_AR"; then
   4527   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4528 else
   4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4530 for as_dir in $PATH
   4531 do
   4532   IFS=$as_save_IFS
   4533   test -z "$as_dir" && as_dir=.
   4534     for ac_exec_ext in '' $ac_executable_extensions; do
   4535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4536     ac_cv_prog_ac_ct_AR="$ac_prog"
   4537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4538     break 2
   4539   fi
   4540 done
   4541   done
   4542 IFS=$as_save_IFS
   4543 
   4544 fi
   4545 fi
   4546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4547 if test -n "$ac_ct_AR"; then
   4548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4549 $as_echo "$ac_ct_AR" >&6; }
   4550 else
   4551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4552 $as_echo "no" >&6; }
   4553 fi
   4554 
   4555 
   4556   test -n "$ac_ct_AR" && break
   4557 done
   4558 
   4559   if test "x$ac_ct_AR" = x; then
   4560     AR="false"
   4561   else
   4562     case $cross_compiling:$ac_tool_warned in
   4563 yes:)
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4566 ac_tool_warned=yes ;;
   4567 esac
   4568     AR=$ac_ct_AR
   4569   fi
   4570 fi
   4571 
   4572 : ${AR=ar}
   4573 
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   4575 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   4576 if ${am_cv_ar_interface+:} false; then :
   4577   $as_echo_n "(cached) " >&6
   4578 else
   4579   ac_ext=c
   4580 ac_cpp='$CPP $CPPFLAGS'
   4581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4584 
   4585    am_cv_ar_interface=ar
   4586    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4587 /* end confdefs.h.  */
   4588 int some_variable = 0;
   4589 _ACEOF
   4590 if ac_fn_c_try_compile "$LINENO"; then :
   4591   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   4592       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4593   (eval $am_ar_try) 2>&5
   4594   ac_status=$?
   4595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4596   test $ac_status = 0; }
   4597       if test "$ac_status" -eq 0; then
   4598         am_cv_ar_interface=ar
   4599       else
   4600         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   4601         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4602   (eval $am_ar_try) 2>&5
   4603   ac_status=$?
   4604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4605   test $ac_status = 0; }
   4606         if test "$ac_status" -eq 0; then
   4607           am_cv_ar_interface=lib
   4608         else
   4609           am_cv_ar_interface=unknown
   4610         fi
   4611       fi
   4612       rm -f conftest.lib libconftest.a
   4613 
   4614 fi
   4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4616    ac_ext=c
   4617 ac_cpp='$CPP $CPPFLAGS'
   4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4621 
   4622 fi
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   4624 $as_echo "$am_cv_ar_interface" >&6; }
   4625 
   4626 case $am_cv_ar_interface in
   4627 ar)
   4628   ;;
   4629 lib)
   4630   # Microsoft lib, so override with the ar-lib wrapper script.
   4631   # FIXME: It is wrong to rewrite AR.
   4632   # But if we don't then we get into trouble of one sort or another.
   4633   # A longer-term fix would be to have automake use am__AR in this case,
   4634   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   4635   # similar.
   4636   AR="$am_aux_dir/ar-lib $AR"
   4637   ;;
   4638 unknown)
   4639   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   4640   ;;
   4641 esac
   4642 
   4643 
   4644 # Set up LibTool
   4645 case `pwd` in
   4646   *\ * | *\	*)
   4647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4648 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4649 esac
   4650 
   4651 
   4652 
   4653 macro_version='2.4.5'
   4654 macro_revision='2.4.5'
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 ltmain=$ac_aux_dir/ltmain.sh
   4669 
   4670 # Backslashify metacharacters that are still active within
   4671 # double-quoted strings.
   4672 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4673 
   4674 # Same as above, but do not quote variable references.
   4675 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4676 
   4677 # Sed substitution to delay expansion of an escaped shell variable in a
   4678 # double_quote_subst'ed string.
   4679 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4680 
   4681 # Sed substitution to delay expansion of an escaped single quote.
   4682 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4683 
   4684 # Sed substitution to avoid accidental globbing in evaled expressions
   4685 no_glob_subst='s/\*/\\\*/g'
   4686 
   4687 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4688 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4689 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4690 
   4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4692 $as_echo_n "checking how to print strings... " >&6; }
   4693 # Test print first, because it will be a builtin if present.
   4694 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4695    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4696   ECHO='print -r --'
   4697 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4698   ECHO='printf %s\n'
   4699 else
   4700   # Use this function as a fallback that always works.
   4701   func_fallback_echo ()
   4702   {
   4703     eval 'cat <<_LTECHO_EOF
   4704 $1
   4705 _LTECHO_EOF'
   4706   }
   4707   ECHO='func_fallback_echo'
   4708 fi
   4709 
   4710 # func_echo_all arg...
   4711 # Invoke $ECHO with all args, space-separated.
   4712 func_echo_all ()
   4713 {
   4714     $ECHO ""
   4715 }
   4716 
   4717 case $ECHO in
   4718   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4719 $as_echo "printf" >&6; } ;;
   4720   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4721 $as_echo "print -r" >&6; } ;;
   4722   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4723 $as_echo "cat" >&6; } ;;
   4724 esac
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4740 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4741 if ${ac_cv_path_SED+:} false; then :
   4742   $as_echo_n "(cached) " >&6
   4743 else
   4744             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4745      for ac_i in 1 2 3 4 5 6 7; do
   4746        ac_script="$ac_script$as_nl$ac_script"
   4747      done
   4748      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4749      { ac_script=; unset ac_script;}
   4750      if test -z "$SED"; then
   4751   ac_path_SED_found=false
   4752   # Loop through the user's path and test for each of PROGNAME-LIST
   4753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4754 for as_dir in $PATH
   4755 do
   4756   IFS=$as_save_IFS
   4757   test -z "$as_dir" && as_dir=.
   4758     for ac_prog in sed gsed; do
   4759     for ac_exec_ext in '' $ac_executable_extensions; do
   4760       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4761       as_fn_executable_p "$ac_path_SED" || continue
   4762 # Check for GNU ac_path_SED and select it if it is found.
   4763   # Check for GNU $ac_path_SED
   4764 case `"$ac_path_SED" --version 2>&1` in
   4765 *GNU*)
   4766   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4767 *)
   4768   ac_count=0
   4769   $as_echo_n 0123456789 >"conftest.in"
   4770   while :
   4771   do
   4772     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4773     mv "conftest.tmp" "conftest.in"
   4774     cp "conftest.in" "conftest.nl"
   4775     $as_echo '' >> "conftest.nl"
   4776     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4777     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4778     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4779     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4780       # Best one so far, save it but keep looking for a better one
   4781       ac_cv_path_SED="$ac_path_SED"
   4782       ac_path_SED_max=$ac_count
   4783     fi
   4784     # 10*(2^10) chars as input seems more than enough
   4785     test $ac_count -gt 10 && break
   4786   done
   4787   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4788 esac
   4789 
   4790       $ac_path_SED_found && break 3
   4791     done
   4792   done
   4793   done
   4794 IFS=$as_save_IFS
   4795   if test -z "$ac_cv_path_SED"; then
   4796     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4797   fi
   4798 else
   4799   ac_cv_path_SED=$SED
   4800 fi
   4801 
   4802 fi
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4804 $as_echo "$ac_cv_path_SED" >&6; }
   4805  SED="$ac_cv_path_SED"
   4806   rm -f conftest.sed
   4807 
   4808 test -z "$SED" && SED=sed
   4809 Xsed="$SED -e 1s/^X//"
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4822 $as_echo_n "checking for fgrep... " >&6; }
   4823 if ${ac_cv_path_FGREP+:} false; then :
   4824   $as_echo_n "(cached) " >&6
   4825 else
   4826   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4827    then ac_cv_path_FGREP="$GREP -F"
   4828    else
   4829      if test -z "$FGREP"; then
   4830   ac_path_FGREP_found=false
   4831   # Loop through the user's path and test for each of PROGNAME-LIST
   4832   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4834 do
   4835   IFS=$as_save_IFS
   4836   test -z "$as_dir" && as_dir=.
   4837     for ac_prog in fgrep; do
   4838     for ac_exec_ext in '' $ac_executable_extensions; do
   4839       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4840       as_fn_executable_p "$ac_path_FGREP" || continue
   4841 # Check for GNU ac_path_FGREP and select it if it is found.
   4842   # Check for GNU $ac_path_FGREP
   4843 case `"$ac_path_FGREP" --version 2>&1` in
   4844 *GNU*)
   4845   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4846 *)
   4847   ac_count=0
   4848   $as_echo_n 0123456789 >"conftest.in"
   4849   while :
   4850   do
   4851     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4852     mv "conftest.tmp" "conftest.in"
   4853     cp "conftest.in" "conftest.nl"
   4854     $as_echo 'FGREP' >> "conftest.nl"
   4855     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4856     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4857     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4858     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4859       # Best one so far, save it but keep looking for a better one
   4860       ac_cv_path_FGREP="$ac_path_FGREP"
   4861       ac_path_FGREP_max=$ac_count
   4862     fi
   4863     # 10*(2^10) chars as input seems more than enough
   4864     test $ac_count -gt 10 && break
   4865   done
   4866   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4867 esac
   4868 
   4869       $ac_path_FGREP_found && break 3
   4870     done
   4871   done
   4872   done
   4873 IFS=$as_save_IFS
   4874   if test -z "$ac_cv_path_FGREP"; then
   4875     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4876   fi
   4877 else
   4878   ac_cv_path_FGREP=$FGREP
   4879 fi
   4880 
   4881    fi
   4882 fi
   4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4884 $as_echo "$ac_cv_path_FGREP" >&6; }
   4885  FGREP="$ac_cv_path_FGREP"
   4886 
   4887 
   4888 test -z "$GREP" && GREP=grep
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 # Check whether --with-gnu-ld was given.
   4909 if test "${with_gnu_ld+set}" = set; then :
   4910   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4911 else
   4912   with_gnu_ld=no
   4913 fi
   4914 
   4915 ac_prog=ld
   4916 if test yes = "$GCC"; then
   4917   # Check if gcc -print-prog-name=ld gives a path.
   4918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4919 $as_echo_n "checking for ld used by $CC... " >&6; }
   4920   case $host in
   4921   *-*-mingw*)
   4922     # gcc leaves a trailing carriage return, which upsets mingw
   4923     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4924   *)
   4925     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4926   esac
   4927   case $ac_prog in
   4928     # Accept absolute paths.
   4929     [\\/]* | ?:[\\/]*)
   4930       re_direlt='/[^/][^/]*/\.\./'
   4931       # Canonicalize the pathname of ld
   4932       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4933       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4934 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4935       done
   4936       test -z "$LD" && LD=$ac_prog
   4937       ;;
   4938   "")
   4939     # If it fails, then pretend we aren't using GCC.
   4940     ac_prog=ld
   4941     ;;
   4942   *)
   4943     # If it is relative, then search for the first ld in PATH.
   4944     with_gnu_ld=unknown
   4945     ;;
   4946   esac
   4947 elif test yes = "$with_gnu_ld"; then
   4948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4949 $as_echo_n "checking for GNU ld... " >&6; }
   4950 else
   4951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4952 $as_echo_n "checking for non-GNU ld... " >&6; }
   4953 fi
   4954 if ${lt_cv_path_LD+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   if test -z "$LD"; then
   4958   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4959   for ac_dir in $PATH; do
   4960     IFS=$lt_save_ifs
   4961     test -z "$ac_dir" && ac_dir=.
   4962     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4963       lt_cv_path_LD=$ac_dir/$ac_prog
   4964       # Check to see if the program is GNU ld.  I'd rather use --version,
   4965       # but apparently some variants of GNU ld only accept -v.
   4966       # Break only if it was the GNU/non-GNU ld that we prefer.
   4967       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4968       *GNU* | *'with BFD'*)
   4969 	test no != "$with_gnu_ld" && break
   4970 	;;
   4971       *)
   4972 	test yes != "$with_gnu_ld" && break
   4973 	;;
   4974       esac
   4975     fi
   4976   done
   4977   IFS=$lt_save_ifs
   4978 else
   4979   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4980 fi
   4981 fi
   4982 
   4983 LD=$lt_cv_path_LD
   4984 if test -n "$LD"; then
   4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4986 $as_echo "$LD" >&6; }
   4987 else
   4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4989 $as_echo "no" >&6; }
   4990 fi
   4991 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4994 if ${lt_cv_prog_gnu_ld+:} false; then :
   4995   $as_echo_n "(cached) " >&6
   4996 else
   4997   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4998 case `$LD -v 2>&1 </dev/null` in
   4999 *GNU* | *'with BFD'*)
   5000   lt_cv_prog_gnu_ld=yes
   5001   ;;
   5002 *)
   5003   lt_cv_prog_gnu_ld=no
   5004   ;;
   5005 esac
   5006 fi
   5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5009 with_gnu_ld=$lt_cv_prog_gnu_ld
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5020 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5021 if ${lt_cv_path_NM+:} false; then :
   5022   $as_echo_n "(cached) " >&6
   5023 else
   5024   if test -n "$NM"; then
   5025   # Let the user override the test.
   5026   lt_cv_path_NM=$NM
   5027 else
   5028   lt_nm_to_check=${ac_tool_prefix}nm
   5029   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5030     lt_nm_to_check="$lt_nm_to_check nm"
   5031   fi
   5032   for lt_tmp_nm in $lt_nm_to_check; do
   5033     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5034     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5035       IFS=$lt_save_ifs
   5036       test -z "$ac_dir" && ac_dir=.
   5037       tmp_nm=$ac_dir/$lt_tmp_nm
   5038       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5039 	# Check to see if the nm accepts a BSD-compat flag.
   5040 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5041 	#   nm: unknown option "B" ignored
   5042 	# Tru64's nm complains that /dev/null is an invalid object file
   5043 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5044 	case $build_os in
   5045 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5046 	*) lt_bad_file=/dev/null ;;
   5047 	esac
   5048 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5049 	*$lt_bad_file* | *'Invalid file or object type'*)
   5050 	  lt_cv_path_NM="$tmp_nm -B"
   5051 	  break 2
   5052 	  ;;
   5053 	*)
   5054 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5055 	  */dev/null*)
   5056 	    lt_cv_path_NM="$tmp_nm -p"
   5057 	    break 2
   5058 	    ;;
   5059 	  *)
   5060 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5061 	    continue # so that we can try to find one that supports BSD flags
   5062 	    ;;
   5063 	  esac
   5064 	  ;;
   5065 	esac
   5066       fi
   5067     done
   5068     IFS=$lt_save_ifs
   5069   done
   5070   : ${lt_cv_path_NM=no}
   5071 fi
   5072 fi
   5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5074 $as_echo "$lt_cv_path_NM" >&6; }
   5075 if test no != "$lt_cv_path_NM"; then
   5076   NM=$lt_cv_path_NM
   5077 else
   5078   # Didn't find any BSD compatible name lister, look for dumpbin.
   5079   if test -n "$DUMPBIN"; then :
   5080     # Let the user override the test.
   5081   else
   5082     if test -n "$ac_tool_prefix"; then
   5083   for ac_prog in dumpbin "link -dump"
   5084   do
   5085     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5088 $as_echo_n "checking for $ac_word... " >&6; }
   5089 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5090   $as_echo_n "(cached) " >&6
   5091 else
   5092   if test -n "$DUMPBIN"; then
   5093   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5094 else
   5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5096 for as_dir in $PATH
   5097 do
   5098   IFS=$as_save_IFS
   5099   test -z "$as_dir" && as_dir=.
   5100     for ac_exec_ext in '' $ac_executable_extensions; do
   5101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5102     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5104     break 2
   5105   fi
   5106 done
   5107   done
   5108 IFS=$as_save_IFS
   5109 
   5110 fi
   5111 fi
   5112 DUMPBIN=$ac_cv_prog_DUMPBIN
   5113 if test -n "$DUMPBIN"; then
   5114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5115 $as_echo "$DUMPBIN" >&6; }
   5116 else
   5117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5118 $as_echo "no" >&6; }
   5119 fi
   5120 
   5121 
   5122     test -n "$DUMPBIN" && break
   5123   done
   5124 fi
   5125 if test -z "$DUMPBIN"; then
   5126   ac_ct_DUMPBIN=$DUMPBIN
   5127   for ac_prog in dumpbin "link -dump"
   5128 do
   5129   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5130 set dummy $ac_prog; ac_word=$2
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5132 $as_echo_n "checking for $ac_word... " >&6; }
   5133 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5134   $as_echo_n "(cached) " >&6
   5135 else
   5136   if test -n "$ac_ct_DUMPBIN"; then
   5137   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5138 else
   5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5140 for as_dir in $PATH
   5141 do
   5142   IFS=$as_save_IFS
   5143   test -z "$as_dir" && as_dir=.
   5144     for ac_exec_ext in '' $ac_executable_extensions; do
   5145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5146     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5148     break 2
   5149   fi
   5150 done
   5151   done
   5152 IFS=$as_save_IFS
   5153 
   5154 fi
   5155 fi
   5156 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5157 if test -n "$ac_ct_DUMPBIN"; then
   5158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5159 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5160 else
   5161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5162 $as_echo "no" >&6; }
   5163 fi
   5164 
   5165 
   5166   test -n "$ac_ct_DUMPBIN" && break
   5167 done
   5168 
   5169   if test "x$ac_ct_DUMPBIN" = x; then
   5170     DUMPBIN=":"
   5171   else
   5172     case $cross_compiling:$ac_tool_warned in
   5173 yes:)
   5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5176 ac_tool_warned=yes ;;
   5177 esac
   5178     DUMPBIN=$ac_ct_DUMPBIN
   5179   fi
   5180 fi
   5181 
   5182     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5183     *COFF*)
   5184       DUMPBIN="$DUMPBIN -symbols -headers"
   5185       ;;
   5186     *)
   5187       DUMPBIN=:
   5188       ;;
   5189     esac
   5190   fi
   5191 
   5192   if test : != "$DUMPBIN"; then
   5193     NM=$DUMPBIN
   5194   fi
   5195 fi
   5196 test -z "$NM" && NM=nm
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5204 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5205 if ${lt_cv_nm_interface+:} false; then :
   5206   $as_echo_n "(cached) " >&6
   5207 else
   5208   lt_cv_nm_interface="BSD nm"
   5209   echo "int some_variable = 0;" > conftest.$ac_ext
   5210   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5211   (eval "$ac_compile" 2>conftest.err)
   5212   cat conftest.err >&5
   5213   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5214   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5215   cat conftest.err >&5
   5216   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5217   cat conftest.out >&5
   5218   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5219     lt_cv_nm_interface="MS dumpbin"
   5220   fi
   5221   rm -f conftest*
   5222 fi
   5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5224 $as_echo "$lt_cv_nm_interface" >&6; }
   5225 
   5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5227 $as_echo_n "checking whether ln -s works... " >&6; }
   5228 LN_S=$as_ln_s
   5229 if test "$LN_S" = "ln -s"; then
   5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5231 $as_echo "yes" >&6; }
   5232 else
   5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5234 $as_echo "no, using $LN_S" >&6; }
   5235 fi
   5236 
   5237 # find the maximum length of command line arguments
   5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5239 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5240 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5241   $as_echo_n "(cached) " >&6
   5242 else
   5243     i=0
   5244   teststring=ABCD
   5245 
   5246   case $build_os in
   5247   msdosdjgpp*)
   5248     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5249     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5250     # during glob expansion).  Even if it were fixed, the result of this
   5251     # check would be larger than it should be.
   5252     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5253     ;;
   5254 
   5255   gnu*)
   5256     # Under GNU Hurd, this test is not required because there is
   5257     # no limit to the length of command line arguments.
   5258     # Libtool will interpret -1 as no limit whatsoever
   5259     lt_cv_sys_max_cmd_len=-1;
   5260     ;;
   5261 
   5262   cygwin* | mingw* | cegcc*)
   5263     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5264     # about 5 minutes as the teststring grows exponentially.
   5265     # Worse, since 9x/ME are not pre-emptively multitasking,
   5266     # you end up with a "frozen" computer, even though with patience
   5267     # the test eventually succeeds (with a max line length of 256k).
   5268     # Instead, let's just punt: use the minimum linelength reported by
   5269     # all of the supported platforms: 8192 (on NT/2K/XP).
   5270     lt_cv_sys_max_cmd_len=8192;
   5271     ;;
   5272 
   5273   mint*)
   5274     # On MiNT this can take a long time and run out of memory.
   5275     lt_cv_sys_max_cmd_len=8192;
   5276     ;;
   5277 
   5278   amigaos*)
   5279     # On AmigaOS with pdksh, this test takes hours, literally.
   5280     # So we just punt and use a minimum line length of 8192.
   5281     lt_cv_sys_max_cmd_len=8192;
   5282     ;;
   5283 
   5284   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5285     # This has been around since 386BSD, at least.  Likely further.
   5286     if test -x /sbin/sysctl; then
   5287       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5288     elif test -x /usr/sbin/sysctl; then
   5289       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5290     else
   5291       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5292     fi
   5293     # And add a safety zone
   5294     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5295     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5296     ;;
   5297 
   5298   interix*)
   5299     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5300     lt_cv_sys_max_cmd_len=196608
   5301     ;;
   5302 
   5303   os2*)
   5304     # The test takes a long time on OS/2.
   5305     lt_cv_sys_max_cmd_len=8192
   5306     ;;
   5307 
   5308   osf*)
   5309     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5310     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5311     # nice to cause kernel panics so lets avoid the loop below.
   5312     # First set a reasonable default.
   5313     lt_cv_sys_max_cmd_len=16384
   5314     #
   5315     if test -x /sbin/sysconfig; then
   5316       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5317         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5318       esac
   5319     fi
   5320     ;;
   5321   sco3.2v5*)
   5322     lt_cv_sys_max_cmd_len=102400
   5323     ;;
   5324   sysv5* | sco5v6* | sysv4.2uw2*)
   5325     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5326     if test -n "$kargmax"; then
   5327       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5328     else
   5329       lt_cv_sys_max_cmd_len=32768
   5330     fi
   5331     ;;
   5332   *)
   5333     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5334     if test -n "$lt_cv_sys_max_cmd_len" && \
   5335        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5336       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5337       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5338     else
   5339       # Make teststring a little bigger before we do anything with it.
   5340       # a 1K string should be a reasonable start.
   5341       for i in 1 2 3 4 5 6 7 8; do
   5342         teststring=$teststring$teststring
   5343       done
   5344       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5345       # If test is not a shell built-in, we'll probably end up computing a
   5346       # maximum length that is only half of the actual maximum length, but
   5347       # we can't tell.
   5348       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5349 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5350 	      test 17 != "$i" # 1/2 MB should be enough
   5351       do
   5352         i=`expr $i + 1`
   5353         teststring=$teststring$teststring
   5354       done
   5355       # Only check the string length outside the loop.
   5356       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5357       teststring=
   5358       # Add a significant safety factor because C++ compilers can tack on
   5359       # massive amounts of additional arguments before passing them to the
   5360       # linker.  It appears as though 1/2 is a usable value.
   5361       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5362     fi
   5363     ;;
   5364   esac
   5365 
   5366 fi
   5367 
   5368 if test -n "$lt_cv_sys_max_cmd_len"; then
   5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5370 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5371 else
   5372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5373 $as_echo "none" >&6; }
   5374 fi
   5375 max_cmd_len=$lt_cv_sys_max_cmd_len
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 : ${CP="cp -f"}
   5383 : ${MV="mv -f"}
   5384 : ${RM="rm -f"}
   5385 
   5386 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5387   lt_unset=unset
   5388 else
   5389   lt_unset=false
   5390 fi
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 # test EBCDIC or ASCII
   5397 case `echo X|tr X '\101'` in
   5398  A) # ASCII based system
   5399     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5400   lt_SP2NL='tr \040 \012'
   5401   lt_NL2SP='tr \015\012 \040\040'
   5402   ;;
   5403  *) # EBCDIC based system
   5404   lt_SP2NL='tr \100 \n'
   5405   lt_NL2SP='tr \r\n \100\100'
   5406   ;;
   5407 esac
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5418 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5419 if ${lt_cv_to_host_file_cmd+:} false; then :
   5420   $as_echo_n "(cached) " >&6
   5421 else
   5422   case $host in
   5423   *-*-mingw* )
   5424     case $build in
   5425       *-*-mingw* ) # actually msys
   5426         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5427         ;;
   5428       *-*-cygwin* )
   5429         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5430         ;;
   5431       * ) # otherwise, assume *nix
   5432         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5433         ;;
   5434     esac
   5435     ;;
   5436   *-*-cygwin* )
   5437     case $build in
   5438       *-*-mingw* ) # actually msys
   5439         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5440         ;;
   5441       *-*-cygwin* )
   5442         lt_cv_to_host_file_cmd=func_convert_file_noop
   5443         ;;
   5444       * ) # otherwise, assume *nix
   5445         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5446         ;;
   5447     esac
   5448     ;;
   5449   * ) # unhandled hosts (and "normal" native builds)
   5450     lt_cv_to_host_file_cmd=func_convert_file_noop
   5451     ;;
   5452 esac
   5453 
   5454 fi
   5455 
   5456 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5458 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5465 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5466 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5467   $as_echo_n "(cached) " >&6
   5468 else
   5469   #assume ordinary cross tools, or native build.
   5470 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5471 case $host in
   5472   *-*-mingw* )
   5473     case $build in
   5474       *-*-mingw* ) # actually msys
   5475         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5476         ;;
   5477     esac
   5478     ;;
   5479 esac
   5480 
   5481 fi
   5482 
   5483 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5485 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5492 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5493 if ${lt_cv_ld_reload_flag+:} false; then :
   5494   $as_echo_n "(cached) " >&6
   5495 else
   5496   lt_cv_ld_reload_flag='-r'
   5497 fi
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5499 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5500 reload_flag=$lt_cv_ld_reload_flag
   5501 case $reload_flag in
   5502 "" | " "*) ;;
   5503 *) reload_flag=" $reload_flag" ;;
   5504 esac
   5505 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5506 case $host_os in
   5507   cygwin* | mingw* | pw32* | cegcc*)
   5508     if test yes != "$GCC"; then
   5509       reload_cmds=false
   5510     fi
   5511     ;;
   5512   darwin*)
   5513     if test yes = "$GCC"; then
   5514       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5515     else
   5516       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5517     fi
   5518     ;;
   5519 esac
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 if test -n "$ac_tool_prefix"; then
   5530   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5531 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5533 $as_echo_n "checking for $ac_word... " >&6; }
   5534 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   if test -n "$OBJDUMP"; then
   5538   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5539 else
   5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5541 for as_dir in $PATH
   5542 do
   5543   IFS=$as_save_IFS
   5544   test -z "$as_dir" && as_dir=.
   5545     for ac_exec_ext in '' $ac_executable_extensions; do
   5546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5547     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5549     break 2
   5550   fi
   5551 done
   5552   done
   5553 IFS=$as_save_IFS
   5554 
   5555 fi
   5556 fi
   5557 OBJDUMP=$ac_cv_prog_OBJDUMP
   5558 if test -n "$OBJDUMP"; then
   5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5560 $as_echo "$OBJDUMP" >&6; }
   5561 else
   5562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5563 $as_echo "no" >&6; }
   5564 fi
   5565 
   5566 
   5567 fi
   5568 if test -z "$ac_cv_prog_OBJDUMP"; then
   5569   ac_ct_OBJDUMP=$OBJDUMP
   5570   # Extract the first word of "objdump", so it can be a program name with args.
   5571 set dummy objdump; ac_word=$2
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5573 $as_echo_n "checking for $ac_word... " >&6; }
   5574 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   if test -n "$ac_ct_OBJDUMP"; then
   5578   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5579 else
   5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5581 for as_dir in $PATH
   5582 do
   5583   IFS=$as_save_IFS
   5584   test -z "$as_dir" && as_dir=.
   5585     for ac_exec_ext in '' $ac_executable_extensions; do
   5586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5587     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5589     break 2
   5590   fi
   5591 done
   5592   done
   5593 IFS=$as_save_IFS
   5594 
   5595 fi
   5596 fi
   5597 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5598 if test -n "$ac_ct_OBJDUMP"; then
   5599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5600 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5601 else
   5602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5603 $as_echo "no" >&6; }
   5604 fi
   5605 
   5606   if test "x$ac_ct_OBJDUMP" = x; then
   5607     OBJDUMP="false"
   5608   else
   5609     case $cross_compiling:$ac_tool_warned in
   5610 yes:)
   5611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5613 ac_tool_warned=yes ;;
   5614 esac
   5615     OBJDUMP=$ac_ct_OBJDUMP
   5616   fi
   5617 else
   5618   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5619 fi
   5620 
   5621 test -z "$OBJDUMP" && OBJDUMP=objdump
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5632 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5633 if ${lt_cv_deplibs_check_method+:} false; then :
   5634   $as_echo_n "(cached) " >&6
   5635 else
   5636   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5637 lt_cv_file_magic_test_file=
   5638 lt_cv_deplibs_check_method='unknown'
   5639 # Need to set the preceding variable on all platforms that support
   5640 # interlibrary dependencies.
   5641 # 'none' -- dependencies not supported.
   5642 # 'unknown' -- same as none, but documents that we really don't know.
   5643 # 'pass_all' -- all dependencies passed with no checks.
   5644 # 'test_compile' -- check by making test program.
   5645 # 'file_magic [[regex]]' -- check by looking for files in library path
   5646 # that responds to the $file_magic_cmd with a given extended regex.
   5647 # If you have 'file' or equivalent on your system and you're not sure
   5648 # whether 'pass_all' will *always* work, you probably want this one.
   5649 
   5650 case $host_os in
   5651 aix[4-9]*)
   5652   lt_cv_deplibs_check_method=pass_all
   5653   ;;
   5654 
   5655 beos*)
   5656   lt_cv_deplibs_check_method=pass_all
   5657   ;;
   5658 
   5659 bsdi[45]*)
   5660   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5661   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5662   lt_cv_file_magic_test_file=/shlib/libc.so
   5663   ;;
   5664 
   5665 cygwin*)
   5666   # func_win32_libid is a shell function defined in ltmain.sh
   5667   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5668   lt_cv_file_magic_cmd='func_win32_libid'
   5669   ;;
   5670 
   5671 mingw* | pw32*)
   5672   # Base MSYS/MinGW do not provide the 'file' command needed by
   5673   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5674   # unless we find 'file', for example because we are cross-compiling.
   5675   if ( file / ) >/dev/null 2>&1; then
   5676     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5677     lt_cv_file_magic_cmd='func_win32_libid'
   5678   else
   5679     # Keep this pattern in sync with the one in func_win32_libid.
   5680     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5681     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5682   fi
   5683   ;;
   5684 
   5685 cegcc*)
   5686   # use the weaker test based on 'objdump'. See mingw*.
   5687   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5688   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5689   ;;
   5690 
   5691 darwin* | rhapsody*)
   5692   lt_cv_deplibs_check_method=pass_all
   5693   ;;
   5694 
   5695 freebsd* | dragonfly*)
   5696   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5697     case $host_cpu in
   5698     i*86 )
   5699       # Not sure whether the presence of OpenBSD here was a mistake.
   5700       # Let's accept both of them until this is cleared up.
   5701       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5702       lt_cv_file_magic_cmd=/usr/bin/file
   5703       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5704       ;;
   5705     esac
   5706   else
   5707     lt_cv_deplibs_check_method=pass_all
   5708   fi
   5709   ;;
   5710 
   5711 haiku*)
   5712   lt_cv_deplibs_check_method=pass_all
   5713   ;;
   5714 
   5715 hpux10.20* | hpux11*)
   5716   lt_cv_file_magic_cmd=/usr/bin/file
   5717   case $host_cpu in
   5718   ia64*)
   5719     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5720     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5721     ;;
   5722   hppa*64*)
   5723     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   5724     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5725     ;;
   5726   *)
   5727     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5728     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5729     ;;
   5730   esac
   5731   ;;
   5732 
   5733 interix[3-9]*)
   5734   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5735   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5736   ;;
   5737 
   5738 irix5* | irix6* | nonstopux*)
   5739   case $LD in
   5740   *-32|*"-32 ") libmagic=32-bit;;
   5741   *-n32|*"-n32 ") libmagic=N32;;
   5742   *-64|*"-64 ") libmagic=64-bit;;
   5743   *) libmagic=never-match;;
   5744   esac
   5745   lt_cv_deplibs_check_method=pass_all
   5746   ;;
   5747 
   5748 # This must be glibc/ELF.
   5749 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5750   lt_cv_deplibs_check_method=pass_all
   5751   ;;
   5752 
   5753 netbsd*)
   5754   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5755     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5756   else
   5757     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5758   fi
   5759   ;;
   5760 
   5761 newos6*)
   5762   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5763   lt_cv_file_magic_cmd=/usr/bin/file
   5764   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5765   ;;
   5766 
   5767 *nto* | *qnx*)
   5768   lt_cv_deplibs_check_method=pass_all
   5769   ;;
   5770 
   5771 openbsd* | bitrig*)
   5772   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5773     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5774   else
   5775     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5776   fi
   5777   ;;
   5778 
   5779 osf3* | osf4* | osf5*)
   5780   lt_cv_deplibs_check_method=pass_all
   5781   ;;
   5782 
   5783 rdos*)
   5784   lt_cv_deplibs_check_method=pass_all
   5785   ;;
   5786 
   5787 solaris*)
   5788   lt_cv_deplibs_check_method=pass_all
   5789   ;;
   5790 
   5791 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5792   lt_cv_deplibs_check_method=pass_all
   5793   ;;
   5794 
   5795 sysv4 | sysv4.3*)
   5796   case $host_vendor in
   5797   motorola)
   5798     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]'
   5799     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5800     ;;
   5801   ncr)
   5802     lt_cv_deplibs_check_method=pass_all
   5803     ;;
   5804   sequent)
   5805     lt_cv_file_magic_cmd='/bin/file'
   5806     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5807     ;;
   5808   sni)
   5809     lt_cv_file_magic_cmd='/bin/file'
   5810     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5811     lt_cv_file_magic_test_file=/lib/libc.so
   5812     ;;
   5813   siemens)
   5814     lt_cv_deplibs_check_method=pass_all
   5815     ;;
   5816   pc)
   5817     lt_cv_deplibs_check_method=pass_all
   5818     ;;
   5819   esac
   5820   ;;
   5821 
   5822 tpf*)
   5823   lt_cv_deplibs_check_method=pass_all
   5824   ;;
   5825 os2*)
   5826   lt_cv_deplibs_check_method=pass_all
   5827   ;;
   5828 esac
   5829 
   5830 fi
   5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5832 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5833 
   5834 file_magic_glob=
   5835 want_nocaseglob=no
   5836 if test "$build" = "$host"; then
   5837   case $host_os in
   5838   mingw* | pw32*)
   5839     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5840       want_nocaseglob=yes
   5841     else
   5842       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5843     fi
   5844     ;;
   5845   esac
   5846 fi
   5847 
   5848 file_magic_cmd=$lt_cv_file_magic_cmd
   5849 deplibs_check_method=$lt_cv_deplibs_check_method
   5850 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 if test -n "$ac_tool_prefix"; then
   5874   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5875 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5877 $as_echo_n "checking for $ac_word... " >&6; }
   5878 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5879   $as_echo_n "(cached) " >&6
   5880 else
   5881   if test -n "$DLLTOOL"; then
   5882   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5883 else
   5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5885 for as_dir in $PATH
   5886 do
   5887   IFS=$as_save_IFS
   5888   test -z "$as_dir" && as_dir=.
   5889     for ac_exec_ext in '' $ac_executable_extensions; do
   5890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5891     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5893     break 2
   5894   fi
   5895 done
   5896   done
   5897 IFS=$as_save_IFS
   5898 
   5899 fi
   5900 fi
   5901 DLLTOOL=$ac_cv_prog_DLLTOOL
   5902 if test -n "$DLLTOOL"; then
   5903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5904 $as_echo "$DLLTOOL" >&6; }
   5905 else
   5906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5907 $as_echo "no" >&6; }
   5908 fi
   5909 
   5910 
   5911 fi
   5912 if test -z "$ac_cv_prog_DLLTOOL"; then
   5913   ac_ct_DLLTOOL=$DLLTOOL
   5914   # Extract the first word of "dlltool", so it can be a program name with args.
   5915 set dummy dlltool; ac_word=$2
   5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5917 $as_echo_n "checking for $ac_word... " >&6; }
   5918 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   if test -n "$ac_ct_DLLTOOL"; then
   5922   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5923 else
   5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5925 for as_dir in $PATH
   5926 do
   5927   IFS=$as_save_IFS
   5928   test -z "$as_dir" && as_dir=.
   5929     for ac_exec_ext in '' $ac_executable_extensions; do
   5930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5931     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5933     break 2
   5934   fi
   5935 done
   5936   done
   5937 IFS=$as_save_IFS
   5938 
   5939 fi
   5940 fi
   5941 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5942 if test -n "$ac_ct_DLLTOOL"; then
   5943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5944 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5945 else
   5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5947 $as_echo "no" >&6; }
   5948 fi
   5949 
   5950   if test "x$ac_ct_DLLTOOL" = x; then
   5951     DLLTOOL="false"
   5952   else
   5953     case $cross_compiling:$ac_tool_warned in
   5954 yes:)
   5955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5957 ac_tool_warned=yes ;;
   5958 esac
   5959     DLLTOOL=$ac_ct_DLLTOOL
   5960   fi
   5961 else
   5962   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5963 fi
   5964 
   5965 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5977 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5978 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5979   $as_echo_n "(cached) " >&6
   5980 else
   5981   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5982 
   5983 case $host_os in
   5984 cygwin* | mingw* | pw32* | cegcc*)
   5985   # two different shell functions defined in ltmain.sh;
   5986   # decide which one to use based on capabilities of $DLLTOOL
   5987   case `$DLLTOOL --help 2>&1` in
   5988   *--identify-strict*)
   5989     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5990     ;;
   5991   *)
   5992     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5993     ;;
   5994   esac
   5995   ;;
   5996 *)
   5997   # fallback: assume linklib IS sharedlib
   5998   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5999   ;;
   6000 esac
   6001 
   6002 fi
   6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6004 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6005 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6006 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 if test -n "$ac_tool_prefix"; then
   6015   for ac_prog in ar
   6016   do
   6017     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6020 $as_echo_n "checking for $ac_word... " >&6; }
   6021 if ${ac_cv_prog_AR+:} false; then :
   6022   $as_echo_n "(cached) " >&6
   6023 else
   6024   if test -n "$AR"; then
   6025   ac_cv_prog_AR="$AR" # Let the user override the test.
   6026 else
   6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6028 for as_dir in $PATH
   6029 do
   6030   IFS=$as_save_IFS
   6031   test -z "$as_dir" && as_dir=.
   6032     for ac_exec_ext in '' $ac_executable_extensions; do
   6033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6034     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6036     break 2
   6037   fi
   6038 done
   6039   done
   6040 IFS=$as_save_IFS
   6041 
   6042 fi
   6043 fi
   6044 AR=$ac_cv_prog_AR
   6045 if test -n "$AR"; then
   6046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6047 $as_echo "$AR" >&6; }
   6048 else
   6049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6050 $as_echo "no" >&6; }
   6051 fi
   6052 
   6053 
   6054     test -n "$AR" && break
   6055   done
   6056 fi
   6057 if test -z "$AR"; then
   6058   ac_ct_AR=$AR
   6059   for ac_prog in ar
   6060 do
   6061   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6062 set dummy $ac_prog; ac_word=$2
   6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6064 $as_echo_n "checking for $ac_word... " >&6; }
   6065 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6066   $as_echo_n "(cached) " >&6
   6067 else
   6068   if test -n "$ac_ct_AR"; then
   6069   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6070 else
   6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6072 for as_dir in $PATH
   6073 do
   6074   IFS=$as_save_IFS
   6075   test -z "$as_dir" && as_dir=.
   6076     for ac_exec_ext in '' $ac_executable_extensions; do
   6077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6078     ac_cv_prog_ac_ct_AR="$ac_prog"
   6079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6080     break 2
   6081   fi
   6082 done
   6083   done
   6084 IFS=$as_save_IFS
   6085 
   6086 fi
   6087 fi
   6088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6089 if test -n "$ac_ct_AR"; then
   6090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6091 $as_echo "$ac_ct_AR" >&6; }
   6092 else
   6093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6094 $as_echo "no" >&6; }
   6095 fi
   6096 
   6097 
   6098   test -n "$ac_ct_AR" && break
   6099 done
   6100 
   6101   if test "x$ac_ct_AR" = x; then
   6102     AR="false"
   6103   else
   6104     case $cross_compiling:$ac_tool_warned in
   6105 yes:)
   6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6108 ac_tool_warned=yes ;;
   6109 esac
   6110     AR=$ac_ct_AR
   6111   fi
   6112 fi
   6113 
   6114 : ${AR=ar}
   6115 : ${AR_FLAGS=cru}
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6128 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6129 if ${lt_cv_ar_at_file+:} false; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   lt_cv_ar_at_file=no
   6133    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6134 /* end confdefs.h.  */
   6135 
   6136 int
   6137 main ()
   6138 {
   6139 
   6140   ;
   6141   return 0;
   6142 }
   6143 _ACEOF
   6144 if ac_fn_c_try_compile "$LINENO"; then :
   6145   echo conftest.$ac_objext > conftest.lst
   6146       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6147       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6148   (eval $lt_ar_try) 2>&5
   6149   ac_status=$?
   6150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6151   test $ac_status = 0; }
   6152       if test 0 -eq "$ac_status"; then
   6153 	# Ensure the archiver fails upon bogus file names.
   6154 	rm -f conftest.$ac_objext libconftest.a
   6155 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6156   (eval $lt_ar_try) 2>&5
   6157   ac_status=$?
   6158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6159   test $ac_status = 0; }
   6160 	if test 0 -ne "$ac_status"; then
   6161           lt_cv_ar_at_file=@
   6162         fi
   6163       fi
   6164       rm -f conftest.* libconftest.a
   6165 
   6166 fi
   6167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6168 
   6169 fi
   6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6171 $as_echo "$lt_cv_ar_at_file" >&6; }
   6172 
   6173 if test no = "$lt_cv_ar_at_file"; then
   6174   archiver_list_spec=
   6175 else
   6176   archiver_list_spec=$lt_cv_ar_at_file
   6177 fi
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 if test -n "$ac_tool_prefix"; then
   6186   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6187 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6189 $as_echo_n "checking for $ac_word... " >&6; }
   6190 if ${ac_cv_prog_STRIP+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   if test -n "$STRIP"; then
   6194   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6195 else
   6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6197 for as_dir in $PATH
   6198 do
   6199   IFS=$as_save_IFS
   6200   test -z "$as_dir" && as_dir=.
   6201     for ac_exec_ext in '' $ac_executable_extensions; do
   6202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6203     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6205     break 2
   6206   fi
   6207 done
   6208   done
   6209 IFS=$as_save_IFS
   6210 
   6211 fi
   6212 fi
   6213 STRIP=$ac_cv_prog_STRIP
   6214 if test -n "$STRIP"; then
   6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6216 $as_echo "$STRIP" >&6; }
   6217 else
   6218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6219 $as_echo "no" >&6; }
   6220 fi
   6221 
   6222 
   6223 fi
   6224 if test -z "$ac_cv_prog_STRIP"; then
   6225   ac_ct_STRIP=$STRIP
   6226   # Extract the first word of "strip", so it can be a program name with args.
   6227 set dummy strip; ac_word=$2
   6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6229 $as_echo_n "checking for $ac_word... " >&6; }
   6230 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6231   $as_echo_n "(cached) " >&6
   6232 else
   6233   if test -n "$ac_ct_STRIP"; then
   6234   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6235 else
   6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6237 for as_dir in $PATH
   6238 do
   6239   IFS=$as_save_IFS
   6240   test -z "$as_dir" && as_dir=.
   6241     for ac_exec_ext in '' $ac_executable_extensions; do
   6242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6243     ac_cv_prog_ac_ct_STRIP="strip"
   6244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6245     break 2
   6246   fi
   6247 done
   6248   done
   6249 IFS=$as_save_IFS
   6250 
   6251 fi
   6252 fi
   6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6254 if test -n "$ac_ct_STRIP"; then
   6255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6256 $as_echo "$ac_ct_STRIP" >&6; }
   6257 else
   6258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6259 $as_echo "no" >&6; }
   6260 fi
   6261 
   6262   if test "x$ac_ct_STRIP" = x; then
   6263     STRIP=":"
   6264   else
   6265     case $cross_compiling:$ac_tool_warned in
   6266 yes:)
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6269 ac_tool_warned=yes ;;
   6270 esac
   6271     STRIP=$ac_ct_STRIP
   6272   fi
   6273 else
   6274   STRIP="$ac_cv_prog_STRIP"
   6275 fi
   6276 
   6277 test -z "$STRIP" && STRIP=:
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 if test -n "$ac_tool_prefix"; then
   6285   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6288 $as_echo_n "checking for $ac_word... " >&6; }
   6289 if ${ac_cv_prog_RANLIB+:} false; then :
   6290   $as_echo_n "(cached) " >&6
   6291 else
   6292   if test -n "$RANLIB"; then
   6293   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6294 else
   6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6296 for as_dir in $PATH
   6297 do
   6298   IFS=$as_save_IFS
   6299   test -z "$as_dir" && as_dir=.
   6300     for ac_exec_ext in '' $ac_executable_extensions; do
   6301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6302     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6304     break 2
   6305   fi
   6306 done
   6307   done
   6308 IFS=$as_save_IFS
   6309 
   6310 fi
   6311 fi
   6312 RANLIB=$ac_cv_prog_RANLIB
   6313 if test -n "$RANLIB"; then
   6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6315 $as_echo "$RANLIB" >&6; }
   6316 else
   6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6318 $as_echo "no" >&6; }
   6319 fi
   6320 
   6321 
   6322 fi
   6323 if test -z "$ac_cv_prog_RANLIB"; then
   6324   ac_ct_RANLIB=$RANLIB
   6325   # Extract the first word of "ranlib", so it can be a program name with args.
   6326 set dummy ranlib; ac_word=$2
   6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6328 $as_echo_n "checking for $ac_word... " >&6; }
   6329 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   if test -n "$ac_ct_RANLIB"; then
   6333   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6334 else
   6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6336 for as_dir in $PATH
   6337 do
   6338   IFS=$as_save_IFS
   6339   test -z "$as_dir" && as_dir=.
   6340     for ac_exec_ext in '' $ac_executable_extensions; do
   6341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6342     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6344     break 2
   6345   fi
   6346 done
   6347   done
   6348 IFS=$as_save_IFS
   6349 
   6350 fi
   6351 fi
   6352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6353 if test -n "$ac_ct_RANLIB"; then
   6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6355 $as_echo "$ac_ct_RANLIB" >&6; }
   6356 else
   6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6358 $as_echo "no" >&6; }
   6359 fi
   6360 
   6361   if test "x$ac_ct_RANLIB" = x; then
   6362     RANLIB=":"
   6363   else
   6364     case $cross_compiling:$ac_tool_warned in
   6365 yes:)
   6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6368 ac_tool_warned=yes ;;
   6369 esac
   6370     RANLIB=$ac_ct_RANLIB
   6371   fi
   6372 else
   6373   RANLIB="$ac_cv_prog_RANLIB"
   6374 fi
   6375 
   6376 test -z "$RANLIB" && RANLIB=:
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 # Determine commands to create old-style static archives.
   6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6385 old_postinstall_cmds='chmod 644 $oldlib'
   6386 old_postuninstall_cmds=
   6387 
   6388 if test -n "$RANLIB"; then
   6389   case $host_os in
   6390   bitrig* | openbsd*)
   6391     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6392     ;;
   6393   *)
   6394     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6395     ;;
   6396   esac
   6397   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6398 fi
   6399 
   6400 case $host_os in
   6401   darwin*)
   6402     lock_old_archive_extraction=yes ;;
   6403   *)
   6404     lock_old_archive_extraction=no ;;
   6405 esac
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 # If no C compiler was specified, use CC.
   6446 LTCC=${LTCC-"$CC"}
   6447 
   6448 # If no C compiler flags were specified, use CFLAGS.
   6449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6450 
   6451 # Allow CC to be a program name with arguments.
   6452 compiler=$CC
   6453 
   6454 
   6455 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6457 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6458 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6459   $as_echo_n "(cached) " >&6
   6460 else
   6461 
   6462 # These are sane defaults that work on at least a few old systems.
   6463 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6464 
   6465 # Character class describing NM global symbol codes.
   6466 symcode='[BCDEGRST]'
   6467 
   6468 # Regexp to match symbols that can be accessed directly from C.
   6469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6470 
   6471 # Define system-specific variables.
   6472 case $host_os in
   6473 aix*)
   6474   symcode='[BCDT]'
   6475   ;;
   6476 cygwin* | mingw* | pw32* | cegcc*)
   6477   symcode='[ABCDGISTW]'
   6478   ;;
   6479 hpux*)
   6480   if test ia64 = "$host_cpu"; then
   6481     symcode='[ABCDEGRST]'
   6482   fi
   6483   ;;
   6484 irix* | nonstopux*)
   6485   symcode='[BCDEGRST]'
   6486   ;;
   6487 osf*)
   6488   symcode='[BCDEGQRST]'
   6489   ;;
   6490 solaris*)
   6491   symcode='[BDRT]'
   6492   ;;
   6493 sco3.2v5*)
   6494   symcode='[DT]'
   6495   ;;
   6496 sysv4.2uw2*)
   6497   symcode='[DT]'
   6498   ;;
   6499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6500   symcode='[ABDT]'
   6501   ;;
   6502 sysv4)
   6503   symcode='[DFNSTU]'
   6504   ;;
   6505 esac
   6506 
   6507 # If we're using GNU nm, then use its standard symbol codes.
   6508 case `$NM -V 2>&1` in
   6509 *GNU* | *'with BFD'*)
   6510   symcode='[ABCDGIRSTW]' ;;
   6511 esac
   6512 
   6513 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6514   # Gets list of data symbols to import.
   6515   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6516   # Adjust the below global symbol transforms to fixup imported variables.
   6517   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6518   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6519   lt_c_name_lib_hook="\
   6520   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6521   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6522 else
   6523   # Disable hooks by default.
   6524   lt_cv_sys_global_symbol_to_import=
   6525   lt_cdecl_hook=
   6526   lt_c_name_hook=
   6527   lt_c_name_lib_hook=
   6528 fi
   6529 
   6530 # Transform an extracted symbol line into a proper C declaration.
   6531 # Some systems (esp. on ia64) link data and code symbols differently,
   6532 # so use this general approach.
   6533 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6534 $lt_cdecl_hook\
   6535 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6536 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6537 
   6538 # Transform an extracted symbol line into symbol name and symbol address
   6539 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6540 $lt_c_name_hook\
   6541 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6542 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6543 
   6544 # Transform an extracted symbol line into symbol name with lib prefix and
   6545 # symbol address.
   6546 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6547 $lt_c_name_lib_hook\
   6548 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6549 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6550 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6551 
   6552 # Handle CRLF in mingw tool chain
   6553 opt_cr=
   6554 case $build_os in
   6555 mingw*)
   6556   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6557   ;;
   6558 esac
   6559 
   6560 # Try without a prefix underscore, then with it.
   6561 for ac_symprfx in "" "_"; do
   6562 
   6563   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6564   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6565 
   6566   # Write the raw and C identifiers.
   6567   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6568     # Fake it for dumpbin and say T for any non-static function,
   6569     # D for any global variable and I for any imported variable.
   6570     # Also find C++ and __fastcall symbols from MSVC++,
   6571     # which start with @ or ?.
   6572     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6573 "     {last_section=section; section=\$ 3};"\
   6574 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6575 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6576 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6577 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6578 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6579 "     \$ 0!~/External *\|/{next};"\
   6580 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6581 "     {if(hide[section]) next};"\
   6582 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6583 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6584 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6585 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6586 "     ' prfx=^$ac_symprfx"
   6587   else
   6588     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6589   fi
   6590   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6591 
   6592   # Check to see that the pipe works correctly.
   6593   pipe_works=no
   6594 
   6595   rm -f conftest*
   6596   cat > conftest.$ac_ext <<_LT_EOF
   6597 #ifdef __cplusplus
   6598 extern "C" {
   6599 #endif
   6600 char nm_test_var;
   6601 void nm_test_func(void);
   6602 void nm_test_func(void){}
   6603 #ifdef __cplusplus
   6604 }
   6605 #endif
   6606 int main(){nm_test_var='a';nm_test_func();return(0);}
   6607 _LT_EOF
   6608 
   6609   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6610   (eval $ac_compile) 2>&5
   6611   ac_status=$?
   6612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6613   test $ac_status = 0; }; then
   6614     # Now try to grab the symbols.
   6615     nlist=conftest.nm
   6616     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6617   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6618   ac_status=$?
   6619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6620   test $ac_status = 0; } && test -s "$nlist"; then
   6621       # Try sorting and uniquifying the output.
   6622       if sort "$nlist" | uniq > "$nlist"T; then
   6623 	mv -f "$nlist"T "$nlist"
   6624       else
   6625 	rm -f "$nlist"T
   6626       fi
   6627 
   6628       # Make sure that we snagged all the symbols we need.
   6629       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6630 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6631 	  cat <<_LT_EOF > conftest.$ac_ext
   6632 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6633 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6634 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6635    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6636 # define LT_DLSYM_CONST
   6637 #elif defined __osf__
   6638 /* This system does not cope well with relocations in const data.  */
   6639 # define LT_DLSYM_CONST
   6640 #else
   6641 # define LT_DLSYM_CONST const
   6642 #endif
   6643 
   6644 #ifdef __cplusplus
   6645 extern "C" {
   6646 #endif
   6647 
   6648 _LT_EOF
   6649 	  # Now generate the symbol file.
   6650 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6651 
   6652 	  cat <<_LT_EOF >> conftest.$ac_ext
   6653 
   6654 /* The mapping between symbol names and symbols.  */
   6655 LT_DLSYM_CONST struct {
   6656   const char *name;
   6657   void       *address;
   6658 }
   6659 lt__PROGRAM__LTX_preloaded_symbols[] =
   6660 {
   6661   { "@PROGRAM@", (void *) 0 },
   6662 _LT_EOF
   6663 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6664 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6665   {0, (void *) 0}
   6666 };
   6667 
   6668 /* This works around a problem in FreeBSD linker */
   6669 #ifdef FREEBSD_WORKAROUND
   6670 static const void *lt_preloaded_setup() {
   6671   return lt__PROGRAM__LTX_preloaded_symbols;
   6672 }
   6673 #endif
   6674 
   6675 #ifdef __cplusplus
   6676 }
   6677 #endif
   6678 _LT_EOF
   6679 	  # Now try linking the two files.
   6680 	  mv conftest.$ac_objext conftstm.$ac_objext
   6681 	  lt_globsym_save_LIBS=$LIBS
   6682 	  lt_globsym_save_CFLAGS=$CFLAGS
   6683 	  LIBS=conftstm.$ac_objext
   6684 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6685 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6686   (eval $ac_link) 2>&5
   6687   ac_status=$?
   6688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6689   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6690 	    pipe_works=yes
   6691 	  fi
   6692 	  LIBS=$lt_globsym_save_LIBS
   6693 	  CFLAGS=$lt_globsym_save_CFLAGS
   6694 	else
   6695 	  echo "cannot find nm_test_func in $nlist" >&5
   6696 	fi
   6697       else
   6698 	echo "cannot find nm_test_var in $nlist" >&5
   6699       fi
   6700     else
   6701       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6702     fi
   6703   else
   6704     echo "$progname: failed program was:" >&5
   6705     cat conftest.$ac_ext >&5
   6706   fi
   6707   rm -rf conftest* conftst*
   6708 
   6709   # Do not use the global_symbol_pipe unless it works.
   6710   if test yes = "$pipe_works"; then
   6711     break
   6712   else
   6713     lt_cv_sys_global_symbol_pipe=
   6714   fi
   6715 done
   6716 
   6717 fi
   6718 
   6719 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6720   lt_cv_sys_global_symbol_to_cdecl=
   6721 fi
   6722 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6724 $as_echo "failed" >&6; }
   6725 else
   6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6727 $as_echo "ok" >&6; }
   6728 fi
   6729 
   6730 # Response file support.
   6731 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6732   nm_file_list_spec='@'
   6733 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6734   nm_file_list_spec='@'
   6735 fi
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6774 $as_echo_n "checking for sysroot... " >&6; }
   6775 
   6776 # Check whether --with-sysroot was given.
   6777 if test "${with_sysroot+set}" = set; then :
   6778   withval=$with_sysroot;
   6779 else
   6780   with_sysroot=no
   6781 fi
   6782 
   6783 
   6784 lt_sysroot=
   6785 case $with_sysroot in #(
   6786  yes)
   6787    if test yes = "$GCC"; then
   6788      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6789    fi
   6790    ;; #(
   6791  /*)
   6792    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6793    ;; #(
   6794  no|'')
   6795    ;; #(
   6796  *)
   6797    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6798 $as_echo "$with_sysroot" >&6; }
   6799    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6800    ;;
   6801 esac
   6802 
   6803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6804 $as_echo "${lt_sysroot:-no}" >&6; }
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6811 $as_echo_n "checking for a working dd... " >&6; }
   6812 if ${ac_cv_path_lt_DD+:} false; then :
   6813   $as_echo_n "(cached) " >&6
   6814 else
   6815   printf 0123456789abcdef0123456789abcdef >conftest.i
   6816 cat conftest.i conftest.i >conftest2.i
   6817 : ${lt_DD:=$DD}
   6818 if test -z "$lt_DD"; then
   6819   ac_path_lt_DD_found=false
   6820   # Loop through the user's path and test for each of PROGNAME-LIST
   6821   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6822 for as_dir in $PATH
   6823 do
   6824   IFS=$as_save_IFS
   6825   test -z "$as_dir" && as_dir=.
   6826     for ac_prog in dd; do
   6827     for ac_exec_ext in '' $ac_executable_extensions; do
   6828       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6829       as_fn_executable_p "$ac_path_lt_DD" || continue
   6830 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6831   cmp -s conftest.i conftest.out \
   6832   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6833 fi
   6834       $ac_path_lt_DD_found && break 3
   6835     done
   6836   done
   6837   done
   6838 IFS=$as_save_IFS
   6839   if test -z "$ac_cv_path_lt_DD"; then
   6840     :
   6841   fi
   6842 else
   6843   ac_cv_path_lt_DD=$lt_DD
   6844 fi
   6845 
   6846 rm -f conftest.i conftest2.i conftest.out
   6847 fi
   6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6849 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6850 
   6851 
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6853 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6854 if ${lt_cv_truncate_bin+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857   printf 0123456789abcdef0123456789abcdef >conftest.i
   6858 cat conftest.i conftest.i >conftest2.i
   6859 lt_cv_truncate_bin=
   6860 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6861   cmp -s conftest.i conftest.out \
   6862   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6863 fi
   6864 rm -f conftest.i conftest2.i conftest.out
   6865 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6866 fi
   6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6868 $as_echo "$lt_cv_truncate_bin" >&6; }
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6877 func_cc_basename ()
   6878 {
   6879     for cc_temp in $*""; do
   6880       case $cc_temp in
   6881         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6882         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6883         \-*) ;;
   6884         *) break;;
   6885       esac
   6886     done
   6887     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6888 }
   6889 
   6890 # Check whether --enable-libtool-lock was given.
   6891 if test "${enable_libtool_lock+set}" = set; then :
   6892   enableval=$enable_libtool_lock;
   6893 fi
   6894 
   6895 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6896 
   6897 # Some flags need to be propagated to the compiler or linker for good
   6898 # libtool support.
   6899 case $host in
   6900 ia64-*-hpux*)
   6901   # Find out what ABI is being produced by ac_compile, and set mode
   6902   # options accordingly.
   6903   echo 'int i;' > conftest.$ac_ext
   6904   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6905   (eval $ac_compile) 2>&5
   6906   ac_status=$?
   6907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6908   test $ac_status = 0; }; then
   6909     case `/usr/bin/file conftest.$ac_objext` in
   6910       *ELF-32*)
   6911 	HPUX_IA64_MODE=32
   6912 	;;
   6913       *ELF-64*)
   6914 	HPUX_IA64_MODE=64
   6915 	;;
   6916     esac
   6917   fi
   6918   rm -rf conftest*
   6919   ;;
   6920 *-*-irix6*)
   6921   # Find out what ABI is being produced by ac_compile, and set linker
   6922   # options accordingly.
   6923   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6924   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6925   (eval $ac_compile) 2>&5
   6926   ac_status=$?
   6927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6928   test $ac_status = 0; }; then
   6929     if test yes = "$lt_cv_prog_gnu_ld"; then
   6930       case `/usr/bin/file conftest.$ac_objext` in
   6931 	*32-bit*)
   6932 	  LD="${LD-ld} -melf32bsmip"
   6933 	  ;;
   6934 	*N32*)
   6935 	  LD="${LD-ld} -melf32bmipn32"
   6936 	  ;;
   6937 	*64-bit*)
   6938 	  LD="${LD-ld} -melf64bmip"
   6939 	;;
   6940       esac
   6941     else
   6942       case `/usr/bin/file conftest.$ac_objext` in
   6943 	*32-bit*)
   6944 	  LD="${LD-ld} -32"
   6945 	  ;;
   6946 	*N32*)
   6947 	  LD="${LD-ld} -n32"
   6948 	  ;;
   6949 	*64-bit*)
   6950 	  LD="${LD-ld} -64"
   6951 	  ;;
   6952       esac
   6953     fi
   6954   fi
   6955   rm -rf conftest*
   6956   ;;
   6957 
   6958 mips64*-*linux*)
   6959   # Find out what ABI is being produced by ac_compile, and set linker
   6960   # options accordingly.
   6961   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6962   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6963   (eval $ac_compile) 2>&5
   6964   ac_status=$?
   6965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6966   test $ac_status = 0; }; then
   6967     emul=elf
   6968     case `/usr/bin/file conftest.$ac_objext` in
   6969       *32-bit*)
   6970 	emul="${emul}32"
   6971 	;;
   6972       *64-bit*)
   6973 	emul="${emul}64"
   6974 	;;
   6975     esac
   6976     case `/usr/bin/file conftest.$ac_objext` in
   6977       *MSB*)
   6978 	emul="${emul}btsmip"
   6979 	;;
   6980       *LSB*)
   6981 	emul="${emul}ltsmip"
   6982 	;;
   6983     esac
   6984     case `/usr/bin/file conftest.$ac_objext` in
   6985       *N32*)
   6986 	emul="${emul}n32"
   6987 	;;
   6988     esac
   6989     LD="${LD-ld} -m $emul"
   6990   fi
   6991   rm -rf conftest*
   6992   ;;
   6993 
   6994 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6995 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6996   # Find out what ABI is being produced by ac_compile, and set linker
   6997   # options accordingly.  Note that the listed cases only cover the
   6998   # situations where additional linker options are needed (such as when
   6999   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7000   # vice versa); the common cases where no linker options are needed do
   7001   # not appear in the list.
   7002   echo 'int i;' > conftest.$ac_ext
   7003   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7004   (eval $ac_compile) 2>&5
   7005   ac_status=$?
   7006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7007   test $ac_status = 0; }; then
   7008     case `/usr/bin/file conftest.o` in
   7009       *32-bit*)
   7010 	case $host in
   7011 	  x86_64-*kfreebsd*-gnu)
   7012 	    LD="${LD-ld} -m elf_i386_fbsd"
   7013 	    ;;
   7014 	  x86_64-*linux*)
   7015 	    case `/usr/bin/file conftest.o` in
   7016 	      *x86-64*)
   7017 		LD="${LD-ld} -m elf32_x86_64"
   7018 		;;
   7019 	      *)
   7020 		LD="${LD-ld} -m elf_i386"
   7021 		;;
   7022 	    esac
   7023 	    ;;
   7024 	  powerpc64le-*linux*)
   7025 	    LD="${LD-ld} -m elf32lppclinux"
   7026 	    ;;
   7027 	  powerpc64-*linux*)
   7028 	    LD="${LD-ld} -m elf32ppclinux"
   7029 	    ;;
   7030 	  s390x-*linux*)
   7031 	    LD="${LD-ld} -m elf_s390"
   7032 	    ;;
   7033 	  sparc64-*linux*)
   7034 	    LD="${LD-ld} -m elf32_sparc"
   7035 	    ;;
   7036 	esac
   7037 	;;
   7038       *64-bit*)
   7039 	case $host in
   7040 	  x86_64-*kfreebsd*-gnu)
   7041 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7042 	    ;;
   7043 	  x86_64-*linux*)
   7044 	    LD="${LD-ld} -m elf_x86_64"
   7045 	    ;;
   7046 	  powerpcle-*linux*)
   7047 	    LD="${LD-ld} -m elf64lppc"
   7048 	    ;;
   7049 	  powerpc-*linux*)
   7050 	    LD="${LD-ld} -m elf64ppc"
   7051 	    ;;
   7052 	  s390*-*linux*|s390*-*tpf*)
   7053 	    LD="${LD-ld} -m elf64_s390"
   7054 	    ;;
   7055 	  sparc*-*linux*)
   7056 	    LD="${LD-ld} -m elf64_sparc"
   7057 	    ;;
   7058 	esac
   7059 	;;
   7060     esac
   7061   fi
   7062   rm -rf conftest*
   7063   ;;
   7064 
   7065 *-*-sco3.2v5*)
   7066   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7067   SAVE_CFLAGS=$CFLAGS
   7068   CFLAGS="$CFLAGS -belf"
   7069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7070 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7071 if ${lt_cv_cc_needs_belf+:} false; then :
   7072   $as_echo_n "(cached) " >&6
   7073 else
   7074   ac_ext=c
   7075 ac_cpp='$CPP $CPPFLAGS'
   7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7079 
   7080      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7081 /* end confdefs.h.  */
   7082 
   7083 int
   7084 main ()
   7085 {
   7086 
   7087   ;
   7088   return 0;
   7089 }
   7090 _ACEOF
   7091 if ac_fn_c_try_link "$LINENO"; then :
   7092   lt_cv_cc_needs_belf=yes
   7093 else
   7094   lt_cv_cc_needs_belf=no
   7095 fi
   7096 rm -f core conftest.err conftest.$ac_objext \
   7097     conftest$ac_exeext conftest.$ac_ext
   7098      ac_ext=c
   7099 ac_cpp='$CPP $CPPFLAGS'
   7100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7103 
   7104 fi
   7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7106 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7107   if test yes != "$lt_cv_cc_needs_belf"; then
   7108     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7109     CFLAGS=$SAVE_CFLAGS
   7110   fi
   7111   ;;
   7112 *-*solaris*)
   7113   # Find out what ABI is being produced by ac_compile, and set linker
   7114   # options accordingly.
   7115   echo 'int i;' > conftest.$ac_ext
   7116   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7117   (eval $ac_compile) 2>&5
   7118   ac_status=$?
   7119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7120   test $ac_status = 0; }; then
   7121     case `/usr/bin/file conftest.o` in
   7122     *64-bit*)
   7123       case $lt_cv_prog_gnu_ld in
   7124       yes*)
   7125         case $host in
   7126         i?86-*-solaris*|x86_64-*-solaris*)
   7127           LD="${LD-ld} -m elf_x86_64"
   7128           ;;
   7129         sparc*-*-solaris*)
   7130           LD="${LD-ld} -m elf64_sparc"
   7131           ;;
   7132         esac
   7133         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7134         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7135           LD=${LD-ld}_sol2
   7136         fi
   7137         ;;
   7138       *)
   7139 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7140 	  LD="${LD-ld} -64"
   7141 	fi
   7142 	;;
   7143       esac
   7144       ;;
   7145     esac
   7146   fi
   7147   rm -rf conftest*
   7148   ;;
   7149 esac
   7150 
   7151 need_locks=$enable_libtool_lock
   7152 
   7153 if test -n "$ac_tool_prefix"; then
   7154   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7155 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7157 $as_echo_n "checking for $ac_word... " >&6; }
   7158 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7159   $as_echo_n "(cached) " >&6
   7160 else
   7161   if test -n "$MANIFEST_TOOL"; then
   7162   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7163 else
   7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7165 for as_dir in $PATH
   7166 do
   7167   IFS=$as_save_IFS
   7168   test -z "$as_dir" && as_dir=.
   7169     for ac_exec_ext in '' $ac_executable_extensions; do
   7170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7171     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7173     break 2
   7174   fi
   7175 done
   7176   done
   7177 IFS=$as_save_IFS
   7178 
   7179 fi
   7180 fi
   7181 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7182 if test -n "$MANIFEST_TOOL"; then
   7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7184 $as_echo "$MANIFEST_TOOL" >&6; }
   7185 else
   7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7187 $as_echo "no" >&6; }
   7188 fi
   7189 
   7190 
   7191 fi
   7192 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7193   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7194   # Extract the first word of "mt", so it can be a program name with args.
   7195 set dummy mt; ac_word=$2
   7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7197 $as_echo_n "checking for $ac_word... " >&6; }
   7198 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7202   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7203 else
   7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7205 for as_dir in $PATH
   7206 do
   7207   IFS=$as_save_IFS
   7208   test -z "$as_dir" && as_dir=.
   7209     for ac_exec_ext in '' $ac_executable_extensions; do
   7210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7211     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7213     break 2
   7214   fi
   7215 done
   7216   done
   7217 IFS=$as_save_IFS
   7218 
   7219 fi
   7220 fi
   7221 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7222 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7224 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7225 else
   7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7227 $as_echo "no" >&6; }
   7228 fi
   7229 
   7230   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7231     MANIFEST_TOOL=":"
   7232   else
   7233     case $cross_compiling:$ac_tool_warned in
   7234 yes:)
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7237 ac_tool_warned=yes ;;
   7238 esac
   7239     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7240   fi
   7241 else
   7242   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7243 fi
   7244 
   7245 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7247 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7248 if ${lt_cv_path_mainfest_tool+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   lt_cv_path_mainfest_tool=no
   7252   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7253   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7254   cat conftest.err >&5
   7255   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7256     lt_cv_path_mainfest_tool=yes
   7257   fi
   7258   rm -f conftest*
   7259 fi
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7261 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7262 if test yes != "$lt_cv_path_mainfest_tool"; then
   7263   MANIFEST_TOOL=:
   7264 fi
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271   case $host_os in
   7272     rhapsody* | darwin*)
   7273     if test -n "$ac_tool_prefix"; then
   7274   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7275 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7277 $as_echo_n "checking for $ac_word... " >&6; }
   7278 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7279   $as_echo_n "(cached) " >&6
   7280 else
   7281   if test -n "$DSYMUTIL"; then
   7282   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7283 else
   7284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7285 for as_dir in $PATH
   7286 do
   7287   IFS=$as_save_IFS
   7288   test -z "$as_dir" && as_dir=.
   7289     for ac_exec_ext in '' $ac_executable_extensions; do
   7290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7291     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7293     break 2
   7294   fi
   7295 done
   7296   done
   7297 IFS=$as_save_IFS
   7298 
   7299 fi
   7300 fi
   7301 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7302 if test -n "$DSYMUTIL"; then
   7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7304 $as_echo "$DSYMUTIL" >&6; }
   7305 else
   7306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7307 $as_echo "no" >&6; }
   7308 fi
   7309 
   7310 
   7311 fi
   7312 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7313   ac_ct_DSYMUTIL=$DSYMUTIL
   7314   # Extract the first word of "dsymutil", so it can be a program name with args.
   7315 set dummy dsymutil; ac_word=$2
   7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7317 $as_echo_n "checking for $ac_word... " >&6; }
   7318 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7319   $as_echo_n "(cached) " >&6
   7320 else
   7321   if test -n "$ac_ct_DSYMUTIL"; then
   7322   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7323 else
   7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7325 for as_dir in $PATH
   7326 do
   7327   IFS=$as_save_IFS
   7328   test -z "$as_dir" && as_dir=.
   7329     for ac_exec_ext in '' $ac_executable_extensions; do
   7330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7331     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7333     break 2
   7334   fi
   7335 done
   7336   done
   7337 IFS=$as_save_IFS
   7338 
   7339 fi
   7340 fi
   7341 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7342 if test -n "$ac_ct_DSYMUTIL"; then
   7343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7344 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7345 else
   7346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7347 $as_echo "no" >&6; }
   7348 fi
   7349 
   7350   if test "x$ac_ct_DSYMUTIL" = x; then
   7351     DSYMUTIL=":"
   7352   else
   7353     case $cross_compiling:$ac_tool_warned in
   7354 yes:)
   7355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7357 ac_tool_warned=yes ;;
   7358 esac
   7359     DSYMUTIL=$ac_ct_DSYMUTIL
   7360   fi
   7361 else
   7362   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7363 fi
   7364 
   7365     if test -n "$ac_tool_prefix"; then
   7366   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7367 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7369 $as_echo_n "checking for $ac_word... " >&6; }
   7370 if ${ac_cv_prog_NMEDIT+:} false; then :
   7371   $as_echo_n "(cached) " >&6
   7372 else
   7373   if test -n "$NMEDIT"; then
   7374   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7375 else
   7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7377 for as_dir in $PATH
   7378 do
   7379   IFS=$as_save_IFS
   7380   test -z "$as_dir" && as_dir=.
   7381     for ac_exec_ext in '' $ac_executable_extensions; do
   7382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7383     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7385     break 2
   7386   fi
   7387 done
   7388   done
   7389 IFS=$as_save_IFS
   7390 
   7391 fi
   7392 fi
   7393 NMEDIT=$ac_cv_prog_NMEDIT
   7394 if test -n "$NMEDIT"; then
   7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7396 $as_echo "$NMEDIT" >&6; }
   7397 else
   7398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7399 $as_echo "no" >&6; }
   7400 fi
   7401 
   7402 
   7403 fi
   7404 if test -z "$ac_cv_prog_NMEDIT"; then
   7405   ac_ct_NMEDIT=$NMEDIT
   7406   # Extract the first word of "nmedit", so it can be a program name with args.
   7407 set dummy nmedit; ac_word=$2
   7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7409 $as_echo_n "checking for $ac_word... " >&6; }
   7410 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7411   $as_echo_n "(cached) " >&6
   7412 else
   7413   if test -n "$ac_ct_NMEDIT"; then
   7414   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7415 else
   7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7417 for as_dir in $PATH
   7418 do
   7419   IFS=$as_save_IFS
   7420   test -z "$as_dir" && as_dir=.
   7421     for ac_exec_ext in '' $ac_executable_extensions; do
   7422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7423     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7425     break 2
   7426   fi
   7427 done
   7428   done
   7429 IFS=$as_save_IFS
   7430 
   7431 fi
   7432 fi
   7433 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7434 if test -n "$ac_ct_NMEDIT"; then
   7435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7436 $as_echo "$ac_ct_NMEDIT" >&6; }
   7437 else
   7438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7439 $as_echo "no" >&6; }
   7440 fi
   7441 
   7442   if test "x$ac_ct_NMEDIT" = x; then
   7443     NMEDIT=":"
   7444   else
   7445     case $cross_compiling:$ac_tool_warned in
   7446 yes:)
   7447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7449 ac_tool_warned=yes ;;
   7450 esac
   7451     NMEDIT=$ac_ct_NMEDIT
   7452   fi
   7453 else
   7454   NMEDIT="$ac_cv_prog_NMEDIT"
   7455 fi
   7456 
   7457     if test -n "$ac_tool_prefix"; then
   7458   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7459 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7461 $as_echo_n "checking for $ac_word... " >&6; }
   7462 if ${ac_cv_prog_LIPO+:} false; then :
   7463   $as_echo_n "(cached) " >&6
   7464 else
   7465   if test -n "$LIPO"; then
   7466   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7467 else
   7468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7469 for as_dir in $PATH
   7470 do
   7471   IFS=$as_save_IFS
   7472   test -z "$as_dir" && as_dir=.
   7473     for ac_exec_ext in '' $ac_executable_extensions; do
   7474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7475     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7477     break 2
   7478   fi
   7479 done
   7480   done
   7481 IFS=$as_save_IFS
   7482 
   7483 fi
   7484 fi
   7485 LIPO=$ac_cv_prog_LIPO
   7486 if test -n "$LIPO"; then
   7487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7488 $as_echo "$LIPO" >&6; }
   7489 else
   7490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7491 $as_echo "no" >&6; }
   7492 fi
   7493 
   7494 
   7495 fi
   7496 if test -z "$ac_cv_prog_LIPO"; then
   7497   ac_ct_LIPO=$LIPO
   7498   # Extract the first word of "lipo", so it can be a program name with args.
   7499 set dummy lipo; ac_word=$2
   7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7501 $as_echo_n "checking for $ac_word... " >&6; }
   7502 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7503   $as_echo_n "(cached) " >&6
   7504 else
   7505   if test -n "$ac_ct_LIPO"; then
   7506   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7507 else
   7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7509 for as_dir in $PATH
   7510 do
   7511   IFS=$as_save_IFS
   7512   test -z "$as_dir" && as_dir=.
   7513     for ac_exec_ext in '' $ac_executable_extensions; do
   7514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7515     ac_cv_prog_ac_ct_LIPO="lipo"
   7516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7517     break 2
   7518   fi
   7519 done
   7520   done
   7521 IFS=$as_save_IFS
   7522 
   7523 fi
   7524 fi
   7525 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7526 if test -n "$ac_ct_LIPO"; then
   7527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7528 $as_echo "$ac_ct_LIPO" >&6; }
   7529 else
   7530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7531 $as_echo "no" >&6; }
   7532 fi
   7533 
   7534   if test "x$ac_ct_LIPO" = x; then
   7535     LIPO=":"
   7536   else
   7537     case $cross_compiling:$ac_tool_warned in
   7538 yes:)
   7539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7541 ac_tool_warned=yes ;;
   7542 esac
   7543     LIPO=$ac_ct_LIPO
   7544   fi
   7545 else
   7546   LIPO="$ac_cv_prog_LIPO"
   7547 fi
   7548 
   7549     if test -n "$ac_tool_prefix"; then
   7550   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7551 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7553 $as_echo_n "checking for $ac_word... " >&6; }
   7554 if ${ac_cv_prog_OTOOL+:} false; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   if test -n "$OTOOL"; then
   7558   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7559 else
   7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7561 for as_dir in $PATH
   7562 do
   7563   IFS=$as_save_IFS
   7564   test -z "$as_dir" && as_dir=.
   7565     for ac_exec_ext in '' $ac_executable_extensions; do
   7566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7567     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7569     break 2
   7570   fi
   7571 done
   7572   done
   7573 IFS=$as_save_IFS
   7574 
   7575 fi
   7576 fi
   7577 OTOOL=$ac_cv_prog_OTOOL
   7578 if test -n "$OTOOL"; then
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7580 $as_echo "$OTOOL" >&6; }
   7581 else
   7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7583 $as_echo "no" >&6; }
   7584 fi
   7585 
   7586 
   7587 fi
   7588 if test -z "$ac_cv_prog_OTOOL"; then
   7589   ac_ct_OTOOL=$OTOOL
   7590   # Extract the first word of "otool", so it can be a program name with args.
   7591 set dummy otool; ac_word=$2
   7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7593 $as_echo_n "checking for $ac_word... " >&6; }
   7594 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7595   $as_echo_n "(cached) " >&6
   7596 else
   7597   if test -n "$ac_ct_OTOOL"; then
   7598   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7599 else
   7600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7601 for as_dir in $PATH
   7602 do
   7603   IFS=$as_save_IFS
   7604   test -z "$as_dir" && as_dir=.
   7605     for ac_exec_ext in '' $ac_executable_extensions; do
   7606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7607     ac_cv_prog_ac_ct_OTOOL="otool"
   7608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7609     break 2
   7610   fi
   7611 done
   7612   done
   7613 IFS=$as_save_IFS
   7614 
   7615 fi
   7616 fi
   7617 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7618 if test -n "$ac_ct_OTOOL"; then
   7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7620 $as_echo "$ac_ct_OTOOL" >&6; }
   7621 else
   7622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7623 $as_echo "no" >&6; }
   7624 fi
   7625 
   7626   if test "x$ac_ct_OTOOL" = x; then
   7627     OTOOL=":"
   7628   else
   7629     case $cross_compiling:$ac_tool_warned in
   7630 yes:)
   7631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7633 ac_tool_warned=yes ;;
   7634 esac
   7635     OTOOL=$ac_ct_OTOOL
   7636   fi
   7637 else
   7638   OTOOL="$ac_cv_prog_OTOOL"
   7639 fi
   7640 
   7641     if test -n "$ac_tool_prefix"; then
   7642   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7643 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7645 $as_echo_n "checking for $ac_word... " >&6; }
   7646 if ${ac_cv_prog_OTOOL64+:} false; then :
   7647   $as_echo_n "(cached) " >&6
   7648 else
   7649   if test -n "$OTOOL64"; then
   7650   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7651 else
   7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7653 for as_dir in $PATH
   7654 do
   7655   IFS=$as_save_IFS
   7656   test -z "$as_dir" && as_dir=.
   7657     for ac_exec_ext in '' $ac_executable_extensions; do
   7658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7659     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7661     break 2
   7662   fi
   7663 done
   7664   done
   7665 IFS=$as_save_IFS
   7666 
   7667 fi
   7668 fi
   7669 OTOOL64=$ac_cv_prog_OTOOL64
   7670 if test -n "$OTOOL64"; then
   7671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7672 $as_echo "$OTOOL64" >&6; }
   7673 else
   7674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7675 $as_echo "no" >&6; }
   7676 fi
   7677 
   7678 
   7679 fi
   7680 if test -z "$ac_cv_prog_OTOOL64"; then
   7681   ac_ct_OTOOL64=$OTOOL64
   7682   # Extract the first word of "otool64", so it can be a program name with args.
   7683 set dummy otool64; ac_word=$2
   7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7685 $as_echo_n "checking for $ac_word... " >&6; }
   7686 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7687   $as_echo_n "(cached) " >&6
   7688 else
   7689   if test -n "$ac_ct_OTOOL64"; then
   7690   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7691 else
   7692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7693 for as_dir in $PATH
   7694 do
   7695   IFS=$as_save_IFS
   7696   test -z "$as_dir" && as_dir=.
   7697     for ac_exec_ext in '' $ac_executable_extensions; do
   7698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7699     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7701     break 2
   7702   fi
   7703 done
   7704   done
   7705 IFS=$as_save_IFS
   7706 
   7707 fi
   7708 fi
   7709 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7710 if test -n "$ac_ct_OTOOL64"; then
   7711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7712 $as_echo "$ac_ct_OTOOL64" >&6; }
   7713 else
   7714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7715 $as_echo "no" >&6; }
   7716 fi
   7717 
   7718   if test "x$ac_ct_OTOOL64" = x; then
   7719     OTOOL64=":"
   7720   else
   7721     case $cross_compiling:$ac_tool_warned in
   7722 yes:)
   7723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7725 ac_tool_warned=yes ;;
   7726 esac
   7727     OTOOL64=$ac_ct_OTOOL64
   7728   fi
   7729 else
   7730   OTOOL64="$ac_cv_prog_OTOOL64"
   7731 fi
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7760 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7761 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7762   $as_echo_n "(cached) " >&6
   7763 else
   7764   lt_cv_apple_cc_single_mod=no
   7765       if test -z "$LT_MULTI_MODULE"; then
   7766 	# By default we will add the -single_module flag. You can override
   7767 	# by either setting the environment variable LT_MULTI_MODULE
   7768 	# non-empty at configure time, or by adding -multi_module to the
   7769 	# link flags.
   7770 	rm -rf libconftest.dylib*
   7771 	echo "int foo(void){return 1;}" > conftest.c
   7772 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7773 -dynamiclib -Wl,-single_module conftest.c" >&5
   7774 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7775 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7776         _lt_result=$?
   7777 	# If there is a non-empty error log, and "single_module"
   7778 	# appears in it, assume the flag caused a linker warning
   7779         if test -s conftest.err && $GREP single_module conftest.err; then
   7780 	  cat conftest.err >&5
   7781 	# Otherwise, if the output was created with a 0 exit code from
   7782 	# the compiler, it worked.
   7783 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7784 	  lt_cv_apple_cc_single_mod=yes
   7785 	else
   7786 	  cat conftest.err >&5
   7787 	fi
   7788 	rm -rf libconftest.dylib*
   7789 	rm -f conftest.*
   7790       fi
   7791 fi
   7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7793 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7794 
   7795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7796 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7797 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7798   $as_echo_n "(cached) " >&6
   7799 else
   7800   lt_cv_ld_exported_symbols_list=no
   7801       save_LDFLAGS=$LDFLAGS
   7802       echo "_main" > conftest.sym
   7803       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 
   7807 int
   7808 main ()
   7809 {
   7810 
   7811   ;
   7812   return 0;
   7813 }
   7814 _ACEOF
   7815 if ac_fn_c_try_link "$LINENO"; then :
   7816   lt_cv_ld_exported_symbols_list=yes
   7817 else
   7818   lt_cv_ld_exported_symbols_list=no
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext \
   7821     conftest$ac_exeext conftest.$ac_ext
   7822 	LDFLAGS=$save_LDFLAGS
   7823 
   7824 fi
   7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7826 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7827 
   7828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7829 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7830 if ${lt_cv_ld_force_load+:} false; then :
   7831   $as_echo_n "(cached) " >&6
   7832 else
   7833   lt_cv_ld_force_load=no
   7834       cat > conftest.c << _LT_EOF
   7835 int forced_loaded() { return 2;}
   7836 _LT_EOF
   7837       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7838       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7839       echo "$AR cru libconftest.a conftest.o" >&5
   7840       $AR cru libconftest.a conftest.o 2>&5
   7841       echo "$RANLIB libconftest.a" >&5
   7842       $RANLIB libconftest.a 2>&5
   7843       cat > conftest.c << _LT_EOF
   7844 int main() { return 0;}
   7845 _LT_EOF
   7846       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7847       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7848       _lt_result=$?
   7849       if test -s conftest.err && $GREP force_load conftest.err; then
   7850 	cat conftest.err >&5
   7851       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7852 	lt_cv_ld_force_load=yes
   7853       else
   7854 	cat conftest.err >&5
   7855       fi
   7856         rm -f conftest.err libconftest.a conftest conftest.c
   7857         rm -rf conftest.dSYM
   7858 
   7859 fi
   7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7861 $as_echo "$lt_cv_ld_force_load" >&6; }
   7862     case $host_os in
   7863     rhapsody* | darwin1.[012])
   7864       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7865     darwin1.*)
   7866       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7867     darwin*) # darwin 5.x on
   7868       # if running on 10.5 or later, the deployment target defaults
   7869       # to the OS version, if on x86, and 10.4, the deployment
   7870       # target defaults to 10.4. Don't you love it?
   7871       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7872 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7873 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7874 	10.[012][,.]*)
   7875 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7876 	10.*)
   7877 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7878       esac
   7879     ;;
   7880   esac
   7881     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7882       _lt_dar_single_mod='$single_module'
   7883     fi
   7884     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7885       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7886     else
   7887       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7888     fi
   7889     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7890       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7891     else
   7892       _lt_dsymutil=
   7893     fi
   7894     ;;
   7895   esac
   7896 
   7897 # func_munge_path_list VARIABLE PATH
   7898 # -----------------------------------
   7899 # VARIABLE is name of variable containing _space_ separated list of
   7900 # directories to be munged by the contents of PATH, which is string
   7901 # having a format:
   7902 # "DIR[:DIR]:"
   7903 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7904 # ":DIR[:DIR]"
   7905 #       string "DIR[ DIR]" will be appended to VARIABLE
   7906 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7907 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7908 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7909 # "DIR[:DIR]"
   7910 #       VARIABLE will be replaced by "DIR[ DIR]"
   7911 func_munge_path_list ()
   7912 {
   7913     case x$2 in
   7914     x)
   7915         ;;
   7916     *:)
   7917         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\"
   7918         ;;
   7919     x:*)
   7920         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7921         ;;
   7922     *::*)
   7923         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7924         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7925         ;;
   7926     *)
   7927         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7928         ;;
   7929     esac
   7930 }
   7931 
   7932 ac_ext=c
   7933 ac_cpp='$CPP $CPPFLAGS'
   7934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7938 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7939 # On Suns, sometimes $CPP names a directory.
   7940 if test -n "$CPP" && test -d "$CPP"; then
   7941   CPP=
   7942 fi
   7943 if test -z "$CPP"; then
   7944   if ${ac_cv_prog_CPP+:} false; then :
   7945   $as_echo_n "(cached) " >&6
   7946 else
   7947       # Double quotes because CPP needs to be expanded
   7948     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7949     do
   7950       ac_preproc_ok=false
   7951 for ac_c_preproc_warn_flag in '' yes
   7952 do
   7953   # Use a header file that comes with gcc, so configuring glibc
   7954   # with a fresh cross-compiler works.
   7955   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7956   # <limits.h> exists even on freestanding compilers.
   7957   # On the NeXT, cc -E runs the code through the compiler's parser,
   7958   # not just through cpp. "Syntax error" is here to catch this case.
   7959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7960 /* end confdefs.h.  */
   7961 #ifdef __STDC__
   7962 # include <limits.h>
   7963 #else
   7964 # include <assert.h>
   7965 #endif
   7966 		     Syntax error
   7967 _ACEOF
   7968 if ac_fn_c_try_cpp "$LINENO"; then :
   7969 
   7970 else
   7971   # Broken: fails on valid input.
   7972 continue
   7973 fi
   7974 rm -f conftest.err conftest.i conftest.$ac_ext
   7975 
   7976   # OK, works on sane cases.  Now check whether nonexistent headers
   7977   # can be detected and how.
   7978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 #include <ac_nonexistent.h>
   7981 _ACEOF
   7982 if ac_fn_c_try_cpp "$LINENO"; then :
   7983   # Broken: success on invalid input.
   7984 continue
   7985 else
   7986   # Passes both tests.
   7987 ac_preproc_ok=:
   7988 break
   7989 fi
   7990 rm -f conftest.err conftest.i conftest.$ac_ext
   7991 
   7992 done
   7993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7994 rm -f conftest.i conftest.err conftest.$ac_ext
   7995 if $ac_preproc_ok; then :
   7996   break
   7997 fi
   7998 
   7999     done
   8000     ac_cv_prog_CPP=$CPP
   8001 
   8002 fi
   8003   CPP=$ac_cv_prog_CPP
   8004 else
   8005   ac_cv_prog_CPP=$CPP
   8006 fi
   8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   8008 $as_echo "$CPP" >&6; }
   8009 ac_preproc_ok=false
   8010 for ac_c_preproc_warn_flag in '' yes
   8011 do
   8012   # Use a header file that comes with gcc, so configuring glibc
   8013   # with a fresh cross-compiler works.
   8014   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8015   # <limits.h> exists even on freestanding compilers.
   8016   # On the NeXT, cc -E runs the code through the compiler's parser,
   8017   # not just through cpp. "Syntax error" is here to catch this case.
   8018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8019 /* end confdefs.h.  */
   8020 #ifdef __STDC__
   8021 # include <limits.h>
   8022 #else
   8023 # include <assert.h>
   8024 #endif
   8025 		     Syntax error
   8026 _ACEOF
   8027 if ac_fn_c_try_cpp "$LINENO"; then :
   8028 
   8029 else
   8030   # Broken: fails on valid input.
   8031 continue
   8032 fi
   8033 rm -f conftest.err conftest.i conftest.$ac_ext
   8034 
   8035   # OK, works on sane cases.  Now check whether nonexistent headers
   8036   # can be detected and how.
   8037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8038 /* end confdefs.h.  */
   8039 #include <ac_nonexistent.h>
   8040 _ACEOF
   8041 if ac_fn_c_try_cpp "$LINENO"; then :
   8042   # Broken: success on invalid input.
   8043 continue
   8044 else
   8045   # Passes both tests.
   8046 ac_preproc_ok=:
   8047 break
   8048 fi
   8049 rm -f conftest.err conftest.i conftest.$ac_ext
   8050 
   8051 done
   8052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8053 rm -f conftest.i conftest.err conftest.$ac_ext
   8054 if $ac_preproc_ok; then :
   8055 
   8056 else
   8057   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   8058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   8059 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   8060 See \`config.log' for more details" "$LINENO" 5; }
   8061 fi
   8062 
   8063 ac_ext=c
   8064 ac_cpp='$CPP $CPPFLAGS'
   8065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8068 
   8069 
   8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   8071 $as_echo_n "checking for ANSI C header files... " >&6; }
   8072 if ${ac_cv_header_stdc+:} false; then :
   8073   $as_echo_n "(cached) " >&6
   8074 else
   8075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8076 /* end confdefs.h.  */
   8077 #include <stdlib.h>
   8078 #include <stdarg.h>
   8079 #include <string.h>
   8080 #include <float.h>
   8081 
   8082 int
   8083 main ()
   8084 {
   8085 
   8086   ;
   8087   return 0;
   8088 }
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"; then :
   8091   ac_cv_header_stdc=yes
   8092 else
   8093   ac_cv_header_stdc=no
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8096 
   8097 if test $ac_cv_header_stdc = yes; then
   8098   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   8099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8100 /* end confdefs.h.  */
   8101 #include <string.h>
   8102 
   8103 _ACEOF
   8104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8105   $EGREP "memchr" >/dev/null 2>&1; then :
   8106 
   8107 else
   8108   ac_cv_header_stdc=no
   8109 fi
   8110 rm -f conftest*
   8111 
   8112 fi
   8113 
   8114 if test $ac_cv_header_stdc = yes; then
   8115   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   8116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8117 /* end confdefs.h.  */
   8118 #include <stdlib.h>
   8119 
   8120 _ACEOF
   8121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8122   $EGREP "free" >/dev/null 2>&1; then :
   8123 
   8124 else
   8125   ac_cv_header_stdc=no
   8126 fi
   8127 rm -f conftest*
   8128 
   8129 fi
   8130 
   8131 if test $ac_cv_header_stdc = yes; then
   8132   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   8133   if test "$cross_compiling" = yes; then :
   8134   :
   8135 else
   8136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8137 /* end confdefs.h.  */
   8138 #include <ctype.h>
   8139 #include <stdlib.h>
   8140 #if ((' ' & 0x0FF) == 0x020)
   8141 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   8142 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   8143 #else
   8144 # define ISLOWER(c) \
   8145 		   (('a' <= (c) && (c) <= 'i') \
   8146 		     || ('j' <= (c) && (c) <= 'r') \
   8147 		     || ('s' <= (c) && (c) <= 'z'))
   8148 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   8149 #endif
   8150 
   8151 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   8152 int
   8153 main ()
   8154 {
   8155   int i;
   8156   for (i = 0; i < 256; i++)
   8157     if (XOR (islower (i), ISLOWER (i))
   8158 	|| toupper (i) != TOUPPER (i))
   8159       return 2;
   8160   return 0;
   8161 }
   8162 _ACEOF
   8163 if ac_fn_c_try_run "$LINENO"; then :
   8164 
   8165 else
   8166   ac_cv_header_stdc=no
   8167 fi
   8168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8169   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8170 fi
   8171 
   8172 fi
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   8175 $as_echo "$ac_cv_header_stdc" >&6; }
   8176 if test $ac_cv_header_stdc = yes; then
   8177 
   8178 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   8179 
   8180 fi
   8181 
   8182 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   8183 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   8184 		  inttypes.h stdint.h unistd.h
   8185 do :
   8186   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8187 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   8188 "
   8189 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   8190   cat >>confdefs.h <<_ACEOF
   8191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8192 _ACEOF
   8193 
   8194 fi
   8195 
   8196 done
   8197 
   8198 
   8199 for ac_header in dlfcn.h
   8200 do :
   8201   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8202 "
   8203 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8204   cat >>confdefs.h <<_ACEOF
   8205 #define HAVE_DLFCN_H 1
   8206 _ACEOF
   8207 
   8208 fi
   8209 
   8210 done
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 # Set options
   8217 
   8218 
   8219 
   8220         enable_dlopen=no
   8221 
   8222 
   8223   enable_win32_dll=no
   8224 
   8225 
   8226             # Check whether --enable-shared was given.
   8227 if test "${enable_shared+set}" = set; then :
   8228   enableval=$enable_shared; p=${PACKAGE-default}
   8229     case $enableval in
   8230     yes) enable_shared=yes ;;
   8231     no) enable_shared=no ;;
   8232     *)
   8233       enable_shared=no
   8234       # Look at the argument we got.  We use all the common list separators.
   8235       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8236       for pkg in $enableval; do
   8237 	IFS=$lt_save_ifs
   8238 	if test "X$pkg" = "X$p"; then
   8239 	  enable_shared=yes
   8240 	fi
   8241       done
   8242       IFS=$lt_save_ifs
   8243       ;;
   8244     esac
   8245 else
   8246   enable_shared=yes
   8247 fi
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257   # Check whether --enable-static was given.
   8258 if test "${enable_static+set}" = set; then :
   8259   enableval=$enable_static; p=${PACKAGE-default}
   8260     case $enableval in
   8261     yes) enable_static=yes ;;
   8262     no) enable_static=no ;;
   8263     *)
   8264      enable_static=no
   8265       # Look at the argument we got.  We use all the common list separators.
   8266       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8267       for pkg in $enableval; do
   8268 	IFS=$lt_save_ifs
   8269 	if test "X$pkg" = "X$p"; then
   8270 	  enable_static=yes
   8271 	fi
   8272       done
   8273       IFS=$lt_save_ifs
   8274       ;;
   8275     esac
   8276 else
   8277   enable_static=yes
   8278 fi
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 # Check whether --with-pic was given.
   8290 if test "${with_pic+set}" = set; then :
   8291   withval=$with_pic; lt_p=${PACKAGE-default}
   8292     case $withval in
   8293     yes|no) pic_mode=$withval ;;
   8294     *)
   8295       pic_mode=default
   8296       # Look at the argument we got.  We use all the common list separators.
   8297       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8298       for lt_pkg in $withval; do
   8299 	IFS=$lt_save_ifs
   8300 	if test "X$lt_pkg" = "X$lt_p"; then
   8301 	  pic_mode=yes
   8302 	fi
   8303       done
   8304       IFS=$lt_save_ifs
   8305       ;;
   8306     esac
   8307 else
   8308   pic_mode=default
   8309 fi
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318   # Check whether --enable-fast-install was given.
   8319 if test "${enable_fast_install+set}" = set; then :
   8320   enableval=$enable_fast_install; p=${PACKAGE-default}
   8321     case $enableval in
   8322     yes) enable_fast_install=yes ;;
   8323     no) enable_fast_install=no ;;
   8324     *)
   8325       enable_fast_install=no
   8326       # Look at the argument we got.  We use all the common list separators.
   8327       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8328       for pkg in $enableval; do
   8329 	IFS=$lt_save_ifs
   8330 	if test "X$pkg" = "X$p"; then
   8331 	  enable_fast_install=yes
   8332 	fi
   8333       done
   8334       IFS=$lt_save_ifs
   8335       ;;
   8336     esac
   8337 else
   8338   enable_fast_install=yes
   8339 fi
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348   shared_archive_member_spec=
   8349 case $host,$enable_shared in
   8350 power*-*-aix[5-9]*,yes)
   8351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8352 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8353 
   8354 # Check whether --with-aix-soname was given.
   8355 if test "${with_aix_soname+set}" = set; then :
   8356   withval=$with_aix_soname; case $withval in
   8357     aix|svr4|both)
   8358       ;;
   8359     *)
   8360       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8361       ;;
   8362     esac
   8363     lt_cv_with_aix_soname=$with_aix_soname
   8364 else
   8365   if ${lt_cv_with_aix_soname+:} false; then :
   8366   $as_echo_n "(cached) " >&6
   8367 else
   8368   lt_cv_with_aix_soname=aix
   8369 fi
   8370 
   8371     with_aix_soname=$lt_cv_with_aix_soname
   8372 fi
   8373 
   8374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8375 $as_echo "$with_aix_soname" >&6; }
   8376   if test aix != "$with_aix_soname"; then
   8377     # For the AIX way of multilib, we name the shared archive member
   8378     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8379     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8380     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8381     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8382     if test 64 = "${OBJECT_MODE-32}"; then
   8383       shared_archive_member_spec=shr_64
   8384     else
   8385       shared_archive_member_spec=shr
   8386     fi
   8387   fi
   8388   ;;
   8389 *)
   8390   with_aix_soname=aix
   8391   ;;
   8392 esac
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 # This can be used to rebuild libtool when needed
   8404 LIBTOOL_DEPS=$ltmain
   8405 
   8406 # Always use our own libtool.
   8407 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 test -z "$LN_S" && LN_S="ln -s"
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 if test -n "${ZSH_VERSION+set}"; then
   8454    setopt NO_GLOB_SUBST
   8455 fi
   8456 
   8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8458 $as_echo_n "checking for objdir... " >&6; }
   8459 if ${lt_cv_objdir+:} false; then :
   8460   $as_echo_n "(cached) " >&6
   8461 else
   8462   rm -f .libs 2>/dev/null
   8463 mkdir .libs 2>/dev/null
   8464 if test -d .libs; then
   8465   lt_cv_objdir=.libs
   8466 else
   8467   # MS-DOS does not allow filenames that begin with a dot.
   8468   lt_cv_objdir=_libs
   8469 fi
   8470 rmdir .libs 2>/dev/null
   8471 fi
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8473 $as_echo "$lt_cv_objdir" >&6; }
   8474 objdir=$lt_cv_objdir
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 cat >>confdefs.h <<_ACEOF
   8481 #define LT_OBJDIR "$lt_cv_objdir/"
   8482 _ACEOF
   8483 
   8484 
   8485 
   8486 
   8487 case $host_os in
   8488 aix3*)
   8489   # AIX sometimes has problems with the GCC collect2 program.  For some
   8490   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8491   # vanish in a puff of smoke.
   8492   if test set != "${COLLECT_NAMES+set}"; then
   8493     COLLECT_NAMES=
   8494     export COLLECT_NAMES
   8495   fi
   8496   ;;
   8497 esac
   8498 
   8499 # Global variables:
   8500 ofile=libtool
   8501 can_build_shared=yes
   8502 
   8503 # All known linkers require a '.a' archive for static linking (except MSVC,
   8504 # which needs '.lib').
   8505 libext=a
   8506 
   8507 with_gnu_ld=$lt_cv_prog_gnu_ld
   8508 
   8509 old_CC=$CC
   8510 old_CFLAGS=$CFLAGS
   8511 
   8512 # Set sane defaults for various variables
   8513 test -z "$CC" && CC=cc
   8514 test -z "$LTCC" && LTCC=$CC
   8515 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8516 test -z "$LD" && LD=ld
   8517 test -z "$ac_objext" && ac_objext=o
   8518 
   8519 func_cc_basename $compiler
   8520 cc_basename=$func_cc_basename_result
   8521 
   8522 
   8523 # Only perform the check for file, if the check method requires it
   8524 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8525 case $deplibs_check_method in
   8526 file_magic*)
   8527   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8528     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8529 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8530 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8531   $as_echo_n "(cached) " >&6
   8532 else
   8533   case $MAGIC_CMD in
   8534 [\\/*] |  ?:[\\/]*)
   8535   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8536   ;;
   8537 *)
   8538   lt_save_MAGIC_CMD=$MAGIC_CMD
   8539   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8540   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8541   for ac_dir in $ac_dummy; do
   8542     IFS=$lt_save_ifs
   8543     test -z "$ac_dir" && ac_dir=.
   8544     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8545       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8546       if test -n "$file_magic_test_file"; then
   8547 	case $deplibs_check_method in
   8548 	"file_magic "*)
   8549 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8550 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8551 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8552 	    $EGREP "$file_magic_regex" > /dev/null; then
   8553 	    :
   8554 	  else
   8555 	    cat <<_LT_EOF 1>&2
   8556 
   8557 *** Warning: the command libtool uses to detect shared libraries,
   8558 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8559 *** The result is that libtool may fail to recognize shared libraries
   8560 *** as such.  This will affect the creation of libtool libraries that
   8561 *** depend on shared libraries, but programs linked with such libtool
   8562 *** libraries will work regardless of this problem.  Nevertheless, you
   8563 *** may want to report the problem to your system manager and/or to
   8564 *** bug-libtool (at] gnu.org
   8565 
   8566 _LT_EOF
   8567 	  fi ;;
   8568 	esac
   8569       fi
   8570       break
   8571     fi
   8572   done
   8573   IFS=$lt_save_ifs
   8574   MAGIC_CMD=$lt_save_MAGIC_CMD
   8575   ;;
   8576 esac
   8577 fi
   8578 
   8579 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8580 if test -n "$MAGIC_CMD"; then
   8581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8582 $as_echo "$MAGIC_CMD" >&6; }
   8583 else
   8584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8585 $as_echo "no" >&6; }
   8586 fi
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8593   if test -n "$ac_tool_prefix"; then
   8594     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8595 $as_echo_n "checking for file... " >&6; }
   8596 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8597   $as_echo_n "(cached) " >&6
   8598 else
   8599   case $MAGIC_CMD in
   8600 [\\/*] |  ?:[\\/]*)
   8601   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8602   ;;
   8603 *)
   8604   lt_save_MAGIC_CMD=$MAGIC_CMD
   8605   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8606   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8607   for ac_dir in $ac_dummy; do
   8608     IFS=$lt_save_ifs
   8609     test -z "$ac_dir" && ac_dir=.
   8610     if test -f "$ac_dir/file"; then
   8611       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8612       if test -n "$file_magic_test_file"; then
   8613 	case $deplibs_check_method in
   8614 	"file_magic "*)
   8615 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8616 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8617 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8618 	    $EGREP "$file_magic_regex" > /dev/null; then
   8619 	    :
   8620 	  else
   8621 	    cat <<_LT_EOF 1>&2
   8622 
   8623 *** Warning: the command libtool uses to detect shared libraries,
   8624 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8625 *** The result is that libtool may fail to recognize shared libraries
   8626 *** as such.  This will affect the creation of libtool libraries that
   8627 *** depend on shared libraries, but programs linked with such libtool
   8628 *** libraries will work regardless of this problem.  Nevertheless, you
   8629 *** may want to report the problem to your system manager and/or to
   8630 *** bug-libtool (at] gnu.org
   8631 
   8632 _LT_EOF
   8633 	  fi ;;
   8634 	esac
   8635       fi
   8636       break
   8637     fi
   8638   done
   8639   IFS=$lt_save_ifs
   8640   MAGIC_CMD=$lt_save_MAGIC_CMD
   8641   ;;
   8642 esac
   8643 fi
   8644 
   8645 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8646 if test -n "$MAGIC_CMD"; then
   8647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8648 $as_echo "$MAGIC_CMD" >&6; }
   8649 else
   8650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8651 $as_echo "no" >&6; }
   8652 fi
   8653 
   8654 
   8655   else
   8656     MAGIC_CMD=:
   8657   fi
   8658 fi
   8659 
   8660   fi
   8661   ;;
   8662 esac
   8663 
   8664 # Use C for the default configuration in the libtool script
   8665 
   8666 lt_save_CC=$CC
   8667 ac_ext=c
   8668 ac_cpp='$CPP $CPPFLAGS'
   8669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8672 
   8673 
   8674 # Source file extension for C test sources.
   8675 ac_ext=c
   8676 
   8677 # Object file extension for compiled C test sources.
   8678 objext=o
   8679 objext=$objext
   8680 
   8681 # Code to be used in simple compile tests
   8682 lt_simple_compile_test_code="int some_variable = 0;"
   8683 
   8684 # Code to be used in simple link tests
   8685 lt_simple_link_test_code='int main(){return(0);}'
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 # If no C compiler was specified, use CC.
   8694 LTCC=${LTCC-"$CC"}
   8695 
   8696 # If no C compiler flags were specified, use CFLAGS.
   8697 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8698 
   8699 # Allow CC to be a program name with arguments.
   8700 compiler=$CC
   8701 
   8702 # Save the default compiler, since it gets overwritten when the other
   8703 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8704 compiler_DEFAULT=$CC
   8705 
   8706 # save warnings/boilerplate of simple test code
   8707 ac_outfile=conftest.$ac_objext
   8708 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8709 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8710 _lt_compiler_boilerplate=`cat conftest.err`
   8711 $RM conftest*
   8712 
   8713 ac_outfile=conftest.$ac_objext
   8714 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8715 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8716 _lt_linker_boilerplate=`cat conftest.err`
   8717 $RM -r conftest*
   8718 
   8719 
   8720 ## CAVEAT EMPTOR:
   8721 ## There is no encapsulation within the following macros, do not change
   8722 ## the running order or otherwise move them around unless you know exactly
   8723 ## what you are doing...
   8724 if test -n "$compiler"; then
   8725 
   8726 lt_prog_compiler_no_builtin_flag=
   8727 
   8728 if test yes = "$GCC"; then
   8729   case $cc_basename in
   8730   nvcc*)
   8731     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8732   *)
   8733     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8734   esac
   8735 
   8736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8737 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8738 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8739   $as_echo_n "(cached) " >&6
   8740 else
   8741   lt_cv_prog_compiler_rtti_exceptions=no
   8742    ac_outfile=conftest.$ac_objext
   8743    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8744    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8745    # Insert the option either (1) after the last *FLAGS variable, or
   8746    # (2) before a word containing "conftest.", or (3) at the end.
   8747    # Note that $ac_compile itself does not contain backslashes and begins
   8748    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8749    # The option is referenced via a variable to avoid confusing sed.
   8750    lt_compile=`echo "$ac_compile" | $SED \
   8751    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8752    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8753    -e 's:$: $lt_compiler_flag:'`
   8754    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8755    (eval "$lt_compile" 2>conftest.err)
   8756    ac_status=$?
   8757    cat conftest.err >&5
   8758    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8759    if (exit $ac_status) && test -s "$ac_outfile"; then
   8760      # The compiler can only warn and ignore the option if not recognized
   8761      # So say no if there are warnings other than the usual output.
   8762      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8763      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8764      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8765        lt_cv_prog_compiler_rtti_exceptions=yes
   8766      fi
   8767    fi
   8768    $RM conftest*
   8769 
   8770 fi
   8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8772 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8773 
   8774 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8775     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8776 else
   8777     :
   8778 fi
   8779 
   8780 fi
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787   lt_prog_compiler_wl=
   8788 lt_prog_compiler_pic=
   8789 lt_prog_compiler_static=
   8790 
   8791 
   8792   if test yes = "$GCC"; then
   8793     lt_prog_compiler_wl='-Wl,'
   8794     lt_prog_compiler_static='-static'
   8795 
   8796     case $host_os in
   8797       aix*)
   8798       # All AIX code is PIC.
   8799       if test ia64 = "$host_cpu"; then
   8800 	# AIX 5 now supports IA64 processor
   8801 	lt_prog_compiler_static='-Bstatic'
   8802       fi
   8803       lt_prog_compiler_pic='-fPIC'
   8804       ;;
   8805 
   8806     amigaos*)
   8807       case $host_cpu in
   8808       powerpc)
   8809             # see comment about AmigaOS4 .so support
   8810             lt_prog_compiler_pic='-fPIC'
   8811         ;;
   8812       m68k)
   8813             # FIXME: we need at least 68020 code to build shared libraries, but
   8814             # adding the '-m68020' flag to GCC prevents building anything better,
   8815             # like '-m68040'.
   8816             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8817         ;;
   8818       esac
   8819       ;;
   8820 
   8821     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8822       # PIC is the default for these OSes.
   8823       ;;
   8824 
   8825     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8826       # This hack is so that the source file can tell whether it is being
   8827       # built for inclusion in a dll (and should export symbols for example).
   8828       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8829       # (--disable-auto-import) libraries
   8830       lt_prog_compiler_pic='-DDLL_EXPORT'
   8831       case $host_os in
   8832       os2*)
   8833 	lt_prog_compiler_static='$wl-static'
   8834 	;;
   8835       esac
   8836       ;;
   8837 
   8838     darwin* | rhapsody*)
   8839       # PIC is the default on this platform
   8840       # Common symbols not allowed in MH_DYLIB files
   8841       lt_prog_compiler_pic='-fno-common'
   8842       ;;
   8843 
   8844     haiku*)
   8845       # PIC is the default for Haiku.
   8846       # The "-static" flag exists, but is broken.
   8847       lt_prog_compiler_static=
   8848       ;;
   8849 
   8850     hpux*)
   8851       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8852       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8853       # sets the default TLS model and affects inlining.
   8854       case $host_cpu in
   8855       hppa*64*)
   8856 	# +Z the default
   8857 	;;
   8858       *)
   8859 	lt_prog_compiler_pic='-fPIC'
   8860 	;;
   8861       esac
   8862       ;;
   8863 
   8864     interix[3-9]*)
   8865       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8866       # Instead, we relocate shared libraries at runtime.
   8867       ;;
   8868 
   8869     msdosdjgpp*)
   8870       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8871       # on systems that don't support them.
   8872       lt_prog_compiler_can_build_shared=no
   8873       enable_shared=no
   8874       ;;
   8875 
   8876     *nto* | *qnx*)
   8877       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8878       # it will coredump.
   8879       lt_prog_compiler_pic='-fPIC -shared'
   8880       ;;
   8881 
   8882     sysv4*MP*)
   8883       if test -d /usr/nec; then
   8884 	lt_prog_compiler_pic=-Kconform_pic
   8885       fi
   8886       ;;
   8887 
   8888     *)
   8889       lt_prog_compiler_pic='-fPIC'
   8890       ;;
   8891     esac
   8892 
   8893     case $cc_basename in
   8894     nvcc*) # Cuda Compiler Driver 2.2
   8895       lt_prog_compiler_wl='-Xlinker '
   8896       if test -n "$lt_prog_compiler_pic"; then
   8897         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8898       fi
   8899       ;;
   8900     esac
   8901   else
   8902     # PORTME Check for flag to pass linker flags through the system compiler.
   8903     case $host_os in
   8904     aix*)
   8905       lt_prog_compiler_wl='-Wl,'
   8906       if test ia64 = "$host_cpu"; then
   8907 	# AIX 5 now supports IA64 processor
   8908 	lt_prog_compiler_static='-Bstatic'
   8909       else
   8910 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8911       fi
   8912       ;;
   8913 
   8914     darwin* | rhapsody*)
   8915       # PIC is the default on this platform
   8916       # Common symbols not allowed in MH_DYLIB files
   8917       lt_prog_compiler_pic='-fno-common'
   8918       case $cc_basename in
   8919       nagfor*)
   8920         # NAG Fortran compiler
   8921         lt_prog_compiler_wl='-Wl,-Wl,,'
   8922         lt_prog_compiler_pic='-PIC'
   8923         lt_prog_compiler_static='-Bstatic'
   8924         ;;
   8925       esac
   8926       ;;
   8927 
   8928     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8929       # This hack is so that the source file can tell whether it is being
   8930       # built for inclusion in a dll (and should export symbols for example).
   8931       lt_prog_compiler_pic='-DDLL_EXPORT'
   8932       case $host_os in
   8933       os2*)
   8934 	lt_prog_compiler_static='$wl-static'
   8935 	;;
   8936       esac
   8937       ;;
   8938 
   8939     hpux9* | hpux10* | hpux11*)
   8940       lt_prog_compiler_wl='-Wl,'
   8941       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8942       # not for PA HP-UX.
   8943       case $host_cpu in
   8944       hppa*64*|ia64*)
   8945 	# +Z the default
   8946 	;;
   8947       *)
   8948 	lt_prog_compiler_pic='+Z'
   8949 	;;
   8950       esac
   8951       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8952       lt_prog_compiler_static='$wl-a ${wl}archive'
   8953       ;;
   8954 
   8955     irix5* | irix6* | nonstopux*)
   8956       lt_prog_compiler_wl='-Wl,'
   8957       # PIC (with -KPIC) is the default.
   8958       lt_prog_compiler_static='-non_shared'
   8959       ;;
   8960 
   8961     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8962       case $cc_basename in
   8963       # old Intel for x86_64, which still supported -KPIC.
   8964       ecc*)
   8965 	lt_prog_compiler_wl='-Wl,'
   8966 	lt_prog_compiler_pic='-KPIC'
   8967 	lt_prog_compiler_static='-static'
   8968         ;;
   8969       # icc used to be incompatible with GCC.
   8970       # ICC 10 doesn't accept -KPIC any more.
   8971       icc* | ifort*)
   8972 	lt_prog_compiler_wl='-Wl,'
   8973 	lt_prog_compiler_pic='-fPIC'
   8974 	lt_prog_compiler_static='-static'
   8975         ;;
   8976       # Lahey Fortran 8.1.
   8977       lf95*)
   8978 	lt_prog_compiler_wl='-Wl,'
   8979 	lt_prog_compiler_pic='--shared'
   8980 	lt_prog_compiler_static='--static'
   8981 	;;
   8982       nagfor*)
   8983 	# NAG Fortran compiler
   8984 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8985 	lt_prog_compiler_pic='-PIC'
   8986 	lt_prog_compiler_static='-Bstatic'
   8987 	;;
   8988       tcc*)
   8989 	# Fabrice Bellard et al's Tiny C Compiler
   8990 	lt_prog_compiler_wl='-Wl,'
   8991 	lt_prog_compiler_pic='-fPIC'
   8992 	lt_prog_compiler_static='-static'
   8993 	;;
   8994       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8995         # Portland Group compilers (*not* the Pentium gcc compiler,
   8996 	# which looks to be a dead project)
   8997 	lt_prog_compiler_wl='-Wl,'
   8998 	lt_prog_compiler_pic='-fpic'
   8999 	lt_prog_compiler_static='-Bstatic'
   9000         ;;
   9001       ccc*)
   9002         lt_prog_compiler_wl='-Wl,'
   9003         # All Alpha code is PIC.
   9004         lt_prog_compiler_static='-non_shared'
   9005         ;;
   9006       xl* | bgxl* | bgf* | mpixl*)
   9007 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9008 	lt_prog_compiler_wl='-Wl,'
   9009 	lt_prog_compiler_pic='-qpic'
   9010 	lt_prog_compiler_static='-qstaticlink'
   9011 	;;
   9012       *)
   9013 	case `$CC -V 2>&1 | sed 5q` in
   9014 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9015 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9016 	  lt_prog_compiler_pic='-KPIC'
   9017 	  lt_prog_compiler_static='-Bstatic'
   9018 	  lt_prog_compiler_wl=''
   9019 	  ;;
   9020 	*Sun\ F* | *Sun*Fortran*)
   9021 	  lt_prog_compiler_pic='-KPIC'
   9022 	  lt_prog_compiler_static='-Bstatic'
   9023 	  lt_prog_compiler_wl='-Qoption ld '
   9024 	  ;;
   9025 	*Sun\ C*)
   9026 	  # Sun C 5.9
   9027 	  lt_prog_compiler_pic='-KPIC'
   9028 	  lt_prog_compiler_static='-Bstatic'
   9029 	  lt_prog_compiler_wl='-Wl,'
   9030 	  ;;
   9031         *Intel*\ [CF]*Compiler*)
   9032 	  lt_prog_compiler_wl='-Wl,'
   9033 	  lt_prog_compiler_pic='-fPIC'
   9034 	  lt_prog_compiler_static='-static'
   9035 	  ;;
   9036 	*Portland\ Group*)
   9037 	  lt_prog_compiler_wl='-Wl,'
   9038 	  lt_prog_compiler_pic='-fpic'
   9039 	  lt_prog_compiler_static='-Bstatic'
   9040 	  ;;
   9041 	esac
   9042 	;;
   9043       esac
   9044       ;;
   9045 
   9046     newsos6)
   9047       lt_prog_compiler_pic='-KPIC'
   9048       lt_prog_compiler_static='-Bstatic'
   9049       ;;
   9050 
   9051     *nto* | *qnx*)
   9052       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9053       # it will coredump.
   9054       lt_prog_compiler_pic='-fPIC -shared'
   9055       ;;
   9056 
   9057     osf3* | osf4* | osf5*)
   9058       lt_prog_compiler_wl='-Wl,'
   9059       # All OSF/1 code is PIC.
   9060       lt_prog_compiler_static='-non_shared'
   9061       ;;
   9062 
   9063     rdos*)
   9064       lt_prog_compiler_static='-non_shared'
   9065       ;;
   9066 
   9067     solaris*)
   9068       lt_prog_compiler_pic='-KPIC'
   9069       lt_prog_compiler_static='-Bstatic'
   9070       case $cc_basename in
   9071       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9072 	lt_prog_compiler_wl='-Qoption ld ';;
   9073       *)
   9074 	lt_prog_compiler_wl='-Wl,';;
   9075       esac
   9076       ;;
   9077 
   9078     sunos4*)
   9079       lt_prog_compiler_wl='-Qoption ld '
   9080       lt_prog_compiler_pic='-PIC'
   9081       lt_prog_compiler_static='-Bstatic'
   9082       ;;
   9083 
   9084     sysv4 | sysv4.2uw2* | sysv4.3*)
   9085       lt_prog_compiler_wl='-Wl,'
   9086       lt_prog_compiler_pic='-KPIC'
   9087       lt_prog_compiler_static='-Bstatic'
   9088       ;;
   9089 
   9090     sysv4*MP*)
   9091       if test -d /usr/nec; then
   9092 	lt_prog_compiler_pic='-Kconform_pic'
   9093 	lt_prog_compiler_static='-Bstatic'
   9094       fi
   9095       ;;
   9096 
   9097     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9098       lt_prog_compiler_wl='-Wl,'
   9099       lt_prog_compiler_pic='-KPIC'
   9100       lt_prog_compiler_static='-Bstatic'
   9101       ;;
   9102 
   9103     unicos*)
   9104       lt_prog_compiler_wl='-Wl,'
   9105       lt_prog_compiler_can_build_shared=no
   9106       ;;
   9107 
   9108     uts4*)
   9109       lt_prog_compiler_pic='-pic'
   9110       lt_prog_compiler_static='-Bstatic'
   9111       ;;
   9112 
   9113     *)
   9114       lt_prog_compiler_can_build_shared=no
   9115       ;;
   9116     esac
   9117   fi
   9118 
   9119 case $host_os in
   9120   # For platforms that do not support PIC, -DPIC is meaningless:
   9121   *djgpp*)
   9122     lt_prog_compiler_pic=
   9123     ;;
   9124   *)
   9125     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9126     ;;
   9127 esac
   9128 
   9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9130 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9131 if ${lt_cv_prog_compiler_pic+:} false; then :
   9132   $as_echo_n "(cached) " >&6
   9133 else
   9134   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9135 fi
   9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9137 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9138 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9139 
   9140 #
   9141 # Check to make sure the PIC flag actually works.
   9142 #
   9143 if test -n "$lt_prog_compiler_pic"; then
   9144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9145 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9146 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   lt_cv_prog_compiler_pic_works=no
   9150    ac_outfile=conftest.$ac_objext
   9151    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9152    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9153    # Insert the option either (1) after the last *FLAGS variable, or
   9154    # (2) before a word containing "conftest.", or (3) at the end.
   9155    # Note that $ac_compile itself does not contain backslashes and begins
   9156    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9157    # The option is referenced via a variable to avoid confusing sed.
   9158    lt_compile=`echo "$ac_compile" | $SED \
   9159    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9160    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9161    -e 's:$: $lt_compiler_flag:'`
   9162    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9163    (eval "$lt_compile" 2>conftest.err)
   9164    ac_status=$?
   9165    cat conftest.err >&5
   9166    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9167    if (exit $ac_status) && test -s "$ac_outfile"; then
   9168      # The compiler can only warn and ignore the option if not recognized
   9169      # So say no if there are warnings other than the usual output.
   9170      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9171      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9172      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9173        lt_cv_prog_compiler_pic_works=yes
   9174      fi
   9175    fi
   9176    $RM conftest*
   9177 
   9178 fi
   9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9180 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9181 
   9182 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9183     case $lt_prog_compiler_pic in
   9184      "" | " "*) ;;
   9185      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9186      esac
   9187 else
   9188     lt_prog_compiler_pic=
   9189      lt_prog_compiler_can_build_shared=no
   9190 fi
   9191 
   9192 fi
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 #
   9205 # Check to make sure the static flag actually works.
   9206 #
   9207 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9209 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9210 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9211   $as_echo_n "(cached) " >&6
   9212 else
   9213   lt_cv_prog_compiler_static_works=no
   9214    save_LDFLAGS=$LDFLAGS
   9215    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9216    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9217    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9218      # The linker can only warn and ignore the option if not recognized
   9219      # So say no if there are warnings
   9220      if test -s conftest.err; then
   9221        # Append any errors to the config.log.
   9222        cat conftest.err 1>&5
   9223        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9224        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9225        if diff conftest.exp conftest.er2 >/dev/null; then
   9226          lt_cv_prog_compiler_static_works=yes
   9227        fi
   9228      else
   9229        lt_cv_prog_compiler_static_works=yes
   9230      fi
   9231    fi
   9232    $RM -r conftest*
   9233    LDFLAGS=$save_LDFLAGS
   9234 
   9235 fi
   9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9237 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9238 
   9239 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9240     :
   9241 else
   9242     lt_prog_compiler_static=
   9243 fi
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9253 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9254   $as_echo_n "(cached) " >&6
   9255 else
   9256   lt_cv_prog_compiler_c_o=no
   9257    $RM -r conftest 2>/dev/null
   9258    mkdir conftest
   9259    cd conftest
   9260    mkdir out
   9261    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9262 
   9263    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9264    # Insert the option either (1) after the last *FLAGS variable, or
   9265    # (2) before a word containing "conftest.", or (3) at the end.
   9266    # Note that $ac_compile itself does not contain backslashes and begins
   9267    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9268    lt_compile=`echo "$ac_compile" | $SED \
   9269    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9270    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9271    -e 's:$: $lt_compiler_flag:'`
   9272    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9273    (eval "$lt_compile" 2>out/conftest.err)
   9274    ac_status=$?
   9275    cat out/conftest.err >&5
   9276    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9277    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9278    then
   9279      # The compiler can only warn and ignore the option if not recognized
   9280      # So say no if there are warnings
   9281      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9282      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9283      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9284        lt_cv_prog_compiler_c_o=yes
   9285      fi
   9286    fi
   9287    chmod u+w . 2>&5
   9288    $RM conftest*
   9289    # SGI C++ compiler will create directory out/ii_files/ for
   9290    # template instantiation
   9291    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9292    $RM out/* && rmdir out
   9293    cd ..
   9294    $RM -r conftest
   9295    $RM conftest*
   9296 
   9297 fi
   9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9308 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9309   $as_echo_n "(cached) " >&6
   9310 else
   9311   lt_cv_prog_compiler_c_o=no
   9312    $RM -r conftest 2>/dev/null
   9313    mkdir conftest
   9314    cd conftest
   9315    mkdir out
   9316    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9317 
   9318    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9319    # Insert the option either (1) after the last *FLAGS variable, or
   9320    # (2) before a word containing "conftest.", or (3) at the end.
   9321    # Note that $ac_compile itself does not contain backslashes and begins
   9322    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9323    lt_compile=`echo "$ac_compile" | $SED \
   9324    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9325    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9326    -e 's:$: $lt_compiler_flag:'`
   9327    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9328    (eval "$lt_compile" 2>out/conftest.err)
   9329    ac_status=$?
   9330    cat out/conftest.err >&5
   9331    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9332    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9333    then
   9334      # The compiler can only warn and ignore the option if not recognized
   9335      # So say no if there are warnings
   9336      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9337      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9338      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9339        lt_cv_prog_compiler_c_o=yes
   9340      fi
   9341    fi
   9342    chmod u+w . 2>&5
   9343    $RM conftest*
   9344    # SGI C++ compiler will create directory out/ii_files/ for
   9345    # template instantiation
   9346    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9347    $RM out/* && rmdir out
   9348    cd ..
   9349    $RM -r conftest
   9350    $RM conftest*
   9351 
   9352 fi
   9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9354 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9355 
   9356 
   9357 
   9358 
   9359 hard_links=nottested
   9360 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9361   # do not overwrite the value of need_locks provided by the user
   9362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9363 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9364   hard_links=yes
   9365   $RM conftest*
   9366   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9367   touch conftest.a
   9368   ln conftest.a conftest.b 2>&5 || hard_links=no
   9369   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9371 $as_echo "$hard_links" >&6; }
   9372   if test no = "$hard_links"; then
   9373     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9374 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9375     need_locks=warn
   9376   fi
   9377 else
   9378   need_locks=no
   9379 fi
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9387 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9388 
   9389   runpath_var=
   9390   allow_undefined_flag=
   9391   always_export_symbols=no
   9392   archive_cmds=
   9393   archive_expsym_cmds=
   9394   compiler_needs_object=no
   9395   enable_shared_with_static_runtimes=no
   9396   export_dynamic_flag_spec=
   9397   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9398   hardcode_automatic=no
   9399   hardcode_direct=no
   9400   hardcode_direct_absolute=no
   9401   hardcode_libdir_flag_spec=
   9402   hardcode_libdir_separator=
   9403   hardcode_minus_L=no
   9404   hardcode_shlibpath_var=unsupported
   9405   inherit_rpath=no
   9406   link_all_deplibs=unknown
   9407   module_cmds=
   9408   module_expsym_cmds=
   9409   old_archive_from_new_cmds=
   9410   old_archive_from_expsyms_cmds=
   9411   thread_safe_flag_spec=
   9412   whole_archive_flag_spec=
   9413   # include_expsyms should be a list of space-separated symbols to be *always*
   9414   # included in the symbol list
   9415   include_expsyms=
   9416   # exclude_expsyms can be an extended regexp of symbols to exclude
   9417   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9418   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9419   # as well as any symbol that contains 'd'.
   9420   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9421   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9422   # platforms (ab)use it in PIC code, but their linkers get confused if
   9423   # the symbol is explicitly referenced.  Since portable code cannot
   9424   # rely on this symbol name, it's probably fine to never include it in
   9425   # preloaded symbol tables.
   9426   # Exclude shared library initialization/finalization symbols.
   9427   extract_expsyms_cmds=
   9428 
   9429   case $host_os in
   9430   cygwin* | mingw* | pw32* | cegcc*)
   9431     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9432     # When not using gcc, we currently assume that we are using
   9433     # Microsoft Visual C++.
   9434     if test yes != "$GCC"; then
   9435       with_gnu_ld=no
   9436     fi
   9437     ;;
   9438   interix*)
   9439     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9440     with_gnu_ld=yes
   9441     ;;
   9442   openbsd* | bitrig*)
   9443     with_gnu_ld=no
   9444     ;;
   9445   esac
   9446 
   9447   ld_shlibs=yes
   9448 
   9449   # On some targets, GNU ld is compatible enough with the native linker
   9450   # that we're better off using the native interface for both.
   9451   lt_use_gnu_ld_interface=no
   9452   if test yes = "$with_gnu_ld"; then
   9453     case $host_os in
   9454       aix*)
   9455 	# The AIX port of GNU ld has always aspired to compatibility
   9456 	# with the native linker.  However, as the warning in the GNU ld
   9457 	# block says, versions before 2.19.5* couldn't really create working
   9458 	# shared libraries, regardless of the interface used.
   9459 	case `$LD -v 2>&1` in
   9460 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9461 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9462 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9463 	  *)
   9464 	    lt_use_gnu_ld_interface=yes
   9465 	    ;;
   9466 	esac
   9467 	;;
   9468       *)
   9469 	lt_use_gnu_ld_interface=yes
   9470 	;;
   9471     esac
   9472   fi
   9473 
   9474   if test yes = "$lt_use_gnu_ld_interface"; then
   9475     # If archive_cmds runs LD, not CC, wlarc should be empty
   9476     wlarc='$wl'
   9477 
   9478     # Set some defaults for GNU ld with shared library support. These
   9479     # are reset later if shared libraries are not supported. Putting them
   9480     # here allows them to be overridden if necessary.
   9481     runpath_var=LD_RUN_PATH
   9482     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9483     export_dynamic_flag_spec='$wl--export-dynamic'
   9484     # ancient GNU ld didn't support --whole-archive et. al.
   9485     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9486       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9487     else
   9488       whole_archive_flag_spec=
   9489     fi
   9490     supports_anon_versioning=no
   9491     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9492       *GNU\ gold*) supports_anon_versioning=yes ;;
   9493       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9494       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9495       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9496       *\ 2.11.*) ;; # other 2.11 versions
   9497       *) supports_anon_versioning=yes ;;
   9498     esac
   9499 
   9500     # See if GNU ld supports shared libraries.
   9501     case $host_os in
   9502     aix[3-9]*)
   9503       # On AIX/PPC, the GNU linker is very broken
   9504       if test ia64 != "$host_cpu"; then
   9505 	ld_shlibs=no
   9506 	cat <<_LT_EOF 1>&2
   9507 
   9508 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9509 *** to be unable to reliably create shared libraries on AIX.
   9510 *** Therefore, libtool is disabling shared libraries support.  If you
   9511 *** really care for shared libraries, you may want to install binutils
   9512 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9513 *** You will then need to restart the configuration process.
   9514 
   9515 _LT_EOF
   9516       fi
   9517       ;;
   9518 
   9519     amigaos*)
   9520       case $host_cpu in
   9521       powerpc)
   9522             # see comment about AmigaOS4 .so support
   9523             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9524             archive_expsym_cmds=''
   9525         ;;
   9526       m68k)
   9527             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)'
   9528             hardcode_libdir_flag_spec='-L$libdir'
   9529             hardcode_minus_L=yes
   9530         ;;
   9531       esac
   9532       ;;
   9533 
   9534     beos*)
   9535       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9536 	allow_undefined_flag=unsupported
   9537 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9538 	# support --undefined.  This deserves some investigation.  FIXME
   9539 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9540       else
   9541 	ld_shlibs=no
   9542       fi
   9543       ;;
   9544 
   9545     cygwin* | mingw* | pw32* | cegcc*)
   9546       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9547       # as there is no search path for DLLs.
   9548       hardcode_libdir_flag_spec='-L$libdir'
   9549       export_dynamic_flag_spec='$wl--export-all-symbols'
   9550       allow_undefined_flag=unsupported
   9551       always_export_symbols=no
   9552       enable_shared_with_static_runtimes=yes
   9553       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   9554       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9555 
   9556       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9557         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9558 	# If the export-symbols file already is a .def file, use it as
   9559 	# is; otherwise, prepend EXPORTS...
   9560 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9561           cp $export_symbols $output_objdir/$soname.def;
   9562         else
   9563           echo EXPORTS > $output_objdir/$soname.def;
   9564           cat $export_symbols >> $output_objdir/$soname.def;
   9565         fi~
   9566         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9567       else
   9568 	ld_shlibs=no
   9569       fi
   9570       ;;
   9571 
   9572     haiku*)
   9573       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9574       link_all_deplibs=yes
   9575       ;;
   9576 
   9577     os2*)
   9578       hardcode_libdir_flag_spec='-L$libdir'
   9579       hardcode_minus_L=yes
   9580       allow_undefined_flag=unsupported
   9581       shrext_cmds=.dll
   9582       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9583 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9584 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9585 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9586 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9587 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9588 	emximp -o $lib $output_objdir/$libname.def'
   9589       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9590 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9591 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9592 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9593 	prefix_cmds="$SED"~
   9594 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9595 	  prefix_cmds="$prefix_cmds -e 1d";
   9596 	fi~
   9597 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9598 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9599 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9600 	emximp -o $lib $output_objdir/$libname.def'
   9601       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9602       enable_shared_with_static_runtimes=yes
   9603       ;;
   9604 
   9605     interix[3-9]*)
   9606       hardcode_direct=no
   9607       hardcode_shlibpath_var=no
   9608       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9609       export_dynamic_flag_spec='$wl-E'
   9610       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9611       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9612       # default) and relocated if they conflict, which is a slow very memory
   9613       # consuming and fragmenting process.  To avoid this, we pick a random,
   9614       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9615       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9616       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9617       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'
   9618       ;;
   9619 
   9620     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9621       tmp_diet=no
   9622       if test linux-dietlibc = "$host_os"; then
   9623 	case $cc_basename in
   9624 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9625 	esac
   9626       fi
   9627       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9628 	 && test no = "$tmp_diet"
   9629       then
   9630 	tmp_addflag=' $pic_flag'
   9631 	tmp_sharedflag='-shared'
   9632 	case $cc_basename,$host_cpu in
   9633         pgcc*)				# Portland Group C compiler
   9634 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9635 	  tmp_addflag=' $pic_flag'
   9636 	  ;;
   9637 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9638 					# Portland Group f77 and f90 compilers
   9639 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9640 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9641 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9642 	  tmp_addflag=' -i_dynamic' ;;
   9643 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9644 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9645 	ifc* | ifort*)			# Intel Fortran compiler
   9646 	  tmp_addflag=' -nofor_main' ;;
   9647 	lf95*)				# Lahey Fortran 8.1
   9648 	  whole_archive_flag_spec=
   9649 	  tmp_sharedflag='--shared' ;;
   9650         nagfor*)                        # NAGFOR 5.3
   9651           tmp_sharedflag='-Wl,-shared' ;;
   9652 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9653 	  tmp_sharedflag='-qmkshrobj'
   9654 	  tmp_addflag= ;;
   9655 	nvcc*)	# Cuda Compiler Driver 2.2
   9656 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9657 	  compiler_needs_object=yes
   9658 	  ;;
   9659 	esac
   9660 	case `$CC -V 2>&1 | sed 5q` in
   9661 	*Sun\ C*)			# Sun C 5.9
   9662 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   9663 	  compiler_needs_object=yes
   9664 	  tmp_sharedflag='-G' ;;
   9665 	*Sun\ F*)			# Sun Fortran 8.3
   9666 	  tmp_sharedflag='-G' ;;
   9667 	esac
   9668 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9669 
   9670         if test yes = "$supports_anon_versioning"; then
   9671           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9672             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9673             echo "local: *; };" >> $output_objdir/$libname.ver~
   9674             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9675         fi
   9676 
   9677 	case $cc_basename in
   9678 	tcc*)
   9679 	  export_dynamic_flag_spec='-rdynamic'
   9680 	  ;;
   9681 	xlf* | bgf* | bgxlf* | mpixlf*)
   9682 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9683 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9684 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9685 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9686 	  if test yes = "$supports_anon_versioning"; then
   9687 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9688               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9689               echo "local: *; };" >> $output_objdir/$libname.ver~
   9690               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9691 	  fi
   9692 	  ;;
   9693 	esac
   9694       else
   9695         ld_shlibs=no
   9696       fi
   9697       ;;
   9698 
   9699     netbsd*)
   9700       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9701 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9702 	wlarc=
   9703       else
   9704 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9705 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9706       fi
   9707       ;;
   9708 
   9709     solaris*)
   9710       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9711 	ld_shlibs=no
   9712 	cat <<_LT_EOF 1>&2
   9713 
   9714 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9715 *** create shared libraries on Solaris systems.  Therefore, libtool
   9716 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9717 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9718 *** your PATH or compiler configuration so that the native linker is
   9719 *** used, and then restart.
   9720 
   9721 _LT_EOF
   9722       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9723 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9724 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9725       else
   9726 	ld_shlibs=no
   9727       fi
   9728       ;;
   9729 
   9730     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9731       case `$LD -v 2>&1` in
   9732         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9733 	ld_shlibs=no
   9734 	cat <<_LT_EOF 1>&2
   9735 
   9736 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9737 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9738 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9739 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9740 *** your PATH or compiler configuration so that the native linker is
   9741 *** used, and then restart.
   9742 
   9743 _LT_EOF
   9744 	;;
   9745 	*)
   9746 	  # For security reasons, it is highly recommended that you always
   9747 	  # use absolute paths for naming shared libraries, and exclude the
   9748 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9749 	  # requires that you compile everything twice, which is a pain.
   9750 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9751 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9752 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9753 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9754 	  else
   9755 	    ld_shlibs=no
   9756 	  fi
   9757 	;;
   9758       esac
   9759       ;;
   9760 
   9761     sunos4*)
   9762       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9763       wlarc=
   9764       hardcode_direct=yes
   9765       hardcode_shlibpath_var=no
   9766       ;;
   9767 
   9768     *)
   9769       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9770 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9771 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9772       else
   9773 	ld_shlibs=no
   9774       fi
   9775       ;;
   9776     esac
   9777 
   9778     if test no = "$ld_shlibs"; then
   9779       runpath_var=
   9780       hardcode_libdir_flag_spec=
   9781       export_dynamic_flag_spec=
   9782       whole_archive_flag_spec=
   9783     fi
   9784   else
   9785     # PORTME fill in a description of your system's linker (not GNU ld)
   9786     case $host_os in
   9787     aix3*)
   9788       allow_undefined_flag=unsupported
   9789       always_export_symbols=yes
   9790       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'
   9791       # Note: this linker hardcodes the directories in LIBPATH if there
   9792       # are no directories specified by -L.
   9793       hardcode_minus_L=yes
   9794       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9795 	# Neither direct hardcoding nor static linking is supported with a
   9796 	# broken collect2.
   9797 	hardcode_direct=unsupported
   9798       fi
   9799       ;;
   9800 
   9801     aix[4-9]*)
   9802       if test ia64 = "$host_cpu"; then
   9803 	# On IA64, the linker does run time linking by default, so we don't
   9804 	# have to do anything special.
   9805 	aix_use_runtimelinking=no
   9806 	exp_sym_flag='-Bexport'
   9807 	no_entry_flag=
   9808       else
   9809 	# If we're using GNU nm, then we don't want the "-C" option.
   9810 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9811 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9812 	# weak defined symbols like other global defined symbols, whereas
   9813 	# GNU nm marks them as "W".
   9814 	# While the 'weak' keyword is ignored in the Export File, we need
   9815 	# it in the Import File for the 'aix-soname' feature, so we have
   9816 	# to replace the "-B" option with "-P" for AIX nm.
   9817 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9818 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9819 	else
   9820 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9821 	fi
   9822 	aix_use_runtimelinking=no
   9823 
   9824 	# Test if we are trying to use run time linking or normal
   9825 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9826 	# have runtime linking enabled, and use it for executables.
   9827 	# For shared libraries, we enable/disable runtime linking
   9828 	# depending on the kind of the shared library created -
   9829 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9830 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9831 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9832 	#            lib.a           static archive
   9833 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9834 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9835 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9836 	#            lib.a(lib.so.V) shared, rtl:no
   9837 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9838 	#            lib.a           static archive
   9839 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9840 	  for ld_flag in $LDFLAGS; do
   9841 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9842 	    aix_use_runtimelinking=yes
   9843 	    break
   9844 	  fi
   9845 	  done
   9846 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9847 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9848 	    # so we don't have lib.a shared libs to link our executables.
   9849 	    # We have to force runtime linking in this case.
   9850 	    aix_use_runtimelinking=yes
   9851 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9852 	  fi
   9853 	  ;;
   9854 	esac
   9855 
   9856 	exp_sym_flag='-bexport'
   9857 	no_entry_flag='-bnoentry'
   9858       fi
   9859 
   9860       # When large executables or shared objects are built, AIX ld can
   9861       # have problems creating the table of contents.  If linking a library
   9862       # or program results in "error TOC overflow" add -mminimal-toc to
   9863       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9864       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9865 
   9866       archive_cmds=''
   9867       hardcode_direct=yes
   9868       hardcode_direct_absolute=yes
   9869       hardcode_libdir_separator=':'
   9870       link_all_deplibs=yes
   9871       file_list_spec='$wl-f,'
   9872       case $with_aix_soname,$aix_use_runtimelinking in
   9873       aix,*) ;; # traditional, no import file
   9874       svr4,* | *,yes) # use import file
   9875 	# The Import File defines what to hardcode.
   9876 	hardcode_direct=no
   9877 	hardcode_direct_absolute=no
   9878 	;;
   9879       esac
   9880 
   9881       if test yes = "$GCC"; then
   9882 	case $host_os in aix4.[012]|aix4.[012].*)
   9883 	# We only want to do this on AIX 4.2 and lower, the check
   9884 	# below for broken collect2 doesn't work under 4.3+
   9885 	  collect2name=`$CC -print-prog-name=collect2`
   9886 	  if test -f "$collect2name" &&
   9887 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9888 	  then
   9889 	  # We have reworked collect2
   9890 	  :
   9891 	  else
   9892 	  # We have old collect2
   9893 	  hardcode_direct=unsupported
   9894 	  # It fails to find uninstalled libraries when the uninstalled
   9895 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9896 	  # to unsupported forces relinking
   9897 	  hardcode_minus_L=yes
   9898 	  hardcode_libdir_flag_spec='-L$libdir'
   9899 	  hardcode_libdir_separator=
   9900 	  fi
   9901 	  ;;
   9902 	esac
   9903 	shared_flag='-shared'
   9904 	if test yes = "$aix_use_runtimelinking"; then
   9905 	  shared_flag="$shared_flag "'$wl-G'
   9906 	fi
   9907 	# Need to ensure runtime linking is disabled for the traditional
   9908 	# shared library, or the linker may eventually find shared libraries
   9909 	# /with/ Import File - we do not want to mix them.
   9910 	shared_flag_aix='-shared'
   9911 	shared_flag_svr4='-shared $wl-G'
   9912       else
   9913 	# not using gcc
   9914 	if test ia64 = "$host_cpu"; then
   9915 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9916 	# chokes on -Wl,-G. The following line is correct:
   9917 	  shared_flag='-G'
   9918 	else
   9919 	  if test yes = "$aix_use_runtimelinking"; then
   9920 	    shared_flag='$wl-G'
   9921 	  else
   9922 	    shared_flag='$wl-bM:SRE'
   9923 	  fi
   9924 	  shared_flag_aix='$wl-bM:SRE'
   9925 	  shared_flag_svr4='$wl-G'
   9926 	fi
   9927       fi
   9928 
   9929       export_dynamic_flag_spec='$wl-bexpall'
   9930       # It seems that -bexpall does not export symbols beginning with
   9931       # underscore (_), so it is better to generate a list of symbols to export.
   9932       always_export_symbols=yes
   9933       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9934 	# Warning - without using the other runtime loading flags (-brtl),
   9935 	# -berok will link without error, but may produce a broken library.
   9936 	allow_undefined_flag='-berok'
   9937         # Determine the default libpath from the value encoded in an
   9938         # empty executable.
   9939         if test set = "${lt_cv_aix_libpath+set}"; then
   9940   aix_libpath=$lt_cv_aix_libpath
   9941 else
   9942   if ${lt_cv_aix_libpath_+:} false; then :
   9943   $as_echo_n "(cached) " >&6
   9944 else
   9945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9946 /* end confdefs.h.  */
   9947 
   9948 int
   9949 main ()
   9950 {
   9951 
   9952   ;
   9953   return 0;
   9954 }
   9955 _ACEOF
   9956 if ac_fn_c_try_link "$LINENO"; then :
   9957 
   9958   lt_aix_libpath_sed='
   9959       /Import File Strings/,/^$/ {
   9960 	  /^0/ {
   9961 	      s/^0  *\([^ ]*\) *$/\1/
   9962 	      p
   9963 	  }
   9964       }'
   9965   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9966   # Check for a 64-bit object if we didn't find anything.
   9967   if test -z "$lt_cv_aix_libpath_"; then
   9968     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9969   fi
   9970 fi
   9971 rm -f core conftest.err conftest.$ac_objext \
   9972     conftest$ac_exeext conftest.$ac_ext
   9973   if test -z "$lt_cv_aix_libpath_"; then
   9974     lt_cv_aix_libpath_=/usr/lib:/lib
   9975   fi
   9976 
   9977 fi
   9978 
   9979   aix_libpath=$lt_cv_aix_libpath_
   9980 fi
   9981 
   9982         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9983         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9984       else
   9985 	if test ia64 = "$host_cpu"; then
   9986 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9987 	  allow_undefined_flag="-z nodefs"
   9988 	  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"
   9989 	else
   9990 	 # Determine the default libpath from the value encoded in an
   9991 	 # empty executable.
   9992 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9993   aix_libpath=$lt_cv_aix_libpath
   9994 else
   9995   if ${lt_cv_aix_libpath_+:} false; then :
   9996   $as_echo_n "(cached) " >&6
   9997 else
   9998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 
   10001 int
   10002 main ()
   10003 {
   10004 
   10005   ;
   10006   return 0;
   10007 }
   10008 _ACEOF
   10009 if ac_fn_c_try_link "$LINENO"; then :
   10010 
   10011   lt_aix_libpath_sed='
   10012       /Import File Strings/,/^$/ {
   10013 	  /^0/ {
   10014 	      s/^0  *\([^ ]*\) *$/\1/
   10015 	      p
   10016 	  }
   10017       }'
   10018   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10019   # Check for a 64-bit object if we didn't find anything.
   10020   if test -z "$lt_cv_aix_libpath_"; then
   10021     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10022   fi
   10023 fi
   10024 rm -f core conftest.err conftest.$ac_objext \
   10025     conftest$ac_exeext conftest.$ac_ext
   10026   if test -z "$lt_cv_aix_libpath_"; then
   10027     lt_cv_aix_libpath_=/usr/lib:/lib
   10028   fi
   10029 
   10030 fi
   10031 
   10032   aix_libpath=$lt_cv_aix_libpath_
   10033 fi
   10034 
   10035 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10036 	  # Warning - without using the other run time loading flags,
   10037 	  # -berok will link without error, but may produce a broken library.
   10038 	  no_undefined_flag=' $wl-bernotok'
   10039 	  allow_undefined_flag=' $wl-berok'
   10040 	  if test yes = "$with_gnu_ld"; then
   10041 	    # We only use this code for GNU lds that support --whole-archive.
   10042 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10043 	  else
   10044 	    # Exported symbols can be pulled into shared objects from archives
   10045 	    whole_archive_flag_spec='$convenience'
   10046 	  fi
   10047 	  archive_cmds_need_lc=yes
   10048 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10049 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10050 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10051 	  if test svr4 != "$with_aix_soname"; then
   10052 	    # This is similar to how AIX traditionally builds its shared libraries.
   10053 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   10054 	  fi
   10055 	  if test aix != "$with_aix_soname"; then
   10056 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   10057 	  else
   10058 	    # used by -dlpreopen to get the symbols
   10059 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10060 	  fi
   10061 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10062 	fi
   10063       fi
   10064       ;;
   10065 
   10066     amigaos*)
   10067       case $host_cpu in
   10068       powerpc)
   10069             # see comment about AmigaOS4 .so support
   10070             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10071             archive_expsym_cmds=''
   10072         ;;
   10073       m68k)
   10074             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)'
   10075             hardcode_libdir_flag_spec='-L$libdir'
   10076             hardcode_minus_L=yes
   10077         ;;
   10078       esac
   10079       ;;
   10080 
   10081     bsdi[45]*)
   10082       export_dynamic_flag_spec=-rdynamic
   10083       ;;
   10084 
   10085     cygwin* | mingw* | pw32* | cegcc*)
   10086       # When not using gcc, we currently assume that we are using
   10087       # Microsoft Visual C++.
   10088       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10089       # no search path for DLLs.
   10090       case $cc_basename in
   10091       cl*)
   10092 	# Native MSVC
   10093 	hardcode_libdir_flag_spec=' '
   10094 	allow_undefined_flag=unsupported
   10095 	always_export_symbols=yes
   10096 	file_list_spec='@'
   10097 	# Tell ltmain to make .lib files, not .a files.
   10098 	libext=lib
   10099 	# Tell ltmain to make .dll files, not .so files.
   10100 	shrext_cmds=.dll
   10101 	# FIXME: Setting linknames here is a bad hack.
   10102 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10103 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10104             cp "$export_symbols" "$output_objdir/$soname.def";
   10105             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10106           else
   10107             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10108           fi~
   10109           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10110           linknames='
   10111 	# The linker will not automatically build a static lib if we build a DLL.
   10112 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10113 	enable_shared_with_static_runtimes=yes
   10114 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10115 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10116 	# Don't use ranlib
   10117 	old_postinstall_cmds='chmod 644 $oldlib'
   10118 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10119           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10120           case $lt_outputfile in
   10121             *.exe|*.EXE) ;;
   10122             *)
   10123               lt_outputfile=$lt_outputfile.exe
   10124               lt_tool_outputfile=$lt_tool_outputfile.exe
   10125               ;;
   10126           esac~
   10127           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10128             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10129             $RM "$lt_outputfile.manifest";
   10130           fi'
   10131 	;;
   10132       *)
   10133 	# Assume MSVC wrapper
   10134 	hardcode_libdir_flag_spec=' '
   10135 	allow_undefined_flag=unsupported
   10136 	# Tell ltmain to make .lib files, not .a files.
   10137 	libext=lib
   10138 	# Tell ltmain to make .dll files, not .so files.
   10139 	shrext_cmds=.dll
   10140 	# FIXME: Setting linknames here is a bad hack.
   10141 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10142 	# The linker will automatically build a .lib file if we build a DLL.
   10143 	old_archive_from_new_cmds='true'
   10144 	# FIXME: Should let the user specify the lib program.
   10145 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10146 	enable_shared_with_static_runtimes=yes
   10147 	;;
   10148       esac
   10149       ;;
   10150 
   10151     darwin* | rhapsody*)
   10152 
   10153 
   10154   archive_cmds_need_lc=no
   10155   hardcode_direct=no
   10156   hardcode_automatic=yes
   10157   hardcode_shlibpath_var=unsupported
   10158   if test yes = "$lt_cv_ld_force_load"; then
   10159     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   10160 
   10161   else
   10162     whole_archive_flag_spec=''
   10163   fi
   10164   link_all_deplibs=yes
   10165   allow_undefined_flag=$_lt_dar_allow_undefined
   10166   case $cc_basename in
   10167      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10168      *) _lt_dar_can_shared=$GCC ;;
   10169   esac
   10170   if test yes = "$_lt_dar_can_shared"; then
   10171     output_verbose_link_cmd=func_echo_all
   10172     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10173     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10174     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"
   10175     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"
   10176 
   10177   else
   10178   ld_shlibs=no
   10179   fi
   10180 
   10181       ;;
   10182 
   10183     dgux*)
   10184       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10185       hardcode_libdir_flag_spec='-L$libdir'
   10186       hardcode_shlibpath_var=no
   10187       ;;
   10188 
   10189     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10190     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10191     # does not break anything, and helps significantly (at the cost of a little
   10192     # extra space).
   10193     freebsd2.2*)
   10194       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10195       hardcode_libdir_flag_spec='-R$libdir'
   10196       hardcode_direct=yes
   10197       hardcode_shlibpath_var=no
   10198       ;;
   10199 
   10200     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10201     freebsd2.*)
   10202       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10203       hardcode_direct=yes
   10204       hardcode_minus_L=yes
   10205       hardcode_shlibpath_var=no
   10206       ;;
   10207 
   10208     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10209     freebsd* | dragonfly*)
   10210       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10211       hardcode_libdir_flag_spec='-R$libdir'
   10212       hardcode_direct=yes
   10213       hardcode_shlibpath_var=no
   10214       ;;
   10215 
   10216     hpux9*)
   10217       if test yes = "$GCC"; then
   10218 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   10219       else
   10220 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   10221       fi
   10222       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10223       hardcode_libdir_separator=:
   10224       hardcode_direct=yes
   10225 
   10226       # hardcode_minus_L: Not really in the search PATH,
   10227       # but as the default location of the library.
   10228       hardcode_minus_L=yes
   10229       export_dynamic_flag_spec='$wl-E'
   10230       ;;
   10231 
   10232     hpux10*)
   10233       if test yes,no = "$GCC,$with_gnu_ld"; then
   10234 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10235       else
   10236 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10237       fi
   10238       if test no = "$with_gnu_ld"; then
   10239 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10240 	hardcode_libdir_separator=:
   10241 	hardcode_direct=yes
   10242 	hardcode_direct_absolute=yes
   10243 	export_dynamic_flag_spec='$wl-E'
   10244 	# hardcode_minus_L: Not really in the search PATH,
   10245 	# but as the default location of the library.
   10246 	hardcode_minus_L=yes
   10247       fi
   10248       ;;
   10249 
   10250     hpux11*)
   10251       if test yes,no = "$GCC,$with_gnu_ld"; then
   10252 	case $host_cpu in
   10253 	hppa*64*)
   10254 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10255 	  ;;
   10256 	ia64*)
   10257 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10258 	  ;;
   10259 	*)
   10260 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10261 	  ;;
   10262 	esac
   10263       else
   10264 	case $host_cpu in
   10265 	hppa*64*)
   10266 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10267 	  ;;
   10268 	ia64*)
   10269 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10270 	  ;;
   10271 	*)
   10272 
   10273 	  # Older versions of the 11.00 compiler do not understand -b yet
   10274 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10275 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10276 $as_echo_n "checking if $CC understands -b... " >&6; }
   10277 if ${lt_cv_prog_compiler__b+:} false; then :
   10278   $as_echo_n "(cached) " >&6
   10279 else
   10280   lt_cv_prog_compiler__b=no
   10281    save_LDFLAGS=$LDFLAGS
   10282    LDFLAGS="$LDFLAGS -b"
   10283    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10284    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10285      # The linker can only warn and ignore the option if not recognized
   10286      # So say no if there are warnings
   10287      if test -s conftest.err; then
   10288        # Append any errors to the config.log.
   10289        cat conftest.err 1>&5
   10290        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10291        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10292        if diff conftest.exp conftest.er2 >/dev/null; then
   10293          lt_cv_prog_compiler__b=yes
   10294        fi
   10295      else
   10296        lt_cv_prog_compiler__b=yes
   10297      fi
   10298    fi
   10299    $RM -r conftest*
   10300    LDFLAGS=$save_LDFLAGS
   10301 
   10302 fi
   10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10304 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10305 
   10306 if test yes = "$lt_cv_prog_compiler__b"; then
   10307     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10308 else
   10309     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10310 fi
   10311 
   10312 	  ;;
   10313 	esac
   10314       fi
   10315       if test no = "$with_gnu_ld"; then
   10316 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10317 	hardcode_libdir_separator=:
   10318 
   10319 	case $host_cpu in
   10320 	hppa*64*|ia64*)
   10321 	  hardcode_direct=no
   10322 	  hardcode_shlibpath_var=no
   10323 	  ;;
   10324 	*)
   10325 	  hardcode_direct=yes
   10326 	  hardcode_direct_absolute=yes
   10327 	  export_dynamic_flag_spec='$wl-E'
   10328 
   10329 	  # hardcode_minus_L: Not really in the search PATH,
   10330 	  # but as the default location of the library.
   10331 	  hardcode_minus_L=yes
   10332 	  ;;
   10333 	esac
   10334       fi
   10335       ;;
   10336 
   10337     irix5* | irix6* | nonstopux*)
   10338       if test yes = "$GCC"; then
   10339 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   10340 	# Try to use the -exported_symbol ld option, if it does not
   10341 	# work, assume that -exports_file does not work either and
   10342 	# implicitly export all symbols.
   10343 	# This should be the same for all languages, so no per-tag cache variable.
   10344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10345 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10346 if ${lt_cv_irix_exported_symbol+:} false; then :
   10347   $as_echo_n "(cached) " >&6
   10348 else
   10349   save_LDFLAGS=$LDFLAGS
   10350 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10351 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10352 /* end confdefs.h.  */
   10353 int foo (void) { return 0; }
   10354 _ACEOF
   10355 if ac_fn_c_try_link "$LINENO"; then :
   10356   lt_cv_irix_exported_symbol=yes
   10357 else
   10358   lt_cv_irix_exported_symbol=no
   10359 fi
   10360 rm -f core conftest.err conftest.$ac_objext \
   10361     conftest$ac_exeext conftest.$ac_ext
   10362            LDFLAGS=$save_LDFLAGS
   10363 fi
   10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10365 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10366 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10367           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
   10368 	fi
   10369       else
   10370 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   10371 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
   10372       fi
   10373       archive_cmds_need_lc='no'
   10374       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10375       hardcode_libdir_separator=:
   10376       inherit_rpath=yes
   10377       link_all_deplibs=yes
   10378       ;;
   10379 
   10380     linux*)
   10381       case $cc_basename in
   10382       tcc*)
   10383 	# Fabrice Bellard et al's Tiny C Compiler
   10384 	ld_shlibs=yes
   10385 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10386 	;;
   10387       esac
   10388       ;;
   10389 
   10390     netbsd*)
   10391       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10392 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10393       else
   10394 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10395       fi
   10396       hardcode_libdir_flag_spec='-R$libdir'
   10397       hardcode_direct=yes
   10398       hardcode_shlibpath_var=no
   10399       ;;
   10400 
   10401     newsos6)
   10402       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10403       hardcode_direct=yes
   10404       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10405       hardcode_libdir_separator=:
   10406       hardcode_shlibpath_var=no
   10407       ;;
   10408 
   10409     *nto* | *qnx*)
   10410       ;;
   10411 
   10412     openbsd* | bitrig*)
   10413       if test -f /usr/libexec/ld.so; then
   10414 	hardcode_direct=yes
   10415 	hardcode_shlibpath_var=no
   10416 	hardcode_direct_absolute=yes
   10417 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10418 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10419 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10420 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10421 	  export_dynamic_flag_spec='$wl-E'
   10422 	else
   10423 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10424 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10425 	fi
   10426       else
   10427 	ld_shlibs=no
   10428       fi
   10429       ;;
   10430 
   10431     os2*)
   10432       hardcode_libdir_flag_spec='-L$libdir'
   10433       hardcode_minus_L=yes
   10434       allow_undefined_flag=unsupported
   10435       shrext_cmds=.dll
   10436       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10437 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10438 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10439 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10440 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10441 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10442 	emximp -o $lib $output_objdir/$libname.def'
   10443       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10444 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10445 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10446 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10447 	prefix_cmds="$SED"~
   10448 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10449 	  prefix_cmds="$prefix_cmds -e 1d";
   10450 	fi~
   10451 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10452 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10453 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10454 	emximp -o $lib $output_objdir/$libname.def'
   10455       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10456       enable_shared_with_static_runtimes=yes
   10457       ;;
   10458 
   10459     osf3*)
   10460       if test yes = "$GCC"; then
   10461 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10462 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   10463       else
   10464 	allow_undefined_flag=' -expect_unresolved \*'
   10465 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   10466       fi
   10467       archive_cmds_need_lc='no'
   10468       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10469       hardcode_libdir_separator=:
   10470       ;;
   10471 
   10472     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10473       if test yes = "$GCC"; then
   10474 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10475 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   10476 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10477       else
   10478 	allow_undefined_flag=' -expect_unresolved \*'
   10479 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   10480 	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~
   10481           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   10482 
   10483 	# Both c and cxx compiler support -rpath directly
   10484 	hardcode_libdir_flag_spec='-rpath $libdir'
   10485       fi
   10486       archive_cmds_need_lc='no'
   10487       hardcode_libdir_separator=:
   10488       ;;
   10489 
   10490     solaris*)
   10491       no_undefined_flag=' -z defs'
   10492       if test yes = "$GCC"; then
   10493 	wlarc='$wl'
   10494 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10495 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10496           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10497       else
   10498 	case `$CC -V 2>&1` in
   10499 	*"Compilers 5.0"*)
   10500 	  wlarc=''
   10501 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10502 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10503             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10504 	  ;;
   10505 	*)
   10506 	  wlarc='$wl'
   10507 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10508 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10509             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10510 	  ;;
   10511 	esac
   10512       fi
   10513       hardcode_libdir_flag_spec='-R$libdir'
   10514       hardcode_shlibpath_var=no
   10515       case $host_os in
   10516       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10517       *)
   10518 	# The compiler driver will combine and reorder linker options,
   10519 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10520 	# but is careful enough not to reorder.
   10521 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10522 	if test yes = "$GCC"; then
   10523 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10524 	else
   10525 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10526 	fi
   10527 	;;
   10528       esac
   10529       link_all_deplibs=yes
   10530       ;;
   10531 
   10532     sunos4*)
   10533       if test sequent = "$host_vendor"; then
   10534 	# Use $CC to link under sequent, because it throws in some extra .o
   10535 	# files that make .init and .fini sections work.
   10536 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10537       else
   10538 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10539       fi
   10540       hardcode_libdir_flag_spec='-L$libdir'
   10541       hardcode_direct=yes
   10542       hardcode_minus_L=yes
   10543       hardcode_shlibpath_var=no
   10544       ;;
   10545 
   10546     sysv4)
   10547       case $host_vendor in
   10548 	sni)
   10549 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10550 	  hardcode_direct=yes # is this really true???
   10551 	;;
   10552 	siemens)
   10553 	  ## LD is ld it makes a PLAMLIB
   10554 	  ## CC just makes a GrossModule.
   10555 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10556 	  reload_cmds='$CC -r -o $output$reload_objs'
   10557 	  hardcode_direct=no
   10558         ;;
   10559 	motorola)
   10560 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10561 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10562 	;;
   10563       esac
   10564       runpath_var='LD_RUN_PATH'
   10565       hardcode_shlibpath_var=no
   10566       ;;
   10567 
   10568     sysv4.3*)
   10569       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10570       hardcode_shlibpath_var=no
   10571       export_dynamic_flag_spec='-Bexport'
   10572       ;;
   10573 
   10574     sysv4*MP*)
   10575       if test -d /usr/nec; then
   10576 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10577 	hardcode_shlibpath_var=no
   10578 	runpath_var=LD_RUN_PATH
   10579 	hardcode_runpath_var=yes
   10580 	ld_shlibs=yes
   10581       fi
   10582       ;;
   10583 
   10584     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10585       no_undefined_flag='$wl-z,text'
   10586       archive_cmds_need_lc=no
   10587       hardcode_shlibpath_var=no
   10588       runpath_var='LD_RUN_PATH'
   10589 
   10590       if test yes = "$GCC"; then
   10591 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10592 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10593       else
   10594 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10595 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10596       fi
   10597       ;;
   10598 
   10599     sysv5* | sco3.2v5* | sco5v6*)
   10600       # Note: We CANNOT use -z defs as we might desire, because we do not
   10601       # link with -lc, and that would cause any symbols used from libc to
   10602       # always be unresolved, which means just about no library would
   10603       # ever link correctly.  If we're not using GNU ld we use -z text
   10604       # though, which does catch some bad symbols but isn't as heavy-handed
   10605       # as -z defs.
   10606       no_undefined_flag='$wl-z,text'
   10607       allow_undefined_flag='$wl-z,nodefs'
   10608       archive_cmds_need_lc=no
   10609       hardcode_shlibpath_var=no
   10610       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10611       hardcode_libdir_separator=':'
   10612       link_all_deplibs=yes
   10613       export_dynamic_flag_spec='$wl-Bexport'
   10614       runpath_var='LD_RUN_PATH'
   10615 
   10616       if test yes = "$GCC"; then
   10617 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10618 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10619       else
   10620 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10621 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10622       fi
   10623       ;;
   10624 
   10625     uts4*)
   10626       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10627       hardcode_libdir_flag_spec='-L$libdir'
   10628       hardcode_shlibpath_var=no
   10629       ;;
   10630 
   10631     *)
   10632       ld_shlibs=no
   10633       ;;
   10634     esac
   10635 
   10636     if test sni = "$host_vendor"; then
   10637       case $host in
   10638       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10639 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10640 	;;
   10641       esac
   10642     fi
   10643   fi
   10644 
   10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10646 $as_echo "$ld_shlibs" >&6; }
   10647 test no = "$ld_shlibs" && can_build_shared=no
   10648 
   10649 with_gnu_ld=$with_gnu_ld
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 #
   10666 # Do we need to explicitly link libc?
   10667 #
   10668 case "x$archive_cmds_need_lc" in
   10669 x|xyes)
   10670   # Assume -lc should be added
   10671   archive_cmds_need_lc=yes
   10672 
   10673   if test yes,yes = "$GCC,$enable_shared"; then
   10674     case $archive_cmds in
   10675     *'~'*)
   10676       # FIXME: we may have to deal with multi-command sequences.
   10677       ;;
   10678     '$CC '*)
   10679       # Test whether the compiler implicitly links with -lc since on some
   10680       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10681       # to ld, don't add -lc before -lgcc.
   10682       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10683 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10684 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10685   $as_echo_n "(cached) " >&6
   10686 else
   10687   $RM conftest*
   10688 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10689 
   10690 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10691   (eval $ac_compile) 2>&5
   10692   ac_status=$?
   10693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10694   test $ac_status = 0; } 2>conftest.err; then
   10695 	  soname=conftest
   10696 	  lib=conftest
   10697 	  libobjs=conftest.$ac_objext
   10698 	  deplibs=
   10699 	  wl=$lt_prog_compiler_wl
   10700 	  pic_flag=$lt_prog_compiler_pic
   10701 	  compiler_flags=-v
   10702 	  linker_flags=-v
   10703 	  verstring=
   10704 	  output_objdir=.
   10705 	  libname=conftest
   10706 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10707 	  allow_undefined_flag=
   10708 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10709   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10710   ac_status=$?
   10711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10712   test $ac_status = 0; }
   10713 	  then
   10714 	    lt_cv_archive_cmds_need_lc=no
   10715 	  else
   10716 	    lt_cv_archive_cmds_need_lc=yes
   10717 	  fi
   10718 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10719 	else
   10720 	  cat conftest.err 1>&5
   10721 	fi
   10722 	$RM conftest*
   10723 
   10724 fi
   10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10726 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10727       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10728       ;;
   10729     esac
   10730   fi
   10731   ;;
   10732 esac
   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 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10886 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10887 
   10888 if test yes = "$GCC"; then
   10889   case $host_os in
   10890     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10891     *) lt_awk_arg='/^libraries:/' ;;
   10892   esac
   10893   case $host_os in
   10894     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10895     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10896   esac
   10897   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10898   case $lt_search_path_spec in
   10899   *\;*)
   10900     # if the path contains ";" then we assume it to be the separator
   10901     # otherwise default to the standard path separator (i.e. ":") - it is
   10902     # assumed that no part of a normal pathname contains ";" but that should
   10903     # okay in the real world where ";" in dirpaths is itself problematic.
   10904     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10905     ;;
   10906   *)
   10907     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10908     ;;
   10909   esac
   10910   # Ok, now we have the path, separated by spaces, we can step through it
   10911   # and add multilib dir if necessary...
   10912   lt_tmp_lt_search_path_spec=
   10913   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10914   # ...but if some path component already ends with the multilib dir we assume
   10915   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10916   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10917   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10918     lt_multi_os_dir=
   10919     ;;
   10920   esac
   10921   for lt_sys_path in $lt_search_path_spec; do
   10922     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10923       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10924     elif test -n "$lt_multi_os_dir"; then
   10925       test -d "$lt_sys_path" && \
   10926 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10927     fi
   10928   done
   10929   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10930 BEGIN {RS = " "; FS = "/|\n";} {
   10931   lt_foo = "";
   10932   lt_count = 0;
   10933   for (lt_i = NF; lt_i > 0; lt_i--) {
   10934     if ($lt_i != "" && $lt_i != ".") {
   10935       if ($lt_i == "..") {
   10936         lt_count++;
   10937       } else {
   10938         if (lt_count == 0) {
   10939           lt_foo = "/" $lt_i lt_foo;
   10940         } else {
   10941           lt_count--;
   10942         }
   10943       }
   10944     }
   10945   }
   10946   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10947   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10948 }'`
   10949   # AWK program above erroneously prepends '/' to C:/dos/paths
   10950   # for these hosts.
   10951   case $host_os in
   10952     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10953       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10954   esac
   10955   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10956 else
   10957   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10958 fi
   10959 library_names_spec=
   10960 libname_spec='lib$name'
   10961 soname_spec=
   10962 shrext_cmds=.so
   10963 postinstall_cmds=
   10964 postuninstall_cmds=
   10965 finish_cmds=
   10966 finish_eval=
   10967 shlibpath_var=
   10968 shlibpath_overrides_runpath=unknown
   10969 version_type=none
   10970 dynamic_linker="$host_os ld.so"
   10971 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10972 need_lib_prefix=unknown
   10973 hardcode_into_libs=no
   10974 
   10975 # when you set need_version to no, make sure it does not cause -set_version
   10976 # flags to be left without arguments
   10977 need_version=unknown
   10978 
   10979 
   10980 
   10981 case $host_os in
   10982 aix3*)
   10983   version_type=linux # correct to gnu/linux during the next big refactor
   10984   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10985   shlibpath_var=LIBPATH
   10986 
   10987   # AIX 3 has no versioning support, so we append a major version to the name.
   10988   soname_spec='$libname$release$shared_ext$major'
   10989   ;;
   10990 
   10991 aix[4-9]*)
   10992   version_type=linux # correct to gnu/linux during the next big refactor
   10993   need_lib_prefix=no
   10994   need_version=no
   10995   hardcode_into_libs=yes
   10996   if test ia64 = "$host_cpu"; then
   10997     # AIX 5 supports IA64
   10998     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10999     shlibpath_var=LD_LIBRARY_PATH
   11000   else
   11001     # With GCC up to 2.95.x, collect2 would create an import file
   11002     # for dependence libraries.  The import file would start with
   11003     # the line '#! .'.  This would cause the generated library to
   11004     # depend on '.', always an invalid library.  This was fixed in
   11005     # development snapshots of GCC prior to 3.0.
   11006     case $host_os in
   11007       aix4 | aix4.[01] | aix4.[01].*)
   11008       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11009 	   echo ' yes '
   11010 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11011 	:
   11012       else
   11013 	can_build_shared=no
   11014       fi
   11015       ;;
   11016     esac
   11017     # Using Import Files as archive members, it is possible to support
   11018     # filename-based versioning of shared library archives on AIX. While
   11019     # this would work for both with and without runtime linking, it will
   11020     # prevent static linking of such archives. So we do filename-based
   11021     # shared library versioning with .so extension only, which is used
   11022     # when both runtime linking and shared linking is enabled.
   11023     # Unfortunately, runtime linking may impact performance, so we do
   11024     # not want this to be the default eventually. Also, we use the
   11025     # versioned .so libs for executables only if there is the -brtl
   11026     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11027     # To allow for filename-based versioning support, we need to create
   11028     # libNAME.so.V as an archive file, containing:
   11029     # *) an Import File, referring to the versioned filename of the
   11030     #    archive as well as the shared archive member, telling the
   11031     #    bitwidth (32 or 64) of that shared object, and providing the
   11032     #    list of exported symbols of that shared object, eventually
   11033     #    decorated with the 'weak' keyword
   11034     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11035     #    it being seen by the linker.
   11036     # At run time we better use the real file rather than another symlink,
   11037     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11038 
   11039     case $with_aix_soname,$aix_use_runtimelinking in
   11040     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11041     # soname into executable. Probably we can add versioning support to
   11042     # collect2, so additional links can be useful in future.
   11043     aix,yes) # traditional libtool
   11044       dynamic_linker='AIX unversionable lib.so'
   11045       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11046       # instead of lib<name>.a to let people know that these are not
   11047       # typical AIX shared libraries.
   11048       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11049       ;;
   11050     aix,no) # traditional AIX only
   11051       dynamic_linker='AIX lib.a(lib.so.V)'
   11052       # We preserve .a as extension for shared libraries through AIX4.2
   11053       # and later when we are not doing run time linking.
   11054       library_names_spec='$libname$release.a $libname.a'
   11055       soname_spec='$libname$release$shared_ext$major'
   11056       ;;
   11057     svr4,*) # full svr4 only
   11058       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11059       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11060       # We do not specify a path in Import Files, so LIBPATH fires.
   11061       shlibpath_overrides_runpath=yes
   11062       ;;
   11063     *,yes) # both, prefer svr4
   11064       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11065       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11066       # unpreferred sharedlib libNAME.a needs extra handling
   11067       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   11068       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   11069       # We do not specify a path in Import Files, so LIBPATH fires.
   11070       shlibpath_overrides_runpath=yes
   11071       ;;
   11072     *,no) # both, prefer aix
   11073       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11074       library_names_spec='$libname$release.a $libname.a'
   11075       soname_spec='$libname$release$shared_ext$major'
   11076       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11077       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   11078       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   11079       ;;
   11080     esac
   11081     shlibpath_var=LIBPATH
   11082   fi
   11083   ;;
   11084 
   11085 amigaos*)
   11086   case $host_cpu in
   11087   powerpc)
   11088     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11089     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11090     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11091     ;;
   11092   m68k)
   11093     library_names_spec='$libname.ixlibrary $libname.a'
   11094     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11095     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   11096     ;;
   11097   esac
   11098   ;;
   11099 
   11100 beos*)
   11101   library_names_spec='$libname$shared_ext'
   11102   dynamic_linker="$host_os ld.so"
   11103   shlibpath_var=LIBRARY_PATH
   11104   ;;
   11105 
   11106 bsdi[45]*)
   11107   version_type=linux # correct to gnu/linux during the next big refactor
   11108   need_version=no
   11109   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11110   soname_spec='$libname$release$shared_ext$major'
   11111   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11112   shlibpath_var=LD_LIBRARY_PATH
   11113   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11114   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11115   # the default ld.so.conf also contains /usr/contrib/lib and
   11116   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11117   # libtool to hard-code these into programs
   11118   ;;
   11119 
   11120 cygwin* | mingw* | pw32* | cegcc*)
   11121   version_type=windows
   11122   shrext_cmds=.dll
   11123   need_version=no
   11124   need_lib_prefix=no
   11125 
   11126   case $GCC,$cc_basename in
   11127   yes,*)
   11128     # gcc
   11129     library_names_spec='$libname.dll.a'
   11130     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11131     postinstall_cmds='base_file=`basename \$file`~
   11132       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11133       dldir=$destdir/`dirname \$dlpath`~
   11134       test -d \$dldir || mkdir -p \$dldir~
   11135       $install_prog $dir/$dlname \$dldir/$dlname~
   11136       chmod a+x \$dldir/$dlname~
   11137       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11138         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11139       fi'
   11140     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11141       dlpath=$dir/\$dldll~
   11142        $RM \$dlpath'
   11143     shlibpath_overrides_runpath=yes
   11144 
   11145     case $host_os in
   11146     cygwin*)
   11147       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11148       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11149 
   11150       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11151       ;;
   11152     mingw* | cegcc*)
   11153       # MinGW DLLs use traditional 'lib' prefix
   11154       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11155       ;;
   11156     pw32*)
   11157       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11158       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11159       ;;
   11160     esac
   11161     dynamic_linker='Win32 ld.exe'
   11162     ;;
   11163 
   11164   *,cl*)
   11165     # Native MSVC
   11166     libname_spec='$name'
   11167     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11168     library_names_spec='$libname.dll.lib'
   11169 
   11170     case $build_os in
   11171     mingw*)
   11172       sys_lib_search_path_spec=
   11173       lt_save_ifs=$IFS
   11174       IFS=';'
   11175       for lt_path in $LIB
   11176       do
   11177         IFS=$lt_save_ifs
   11178         # Let DOS variable expansion print the short 8.3 style file name.
   11179         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11180         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11181       done
   11182       IFS=$lt_save_ifs
   11183       # Convert to MSYS style.
   11184       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11185       ;;
   11186     cygwin*)
   11187       # Convert to unix form, then to dos form, then back to unix form
   11188       # but this time dos style (no spaces!) so that the unix form looks
   11189       # like /cygdrive/c/PROGRA~1:/cygdr...
   11190       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11191       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11192       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11193       ;;
   11194     *)
   11195       sys_lib_search_path_spec=$LIB
   11196       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11197         # It is most probably a Windows format PATH.
   11198         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11199       else
   11200         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11201       fi
   11202       # FIXME: find the short name or the path components, as spaces are
   11203       # common. (e.g. "Program Files" -> "PROGRA~1")
   11204       ;;
   11205     esac
   11206 
   11207     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11208     postinstall_cmds='base_file=`basename \$file`~
   11209       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11210       dldir=$destdir/`dirname \$dlpath`~
   11211       test -d \$dldir || mkdir -p \$dldir~
   11212       $install_prog $dir/$dlname \$dldir/$dlname'
   11213     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11214       dlpath=$dir/\$dldll~
   11215        $RM \$dlpath'
   11216     shlibpath_overrides_runpath=yes
   11217     dynamic_linker='Win32 link.exe'
   11218     ;;
   11219 
   11220   *)
   11221     # Assume MSVC wrapper
   11222     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11223     dynamic_linker='Win32 ld.exe'
   11224     ;;
   11225   esac
   11226   # FIXME: first we should search . and the directory the executable is in
   11227   shlibpath_var=PATH
   11228   ;;
   11229 
   11230 darwin* | rhapsody*)
   11231   dynamic_linker="$host_os dyld"
   11232   version_type=darwin
   11233   need_lib_prefix=no
   11234   need_version=no
   11235   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11236   soname_spec='$libname$release$major$shared_ext'
   11237   shlibpath_overrides_runpath=yes
   11238   shlibpath_var=DYLD_LIBRARY_PATH
   11239   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11240 
   11241   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11242   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11243   ;;
   11244 
   11245 dgux*)
   11246   version_type=linux # correct to gnu/linux during the next big refactor
   11247   need_lib_prefix=no
   11248   need_version=no
   11249   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11250   soname_spec='$libname$release$shared_ext$major'
   11251   shlibpath_var=LD_LIBRARY_PATH
   11252   ;;
   11253 
   11254 freebsd* | dragonfly*)
   11255   # DragonFly does not have aout.  When/if they implement a new
   11256   # versioning mechanism, adjust this.
   11257   if test -x /usr/bin/objformat; then
   11258     objformat=`/usr/bin/objformat`
   11259   else
   11260     case $host_os in
   11261     freebsd[23].*) objformat=aout ;;
   11262     *) objformat=elf ;;
   11263     esac
   11264   fi
   11265   version_type=freebsd-$objformat
   11266   case $version_type in
   11267     freebsd-elf*)
   11268       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11269       soname_spec='$libname$release$shared_ext$major'
   11270       need_version=no
   11271       need_lib_prefix=no
   11272       ;;
   11273     freebsd-*)
   11274       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11275       need_version=yes
   11276       ;;
   11277   esac
   11278   shlibpath_var=LD_LIBRARY_PATH
   11279   case $host_os in
   11280   freebsd2.*)
   11281     shlibpath_overrides_runpath=yes
   11282     ;;
   11283   freebsd3.[01]* | freebsdelf3.[01]*)
   11284     shlibpath_overrides_runpath=yes
   11285     hardcode_into_libs=yes
   11286     ;;
   11287   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11288   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11289     shlibpath_overrides_runpath=no
   11290     hardcode_into_libs=yes
   11291     ;;
   11292   *) # from 4.6 on, and DragonFly
   11293     shlibpath_overrides_runpath=yes
   11294     hardcode_into_libs=yes
   11295     ;;
   11296   esac
   11297   ;;
   11298 
   11299 haiku*)
   11300   version_type=linux # correct to gnu/linux during the next big refactor
   11301   need_lib_prefix=no
   11302   need_version=no
   11303   dynamic_linker="$host_os runtime_loader"
   11304   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11305   soname_spec='$libname$release$shared_ext$major'
   11306   shlibpath_var=LIBRARY_PATH
   11307   shlibpath_overrides_runpath=no
   11308   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11309   hardcode_into_libs=yes
   11310   ;;
   11311 
   11312 hpux9* | hpux10* | hpux11*)
   11313   # Give a soname corresponding to the major version so that dld.sl refuses to
   11314   # link against other versions.
   11315   version_type=sunos
   11316   need_lib_prefix=no
   11317   need_version=no
   11318   case $host_cpu in
   11319   ia64*)
   11320     shrext_cmds='.so'
   11321     hardcode_into_libs=yes
   11322     dynamic_linker="$host_os dld.so"
   11323     shlibpath_var=LD_LIBRARY_PATH
   11324     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11325     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11326     soname_spec='$libname$release$shared_ext$major'
   11327     if test 32 = "$HPUX_IA64_MODE"; then
   11328       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11329       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11330     else
   11331       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11332       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11333     fi
   11334     ;;
   11335   hppa*64*)
   11336     shrext_cmds='.sl'
   11337     hardcode_into_libs=yes
   11338     dynamic_linker="$host_os dld.sl"
   11339     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11340     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11341     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11342     soname_spec='$libname$release$shared_ext$major'
   11343     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11344     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11345     ;;
   11346   *)
   11347     shrext_cmds='.sl'
   11348     dynamic_linker="$host_os dld.sl"
   11349     shlibpath_var=SHLIB_PATH
   11350     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11351     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11352     soname_spec='$libname$release$shared_ext$major'
   11353     ;;
   11354   esac
   11355   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11356   postinstall_cmds='chmod 555 $lib'
   11357   # or fails outright, so override atomically:
   11358   install_override_mode=555
   11359   ;;
   11360 
   11361 interix[3-9]*)
   11362   version_type=linux # correct to gnu/linux during the next big refactor
   11363   need_lib_prefix=no
   11364   need_version=no
   11365   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11366   soname_spec='$libname$release$shared_ext$major'
   11367   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11368   shlibpath_var=LD_LIBRARY_PATH
   11369   shlibpath_overrides_runpath=no
   11370   hardcode_into_libs=yes
   11371   ;;
   11372 
   11373 irix5* | irix6* | nonstopux*)
   11374   case $host_os in
   11375     nonstopux*) version_type=nonstopux ;;
   11376     *)
   11377 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11378 		version_type=linux # correct to gnu/linux during the next big refactor
   11379 	else
   11380 		version_type=irix
   11381 	fi ;;
   11382   esac
   11383   need_lib_prefix=no
   11384   need_version=no
   11385   soname_spec='$libname$release$shared_ext$major'
   11386   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11387   case $host_os in
   11388   irix5* | nonstopux*)
   11389     libsuff= shlibsuff=
   11390     ;;
   11391   *)
   11392     case $LD in # libtool.m4 will add one of these switches to LD
   11393     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11394       libsuff= shlibsuff= libmagic=32-bit;;
   11395     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11396       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11397     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11398       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11399     *) libsuff= shlibsuff= libmagic=never-match;;
   11400     esac
   11401     ;;
   11402   esac
   11403   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11404   shlibpath_overrides_runpath=no
   11405   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11406   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11407   hardcode_into_libs=yes
   11408   ;;
   11409 
   11410 # No shared lib support for Linux oldld, aout, or coff.
   11411 linux*oldld* | linux*aout* | linux*coff*)
   11412   dynamic_linker=no
   11413   ;;
   11414 
   11415 linux*android*)
   11416   version_type=none # Android doesn't support versioned libraries.
   11417   need_lib_prefix=no
   11418   need_version=no
   11419   library_names_spec='$libname$release$shared_ext'
   11420   soname_spec='$libname$release$shared_ext'
   11421   finish_cmds=
   11422   shlibpath_var=LD_LIBRARY_PATH
   11423   shlibpath_overrides_runpath=yes
   11424 
   11425   # This implies no fast_install, which is unacceptable.
   11426   # Some rework will be needed to allow for fast_install
   11427   # before this can be enabled.
   11428   hardcode_into_libs=yes
   11429 
   11430   dynamic_linker='Android linker'
   11431   # Don't embed -rpath directories since the linker doesn't support them.
   11432   hardcode_libdir_flag_spec='-L$libdir'
   11433   ;;
   11434 
   11435 # This must be glibc/ELF.
   11436 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11437   version_type=linux # correct to gnu/linux during the next big refactor
   11438   need_lib_prefix=no
   11439   need_version=no
   11440   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11441   soname_spec='$libname$release$shared_ext$major'
   11442   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11443   shlibpath_var=LD_LIBRARY_PATH
   11444   shlibpath_overrides_runpath=no
   11445 
   11446   # Some binutils ld are patched to set DT_RUNPATH
   11447   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11448   $as_echo_n "(cached) " >&6
   11449 else
   11450   lt_cv_shlibpath_overrides_runpath=no
   11451     save_LDFLAGS=$LDFLAGS
   11452     save_libdir=$libdir
   11453     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11454 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11455     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11456 /* end confdefs.h.  */
   11457 
   11458 int
   11459 main ()
   11460 {
   11461 
   11462   ;
   11463   return 0;
   11464 }
   11465 _ACEOF
   11466 if ac_fn_c_try_link "$LINENO"; then :
   11467   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11468   lt_cv_shlibpath_overrides_runpath=yes
   11469 fi
   11470 fi
   11471 rm -f core conftest.err conftest.$ac_objext \
   11472     conftest$ac_exeext conftest.$ac_ext
   11473     LDFLAGS=$save_LDFLAGS
   11474     libdir=$save_libdir
   11475 
   11476 fi
   11477 
   11478   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11479 
   11480   # This implies no fast_install, which is unacceptable.
   11481   # Some rework will be needed to allow for fast_install
   11482   # before this can be enabled.
   11483   hardcode_into_libs=yes
   11484 
   11485   # Ideally, we could use ldconfig to report *all* directores which are
   11486   # searched for libraries, however this is still not possible.  Aside from not
   11487   # being certain /sbin/ldconfig is available, command
   11488   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11489   # even though it is searched at run-time.  Try to do the best guess by
   11490   # appending ld.so.conf contents (and includes) to the search path.
   11491   if test -f /etc/ld.so.conf; then
   11492     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   11493     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11494   fi
   11495 
   11496   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11497   # powerpc, because MkLinux only supported shared libraries with the
   11498   # GNU dynamic linker.  Since this was broken with cross compilers,
   11499   # most powerpc-linux boxes support dynamic linking these days and
   11500   # people can always --disable-shared, the test was removed, and we
   11501   # assume the GNU/Linux dynamic linker is in use.
   11502   dynamic_linker='GNU/Linux ld.so'
   11503   ;;
   11504 
   11505 netbsd*)
   11506   version_type=sunos
   11507   need_lib_prefix=no
   11508   need_version=no
   11509   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11510     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11511     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11512     dynamic_linker='NetBSD (a.out) ld.so'
   11513   else
   11514     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11515     soname_spec='$libname$release$shared_ext$major'
   11516     dynamic_linker='NetBSD ld.elf_so'
   11517   fi
   11518   shlibpath_var=LD_LIBRARY_PATH
   11519   shlibpath_overrides_runpath=yes
   11520   hardcode_into_libs=yes
   11521   ;;
   11522 
   11523 newsos6)
   11524   version_type=linux # correct to gnu/linux during the next big refactor
   11525   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11526   shlibpath_var=LD_LIBRARY_PATH
   11527   shlibpath_overrides_runpath=yes
   11528   ;;
   11529 
   11530 *nto* | *qnx*)
   11531   version_type=qnx
   11532   need_lib_prefix=no
   11533   need_version=no
   11534   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11535   soname_spec='$libname$release$shared_ext$major'
   11536   shlibpath_var=LD_LIBRARY_PATH
   11537   shlibpath_overrides_runpath=no
   11538   hardcode_into_libs=yes
   11539   dynamic_linker='ldqnx.so'
   11540   ;;
   11541 
   11542 openbsd* | bitrig*)
   11543   version_type=sunos
   11544   sys_lib_dlsearch_path_spec=/usr/lib
   11545   need_lib_prefix=no
   11546   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11547     need_version=no
   11548   else
   11549     need_version=yes
   11550   fi
   11551   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11552   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11553   shlibpath_var=LD_LIBRARY_PATH
   11554   shlibpath_overrides_runpath=yes
   11555   ;;
   11556 
   11557 os2*)
   11558   libname_spec='$name'
   11559   version_type=windows
   11560   shrext_cmds=.dll
   11561   need_version=no
   11562   need_lib_prefix=no
   11563   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11564   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11565     v=$($ECHO $release$versuffix | tr -d .-);
   11566     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11567     $ECHO $n$v`$shared_ext'
   11568   library_names_spec='${libname}_dll.$libext'
   11569   dynamic_linker='OS/2 ld.exe'
   11570   shlibpath_var=BEGINLIBPATH
   11571   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11572   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11573   postinstall_cmds='base_file=`basename \$file`~
   11574     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11575     dldir=$destdir/`dirname \$dlpath`~
   11576     test -d \$dldir || mkdir -p \$dldir~
   11577     $install_prog $dir/$dlname \$dldir/$dlname~
   11578     chmod a+x \$dldir/$dlname~
   11579     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11580       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11581     fi'
   11582   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11583     dlpath=$dir/\$dldll~
   11584     $RM \$dlpath'
   11585   ;;
   11586 
   11587 osf3* | osf4* | osf5*)
   11588   version_type=osf
   11589   need_lib_prefix=no
   11590   need_version=no
   11591   soname_spec='$libname$release$shared_ext$major'
   11592   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11593   shlibpath_var=LD_LIBRARY_PATH
   11594   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11595   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11596   ;;
   11597 
   11598 rdos*)
   11599   dynamic_linker=no
   11600   ;;
   11601 
   11602 solaris*)
   11603   version_type=linux # correct to gnu/linux during the next big refactor
   11604   need_lib_prefix=no
   11605   need_version=no
   11606   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11607   soname_spec='$libname$release$shared_ext$major'
   11608   shlibpath_var=LD_LIBRARY_PATH
   11609   shlibpath_overrides_runpath=yes
   11610   hardcode_into_libs=yes
   11611   # ldd complains unless libraries are executable
   11612   postinstall_cmds='chmod +x $lib'
   11613   ;;
   11614 
   11615 sunos4*)
   11616   version_type=sunos
   11617   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11618   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11619   shlibpath_var=LD_LIBRARY_PATH
   11620   shlibpath_overrides_runpath=yes
   11621   if test yes = "$with_gnu_ld"; then
   11622     need_lib_prefix=no
   11623   fi
   11624   need_version=yes
   11625   ;;
   11626 
   11627 sysv4 | sysv4.3*)
   11628   version_type=linux # correct to gnu/linux during the next big refactor
   11629   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11630   soname_spec='$libname$release$shared_ext$major'
   11631   shlibpath_var=LD_LIBRARY_PATH
   11632   case $host_vendor in
   11633     sni)
   11634       shlibpath_overrides_runpath=no
   11635       need_lib_prefix=no
   11636       runpath_var=LD_RUN_PATH
   11637       ;;
   11638     siemens)
   11639       need_lib_prefix=no
   11640       ;;
   11641     motorola)
   11642       need_lib_prefix=no
   11643       need_version=no
   11644       shlibpath_overrides_runpath=no
   11645       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11646       ;;
   11647   esac
   11648   ;;
   11649 
   11650 sysv4*MP*)
   11651   if test -d /usr/nec; then
   11652     version_type=linux # correct to gnu/linux during the next big refactor
   11653     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11654     soname_spec='$libname$shared_ext.$major'
   11655     shlibpath_var=LD_LIBRARY_PATH
   11656   fi
   11657   ;;
   11658 
   11659 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11660   version_type=sco
   11661   need_lib_prefix=no
   11662   need_version=no
   11663   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11664   soname_spec='$libname$release$shared_ext$major'
   11665   shlibpath_var=LD_LIBRARY_PATH
   11666   shlibpath_overrides_runpath=yes
   11667   hardcode_into_libs=yes
   11668   if test yes = "$with_gnu_ld"; then
   11669     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11670   else
   11671     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11672     case $host_os in
   11673       sco3.2v5*)
   11674         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11675 	;;
   11676     esac
   11677   fi
   11678   sys_lib_dlsearch_path_spec='/usr/lib'
   11679   ;;
   11680 
   11681 tpf*)
   11682   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11683   version_type=linux # correct to gnu/linux during the next big refactor
   11684   need_lib_prefix=no
   11685   need_version=no
   11686   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11687   shlibpath_var=LD_LIBRARY_PATH
   11688   shlibpath_overrides_runpath=no
   11689   hardcode_into_libs=yes
   11690   ;;
   11691 
   11692 uts4*)
   11693   version_type=linux # correct to gnu/linux during the next big refactor
   11694   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11695   soname_spec='$libname$release$shared_ext$major'
   11696   shlibpath_var=LD_LIBRARY_PATH
   11697   ;;
   11698 
   11699 *)
   11700   dynamic_linker=no
   11701   ;;
   11702 esac
   11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11704 $as_echo "$dynamic_linker" >&6; }
   11705 test no = "$dynamic_linker" && can_build_shared=no
   11706 
   11707 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11708 if test yes = "$GCC"; then
   11709   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11710 fi
   11711 
   11712 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11713   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11714 fi
   11715 
   11716 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11717   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11718 fi
   11719 
   11720 # lt_cv_sys_lib... is unaugmented for libtool script decls...
   11721 lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec
   11722 
   11723 # ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
   11724 # LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
   11725 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11819 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11820 hardcode_action=
   11821 if test -n "$hardcode_libdir_flag_spec" ||
   11822    test -n "$runpath_var" ||
   11823    test yes = "$hardcode_automatic"; then
   11824 
   11825   # We can hardcode non-existent directories.
   11826   if test no != "$hardcode_direct" &&
   11827      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11828      # have to relink, otherwise we might link with an installed library
   11829      # when we should be linking with a yet-to-be-installed one
   11830      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11831      test no != "$hardcode_minus_L"; then
   11832     # Linking always hardcodes the temporary library directory.
   11833     hardcode_action=relink
   11834   else
   11835     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11836     hardcode_action=immediate
   11837   fi
   11838 else
   11839   # We cannot hardcode anything, or else we can only hardcode existing
   11840   # directories.
   11841   hardcode_action=unsupported
   11842 fi
   11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11844 $as_echo "$hardcode_action" >&6; }
   11845 
   11846 if test relink = "$hardcode_action" ||
   11847    test yes = "$inherit_rpath"; then
   11848   # Fast installation is not supported
   11849   enable_fast_install=no
   11850 elif test yes = "$shlibpath_overrides_runpath" ||
   11851      test no = "$enable_shared"; then
   11852   # Fast installation is not necessary
   11853   enable_fast_install=needless
   11854 fi
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861   if test yes != "$enable_dlopen"; then
   11862   enable_dlopen=unknown
   11863   enable_dlopen_self=unknown
   11864   enable_dlopen_self_static=unknown
   11865 else
   11866   lt_cv_dlopen=no
   11867   lt_cv_dlopen_libs=
   11868 
   11869   case $host_os in
   11870   beos*)
   11871     lt_cv_dlopen=load_add_on
   11872     lt_cv_dlopen_libs=
   11873     lt_cv_dlopen_self=yes
   11874     ;;
   11875 
   11876   mingw* | pw32* | cegcc*)
   11877     lt_cv_dlopen=LoadLibrary
   11878     lt_cv_dlopen_libs=
   11879     ;;
   11880 
   11881   cygwin*)
   11882     lt_cv_dlopen=dlopen
   11883     lt_cv_dlopen_libs=
   11884     ;;
   11885 
   11886   darwin*)
   11887     # if libdl is installed we need to link against it
   11888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11889 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11890 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11891   $as_echo_n "(cached) " >&6
   11892 else
   11893   ac_check_lib_save_LIBS=$LIBS
   11894 LIBS="-ldl  $LIBS"
   11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11896 /* end confdefs.h.  */
   11897 
   11898 /* Override any GCC internal prototype to avoid an error.
   11899    Use char because int might match the return type of a GCC
   11900    builtin and then its argument prototype would still apply.  */
   11901 #ifdef __cplusplus
   11902 extern "C"
   11903 #endif
   11904 char dlopen ();
   11905 int
   11906 main ()
   11907 {
   11908 return dlopen ();
   11909   ;
   11910   return 0;
   11911 }
   11912 _ACEOF
   11913 if ac_fn_c_try_link "$LINENO"; then :
   11914   ac_cv_lib_dl_dlopen=yes
   11915 else
   11916   ac_cv_lib_dl_dlopen=no
   11917 fi
   11918 rm -f core conftest.err conftest.$ac_objext \
   11919     conftest$ac_exeext conftest.$ac_ext
   11920 LIBS=$ac_check_lib_save_LIBS
   11921 fi
   11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11923 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11924 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11925   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11926 else
   11927 
   11928     lt_cv_dlopen=dyld
   11929     lt_cv_dlopen_libs=
   11930     lt_cv_dlopen_self=yes
   11931 
   11932 fi
   11933 
   11934     ;;
   11935 
   11936   tpf*)
   11937     # Don't try to run any link tests for TPF.  We know it's impossible
   11938     # because TPF is a cross-compiler, and we know how we open DSOs.
   11939     lt_cv_dlopen=dlopen
   11940     lt_cv_dlopen_libs=
   11941     lt_cv_dlopen_self=no
   11942     ;;
   11943 
   11944   *)
   11945     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11946 if test "x$ac_cv_func_shl_load" = xyes; then :
   11947   lt_cv_dlopen=shl_load
   11948 else
   11949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11950 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11951 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11952   $as_echo_n "(cached) " >&6
   11953 else
   11954   ac_check_lib_save_LIBS=$LIBS
   11955 LIBS="-ldld  $LIBS"
   11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11957 /* end confdefs.h.  */
   11958 
   11959 /* Override any GCC internal prototype to avoid an error.
   11960    Use char because int might match the return type of a GCC
   11961    builtin and then its argument prototype would still apply.  */
   11962 #ifdef __cplusplus
   11963 extern "C"
   11964 #endif
   11965 char shl_load ();
   11966 int
   11967 main ()
   11968 {
   11969 return shl_load ();
   11970   ;
   11971   return 0;
   11972 }
   11973 _ACEOF
   11974 if ac_fn_c_try_link "$LINENO"; then :
   11975   ac_cv_lib_dld_shl_load=yes
   11976 else
   11977   ac_cv_lib_dld_shl_load=no
   11978 fi
   11979 rm -f core conftest.err conftest.$ac_objext \
   11980     conftest$ac_exeext conftest.$ac_ext
   11981 LIBS=$ac_check_lib_save_LIBS
   11982 fi
   11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11984 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11985 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11986   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11987 else
   11988   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11989 if test "x$ac_cv_func_dlopen" = xyes; then :
   11990   lt_cv_dlopen=dlopen
   11991 else
   11992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11993 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11994 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11995   $as_echo_n "(cached) " >&6
   11996 else
   11997   ac_check_lib_save_LIBS=$LIBS
   11998 LIBS="-ldl  $LIBS"
   11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12000 /* end confdefs.h.  */
   12001 
   12002 /* Override any GCC internal prototype to avoid an error.
   12003    Use char because int might match the return type of a GCC
   12004    builtin and then its argument prototype would still apply.  */
   12005 #ifdef __cplusplus
   12006 extern "C"
   12007 #endif
   12008 char dlopen ();
   12009 int
   12010 main ()
   12011 {
   12012 return dlopen ();
   12013   ;
   12014   return 0;
   12015 }
   12016 _ACEOF
   12017 if ac_fn_c_try_link "$LINENO"; then :
   12018   ac_cv_lib_dl_dlopen=yes
   12019 else
   12020   ac_cv_lib_dl_dlopen=no
   12021 fi
   12022 rm -f core conftest.err conftest.$ac_objext \
   12023     conftest$ac_exeext conftest.$ac_ext
   12024 LIBS=$ac_check_lib_save_LIBS
   12025 fi
   12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12027 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12028 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12029   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12030 else
   12031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12032 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12033 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12034   $as_echo_n "(cached) " >&6
   12035 else
   12036   ac_check_lib_save_LIBS=$LIBS
   12037 LIBS="-lsvld  $LIBS"
   12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12039 /* end confdefs.h.  */
   12040 
   12041 /* Override any GCC internal prototype to avoid an error.
   12042    Use char because int might match the return type of a GCC
   12043    builtin and then its argument prototype would still apply.  */
   12044 #ifdef __cplusplus
   12045 extern "C"
   12046 #endif
   12047 char dlopen ();
   12048 int
   12049 main ()
   12050 {
   12051 return dlopen ();
   12052   ;
   12053   return 0;
   12054 }
   12055 _ACEOF
   12056 if ac_fn_c_try_link "$LINENO"; then :
   12057   ac_cv_lib_svld_dlopen=yes
   12058 else
   12059   ac_cv_lib_svld_dlopen=no
   12060 fi
   12061 rm -f core conftest.err conftest.$ac_objext \
   12062     conftest$ac_exeext conftest.$ac_ext
   12063 LIBS=$ac_check_lib_save_LIBS
   12064 fi
   12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12066 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12067 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12068   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12069 else
   12070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12071 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12072 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12073   $as_echo_n "(cached) " >&6
   12074 else
   12075   ac_check_lib_save_LIBS=$LIBS
   12076 LIBS="-ldld  $LIBS"
   12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12078 /* end confdefs.h.  */
   12079 
   12080 /* Override any GCC internal prototype to avoid an error.
   12081    Use char because int might match the return type of a GCC
   12082    builtin and then its argument prototype would still apply.  */
   12083 #ifdef __cplusplus
   12084 extern "C"
   12085 #endif
   12086 char dld_link ();
   12087 int
   12088 main ()
   12089 {
   12090 return dld_link ();
   12091   ;
   12092   return 0;
   12093 }
   12094 _ACEOF
   12095 if ac_fn_c_try_link "$LINENO"; then :
   12096   ac_cv_lib_dld_dld_link=yes
   12097 else
   12098   ac_cv_lib_dld_dld_link=no
   12099 fi
   12100 rm -f core conftest.err conftest.$ac_objext \
   12101     conftest$ac_exeext conftest.$ac_ext
   12102 LIBS=$ac_check_lib_save_LIBS
   12103 fi
   12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12105 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12106 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12107   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12108 fi
   12109 
   12110 
   12111 fi
   12112 
   12113 
   12114 fi
   12115 
   12116 
   12117 fi
   12118 
   12119 
   12120 fi
   12121 
   12122 
   12123 fi
   12124 
   12125     ;;
   12126   esac
   12127 
   12128   if test no = "$lt_cv_dlopen"; then
   12129     enable_dlopen=no
   12130   else
   12131     enable_dlopen=yes
   12132   fi
   12133 
   12134   case $lt_cv_dlopen in
   12135   dlopen)
   12136     save_CPPFLAGS=$CPPFLAGS
   12137     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12138 
   12139     save_LDFLAGS=$LDFLAGS
   12140     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12141 
   12142     save_LIBS=$LIBS
   12143     LIBS="$lt_cv_dlopen_libs $LIBS"
   12144 
   12145     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12146 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12147 if ${lt_cv_dlopen_self+:} false; then :
   12148   $as_echo_n "(cached) " >&6
   12149 else
   12150   	  if test yes = "$cross_compiling"; then :
   12151   lt_cv_dlopen_self=cross
   12152 else
   12153   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12154   lt_status=$lt_dlunknown
   12155   cat > conftest.$ac_ext <<_LT_EOF
   12156 #line $LINENO "configure"
   12157 #include "confdefs.h"
   12158 
   12159 #if HAVE_DLFCN_H
   12160 #include <dlfcn.h>
   12161 #endif
   12162 
   12163 #include <stdio.h>
   12164 
   12165 #ifdef RTLD_GLOBAL
   12166 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12167 #else
   12168 #  ifdef DL_GLOBAL
   12169 #    define LT_DLGLOBAL		DL_GLOBAL
   12170 #  else
   12171 #    define LT_DLGLOBAL		0
   12172 #  endif
   12173 #endif
   12174 
   12175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12176    find out it does not work in some platform. */
   12177 #ifndef LT_DLLAZY_OR_NOW
   12178 #  ifdef RTLD_LAZY
   12179 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12180 #  else
   12181 #    ifdef DL_LAZY
   12182 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12183 #    else
   12184 #      ifdef RTLD_NOW
   12185 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12186 #      else
   12187 #        ifdef DL_NOW
   12188 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12189 #        else
   12190 #          define LT_DLLAZY_OR_NOW	0
   12191 #        endif
   12192 #      endif
   12193 #    endif
   12194 #  endif
   12195 #endif
   12196 
   12197 /* When -fvisibility=hidden is used, assume the code has been annotated
   12198    correspondingly for the symbols needed.  */
   12199 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12200 int fnord () __attribute__((visibility("default")));
   12201 #endif
   12202 
   12203 int fnord () { return 42; }
   12204 int main ()
   12205 {
   12206   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12207   int status = $lt_dlunknown;
   12208 
   12209   if (self)
   12210     {
   12211       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12212       else
   12213         {
   12214 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12215           else puts (dlerror ());
   12216 	}
   12217       /* dlclose (self); */
   12218     }
   12219   else
   12220     puts (dlerror ());
   12221 
   12222   return status;
   12223 }
   12224 _LT_EOF
   12225   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12226   (eval $ac_link) 2>&5
   12227   ac_status=$?
   12228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12229   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12230     (./conftest; exit; ) >&5 2>/dev/null
   12231     lt_status=$?
   12232     case x$lt_status in
   12233       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12234       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12235       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12236     esac
   12237   else :
   12238     # compilation failed
   12239     lt_cv_dlopen_self=no
   12240   fi
   12241 fi
   12242 rm -fr conftest*
   12243 
   12244 
   12245 fi
   12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12247 $as_echo "$lt_cv_dlopen_self" >&6; }
   12248 
   12249     if test yes = "$lt_cv_dlopen_self"; then
   12250       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12251       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12252 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12253 if ${lt_cv_dlopen_self_static+:} false; then :
   12254   $as_echo_n "(cached) " >&6
   12255 else
   12256   	  if test yes = "$cross_compiling"; then :
   12257   lt_cv_dlopen_self_static=cross
   12258 else
   12259   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12260   lt_status=$lt_dlunknown
   12261   cat > conftest.$ac_ext <<_LT_EOF
   12262 #line $LINENO "configure"
   12263 #include "confdefs.h"
   12264 
   12265 #if HAVE_DLFCN_H
   12266 #include <dlfcn.h>
   12267 #endif
   12268 
   12269 #include <stdio.h>
   12270 
   12271 #ifdef RTLD_GLOBAL
   12272 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12273 #else
   12274 #  ifdef DL_GLOBAL
   12275 #    define LT_DLGLOBAL		DL_GLOBAL
   12276 #  else
   12277 #    define LT_DLGLOBAL		0
   12278 #  endif
   12279 #endif
   12280 
   12281 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12282    find out it does not work in some platform. */
   12283 #ifndef LT_DLLAZY_OR_NOW
   12284 #  ifdef RTLD_LAZY
   12285 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12286 #  else
   12287 #    ifdef DL_LAZY
   12288 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12289 #    else
   12290 #      ifdef RTLD_NOW
   12291 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12292 #      else
   12293 #        ifdef DL_NOW
   12294 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12295 #        else
   12296 #          define LT_DLLAZY_OR_NOW	0
   12297 #        endif
   12298 #      endif
   12299 #    endif
   12300 #  endif
   12301 #endif
   12302 
   12303 /* When -fvisibility=hidden is used, assume the code has been annotated
   12304    correspondingly for the symbols needed.  */
   12305 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12306 int fnord () __attribute__((visibility("default")));
   12307 #endif
   12308 
   12309 int fnord () { return 42; }
   12310 int main ()
   12311 {
   12312   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12313   int status = $lt_dlunknown;
   12314 
   12315   if (self)
   12316     {
   12317       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12318       else
   12319         {
   12320 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12321           else puts (dlerror ());
   12322 	}
   12323       /* dlclose (self); */
   12324     }
   12325   else
   12326     puts (dlerror ());
   12327 
   12328   return status;
   12329 }
   12330 _LT_EOF
   12331   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12332   (eval $ac_link) 2>&5
   12333   ac_status=$?
   12334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12335   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12336     (./conftest; exit; ) >&5 2>/dev/null
   12337     lt_status=$?
   12338     case x$lt_status in
   12339       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12340       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12341       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12342     esac
   12343   else :
   12344     # compilation failed
   12345     lt_cv_dlopen_self_static=no
   12346   fi
   12347 fi
   12348 rm -fr conftest*
   12349 
   12350 
   12351 fi
   12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12353 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12354     fi
   12355 
   12356     CPPFLAGS=$save_CPPFLAGS
   12357     LDFLAGS=$save_LDFLAGS
   12358     LIBS=$save_LIBS
   12359     ;;
   12360   esac
   12361 
   12362   case $lt_cv_dlopen_self in
   12363   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12364   *) enable_dlopen_self=unknown ;;
   12365   esac
   12366 
   12367   case $lt_cv_dlopen_self_static in
   12368   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12369   *) enable_dlopen_self_static=unknown ;;
   12370   esac
   12371 fi
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 striplib=
   12390 old_striplib=
   12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12392 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12393 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12394   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12395   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12397 $as_echo "yes" >&6; }
   12398 else
   12399 # FIXME - insert some real tests, host_os isn't really good enough
   12400   case $host_os in
   12401   darwin*)
   12402     if test -n "$STRIP"; then
   12403       striplib="$STRIP -x"
   12404       old_striplib="$STRIP -S"
   12405       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12406 $as_echo "yes" >&6; }
   12407     else
   12408       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12409 $as_echo "no" >&6; }
   12410     fi
   12411     ;;
   12412   *)
   12413     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12414 $as_echo "no" >&6; }
   12415     ;;
   12416   esac
   12417 fi
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430   # Report what library types will actually be built
   12431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12432 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12434 $as_echo "$can_build_shared" >&6; }
   12435 
   12436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12437 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12438   test no = "$can_build_shared" && enable_shared=no
   12439 
   12440   # On AIX, shared libraries and static libraries use the same namespace, and
   12441   # are all built from PIC.
   12442   case $host_os in
   12443   aix3*)
   12444     test yes = "$enable_shared" && enable_static=no
   12445     if test -n "$RANLIB"; then
   12446       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12447       postinstall_cmds='$RANLIB $lib'
   12448     fi
   12449     ;;
   12450 
   12451   aix[4-9]*)
   12452     if test ia64 != "$host_cpu"; then
   12453       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12454       yes,aix,yes) ;;			# shared object as lib.so file only
   12455       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12456       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12457       esac
   12458     fi
   12459     ;;
   12460   esac
   12461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12462 $as_echo "$enable_shared" >&6; }
   12463 
   12464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12465 $as_echo_n "checking whether to build static libraries... " >&6; }
   12466   # Make sure either enable_shared or enable_static is yes.
   12467   test yes = "$enable_shared" || enable_static=yes
   12468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12469 $as_echo "$enable_static" >&6; }
   12470 
   12471 
   12472 
   12473 
   12474 fi
   12475 ac_ext=c
   12476 ac_cpp='$CPP $CPPFLAGS'
   12477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12480 
   12481 CC=$lt_save_CC
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497         ac_config_commands="$ac_config_commands libtool"
   12498 
   12499 
   12500 
   12501 
   12502 # Only expand once:
   12503 
   12504 
   12505 
   12506 # Check GMP Header
   12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp.h" >&5
   12508 $as_echo_n "checking for gmp.h... " >&6; }
   12509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12510 /* end confdefs.h.  */
   12511 
   12512 #include "gmp.h"
   12513 
   12514 _ACEOF
   12515 if ac_fn_c_try_compile "$LINENO"; then :
   12516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12517 $as_echo "yes" >&6; }
   12518 else
   12519 
   12520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12521 $as_echo "no" >&6; }
   12522  as_fn_error $? "gmp.h cannot be found or is unusable." "$LINENO" 5
   12523 
   12524 fi
   12525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12526 
   12527 # Check (only in development versions) if the compiler accepts warning
   12528 # flags and add them to CFLAGS
   12529 # Note: don't do this if the user defined CFLAGS, since adding new flags
   12530 # might override the user's settings, see
   12531 # http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-May/001115.html
   12532 if test -z "$USER_CFLAGS"; then
   12533 
   12534 
   12535   if echo $VERSION | grep -c dev >/dev/null 2>&1 ; then
   12536     if test "x$GCC" = "xyes" -a "x$compiler" != "xicc" -a "x$compiler" != "xg++"; then
   12537       # enable -Werror for myself (Andreas Enge)
   12538       if test "x$USER" = "xenge"; then
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545   flag=`echo "-Werror" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12546 
   12547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Werror flag" >&5
   12548 $as_echo_n "checking whether the C compiler accepts the -Werror flag... " >&6; }
   12549 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12550   $as_echo_n "(cached) " >&6
   12551 else
   12552 
   12553 
   12554     ac_ext=c
   12555 ac_cpp='$CPP $CPPFLAGS'
   12556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12559 
   12560 
   12561     save_CFLAGS="$CFLAGS"
   12562     CFLAGS="$CFLAGS -Werror"
   12563     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12564 /* end confdefs.h.  */
   12565 
   12566 
   12567 int
   12568 main ()
   12569 {
   12570 
   12571   ;
   12572   return 0;
   12573 }
   12574 
   12575 _ACEOF
   12576 if ac_fn_c_try_compile "$LINENO"; then :
   12577 
   12578       eval "ax_cv_c_check_flag_$flag=yes"
   12579 
   12580 else
   12581 
   12582       eval "ax_cv_c_check_flag_$flag=no"
   12583 
   12584 fi
   12585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12586 
   12587     CFLAGS="$save_CFLAGS"
   12588 
   12589     ac_ext=c
   12590 ac_cpp='$CPP $CPPFLAGS'
   12591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12594 
   12595 
   12596 
   12597 fi
   12598 eval ac_res=\$ax_cv_c_check_flag_$flag
   12599 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12600 $as_echo "$ac_res" >&6; }
   12601 
   12602   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12603 
   12604     :
   12605     CFLAGS="$CFLAGS -Werror"
   12606 
   12607 else
   12608 
   12609     :
   12610 
   12611 
   12612 fi
   12613 
   12614 
   12615       fi
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622   flag=`echo "-g" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12623 
   12624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -g flag" >&5
   12625 $as_echo_n "checking whether the C compiler accepts the -g flag... " >&6; }
   12626 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12627   $as_echo_n "(cached) " >&6
   12628 else
   12629 
   12630 
   12631     ac_ext=c
   12632 ac_cpp='$CPP $CPPFLAGS'
   12633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12636 
   12637 
   12638     save_CFLAGS="$CFLAGS"
   12639     CFLAGS="$CFLAGS -g"
   12640     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12641 /* end confdefs.h.  */
   12642 
   12643 
   12644 int
   12645 main ()
   12646 {
   12647 
   12648   ;
   12649   return 0;
   12650 }
   12651 
   12652 _ACEOF
   12653 if ac_fn_c_try_compile "$LINENO"; then :
   12654 
   12655       eval "ax_cv_c_check_flag_$flag=yes"
   12656 
   12657 else
   12658 
   12659       eval "ax_cv_c_check_flag_$flag=no"
   12660 
   12661 fi
   12662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12663 
   12664     CFLAGS="$save_CFLAGS"
   12665 
   12666     ac_ext=c
   12667 ac_cpp='$CPP $CPPFLAGS'
   12668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12671 
   12672 
   12673 
   12674 fi
   12675 eval ac_res=\$ax_cv_c_check_flag_$flag
   12676 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12677 $as_echo "$ac_res" >&6; }
   12678 
   12679   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12680 
   12681     :
   12682     CFLAGS="$CFLAGS -g"
   12683 
   12684 else
   12685 
   12686     :
   12687 
   12688 
   12689 fi
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698   flag=`echo "-std=c99" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12699 
   12700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -std=c99 flag" >&5
   12701 $as_echo_n "checking whether the C compiler accepts the -std=c99 flag... " >&6; }
   12702 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12703   $as_echo_n "(cached) " >&6
   12704 else
   12705 
   12706 
   12707     ac_ext=c
   12708 ac_cpp='$CPP $CPPFLAGS'
   12709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12712 
   12713 
   12714     save_CFLAGS="$CFLAGS"
   12715     CFLAGS="$CFLAGS -std=c99"
   12716     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12717 /* end confdefs.h.  */
   12718 
   12719 
   12720 int
   12721 main ()
   12722 {
   12723 
   12724   ;
   12725   return 0;
   12726 }
   12727 
   12728 _ACEOF
   12729 if ac_fn_c_try_compile "$LINENO"; then :
   12730 
   12731       eval "ax_cv_c_check_flag_$flag=yes"
   12732 
   12733 else
   12734 
   12735       eval "ax_cv_c_check_flag_$flag=no"
   12736 
   12737 fi
   12738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12739 
   12740     CFLAGS="$save_CFLAGS"
   12741 
   12742     ac_ext=c
   12743 ac_cpp='$CPP $CPPFLAGS'
   12744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12747 
   12748 
   12749 
   12750 fi
   12751 eval ac_res=\$ax_cv_c_check_flag_$flag
   12752 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12753 $as_echo "$ac_res" >&6; }
   12754 
   12755   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12756 
   12757     :
   12758     CFLAGS="$CFLAGS -std=c99"
   12759 
   12760 else
   12761 
   12762     :
   12763 
   12764 
   12765 fi
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774   flag=`echo "-Wno-long-long" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12775 
   12776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wno-long-long flag" >&5
   12777 $as_echo_n "checking whether the C compiler accepts the -Wno-long-long flag... " >&6; }
   12778 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12779   $as_echo_n "(cached) " >&6
   12780 else
   12781 
   12782 
   12783     ac_ext=c
   12784 ac_cpp='$CPP $CPPFLAGS'
   12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12788 
   12789 
   12790     save_CFLAGS="$CFLAGS"
   12791     CFLAGS="$CFLAGS -Wno-long-long"
   12792     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12793 /* end confdefs.h.  */
   12794 
   12795 
   12796 int
   12797 main ()
   12798 {
   12799 
   12800   ;
   12801   return 0;
   12802 }
   12803 
   12804 _ACEOF
   12805 if ac_fn_c_try_compile "$LINENO"; then :
   12806 
   12807       eval "ax_cv_c_check_flag_$flag=yes"
   12808 
   12809 else
   12810 
   12811       eval "ax_cv_c_check_flag_$flag=no"
   12812 
   12813 fi
   12814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12815 
   12816     CFLAGS="$save_CFLAGS"
   12817 
   12818     ac_ext=c
   12819 ac_cpp='$CPP $CPPFLAGS'
   12820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12823 
   12824 
   12825 
   12826 fi
   12827 eval ac_res=\$ax_cv_c_check_flag_$flag
   12828 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12829 $as_echo "$ac_res" >&6; }
   12830 
   12831   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12832 
   12833     :
   12834     CFLAGS="$CFLAGS -Wno-long-long"
   12835 
   12836 else
   12837 
   12838     :
   12839 
   12840 
   12841 fi
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850   flag=`echo "-Wall" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12851 
   12852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wall flag" >&5
   12853 $as_echo_n "checking whether the C compiler accepts the -Wall flag... " >&6; }
   12854 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12855   $as_echo_n "(cached) " >&6
   12856 else
   12857 
   12858 
   12859     ac_ext=c
   12860 ac_cpp='$CPP $CPPFLAGS'
   12861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12864 
   12865 
   12866     save_CFLAGS="$CFLAGS"
   12867     CFLAGS="$CFLAGS -Wall"
   12868     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12869 /* end confdefs.h.  */
   12870 
   12871 
   12872 int
   12873 main ()
   12874 {
   12875 
   12876   ;
   12877   return 0;
   12878 }
   12879 
   12880 _ACEOF
   12881 if ac_fn_c_try_compile "$LINENO"; then :
   12882 
   12883       eval "ax_cv_c_check_flag_$flag=yes"
   12884 
   12885 else
   12886 
   12887       eval "ax_cv_c_check_flag_$flag=no"
   12888 
   12889 fi
   12890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12891 
   12892     CFLAGS="$save_CFLAGS"
   12893 
   12894     ac_ext=c
   12895 ac_cpp='$CPP $CPPFLAGS'
   12896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12899 
   12900 
   12901 
   12902 fi
   12903 eval ac_res=\$ax_cv_c_check_flag_$flag
   12904 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12905 $as_echo "$ac_res" >&6; }
   12906 
   12907   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12908 
   12909     :
   12910     CFLAGS="$CFLAGS -Wall"
   12911 
   12912 else
   12913 
   12914     :
   12915 
   12916 
   12917 fi
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926   flag=`echo "-Wextra" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12927 
   12928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wextra flag" >&5
   12929 $as_echo_n "checking whether the C compiler accepts the -Wextra flag... " >&6; }
   12930 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12931   $as_echo_n "(cached) " >&6
   12932 else
   12933 
   12934 
   12935     ac_ext=c
   12936 ac_cpp='$CPP $CPPFLAGS'
   12937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12940 
   12941 
   12942     save_CFLAGS="$CFLAGS"
   12943     CFLAGS="$CFLAGS -Wextra"
   12944     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12945 /* end confdefs.h.  */
   12946 
   12947 
   12948 int
   12949 main ()
   12950 {
   12951 
   12952   ;
   12953   return 0;
   12954 }
   12955 
   12956 _ACEOF
   12957 if ac_fn_c_try_compile "$LINENO"; then :
   12958 
   12959       eval "ax_cv_c_check_flag_$flag=yes"
   12960 
   12961 else
   12962 
   12963       eval "ax_cv_c_check_flag_$flag=no"
   12964 
   12965 fi
   12966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12967 
   12968     CFLAGS="$save_CFLAGS"
   12969 
   12970     ac_ext=c
   12971 ac_cpp='$CPP $CPPFLAGS'
   12972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12975 
   12976 
   12977 
   12978 fi
   12979 eval ac_res=\$ax_cv_c_check_flag_$flag
   12980 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12981 $as_echo "$ac_res" >&6; }
   12982 
   12983   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12984 
   12985     :
   12986     CFLAGS="$CFLAGS -Wextra"
   12987 
   12988 else
   12989 
   12990     :
   12991 
   12992 
   12993 fi
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002   flag=`echo "-Wdeclaration-after-statement" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13003 
   13004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wdeclaration-after-statement flag" >&5
   13005 $as_echo_n "checking whether the C compiler accepts the -Wdeclaration-after-statement flag... " >&6; }
   13006 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13007   $as_echo_n "(cached) " >&6
   13008 else
   13009 
   13010 
   13011     ac_ext=c
   13012 ac_cpp='$CPP $CPPFLAGS'
   13013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13016 
   13017 
   13018     save_CFLAGS="$CFLAGS"
   13019     CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13020     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13021 /* end confdefs.h.  */
   13022 
   13023 
   13024 int
   13025 main ()
   13026 {
   13027 
   13028   ;
   13029   return 0;
   13030 }
   13031 
   13032 _ACEOF
   13033 if ac_fn_c_try_compile "$LINENO"; then :
   13034 
   13035       eval "ax_cv_c_check_flag_$flag=yes"
   13036 
   13037 else
   13038 
   13039       eval "ax_cv_c_check_flag_$flag=no"
   13040 
   13041 fi
   13042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13043 
   13044     CFLAGS="$save_CFLAGS"
   13045 
   13046     ac_ext=c
   13047 ac_cpp='$CPP $CPPFLAGS'
   13048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13051 
   13052 
   13053 
   13054 fi
   13055 eval ac_res=\$ax_cv_c_check_flag_$flag
   13056 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13057 $as_echo "$ac_res" >&6; }
   13058 
   13059   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13060 
   13061     :
   13062     CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13063 
   13064 else
   13065 
   13066     :
   13067 
   13068 
   13069 fi
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078   flag=`echo "-Wshadow" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13079 
   13080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wshadow flag" >&5
   13081 $as_echo_n "checking whether the C compiler accepts the -Wshadow flag... " >&6; }
   13082 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13083   $as_echo_n "(cached) " >&6
   13084 else
   13085 
   13086 
   13087     ac_ext=c
   13088 ac_cpp='$CPP $CPPFLAGS'
   13089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13092 
   13093 
   13094     save_CFLAGS="$CFLAGS"
   13095     CFLAGS="$CFLAGS -Wshadow"
   13096     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13097 /* end confdefs.h.  */
   13098 
   13099 
   13100 int
   13101 main ()
   13102 {
   13103 
   13104   ;
   13105   return 0;
   13106 }
   13107 
   13108 _ACEOF
   13109 if ac_fn_c_try_compile "$LINENO"; then :
   13110 
   13111       eval "ax_cv_c_check_flag_$flag=yes"
   13112 
   13113 else
   13114 
   13115       eval "ax_cv_c_check_flag_$flag=no"
   13116 
   13117 fi
   13118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13119 
   13120     CFLAGS="$save_CFLAGS"
   13121 
   13122     ac_ext=c
   13123 ac_cpp='$CPP $CPPFLAGS'
   13124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13127 
   13128 
   13129 
   13130 fi
   13131 eval ac_res=\$ax_cv_c_check_flag_$flag
   13132 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13133 $as_echo "$ac_res" >&6; }
   13134 
   13135   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13136 
   13137     :
   13138     CFLAGS="$CFLAGS -Wshadow"
   13139 
   13140 else
   13141 
   13142     :
   13143 
   13144 
   13145 fi
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154   flag=`echo "-Wstrict-prototypes" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13155 
   13156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wstrict-prototypes flag" >&5
   13157 $as_echo_n "checking whether the C compiler accepts the -Wstrict-prototypes flag... " >&6; }
   13158 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13159   $as_echo_n "(cached) " >&6
   13160 else
   13161 
   13162 
   13163     ac_ext=c
   13164 ac_cpp='$CPP $CPPFLAGS'
   13165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13168 
   13169 
   13170     save_CFLAGS="$CFLAGS"
   13171     CFLAGS="$CFLAGS -Wstrict-prototypes"
   13172     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13173 /* end confdefs.h.  */
   13174 
   13175 
   13176 int
   13177 main ()
   13178 {
   13179 
   13180   ;
   13181   return 0;
   13182 }
   13183 
   13184 _ACEOF
   13185 if ac_fn_c_try_compile "$LINENO"; then :
   13186 
   13187       eval "ax_cv_c_check_flag_$flag=yes"
   13188 
   13189 else
   13190 
   13191       eval "ax_cv_c_check_flag_$flag=no"
   13192 
   13193 fi
   13194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13195 
   13196     CFLAGS="$save_CFLAGS"
   13197 
   13198     ac_ext=c
   13199 ac_cpp='$CPP $CPPFLAGS'
   13200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13203 
   13204 
   13205 
   13206 fi
   13207 eval ac_res=\$ax_cv_c_check_flag_$flag
   13208 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13209 $as_echo "$ac_res" >&6; }
   13210 
   13211   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13212 
   13213     :
   13214     CFLAGS="$CFLAGS -Wstrict-prototypes"
   13215 
   13216 else
   13217 
   13218     :
   13219 
   13220 
   13221 fi
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230   flag=`echo "-Wmissing-prototypes" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13231 
   13232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wmissing-prototypes flag" >&5
   13233 $as_echo_n "checking whether the C compiler accepts the -Wmissing-prototypes flag... " >&6; }
   13234 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13235   $as_echo_n "(cached) " >&6
   13236 else
   13237 
   13238 
   13239     ac_ext=c
   13240 ac_cpp='$CPP $CPPFLAGS'
   13241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13244 
   13245 
   13246     save_CFLAGS="$CFLAGS"
   13247     CFLAGS="$CFLAGS -Wmissing-prototypes"
   13248     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13249 /* end confdefs.h.  */
   13250 
   13251 
   13252 int
   13253 main ()
   13254 {
   13255 
   13256   ;
   13257   return 0;
   13258 }
   13259 
   13260 _ACEOF
   13261 if ac_fn_c_try_compile "$LINENO"; then :
   13262 
   13263       eval "ax_cv_c_check_flag_$flag=yes"
   13264 
   13265 else
   13266 
   13267       eval "ax_cv_c_check_flag_$flag=no"
   13268 
   13269 fi
   13270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13271 
   13272     CFLAGS="$save_CFLAGS"
   13273 
   13274     ac_ext=c
   13275 ac_cpp='$CPP $CPPFLAGS'
   13276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13279 
   13280 
   13281 
   13282 fi
   13283 eval ac_res=\$ax_cv_c_check_flag_$flag
   13284 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13285 $as_echo "$ac_res" >&6; }
   13286 
   13287   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13288 
   13289     :
   13290     CFLAGS="$CFLAGS -Wmissing-prototypes"
   13291 
   13292 else
   13293 
   13294     :
   13295 
   13296 
   13297 fi
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306   flag=`echo "-Wno-unused-value" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13307 
   13308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wno-unused-value flag" >&5
   13309 $as_echo_n "checking whether the C compiler accepts the -Wno-unused-value flag... " >&6; }
   13310 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13311   $as_echo_n "(cached) " >&6
   13312 else
   13313 
   13314 
   13315     ac_ext=c
   13316 ac_cpp='$CPP $CPPFLAGS'
   13317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13320 
   13321 
   13322     save_CFLAGS="$CFLAGS"
   13323     CFLAGS="$CFLAGS -Wno-unused-value"
   13324     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13325 /* end confdefs.h.  */
   13326 
   13327 
   13328 int
   13329 main ()
   13330 {
   13331 
   13332   ;
   13333   return 0;
   13334 }
   13335 
   13336 _ACEOF
   13337 if ac_fn_c_try_compile "$LINENO"; then :
   13338 
   13339       eval "ax_cv_c_check_flag_$flag=yes"
   13340 
   13341 else
   13342 
   13343       eval "ax_cv_c_check_flag_$flag=no"
   13344 
   13345 fi
   13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13347 
   13348     CFLAGS="$save_CFLAGS"
   13349 
   13350     ac_ext=c
   13351 ac_cpp='$CPP $CPPFLAGS'
   13352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13355 
   13356 
   13357 
   13358 fi
   13359 eval ac_res=\$ax_cv_c_check_flag_$flag
   13360 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13361 $as_echo "$ac_res" >&6; }
   13362 
   13363   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13364 
   13365     :
   13366     CFLAGS="$CFLAGS -Wno-unused-value"
   13367 
   13368 else
   13369 
   13370     :
   13371 
   13372 
   13373 fi
   13374 
   13375 
   13376     fi
   13377   fi
   13378 
   13379 fi
   13380 
   13381 
   13382 # Checks for header files.
   13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   13384 $as_echo_n "checking for ANSI C header files... " >&6; }
   13385 if ${ac_cv_header_stdc+:} false; then :
   13386   $as_echo_n "(cached) " >&6
   13387 else
   13388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13389 /* end confdefs.h.  */
   13390 #include <stdlib.h>
   13391 #include <stdarg.h>
   13392 #include <string.h>
   13393 #include <float.h>
   13394 
   13395 int
   13396 main ()
   13397 {
   13398 
   13399   ;
   13400   return 0;
   13401 }
   13402 _ACEOF
   13403 if ac_fn_c_try_compile "$LINENO"; then :
   13404   ac_cv_header_stdc=yes
   13405 else
   13406   ac_cv_header_stdc=no
   13407 fi
   13408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13409 
   13410 if test $ac_cv_header_stdc = yes; then
   13411   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13413 /* end confdefs.h.  */
   13414 #include <string.h>
   13415 
   13416 _ACEOF
   13417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13418   $EGREP "memchr" >/dev/null 2>&1; then :
   13419 
   13420 else
   13421   ac_cv_header_stdc=no
   13422 fi
   13423 rm -f conftest*
   13424 
   13425 fi
   13426 
   13427 if test $ac_cv_header_stdc = yes; then
   13428   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13430 /* end confdefs.h.  */
   13431 #include <stdlib.h>
   13432 
   13433 _ACEOF
   13434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13435   $EGREP "free" >/dev/null 2>&1; then :
   13436 
   13437 else
   13438   ac_cv_header_stdc=no
   13439 fi
   13440 rm -f conftest*
   13441 
   13442 fi
   13443 
   13444 if test $ac_cv_header_stdc = yes; then
   13445   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13446   if test "$cross_compiling" = yes; then :
   13447   :
   13448 else
   13449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13450 /* end confdefs.h.  */
   13451 #include <ctype.h>
   13452 #include <stdlib.h>
   13453 #if ((' ' & 0x0FF) == 0x020)
   13454 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13455 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13456 #else
   13457 # define ISLOWER(c) \
   13458 		   (('a' <= (c) && (c) <= 'i') \
   13459 		     || ('j' <= (c) && (c) <= 'r') \
   13460 		     || ('s' <= (c) && (c) <= 'z'))
   13461 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13462 #endif
   13463 
   13464 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13465 int
   13466 main ()
   13467 {
   13468   int i;
   13469   for (i = 0; i < 256; i++)
   13470     if (XOR (islower (i), ISLOWER (i))
   13471 	|| toupper (i) != TOUPPER (i))
   13472       return 2;
   13473   return 0;
   13474 }
   13475 _ACEOF
   13476 if ac_fn_c_try_run "$LINENO"; then :
   13477 
   13478 else
   13479   ac_cv_header_stdc=no
   13480 fi
   13481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13482   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13483 fi
   13484 
   13485 fi
   13486 fi
   13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   13488 $as_echo "$ac_cv_header_stdc" >&6; }
   13489 if test $ac_cv_header_stdc = yes; then
   13490 
   13491 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   13492 
   13493 fi
   13494 
   13495 for ac_header in locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h
   13496 do :
   13497   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13498 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   13499 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13500   cat >>confdefs.h <<_ACEOF
   13501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13502 _ACEOF
   13503 
   13504 fi
   13505 
   13506 done
   13507 
   13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   13509 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   13510 if ${ac_cv_header_time+:} false; then :
   13511   $as_echo_n "(cached) " >&6
   13512 else
   13513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13514 /* end confdefs.h.  */
   13515 #include <sys/types.h>
   13516 #include <sys/time.h>
   13517 #include <time.h>
   13518 
   13519 int
   13520 main ()
   13521 {
   13522 if ((struct tm *) 0)
   13523 return 0;
   13524   ;
   13525   return 0;
   13526 }
   13527 _ACEOF
   13528 if ac_fn_c_try_compile "$LINENO"; then :
   13529   ac_cv_header_time=yes
   13530 else
   13531   ac_cv_header_time=no
   13532 fi
   13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13534 fi
   13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   13536 $as_echo "$ac_cv_header_time" >&6; }
   13537 if test $ac_cv_header_time = yes; then
   13538 
   13539 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   13540 
   13541 fi
   13542 
   13543 
   13544    ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
   13545 if test "x$ac_cv_header_complex_h" = xyes; then :
   13546 
   13547 
   13548 
   13549          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing creal" >&5
   13550 $as_echo_n "checking for library containing creal... " >&6; }
   13551 if ${ac_cv_search_creal+:} false; then :
   13552   $as_echo_n "(cached) " >&6
   13553 else
   13554   ac_func_search_save_LIBS=$LIBS
   13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13556 /* end confdefs.h.  */
   13557 
   13558 /* Override any GCC internal prototype to avoid an error.
   13559    Use char because int might match the return type of a GCC
   13560    builtin and then its argument prototype would still apply.  */
   13561 #ifdef __cplusplus
   13562 extern "C"
   13563 #endif
   13564 char creal ();
   13565 int
   13566 main ()
   13567 {
   13568 return creal ();
   13569   ;
   13570   return 0;
   13571 }
   13572 _ACEOF
   13573 for ac_lib in '' m; do
   13574   if test -z "$ac_lib"; then
   13575     ac_res="none required"
   13576   else
   13577     ac_res=-l$ac_lib
   13578     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13579   fi
   13580   if ac_fn_c_try_link "$LINENO"; then :
   13581   ac_cv_search_creal=$ac_res
   13582 fi
   13583 rm -f core conftest.err conftest.$ac_objext \
   13584     conftest$ac_exeext
   13585   if ${ac_cv_search_creal+:} false; then :
   13586   break
   13587 fi
   13588 done
   13589 if ${ac_cv_search_creal+:} false; then :
   13590 
   13591 else
   13592   ac_cv_search_creal=no
   13593 fi
   13594 rm conftest.$ac_ext
   13595 LIBS=$ac_func_search_save_LIBS
   13596 fi
   13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_creal" >&5
   13598 $as_echo "$ac_cv_search_creal" >&6; }
   13599 ac_res=$ac_cv_search_creal
   13600 if test "$ac_res" != no; then :
   13601   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13602 
   13603 fi
   13604 
   13605 #           needed on Solaris
   13606          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether creal, cimag and I can be used" >&5
   13607 $as_echo_n "checking whether creal, cimag and I can be used... " >&6; }
   13608          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13609 /* end confdefs.h.  */
   13610 
   13611                #include <complex.h>
   13612 int
   13613 main ()
   13614 {
   13615 complex double x = 1.0 + 2.0 * I; return (creal (x) + cimag (x));
   13616 
   13617   ;
   13618   return 0;
   13619 }
   13620 
   13621 
   13622 _ACEOF
   13623 if ac_fn_c_try_link "$LINENO"; then :
   13624 
   13625                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13626 $as_echo "yes" >&6; }
   13627 
   13628 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
   13629 
   13630 
   13631 else
   13632 
   13633                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, build without support for C complex numbers" >&5
   13634 $as_echo "no, build without support for C complex numbers" >&6; }
   13635 
   13636 
   13637 fi
   13638 rm -f core conftest.err conftest.$ac_objext \
   13639     conftest$ac_exeext conftest.$ac_ext
   13640 
   13641 
   13642 fi
   13643 
   13644 
   13645 
   13646 
   13647 # Checks for typedefs, structures, and compiler characteristics.
   13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   13649 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   13650 if ${ac_cv_c_const+:} false; then :
   13651   $as_echo_n "(cached) " >&6
   13652 else
   13653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13654 /* end confdefs.h.  */
   13655 
   13656 int
   13657 main ()
   13658 {
   13659 
   13660 #ifndef __cplusplus
   13661   /* Ultrix mips cc rejects this sort of thing.  */
   13662   typedef int charset[2];
   13663   const charset cs = { 0, 0 };
   13664   /* SunOS 4.1.1 cc rejects this.  */
   13665   char const *const *pcpcc;
   13666   char **ppc;
   13667   /* NEC SVR4.0.2 mips cc rejects this.  */
   13668   struct point {int x, y;};
   13669   static struct point const zero = {0,0};
   13670   /* AIX XL C 1.02.0.0 rejects this.
   13671      It does not let you subtract one const X* pointer from another in
   13672      an arm of an if-expression whose if-part is not a constant
   13673      expression */
   13674   const char *g = "string";
   13675   pcpcc = &g + (g ? g-g : 0);
   13676   /* HPUX 7.0 cc rejects these. */
   13677   ++pcpcc;
   13678   ppc = (char**) pcpcc;
   13679   pcpcc = (char const *const *) ppc;
   13680   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   13681     char tx;
   13682     char *t = &tx;
   13683     char const *s = 0 ? (char *) 0 : (char const *) 0;
   13684 
   13685     *t++ = 0;
   13686     if (s) return 0;
   13687   }
   13688   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   13689     int x[] = {25, 17};
   13690     const int *foo = &x[0];
   13691     ++foo;
   13692   }
   13693   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   13694     typedef const int *iptr;
   13695     iptr p = 0;
   13696     ++p;
   13697   }
   13698   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   13699        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   13700     struct s { int j; const int *ap[3]; } bx;
   13701     struct s *b = &bx; b->j = 5;
   13702   }
   13703   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   13704     const int foo = 10;
   13705     if (!foo) return 0;
   13706   }
   13707   return !cs[0] && !zero.x;
   13708 #endif
   13709 
   13710   ;
   13711   return 0;
   13712 }
   13713 _ACEOF
   13714 if ac_fn_c_try_compile "$LINENO"; then :
   13715   ac_cv_c_const=yes
   13716 else
   13717   ac_cv_c_const=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13720 fi
   13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   13722 $as_echo "$ac_cv_c_const" >&6; }
   13723 if test $ac_cv_c_const = no; then
   13724 
   13725 $as_echo "#define const /**/" >>confdefs.h
   13726 
   13727 fi
   13728 
   13729 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   13730 if test "x$ac_cv_type_size_t" = xyes; then :
   13731 
   13732 else
   13733 
   13734 cat >>confdefs.h <<_ACEOF
   13735 #define size_t unsigned int
   13736 _ACEOF
   13737 
   13738 fi
   13739 
   13740 
   13741 # Checks for libraries.
   13742 for ac_func in gettimeofday localeconv setlocale
   13743 do :
   13744   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13746 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13747   cat >>confdefs.h <<_ACEOF
   13748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13749 _ACEOF
   13750 
   13751 fi
   13752 done
   13753 
   13754 for ac_func in dup dup2
   13755 do :
   13756   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13758 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13759   cat >>confdefs.h <<_ACEOF
   13760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13761 _ACEOF
   13762 
   13763 else
   13764 
   13765 $as_echo "#define MPC_NO_STREAM_REDIRECTION 1" >>confdefs.h
   13766 
   13767 fi
   13768 done
   13769 
   13770 
   13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
   13772 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
   13773 if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
   13774   $as_echo_n "(cached) " >&6
   13775 else
   13776   ac_check_lib_save_LIBS=$LIBS
   13777 LIBS="-lgmp  $LIBS"
   13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13779 /* end confdefs.h.  */
   13780 
   13781 /* Override any GCC internal prototype to avoid an error.
   13782    Use char because int might match the return type of a GCC
   13783    builtin and then its argument prototype would still apply.  */
   13784 #ifdef __cplusplus
   13785 extern "C"
   13786 #endif
   13787 char __gmpz_init ();
   13788 int
   13789 main ()
   13790 {
   13791 return __gmpz_init ();
   13792   ;
   13793   return 0;
   13794 }
   13795 _ACEOF
   13796 if ac_fn_c_try_link "$LINENO"; then :
   13797   ac_cv_lib_gmp___gmpz_init=yes
   13798 else
   13799   ac_cv_lib_gmp___gmpz_init=no
   13800 fi
   13801 rm -f core conftest.err conftest.$ac_objext \
   13802     conftest$ac_exeext conftest.$ac_ext
   13803 LIBS=$ac_check_lib_save_LIBS
   13804 fi
   13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
   13806 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
   13807 if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
   13808   LIBS="-lgmp $LIBS"
   13809 else
   13810   as_fn_error $? "libgmp not found or uses a different ABI (including static vs shared)." "$LINENO" 5
   13811 fi
   13812 
   13813 
   13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPFR" >&5
   13815 $as_echo_n "checking for MPFR... " >&6; }
   13816 LIBS="-lmpfr $LIBS"
   13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13818 /* end confdefs.h.  */
   13819 #include "mpfr.h"
   13820 int
   13821 main ()
   13822 {
   13823 mpfr_t x;  mpfr_init(x) ; mpfr_clear(x);
   13824 
   13825   ;
   13826   return 0;
   13827 }
   13828 _ACEOF
   13829 if ac_fn_c_try_link "$LINENO"; then :
   13830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13831 $as_echo "yes" >&6; }
   13832 else
   13833 
   13834         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13835 $as_echo "no" >&6; }
   13836         as_fn_error $? "libmpfr not found or uses a different ABI (including static vs shared)." "$LINENO" 5
   13837 
   13838 fi
   13839 rm -f core conftest.err conftest.$ac_objext \
   13840     conftest$ac_exeext conftest.$ac_ext
   13841 
   13842 # Check for a recent GMP
   13843 # We only guarantee that with a *functional* and recent enough GMP version,
   13844 # MPC will compile; we do not guarantee that GMP will compile.
   13845 # In particular fat builds are broken in GMP 4.3.2 and GMP 5.0.0
   13846 # (at least on 64-bit Core 2 under GNU/Linux),
   13847 # see http://gmplib.org/list-archives/gmp-bugs/2011-August/002345.html.
   13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent GMP" >&5
   13849 $as_echo_n "checking for recent GMP... " >&6; }
   13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13851 /* end confdefs.h.  */
   13852 
   13853 #include "gmp.h"
   13854 #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL < 432)
   13855 # error "Minimal GMP version is 4.3.2"
   13856 error
   13857 #endif
   13858 
   13859 _ACEOF
   13860 if ac_fn_c_try_compile "$LINENO"; then :
   13861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13862 $as_echo "yes" >&6; }
   13863 else
   13864 
   13865         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13866 $as_echo "no" >&6; }
   13867         as_fn_error $? "GMP version >= 4.3.2 required" "$LINENO" 5
   13868 
   13869 fi
   13870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13871 
   13872 # Check for a recent MPFR: we require MPFR 2.4.2 so that the tests
   13873 # in log.dat pass
   13874 # The same remark as above for GMP applies.
   13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent MPFR" >&5
   13876 $as_echo_n "checking for recent MPFR... " >&6; }
   13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13878 /* end confdefs.h.  */
   13879 
   13880 #include "mpfr.h"
   13881 #if (MPFR_VERSION < MPFR_VERSION_NUM (2,4,2))
   13882 # error "Minimal MPFR version is 2.4.2"
   13883 error
   13884 #endif
   13885 
   13886 _ACEOF
   13887 if ac_fn_c_try_compile "$LINENO"; then :
   13888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13889 $as_echo "yes" >&6; }
   13890 else
   13891 
   13892          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13893 $as_echo "no" >&6; }
   13894          as_fn_error $? "MPFR version >= 2.4.2 required" "$LINENO" 5
   13895 
   13896 fi
   13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13898 
   13899 # Check for logging feature
   13900 if test "x$enable_logging" = "xyes"; then :
   13901   for ac_header in dlfcn.h
   13902 do :
   13903   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   13904 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13905   cat >>confdefs.h <<_ACEOF
   13906 #define HAVE_DLFCN_H 1
   13907 _ACEOF
   13908 
   13909 fi
   13910 
   13911 done
   13912 
   13913         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
   13914 $as_echo_n "checking for dlsym in -ldl... " >&6; }
   13915 if ${ac_cv_lib_dl_dlsym+:} false; then :
   13916   $as_echo_n "(cached) " >&6
   13917 else
   13918   ac_check_lib_save_LIBS=$LIBS
   13919 LIBS="-ldl  $LIBS"
   13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13921 /* end confdefs.h.  */
   13922 
   13923 /* Override any GCC internal prototype to avoid an error.
   13924    Use char because int might match the return type of a GCC
   13925    builtin and then its argument prototype would still apply.  */
   13926 #ifdef __cplusplus
   13927 extern "C"
   13928 #endif
   13929 char dlsym ();
   13930 int
   13931 main ()
   13932 {
   13933 return dlsym ();
   13934   ;
   13935   return 0;
   13936 }
   13937 _ACEOF
   13938 if ac_fn_c_try_link "$LINENO"; then :
   13939   ac_cv_lib_dl_dlsym=yes
   13940 else
   13941   ac_cv_lib_dl_dlsym=no
   13942 fi
   13943 rm -f core conftest.err conftest.$ac_objext \
   13944     conftest$ac_exeext conftest.$ac_ext
   13945 LIBS=$ac_check_lib_save_LIBS
   13946 fi
   13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
   13948 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
   13949 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
   13950 
   13951 
   13952 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
   13953 
   13954             LIBS="-ldl $LIBS"
   13955 
   13956   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   13957 if test "x$ac_cv_type_intptr_t" = xyes; then :
   13958 
   13959 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
   13960 
   13961 else
   13962   for ac_type in 'int' 'long int' 'long long int'; do
   13963        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13964 /* end confdefs.h.  */
   13965 $ac_includes_default
   13966 int
   13967 main ()
   13968 {
   13969 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   13970 test_array [0] = 0;
   13971 return test_array [0];
   13972 
   13973   ;
   13974   return 0;
   13975 }
   13976 _ACEOF
   13977 if ac_fn_c_try_compile "$LINENO"; then :
   13978 
   13979 cat >>confdefs.h <<_ACEOF
   13980 #define intptr_t $ac_type
   13981 _ACEOF
   13982 
   13983 	  ac_type=
   13984 fi
   13985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13986        test -z "$ac_type" && break
   13987      done
   13988 fi
   13989 
   13990 
   13991             case " $LIBOBJS " in
   13992   *" logging.$ac_objext "* ) ;;
   13993   *) LIBOBJS="$LIBOBJS logging.$ac_objext"
   13994  ;;
   13995 esac
   13996 
   13997             MPC_LOG_H=src/mpc-log.h
   13998 
   13999 
   14000 else
   14001   as_fn_error $? "Library dl not found, logging impossible" "$LINENO" 5
   14002 fi
   14003 
   14004 
   14005 
   14006 fi
   14007 
   14008 # Configs for Windows DLLs
   14009 
   14010 enable_win32_dll=yes
   14011 
   14012 case $host in
   14013 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   14014   if test -n "$ac_tool_prefix"; then
   14015   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   14016 set dummy ${ac_tool_prefix}as; ac_word=$2
   14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14018 $as_echo_n "checking for $ac_word... " >&6; }
   14019 if ${ac_cv_prog_AS+:} false; then :
   14020   $as_echo_n "(cached) " >&6
   14021 else
   14022   if test -n "$AS"; then
   14023   ac_cv_prog_AS="$AS" # Let the user override the test.
   14024 else
   14025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14026 for as_dir in $PATH
   14027 do
   14028   IFS=$as_save_IFS
   14029   test -z "$as_dir" && as_dir=.
   14030     for ac_exec_ext in '' $ac_executable_extensions; do
   14031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14032     ac_cv_prog_AS="${ac_tool_prefix}as"
   14033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14034     break 2
   14035   fi
   14036 done
   14037   done
   14038 IFS=$as_save_IFS
   14039 
   14040 fi
   14041 fi
   14042 AS=$ac_cv_prog_AS
   14043 if test -n "$AS"; then
   14044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   14045 $as_echo "$AS" >&6; }
   14046 else
   14047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14048 $as_echo "no" >&6; }
   14049 fi
   14050 
   14051 
   14052 fi
   14053 if test -z "$ac_cv_prog_AS"; then
   14054   ac_ct_AS=$AS
   14055   # Extract the first word of "as", so it can be a program name with args.
   14056 set dummy as; ac_word=$2
   14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14058 $as_echo_n "checking for $ac_word... " >&6; }
   14059 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   14060   $as_echo_n "(cached) " >&6
   14061 else
   14062   if test -n "$ac_ct_AS"; then
   14063   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   14064 else
   14065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14066 for as_dir in $PATH
   14067 do
   14068   IFS=$as_save_IFS
   14069   test -z "$as_dir" && as_dir=.
   14070     for ac_exec_ext in '' $ac_executable_extensions; do
   14071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14072     ac_cv_prog_ac_ct_AS="as"
   14073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14074     break 2
   14075   fi
   14076 done
   14077   done
   14078 IFS=$as_save_IFS
   14079 
   14080 fi
   14081 fi
   14082 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   14083 if test -n "$ac_ct_AS"; then
   14084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   14085 $as_echo "$ac_ct_AS" >&6; }
   14086 else
   14087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14088 $as_echo "no" >&6; }
   14089 fi
   14090 
   14091   if test "x$ac_ct_AS" = x; then
   14092     AS="false"
   14093   else
   14094     case $cross_compiling:$ac_tool_warned in
   14095 yes:)
   14096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14098 ac_tool_warned=yes ;;
   14099 esac
   14100     AS=$ac_ct_AS
   14101   fi
   14102 else
   14103   AS="$ac_cv_prog_AS"
   14104 fi
   14105 
   14106   if test -n "$ac_tool_prefix"; then
   14107   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   14108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14110 $as_echo_n "checking for $ac_word... " >&6; }
   14111 if ${ac_cv_prog_DLLTOOL+:} false; then :
   14112   $as_echo_n "(cached) " >&6
   14113 else
   14114   if test -n "$DLLTOOL"; then
   14115   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   14116 else
   14117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14118 for as_dir in $PATH
   14119 do
   14120   IFS=$as_save_IFS
   14121   test -z "$as_dir" && as_dir=.
   14122     for ac_exec_ext in '' $ac_executable_extensions; do
   14123   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14124     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   14125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14126     break 2
   14127   fi
   14128 done
   14129   done
   14130 IFS=$as_save_IFS
   14131 
   14132 fi
   14133 fi
   14134 DLLTOOL=$ac_cv_prog_DLLTOOL
   14135 if test -n "$DLLTOOL"; then
   14136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   14137 $as_echo "$DLLTOOL" >&6; }
   14138 else
   14139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14140 $as_echo "no" >&6; }
   14141 fi
   14142 
   14143 
   14144 fi
   14145 if test -z "$ac_cv_prog_DLLTOOL"; then
   14146   ac_ct_DLLTOOL=$DLLTOOL
   14147   # Extract the first word of "dlltool", so it can be a program name with args.
   14148 set dummy dlltool; ac_word=$2
   14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14150 $as_echo_n "checking for $ac_word... " >&6; }
   14151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   14152   $as_echo_n "(cached) " >&6
   14153 else
   14154   if test -n "$ac_ct_DLLTOOL"; then
   14155   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   14156 else
   14157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14158 for as_dir in $PATH
   14159 do
   14160   IFS=$as_save_IFS
   14161   test -z "$as_dir" && as_dir=.
   14162     for ac_exec_ext in '' $ac_executable_extensions; do
   14163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14164     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   14165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14166     break 2
   14167   fi
   14168 done
   14169   done
   14170 IFS=$as_save_IFS
   14171 
   14172 fi
   14173 fi
   14174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   14175 if test -n "$ac_ct_DLLTOOL"; then
   14176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   14177 $as_echo "$ac_ct_DLLTOOL" >&6; }
   14178 else
   14179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14180 $as_echo "no" >&6; }
   14181 fi
   14182 
   14183   if test "x$ac_ct_DLLTOOL" = x; then
   14184     DLLTOOL="false"
   14185   else
   14186     case $cross_compiling:$ac_tool_warned in
   14187 yes:)
   14188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14190 ac_tool_warned=yes ;;
   14191 esac
   14192     DLLTOOL=$ac_ct_DLLTOOL
   14193   fi
   14194 else
   14195   DLLTOOL="$ac_cv_prog_DLLTOOL"
   14196 fi
   14197 
   14198   if test -n "$ac_tool_prefix"; then
   14199   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   14200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14202 $as_echo_n "checking for $ac_word... " >&6; }
   14203 if ${ac_cv_prog_OBJDUMP+:} false; then :
   14204   $as_echo_n "(cached) " >&6
   14205 else
   14206   if test -n "$OBJDUMP"; then
   14207   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   14208 else
   14209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14210 for as_dir in $PATH
   14211 do
   14212   IFS=$as_save_IFS
   14213   test -z "$as_dir" && as_dir=.
   14214     for ac_exec_ext in '' $ac_executable_extensions; do
   14215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14216     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   14217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14218     break 2
   14219   fi
   14220 done
   14221   done
   14222 IFS=$as_save_IFS
   14223 
   14224 fi
   14225 fi
   14226 OBJDUMP=$ac_cv_prog_OBJDUMP
   14227 if test -n "$OBJDUMP"; then
   14228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   14229 $as_echo "$OBJDUMP" >&6; }
   14230 else
   14231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14232 $as_echo "no" >&6; }
   14233 fi
   14234 
   14235 
   14236 fi
   14237 if test -z "$ac_cv_prog_OBJDUMP"; then
   14238   ac_ct_OBJDUMP=$OBJDUMP
   14239   # Extract the first word of "objdump", so it can be a program name with args.
   14240 set dummy objdump; ac_word=$2
   14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14242 $as_echo_n "checking for $ac_word... " >&6; }
   14243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   14244   $as_echo_n "(cached) " >&6
   14245 else
   14246   if test -n "$ac_ct_OBJDUMP"; then
   14247   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   14248 else
   14249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14250 for as_dir in $PATH
   14251 do
   14252   IFS=$as_save_IFS
   14253   test -z "$as_dir" && as_dir=.
   14254     for ac_exec_ext in '' $ac_executable_extensions; do
   14255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14256     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   14257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14258     break 2
   14259   fi
   14260 done
   14261   done
   14262 IFS=$as_save_IFS
   14263 
   14264 fi
   14265 fi
   14266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   14267 if test -n "$ac_ct_OBJDUMP"; then
   14268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   14269 $as_echo "$ac_ct_OBJDUMP" >&6; }
   14270 else
   14271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14272 $as_echo "no" >&6; }
   14273 fi
   14274 
   14275   if test "x$ac_ct_OBJDUMP" = x; then
   14276     OBJDUMP="false"
   14277   else
   14278     case $cross_compiling:$ac_tool_warned in
   14279 yes:)
   14280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14282 ac_tool_warned=yes ;;
   14283 esac
   14284     OBJDUMP=$ac_ct_OBJDUMP
   14285   fi
   14286 else
   14287   OBJDUMP="$ac_cv_prog_OBJDUMP"
   14288 fi
   14289 
   14290   ;;
   14291 esac
   14292 
   14293 test -z "$AS" && AS=as
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 test -z "$DLLTOOL" && DLLTOOL=dlltool
   14300 
   14301 
   14302 test -z "$OBJDUMP" && OBJDUMP=objdump
   14303 
   14304 
   14305 
   14306 
   14307 case $host in
   14308   *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
   14309 
   14310    if test "$enable_shared" = yes; then
   14311      MPC_LDFLAGS="$MPC_LDFLAGS -no-undefined"
   14312      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLL/static gmp" >&5
   14313 $as_echo_n "checking for DLL/static gmp... " >&6; }
   14314      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14315 /* end confdefs.h.  */
   14316 
   14317 #include "gmp.h"
   14318 #if !__GMP_LIBGMP_DLL
   14319 #error
   14320 error
   14321 #endif
   14322 
   14323 int
   14324 main ()
   14325 {
   14326 
   14327   ;
   14328   return 0;
   14329 }
   14330 _ACEOF
   14331 if ac_fn_c_try_compile "$LINENO"; then :
   14332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   14333 $as_echo "DLL" >&6; }
   14334 else
   14335 
   14336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   14337 $as_echo "static" >&6; }
   14338   as_fn_error $? "gmp is not available as a DLL: use --enable-static --disable-shared" "$LINENO" 5
   14339 fi
   14340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14341      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLL/static mpfr" >&5
   14342 $as_echo_n "checking for DLL/static mpfr... " >&6; }
   14343      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14344 /* end confdefs.h.  */
   14345 
   14346 #include "mpfr.h"
   14347 #if !__GMP_LIBGMP_DLL
   14348 #error
   14349 error
   14350 #endif
   14351 
   14352 int
   14353 main ()
   14354 {
   14355 
   14356   ;
   14357   return 0;
   14358 }
   14359 _ACEOF
   14360 if ac_fn_c_try_compile "$LINENO"; then :
   14361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   14362 $as_echo "DLL" >&6; }
   14363 else
   14364 
   14365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   14366 $as_echo "static" >&6; }
   14367   as_fn_error $? "mpfr is not available as a DLL: use --enable-static --disable-shared" "$LINENO" 5
   14368 fi
   14369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14370    else
   14371      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14372 /* end confdefs.h.  */
   14373 
   14374 #include "gmp.h"
   14375 #if __GMP_LIBGMP_DLL
   14376 #error
   14377 error
   14378 #endif
   14379 
   14380 int
   14381 main ()
   14382 {
   14383 
   14384   ;
   14385   return 0;
   14386 }
   14387 _ACEOF
   14388 if ac_fn_c_try_compile "$LINENO"; then :
   14389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   14390 $as_echo "static" >&6; }
   14391 else
   14392 
   14393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   14394 $as_echo "DLL" >&6; }
   14395   as_fn_error $? "gmp is only available as a DLL: use --disable-static --enable-shared" "$LINENO" 5
   14396 fi
   14397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14398   fi
   14399   ;;
   14400 
   14401 esac
   14402 
   14403 # Checks for gcc version, result in variables MPC_GCC etc. inside config.log
   14404 
   14405   GCC_VERSION=""
   14406 
   14407 
   14408 
   14409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
   14410 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
   14411 
   14412   if  test "x$GCC" = "xyes" ; then :
   14413 
   14414     if  test -z "" ; then :
   14415 
   14416       ax_gcc_option_test="int main()
   14417 {
   14418 	return 0;
   14419 }"
   14420 
   14421 else
   14422 
   14423       ax_gcc_option_test=""
   14424 
   14425 fi
   14426 
   14427     # Dump the test program to file
   14428     cat <<EOF > conftest.c
   14429 $ax_gcc_option_test
   14430 EOF
   14431 
   14432     # Dump back the file to the log, useful for debugging purposes
   14433     { ac_try='cat conftest.c 1>&5'
   14434   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   14435   (eval $ac_try) 2>&5
   14436   ac_status=$?
   14437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14438   test $ac_status = 0; }; }
   14439 
   14440     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
   14441   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   14442   (eval $ac_try) 2>&5
   14443   ac_status=$?
   14444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14445   test $ac_status = 0; }; } ; then :
   14446 
   14447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14448 $as_echo "yes" >&6; }
   14449 
   14450     ax_gcc_version_option=yes
   14451 
   14452 
   14453 else
   14454 
   14455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14456 $as_echo "no" >&6; }
   14457 
   14458     ax_gcc_version_option=no
   14459 
   14460 
   14461 fi
   14462 
   14463 else
   14464 
   14465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
   14466 $as_echo "no gcc available" >&6; }
   14467 
   14468 fi
   14469 
   14470   if test "x$GCC" = "xyes"; then :
   14471 
   14472     if test "x$ax_gcc_version_option" != "xno"; then :
   14473 
   14474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
   14475 $as_echo_n "checking gcc version... " >&6; }
   14476 if ${ax_cv_gcc_version+:} false; then :
   14477   $as_echo_n "(cached) " >&6
   14478 else
   14479 
   14480         ax_cv_gcc_version="`$CC -dumpversion`"
   14481         if test "x$ax_cv_gcc_version" = "x"; then :
   14482 
   14483           ax_cv_gcc_version=""
   14484 
   14485 fi
   14486 
   14487 fi
   14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
   14489 $as_echo "$ax_cv_gcc_version" >&6; }
   14490       GCC_VERSION=$ax_cv_gcc_version
   14491 
   14492 fi
   14493 
   14494 fi
   14495 
   14496 
   14497 
   14498 cat >>confdefs.h <<_ACEOF
   14499 #define MPC_GCC "$GCC"
   14500 _ACEOF
   14501 
   14502 
   14503 cat >>confdefs.h <<_ACEOF
   14504 #define MPC_CC "$CC"
   14505 _ACEOF
   14506 
   14507 
   14508 cat >>confdefs.h <<_ACEOF
   14509 #define MPC_GCC_VERSION "$GCC_VERSION"
   14510 _ACEOF
   14511 
   14512 
   14513 # Looks for short git hash if the version string contains "dev"
   14514 
   14515    if echo $VERSION | grep -c dev >/dev/null 2>&1 ; then
   14516       # Extract the first word of "git", so it can be a program name with args.
   14517 set dummy git; ac_word=$2
   14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14519 $as_echo_n "checking for $ac_word... " >&6; }
   14520 if ${ac_cv_prog_HASGIT+:} false; then :
   14521   $as_echo_n "(cached) " >&6
   14522 else
   14523   if test -n "$HASGIT"; then
   14524   ac_cv_prog_HASGIT="$HASGIT" # Let the user override the test.
   14525 else
   14526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14527 for as_dir in $PATH
   14528 do
   14529   IFS=$as_save_IFS
   14530   test -z "$as_dir" && as_dir=.
   14531     for ac_exec_ext in '' $ac_executable_extensions; do
   14532   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14533     ac_cv_prog_HASGIT="yes"
   14534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14535     break 2
   14536   fi
   14537 done
   14538   done
   14539 IFS=$as_save_IFS
   14540 
   14541   test -z "$ac_cv_prog_HASGIT" && ac_cv_prog_HASGIT="no"
   14542 fi
   14543 fi
   14544 HASGIT=$ac_cv_prog_HASGIT
   14545 if test -n "$HASGIT"; then
   14546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASGIT" >&5
   14547 $as_echo "$HASGIT" >&6; }
   14548 else
   14549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14550 $as_echo "no" >&6; }
   14551 fi
   14552 
   14553 
   14554       if test "x$HASGIT" = "xyes"; then :
   14555 
   14556          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for current git version" >&5
   14557 $as_echo_n "checking for current git version... " >&6; }
   14558          GITVERSION=337053c
   14559 
   14560 
   14561          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GITVERSION" >&5
   14562 $as_echo "$GITVERSION" >&6; }
   14563 
   14564 fi
   14565    fi
   14566 
   14567 
   14568 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile"
   14569 
   14570 cat >confcache <<\_ACEOF
   14571 # This file is a shell script that caches the results of configure
   14572 # tests run on this system so they can be shared between configure
   14573 # scripts and configure runs, see configure's option --config-cache.
   14574 # It is not useful on other systems.  If it contains results you don't
   14575 # want to keep, you may remove or edit it.
   14576 #
   14577 # config.status only pays attention to the cache file if you give it
   14578 # the --recheck option to rerun configure.
   14579 #
   14580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14582 # following values.
   14583 
   14584 _ACEOF
   14585 
   14586 # The following way of writing the cache mishandles newlines in values,
   14587 # but we know of no workaround that is simple, portable, and efficient.
   14588 # So, we kill variables containing newlines.
   14589 # Ultrix sh set writes to stderr and can't be redirected directly,
   14590 # and sets the high bit in the cache file unless we assign to the vars.
   14591 (
   14592   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14593     eval ac_val=\$$ac_var
   14594     case $ac_val in #(
   14595     *${as_nl}*)
   14596       case $ac_var in #(
   14597       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14599       esac
   14600       case $ac_var in #(
   14601       _ | IFS | as_nl) ;; #(
   14602       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14603       *) { eval $ac_var=; unset $ac_var;} ;;
   14604       esac ;;
   14605     esac
   14606   done
   14607 
   14608   (set) 2>&1 |
   14609     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14610     *${as_nl}ac_space=\ *)
   14611       # `set' does not quote correctly, so add quotes: double-quote
   14612       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14613       sed -n \
   14614 	"s/'/'\\\\''/g;
   14615 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14616       ;; #(
   14617     *)
   14618       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14619       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14620       ;;
   14621     esac |
   14622     sort
   14623 ) |
   14624   sed '
   14625      /^ac_cv_env_/b end
   14626      t clear
   14627      :clear
   14628      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14629      t end
   14630      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14631      :end' >>confcache
   14632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14633   if test -w "$cache_file"; then
   14634     if test "x$cache_file" != "x/dev/null"; then
   14635       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14636 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14637       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14638 	cat confcache >"$cache_file"
   14639       else
   14640         case $cache_file in #(
   14641         */* | ?:*)
   14642 	  mv -f confcache "$cache_file"$$ &&
   14643 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14644         *)
   14645 	  mv -f confcache "$cache_file" ;;
   14646 	esac
   14647       fi
   14648     fi
   14649   else
   14650     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14652   fi
   14653 fi
   14654 rm -f confcache
   14655 
   14656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14657 # Let make expand exec_prefix.
   14658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14659 
   14660 DEFS=-DHAVE_CONFIG_H
   14661 
   14662 ac_libobjs=
   14663 ac_ltlibobjs=
   14664 U=
   14665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14666   # 1. Remove the extension, and $U if already installed.
   14667   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14668   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14669   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14670   #    will be set to the directory where LIBOBJS objects are built.
   14671   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14672   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14673 done
   14674 LIBOBJS=$ac_libobjs
   14675 
   14676 LTLIBOBJS=$ac_ltlibobjs
   14677 
   14678 
   14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14680 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   14681    if test -n "$am_sleep_pid"; then
   14682      # Hide warnings about reused PIDs.
   14683      wait $am_sleep_pid 2>/dev/null
   14684    fi
   14685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14686 $as_echo "done" >&6; }
   14687  if test -n "$EXEEXT"; then
   14688   am__EXEEXT_TRUE=
   14689   am__EXEEXT_FALSE='#'
   14690 else
   14691   am__EXEEXT_TRUE='#'
   14692   am__EXEEXT_FALSE=
   14693 fi
   14694 
   14695 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14696   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14698 fi
   14699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14700   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14702 fi
   14703 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14704   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14706 fi
   14707 
   14708 : "${CONFIG_STATUS=./config.status}"
   14709 ac_write_fail=0
   14710 ac_clean_files_save=$ac_clean_files
   14711 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14713 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14714 as_write_fail=0
   14715 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14716 #! $SHELL
   14717 # Generated by $as_me.
   14718 # Run this file to recreate the current configuration.
   14719 # Compiler output produced by configure, useful for debugging
   14720 # configure, is in config.log if it exists.
   14721 
   14722 debug=false
   14723 ac_cs_recheck=false
   14724 ac_cs_silent=false
   14725 
   14726 SHELL=\${CONFIG_SHELL-$SHELL}
   14727 export SHELL
   14728 _ASEOF
   14729 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14730 ## -------------------- ##
   14731 ## M4sh Initialization. ##
   14732 ## -------------------- ##
   14733 
   14734 # Be more Bourne compatible
   14735 DUALCASE=1; export DUALCASE # for MKS sh
   14736 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14737   emulate sh
   14738   NULLCMD=:
   14739   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14740   # is contrary to our usage.  Disable this feature.
   14741   alias -g '${1+"$@"}'='"$@"'
   14742   setopt NO_GLOB_SUBST
   14743 else
   14744   case `(set -o) 2>/dev/null` in #(
   14745   *posix*) :
   14746     set -o posix ;; #(
   14747   *) :
   14748      ;;
   14749 esac
   14750 fi
   14751 
   14752 
   14753 as_nl='
   14754 '
   14755 export as_nl
   14756 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14757 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14758 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14759 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14760 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14761 # but without wasting forks for bash or zsh.
   14762 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14763     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14764   as_echo='print -r --'
   14765   as_echo_n='print -rn --'
   14766 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14767   as_echo='printf %s\n'
   14768   as_echo_n='printf %s'
   14769 else
   14770   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14771     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14772     as_echo_n='/usr/ucb/echo -n'
   14773   else
   14774     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14775     as_echo_n_body='eval
   14776       arg=$1;
   14777       case $arg in #(
   14778       *"$as_nl"*)
   14779 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14780 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14781       esac;
   14782       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14783     '
   14784     export as_echo_n_body
   14785     as_echo_n='sh -c $as_echo_n_body as_echo'
   14786   fi
   14787   export as_echo_body
   14788   as_echo='sh -c $as_echo_body as_echo'
   14789 fi
   14790 
   14791 # The user is always right.
   14792 if test "${PATH_SEPARATOR+set}" != set; then
   14793   PATH_SEPARATOR=:
   14794   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14795     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14796       PATH_SEPARATOR=';'
   14797   }
   14798 fi
   14799 
   14800 
   14801 # IFS
   14802 # We need space, tab and new line, in precisely that order.  Quoting is
   14803 # there to prevent editors from complaining about space-tab.
   14804 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14805 # splitting by setting IFS to empty value.)
   14806 IFS=" ""	$as_nl"
   14807 
   14808 # Find who we are.  Look in the path if we contain no directory separator.
   14809 as_myself=
   14810 case $0 in #((
   14811   *[\\/]* ) as_myself=$0 ;;
   14812   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14813 for as_dir in $PATH
   14814 do
   14815   IFS=$as_save_IFS
   14816   test -z "$as_dir" && as_dir=.
   14817     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14818   done
   14819 IFS=$as_save_IFS
   14820 
   14821      ;;
   14822 esac
   14823 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14824 # in which case we are not to be found in the path.
   14825 if test "x$as_myself" = x; then
   14826   as_myself=$0
   14827 fi
   14828 if test ! -f "$as_myself"; then
   14829   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14830   exit 1
   14831 fi
   14832 
   14833 # Unset variables that we do not need and which cause bugs (e.g. in
   14834 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14835 # suppresses any "Segmentation fault" message there.  '((' could
   14836 # trigger a bug in pdksh 5.2.14.
   14837 for as_var in BASH_ENV ENV MAIL MAILPATH
   14838 do eval test x\${$as_var+set} = xset \
   14839   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14840 done
   14841 PS1='$ '
   14842 PS2='> '
   14843 PS4='+ '
   14844 
   14845 # NLS nuisances.
   14846 LC_ALL=C
   14847 export LC_ALL
   14848 LANGUAGE=C
   14849 export LANGUAGE
   14850 
   14851 # CDPATH.
   14852 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14853 
   14854 
   14855 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14856 # ----------------------------------------
   14857 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14858 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14859 # script with STATUS, using 1 if that was 0.
   14860 as_fn_error ()
   14861 {
   14862   as_status=$1; test $as_status -eq 0 && as_status=1
   14863   if test "$4"; then
   14864     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14865     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14866   fi
   14867   $as_echo "$as_me: error: $2" >&2
   14868   as_fn_exit $as_status
   14869 } # as_fn_error
   14870 
   14871 
   14872 # as_fn_set_status STATUS
   14873 # -----------------------
   14874 # Set $? to STATUS, without forking.
   14875 as_fn_set_status ()
   14876 {
   14877   return $1
   14878 } # as_fn_set_status
   14879 
   14880 # as_fn_exit STATUS
   14881 # -----------------
   14882 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14883 as_fn_exit ()
   14884 {
   14885   set +e
   14886   as_fn_set_status $1
   14887   exit $1
   14888 } # as_fn_exit
   14889 
   14890 # as_fn_unset VAR
   14891 # ---------------
   14892 # Portably unset VAR.
   14893 as_fn_unset ()
   14894 {
   14895   { eval $1=; unset $1;}
   14896 }
   14897 as_unset=as_fn_unset
   14898 # as_fn_append VAR VALUE
   14899 # ----------------------
   14900 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14901 # advantage of any shell optimizations that allow amortized linear growth over
   14902 # repeated appends, instead of the typical quadratic growth present in naive
   14903 # implementations.
   14904 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14905   eval 'as_fn_append ()
   14906   {
   14907     eval $1+=\$2
   14908   }'
   14909 else
   14910   as_fn_append ()
   14911   {
   14912     eval $1=\$$1\$2
   14913   }
   14914 fi # as_fn_append
   14915 
   14916 # as_fn_arith ARG...
   14917 # ------------------
   14918 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14919 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14920 # must be portable across $(()) and expr.
   14921 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14922   eval 'as_fn_arith ()
   14923   {
   14924     as_val=$(( $* ))
   14925   }'
   14926 else
   14927   as_fn_arith ()
   14928   {
   14929     as_val=`expr "$@" || test $? -eq 1`
   14930   }
   14931 fi # as_fn_arith
   14932 
   14933 
   14934 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14935    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14936   as_expr=expr
   14937 else
   14938   as_expr=false
   14939 fi
   14940 
   14941 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14942   as_basename=basename
   14943 else
   14944   as_basename=false
   14945 fi
   14946 
   14947 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14948   as_dirname=dirname
   14949 else
   14950   as_dirname=false
   14951 fi
   14952 
   14953 as_me=`$as_basename -- "$0" ||
   14954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14955 	 X"$0" : 'X\(//\)$' \| \
   14956 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14957 $as_echo X/"$0" |
   14958     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14959 	    s//\1/
   14960 	    q
   14961 	  }
   14962 	  /^X\/\(\/\/\)$/{
   14963 	    s//\1/
   14964 	    q
   14965 	  }
   14966 	  /^X\/\(\/\).*/{
   14967 	    s//\1/
   14968 	    q
   14969 	  }
   14970 	  s/.*/./; q'`
   14971 
   14972 # Avoid depending upon Character Ranges.
   14973 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14974 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14975 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14976 as_cr_digits='0123456789'
   14977 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14978 
   14979 ECHO_C= ECHO_N= ECHO_T=
   14980 case `echo -n x` in #(((((
   14981 -n*)
   14982   case `echo 'xy\c'` in
   14983   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14984   xy)  ECHO_C='\c';;
   14985   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14986        ECHO_T='	';;
   14987   esac;;
   14988 *)
   14989   ECHO_N='-n';;
   14990 esac
   14991 
   14992 rm -f conf$$ conf$$.exe conf$$.file
   14993 if test -d conf$$.dir; then
   14994   rm -f conf$$.dir/conf$$.file
   14995 else
   14996   rm -f conf$$.dir
   14997   mkdir conf$$.dir 2>/dev/null
   14998 fi
   14999 if (echo >conf$$.file) 2>/dev/null; then
   15000   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15001     as_ln_s='ln -s'
   15002     # ... but there are two gotchas:
   15003     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15004     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15005     # In both cases, we have to default to `cp -pR'.
   15006     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15007       as_ln_s='cp -pR'
   15008   elif ln conf$$.file conf$$ 2>/dev/null; then
   15009     as_ln_s=ln
   15010   else
   15011     as_ln_s='cp -pR'
   15012   fi
   15013 else
   15014   as_ln_s='cp -pR'
   15015 fi
   15016 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15017 rmdir conf$$.dir 2>/dev/null
   15018 
   15019 
   15020 # as_fn_mkdir_p
   15021 # -------------
   15022 # Create "$as_dir" as a directory, including parents if necessary.
   15023 as_fn_mkdir_p ()
   15024 {
   15025 
   15026   case $as_dir in #(
   15027   -*) as_dir=./$as_dir;;
   15028   esac
   15029   test -d "$as_dir" || eval $as_mkdir_p || {
   15030     as_dirs=
   15031     while :; do
   15032       case $as_dir in #(
   15033       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15034       *) as_qdir=$as_dir;;
   15035       esac
   15036       as_dirs="'$as_qdir' $as_dirs"
   15037       as_dir=`$as_dirname -- "$as_dir" ||
   15038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15039 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15040 	 X"$as_dir" : 'X\(//\)$' \| \
   15041 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15042 $as_echo X"$as_dir" |
   15043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15044 	    s//\1/
   15045 	    q
   15046 	  }
   15047 	  /^X\(\/\/\)[^/].*/{
   15048 	    s//\1/
   15049 	    q
   15050 	  }
   15051 	  /^X\(\/\/\)$/{
   15052 	    s//\1/
   15053 	    q
   15054 	  }
   15055 	  /^X\(\/\).*/{
   15056 	    s//\1/
   15057 	    q
   15058 	  }
   15059 	  s/.*/./; q'`
   15060       test -d "$as_dir" && break
   15061     done
   15062     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15063   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15064 
   15065 
   15066 } # as_fn_mkdir_p
   15067 if mkdir -p . 2>/dev/null; then
   15068   as_mkdir_p='mkdir -p "$as_dir"'
   15069 else
   15070   test -d ./-p && rmdir ./-p
   15071   as_mkdir_p=false
   15072 fi
   15073 
   15074 
   15075 # as_fn_executable_p FILE
   15076 # -----------------------
   15077 # Test if FILE is an executable regular file.
   15078 as_fn_executable_p ()
   15079 {
   15080   test -f "$1" && test -x "$1"
   15081 } # as_fn_executable_p
   15082 as_test_x='test -x'
   15083 as_executable_p=as_fn_executable_p
   15084 
   15085 # Sed expression to map a string onto a valid CPP name.
   15086 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15087 
   15088 # Sed expression to map a string onto a valid variable name.
   15089 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15090 
   15091 
   15092 exec 6>&1
   15093 ## ----------------------------------- ##
   15094 ## Main body of $CONFIG_STATUS script. ##
   15095 ## ----------------------------------- ##
   15096 _ASEOF
   15097 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15098 
   15099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15100 # Save the log message, to keep $0 and so on meaningful, and to
   15101 # report actual input values of CONFIG_FILES etc. instead of their
   15102 # values after options handling.
   15103 ac_log="
   15104 This file was extended by mpc $as_me 1.0.3, which was
   15105 generated by GNU Autoconf 2.69.  Invocation command line was
   15106 
   15107   CONFIG_FILES    = $CONFIG_FILES
   15108   CONFIG_HEADERS  = $CONFIG_HEADERS
   15109   CONFIG_LINKS    = $CONFIG_LINKS
   15110   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15111   $ $0 $@
   15112 
   15113 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15114 "
   15115 
   15116 _ACEOF
   15117 
   15118 case $ac_config_files in *"
   15119 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15120 esac
   15121 
   15122 case $ac_config_headers in *"
   15123 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15124 esac
   15125 
   15126 
   15127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15128 # Files that config.status was made for.
   15129 config_files="$ac_config_files"
   15130 config_headers="$ac_config_headers"
   15131 config_commands="$ac_config_commands"
   15132 
   15133 _ACEOF
   15134 
   15135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15136 ac_cs_usage="\
   15137 \`$as_me' instantiates files and other configuration actions
   15138 from templates according to the current configuration.  Unless the files
   15139 and actions are specified as TAGs, all are instantiated by default.
   15140 
   15141 Usage: $0 [OPTION]... [TAG]...
   15142 
   15143   -h, --help       print this help, then exit
   15144   -V, --version    print version number and configuration settings, then exit
   15145       --config     print configuration, then exit
   15146   -q, --quiet, --silent
   15147                    do not print progress messages
   15148   -d, --debug      don't remove temporary files
   15149       --recheck    update $as_me by reconfiguring in the same conditions
   15150       --file=FILE[:TEMPLATE]
   15151                    instantiate the configuration file FILE
   15152       --header=FILE[:TEMPLATE]
   15153                    instantiate the configuration header FILE
   15154 
   15155 Configuration files:
   15156 $config_files
   15157 
   15158 Configuration headers:
   15159 $config_headers
   15160 
   15161 Configuration commands:
   15162 $config_commands
   15163 
   15164 Report bugs to <mpc-discuss@lists.gforge.inria.fr>."
   15165 
   15166 _ACEOF
   15167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15168 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15169 ac_cs_version="\\
   15170 mpc config.status 1.0.3
   15171 configured by $0, generated by GNU Autoconf 2.69,
   15172   with options \\"\$ac_cs_config\\"
   15173 
   15174 Copyright (C) 2012 Free Software Foundation, Inc.
   15175 This config.status script is free software; the Free Software Foundation
   15176 gives unlimited permission to copy, distribute and modify it."
   15177 
   15178 ac_pwd='$ac_pwd'
   15179 srcdir='$srcdir'
   15180 INSTALL='$INSTALL'
   15181 MKDIR_P='$MKDIR_P'
   15182 AWK='$AWK'
   15183 test -n "\$AWK" || AWK=awk
   15184 _ACEOF
   15185 
   15186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15187 # The default lists apply if the user does not specify any file.
   15188 ac_need_defaults=:
   15189 while test $# != 0
   15190 do
   15191   case $1 in
   15192   --*=?*)
   15193     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15194     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15195     ac_shift=:
   15196     ;;
   15197   --*=)
   15198     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15199     ac_optarg=
   15200     ac_shift=:
   15201     ;;
   15202   *)
   15203     ac_option=$1
   15204     ac_optarg=$2
   15205     ac_shift=shift
   15206     ;;
   15207   esac
   15208 
   15209   case $ac_option in
   15210   # Handling of the options.
   15211   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15212     ac_cs_recheck=: ;;
   15213   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15214     $as_echo "$ac_cs_version"; exit ;;
   15215   --config | --confi | --conf | --con | --co | --c )
   15216     $as_echo "$ac_cs_config"; exit ;;
   15217   --debug | --debu | --deb | --de | --d | -d )
   15218     debug=: ;;
   15219   --file | --fil | --fi | --f )
   15220     $ac_shift
   15221     case $ac_optarg in
   15222     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15223     '') as_fn_error $? "missing file argument" ;;
   15224     esac
   15225     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15226     ac_need_defaults=false;;
   15227   --header | --heade | --head | --hea )
   15228     $ac_shift
   15229     case $ac_optarg in
   15230     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15231     esac
   15232     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15233     ac_need_defaults=false;;
   15234   --he | --h)
   15235     # Conflict between --help and --header
   15236     as_fn_error $? "ambiguous option: \`$1'
   15237 Try \`$0 --help' for more information.";;
   15238   --help | --hel | -h )
   15239     $as_echo "$ac_cs_usage"; exit ;;
   15240   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15241   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15242     ac_cs_silent=: ;;
   15243 
   15244   # This is an error.
   15245   -*) as_fn_error $? "unrecognized option: \`$1'
   15246 Try \`$0 --help' for more information." ;;
   15247 
   15248   *) as_fn_append ac_config_targets " $1"
   15249      ac_need_defaults=false ;;
   15250 
   15251   esac
   15252   shift
   15253 done
   15254 
   15255 ac_configure_extra_args=
   15256 
   15257 if $ac_cs_silent; then
   15258   exec 6>/dev/null
   15259   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15260 fi
   15261 
   15262 _ACEOF
   15263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15264 if \$ac_cs_recheck; then
   15265   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15266   shift
   15267   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15268   CONFIG_SHELL='$SHELL'
   15269   export CONFIG_SHELL
   15270   exec "\$@"
   15271 fi
   15272 
   15273 _ACEOF
   15274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15275 exec 5>>config.log
   15276 {
   15277   echo
   15278   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15279 ## Running $as_me. ##
   15280 _ASBOX
   15281   $as_echo "$ac_log"
   15282 } >&5
   15283 
   15284 _ACEOF
   15285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15286 #
   15287 # INIT-COMMANDS
   15288 #
   15289 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15290 
   15291 
   15292 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15293 # if CDPATH is set.
   15294 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15295 
   15296 sed_quote_subst='$sed_quote_subst'
   15297 double_quote_subst='$double_quote_subst'
   15298 delay_variable_subst='$delay_variable_subst'
   15299 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15300 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15301 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15302 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15303 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15304 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15305 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   15306 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15307 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15308 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   15309 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15310 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15311 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15312 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15313 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15314 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15315 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15316 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15317 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15318 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15319 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15320 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15321 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15322 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15323 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15324 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15325 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15326 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15327 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15328 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15329 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   15330 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   15331 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15332 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15333 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15334 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15335 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15336 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   15337 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   15338 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   15339 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   15340 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15341 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15342 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   15343 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15344 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15345 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15346 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15347 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15348 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15349 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15350 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15351 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15352 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15353 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15354 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15355 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   15356 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15357 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15358 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   15359 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   15360 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   15361 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   15362 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15363 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15364 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15365 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15366 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15367 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15368 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15369 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15370 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   15371 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15372 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15373 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15374 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15375 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15376 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15377 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15378 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15379 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15380 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15381 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15382 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15383 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15384 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15385 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15386 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15387 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15388 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15389 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15390 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15391 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15392 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15393 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15394 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15395 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15396 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15397 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15398 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15399 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15400 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15401 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15402 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15403 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15404 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15405 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15406 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15407 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   15408 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15409 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15410 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15411 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15412 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15413 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15414 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15415 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15416 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15417 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15418 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15419 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15420 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15421 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15422 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15423 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15424 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15425 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15426 lt_cv_sys_lib_dlsearch_path_spec='`$ECHO "$lt_cv_sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   15427 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15428 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15429 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15430 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15431 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15432 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15433 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   15434 
   15435 LTCC='$LTCC'
   15436 LTCFLAGS='$LTCFLAGS'
   15437 compiler='$compiler_DEFAULT'
   15438 
   15439 # A function that is used when there is no print builtin or printf.
   15440 func_fallback_echo ()
   15441 {
   15442   eval 'cat <<_LTECHO_EOF
   15443 \$1
   15444 _LTECHO_EOF'
   15445 }
   15446 
   15447 # Quote evaled strings.
   15448 for var in SHELL \
   15449 ECHO \
   15450 PATH_SEPARATOR \
   15451 SED \
   15452 GREP \
   15453 EGREP \
   15454 FGREP \
   15455 LD \
   15456 NM \
   15457 LN_S \
   15458 lt_SP2NL \
   15459 lt_NL2SP \
   15460 reload_flag \
   15461 OBJDUMP \
   15462 deplibs_check_method \
   15463 file_magic_cmd \
   15464 file_magic_glob \
   15465 want_nocaseglob \
   15466 DLLTOOL \
   15467 sharedlib_from_linklib_cmd \
   15468 AR \
   15469 AR_FLAGS \
   15470 archiver_list_spec \
   15471 STRIP \
   15472 RANLIB \
   15473 CC \
   15474 CFLAGS \
   15475 compiler \
   15476 lt_cv_sys_global_symbol_pipe \
   15477 lt_cv_sys_global_symbol_to_cdecl \
   15478 lt_cv_sys_global_symbol_to_import \
   15479 lt_cv_sys_global_symbol_to_c_name_address \
   15480 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15481 lt_cv_nm_interface \
   15482 nm_file_list_spec \
   15483 lt_cv_truncate_bin \
   15484 lt_prog_compiler_no_builtin_flag \
   15485 lt_prog_compiler_pic \
   15486 lt_prog_compiler_wl \
   15487 lt_prog_compiler_static \
   15488 lt_cv_prog_compiler_c_o \
   15489 need_locks \
   15490 MANIFEST_TOOL \
   15491 DSYMUTIL \
   15492 NMEDIT \
   15493 LIPO \
   15494 OTOOL \
   15495 OTOOL64 \
   15496 shrext_cmds \
   15497 export_dynamic_flag_spec \
   15498 whole_archive_flag_spec \
   15499 compiler_needs_object \
   15500 with_gnu_ld \
   15501 allow_undefined_flag \
   15502 no_undefined_flag \
   15503 hardcode_libdir_flag_spec \
   15504 hardcode_libdir_separator \
   15505 exclude_expsyms \
   15506 include_expsyms \
   15507 file_list_spec \
   15508 variables_saved_for_relink \
   15509 libname_spec \
   15510 library_names_spec \
   15511 soname_spec \
   15512 install_override_mode \
   15513 finish_eval \
   15514 old_striplib \
   15515 striplib \
   15516 AS; do
   15517     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15518     *[\\\\\\\`\\"\\\$]*)
   15519       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   15520       ;;
   15521     *)
   15522       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15523       ;;
   15524     esac
   15525 done
   15526 
   15527 # Double-quote double-evaled strings.
   15528 for var in reload_cmds \
   15529 old_postinstall_cmds \
   15530 old_postuninstall_cmds \
   15531 old_archive_cmds \
   15532 extract_expsyms_cmds \
   15533 old_archive_from_new_cmds \
   15534 old_archive_from_expsyms_cmds \
   15535 archive_cmds \
   15536 archive_expsym_cmds \
   15537 module_cmds \
   15538 module_expsym_cmds \
   15539 export_symbols_cmds \
   15540 prelink_cmds \
   15541 postlink_cmds \
   15542 postinstall_cmds \
   15543 postuninstall_cmds \
   15544 finish_cmds \
   15545 sys_lib_search_path_spec \
   15546 lt_cv_sys_lib_dlsearch_path_spec; do
   15547     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15548     *[\\\\\\\`\\"\\\$]*)
   15549       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   15550       ;;
   15551     *)
   15552       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15553       ;;
   15554     esac
   15555 done
   15556 
   15557 ac_aux_dir='$ac_aux_dir'
   15558 
   15559 # See if we are running on zsh, and set the options that allow our
   15560 # commands through without removal of \ escapes INIT.
   15561 if test -n "\${ZSH_VERSION+set}"; then
   15562    setopt NO_GLOB_SUBST
   15563 fi
   15564 
   15565 
   15566     PACKAGE='$PACKAGE'
   15567     VERSION='$VERSION'
   15568     RM='$RM'
   15569     ofile='$ofile'
   15570 
   15571 
   15572 
   15573 
   15574 _ACEOF
   15575 
   15576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15577 
   15578 # Handling of arguments.
   15579 for ac_config_target in $ac_config_targets
   15580 do
   15581   case $ac_config_target in
   15582     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15583     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15584     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15585     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15586     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   15587     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   15588     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   15589 
   15590   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15591   esac
   15592 done
   15593 
   15594 
   15595 # If the user did not use the arguments to specify the items to instantiate,
   15596 # then the envvar interface is used.  Set only those that are not.
   15597 # We use the long form for the default assignment because of an extremely
   15598 # bizarre bug on SunOS 4.1.3.
   15599 if $ac_need_defaults; then
   15600   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15601   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15602   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15603 fi
   15604 
   15605 # Have a temporary directory for convenience.  Make it in the build tree
   15606 # simply because there is no reason against having it here, and in addition,
   15607 # creating and moving files from /tmp can sometimes cause problems.
   15608 # Hook for its removal unless debugging.
   15609 # Note that there is a small window in which the directory will not be cleaned:
   15610 # after its creation but before its name has been assigned to `$tmp'.
   15611 $debug ||
   15612 {
   15613   tmp= ac_tmp=
   15614   trap 'exit_status=$?
   15615   : "${ac_tmp:=$tmp}"
   15616   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15617 ' 0
   15618   trap 'as_fn_exit 1' 1 2 13 15
   15619 }
   15620 # Create a (secure) tmp directory for tmp files.
   15621 
   15622 {
   15623   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15624   test -d "$tmp"
   15625 }  ||
   15626 {
   15627   tmp=./conf$$-$RANDOM
   15628   (umask 077 && mkdir "$tmp")
   15629 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15630 ac_tmp=$tmp
   15631 
   15632 # Set up the scripts for CONFIG_FILES section.
   15633 # No need to generate them if there are no CONFIG_FILES.
   15634 # This happens for instance with `./config.status config.h'.
   15635 if test -n "$CONFIG_FILES"; then
   15636 
   15637 
   15638 ac_cr=`echo X | tr X '\015'`
   15639 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15640 # But we know of no other shell where ac_cr would be empty at this
   15641 # point, so we can use a bashism as a fallback.
   15642 if test "x$ac_cr" = x; then
   15643   eval ac_cr=\$\'\\r\'
   15644 fi
   15645 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15646 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15647   ac_cs_awk_cr='\\r'
   15648 else
   15649   ac_cs_awk_cr=$ac_cr
   15650 fi
   15651 
   15652 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15653 _ACEOF
   15654 
   15655 
   15656 {
   15657   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15658   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15659   echo "_ACEOF"
   15660 } >conf$$subs.sh ||
   15661   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15662 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15663 ac_delim='%!_!# '
   15664 for ac_last_try in false false false false false :; do
   15665   . ./conf$$subs.sh ||
   15666     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15667 
   15668   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15669   if test $ac_delim_n = $ac_delim_num; then
   15670     break
   15671   elif $ac_last_try; then
   15672     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15673   else
   15674     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15675   fi
   15676 done
   15677 rm -f conf$$subs.sh
   15678 
   15679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15680 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15681 _ACEOF
   15682 sed -n '
   15683 h
   15684 s/^/S["/; s/!.*/"]=/
   15685 p
   15686 g
   15687 s/^[^!]*!//
   15688 :repl
   15689 t repl
   15690 s/'"$ac_delim"'$//
   15691 t delim
   15692 :nl
   15693 h
   15694 s/\(.\{148\}\)..*/\1/
   15695 t more1
   15696 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15697 p
   15698 n
   15699 b repl
   15700 :more1
   15701 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15702 p
   15703 g
   15704 s/.\{148\}//
   15705 t nl
   15706 :delim
   15707 h
   15708 s/\(.\{148\}\)..*/\1/
   15709 t more2
   15710 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15711 p
   15712 b
   15713 :more2
   15714 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15715 p
   15716 g
   15717 s/.\{148\}//
   15718 t delim
   15719 ' <conf$$subs.awk | sed '
   15720 /^[^""]/{
   15721   N
   15722   s/\n//
   15723 }
   15724 ' >>$CONFIG_STATUS || ac_write_fail=1
   15725 rm -f conf$$subs.awk
   15726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15727 _ACAWK
   15728 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15729   for (key in S) S_is_set[key] = 1
   15730   FS = ""
   15731 
   15732 }
   15733 {
   15734   line = $ 0
   15735   nfields = split(line, field, "@")
   15736   substed = 0
   15737   len = length(field[1])
   15738   for (i = 2; i < nfields; i++) {
   15739     key = field[i]
   15740     keylen = length(key)
   15741     if (S_is_set[key]) {
   15742       value = S[key]
   15743       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15744       len += length(value) + length(field[++i])
   15745       substed = 1
   15746     } else
   15747       len += 1 + keylen
   15748   }
   15749 
   15750   print line
   15751 }
   15752 
   15753 _ACAWK
   15754 _ACEOF
   15755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15756 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15757   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15758 else
   15759   cat
   15760 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15761   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15762 _ACEOF
   15763 
   15764 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15765 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15766 # trailing colons and then remove the whole line if VPATH becomes empty
   15767 # (actually we leave an empty line to preserve line numbers).
   15768 if test "x$srcdir" = x.; then
   15769   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15770 h
   15771 s///
   15772 s/^/:/
   15773 s/[	 ]*$/:/
   15774 s/:\$(srcdir):/:/g
   15775 s/:\${srcdir}:/:/g
   15776 s/:@srcdir@:/:/g
   15777 s/^:*//
   15778 s/:*$//
   15779 x
   15780 s/\(=[	 ]*\).*/\1/
   15781 G
   15782 s/\n//
   15783 s/^[^=]*=[	 ]*$//
   15784 }'
   15785 fi
   15786 
   15787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15788 fi # test -n "$CONFIG_FILES"
   15789 
   15790 # Set up the scripts for CONFIG_HEADERS section.
   15791 # No need to generate them if there are no CONFIG_HEADERS.
   15792 # This happens for instance with `./config.status Makefile'.
   15793 if test -n "$CONFIG_HEADERS"; then
   15794 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15795 BEGIN {
   15796 _ACEOF
   15797 
   15798 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15799 # here-document in config.status, that substitutes the proper values into
   15800 # config.h.in to produce config.h.
   15801 
   15802 # Create a delimiter string that does not exist in confdefs.h, to ease
   15803 # handling of long lines.
   15804 ac_delim='%!_!# '
   15805 for ac_last_try in false false :; do
   15806   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15807   if test -z "$ac_tt"; then
   15808     break
   15809   elif $ac_last_try; then
   15810     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15811   else
   15812     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15813   fi
   15814 done
   15815 
   15816 # For the awk script, D is an array of macro values keyed by name,
   15817 # likewise P contains macro parameters if any.  Preserve backslash
   15818 # newline sequences.
   15819 
   15820 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15821 sed -n '
   15822 s/.\{148\}/&'"$ac_delim"'/g
   15823 t rset
   15824 :rset
   15825 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15826 t def
   15827 d
   15828 :def
   15829 s/\\$//
   15830 t bsnl
   15831 s/["\\]/\\&/g
   15832 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15833 D["\1"]=" \3"/p
   15834 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15835 d
   15836 :bsnl
   15837 s/["\\]/\\&/g
   15838 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15839 D["\1"]=" \3\\\\\\n"\\/p
   15840 t cont
   15841 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15842 t cont
   15843 d
   15844 :cont
   15845 n
   15846 s/.\{148\}/&'"$ac_delim"'/g
   15847 t clear
   15848 :clear
   15849 s/\\$//
   15850 t bsnlc
   15851 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15852 d
   15853 :bsnlc
   15854 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15855 b cont
   15856 ' <confdefs.h | sed '
   15857 s/'"$ac_delim"'/"\\\
   15858 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15859 
   15860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15861   for (key in D) D_is_set[key] = 1
   15862   FS = ""
   15863 }
   15864 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15865   line = \$ 0
   15866   split(line, arg, " ")
   15867   if (arg[1] == "#") {
   15868     defundef = arg[2]
   15869     mac1 = arg[3]
   15870   } else {
   15871     defundef = substr(arg[1], 2)
   15872     mac1 = arg[2]
   15873   }
   15874   split(mac1, mac2, "(") #)
   15875   macro = mac2[1]
   15876   prefix = substr(line, 1, index(line, defundef) - 1)
   15877   if (D_is_set[macro]) {
   15878     # Preserve the white space surrounding the "#".
   15879     print prefix "define", macro P[macro] D[macro]
   15880     next
   15881   } else {
   15882     # Replace #undef with comments.  This is necessary, for example,
   15883     # in the case of _POSIX_SOURCE, which is predefined and required
   15884     # on some systems where configure will not decide to define it.
   15885     if (defundef == "undef") {
   15886       print "/*", prefix defundef, macro, "*/"
   15887       next
   15888     }
   15889   }
   15890 }
   15891 { print }
   15892 _ACAWK
   15893 _ACEOF
   15894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15895   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15896 fi # test -n "$CONFIG_HEADERS"
   15897 
   15898 
   15899 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15900 shift
   15901 for ac_tag
   15902 do
   15903   case $ac_tag in
   15904   :[FHLC]) ac_mode=$ac_tag; continue;;
   15905   esac
   15906   case $ac_mode$ac_tag in
   15907   :[FHL]*:*);;
   15908   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15909   :[FH]-) ac_tag=-:-;;
   15910   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15911   esac
   15912   ac_save_IFS=$IFS
   15913   IFS=:
   15914   set x $ac_tag
   15915   IFS=$ac_save_IFS
   15916   shift
   15917   ac_file=$1
   15918   shift
   15919 
   15920   case $ac_mode in
   15921   :L) ac_source=$1;;
   15922   :[FH])
   15923     ac_file_inputs=
   15924     for ac_f
   15925     do
   15926       case $ac_f in
   15927       -) ac_f="$ac_tmp/stdin";;
   15928       *) # Look for the file first in the build tree, then in the source tree
   15929 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15930 	 # because $ac_f cannot contain `:'.
   15931 	 test -f "$ac_f" ||
   15932 	   case $ac_f in
   15933 	   [\\/$]*) false;;
   15934 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15935 	   esac ||
   15936 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15937       esac
   15938       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15939       as_fn_append ac_file_inputs " '$ac_f'"
   15940     done
   15941 
   15942     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15943     # use $as_me), people would be surprised to read:
   15944     #    /* config.h.  Generated by config.status.  */
   15945     configure_input='Generated from '`
   15946 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15947 	`' by configure.'
   15948     if test x"$ac_file" != x-; then
   15949       configure_input="$ac_file.  $configure_input"
   15950       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15951 $as_echo "$as_me: creating $ac_file" >&6;}
   15952     fi
   15953     # Neutralize special characters interpreted by sed in replacement strings.
   15954     case $configure_input in #(
   15955     *\&* | *\|* | *\\* )
   15956        ac_sed_conf_input=`$as_echo "$configure_input" |
   15957        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15958     *) ac_sed_conf_input=$configure_input;;
   15959     esac
   15960 
   15961     case $ac_tag in
   15962     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15963       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15964     esac
   15965     ;;
   15966   esac
   15967 
   15968   ac_dir=`$as_dirname -- "$ac_file" ||
   15969 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15970 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15971 	 X"$ac_file" : 'X\(//\)$' \| \
   15972 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15973 $as_echo X"$ac_file" |
   15974     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15975 	    s//\1/
   15976 	    q
   15977 	  }
   15978 	  /^X\(\/\/\)[^/].*/{
   15979 	    s//\1/
   15980 	    q
   15981 	  }
   15982 	  /^X\(\/\/\)$/{
   15983 	    s//\1/
   15984 	    q
   15985 	  }
   15986 	  /^X\(\/\).*/{
   15987 	    s//\1/
   15988 	    q
   15989 	  }
   15990 	  s/.*/./; q'`
   15991   as_dir="$ac_dir"; as_fn_mkdir_p
   15992   ac_builddir=.
   15993 
   15994 case "$ac_dir" in
   15995 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15996 *)
   15997   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15998   # A ".." for each directory in $ac_dir_suffix.
   15999   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16000   case $ac_top_builddir_sub in
   16001   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16002   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16003   esac ;;
   16004 esac
   16005 ac_abs_top_builddir=$ac_pwd
   16006 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16007 # for backward compatibility:
   16008 ac_top_builddir=$ac_top_build_prefix
   16009 
   16010 case $srcdir in
   16011   .)  # We are building in place.
   16012     ac_srcdir=.
   16013     ac_top_srcdir=$ac_top_builddir_sub
   16014     ac_abs_top_srcdir=$ac_pwd ;;
   16015   [\\/]* | ?:[\\/]* )  # Absolute name.
   16016     ac_srcdir=$srcdir$ac_dir_suffix;
   16017     ac_top_srcdir=$srcdir
   16018     ac_abs_top_srcdir=$srcdir ;;
   16019   *) # Relative name.
   16020     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16021     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16022     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16023 esac
   16024 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16025 
   16026 
   16027   case $ac_mode in
   16028   :F)
   16029   #
   16030   # CONFIG_FILE
   16031   #
   16032 
   16033   case $INSTALL in
   16034   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16035   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16036   esac
   16037   ac_MKDIR_P=$MKDIR_P
   16038   case $MKDIR_P in
   16039   [\\/$]* | ?:[\\/]* ) ;;
   16040   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16041   esac
   16042 _ACEOF
   16043 
   16044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16045 # If the template does not know about datarootdir, expand it.
   16046 # FIXME: This hack should be removed a few years after 2.60.
   16047 ac_datarootdir_hack=; ac_datarootdir_seen=
   16048 ac_sed_dataroot='
   16049 /datarootdir/ {
   16050   p
   16051   q
   16052 }
   16053 /@datadir@/p
   16054 /@docdir@/p
   16055 /@infodir@/p
   16056 /@localedir@/p
   16057 /@mandir@/p'
   16058 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16059 *datarootdir*) ac_datarootdir_seen=yes;;
   16060 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16061   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16062 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16063 _ACEOF
   16064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16065   ac_datarootdir_hack='
   16066   s&@datadir@&$datadir&g
   16067   s&@docdir@&$docdir&g
   16068   s&@infodir@&$infodir&g
   16069   s&@localedir@&$localedir&g
   16070   s&@mandir@&$mandir&g
   16071   s&\\\${datarootdir}&$datarootdir&g' ;;
   16072 esac
   16073 _ACEOF
   16074 
   16075 # Neutralize VPATH when `$srcdir' = `.'.
   16076 # Shell code in configure.ac might set extrasub.
   16077 # FIXME: do we really want to maintain this feature?
   16078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16079 ac_sed_extra="$ac_vpsub
   16080 $extrasub
   16081 _ACEOF
   16082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16083 :t
   16084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16085 s|@configure_input@|$ac_sed_conf_input|;t t
   16086 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16087 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16088 s&@srcdir@&$ac_srcdir&;t t
   16089 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16090 s&@top_srcdir@&$ac_top_srcdir&;t t
   16091 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16092 s&@builddir@&$ac_builddir&;t t
   16093 s&@abs_builddir@&$ac_abs_builddir&;t t
   16094 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16095 s&@INSTALL@&$ac_INSTALL&;t t
   16096 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16097 $ac_datarootdir_hack
   16098 "
   16099 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   16100   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16101 
   16102 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16103   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16104   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16105       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16106   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16107 which seems to be undefined.  Please make sure it is defined" >&5
   16108 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16109 which seems to be undefined.  Please make sure it is defined" >&2;}
   16110 
   16111   rm -f "$ac_tmp/stdin"
   16112   case $ac_file in
   16113   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16114   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16115   esac \
   16116   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16117  ;;
   16118   :H)
   16119   #
   16120   # CONFIG_HEADER
   16121   #
   16122   if test x"$ac_file" != x-; then
   16123     {
   16124       $as_echo "/* $configure_input  */" \
   16125       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   16126     } >"$ac_tmp/config.h" \
   16127       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16128     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   16129       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16130 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16131     else
   16132       rm -f "$ac_file"
   16133       mv "$ac_tmp/config.h" "$ac_file" \
   16134 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16135     fi
   16136   else
   16137     $as_echo "/* $configure_input  */" \
   16138       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16139       || as_fn_error $? "could not create -" "$LINENO" 5
   16140   fi
   16141 # Compute "$ac_file"'s index in $config_headers.
   16142 _am_arg="$ac_file"
   16143 _am_stamp_count=1
   16144 for _am_header in $config_headers :; do
   16145   case $_am_header in
   16146     $_am_arg | $_am_arg:* )
   16147       break ;;
   16148     * )
   16149       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16150   esac
   16151 done
   16152 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16153 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16154 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16155 	 X"$_am_arg" : 'X\(//\)$' \| \
   16156 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16157 $as_echo X"$_am_arg" |
   16158     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16159 	    s//\1/
   16160 	    q
   16161 	  }
   16162 	  /^X\(\/\/\)[^/].*/{
   16163 	    s//\1/
   16164 	    q
   16165 	  }
   16166 	  /^X\(\/\/\)$/{
   16167 	    s//\1/
   16168 	    q
   16169 	  }
   16170 	  /^X\(\/\).*/{
   16171 	    s//\1/
   16172 	    q
   16173 	  }
   16174 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16175  ;;
   16176 
   16177   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16178 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16179  ;;
   16180   esac
   16181 
   16182 
   16183   case $ac_file$ac_mode in
   16184     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16185   # Older Autoconf quotes --file arguments for eval, but not when files
   16186   # are listed without --file.  Let's play safe and only enable the eval
   16187   # if we detect the quoting.
   16188   case $CONFIG_FILES in
   16189   *\'*) eval set x "$CONFIG_FILES" ;;
   16190   *)   set x $CONFIG_FILES ;;
   16191   esac
   16192   shift
   16193   for mf
   16194   do
   16195     # Strip MF so we end up with the name of the file.
   16196     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16197     # Check whether this is an Automake generated Makefile or not.
   16198     # We used to match only the files named 'Makefile.in', but
   16199     # some people rename them; so instead we look at the file content.
   16200     # Grep'ing the first line is not enough: some people post-process
   16201     # each Makefile.in and add a new line on top of each file to say so.
   16202     # Grep'ing the whole file is not good either: AIX grep has a line
   16203     # limit of 2048, but all sed's we know have understand at least 4000.
   16204     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16205       dirpart=`$as_dirname -- "$mf" ||
   16206 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16207 	 X"$mf" : 'X\(//\)[^/]' \| \
   16208 	 X"$mf" : 'X\(//\)$' \| \
   16209 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16210 $as_echo X"$mf" |
   16211     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16212 	    s//\1/
   16213 	    q
   16214 	  }
   16215 	  /^X\(\/\/\)[^/].*/{
   16216 	    s//\1/
   16217 	    q
   16218 	  }
   16219 	  /^X\(\/\/\)$/{
   16220 	    s//\1/
   16221 	    q
   16222 	  }
   16223 	  /^X\(\/\).*/{
   16224 	    s//\1/
   16225 	    q
   16226 	  }
   16227 	  s/.*/./; q'`
   16228     else
   16229       continue
   16230     fi
   16231     # Extract the definition of DEPDIR, am__include, and am__quote
   16232     # from the Makefile without running 'make'.
   16233     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16234     test -z "$DEPDIR" && continue
   16235     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16236     test -z "$am__include" && continue
   16237     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16238     # Find all dependency output files, they are included files with
   16239     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16240     # simplest approach to changing $(DEPDIR) to its actual value in the
   16241     # expansion.
   16242     for file in `sed -n "
   16243       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16244 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   16245       # Make sure the directory exists.
   16246       test -f "$dirpart/$file" && continue
   16247       fdir=`$as_dirname -- "$file" ||
   16248 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16249 	 X"$file" : 'X\(//\)[^/]' \| \
   16250 	 X"$file" : 'X\(//\)$' \| \
   16251 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16252 $as_echo X"$file" |
   16253     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16254 	    s//\1/
   16255 	    q
   16256 	  }
   16257 	  /^X\(\/\/\)[^/].*/{
   16258 	    s//\1/
   16259 	    q
   16260 	  }
   16261 	  /^X\(\/\/\)$/{
   16262 	    s//\1/
   16263 	    q
   16264 	  }
   16265 	  /^X\(\/\).*/{
   16266 	    s//\1/
   16267 	    q
   16268 	  }
   16269 	  s/.*/./; q'`
   16270       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16271       # echo "creating $dirpart/$file"
   16272       echo '# dummy' > "$dirpart/$file"
   16273     done
   16274   done
   16275 }
   16276  ;;
   16277     "libtool":C)
   16278 
   16279     # See if we are running on zsh, and set the options that allow our
   16280     # commands through without removal of \ escapes.
   16281     if test -n "${ZSH_VERSION+set}"; then
   16282       setopt NO_GLOB_SUBST
   16283     fi
   16284 
   16285     cfgfile=${ofile}T
   16286     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16287     $RM "$cfgfile"
   16288 
   16289     cat <<_LT_EOF >> "$cfgfile"
   16290 #! $SHELL
   16291 # Generated automatically by $as_me ($PACKAGE) $VERSION
   16292 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16293 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16294 
   16295 # Provide generalized library-building support services.
   16296 # Written by Gordon Matzigkeit, 1996
   16297 
   16298 # Copyright (C) 2014 Free Software Foundation, Inc.
   16299 # This is free software; see the source for copying conditions.  There is NO
   16300 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   16301 
   16302 # GNU Libtool is free software; you can redistribute it and/or modify
   16303 # it under the terms of the GNU General Public License as published by
   16304 # the Free Software Foundation; either version 2 of of the License, or
   16305 # (at your option) any later version.
   16306 #
   16307 # As a special exception to the GNU General Public License, if you
   16308 # distribute this file as part of a program or library that is built
   16309 # using GNU Libtool, you may include this file under the  same
   16310 # distribution terms that you use for the rest of that program.
   16311 #
   16312 # GNU Libtool is distributed in the hope that it will be useful, but
   16313 # WITHOUT ANY WARRANTY; without even the implied warranty of
   16314 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16315 # GNU General Public License for more details.
   16316 #
   16317 # You should have received a copy of the GNU General Public License
   16318 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   16319 
   16320 
   16321 # The names of the tagged configurations supported by this script.
   16322 available_tags=''
   16323 
   16324 # Configured defaults for sys_lib_dlsearch_path munging.
   16325 : \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"}
   16326 
   16327 # ### BEGIN LIBTOOL CONFIG
   16328 
   16329 # Which release of libtool.m4 was used?
   16330 macro_version=$macro_version
   16331 macro_revision=$macro_revision
   16332 
   16333 # Whether or not to build shared libraries.
   16334 build_libtool_libs=$enable_shared
   16335 
   16336 # Whether or not to build static libraries.
   16337 build_old_libs=$enable_static
   16338 
   16339 # What type of objects to build.
   16340 pic_mode=$pic_mode
   16341 
   16342 # Whether or not to optimize for fast installation.
   16343 fast_install=$enable_fast_install
   16344 
   16345 # Shared archive member basename,for filename based shared library versioning on AIX.
   16346 shared_archive_member_spec=$shared_archive_member_spec
   16347 
   16348 # Shell to use when invoking shell scripts.
   16349 SHELL=$lt_SHELL
   16350 
   16351 # An echo program that protects backslashes.
   16352 ECHO=$lt_ECHO
   16353 
   16354 # The PATH separator for the build system.
   16355 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   16356 
   16357 # The host system.
   16358 host_alias=$host_alias
   16359 host=$host
   16360 host_os=$host_os
   16361 
   16362 # The build system.
   16363 build_alias=$build_alias
   16364 build=$build
   16365 build_os=$build_os
   16366 
   16367 # A sed program that does not truncate output.
   16368 SED=$lt_SED
   16369 
   16370 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16371 Xsed="\$SED -e 1s/^X//"
   16372 
   16373 # A grep program that handles long lines.
   16374 GREP=$lt_GREP
   16375 
   16376 # An ERE matcher.
   16377 EGREP=$lt_EGREP
   16378 
   16379 # A literal string matcher.
   16380 FGREP=$lt_FGREP
   16381 
   16382 # A BSD- or MS-compatible name lister.
   16383 NM=$lt_NM
   16384 
   16385 # Whether we need soft or hard links.
   16386 LN_S=$lt_LN_S
   16387 
   16388 # What is the maximum length of a command?
   16389 max_cmd_len=$max_cmd_len
   16390 
   16391 # Object file suffix (normally "o").
   16392 objext=$ac_objext
   16393 
   16394 # Executable file suffix (normally "").
   16395 exeext=$exeext
   16396 
   16397 # whether the shell understands "unset".
   16398 lt_unset=$lt_unset
   16399 
   16400 # turn spaces into newlines.
   16401 SP2NL=$lt_lt_SP2NL
   16402 
   16403 # turn newlines into spaces.
   16404 NL2SP=$lt_lt_NL2SP
   16405 
   16406 # convert \$build file names to \$host format.
   16407 to_host_file_cmd=$lt_cv_to_host_file_cmd
   16408 
   16409 # convert \$build files to toolchain format.
   16410 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   16411 
   16412 # An object symbol dumper.
   16413 OBJDUMP=$lt_OBJDUMP
   16414 
   16415 # Method to check whether dependent libraries are shared objects.
   16416 deplibs_check_method=$lt_deplibs_check_method
   16417 
   16418 # Command to use when deplibs_check_method = "file_magic".
   16419 file_magic_cmd=$lt_file_magic_cmd
   16420 
   16421 # How to find potential files when deplibs_check_method = "file_magic".
   16422 file_magic_glob=$lt_file_magic_glob
   16423 
   16424 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   16425 want_nocaseglob=$lt_want_nocaseglob
   16426 
   16427 # DLL creation program.
   16428 DLLTOOL=$lt_DLLTOOL
   16429 
   16430 # Command to associate shared and link libraries.
   16431 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   16432 
   16433 # The archiver.
   16434 AR=$lt_AR
   16435 
   16436 # Flags to create an archive.
   16437 AR_FLAGS=$lt_AR_FLAGS
   16438 
   16439 # How to feed a file listing to the archiver.
   16440 archiver_list_spec=$lt_archiver_list_spec
   16441 
   16442 # A symbol stripping program.
   16443 STRIP=$lt_STRIP
   16444 
   16445 # Commands used to install an old-style archive.
   16446 RANLIB=$lt_RANLIB
   16447 old_postinstall_cmds=$lt_old_postinstall_cmds
   16448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16449 
   16450 # Whether to use a lock for old archive extraction.
   16451 lock_old_archive_extraction=$lock_old_archive_extraction
   16452 
   16453 # A C compiler.
   16454 LTCC=$lt_CC
   16455 
   16456 # LTCC compiler flags.
   16457 LTCFLAGS=$lt_CFLAGS
   16458 
   16459 # Take the output of nm and produce a listing of raw symbols and C names.
   16460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16461 
   16462 # Transform the output of nm in a proper C declaration.
   16463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16464 
   16465 # Transform the output of nm into a list of symbols to manually relocate.
   16466 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   16467 
   16468 # Transform the output of nm in a C name address pair.
   16469 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16470 
   16471 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16472 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16473 
   16474 # The name lister interface.
   16475 nm_interface=$lt_lt_cv_nm_interface
   16476 
   16477 # Specify filename containing input files for \$NM.
   16478 nm_file_list_spec=$lt_nm_file_list_spec
   16479 
   16480 # The root where to search for dependent libraries,and where our libraries should be installed.
   16481 lt_sysroot=$lt_sysroot
   16482 
   16483 # Command to truncate a binary pipe.
   16484 lt_truncate_bin=$lt_lt_cv_truncate_bin
   16485 
   16486 # The name of the directory that contains temporary libtool files.
   16487 objdir=$objdir
   16488 
   16489 # Used to examine libraries when file_magic_cmd begins with "file".
   16490 MAGIC_CMD=$MAGIC_CMD
   16491 
   16492 # Must we lock files when doing compilation?
   16493 need_locks=$lt_need_locks
   16494 
   16495 # Manifest tool.
   16496 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   16497 
   16498 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16499 DSYMUTIL=$lt_DSYMUTIL
   16500 
   16501 # Tool to change global to local symbols on Mac OS X.
   16502 NMEDIT=$lt_NMEDIT
   16503 
   16504 # Tool to manipulate fat objects and archives on Mac OS X.
   16505 LIPO=$lt_LIPO
   16506 
   16507 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16508 OTOOL=$lt_OTOOL
   16509 
   16510 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16511 OTOOL64=$lt_OTOOL64
   16512 
   16513 # Old archive suffix (normally "a").
   16514 libext=$libext
   16515 
   16516 # Shared library suffix (normally ".so").
   16517 shrext_cmds=$lt_shrext_cmds
   16518 
   16519 # The commands to extract the exported symbol list from a shared archive.
   16520 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16521 
   16522 # Variables whose values should be saved in libtool wrapper scripts and
   16523 # restored at link time.
   16524 variables_saved_for_relink=$lt_variables_saved_for_relink
   16525 
   16526 # Do we need the "lib" prefix for modules?
   16527 need_lib_prefix=$need_lib_prefix
   16528 
   16529 # Do we need a version for libraries?
   16530 need_version=$need_version
   16531 
   16532 # Library versioning type.
   16533 version_type=$version_type
   16534 
   16535 # Shared library runtime path variable.
   16536 runpath_var=$runpath_var
   16537 
   16538 # Shared library path variable.
   16539 shlibpath_var=$shlibpath_var
   16540 
   16541 # Is shlibpath searched before the hard-coded library search path?
   16542 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16543 
   16544 # Format of library name prefix.
   16545 libname_spec=$lt_libname_spec
   16546 
   16547 # List of archive names.  First name is the real one, the rest are links.
   16548 # The last name is the one that the linker finds with -lNAME
   16549 library_names_spec=$lt_library_names_spec
   16550 
   16551 # The coded name of the library, if different from the real name.
   16552 soname_spec=$lt_soname_spec
   16553 
   16554 # Permission mode override for installation of shared libraries.
   16555 install_override_mode=$lt_install_override_mode
   16556 
   16557 # Command to use after installation of a shared archive.
   16558 postinstall_cmds=$lt_postinstall_cmds
   16559 
   16560 # Command to use after uninstallation of a shared archive.
   16561 postuninstall_cmds=$lt_postuninstall_cmds
   16562 
   16563 # Commands used to finish a libtool library installation in a directory.
   16564 finish_cmds=$lt_finish_cmds
   16565 
   16566 # As "finish_cmds", except a single script fragment to be evaled but
   16567 # not shown.
   16568 finish_eval=$lt_finish_eval
   16569 
   16570 # Whether we should hardcode library paths into libraries.
   16571 hardcode_into_libs=$hardcode_into_libs
   16572 
   16573 # Compile-time system search path for libraries.
   16574 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16575 
   16576 # Run-time system search path for libraries.
   16577 sys_lib_dlsearch_path_spec=$lt_lt_cv_sys_lib_dlsearch_path_spec
   16578 
   16579 # Whether dlopen is supported.
   16580 dlopen_support=$enable_dlopen
   16581 
   16582 # Whether dlopen of programs is supported.
   16583 dlopen_self=$enable_dlopen_self
   16584 
   16585 # Whether dlopen of statically linked programs is supported.
   16586 dlopen_self_static=$enable_dlopen_self_static
   16587 
   16588 # Commands to strip libraries.
   16589 old_striplib=$lt_old_striplib
   16590 striplib=$lt_striplib
   16591 
   16592 # Assembler program.
   16593 AS=$lt_AS
   16594 
   16595 
   16596 # The linker used to build libraries.
   16597 LD=$lt_LD
   16598 
   16599 # How to create reloadable object files.
   16600 reload_flag=$lt_reload_flag
   16601 reload_cmds=$lt_reload_cmds
   16602 
   16603 # Commands used to build an old-style archive.
   16604 old_archive_cmds=$lt_old_archive_cmds
   16605 
   16606 # A language specific compiler.
   16607 CC=$lt_compiler
   16608 
   16609 # Is the compiler the GNU compiler?
   16610 with_gcc=$GCC
   16611 
   16612 # Compiler flag to turn off builtin functions.
   16613 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16614 
   16615 # Additional compiler flags for building library objects.
   16616 pic_flag=$lt_lt_prog_compiler_pic
   16617 
   16618 # How to pass a linker flag through the compiler.
   16619 wl=$lt_lt_prog_compiler_wl
   16620 
   16621 # Compiler flag to prevent dynamic linking.
   16622 link_static_flag=$lt_lt_prog_compiler_static
   16623 
   16624 # Does compiler simultaneously support -c and -o options?
   16625 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16626 
   16627 # Whether or not to add -lc for building shared libraries.
   16628 build_libtool_need_lc=$archive_cmds_need_lc
   16629 
   16630 # Whether or not to disallow shared libs when runtime libs are static.
   16631 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16632 
   16633 # Compiler flag to allow reflexive dlopens.
   16634 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16635 
   16636 # Compiler flag to generate shared objects directly from archives.
   16637 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16638 
   16639 # Whether the compiler copes with passing no objects directly.
   16640 compiler_needs_object=$lt_compiler_needs_object
   16641 
   16642 # Create an old-style archive from a shared archive.
   16643 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16644 
   16645 # Create a temporary old-style archive to link instead of a shared archive.
   16646 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16647 
   16648 # Commands used to build a shared archive.
   16649 archive_cmds=$lt_archive_cmds
   16650 archive_expsym_cmds=$lt_archive_expsym_cmds
   16651 
   16652 # Commands used to build a loadable module if different from building
   16653 # a shared archive.
   16654 module_cmds=$lt_module_cmds
   16655 module_expsym_cmds=$lt_module_expsym_cmds
   16656 
   16657 # Whether we are building with GNU ld or not.
   16658 with_gnu_ld=$lt_with_gnu_ld
   16659 
   16660 # Flag that allows shared libraries with undefined symbols to be built.
   16661 allow_undefined_flag=$lt_allow_undefined_flag
   16662 
   16663 # Flag that enforces no undefined symbols.
   16664 no_undefined_flag=$lt_no_undefined_flag
   16665 
   16666 # Flag to hardcode \$libdir into a binary during linking.
   16667 # This must work even if \$libdir does not exist
   16668 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16669 
   16670 # Whether we need a single "-rpath" flag with a separated argument.
   16671 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16672 
   16673 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   16674 # DIR into the resulting binary.
   16675 hardcode_direct=$hardcode_direct
   16676 
   16677 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   16678 # DIR into the resulting binary and the resulting library dependency is
   16679 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   16680 # library is relocated.
   16681 hardcode_direct_absolute=$hardcode_direct_absolute
   16682 
   16683 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16684 # into the resulting binary.
   16685 hardcode_minus_L=$hardcode_minus_L
   16686 
   16687 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16688 # into the resulting binary.
   16689 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16690 
   16691 # Set to "yes" if building a shared library automatically hardcodes DIR
   16692 # into the library and all subsequent libraries and executables linked
   16693 # against it.
   16694 hardcode_automatic=$hardcode_automatic
   16695 
   16696 # Set to yes if linker adds runtime paths of dependent libraries
   16697 # to runtime path list.
   16698 inherit_rpath=$inherit_rpath
   16699 
   16700 # Whether libtool must link a program against all its dependency libraries.
   16701 link_all_deplibs=$link_all_deplibs
   16702 
   16703 # Set to "yes" if exported symbols are required.
   16704 always_export_symbols=$always_export_symbols
   16705 
   16706 # The commands to list exported symbols.
   16707 export_symbols_cmds=$lt_export_symbols_cmds
   16708 
   16709 # Symbols that should not be listed in the preloaded symbols.
   16710 exclude_expsyms=$lt_exclude_expsyms
   16711 
   16712 # Symbols that must always be exported.
   16713 include_expsyms=$lt_include_expsyms
   16714 
   16715 # Commands necessary for linking programs (against libraries) with templates.
   16716 prelink_cmds=$lt_prelink_cmds
   16717 
   16718 # Commands necessary for finishing linking programs.
   16719 postlink_cmds=$lt_postlink_cmds
   16720 
   16721 # Specify filename containing input files.
   16722 file_list_spec=$lt_file_list_spec
   16723 
   16724 # How to hardcode a shared library path into an executable.
   16725 hardcode_action=$hardcode_action
   16726 
   16727 # ### END LIBTOOL CONFIG
   16728 
   16729 _LT_EOF
   16730 
   16731     cat <<'_LT_EOF' >> "$cfgfile"
   16732 ## -------------------------------------- ##
   16733 ## Shell functions shared with configure. ##
   16734 ## -------------------------------------- ##
   16735 
   16736 # func_munge_path_list VARIABLE PATH
   16737 # -----------------------------------
   16738 # VARIABLE is name of variable containing _space_ separated list of
   16739 # directories to be munged by the contents of PATH, which is string
   16740 # having a format:
   16741 # "DIR[:DIR]:"
   16742 #       string "DIR[ DIR]" will be prepended to VARIABLE
   16743 # ":DIR[:DIR]"
   16744 #       string "DIR[ DIR]" will be appended to VARIABLE
   16745 # "DIRP[:DIRP]::[DIRA:]DIRA"
   16746 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   16747 #       "DIRA[ DIRA]" will be appended to VARIABLE
   16748 # "DIR[:DIR]"
   16749 #       VARIABLE will be replaced by "DIR[ DIR]"
   16750 func_munge_path_list ()
   16751 {
   16752     case x$2 in
   16753     x)
   16754         ;;
   16755     *:)
   16756         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\"
   16757         ;;
   16758     x:*)
   16759         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   16760         ;;
   16761     *::*)
   16762         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   16763         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   16764         ;;
   16765     *)
   16766         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   16767         ;;
   16768     esac
   16769 }
   16770 
   16771 
   16772 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   16773 func_cc_basename ()
   16774 {
   16775     for cc_temp in $*""; do
   16776       case $cc_temp in
   16777         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16778         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16779         \-*) ;;
   16780         *) break;;
   16781       esac
   16782     done
   16783     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   16784 }
   16785 
   16786 
   16787 _LT_EOF
   16788 
   16789   case $host_os in
   16790   aix3*)
   16791     cat <<\_LT_EOF >> "$cfgfile"
   16792 # AIX sometimes has problems with the GCC collect2 program.  For some
   16793 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16794 # vanish in a puff of smoke.
   16795 if test set != "${COLLECT_NAMES+set}"; then
   16796   COLLECT_NAMES=
   16797   export COLLECT_NAMES
   16798 fi
   16799 _LT_EOF
   16800     ;;
   16801   esac
   16802 
   16803 
   16804 ltmain=$ac_aux_dir/ltmain.sh
   16805 
   16806 
   16807   # We use sed instead of cat because bash on DJGPP gets confused if
   16808   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16809   # text mode, it properly converts lines to CR/LF.  This bash problem
   16810   # is reportedly fixed, but why not run on old versions too?
   16811   sed '$q' "$ltmain" >> "$cfgfile" \
   16812      || (rm -f "$cfgfile"; exit 1)
   16813 
   16814    mv -f "$cfgfile" "$ofile" ||
   16815     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16816   chmod +x "$ofile"
   16817 
   16818  ;;
   16819 
   16820   esac
   16821 done # for ac_tag
   16822 
   16823 
   16824 as_fn_exit 0
   16825 _ACEOF
   16826 ac_clean_files=$ac_clean_files_save
   16827 
   16828 test $ac_write_fail = 0 ||
   16829   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16830 
   16831 
   16832 # configure is writing to config.log, and then calls config.status.
   16833 # config.status does its own redirection, appending to config.log.
   16834 # Unfortunately, on DOS this fails, as config.log is still kept open
   16835 # by configure, so config.status won't be able to write to it; its
   16836 # output is simply discarded.  So we exec the FD to /dev/null,
   16837 # effectively closing config.log, so it can be properly (re)opened and
   16838 # appended to by config.status.  When coming back to configure, we
   16839 # need to make the FD available again.
   16840 if test "$no_create" != yes; then
   16841   ac_cs_success=:
   16842   ac_config_status_args=
   16843   test "$silent" = yes &&
   16844     ac_config_status_args="$ac_config_status_args --quiet"
   16845   exec 5>/dev/null
   16846   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16847   exec 5>>config.log
   16848   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16849   # would make configure fail if this is the last instruction.
   16850   $ac_cs_success || as_fn_exit 1
   16851 fi
   16852 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16853   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16854 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16855 fi
   16856 
   16857