Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for mpc 1.2.1.
      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.2.1'
    594 PACKAGE_STRING='mpc 1.2.1'
    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__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 SED
    682 EGREP
    683 GREP
    684 VALGRIND_OPTS
    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 am__quote'
    763 ac_subst_files=''
    764 ac_user_opts='
    765 enable_option_checking
    766 enable_silent_rules
    767 enable_maintainer_mode
    768 with_mpfr_include
    769 with_mpfr_lib
    770 with_mpfr
    771 with_gmp_include
    772 with_gmp_lib
    773 with_gmp
    774 enable_logging
    775 enable_valgrind_tests
    776 enable_dependency_tracking
    777 enable_shared
    778 enable_static
    779 with_pic
    780 enable_fast_install
    781 with_aix_soname
    782 with_gnu_ld
    783 with_sysroot
    784 enable_libtool_lock
    785 '
    786       ac_precious_vars='build_alias
    787 host_alias
    788 target_alias
    789 CC
    790 CFLAGS
    791 LDFLAGS
    792 LIBS
    793 CPPFLAGS
    794 LT_SYS_LIBRARY_PATH
    795 CPP'
    796 
    797 
    798 # Initialize some variables set by options.
    799 ac_init_help=
    800 ac_init_version=false
    801 ac_unrecognized_opts=
    802 ac_unrecognized_sep=
    803 # The variables have the same names as the options, with
    804 # dashes changed to underlines.
    805 cache_file=/dev/null
    806 exec_prefix=NONE
    807 no_create=
    808 no_recursion=
    809 prefix=NONE
    810 program_prefix=NONE
    811 program_suffix=NONE
    812 program_transform_name=s,x,x,
    813 silent=
    814 site=
    815 srcdir=
    816 verbose=
    817 x_includes=NONE
    818 x_libraries=NONE
    819 
    820 # Installation directory options.
    821 # These are left unexpanded so users can "make install exec_prefix=/foo"
    822 # and all the variables that are supposed to be based on exec_prefix
    823 # by default will actually change.
    824 # Use braces instead of parens because sh, perl, etc. also accept them.
    825 # (The list follows the same order as the GNU Coding Standards.)
    826 bindir='${exec_prefix}/bin'
    827 sbindir='${exec_prefix}/sbin'
    828 libexecdir='${exec_prefix}/libexec'
    829 datarootdir='${prefix}/share'
    830 datadir='${datarootdir}'
    831 sysconfdir='${prefix}/etc'
    832 sharedstatedir='${prefix}/com'
    833 localstatedir='${prefix}/var'
    834 includedir='${prefix}/include'
    835 oldincludedir='/usr/include'
    836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    837 infodir='${datarootdir}/info'
    838 htmldir='${docdir}'
    839 dvidir='${docdir}'
    840 pdfdir='${docdir}'
    841 psdir='${docdir}'
    842 libdir='${exec_prefix}/lib'
    843 localedir='${datarootdir}/locale'
    844 mandir='${datarootdir}/man'
    845 
    846 ac_prev=
    847 ac_dashdash=
    848 for ac_option
    849 do
    850   # If the previous option needs an argument, assign it.
    851   if test -n "$ac_prev"; then
    852     eval $ac_prev=\$ac_option
    853     ac_prev=
    854     continue
    855   fi
    856 
    857   case $ac_option in
    858   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    859   *=)   ac_optarg= ;;
    860   *)    ac_optarg=yes ;;
    861   esac
    862 
    863   # Accept the important Cygnus configure options, so we can diagnose typos.
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: $ac_useropt"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1087     ac_prev=sbindir ;;
   1088   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1089   | --sbi=* | --sb=*)
   1090     sbindir=$ac_optarg ;;
   1091 
   1092   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1093   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1094   | --sharedst | --shareds | --shared | --share | --shar \
   1095   | --sha | --sh)
   1096     ac_prev=sharedstatedir ;;
   1097   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1098   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1099   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1100   | --sha=* | --sh=*)
   1101     sharedstatedir=$ac_optarg ;;
   1102 
   1103   -site | --site | --sit)
   1104     ac_prev=site ;;
   1105   -site=* | --site=* | --sit=*)
   1106     site=$ac_optarg ;;
   1107 
   1108   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1109     ac_prev=srcdir ;;
   1110   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1111     srcdir=$ac_optarg ;;
   1112 
   1113   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1114   | --syscon | --sysco | --sysc | --sys | --sy)
   1115     ac_prev=sysconfdir ;;
   1116   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1117   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1118     sysconfdir=$ac_optarg ;;
   1119 
   1120   -target | --target | --targe | --targ | --tar | --ta | --t)
   1121     ac_prev=target_alias ;;
   1122   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1123     target_alias=$ac_optarg ;;
   1124 
   1125   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1126     verbose=yes ;;
   1127 
   1128   -version | --version | --versio | --versi | --vers | -V)
   1129     ac_init_version=: ;;
   1130 
   1131   -with-* | --with-*)
   1132     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1133     # Reject names that are not valid shell variable names.
   1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1135       as_fn_error $? "invalid package name: $ac_useropt"
   1136     ac_useropt_orig=$ac_useropt
   1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1138     case $ac_user_opts in
   1139       *"
   1140 "with_$ac_useropt"
   1141 "*) ;;
   1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1143 	 ac_unrecognized_sep=', ';;
   1144     esac
   1145     eval with_$ac_useropt=\$ac_optarg ;;
   1146 
   1147   -without-* | --without-*)
   1148     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1149     # Reject names that are not valid shell variable names.
   1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1151       as_fn_error $? "invalid package name: $ac_useropt"
   1152     ac_useropt_orig=$ac_useropt
   1153     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1154     case $ac_user_opts in
   1155       *"
   1156 "with_$ac_useropt"
   1157 "*) ;;
   1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1159 	 ac_unrecognized_sep=', ';;
   1160     esac
   1161     eval with_$ac_useropt=no ;;
   1162 
   1163   --x)
   1164     # Obsolete; use --with-x.
   1165     with_x=yes ;;
   1166 
   1167   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1168   | --x-incl | --x-inc | --x-in | --x-i)
   1169     ac_prev=x_includes ;;
   1170   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1171   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1172     x_includes=$ac_optarg ;;
   1173 
   1174   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1175   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1176     ac_prev=x_libraries ;;
   1177   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1178   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1179     x_libraries=$ac_optarg ;;
   1180 
   1181   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1182 Try \`$0 --help' for more information"
   1183     ;;
   1184 
   1185   *=*)
   1186     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1187     # Reject names that are not valid shell variable names.
   1188     case $ac_envvar in #(
   1189       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1190       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1191     esac
   1192     eval $ac_envvar=\$ac_optarg
   1193     export $ac_envvar ;;
   1194 
   1195   *)
   1196     # FIXME: should be removed in autoconf 3.0.
   1197     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1198     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1199       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1200     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1201     ;;
   1202 
   1203   esac
   1204 done
   1205 
   1206 if test -n "$ac_prev"; then
   1207   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1208   as_fn_error $? "missing argument to $ac_option"
   1209 fi
   1210 
   1211 if test -n "$ac_unrecognized_opts"; then
   1212   case $enable_option_checking in
   1213     no) ;;
   1214     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1215     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1216   esac
   1217 fi
   1218 
   1219 # Check all directory arguments for consistency.
   1220 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1221 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1222 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1223 		libdir localedir mandir
   1224 do
   1225   eval ac_val=\$$ac_var
   1226   # Remove trailing slashes.
   1227   case $ac_val in
   1228     */ )
   1229       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1230       eval $ac_var=\$ac_val;;
   1231   esac
   1232   # Be sure to have absolute directory names.
   1233   case $ac_val in
   1234     [\\/$]* | ?:[\\/]* )  continue;;
   1235     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1236   esac
   1237   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1238 done
   1239 
   1240 # There might be people who depend on the old broken behavior: `$host'
   1241 # used to hold the argument of --host etc.
   1242 # FIXME: To remove some day.
   1243 build=$build_alias
   1244 host=$host_alias
   1245 target=$target_alias
   1246 
   1247 # FIXME: To remove some day.
   1248 if test "x$host_alias" != x; then
   1249   if test "x$build_alias" = x; then
   1250     cross_compiling=maybe
   1251   elif test "x$build_alias" != "x$host_alias"; then
   1252     cross_compiling=yes
   1253   fi
   1254 fi
   1255 
   1256 ac_tool_prefix=
   1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1258 
   1259 test "$silent" = yes && exec 6>/dev/null
   1260 
   1261 
   1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1263 ac_ls_di=`ls -di .` &&
   1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1265   as_fn_error $? "working directory cannot be determined"
   1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1267   as_fn_error $? "pwd does not report name of working directory"
   1268 
   1269 
   1270 # Find the source files, if location was not specified.
   1271 if test -z "$srcdir"; then
   1272   ac_srcdir_defaulted=yes
   1273   # Try the directory containing this script, then the parent directory.
   1274   ac_confdir=`$as_dirname -- "$as_myself" ||
   1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1276 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1277 	 X"$as_myself" : 'X\(//\)$' \| \
   1278 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1279 $as_echo X"$as_myself" |
   1280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\/\)[^/].*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  /^X\(\/\/\)$/{
   1289 	    s//\1/
   1290 	    q
   1291 	  }
   1292 	  /^X\(\/\).*/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  s/.*/./; q'`
   1297   srcdir=$ac_confdir
   1298   if test ! -r "$srcdir/$ac_unique_file"; then
   1299     srcdir=..
   1300   fi
   1301 else
   1302   ac_srcdir_defaulted=no
   1303 fi
   1304 if test ! -r "$srcdir/$ac_unique_file"; then
   1305   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1306   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1307 fi
   1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1309 ac_abs_confdir=`(
   1310 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1311 	pwd)`
   1312 # When building in place, set srcdir=.
   1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1314   srcdir=.
   1315 fi
   1316 # Remove unnecessary trailing slashes from srcdir.
   1317 # Double slashes in file names in object file debugging info
   1318 # mess up M-x gdb in Emacs.
   1319 case $srcdir in
   1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1321 esac
   1322 for ac_var in $ac_precious_vars; do
   1323   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_env_${ac_var}_value=\$${ac_var}
   1325   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1326   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1327 done
   1328 
   1329 #
   1330 # Report the --help message.
   1331 #
   1332 if test "$ac_init_help" = "long"; then
   1333   # Omit some internal or obsolete options to make the list less imposing.
   1334   # This message is too long to be a string in the A/UX 3.1 sh.
   1335   cat <<_ACEOF
   1336 \`configure' configures mpc 1.2.1 to adapt to many kinds of systems.
   1337 
   1338 Usage: $0 [OPTION]... [VAR=VALUE]...
   1339 
   1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1341 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1342 
   1343 Defaults for the options are specified in brackets.
   1344 
   1345 Configuration:
   1346   -h, --help              display this help and exit
   1347       --help=short        display options specific to this package
   1348       --help=recursive    display the short help of all the included packages
   1349   -V, --version           display version information and exit
   1350   -q, --quiet, --silent   do not print \`checking ...' messages
   1351       --cache-file=FILE   cache test results in FILE [disabled]
   1352   -C, --config-cache      alias for \`--cache-file=config.cache'
   1353   -n, --no-create         do not create output files
   1354       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1355 
   1356 Installation directories:
   1357   --prefix=PREFIX         install architecture-independent files in PREFIX
   1358                           [$ac_default_prefix]
   1359   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1360                           [PREFIX]
   1361 
   1362 By default, \`make install' will install all the files in
   1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1365 for instance \`--prefix=\$HOME'.
   1366 
   1367 For better control, use the options below.
   1368 
   1369 Fine tuning of the installation directories:
   1370   --bindir=DIR            user executables [EPREFIX/bin]
   1371   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1372   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1373   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1374   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1375   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1376   --libdir=DIR            object code libraries [EPREFIX/lib]
   1377   --includedir=DIR        C header files [PREFIX/include]
   1378   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1379   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1380   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1381   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1382   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1383   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1384   --docdir=DIR            documentation root [DATAROOTDIR/doc/mpc]
   1385   --htmldir=DIR           html documentation [DOCDIR]
   1386   --dvidir=DIR            dvi documentation [DOCDIR]
   1387   --pdfdir=DIR            pdf documentation [DOCDIR]
   1388   --psdir=DIR             ps documentation [DOCDIR]
   1389 _ACEOF
   1390 
   1391   cat <<\_ACEOF
   1392 
   1393 Program names:
   1394   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1395   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1396   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1397 
   1398 System types:
   1399   --build=BUILD     configure for building on BUILD [guessed]
   1400   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1401 _ACEOF
   1402 fi
   1403 
   1404 if test -n "$ac_init_help"; then
   1405   case $ac_init_help in
   1406      short | recursive ) echo "Configuration of mpc 1.2.1:";;
   1407    esac
   1408   cat <<\_ACEOF
   1409 
   1410 Optional Features:
   1411   --disable-option-checking  ignore unrecognized --enable/--with options
   1412   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1413   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1414   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1415   --disable-silent-rules  verbose build output (undo: "make V=0")
   1416   --enable-maintainer-mode
   1417                           enable make rules and dependencies not useful (and
   1418                           sometimes confusing) to the casual installer
   1419   --enable-logging        enable logging of function calls to stderr (default
   1420                           = no)
   1421   --enable-valgrind-tests run checks through valgrind (default = no)
   1422   --enable-dependency-tracking
   1423                           do not reject slow dependency extractors
   1424   --disable-dependency-tracking
   1425                           speeds up one-time build
   1426   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1427   --enable-static[=PKGS]  build static libraries [default=yes]
   1428   --enable-fast-install[=PKGS]
   1429                           optimize for fast installation [default=yes]
   1430   --disable-libtool-lock  avoid locking (might break parallel builds)
   1431 
   1432 Optional Packages:
   1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1435   --with-mpfr-include=DIR MPFR include directory
   1436   --with-mpfr-lib=DIR     MPFR lib directory
   1437   --with-mpfr=DIR         MPFR install directory
   1438   --with-gmp-include=DIR  GMP include directory
   1439   --with-gmp-lib=DIR      GMP lib directory
   1440   --with-gmp=DIR          GMP install directory
   1441   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1442                           both]
   1443   --with-aix-soname=aix|svr4|both
   1444                           shared library versioning (aka "SONAME") variant to
   1445                           provide on AIX, [default=aix].
   1446   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1447   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1448                           compiler's sysroot if not specified).
   1449 
   1450 Some influential environment variables:
   1451   CC          C compiler command
   1452   CFLAGS      C compiler flags
   1453   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1454               nonstandard directory <lib dir>
   1455   LIBS        libraries to pass to the linker, e.g. -l<library>
   1456   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1457               you have headers in a nonstandard directory <include dir>
   1458   LT_SYS_LIBRARY_PATH
   1459               User-defined run-time library search path.
   1460   CPP         C preprocessor
   1461 
   1462 Use these variables to override the choices made by `configure' or to help
   1463 it to find libraries and programs with nonstandard names/locations.
   1464 
   1465 Report bugs to <mpc-discuss (at] lists.gforge.inria.fr>.
   1466 _ACEOF
   1467 ac_status=$?
   1468 fi
   1469 
   1470 if test "$ac_init_help" = "recursive"; then
   1471   # If there are subdirs, report their specific --help.
   1472   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1473     test -d "$ac_dir" ||
   1474       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1475       continue
   1476     ac_builddir=.
   1477 
   1478 case "$ac_dir" in
   1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1480 *)
   1481   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1482   # A ".." for each directory in $ac_dir_suffix.
   1483   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1484   case $ac_top_builddir_sub in
   1485   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1486   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1487   esac ;;
   1488 esac
   1489 ac_abs_top_builddir=$ac_pwd
   1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1491 # for backward compatibility:
   1492 ac_top_builddir=$ac_top_build_prefix
   1493 
   1494 case $srcdir in
   1495   .)  # We are building in place.
   1496     ac_srcdir=.
   1497     ac_top_srcdir=$ac_top_builddir_sub
   1498     ac_abs_top_srcdir=$ac_pwd ;;
   1499   [\\/]* | ?:[\\/]* )  # Absolute name.
   1500     ac_srcdir=$srcdir$ac_dir_suffix;
   1501     ac_top_srcdir=$srcdir
   1502     ac_abs_top_srcdir=$srcdir ;;
   1503   *) # Relative name.
   1504     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1505     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1506     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1507 esac
   1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1509 
   1510     cd "$ac_dir" || { ac_status=$?; continue; }
   1511     # Check for guested configure.
   1512     if test -f "$ac_srcdir/configure.gnu"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1515     elif test -f "$ac_srcdir/configure"; then
   1516       echo &&
   1517       $SHELL "$ac_srcdir/configure" --help=recursive
   1518     else
   1519       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1520     fi || ac_status=$?
   1521     cd "$ac_pwd" || { ac_status=$?; break; }
   1522   done
   1523 fi
   1524 
   1525 test -n "$ac_init_help" && exit $ac_status
   1526 if $ac_init_version; then
   1527   cat <<\_ACEOF
   1528 mpc configure 1.2.1
   1529 generated by GNU Autoconf 2.69
   1530 
   1531 Copyright (C) 2012 Free Software Foundation, Inc.
   1532 This configure script is free software; the Free Software Foundation
   1533 gives unlimited permission to copy, distribute and modify it.
   1534 _ACEOF
   1535   exit
   1536 fi
   1537 
   1538 ## ------------------------ ##
   1539 ## Autoconf initialization. ##
   1540 ## ------------------------ ##
   1541 
   1542 # ac_fn_c_try_compile LINENO
   1543 # --------------------------
   1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1545 ac_fn_c_try_compile ()
   1546 {
   1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1548   rm -f conftest.$ac_objext
   1549   if { { ac_try="$ac_compile"
   1550 case "(($ac_try" in
   1551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1552   *) ac_try_echo=$ac_try;;
   1553 esac
   1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1555 $as_echo "$ac_try_echo"; } >&5
   1556   (eval "$ac_compile") 2>conftest.err
   1557   ac_status=$?
   1558   if test -s conftest.err; then
   1559     grep -v '^ *+' conftest.err >conftest.er1
   1560     cat conftest.er1 >&5
   1561     mv -f conftest.er1 conftest.err
   1562   fi
   1563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1564   test $ac_status = 0; } && {
   1565 	 test -z "$ac_c_werror_flag" ||
   1566 	 test ! -s conftest.err
   1567        } && test -s conftest.$ac_objext; then :
   1568   ac_retval=0
   1569 else
   1570   $as_echo "$as_me: failed program was:" >&5
   1571 sed 's/^/| /' conftest.$ac_ext >&5
   1572 
   1573 	ac_retval=1
   1574 fi
   1575   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1576   as_fn_set_status $ac_retval
   1577 
   1578 } # ac_fn_c_try_compile
   1579 
   1580 # ac_fn_c_try_link LINENO
   1581 # -----------------------
   1582 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1583 ac_fn_c_try_link ()
   1584 {
   1585   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1586   rm -f conftest.$ac_objext conftest$ac_exeext
   1587   if { { ac_try="$ac_link"
   1588 case "(($ac_try" in
   1589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1590   *) ac_try_echo=$ac_try;;
   1591 esac
   1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1593 $as_echo "$ac_try_echo"; } >&5
   1594   (eval "$ac_link") 2>conftest.err
   1595   ac_status=$?
   1596   if test -s conftest.err; then
   1597     grep -v '^ *+' conftest.err >conftest.er1
   1598     cat conftest.er1 >&5
   1599     mv -f conftest.er1 conftest.err
   1600   fi
   1601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1602   test $ac_status = 0; } && {
   1603 	 test -z "$ac_c_werror_flag" ||
   1604 	 test ! -s conftest.err
   1605        } && test -s conftest$ac_exeext && {
   1606 	 test "$cross_compiling" = yes ||
   1607 	 test -x conftest$ac_exeext
   1608        }; then :
   1609   ac_retval=0
   1610 else
   1611   $as_echo "$as_me: failed program was:" >&5
   1612 sed 's/^/| /' conftest.$ac_ext >&5
   1613 
   1614 	ac_retval=1
   1615 fi
   1616   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1617   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1618   # interfere with the next link command; also delete a directory that is
   1619   # left behind by Apple's compiler.  We do this before executing the actions.
   1620   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1621   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1622   as_fn_set_status $ac_retval
   1623 
   1624 } # ac_fn_c_try_link
   1625 
   1626 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1627 # -------------------------------------------------------
   1628 # Tests whether HEADER exists and can be compiled using the include files in
   1629 # INCLUDES, setting the cache variable VAR accordingly.
   1630 ac_fn_c_check_header_compile ()
   1631 {
   1632   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1634 $as_echo_n "checking for $2... " >&6; }
   1635 if eval \${$3+:} false; then :
   1636   $as_echo_n "(cached) " >&6
   1637 else
   1638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1639 /* end confdefs.h.  */
   1640 $4
   1641 #include <$2>
   1642 _ACEOF
   1643 if ac_fn_c_try_compile "$LINENO"; then :
   1644   eval "$3=yes"
   1645 else
   1646   eval "$3=no"
   1647 fi
   1648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1649 fi
   1650 eval ac_res=\$$3
   1651 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1652 $as_echo "$ac_res" >&6; }
   1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1654 
   1655 } # ac_fn_c_check_header_compile
   1656 
   1657 # ac_fn_c_try_cpp LINENO
   1658 # ----------------------
   1659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1660 ac_fn_c_try_cpp ()
   1661 {
   1662   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1663   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1664 case "(($ac_try" in
   1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1666   *) ac_try_echo=$ac_try;;
   1667 esac
   1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1669 $as_echo "$ac_try_echo"; } >&5
   1670   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1671   ac_status=$?
   1672   if test -s conftest.err; then
   1673     grep -v '^ *+' conftest.err >conftest.er1
   1674     cat conftest.er1 >&5
   1675     mv -f conftest.er1 conftest.err
   1676   fi
   1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1678   test $ac_status = 0; } > conftest.i && {
   1679 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1680 	 test ! -s conftest.err
   1681        }; then :
   1682   ac_retval=0
   1683 else
   1684   $as_echo "$as_me: failed program was:" >&5
   1685 sed 's/^/| /' conftest.$ac_ext >&5
   1686 
   1687     ac_retval=1
   1688 fi
   1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1690   as_fn_set_status $ac_retval
   1691 
   1692 } # ac_fn_c_try_cpp
   1693 
   1694 # ac_fn_c_try_run LINENO
   1695 # ----------------------
   1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1697 # that executables *can* be run.
   1698 ac_fn_c_try_run ()
   1699 {
   1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1701   if { { ac_try="$ac_link"
   1702 case "(($ac_try" in
   1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1704   *) ac_try_echo=$ac_try;;
   1705 esac
   1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1707 $as_echo "$ac_try_echo"; } >&5
   1708   (eval "$ac_link") 2>&5
   1709   ac_status=$?
   1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1711   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1712   { { case "(($ac_try" in
   1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1714   *) ac_try_echo=$ac_try;;
   1715 esac
   1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1717 $as_echo "$ac_try_echo"; } >&5
   1718   (eval "$ac_try") 2>&5
   1719   ac_status=$?
   1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1721   test $ac_status = 0; }; }; then :
   1722   ac_retval=0
   1723 else
   1724   $as_echo "$as_me: program exited with status $ac_status" >&5
   1725        $as_echo "$as_me: failed program was:" >&5
   1726 sed 's/^/| /' conftest.$ac_ext >&5
   1727 
   1728        ac_retval=$ac_status
   1729 fi
   1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732   as_fn_set_status $ac_retval
   1733 
   1734 } # ac_fn_c_try_run
   1735 
   1736 # ac_fn_c_check_func LINENO FUNC VAR
   1737 # ----------------------------------
   1738 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1739 ac_fn_c_check_func ()
   1740 {
   1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1743 $as_echo_n "checking for $2... " >&6; }
   1744 if eval \${$3+:} false; then :
   1745   $as_echo_n "(cached) " >&6
   1746 else
   1747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1748 /* end confdefs.h.  */
   1749 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1751 #define $2 innocuous_$2
   1752 
   1753 /* System header to define __stub macros and hopefully few prototypes,
   1754     which can conflict with char $2 (); below.
   1755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1756     <limits.h> exists even on freestanding compilers.  */
   1757 
   1758 #ifdef __STDC__
   1759 # include <limits.h>
   1760 #else
   1761 # include <assert.h>
   1762 #endif
   1763 
   1764 #undef $2
   1765 
   1766 /* Override any GCC internal prototype to avoid an error.
   1767    Use char because int might match the return type of a GCC
   1768    builtin and then its argument prototype would still apply.  */
   1769 #ifdef __cplusplus
   1770 extern "C"
   1771 #endif
   1772 char $2 ();
   1773 /* The GNU C library defines this for functions which it implements
   1774     to always fail with ENOSYS.  Some functions are actually named
   1775     something starting with __ and the normal name is an alias.  */
   1776 #if defined __stub_$2 || defined __stub___$2
   1777 choke me
   1778 #endif
   1779 
   1780 int
   1781 main ()
   1782 {
   1783 return $2 ();
   1784   ;
   1785   return 0;
   1786 }
   1787 _ACEOF
   1788 if ac_fn_c_try_link "$LINENO"; then :
   1789   eval "$3=yes"
   1790 else
   1791   eval "$3=no"
   1792 fi
   1793 rm -f core conftest.err conftest.$ac_objext \
   1794     conftest$ac_exeext conftest.$ac_ext
   1795 fi
   1796 eval ac_res=\$$3
   1797 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1798 $as_echo "$ac_res" >&6; }
   1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1800 
   1801 } # ac_fn_c_check_func
   1802 
   1803 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1804 # -------------------------------------------------------
   1805 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1806 # the include files in INCLUDES and setting the cache variable VAR
   1807 # accordingly.
   1808 ac_fn_c_check_header_mongrel ()
   1809 {
   1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1811   if eval \${$3+:} false; then :
   1812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1813 $as_echo_n "checking for $2... " >&6; }
   1814 if eval \${$3+:} false; then :
   1815   $as_echo_n "(cached) " >&6
   1816 fi
   1817 eval ac_res=\$$3
   1818 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1819 $as_echo "$ac_res" >&6; }
   1820 else
   1821   # Is the header compilable?
   1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1823 $as_echo_n "checking $2 usability... " >&6; }
   1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1825 /* end confdefs.h.  */
   1826 $4
   1827 #include <$2>
   1828 _ACEOF
   1829 if ac_fn_c_try_compile "$LINENO"; then :
   1830   ac_header_compiler=yes
   1831 else
   1832   ac_header_compiler=no
   1833 fi
   1834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1836 $as_echo "$ac_header_compiler" >&6; }
   1837 
   1838 # Is the header present?
   1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1840 $as_echo_n "checking $2 presence... " >&6; }
   1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1842 /* end confdefs.h.  */
   1843 #include <$2>
   1844 _ACEOF
   1845 if ac_fn_c_try_cpp "$LINENO"; then :
   1846   ac_header_preproc=yes
   1847 else
   1848   ac_header_preproc=no
   1849 fi
   1850 rm -f conftest.err conftest.i conftest.$ac_ext
   1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1852 $as_echo "$ac_header_preproc" >&6; }
   1853 
   1854 # So?  What about this header?
   1855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1856   yes:no: )
   1857     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1858 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1859     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1860 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1861     ;;
   1862   no:yes:* )
   1863     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1864 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1865     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1866 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1867     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1868 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1869     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1870 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1871     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1872 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1873 ( $as_echo "## ------------------------------------------------ ##
   1874 ## Report this to mpc-discuss (at] lists.gforge.inria.fr ##
   1875 ## ------------------------------------------------ ##"
   1876      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1877     ;;
   1878 esac
   1879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1880 $as_echo_n "checking for $2... " >&6; }
   1881 if eval \${$3+:} false; then :
   1882   $as_echo_n "(cached) " >&6
   1883 else
   1884   eval "$3=\$ac_header_compiler"
   1885 fi
   1886 eval ac_res=\$$3
   1887 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1888 $as_echo "$ac_res" >&6; }
   1889 fi
   1890   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1891 
   1892 } # ac_fn_c_check_header_mongrel
   1893 
   1894 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1895 # -------------------------------------------
   1896 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1897 # variable VAR accordingly.
   1898 ac_fn_c_check_type ()
   1899 {
   1900   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1902 $as_echo_n "checking for $2... " >&6; }
   1903 if eval \${$3+:} false; then :
   1904   $as_echo_n "(cached) " >&6
   1905 else
   1906   eval "$3=no"
   1907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1908 /* end confdefs.h.  */
   1909 $4
   1910 int
   1911 main ()
   1912 {
   1913 if (sizeof ($2))
   1914 	 return 0;
   1915   ;
   1916   return 0;
   1917 }
   1918 _ACEOF
   1919 if ac_fn_c_try_compile "$LINENO"; then :
   1920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1921 /* end confdefs.h.  */
   1922 $4
   1923 int
   1924 main ()
   1925 {
   1926 if (sizeof (($2)))
   1927 	    return 0;
   1928   ;
   1929   return 0;
   1930 }
   1931 _ACEOF
   1932 if ac_fn_c_try_compile "$LINENO"; then :
   1933 
   1934 else
   1935   eval "$3=yes"
   1936 fi
   1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1938 fi
   1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1940 fi
   1941 eval ac_res=\$$3
   1942 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1943 $as_echo "$ac_res" >&6; }
   1944   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1945 
   1946 } # ac_fn_c_check_type
   1947 cat >config.log <<_ACEOF
   1948 This file contains any messages produced by compilers while
   1949 running configure, to aid debugging if configure makes a mistake.
   1950 
   1951 It was created by mpc $as_me 1.2.1, which was
   1952 generated by GNU Autoconf 2.69.  Invocation command line was
   1953 
   1954   $ $0 $@
   1955 
   1956 _ACEOF
   1957 exec 5>>config.log
   1958 {
   1959 cat <<_ASUNAME
   1960 ## --------- ##
   1961 ## Platform. ##
   1962 ## --------- ##
   1963 
   1964 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1965 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1966 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1967 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1968 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1969 
   1970 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1971 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1972 
   1973 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1974 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1975 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1976 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1977 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1978 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1979 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1980 
   1981 _ASUNAME
   1982 
   1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1984 for as_dir in $PATH
   1985 do
   1986   IFS=$as_save_IFS
   1987   test -z "$as_dir" && as_dir=.
   1988     $as_echo "PATH: $as_dir"
   1989   done
   1990 IFS=$as_save_IFS
   1991 
   1992 } >&5
   1993 
   1994 cat >&5 <<_ACEOF
   1995 
   1996 
   1997 ## ----------- ##
   1998 ## Core tests. ##
   1999 ## ----------- ##
   2000 
   2001 _ACEOF
   2002 
   2003 
   2004 # Keep a trace of the command line.
   2005 # Strip out --no-create and --no-recursion so they do not pile up.
   2006 # Strip out --silent because we don't want to record it for future runs.
   2007 # Also quote any args containing shell meta-characters.
   2008 # Make two passes to allow for proper duplicate-argument suppression.
   2009 ac_configure_args=
   2010 ac_configure_args0=
   2011 ac_configure_args1=
   2012 ac_must_keep_next=false
   2013 for ac_pass in 1 2
   2014 do
   2015   for ac_arg
   2016   do
   2017     case $ac_arg in
   2018     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2019     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2020     | -silent | --silent | --silen | --sile | --sil)
   2021       continue ;;
   2022     *\'*)
   2023       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2024     esac
   2025     case $ac_pass in
   2026     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2027     2)
   2028       as_fn_append ac_configure_args1 " '$ac_arg'"
   2029       if test $ac_must_keep_next = true; then
   2030 	ac_must_keep_next=false # Got value, back to normal.
   2031       else
   2032 	case $ac_arg in
   2033 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2034 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2035 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2036 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2037 	    case "$ac_configure_args0 " in
   2038 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2039 	    esac
   2040 	    ;;
   2041 	  -* ) ac_must_keep_next=true ;;
   2042 	esac
   2043       fi
   2044       as_fn_append ac_configure_args " '$ac_arg'"
   2045       ;;
   2046     esac
   2047   done
   2048 done
   2049 { ac_configure_args0=; unset ac_configure_args0;}
   2050 { ac_configure_args1=; unset ac_configure_args1;}
   2051 
   2052 # When interrupted or exit'd, cleanup temporary files, and complete
   2053 # config.log.  We remove comments because anyway the quotes in there
   2054 # would cause problems or look ugly.
   2055 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2056 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2057 trap 'exit_status=$?
   2058   # Save into config.log some information that might help in debugging.
   2059   {
   2060     echo
   2061 
   2062     $as_echo "## ---------------- ##
   2063 ## Cache variables. ##
   2064 ## ---------------- ##"
   2065     echo
   2066     # The following way of writing the cache mishandles newlines in values,
   2067 (
   2068   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2069     eval ac_val=\$$ac_var
   2070     case $ac_val in #(
   2071     *${as_nl}*)
   2072       case $ac_var in #(
   2073       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2074 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2075       esac
   2076       case $ac_var in #(
   2077       _ | IFS | as_nl) ;; #(
   2078       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2079       *) { eval $ac_var=; unset $ac_var;} ;;
   2080       esac ;;
   2081     esac
   2082   done
   2083   (set) 2>&1 |
   2084     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2085     *${as_nl}ac_space=\ *)
   2086       sed -n \
   2087 	"s/'\''/'\''\\\\'\'''\''/g;
   2088 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2089       ;; #(
   2090     *)
   2091       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2092       ;;
   2093     esac |
   2094     sort
   2095 )
   2096     echo
   2097 
   2098     $as_echo "## ----------------- ##
   2099 ## Output variables. ##
   2100 ## ----------------- ##"
   2101     echo
   2102     for ac_var in $ac_subst_vars
   2103     do
   2104       eval ac_val=\$$ac_var
   2105       case $ac_val in
   2106       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2107       esac
   2108       $as_echo "$ac_var='\''$ac_val'\''"
   2109     done | sort
   2110     echo
   2111 
   2112     if test -n "$ac_subst_files"; then
   2113       $as_echo "## ------------------- ##
   2114 ## File substitutions. ##
   2115 ## ------------------- ##"
   2116       echo
   2117       for ac_var in $ac_subst_files
   2118       do
   2119 	eval ac_val=\$$ac_var
   2120 	case $ac_val in
   2121 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2122 	esac
   2123 	$as_echo "$ac_var='\''$ac_val'\''"
   2124       done | sort
   2125       echo
   2126     fi
   2127 
   2128     if test -s confdefs.h; then
   2129       $as_echo "## ----------- ##
   2130 ## confdefs.h. ##
   2131 ## ----------- ##"
   2132       echo
   2133       cat confdefs.h
   2134       echo
   2135     fi
   2136     test "$ac_signal" != 0 &&
   2137       $as_echo "$as_me: caught signal $ac_signal"
   2138     $as_echo "$as_me: exit $exit_status"
   2139   } >&5
   2140   rm -f core *.core core.conftest.* &&
   2141     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2142     exit $exit_status
   2143 ' 0
   2144 for ac_signal in 1 2 13 15; do
   2145   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2146 done
   2147 ac_signal=0
   2148 
   2149 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2150 rm -f -r conftest* confdefs.h
   2151 
   2152 $as_echo "/* confdefs.h */" > confdefs.h
   2153 
   2154 # Predefined preprocessor variables.
   2155 
   2156 cat >>confdefs.h <<_ACEOF
   2157 #define PACKAGE_NAME "$PACKAGE_NAME"
   2158 _ACEOF
   2159 
   2160 cat >>confdefs.h <<_ACEOF
   2161 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2162 _ACEOF
   2163 
   2164 cat >>confdefs.h <<_ACEOF
   2165 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2166 _ACEOF
   2167 
   2168 cat >>confdefs.h <<_ACEOF
   2169 #define PACKAGE_STRING "$PACKAGE_STRING"
   2170 _ACEOF
   2171 
   2172 cat >>confdefs.h <<_ACEOF
   2173 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2174 _ACEOF
   2175 
   2176 cat >>confdefs.h <<_ACEOF
   2177 #define PACKAGE_URL "$PACKAGE_URL"
   2178 _ACEOF
   2179 
   2180 
   2181 # Let the site file select an alternate cache file if it wants to.
   2182 # Prefer an explicitly selected file to automatically selected ones.
   2183 ac_site_file1=NONE
   2184 ac_site_file2=NONE
   2185 if test -n "$CONFIG_SITE"; then
   2186   # We do not want a PATH search for config.site.
   2187   case $CONFIG_SITE in #((
   2188     -*)  ac_site_file1=./$CONFIG_SITE;;
   2189     */*) ac_site_file1=$CONFIG_SITE;;
   2190     *)   ac_site_file1=./$CONFIG_SITE;;
   2191   esac
   2192 elif test "x$prefix" != xNONE; then
   2193   ac_site_file1=$prefix/share/config.site
   2194   ac_site_file2=$prefix/etc/config.site
   2195 else
   2196   ac_site_file1=$ac_default_prefix/share/config.site
   2197   ac_site_file2=$ac_default_prefix/etc/config.site
   2198 fi
   2199 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2200 do
   2201   test "x$ac_site_file" = xNONE && continue
   2202   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2203     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2204 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2205     sed 's/^/| /' "$ac_site_file" >&5
   2206     . "$ac_site_file" \
   2207       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2209 as_fn_error $? "failed to load site script $ac_site_file
   2210 See \`config.log' for more details" "$LINENO" 5; }
   2211   fi
   2212 done
   2213 
   2214 if test -r "$cache_file"; then
   2215   # Some versions of bash will fail to source /dev/null (special files
   2216   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2217   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2218     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2219 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2220     case $cache_file in
   2221       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2222       *)                      . "./$cache_file";;
   2223     esac
   2224   fi
   2225 else
   2226   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2227 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2228   >$cache_file
   2229 fi
   2230 
   2231 # Check that the precious variables saved in the cache have kept the same
   2232 # value.
   2233 ac_cache_corrupted=false
   2234 for ac_var in $ac_precious_vars; do
   2235   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2236   eval ac_new_set=\$ac_env_${ac_var}_set
   2237   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2238   eval ac_new_val=\$ac_env_${ac_var}_value
   2239   case $ac_old_set,$ac_new_set in
   2240     set,)
   2241       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2242 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2243       ac_cache_corrupted=: ;;
   2244     ,set)
   2245       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2246 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2247       ac_cache_corrupted=: ;;
   2248     ,);;
   2249     *)
   2250       if test "x$ac_old_val" != "x$ac_new_val"; then
   2251 	# differences in whitespace do not lead to failure.
   2252 	ac_old_val_w=`echo x $ac_old_val`
   2253 	ac_new_val_w=`echo x $ac_new_val`
   2254 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2255 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2256 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2257 	  ac_cache_corrupted=:
   2258 	else
   2259 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2260 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2261 	  eval $ac_var=\$ac_old_val
   2262 	fi
   2263 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2264 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2265 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2266 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2267       fi;;
   2268   esac
   2269   # Pass precious variables to config.status.
   2270   if test "$ac_new_set" = set; then
   2271     case $ac_new_val in
   2272     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2273     *) ac_arg=$ac_var=$ac_new_val ;;
   2274     esac
   2275     case " $ac_configure_args " in
   2276       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2277       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2278     esac
   2279   fi
   2280 done
   2281 if $ac_cache_corrupted; then
   2282   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2284   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2285 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2286   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2287 fi
   2288 ## -------------------- ##
   2289 ## Main body of script. ##
   2290 ## -------------------- ##
   2291 
   2292 ac_ext=c
   2293 ac_cpp='$CPP $CPPFLAGS'
   2294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2297 
   2298 
   2299 
   2300 ac_aux_dir=
   2301 for ac_dir in build-aux "$srcdir"/build-aux; do
   2302   if test -f "$ac_dir/install-sh"; then
   2303     ac_aux_dir=$ac_dir
   2304     ac_install_sh="$ac_aux_dir/install-sh -c"
   2305     break
   2306   elif 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/shtool"; then
   2311     ac_aux_dir=$ac_dir
   2312     ac_install_sh="$ac_aux_dir/shtool install -c"
   2313     break
   2314   fi
   2315 done
   2316 if test -z "$ac_aux_dir"; then
   2317   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2318 fi
   2319 
   2320 # These three variables are undocumented and unsupported,
   2321 # and are intended to be withdrawn in a future Autoconf release.
   2322 # They can cause serious problems if a builder's source tree is in a directory
   2323 # whose full name contains unusual characters.
   2324 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2325 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2326 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2327 
   2328 
   2329 ac_config_headers="$ac_config_headers config.h"
   2330 
   2331 
   2332 am__api_version='1.16'
   2333 
   2334 # Find a good install program.  We prefer a C program (faster),
   2335 # so one script is as good as another.  But avoid the broken or
   2336 # incompatible versions:
   2337 # SysV /etc/install, /usr/sbin/install
   2338 # SunOS /usr/etc/install
   2339 # IRIX /sbin/install
   2340 # AIX /bin/install
   2341 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2342 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2343 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2344 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2345 # OS/2's system install, which has a completely different semantic
   2346 # ./install, which can be erroneously created by make from ./install.sh.
   2347 # Reject install programs that cannot install multiple files.
   2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2349 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2350 if test -z "$INSTALL"; then
   2351 if ${ac_cv_path_install+:} false; then :
   2352   $as_echo_n "(cached) " >&6
   2353 else
   2354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2355 for as_dir in $PATH
   2356 do
   2357   IFS=$as_save_IFS
   2358   test -z "$as_dir" && as_dir=.
   2359     # Account for people who put trailing slashes in PATH elements.
   2360 case $as_dir/ in #((
   2361   ./ | .// | /[cC]/* | \
   2362   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2363   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2364   /usr/ucb/* ) ;;
   2365   *)
   2366     # OSF1 and SCO ODT 3.0 have their own names for install.
   2367     # Don't use installbsd from OSF since it installs stuff as root
   2368     # by default.
   2369     for ac_prog in ginstall scoinst install; do
   2370       for ac_exec_ext in '' $ac_executable_extensions; do
   2371 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2372 	  if test $ac_prog = install &&
   2373 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2374 	    # AIX install.  It has an incompatible calling convention.
   2375 	    :
   2376 	  elif test $ac_prog = install &&
   2377 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2378 	    # program-specific install script used by HP pwplus--don't use.
   2379 	    :
   2380 	  else
   2381 	    rm -rf conftest.one conftest.two conftest.dir
   2382 	    echo one > conftest.one
   2383 	    echo two > conftest.two
   2384 	    mkdir conftest.dir
   2385 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2386 	      test -s conftest.one && test -s conftest.two &&
   2387 	      test -s conftest.dir/conftest.one &&
   2388 	      test -s conftest.dir/conftest.two
   2389 	    then
   2390 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2391 	      break 3
   2392 	    fi
   2393 	  fi
   2394 	fi
   2395       done
   2396     done
   2397     ;;
   2398 esac
   2399 
   2400   done
   2401 IFS=$as_save_IFS
   2402 
   2403 rm -rf conftest.one conftest.two conftest.dir
   2404 
   2405 fi
   2406   if test "${ac_cv_path_install+set}" = set; then
   2407     INSTALL=$ac_cv_path_install
   2408   else
   2409     # As a last resort, use the slow shell script.  Don't cache a
   2410     # value for INSTALL within a source directory, because that will
   2411     # break other packages using the cache if that directory is
   2412     # removed, or if the value is a relative name.
   2413     INSTALL=$ac_install_sh
   2414   fi
   2415 fi
   2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2417 $as_echo "$INSTALL" >&6; }
   2418 
   2419 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2420 # It thinks the first close brace ends the variable substitution.
   2421 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2422 
   2423 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2424 
   2425 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2426 
   2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2428 $as_echo_n "checking whether build environment is sane... " >&6; }
   2429 # Reject unsafe characters in $srcdir or the absolute working directory
   2430 # name.  Accept space and tab only in the latter.
   2431 am_lf='
   2432 '
   2433 case `pwd` in
   2434   *[\\\"\#\$\&\'\`$am_lf]*)
   2435     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2436 esac
   2437 case $srcdir in
   2438   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2439     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2440 esac
   2441 
   2442 # Do 'set' in a subshell so we don't clobber the current shell's
   2443 # arguments.  Must try -L first in case configure is actually a
   2444 # symlink; some systems play weird games with the mod time of symlinks
   2445 # (eg FreeBSD returns the mod time of the symlink's containing
   2446 # directory).
   2447 if (
   2448    am_has_slept=no
   2449    for am_try in 1 2; do
   2450      echo "timestamp, slept: $am_has_slept" > conftest.file
   2451      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2452      if test "$*" = "X"; then
   2453 	# -L didn't work.
   2454 	set X `ls -t "$srcdir/configure" conftest.file`
   2455      fi
   2456      if test "$*" != "X $srcdir/configure conftest.file" \
   2457 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2458 
   2459 	# If neither matched, then we have a broken ls.  This can happen
   2460 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2461 	# broken ls alias from the environment.  This has actually
   2462 	# happened.  Such a system could not be considered "sane".
   2463 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2464   alias in your environment" "$LINENO" 5
   2465      fi
   2466      if test "$2" = conftest.file || test $am_try -eq 2; then
   2467        break
   2468      fi
   2469      # Just in case.
   2470      sleep 1
   2471      am_has_slept=yes
   2472    done
   2473    test "$2" = conftest.file
   2474    )
   2475 then
   2476    # Ok.
   2477    :
   2478 else
   2479    as_fn_error $? "newly created file is older than distributed files!
   2480 Check your system clock" "$LINENO" 5
   2481 fi
   2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2483 $as_echo "yes" >&6; }
   2484 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2485 # generated files are strictly newer.
   2486 am_sleep_pid=
   2487 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2488   ( sleep 1 ) &
   2489   am_sleep_pid=$!
   2490 fi
   2491 
   2492 rm -f conftest.file
   2493 
   2494 test "$program_prefix" != NONE &&
   2495   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2496 # Use a double $ so make ignores it.
   2497 test "$program_suffix" != NONE &&
   2498   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2499 # Double any \ or $.
   2500 # By default was `s,x,x', remove it if useless.
   2501 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2502 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2503 
   2504 # Expand $ac_aux_dir to an absolute path.
   2505 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2506 
   2507 if test x"${MISSING+set}" != xset; then
   2508   case $am_aux_dir in
   2509   *\ * | *\	*)
   2510     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2511   *)
   2512     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2513   esac
   2514 fi
   2515 # Use eval to expand $SHELL
   2516 if eval "$MISSING --is-lightweight"; then
   2517   am_missing_run="$MISSING "
   2518 else
   2519   am_missing_run=
   2520   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2521 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2522 fi
   2523 
   2524 if test x"${install_sh+set}" != xset; then
   2525   case $am_aux_dir in
   2526   *\ * | *\	*)
   2527     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2528   *)
   2529     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2530   esac
   2531 fi
   2532 
   2533 # Installed binaries are usually stripped using 'strip' when the user
   2534 # run "make install-strip".  However 'strip' might not be the right
   2535 # tool to use in cross-compilation environments, therefore Automake
   2536 # will honor the 'STRIP' environment variable to overrule this program.
   2537 if test "$cross_compiling" != no; then
   2538   if test -n "$ac_tool_prefix"; then
   2539   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2540 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2542 $as_echo_n "checking for $ac_word... " >&6; }
   2543 if ${ac_cv_prog_STRIP+:} false; then :
   2544   $as_echo_n "(cached) " >&6
   2545 else
   2546   if test -n "$STRIP"; then
   2547   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2548 else
   2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2550 for as_dir in $PATH
   2551 do
   2552   IFS=$as_save_IFS
   2553   test -z "$as_dir" && as_dir=.
   2554     for ac_exec_ext in '' $ac_executable_extensions; do
   2555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2556     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2558     break 2
   2559   fi
   2560 done
   2561   done
   2562 IFS=$as_save_IFS
   2563 
   2564 fi
   2565 fi
   2566 STRIP=$ac_cv_prog_STRIP
   2567 if test -n "$STRIP"; then
   2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2569 $as_echo "$STRIP" >&6; }
   2570 else
   2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2572 $as_echo "no" >&6; }
   2573 fi
   2574 
   2575 
   2576 fi
   2577 if test -z "$ac_cv_prog_STRIP"; then
   2578   ac_ct_STRIP=$STRIP
   2579   # Extract the first word of "strip", so it can be a program name with args.
   2580 set dummy strip; ac_word=$2
   2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2582 $as_echo_n "checking for $ac_word... " >&6; }
   2583 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2584   $as_echo_n "(cached) " >&6
   2585 else
   2586   if test -n "$ac_ct_STRIP"; then
   2587   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2588 else
   2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH
   2591 do
   2592   IFS=$as_save_IFS
   2593   test -z "$as_dir" && as_dir=.
   2594     for ac_exec_ext in '' $ac_executable_extensions; do
   2595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2596     ac_cv_prog_ac_ct_STRIP="strip"
   2597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2598     break 2
   2599   fi
   2600 done
   2601   done
   2602 IFS=$as_save_IFS
   2603 
   2604 fi
   2605 fi
   2606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2607 if test -n "$ac_ct_STRIP"; then
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2609 $as_echo "$ac_ct_STRIP" >&6; }
   2610 else
   2611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2612 $as_echo "no" >&6; }
   2613 fi
   2614 
   2615   if test "x$ac_ct_STRIP" = x; then
   2616     STRIP=":"
   2617   else
   2618     case $cross_compiling:$ac_tool_warned in
   2619 yes:)
   2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2622 ac_tool_warned=yes ;;
   2623 esac
   2624     STRIP=$ac_ct_STRIP
   2625   fi
   2626 else
   2627   STRIP="$ac_cv_prog_STRIP"
   2628 fi
   2629 
   2630 fi
   2631 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2632 
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2634 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2635 if test -z "$MKDIR_P"; then
   2636   if ${ac_cv_path_mkdir+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2640 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2641 do
   2642   IFS=$as_save_IFS
   2643   test -z "$as_dir" && as_dir=.
   2644     for ac_prog in mkdir gmkdir; do
   2645 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2646 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2647 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2648 	     'mkdir (GNU coreutils) '* | \
   2649 	     'mkdir (coreutils) '* | \
   2650 	     'mkdir (fileutils) '4.1*)
   2651 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2652 	       break 3;;
   2653 	   esac
   2654 	 done
   2655        done
   2656   done
   2657 IFS=$as_save_IFS
   2658 
   2659 fi
   2660 
   2661   test -d ./--version && rmdir ./--version
   2662   if test "${ac_cv_path_mkdir+set}" = set; then
   2663     MKDIR_P="$ac_cv_path_mkdir -p"
   2664   else
   2665     # As a last resort, use the slow shell script.  Don't cache a
   2666     # value for MKDIR_P within a source directory, because that will
   2667     # break other packages using the cache if that directory is
   2668     # removed, or if the value is a relative name.
   2669     MKDIR_P="$ac_install_sh -d"
   2670   fi
   2671 fi
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2673 $as_echo "$MKDIR_P" >&6; }
   2674 
   2675 for ac_prog in gawk mawk nawk awk
   2676 do
   2677   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2678 set dummy $ac_prog; ac_word=$2
   2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2680 $as_echo_n "checking for $ac_word... " >&6; }
   2681 if ${ac_cv_prog_AWK+:} false; then :
   2682   $as_echo_n "(cached) " >&6
   2683 else
   2684   if test -n "$AWK"; then
   2685   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2686 else
   2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2688 for as_dir in $PATH
   2689 do
   2690   IFS=$as_save_IFS
   2691   test -z "$as_dir" && as_dir=.
   2692     for ac_exec_ext in '' $ac_executable_extensions; do
   2693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2694     ac_cv_prog_AWK="$ac_prog"
   2695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2696     break 2
   2697   fi
   2698 done
   2699   done
   2700 IFS=$as_save_IFS
   2701 
   2702 fi
   2703 fi
   2704 AWK=$ac_cv_prog_AWK
   2705 if test -n "$AWK"; then
   2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2707 $as_echo "$AWK" >&6; }
   2708 else
   2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2710 $as_echo "no" >&6; }
   2711 fi
   2712 
   2713 
   2714   test -n "$AWK" && break
   2715 done
   2716 
   2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2718 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2719 set x ${MAKE-make}
   2720 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2721 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2722   $as_echo_n "(cached) " >&6
   2723 else
   2724   cat >conftest.make <<\_ACEOF
   2725 SHELL = /bin/sh
   2726 all:
   2727 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2728 _ACEOF
   2729 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2730 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2731   *@@@%%%=?*=@@@%%%*)
   2732     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2733   *)
   2734     eval ac_cv_prog_make_${ac_make}_set=no;;
   2735 esac
   2736 rm -f conftest.make
   2737 fi
   2738 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2740 $as_echo "yes" >&6; }
   2741   SET_MAKE=
   2742 else
   2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2744 $as_echo "no" >&6; }
   2745   SET_MAKE="MAKE=${MAKE-make}"
   2746 fi
   2747 
   2748 rm -rf .tst 2>/dev/null
   2749 mkdir .tst 2>/dev/null
   2750 if test -d .tst; then
   2751   am__leading_dot=.
   2752 else
   2753   am__leading_dot=_
   2754 fi
   2755 rmdir .tst 2>/dev/null
   2756 
   2757 # Check whether --enable-silent-rules was given.
   2758 if test "${enable_silent_rules+set}" = set; then :
   2759   enableval=$enable_silent_rules;
   2760 fi
   2761 
   2762 case $enable_silent_rules in # (((
   2763   yes) AM_DEFAULT_VERBOSITY=0;;
   2764    no) AM_DEFAULT_VERBOSITY=1;;
   2765     *) AM_DEFAULT_VERBOSITY=1;;
   2766 esac
   2767 am_make=${MAKE-make}
   2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2769 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2770 if ${am_cv_make_support_nested_variables+:} false; then :
   2771   $as_echo_n "(cached) " >&6
   2772 else
   2773   if $as_echo 'TRUE=$(BAR$(V))
   2774 BAR0=false
   2775 BAR1=true
   2776 V=1
   2777 am__doit:
   2778 	@$(TRUE)
   2779 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2780   am_cv_make_support_nested_variables=yes
   2781 else
   2782   am_cv_make_support_nested_variables=no
   2783 fi
   2784 fi
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2786 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2787 if test $am_cv_make_support_nested_variables = yes; then
   2788     AM_V='$(V)'
   2789   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2790 else
   2791   AM_V=$AM_DEFAULT_VERBOSITY
   2792   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2793 fi
   2794 AM_BACKSLASH='\'
   2795 
   2796 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2797   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2798   # is not polluted with repeated "-I."
   2799   am__isrc=' -I$(srcdir)'
   2800   # test to see if srcdir already configured
   2801   if test -f $srcdir/config.status; then
   2802     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2803   fi
   2804 fi
   2805 
   2806 # test whether we have cygpath
   2807 if test -z "$CYGPATH_W"; then
   2808   if (cygpath --version) >/dev/null 2>/dev/null; then
   2809     CYGPATH_W='cygpath -w'
   2810   else
   2811     CYGPATH_W=echo
   2812   fi
   2813 fi
   2814 
   2815 
   2816 # Define the identity of the package.
   2817  PACKAGE='mpc'
   2818  VERSION='1.2.1'
   2819 
   2820 
   2821 cat >>confdefs.h <<_ACEOF
   2822 #define PACKAGE "$PACKAGE"
   2823 _ACEOF
   2824 
   2825 
   2826 cat >>confdefs.h <<_ACEOF
   2827 #define VERSION "$VERSION"
   2828 _ACEOF
   2829 
   2830 # Some tools Automake needs.
   2831 
   2832 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2833 
   2834 
   2835 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2836 
   2837 
   2838 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2839 
   2840 
   2841 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2842 
   2843 
   2844 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2845 
   2846 # For better backward compatibility.  To be removed once Automake 1.9.x
   2847 # dies out for good.  For more background, see:
   2848 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2849 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2850 mkdir_p='$(MKDIR_P)'
   2851 
   2852 # We need awk for the "check" target (and possibly the TAP driver).  The
   2853 # system "awk" is bad on some platforms.
   2854 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2855 # in the wild :-(  We should find a proper way to deprecate it ...
   2856 AMTAR='$${TAR-tar}'
   2857 
   2858 
   2859 # We'll loop over all known methods to create a tar archive until one works.
   2860 _am_tools='gnutar  pax cpio none'
   2861 
   2862 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2863 
   2864 
   2865 
   2866 
   2867 
   2868 
   2869 # POSIX will say in a future version that running "rm -f" with no argument
   2870 # is OK; and we want to be able to make that assumption in our Makefile
   2871 # recipes.  So use an aggressive probe to check that the usage we want is
   2872 # actually supported "in the wild" to an acceptable degree.
   2873 # See automake bug#10828.
   2874 # To make any issue more visible, cause the running configure to be aborted
   2875 # by default if the 'rm' program in use doesn't match our expectations; the
   2876 # user can still override this though.
   2877 if rm -f && rm -fr && rm -rf; then : OK; else
   2878   cat >&2 <<'END'
   2879 Oops!
   2880 
   2881 Your 'rm' program seems unable to run without file operands specified
   2882 on the command line, even when the '-f' option is present.  This is contrary
   2883 to the behaviour of most rm programs out there, and not conforming with
   2884 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2885 
   2886 Please tell bug-automake@gnu.org about your system, including the value
   2887 of your $PATH and any error possibly output before this message.  This
   2888 can help us improve future automake versions.
   2889 
   2890 END
   2891   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2892     echo 'Configuration will proceed anyway, since you have set the' >&2
   2893     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2894     echo >&2
   2895   else
   2896     cat >&2 <<'END'
   2897 Aborting the configuration process, to ensure you take notice of the issue.
   2898 
   2899 You can download and install GNU coreutils to get an 'rm' implementation
   2900 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2901 
   2902 If you want to complete the configuration process using your problematic
   2903 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2904 to "yes", and re-run configure.
   2905 
   2906 END
   2907     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2908   fi
   2909 fi
   2910 
   2911 
   2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2913 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2914     # Check whether --enable-maintainer-mode was given.
   2915 if test "${enable_maintainer_mode+set}" = set; then :
   2916   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2917 else
   2918   USE_MAINTAINER_MODE=no
   2919 fi
   2920 
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2922 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2923    if test $USE_MAINTAINER_MODE = yes; then
   2924   MAINTAINER_MODE_TRUE=
   2925   MAINTAINER_MODE_FALSE='#'
   2926 else
   2927   MAINTAINER_MODE_TRUE='#'
   2928   MAINTAINER_MODE_FALSE=
   2929 fi
   2930 
   2931   MAINT=$MAINTAINER_MODE_TRUE
   2932 
   2933 
   2934 
   2935 USER_CC=$CC
   2936 USER_CFLAGS=$CFLAGS
   2937 
   2938 # Make sure we can run config.sub.
   2939 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2940   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2941 
   2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2943 $as_echo_n "checking build system type... " >&6; }
   2944 if ${ac_cv_build+:} false; then :
   2945   $as_echo_n "(cached) " >&6
   2946 else
   2947   ac_build_alias=$build_alias
   2948 test "x$ac_build_alias" = x &&
   2949   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2950 test "x$ac_build_alias" = x &&
   2951   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2952 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2953   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2954 
   2955 fi
   2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2957 $as_echo "$ac_cv_build" >&6; }
   2958 case $ac_cv_build in
   2959 *-*-*) ;;
   2960 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2961 esac
   2962 build=$ac_cv_build
   2963 ac_save_IFS=$IFS; IFS='-'
   2964 set x $ac_cv_build
   2965 shift
   2966 build_cpu=$1
   2967 build_vendor=$2
   2968 shift; shift
   2969 # Remember, the first character of IFS is used to create $*,
   2970 # except with old shells:
   2971 build_os=$*
   2972 IFS=$ac_save_IFS
   2973 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2974 
   2975 
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2977 $as_echo_n "checking host system type... " >&6; }
   2978 if ${ac_cv_host+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   if test "x$host_alias" = x; then
   2982   ac_cv_host=$ac_cv_build
   2983 else
   2984   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2985     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2986 fi
   2987 
   2988 fi
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2990 $as_echo "$ac_cv_host" >&6; }
   2991 case $ac_cv_host in
   2992 *-*-*) ;;
   2993 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2994 esac
   2995 host=$ac_cv_host
   2996 ac_save_IFS=$IFS; IFS='-'
   2997 set x $ac_cv_host
   2998 shift
   2999 host_cpu=$1
   3000 host_vendor=$2
   3001 shift; shift
   3002 # Remember, the first character of IFS is used to create $*,
   3003 # except with old shells:
   3004 host_os=$*
   3005 IFS=$ac_save_IFS
   3006 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3007 
   3008 
   3009 
   3010 
   3011 
   3012 # Extra arguments to configure
   3013 
   3014 # Check whether --with-mpfr_include was given.
   3015 if test "${with_mpfr_include+set}" = set; then :
   3016   withval=$with_mpfr_include; CPPFLAGS="-I$withval $CPPFLAGS"
   3017 fi
   3018 
   3019 
   3020 # Check whether --with-mpfr_lib was given.
   3021 if test "${with_mpfr_lib+set}" = set; then :
   3022   withval=$with_mpfr_lib; LDFLAGS="-L$withval $LDFLAGS"
   3023 fi
   3024 
   3025 
   3026 # Check whether --with-mpfr was given.
   3027 if test "${with_mpfr+set}" = set; then :
   3028   withval=$with_mpfr;
   3029             if test -z "$with_mpfr_include" -a -z "$with_mpfr_lib" ; then
   3030                CPPFLAGS="-I$withval/include $CPPFLAGS"
   3031                LDFLAGS="-L$withval/lib $LDFLAGS"
   3032             else
   3033                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3035 as_fn_error $? "Do not use --with-mpfr and --with-mpfr-include/--with-mpfr-lib options simultaneously.
   3036 See \`config.log' for more details" "$LINENO" 5; }
   3037             fi
   3038 
   3039 fi
   3040 
   3041 
   3042 # Check whether --with-gmp_include was given.
   3043 if test "${with_gmp_include+set}" = set; then :
   3044   withval=$with_gmp_include; CPPFLAGS="-I$withval $CPPFLAGS"
   3045 fi
   3046 
   3047 
   3048 # Check whether --with-gmp_lib was given.
   3049 if test "${with_gmp_lib+set}" = set; then :
   3050   withval=$with_gmp_lib; LDFLAGS="-L$withval $LDFLAGS"
   3051 fi
   3052 
   3053 
   3054 # Check whether --with-gmp was given.
   3055 if test "${with_gmp+set}" = set; then :
   3056   withval=$with_gmp;
   3057             if test -z "$with_gmp_lib" -a -z "$with_gmp_include" ; then
   3058                CPPFLAGS="-I$withval/include $CPPFLAGS"
   3059                LDFLAGS="-L$withval/lib $LDFLAGS"
   3060             else
   3061                { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3063 as_fn_error $? "Do not use --with-gmp and --with-gmp-include/--with-gmp-lib options simultaneously.
   3064 See \`config.log' for more details" "$LINENO" 5; }
   3065             fi
   3066 
   3067 fi
   3068 
   3069 # Check whether --enable-logging was given.
   3070 if test "${enable_logging+set}" = set; then :
   3071   enableval=$enable_logging; case $enableval in
   3072                  yes) if test "x$enable_shared" = "xno"; then :
   3073   as_fn_error $? "Logging works only with shared libraries; do not mix --enable-logging and --disable-shared" "$LINENO" 5
   3074 fi ;;
   3075                  no)  ;;
   3076                  *)   as_fn_error $? "Bad value for --enable-logging: Use yes or no" "$LINENO" 5 ;;
   3077               esac
   3078 
   3079 
   3080 fi
   3081 
   3082 # Check whether --enable-valgrind-tests was given.
   3083 if test "${enable_valgrind_tests+set}" = set; then :
   3084   enableval=$enable_valgrind_tests; case $enableval in
   3085                  yes)
   3086   # Run self-tests under valgrind?
   3087   if test "$cross_compiling" = no; then
   3088     for ac_prog in valgrind
   3089 do
   3090   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3091 set dummy $ac_prog; ac_word=$2
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3093 $as_echo_n "checking for $ac_word... " >&6; }
   3094 if ${ac_cv_prog_VALGRIND+:} false; then :
   3095   $as_echo_n "(cached) " >&6
   3096 else
   3097   if test -n "$VALGRIND"; then
   3098   ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
   3099 else
   3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3101 for as_dir in $PATH
   3102 do
   3103   IFS=$as_save_IFS
   3104   test -z "$as_dir" && as_dir=.
   3105     for ac_exec_ext in '' $ac_executable_extensions; do
   3106   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3107     ac_cv_prog_VALGRIND="$ac_prog"
   3108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3109     break 2
   3110   fi
   3111 done
   3112   done
   3113 IFS=$as_save_IFS
   3114 
   3115 fi
   3116 fi
   3117 VALGRIND=$ac_cv_prog_VALGRIND
   3118 if test -n "$VALGRIND"; then
   3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
   3120 $as_echo "$VALGRIND" >&6; }
   3121 else
   3122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3123 $as_echo "no" >&6; }
   3124 fi
   3125 
   3126 
   3127   test -n "$VALGRIND" && break
   3128 done
   3129 
   3130   fi
   3131 
   3132   VALGRIND_OPTS="-q --error-exitcode=1 --leak-check=full"
   3133 
   3134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether valgrind is working" >&5
   3135 $as_echo_n "checking whether valgrind is working... " >&6; }
   3136   if test -n "$VALGRIND" \
   3137      && $VALGRIND $VALGRIND_OPTS $SHELL -c 'exit 0' > /dev/null 2>&1; then
   3138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3139 $as_echo "yes" >&6; }
   3140 
   3141 $as_echo "#define MPC_USE_VALGRIND 1" >>confdefs.h
   3142 
   3143 # Addition AE: enable suppression file through a shell variable
   3144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valgrind suppression file" >&5
   3145 $as_echo_n "checking for valgrind suppression file... " >&6; }
   3146     if test -n "$VALGRIND_SUPPRESSION"; then
   3147        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_SUPPRESSION" >&5
   3148 $as_echo "$VALGRIND_SUPPRESSION" >&6; }
   3149        VALGRIND_OPTS="$VALGRIND_OPTS --suppressions=$VALGRIND_SUPPRESSION"
   3150     else
   3151        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3152 $as_echo "no" >&6; }
   3153     fi
   3154   else
   3155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3156 $as_echo "no" >&6; }
   3157     VALGRIND=
   3158     VALGRIND_OPTS=
   3159   fi
   3160 
   3161 
   3162  ;;
   3163                  no)  ;;
   3164                  *)   as_fn_error $? "Bad value for --enable-valgrind-tests: Use yes or no" "$LINENO" 5 ;;
   3165               esac
   3166 
   3167 
   3168 fi
   3169 
   3170 
   3171 # Check for CC and CFLAGS in gmp.h unless the user specified one of them
   3172 # look for EGREP and SED here, see continued problem
   3173 # at http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-January/001056.html
   3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3175 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3176 if ${ac_cv_path_GREP+:} false; then :
   3177   $as_echo_n "(cached) " >&6
   3178 else
   3179   if test -z "$GREP"; then
   3180   ac_path_GREP_found=false
   3181   # Loop through the user's path and test for each of PROGNAME-LIST
   3182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3183 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3184 do
   3185   IFS=$as_save_IFS
   3186   test -z "$as_dir" && as_dir=.
   3187     for ac_prog in grep ggrep; do
   3188     for ac_exec_ext in '' $ac_executable_extensions; do
   3189       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3190       as_fn_executable_p "$ac_path_GREP" || continue
   3191 # Check for GNU ac_path_GREP and select it if it is found.
   3192   # Check for GNU $ac_path_GREP
   3193 case `"$ac_path_GREP" --version 2>&1` in
   3194 *GNU*)
   3195   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3196 *)
   3197   ac_count=0
   3198   $as_echo_n 0123456789 >"conftest.in"
   3199   while :
   3200   do
   3201     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3202     mv "conftest.tmp" "conftest.in"
   3203     cp "conftest.in" "conftest.nl"
   3204     $as_echo 'GREP' >> "conftest.nl"
   3205     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3206     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3207     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3208     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3209       # Best one so far, save it but keep looking for a better one
   3210       ac_cv_path_GREP="$ac_path_GREP"
   3211       ac_path_GREP_max=$ac_count
   3212     fi
   3213     # 10*(2^10) chars as input seems more than enough
   3214     test $ac_count -gt 10 && break
   3215   done
   3216   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3217 esac
   3218 
   3219       $ac_path_GREP_found && break 3
   3220     done
   3221   done
   3222   done
   3223 IFS=$as_save_IFS
   3224   if test -z "$ac_cv_path_GREP"; then
   3225     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3226   fi
   3227 else
   3228   ac_cv_path_GREP=$GREP
   3229 fi
   3230 
   3231 fi
   3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3233 $as_echo "$ac_cv_path_GREP" >&6; }
   3234  GREP="$ac_cv_path_GREP"
   3235 
   3236 
   3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3238 $as_echo_n "checking for egrep... " >&6; }
   3239 if ${ac_cv_path_EGREP+:} false; then :
   3240   $as_echo_n "(cached) " >&6
   3241 else
   3242   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3243    then ac_cv_path_EGREP="$GREP -E"
   3244    else
   3245      if test -z "$EGREP"; then
   3246   ac_path_EGREP_found=false
   3247   # Loop through the user's path and test for each of PROGNAME-LIST
   3248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3250 do
   3251   IFS=$as_save_IFS
   3252   test -z "$as_dir" && as_dir=.
   3253     for ac_prog in egrep; do
   3254     for ac_exec_ext in '' $ac_executable_extensions; do
   3255       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3256       as_fn_executable_p "$ac_path_EGREP" || continue
   3257 # Check for GNU ac_path_EGREP and select it if it is found.
   3258   # Check for GNU $ac_path_EGREP
   3259 case `"$ac_path_EGREP" --version 2>&1` in
   3260 *GNU*)
   3261   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3262 *)
   3263   ac_count=0
   3264   $as_echo_n 0123456789 >"conftest.in"
   3265   while :
   3266   do
   3267     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3268     mv "conftest.tmp" "conftest.in"
   3269     cp "conftest.in" "conftest.nl"
   3270     $as_echo 'EGREP' >> "conftest.nl"
   3271     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3272     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3273     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3274     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3275       # Best one so far, save it but keep looking for a better one
   3276       ac_cv_path_EGREP="$ac_path_EGREP"
   3277       ac_path_EGREP_max=$ac_count
   3278     fi
   3279     # 10*(2^10) chars as input seems more than enough
   3280     test $ac_count -gt 10 && break
   3281   done
   3282   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3283 esac
   3284 
   3285       $ac_path_EGREP_found && break 3
   3286     done
   3287   done
   3288   done
   3289 IFS=$as_save_IFS
   3290   if test -z "$ac_cv_path_EGREP"; then
   3291     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3292   fi
   3293 else
   3294   ac_cv_path_EGREP=$EGREP
   3295 fi
   3296 
   3297    fi
   3298 fi
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3300 $as_echo "$ac_cv_path_EGREP" >&6; }
   3301  EGREP="$ac_cv_path_EGREP"
   3302 
   3303 
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3305 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3306 if ${ac_cv_path_SED+:} false; then :
   3307   $as_echo_n "(cached) " >&6
   3308 else
   3309             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3310      for ac_i in 1 2 3 4 5 6 7; do
   3311        ac_script="$ac_script$as_nl$ac_script"
   3312      done
   3313      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3314      { ac_script=; unset ac_script;}
   3315      if test -z "$SED"; then
   3316   ac_path_SED_found=false
   3317   # Loop through the user's path and test for each of PROGNAME-LIST
   3318   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3319 for as_dir in $PATH
   3320 do
   3321   IFS=$as_save_IFS
   3322   test -z "$as_dir" && as_dir=.
   3323     for ac_prog in sed gsed; do
   3324     for ac_exec_ext in '' $ac_executable_extensions; do
   3325       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3326       as_fn_executable_p "$ac_path_SED" || continue
   3327 # Check for GNU ac_path_SED and select it if it is found.
   3328   # Check for GNU $ac_path_SED
   3329 case `"$ac_path_SED" --version 2>&1` in
   3330 *GNU*)
   3331   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3332 *)
   3333   ac_count=0
   3334   $as_echo_n 0123456789 >"conftest.in"
   3335   while :
   3336   do
   3337     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3338     mv "conftest.tmp" "conftest.in"
   3339     cp "conftest.in" "conftest.nl"
   3340     $as_echo '' >> "conftest.nl"
   3341     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3342     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3343     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3344     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3345       # Best one so far, save it but keep looking for a better one
   3346       ac_cv_path_SED="$ac_path_SED"
   3347       ac_path_SED_max=$ac_count
   3348     fi
   3349     # 10*(2^10) chars as input seems more than enough
   3350     test $ac_count -gt 10 && break
   3351   done
   3352   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3353 esac
   3354 
   3355       $ac_path_SED_found && break 3
   3356     done
   3357   done
   3358   done
   3359 IFS=$as_save_IFS
   3360   if test -z "$ac_cv_path_SED"; then
   3361     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3362   fi
   3363 else
   3364   ac_cv_path_SED=$SED
   3365 fi
   3366 
   3367 fi
   3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3369 $as_echo "$ac_cv_path_SED" >&6; }
   3370  SED="$ac_cv_path_SED"
   3371   rm -f conftest.sed
   3372 
   3373 if test -z "$USER_CC" && test -z "$USER_CFLAGS"; then
   3374 
   3375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC and CFLAGS in gmp.h" >&5
   3376 $as_echo_n "checking for CC and CFLAGS in gmp.h... " >&6; }
   3377    GMP_CC=
   3378    GMP_CFLAGS=
   3379    # AC_PROG_CPP triggers the search for a C compiler; use hack instead
   3380    for cpp in "$CPP" cpp "gcc -E" /lib/cpp "cc -E" "c99 -E"
   3381    do
   3382       echo foo > conftest.c
   3383       if $cpp $CPPFLAGS conftest.c > /dev/null 2> /dev/null ; then
   3384          # Get CC
   3385          echo "#include \"gmp.h\"" >  conftest.c
   3386          echo "MPFR_OPTION __GMP_CC"           >> conftest.c
   3387          GMP_CC=`$cpp $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g;s/ *" *//g'`
   3388          # Get CFLAGS
   3389          echo "#include \"gmp.h\"" >  conftest.c
   3390          echo "MPFR_OPTION __GMP_CFLAGS"           >> conftest.c
   3391          GMP_CFLAGS=`$cpp $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g;s/ *" *//g'`
   3392          break
   3393       fi
   3394    done
   3395 
   3396    if test -z "$GMP_CC$GMP_CFLAGS" ; then
   3397       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3398 $as_echo "no" >&6; }
   3399    else
   3400       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&5
   3401 $as_echo "yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&6; }
   3402       # Check for validity of CC and CFLAGS obtained from gmp.h
   3403       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS" >&5
   3404 $as_echo_n "checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS... " >&6; }
   3405       echo "int main (void) { return 0; }" > conftest.c
   3406       if $GMP_CC $GMP_CFLAGS -o conftest conftest.c 2> /dev/null ; then
   3407          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3408 $as_echo "yes" >&6; }
   3409          CC=$GMP_CC
   3410          CFLAGS=$GMP_CFLAGS
   3411       else
   3412          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3413 $as_echo "no" >&6; }
   3414       fi
   3415    fi
   3416 
   3417    rm -f conftest*
   3418 
   3419 fi
   3420 
   3421 # Setup CC and CFLAGS
   3422 ac_ext=c
   3423 ac_cpp='$CPP $CPPFLAGS'
   3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3427 if test -n "$ac_tool_prefix"; then
   3428   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3429 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3431 $as_echo_n "checking for $ac_word... " >&6; }
   3432 if ${ac_cv_prog_CC+:} false; then :
   3433   $as_echo_n "(cached) " >&6
   3434 else
   3435   if test -n "$CC"; then
   3436   ac_cv_prog_CC="$CC" # Let the user override the test.
   3437 else
   3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3439 for as_dir in $PATH
   3440 do
   3441   IFS=$as_save_IFS
   3442   test -z "$as_dir" && as_dir=.
   3443     for ac_exec_ext in '' $ac_executable_extensions; do
   3444   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3445     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3447     break 2
   3448   fi
   3449 done
   3450   done
   3451 IFS=$as_save_IFS
   3452 
   3453 fi
   3454 fi
   3455 CC=$ac_cv_prog_CC
   3456 if test -n "$CC"; then
   3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3458 $as_echo "$CC" >&6; }
   3459 else
   3460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3461 $as_echo "no" >&6; }
   3462 fi
   3463 
   3464 
   3465 fi
   3466 if test -z "$ac_cv_prog_CC"; then
   3467   ac_ct_CC=$CC
   3468   # Extract the first word of "gcc", so it can be a program name with args.
   3469 set dummy gcc; ac_word=$2
   3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3471 $as_echo_n "checking for $ac_word... " >&6; }
   3472 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3473   $as_echo_n "(cached) " >&6
   3474 else
   3475   if test -n "$ac_ct_CC"; then
   3476   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3477 else
   3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3479 for as_dir in $PATH
   3480 do
   3481   IFS=$as_save_IFS
   3482   test -z "$as_dir" && as_dir=.
   3483     for ac_exec_ext in '' $ac_executable_extensions; do
   3484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3485     ac_cv_prog_ac_ct_CC="gcc"
   3486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3487     break 2
   3488   fi
   3489 done
   3490   done
   3491 IFS=$as_save_IFS
   3492 
   3493 fi
   3494 fi
   3495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3496 if test -n "$ac_ct_CC"; then
   3497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3498 $as_echo "$ac_ct_CC" >&6; }
   3499 else
   3500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3501 $as_echo "no" >&6; }
   3502 fi
   3503 
   3504   if test "x$ac_ct_CC" = x; then
   3505     CC=""
   3506   else
   3507     case $cross_compiling:$ac_tool_warned in
   3508 yes:)
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3511 ac_tool_warned=yes ;;
   3512 esac
   3513     CC=$ac_ct_CC
   3514   fi
   3515 else
   3516   CC="$ac_cv_prog_CC"
   3517 fi
   3518 
   3519 if test -z "$CC"; then
   3520           if test -n "$ac_tool_prefix"; then
   3521     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3522 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3524 $as_echo_n "checking for $ac_word... " >&6; }
   3525 if ${ac_cv_prog_CC+:} false; then :
   3526   $as_echo_n "(cached) " >&6
   3527 else
   3528   if test -n "$CC"; then
   3529   ac_cv_prog_CC="$CC" # Let the user override the test.
   3530 else
   3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3532 for as_dir in $PATH
   3533 do
   3534   IFS=$as_save_IFS
   3535   test -z "$as_dir" && as_dir=.
   3536     for ac_exec_ext in '' $ac_executable_extensions; do
   3537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3538     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3540     break 2
   3541   fi
   3542 done
   3543   done
   3544 IFS=$as_save_IFS
   3545 
   3546 fi
   3547 fi
   3548 CC=$ac_cv_prog_CC
   3549 if test -n "$CC"; then
   3550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3551 $as_echo "$CC" >&6; }
   3552 else
   3553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3554 $as_echo "no" >&6; }
   3555 fi
   3556 
   3557 
   3558   fi
   3559 fi
   3560 if test -z "$CC"; then
   3561   # Extract the first word of "cc", so it can be a program name with args.
   3562 set dummy cc; ac_word=$2
   3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3564 $as_echo_n "checking for $ac_word... " >&6; }
   3565 if ${ac_cv_prog_CC+:} false; then :
   3566   $as_echo_n "(cached) " >&6
   3567 else
   3568   if test -n "$CC"; then
   3569   ac_cv_prog_CC="$CC" # Let the user override the test.
   3570 else
   3571   ac_prog_rejected=no
   3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3573 for as_dir in $PATH
   3574 do
   3575   IFS=$as_save_IFS
   3576   test -z "$as_dir" && as_dir=.
   3577     for ac_exec_ext in '' $ac_executable_extensions; do
   3578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3579     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3580        ac_prog_rejected=yes
   3581        continue
   3582      fi
   3583     ac_cv_prog_CC="cc"
   3584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3585     break 2
   3586   fi
   3587 done
   3588   done
   3589 IFS=$as_save_IFS
   3590 
   3591 if test $ac_prog_rejected = yes; then
   3592   # We found a bogon in the path, so make sure we never use it.
   3593   set dummy $ac_cv_prog_CC
   3594   shift
   3595   if test $# != 0; then
   3596     # We chose a different compiler from the bogus one.
   3597     # However, it has the same basename, so the bogon will be chosen
   3598     # first if we set CC to just the basename; use the full file name.
   3599     shift
   3600     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3601   fi
   3602 fi
   3603 fi
   3604 fi
   3605 CC=$ac_cv_prog_CC
   3606 if test -n "$CC"; then
   3607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3608 $as_echo "$CC" >&6; }
   3609 else
   3610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3611 $as_echo "no" >&6; }
   3612 fi
   3613 
   3614 
   3615 fi
   3616 if test -z "$CC"; then
   3617   if test -n "$ac_tool_prefix"; then
   3618   for ac_prog in cl.exe
   3619   do
   3620     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3623 $as_echo_n "checking for $ac_word... " >&6; }
   3624 if ${ac_cv_prog_CC+:} false; then :
   3625   $as_echo_n "(cached) " >&6
   3626 else
   3627   if test -n "$CC"; then
   3628   ac_cv_prog_CC="$CC" # Let the user override the test.
   3629 else
   3630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3631 for as_dir in $PATH
   3632 do
   3633   IFS=$as_save_IFS
   3634   test -z "$as_dir" && as_dir=.
   3635     for ac_exec_ext in '' $ac_executable_extensions; do
   3636   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3637     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3639     break 2
   3640   fi
   3641 done
   3642   done
   3643 IFS=$as_save_IFS
   3644 
   3645 fi
   3646 fi
   3647 CC=$ac_cv_prog_CC
   3648 if test -n "$CC"; then
   3649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3650 $as_echo "$CC" >&6; }
   3651 else
   3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3653 $as_echo "no" >&6; }
   3654 fi
   3655 
   3656 
   3657     test -n "$CC" && break
   3658   done
   3659 fi
   3660 if test -z "$CC"; then
   3661   ac_ct_CC=$CC
   3662   for ac_prog in cl.exe
   3663 do
   3664   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3665 set dummy $ac_prog; ac_word=$2
   3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3667 $as_echo_n "checking for $ac_word... " >&6; }
   3668 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3669   $as_echo_n "(cached) " >&6
   3670 else
   3671   if test -n "$ac_ct_CC"; then
   3672   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3673 else
   3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3675 for as_dir in $PATH
   3676 do
   3677   IFS=$as_save_IFS
   3678   test -z "$as_dir" && as_dir=.
   3679     for ac_exec_ext in '' $ac_executable_extensions; do
   3680   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3681     ac_cv_prog_ac_ct_CC="$ac_prog"
   3682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3683     break 2
   3684   fi
   3685 done
   3686   done
   3687 IFS=$as_save_IFS
   3688 
   3689 fi
   3690 fi
   3691 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3692 if test -n "$ac_ct_CC"; then
   3693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3694 $as_echo "$ac_ct_CC" >&6; }
   3695 else
   3696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3697 $as_echo "no" >&6; }
   3698 fi
   3699 
   3700 
   3701   test -n "$ac_ct_CC" && break
   3702 done
   3703 
   3704   if test "x$ac_ct_CC" = x; then
   3705     CC=""
   3706   else
   3707     case $cross_compiling:$ac_tool_warned in
   3708 yes:)
   3709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3711 ac_tool_warned=yes ;;
   3712 esac
   3713     CC=$ac_ct_CC
   3714   fi
   3715 fi
   3716 
   3717 fi
   3718 
   3719 
   3720 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3722 as_fn_error $? "no acceptable C compiler found in \$PATH
   3723 See \`config.log' for more details" "$LINENO" 5; }
   3724 
   3725 # Provide some information about the compiler.
   3726 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3727 set X $ac_compile
   3728 ac_compiler=$2
   3729 for ac_option in --version -v -V -qversion; do
   3730   { { ac_try="$ac_compiler $ac_option >&5"
   3731 case "(($ac_try" in
   3732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3733   *) ac_try_echo=$ac_try;;
   3734 esac
   3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3736 $as_echo "$ac_try_echo"; } >&5
   3737   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3738   ac_status=$?
   3739   if test -s conftest.err; then
   3740     sed '10a\
   3741 ... rest of stderr output deleted ...
   3742          10q' conftest.err >conftest.er1
   3743     cat conftest.er1 >&5
   3744   fi
   3745   rm -f conftest.er1 conftest.err
   3746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3747   test $ac_status = 0; }
   3748 done
   3749 
   3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3751 /* end confdefs.h.  */
   3752 
   3753 int
   3754 main ()
   3755 {
   3756 
   3757   ;
   3758   return 0;
   3759 }
   3760 _ACEOF
   3761 ac_clean_files_save=$ac_clean_files
   3762 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3763 # Try to create an executable without -o first, disregard a.out.
   3764 # It will help us diagnose broken compilers, and finding out an intuition
   3765 # of exeext.
   3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3767 $as_echo_n "checking whether the C compiler works... " >&6; }
   3768 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3769 
   3770 # The possible output files:
   3771 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3772 
   3773 ac_rmfiles=
   3774 for ac_file in $ac_files
   3775 do
   3776   case $ac_file in
   3777     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3778     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3779   esac
   3780 done
   3781 rm -f $ac_rmfiles
   3782 
   3783 if { { ac_try="$ac_link_default"
   3784 case "(($ac_try" in
   3785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3786   *) ac_try_echo=$ac_try;;
   3787 esac
   3788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3789 $as_echo "$ac_try_echo"; } >&5
   3790   (eval "$ac_link_default") 2>&5
   3791   ac_status=$?
   3792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3793   test $ac_status = 0; }; then :
   3794   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3795 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3796 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3797 # so that the user can short-circuit this test for compilers unknown to
   3798 # Autoconf.
   3799 for ac_file in $ac_files ''
   3800 do
   3801   test -f "$ac_file" || continue
   3802   case $ac_file in
   3803     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3804 	;;
   3805     [ab].out )
   3806 	# We found the default executable, but exeext='' is most
   3807 	# certainly right.
   3808 	break;;
   3809     *.* )
   3810 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3811 	then :; else
   3812 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3813 	fi
   3814 	# We set ac_cv_exeext here because the later test for it is not
   3815 	# safe: cross compilers may not add the suffix if given an `-o'
   3816 	# argument, so we may need to know it at that point already.
   3817 	# Even if this section looks crufty: it has the advantage of
   3818 	# actually working.
   3819 	break;;
   3820     * )
   3821 	break;;
   3822   esac
   3823 done
   3824 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3825 
   3826 else
   3827   ac_file=''
   3828 fi
   3829 if test -z "$ac_file"; then :
   3830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3831 $as_echo "no" >&6; }
   3832 $as_echo "$as_me: failed program was:" >&5
   3833 sed 's/^/| /' conftest.$ac_ext >&5
   3834 
   3835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3837 as_fn_error 77 "C compiler cannot create executables
   3838 See \`config.log' for more details" "$LINENO" 5; }
   3839 else
   3840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3841 $as_echo "yes" >&6; }
   3842 fi
   3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3844 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3846 $as_echo "$ac_file" >&6; }
   3847 ac_exeext=$ac_cv_exeext
   3848 
   3849 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3850 ac_clean_files=$ac_clean_files_save
   3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3852 $as_echo_n "checking for suffix of executables... " >&6; }
   3853 if { { ac_try="$ac_link"
   3854 case "(($ac_try" in
   3855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3856   *) ac_try_echo=$ac_try;;
   3857 esac
   3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3859 $as_echo "$ac_try_echo"; } >&5
   3860   (eval "$ac_link") 2>&5
   3861   ac_status=$?
   3862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3863   test $ac_status = 0; }; then :
   3864   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3865 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3866 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3867 # `rm'.
   3868 for ac_file in conftest.exe conftest conftest.*; do
   3869   test -f "$ac_file" || continue
   3870   case $ac_file in
   3871     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3872     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3873 	  break;;
   3874     * ) break;;
   3875   esac
   3876 done
   3877 else
   3878   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3880 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3881 See \`config.log' for more details" "$LINENO" 5; }
   3882 fi
   3883 rm -f conftest conftest$ac_cv_exeext
   3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3885 $as_echo "$ac_cv_exeext" >&6; }
   3886 
   3887 rm -f conftest.$ac_ext
   3888 EXEEXT=$ac_cv_exeext
   3889 ac_exeext=$EXEEXT
   3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3891 /* end confdefs.h.  */
   3892 #include <stdio.h>
   3893 int
   3894 main ()
   3895 {
   3896 FILE *f = fopen ("conftest.out", "w");
   3897  return ferror (f) || fclose (f) != 0;
   3898 
   3899   ;
   3900   return 0;
   3901 }
   3902 _ACEOF
   3903 ac_clean_files="$ac_clean_files conftest.out"
   3904 # Check that the compiler produces executables we can run.  If not, either
   3905 # the compiler is broken, or we cross compile.
   3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3907 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3908 if test "$cross_compiling" != yes; then
   3909   { { ac_try="$ac_link"
   3910 case "(($ac_try" in
   3911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3912   *) ac_try_echo=$ac_try;;
   3913 esac
   3914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3915 $as_echo "$ac_try_echo"; } >&5
   3916   (eval "$ac_link") 2>&5
   3917   ac_status=$?
   3918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3919   test $ac_status = 0; }
   3920   if { ac_try='./conftest$ac_cv_exeext'
   3921   { { case "(($ac_try" in
   3922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3923   *) ac_try_echo=$ac_try;;
   3924 esac
   3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3926 $as_echo "$ac_try_echo"; } >&5
   3927   (eval "$ac_try") 2>&5
   3928   ac_status=$?
   3929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3930   test $ac_status = 0; }; }; then
   3931     cross_compiling=no
   3932   else
   3933     if test "$cross_compiling" = maybe; then
   3934 	cross_compiling=yes
   3935     else
   3936 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3938 as_fn_error $? "cannot run C compiled programs.
   3939 If you meant to cross compile, use \`--host'.
   3940 See \`config.log' for more details" "$LINENO" 5; }
   3941     fi
   3942   fi
   3943 fi
   3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3945 $as_echo "$cross_compiling" >&6; }
   3946 
   3947 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3948 ac_clean_files=$ac_clean_files_save
   3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3950 $as_echo_n "checking for suffix of object files... " >&6; }
   3951 if ${ac_cv_objext+:} false; then :
   3952   $as_echo_n "(cached) " >&6
   3953 else
   3954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3955 /* end confdefs.h.  */
   3956 
   3957 int
   3958 main ()
   3959 {
   3960 
   3961   ;
   3962   return 0;
   3963 }
   3964 _ACEOF
   3965 rm -f conftest.o conftest.obj
   3966 if { { ac_try="$ac_compile"
   3967 case "(($ac_try" in
   3968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3969   *) ac_try_echo=$ac_try;;
   3970 esac
   3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3972 $as_echo "$ac_try_echo"; } >&5
   3973   (eval "$ac_compile") 2>&5
   3974   ac_status=$?
   3975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3976   test $ac_status = 0; }; then :
   3977   for ac_file in conftest.o conftest.obj conftest.*; do
   3978   test -f "$ac_file" || continue;
   3979   case $ac_file in
   3980     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3981     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3982        break;;
   3983   esac
   3984 done
   3985 else
   3986   $as_echo "$as_me: failed program was:" >&5
   3987 sed 's/^/| /' conftest.$ac_ext >&5
   3988 
   3989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3991 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3992 See \`config.log' for more details" "$LINENO" 5; }
   3993 fi
   3994 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3995 fi
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3997 $as_echo "$ac_cv_objext" >&6; }
   3998 OBJEXT=$ac_cv_objext
   3999 ac_objext=$OBJEXT
   4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4001 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4002 if ${ac_cv_c_compiler_gnu+:} false; then :
   4003   $as_echo_n "(cached) " >&6
   4004 else
   4005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4006 /* end confdefs.h.  */
   4007 
   4008 int
   4009 main ()
   4010 {
   4011 #ifndef __GNUC__
   4012        choke me
   4013 #endif
   4014 
   4015   ;
   4016   return 0;
   4017 }
   4018 _ACEOF
   4019 if ac_fn_c_try_compile "$LINENO"; then :
   4020   ac_compiler_gnu=yes
   4021 else
   4022   ac_compiler_gnu=no
   4023 fi
   4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4026 
   4027 fi
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4029 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4030 if test $ac_compiler_gnu = yes; then
   4031   GCC=yes
   4032 else
   4033   GCC=
   4034 fi
   4035 ac_test_CFLAGS=${CFLAGS+set}
   4036 ac_save_CFLAGS=$CFLAGS
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4038 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4039 if ${ac_cv_prog_cc_g+:} false; then :
   4040   $as_echo_n "(cached) " >&6
   4041 else
   4042   ac_save_c_werror_flag=$ac_c_werror_flag
   4043    ac_c_werror_flag=yes
   4044    ac_cv_prog_cc_g=no
   4045    CFLAGS="-g"
   4046    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 
   4049 int
   4050 main ()
   4051 {
   4052 
   4053   ;
   4054   return 0;
   4055 }
   4056 _ACEOF
   4057 if ac_fn_c_try_compile "$LINENO"; then :
   4058   ac_cv_prog_cc_g=yes
   4059 else
   4060   CFLAGS=""
   4061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4062 /* end confdefs.h.  */
   4063 
   4064 int
   4065 main ()
   4066 {
   4067 
   4068   ;
   4069   return 0;
   4070 }
   4071 _ACEOF
   4072 if ac_fn_c_try_compile "$LINENO"; then :
   4073 
   4074 else
   4075   ac_c_werror_flag=$ac_save_c_werror_flag
   4076 	 CFLAGS="-g"
   4077 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4078 /* end confdefs.h.  */
   4079 
   4080 int
   4081 main ()
   4082 {
   4083 
   4084   ;
   4085   return 0;
   4086 }
   4087 _ACEOF
   4088 if ac_fn_c_try_compile "$LINENO"; then :
   4089   ac_cv_prog_cc_g=yes
   4090 fi
   4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   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    ac_c_werror_flag=$ac_save_c_werror_flag
   4097 fi
   4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4099 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4100 if test "$ac_test_CFLAGS" = set; then
   4101   CFLAGS=$ac_save_CFLAGS
   4102 elif test $ac_cv_prog_cc_g = yes; then
   4103   if test "$GCC" = yes; then
   4104     CFLAGS="-g -O2"
   4105   else
   4106     CFLAGS="-g"
   4107   fi
   4108 else
   4109   if test "$GCC" = yes; then
   4110     CFLAGS="-O2"
   4111   else
   4112     CFLAGS=
   4113   fi
   4114 fi
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4116 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4117 if ${ac_cv_prog_cc_c89+:} false; then :
   4118   $as_echo_n "(cached) " >&6
   4119 else
   4120   ac_cv_prog_cc_c89=no
   4121 ac_save_CC=$CC
   4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 #include <stdarg.h>
   4125 #include <stdio.h>
   4126 struct stat;
   4127 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4128 struct buf { int x; };
   4129 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4130 static char *e (p, i)
   4131      char **p;
   4132      int i;
   4133 {
   4134   return p[i];
   4135 }
   4136 static char *f (char * (*g) (char **, int), char **p, ...)
   4137 {
   4138   char *s;
   4139   va_list v;
   4140   va_start (v,p);
   4141   s = g (p, va_arg (v,int));
   4142   va_end (v);
   4143   return s;
   4144 }
   4145 
   4146 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4147    function prototypes and stuff, but not '\xHH' hex character constants.
   4148    These don't provoke an error unfortunately, instead are silently treated
   4149    as 'x'.  The following induces an error, until -std is added to get
   4150    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4151    array size at least.  It's necessary to write '\x00'==0 to get something
   4152    that's true only with -std.  */
   4153 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4154 
   4155 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4156    inside strings and character constants.  */
   4157 #define FOO(x) 'x'
   4158 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4159 
   4160 int test (int i, double x);
   4161 struct s1 {int (*f) (int a);};
   4162 struct s2 {int (*f) (double a);};
   4163 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4164 int argc;
   4165 char **argv;
   4166 int
   4167 main ()
   4168 {
   4169 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4170   ;
   4171   return 0;
   4172 }
   4173 _ACEOF
   4174 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4175 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4176 do
   4177   CC="$ac_save_CC $ac_arg"
   4178   if ac_fn_c_try_compile "$LINENO"; then :
   4179   ac_cv_prog_cc_c89=$ac_arg
   4180 fi
   4181 rm -f core conftest.err conftest.$ac_objext
   4182   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4183 done
   4184 rm -f conftest.$ac_ext
   4185 CC=$ac_save_CC
   4186 
   4187 fi
   4188 # AC_CACHE_VAL
   4189 case "x$ac_cv_prog_cc_c89" in
   4190   x)
   4191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4192 $as_echo "none needed" >&6; } ;;
   4193   xno)
   4194     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4195 $as_echo "unsupported" >&6; } ;;
   4196   *)
   4197     CC="$CC $ac_cv_prog_cc_c89"
   4198     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4199 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4200 esac
   4201 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4202 
   4203 fi
   4204 
   4205 ac_ext=c
   4206 ac_cpp='$CPP $CPPFLAGS'
   4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4210 
   4211 ac_ext=c
   4212 ac_cpp='$CPP $CPPFLAGS'
   4213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4217 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4218 if ${am_cv_prog_cc_c_o+:} false; then :
   4219   $as_echo_n "(cached) " >&6
   4220 else
   4221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4222 /* end confdefs.h.  */
   4223 
   4224 int
   4225 main ()
   4226 {
   4227 
   4228   ;
   4229   return 0;
   4230 }
   4231 _ACEOF
   4232   # Make sure it works both with $CC and with simple cc.
   4233   # Following AC_PROG_CC_C_O, we do the test twice because some
   4234   # compilers refuse to overwrite an existing .o file with -o,
   4235   # though they will create one.
   4236   am_cv_prog_cc_c_o=yes
   4237   for am_i in 1 2; do
   4238     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4239    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4240    ac_status=$?
   4241    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4242    (exit $ac_status); } \
   4243          && test -f conftest2.$ac_objext; then
   4244       : OK
   4245     else
   4246       am_cv_prog_cc_c_o=no
   4247       break
   4248     fi
   4249   done
   4250   rm -f core conftest*
   4251   unset am_i
   4252 fi
   4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4254 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4255 if test "$am_cv_prog_cc_c_o" != yes; then
   4256    # Losing compiler, so override with the script.
   4257    # FIXME: It is wrong to rewrite CC.
   4258    # But if we don't then we get into trouble of one sort or another.
   4259    # A longer-term fix would be to have automake use am__CC in this case,
   4260    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4261    CC="$am_aux_dir/compile $CC"
   4262 fi
   4263 ac_ext=c
   4264 ac_cpp='$CPP $CPPFLAGS'
   4265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4268 
   4269 DEPDIR="${am__leading_dot}deps"
   4270 
   4271 ac_config_commands="$ac_config_commands depfiles"
   4272 
   4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4274 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4275 cat > confinc.mk << 'END'
   4276 am__doit:
   4277 	@echo this is the am__doit target >confinc.out
   4278 .PHONY: am__doit
   4279 END
   4280 am__include="#"
   4281 am__quote=
   4282 # BSD make does it like this.
   4283 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4284 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4285 echo 'include confinc.mk # ignored' > confmf.GNU
   4286 _am_result=no
   4287 for s in GNU BSD; do
   4288   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4289    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4290    ac_status=$?
   4291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4292    (exit $ac_status); }
   4293   case $?:`cat confinc.out 2>/dev/null` in #(
   4294   '0:this is the am__doit target') :
   4295     case $s in #(
   4296   BSD) :
   4297     am__include='.include' am__quote='"' ;; #(
   4298   *) :
   4299     am__include='include' am__quote='' ;;
   4300 esac ;; #(
   4301   *) :
   4302      ;;
   4303 esac
   4304   if test "$am__include" != "#"; then
   4305     _am_result="yes ($s style)"
   4306     break
   4307   fi
   4308 done
   4309 rm -f confinc.* confmf.*
   4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4311 $as_echo "${_am_result}" >&6; }
   4312 
   4313 # Check whether --enable-dependency-tracking was given.
   4314 if test "${enable_dependency_tracking+set}" = set; then :
   4315   enableval=$enable_dependency_tracking;
   4316 fi
   4317 
   4318 if test "x$enable_dependency_tracking" != xno; then
   4319   am_depcomp="$ac_aux_dir/depcomp"
   4320   AMDEPBACKSLASH='\'
   4321   am__nodep='_no'
   4322 fi
   4323  if test "x$enable_dependency_tracking" != xno; then
   4324   AMDEP_TRUE=
   4325   AMDEP_FALSE='#'
   4326 else
   4327   AMDEP_TRUE='#'
   4328   AMDEP_FALSE=
   4329 fi
   4330 
   4331 
   4332 
   4333 depcc="$CC"   am_compiler_list=
   4334 
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4336 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4337 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4338   $as_echo_n "(cached) " >&6
   4339 else
   4340   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4341   # We make a subdir and do the tests there.  Otherwise we can end up
   4342   # making bogus files that we don't know about and never remove.  For
   4343   # instance it was reported that on HP-UX the gcc test will end up
   4344   # making a dummy file named 'D' -- because '-MD' means "put the output
   4345   # in D".
   4346   rm -rf conftest.dir
   4347   mkdir conftest.dir
   4348   # Copy depcomp to subdir because otherwise we won't find it if we're
   4349   # using a relative directory.
   4350   cp "$am_depcomp" conftest.dir
   4351   cd conftest.dir
   4352   # We will build objects and dependencies in a subdirectory because
   4353   # it helps to detect inapplicable dependency modes.  For instance
   4354   # both Tru64's cc and ICC support -MD to output dependencies as a
   4355   # side effect of compilation, but ICC will put the dependencies in
   4356   # the current directory while Tru64 will put them in the object
   4357   # directory.
   4358   mkdir sub
   4359 
   4360   am_cv_CC_dependencies_compiler_type=none
   4361   if test "$am_compiler_list" = ""; then
   4362      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4363   fi
   4364   am__universal=false
   4365   case " $depcc " in #(
   4366      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4367      esac
   4368 
   4369   for depmode in $am_compiler_list; do
   4370     # Setup a source with many dependencies, because some compilers
   4371     # like to wrap large dependency lists on column 80 (with \), and
   4372     # we should not choose a depcomp mode which is confused by this.
   4373     #
   4374     # We need to recreate these files for each test, as the compiler may
   4375     # overwrite some of them when testing with obscure command lines.
   4376     # This happens at least with the AIX C compiler.
   4377     : > sub/conftest.c
   4378     for i in 1 2 3 4 5 6; do
   4379       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4380       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4381       # Solaris 10 /bin/sh.
   4382       echo '/* dummy */' > sub/conftst$i.h
   4383     done
   4384     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4385 
   4386     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4387     # mode.  It turns out that the SunPro C++ compiler does not properly
   4388     # handle '-M -o', and we need to detect this.  Also, some Intel
   4389     # versions had trouble with output in subdirs.
   4390     am__obj=sub/conftest.${OBJEXT-o}
   4391     am__minus_obj="-o $am__obj"
   4392     case $depmode in
   4393     gcc)
   4394       # This depmode causes a compiler race in universal mode.
   4395       test "$am__universal" = false || continue
   4396       ;;
   4397     nosideeffect)
   4398       # After this tag, mechanisms are not by side-effect, so they'll
   4399       # only be used when explicitly requested.
   4400       if test "x$enable_dependency_tracking" = xyes; then
   4401 	continue
   4402       else
   4403 	break
   4404       fi
   4405       ;;
   4406     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4407       # This compiler won't grok '-c -o', but also, the minuso test has
   4408       # not run yet.  These depmodes are late enough in the game, and
   4409       # so weak that their functioning should not be impacted.
   4410       am__obj=conftest.${OBJEXT-o}
   4411       am__minus_obj=
   4412       ;;
   4413     none) break ;;
   4414     esac
   4415     if depmode=$depmode \
   4416        source=sub/conftest.c object=$am__obj \
   4417        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4418        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4419          >/dev/null 2>conftest.err &&
   4420        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4421        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4422        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4423        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4424       # icc doesn't choke on unknown options, it will just issue warnings
   4425       # or remarks (even with -Werror).  So we grep stderr for any message
   4426       # that says an option was ignored or not supported.
   4427       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4428       #   icc: Command line warning: ignoring option '-M'; no argument required
   4429       # The diagnosis changed in icc 8.0:
   4430       #   icc: Command line remark: option '-MP' not supported
   4431       if (grep 'ignoring option' conftest.err ||
   4432           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4433         am_cv_CC_dependencies_compiler_type=$depmode
   4434         break
   4435       fi
   4436     fi
   4437   done
   4438 
   4439   cd ..
   4440   rm -rf conftest.dir
   4441 else
   4442   am_cv_CC_dependencies_compiler_type=none
   4443 fi
   4444 
   4445 fi
   4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4449 
   4450  if
   4451   test "x$enable_dependency_tracking" != xno \
   4452   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4453   am__fastdepCC_TRUE=
   4454   am__fastdepCC_FALSE='#'
   4455 else
   4456   am__fastdepCC_TRUE='#'
   4457   am__fastdepCC_FALSE=
   4458 fi
   4459 
   4460 
   4461 ac_ext=c
   4462 ac_cpp='$CPP $CPPFLAGS'
   4463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4466 
   4467 
   4468 # automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
   4469 
   4470 if test -n "$ac_tool_prefix"; then
   4471   for ac_prog in ar lib "link -lib"
   4472   do
   4473     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4476 $as_echo_n "checking for $ac_word... " >&6; }
   4477 if ${ac_cv_prog_AR+:} false; then :
   4478   $as_echo_n "(cached) " >&6
   4479 else
   4480   if test -n "$AR"; then
   4481   ac_cv_prog_AR="$AR" # Let the user override the test.
   4482 else
   4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4484 for as_dir in $PATH
   4485 do
   4486   IFS=$as_save_IFS
   4487   test -z "$as_dir" && as_dir=.
   4488     for ac_exec_ext in '' $ac_executable_extensions; do
   4489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4490     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   4491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4492     break 2
   4493   fi
   4494 done
   4495   done
   4496 IFS=$as_save_IFS
   4497 
   4498 fi
   4499 fi
   4500 AR=$ac_cv_prog_AR
   4501 if test -n "$AR"; then
   4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4503 $as_echo "$AR" >&6; }
   4504 else
   4505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4506 $as_echo "no" >&6; }
   4507 fi
   4508 
   4509 
   4510     test -n "$AR" && break
   4511   done
   4512 fi
   4513 if test -z "$AR"; then
   4514   ac_ct_AR=$AR
   4515   for ac_prog in ar lib "link -lib"
   4516 do
   4517   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4518 set dummy $ac_prog; ac_word=$2
   4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4520 $as_echo_n "checking for $ac_word... " >&6; }
   4521 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4522   $as_echo_n "(cached) " >&6
   4523 else
   4524   if test -n "$ac_ct_AR"; then
   4525   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4526 else
   4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4528 for as_dir in $PATH
   4529 do
   4530   IFS=$as_save_IFS
   4531   test -z "$as_dir" && as_dir=.
   4532     for ac_exec_ext in '' $ac_executable_extensions; do
   4533   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4534     ac_cv_prog_ac_ct_AR="$ac_prog"
   4535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4536     break 2
   4537   fi
   4538 done
   4539   done
   4540 IFS=$as_save_IFS
   4541 
   4542 fi
   4543 fi
   4544 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4545 if test -n "$ac_ct_AR"; then
   4546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4547 $as_echo "$ac_ct_AR" >&6; }
   4548 else
   4549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4550 $as_echo "no" >&6; }
   4551 fi
   4552 
   4553 
   4554   test -n "$ac_ct_AR" && break
   4555 done
   4556 
   4557   if test "x$ac_ct_AR" = x; then
   4558     AR="false"
   4559   else
   4560     case $cross_compiling:$ac_tool_warned in
   4561 yes:)
   4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4564 ac_tool_warned=yes ;;
   4565 esac
   4566     AR=$ac_ct_AR
   4567   fi
   4568 fi
   4569 
   4570 : ${AR=ar}
   4571 
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   4573 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   4574 if ${am_cv_ar_interface+:} false; then :
   4575   $as_echo_n "(cached) " >&6
   4576 else
   4577   ac_ext=c
   4578 ac_cpp='$CPP $CPPFLAGS'
   4579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4582 
   4583    am_cv_ar_interface=ar
   4584    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4585 /* end confdefs.h.  */
   4586 int some_variable = 0;
   4587 _ACEOF
   4588 if ac_fn_c_try_compile "$LINENO"; then :
   4589   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   4590       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4591   (eval $am_ar_try) 2>&5
   4592   ac_status=$?
   4593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4594   test $ac_status = 0; }
   4595       if test "$ac_status" -eq 0; then
   4596         am_cv_ar_interface=ar
   4597       else
   4598         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   4599         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4600   (eval $am_ar_try) 2>&5
   4601   ac_status=$?
   4602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4603   test $ac_status = 0; }
   4604         if test "$ac_status" -eq 0; then
   4605           am_cv_ar_interface=lib
   4606         else
   4607           am_cv_ar_interface=unknown
   4608         fi
   4609       fi
   4610       rm -f conftest.lib libconftest.a
   4611 
   4612 fi
   4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4614    ac_ext=c
   4615 ac_cpp='$CPP $CPPFLAGS'
   4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4619 
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   4622 $as_echo "$am_cv_ar_interface" >&6; }
   4623 
   4624 case $am_cv_ar_interface in
   4625 ar)
   4626   ;;
   4627 lib)
   4628   # Microsoft lib, so override with the ar-lib wrapper script.
   4629   # FIXME: It is wrong to rewrite AR.
   4630   # But if we don't then we get into trouble of one sort or another.
   4631   # A longer-term fix would be to have automake use am__AR in this case,
   4632   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   4633   # similar.
   4634   AR="$am_aux_dir/ar-lib $AR"
   4635   ;;
   4636 unknown)
   4637   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   4638   ;;
   4639 esac
   4640 
   4641 
   4642 # Set up LibTool
   4643 case `pwd` in
   4644   *\ * | *\	*)
   4645     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4646 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4647 esac
   4648 
   4649 
   4650 
   4651 macro_version='2.4.6'
   4652 macro_revision='2.4.6'
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 ltmain=$ac_aux_dir/ltmain.sh
   4667 
   4668 # Backslashify metacharacters that are still active within
   4669 # double-quoted strings.
   4670 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4671 
   4672 # Same as above, but do not quote variable references.
   4673 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4674 
   4675 # Sed substitution to delay expansion of an escaped shell variable in a
   4676 # double_quote_subst'ed string.
   4677 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4678 
   4679 # Sed substitution to delay expansion of an escaped single quote.
   4680 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4681 
   4682 # Sed substitution to avoid accidental globbing in evaled expressions
   4683 no_glob_subst='s/\*/\\\*/g'
   4684 
   4685 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4686 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4687 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4688 
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4690 $as_echo_n "checking how to print strings... " >&6; }
   4691 # Test print first, because it will be a builtin if present.
   4692 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4693    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4694   ECHO='print -r --'
   4695 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4696   ECHO='printf %s\n'
   4697 else
   4698   # Use this function as a fallback that always works.
   4699   func_fallback_echo ()
   4700   {
   4701     eval 'cat <<_LTECHO_EOF
   4702 $1
   4703 _LTECHO_EOF'
   4704   }
   4705   ECHO='func_fallback_echo'
   4706 fi
   4707 
   4708 # func_echo_all arg...
   4709 # Invoke $ECHO with all args, space-separated.
   4710 func_echo_all ()
   4711 {
   4712     $ECHO ""
   4713 }
   4714 
   4715 case $ECHO in
   4716   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4717 $as_echo "printf" >&6; } ;;
   4718   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4719 $as_echo "print -r" >&6; } ;;
   4720   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4721 $as_echo "cat" >&6; } ;;
   4722 esac
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4738 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4739 if ${ac_cv_path_SED+:} false; then :
   4740   $as_echo_n "(cached) " >&6
   4741 else
   4742             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4743      for ac_i in 1 2 3 4 5 6 7; do
   4744        ac_script="$ac_script$as_nl$ac_script"
   4745      done
   4746      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4747      { ac_script=; unset ac_script;}
   4748      if test -z "$SED"; then
   4749   ac_path_SED_found=false
   4750   # Loop through the user's path and test for each of PROGNAME-LIST
   4751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4752 for as_dir in $PATH
   4753 do
   4754   IFS=$as_save_IFS
   4755   test -z "$as_dir" && as_dir=.
   4756     for ac_prog in sed gsed; do
   4757     for ac_exec_ext in '' $ac_executable_extensions; do
   4758       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4759       as_fn_executable_p "$ac_path_SED" || continue
   4760 # Check for GNU ac_path_SED and select it if it is found.
   4761   # Check for GNU $ac_path_SED
   4762 case `"$ac_path_SED" --version 2>&1` in
   4763 *GNU*)
   4764   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4765 *)
   4766   ac_count=0
   4767   $as_echo_n 0123456789 >"conftest.in"
   4768   while :
   4769   do
   4770     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4771     mv "conftest.tmp" "conftest.in"
   4772     cp "conftest.in" "conftest.nl"
   4773     $as_echo '' >> "conftest.nl"
   4774     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4775     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4776     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4777     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4778       # Best one so far, save it but keep looking for a better one
   4779       ac_cv_path_SED="$ac_path_SED"
   4780       ac_path_SED_max=$ac_count
   4781     fi
   4782     # 10*(2^10) chars as input seems more than enough
   4783     test $ac_count -gt 10 && break
   4784   done
   4785   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4786 esac
   4787 
   4788       $ac_path_SED_found && break 3
   4789     done
   4790   done
   4791   done
   4792 IFS=$as_save_IFS
   4793   if test -z "$ac_cv_path_SED"; then
   4794     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4795   fi
   4796 else
   4797   ac_cv_path_SED=$SED
   4798 fi
   4799 
   4800 fi
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4802 $as_echo "$ac_cv_path_SED" >&6; }
   4803  SED="$ac_cv_path_SED"
   4804   rm -f conftest.sed
   4805 
   4806 test -z "$SED" && SED=sed
   4807 Xsed="$SED -e 1s/^X//"
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4820 $as_echo_n "checking for fgrep... " >&6; }
   4821 if ${ac_cv_path_FGREP+:} false; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4825    then ac_cv_path_FGREP="$GREP -F"
   4826    else
   4827      if test -z "$FGREP"; then
   4828   ac_path_FGREP_found=false
   4829   # Loop through the user's path and test for each of PROGNAME-LIST
   4830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4832 do
   4833   IFS=$as_save_IFS
   4834   test -z "$as_dir" && as_dir=.
   4835     for ac_prog in fgrep; do
   4836     for ac_exec_ext in '' $ac_executable_extensions; do
   4837       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4838       as_fn_executable_p "$ac_path_FGREP" || continue
   4839 # Check for GNU ac_path_FGREP and select it if it is found.
   4840   # Check for GNU $ac_path_FGREP
   4841 case `"$ac_path_FGREP" --version 2>&1` in
   4842 *GNU*)
   4843   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4844 *)
   4845   ac_count=0
   4846   $as_echo_n 0123456789 >"conftest.in"
   4847   while :
   4848   do
   4849     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4850     mv "conftest.tmp" "conftest.in"
   4851     cp "conftest.in" "conftest.nl"
   4852     $as_echo 'FGREP' >> "conftest.nl"
   4853     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4854     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4855     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4856     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4857       # Best one so far, save it but keep looking for a better one
   4858       ac_cv_path_FGREP="$ac_path_FGREP"
   4859       ac_path_FGREP_max=$ac_count
   4860     fi
   4861     # 10*(2^10) chars as input seems more than enough
   4862     test $ac_count -gt 10 && break
   4863   done
   4864   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4865 esac
   4866 
   4867       $ac_path_FGREP_found && break 3
   4868     done
   4869   done
   4870   done
   4871 IFS=$as_save_IFS
   4872   if test -z "$ac_cv_path_FGREP"; then
   4873     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4874   fi
   4875 else
   4876   ac_cv_path_FGREP=$FGREP
   4877 fi
   4878 
   4879    fi
   4880 fi
   4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4882 $as_echo "$ac_cv_path_FGREP" >&6; }
   4883  FGREP="$ac_cv_path_FGREP"
   4884 
   4885 
   4886 test -z "$GREP" && GREP=grep
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 # Check whether --with-gnu-ld was given.
   4907 if test "${with_gnu_ld+set}" = set; then :
   4908   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4909 else
   4910   with_gnu_ld=no
   4911 fi
   4912 
   4913 ac_prog=ld
   4914 if test yes = "$GCC"; then
   4915   # Check if gcc -print-prog-name=ld gives a path.
   4916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4917 $as_echo_n "checking for ld used by $CC... " >&6; }
   4918   case $host in
   4919   *-*-mingw*)
   4920     # gcc leaves a trailing carriage return, which upsets mingw
   4921     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4922   *)
   4923     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4924   esac
   4925   case $ac_prog in
   4926     # Accept absolute paths.
   4927     [\\/]* | ?:[\\/]*)
   4928       re_direlt='/[^/][^/]*/\.\./'
   4929       # Canonicalize the pathname of ld
   4930       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4931       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4932 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4933       done
   4934       test -z "$LD" && LD=$ac_prog
   4935       ;;
   4936   "")
   4937     # If it fails, then pretend we aren't using GCC.
   4938     ac_prog=ld
   4939     ;;
   4940   *)
   4941     # If it is relative, then search for the first ld in PATH.
   4942     with_gnu_ld=unknown
   4943     ;;
   4944   esac
   4945 elif test yes = "$with_gnu_ld"; then
   4946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4947 $as_echo_n "checking for GNU ld... " >&6; }
   4948 else
   4949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4950 $as_echo_n "checking for non-GNU ld... " >&6; }
   4951 fi
   4952 if ${lt_cv_path_LD+:} false; then :
   4953   $as_echo_n "(cached) " >&6
   4954 else
   4955   if test -z "$LD"; then
   4956   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4957   for ac_dir in $PATH; do
   4958     IFS=$lt_save_ifs
   4959     test -z "$ac_dir" && ac_dir=.
   4960     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4961       lt_cv_path_LD=$ac_dir/$ac_prog
   4962       # Check to see if the program is GNU ld.  I'd rather use --version,
   4963       # but apparently some variants of GNU ld only accept -v.
   4964       # Break only if it was the GNU/non-GNU ld that we prefer.
   4965       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4966       *GNU* | *'with BFD'*)
   4967 	test no != "$with_gnu_ld" && break
   4968 	;;
   4969       *)
   4970 	test yes != "$with_gnu_ld" && break
   4971 	;;
   4972       esac
   4973     fi
   4974   done
   4975   IFS=$lt_save_ifs
   4976 else
   4977   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4978 fi
   4979 fi
   4980 
   4981 LD=$lt_cv_path_LD
   4982 if test -n "$LD"; then
   4983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4984 $as_echo "$LD" >&6; }
   4985 else
   4986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4987 $as_echo "no" >&6; }
   4988 fi
   4989 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4991 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4992 if ${lt_cv_prog_gnu_ld+:} false; then :
   4993   $as_echo_n "(cached) " >&6
   4994 else
   4995   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4996 case `$LD -v 2>&1 </dev/null` in
   4997 *GNU* | *'with BFD'*)
   4998   lt_cv_prog_gnu_ld=yes
   4999   ;;
   5000 *)
   5001   lt_cv_prog_gnu_ld=no
   5002   ;;
   5003 esac
   5004 fi
   5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5006 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5007 with_gnu_ld=$lt_cv_prog_gnu_ld
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5018 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5019 if ${lt_cv_path_NM+:} false; then :
   5020   $as_echo_n "(cached) " >&6
   5021 else
   5022   if test -n "$NM"; then
   5023   # Let the user override the test.
   5024   lt_cv_path_NM=$NM
   5025 else
   5026   lt_nm_to_check=${ac_tool_prefix}nm
   5027   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5028     lt_nm_to_check="$lt_nm_to_check nm"
   5029   fi
   5030   for lt_tmp_nm in $lt_nm_to_check; do
   5031     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5032     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5033       IFS=$lt_save_ifs
   5034       test -z "$ac_dir" && ac_dir=.
   5035       tmp_nm=$ac_dir/$lt_tmp_nm
   5036       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5037 	# Check to see if the nm accepts a BSD-compat flag.
   5038 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5039 	#   nm: unknown option "B" ignored
   5040 	# Tru64's nm complains that /dev/null is an invalid object file
   5041 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5042 	case $build_os in
   5043 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5044 	*) lt_bad_file=/dev/null ;;
   5045 	esac
   5046 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5047 	*$lt_bad_file* | *'Invalid file or object type'*)
   5048 	  lt_cv_path_NM="$tmp_nm -B"
   5049 	  break 2
   5050 	  ;;
   5051 	*)
   5052 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5053 	  */dev/null*)
   5054 	    lt_cv_path_NM="$tmp_nm -p"
   5055 	    break 2
   5056 	    ;;
   5057 	  *)
   5058 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5059 	    continue # so that we can try to find one that supports BSD flags
   5060 	    ;;
   5061 	  esac
   5062 	  ;;
   5063 	esac
   5064       fi
   5065     done
   5066     IFS=$lt_save_ifs
   5067   done
   5068   : ${lt_cv_path_NM=no}
   5069 fi
   5070 fi
   5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5072 $as_echo "$lt_cv_path_NM" >&6; }
   5073 if test no != "$lt_cv_path_NM"; then
   5074   NM=$lt_cv_path_NM
   5075 else
   5076   # Didn't find any BSD compatible name lister, look for dumpbin.
   5077   if test -n "$DUMPBIN"; then :
   5078     # Let the user override the test.
   5079   else
   5080     if test -n "$ac_tool_prefix"; then
   5081   for ac_prog in dumpbin "link -dump"
   5082   do
   5083     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5086 $as_echo_n "checking for $ac_word... " >&6; }
   5087 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   if test -n "$DUMPBIN"; then
   5091   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5092 else
   5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5094 for as_dir in $PATH
   5095 do
   5096   IFS=$as_save_IFS
   5097   test -z "$as_dir" && as_dir=.
   5098     for ac_exec_ext in '' $ac_executable_extensions; do
   5099   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5100     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5102     break 2
   5103   fi
   5104 done
   5105   done
   5106 IFS=$as_save_IFS
   5107 
   5108 fi
   5109 fi
   5110 DUMPBIN=$ac_cv_prog_DUMPBIN
   5111 if test -n "$DUMPBIN"; then
   5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5113 $as_echo "$DUMPBIN" >&6; }
   5114 else
   5115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5116 $as_echo "no" >&6; }
   5117 fi
   5118 
   5119 
   5120     test -n "$DUMPBIN" && break
   5121   done
   5122 fi
   5123 if test -z "$DUMPBIN"; then
   5124   ac_ct_DUMPBIN=$DUMPBIN
   5125   for ac_prog in dumpbin "link -dump"
   5126 do
   5127   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5128 set dummy $ac_prog; ac_word=$2
   5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5130 $as_echo_n "checking for $ac_word... " >&6; }
   5131 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5132   $as_echo_n "(cached) " >&6
   5133 else
   5134   if test -n "$ac_ct_DUMPBIN"; then
   5135   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5136 else
   5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5138 for as_dir in $PATH
   5139 do
   5140   IFS=$as_save_IFS
   5141   test -z "$as_dir" && as_dir=.
   5142     for ac_exec_ext in '' $ac_executable_extensions; do
   5143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5144     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5146     break 2
   5147   fi
   5148 done
   5149   done
   5150 IFS=$as_save_IFS
   5151 
   5152 fi
   5153 fi
   5154 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5155 if test -n "$ac_ct_DUMPBIN"; then
   5156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5157 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5158 else
   5159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5160 $as_echo "no" >&6; }
   5161 fi
   5162 
   5163 
   5164   test -n "$ac_ct_DUMPBIN" && break
   5165 done
   5166 
   5167   if test "x$ac_ct_DUMPBIN" = x; then
   5168     DUMPBIN=":"
   5169   else
   5170     case $cross_compiling:$ac_tool_warned in
   5171 yes:)
   5172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5174 ac_tool_warned=yes ;;
   5175 esac
   5176     DUMPBIN=$ac_ct_DUMPBIN
   5177   fi
   5178 fi
   5179 
   5180     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5181     *COFF*)
   5182       DUMPBIN="$DUMPBIN -symbols -headers"
   5183       ;;
   5184     *)
   5185       DUMPBIN=:
   5186       ;;
   5187     esac
   5188   fi
   5189 
   5190   if test : != "$DUMPBIN"; then
   5191     NM=$DUMPBIN
   5192   fi
   5193 fi
   5194 test -z "$NM" && NM=nm
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5202 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5203 if ${lt_cv_nm_interface+:} false; then :
   5204   $as_echo_n "(cached) " >&6
   5205 else
   5206   lt_cv_nm_interface="BSD nm"
   5207   echo "int some_variable = 0;" > conftest.$ac_ext
   5208   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5209   (eval "$ac_compile" 2>conftest.err)
   5210   cat conftest.err >&5
   5211   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5212   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5213   cat conftest.err >&5
   5214   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5215   cat conftest.out >&5
   5216   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5217     lt_cv_nm_interface="MS dumpbin"
   5218   fi
   5219   rm -f conftest*
   5220 fi
   5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5222 $as_echo "$lt_cv_nm_interface" >&6; }
   5223 
   5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5225 $as_echo_n "checking whether ln -s works... " >&6; }
   5226 LN_S=$as_ln_s
   5227 if test "$LN_S" = "ln -s"; then
   5228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5229 $as_echo "yes" >&6; }
   5230 else
   5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5232 $as_echo "no, using $LN_S" >&6; }
   5233 fi
   5234 
   5235 # find the maximum length of command line arguments
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5237 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5238 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5239   $as_echo_n "(cached) " >&6
   5240 else
   5241     i=0
   5242   teststring=ABCD
   5243 
   5244   case $build_os in
   5245   msdosdjgpp*)
   5246     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5247     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5248     # during glob expansion).  Even if it were fixed, the result of this
   5249     # check would be larger than it should be.
   5250     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5251     ;;
   5252 
   5253   gnu*)
   5254     # Under GNU Hurd, this test is not required because there is
   5255     # no limit to the length of command line arguments.
   5256     # Libtool will interpret -1 as no limit whatsoever
   5257     lt_cv_sys_max_cmd_len=-1;
   5258     ;;
   5259 
   5260   cygwin* | mingw* | cegcc*)
   5261     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5262     # about 5 minutes as the teststring grows exponentially.
   5263     # Worse, since 9x/ME are not pre-emptively multitasking,
   5264     # you end up with a "frozen" computer, even though with patience
   5265     # the test eventually succeeds (with a max line length of 256k).
   5266     # Instead, let's just punt: use the minimum linelength reported by
   5267     # all of the supported platforms: 8192 (on NT/2K/XP).
   5268     lt_cv_sys_max_cmd_len=8192;
   5269     ;;
   5270 
   5271   mint*)
   5272     # On MiNT this can take a long time and run out of memory.
   5273     lt_cv_sys_max_cmd_len=8192;
   5274     ;;
   5275 
   5276   amigaos*)
   5277     # On AmigaOS with pdksh, this test takes hours, literally.
   5278     # So we just punt and use a minimum line length of 8192.
   5279     lt_cv_sys_max_cmd_len=8192;
   5280     ;;
   5281 
   5282   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5283     # This has been around since 386BSD, at least.  Likely further.
   5284     if test -x /sbin/sysctl; then
   5285       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5286     elif test -x /usr/sbin/sysctl; then
   5287       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5288     else
   5289       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5290     fi
   5291     # And add a safety zone
   5292     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5293     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5294     ;;
   5295 
   5296   interix*)
   5297     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5298     lt_cv_sys_max_cmd_len=196608
   5299     ;;
   5300 
   5301   os2*)
   5302     # The test takes a long time on OS/2.
   5303     lt_cv_sys_max_cmd_len=8192
   5304     ;;
   5305 
   5306   osf*)
   5307     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5308     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5309     # nice to cause kernel panics so lets avoid the loop below.
   5310     # First set a reasonable default.
   5311     lt_cv_sys_max_cmd_len=16384
   5312     #
   5313     if test -x /sbin/sysconfig; then
   5314       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5315         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5316       esac
   5317     fi
   5318     ;;
   5319   sco3.2v5*)
   5320     lt_cv_sys_max_cmd_len=102400
   5321     ;;
   5322   sysv5* | sco5v6* | sysv4.2uw2*)
   5323     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5324     if test -n "$kargmax"; then
   5325       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5326     else
   5327       lt_cv_sys_max_cmd_len=32768
   5328     fi
   5329     ;;
   5330   *)
   5331     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5332     if test -n "$lt_cv_sys_max_cmd_len" && \
   5333        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5334       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5335       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5336     else
   5337       # Make teststring a little bigger before we do anything with it.
   5338       # a 1K string should be a reasonable start.
   5339       for i in 1 2 3 4 5 6 7 8; do
   5340         teststring=$teststring$teststring
   5341       done
   5342       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5343       # If test is not a shell built-in, we'll probably end up computing a
   5344       # maximum length that is only half of the actual maximum length, but
   5345       # we can't tell.
   5346       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5347 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5348 	      test 17 != "$i" # 1/2 MB should be enough
   5349       do
   5350         i=`expr $i + 1`
   5351         teststring=$teststring$teststring
   5352       done
   5353       # Only check the string length outside the loop.
   5354       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5355       teststring=
   5356       # Add a significant safety factor because C++ compilers can tack on
   5357       # massive amounts of additional arguments before passing them to the
   5358       # linker.  It appears as though 1/2 is a usable value.
   5359       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5360     fi
   5361     ;;
   5362   esac
   5363 
   5364 fi
   5365 
   5366 if test -n "$lt_cv_sys_max_cmd_len"; then
   5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5368 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5369 else
   5370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5371 $as_echo "none" >&6; }
   5372 fi
   5373 max_cmd_len=$lt_cv_sys_max_cmd_len
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 : ${CP="cp -f"}
   5381 : ${MV="mv -f"}
   5382 : ${RM="rm -f"}
   5383 
   5384 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5385   lt_unset=unset
   5386 else
   5387   lt_unset=false
   5388 fi
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 # test EBCDIC or ASCII
   5395 case `echo X|tr X '\101'` in
   5396  A) # ASCII based system
   5397     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5398   lt_SP2NL='tr \040 \012'
   5399   lt_NL2SP='tr \015\012 \040\040'
   5400   ;;
   5401  *) # EBCDIC based system
   5402   lt_SP2NL='tr \100 \n'
   5403   lt_NL2SP='tr \r\n \100\100'
   5404   ;;
   5405 esac
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5416 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5417 if ${lt_cv_to_host_file_cmd+:} false; then :
   5418   $as_echo_n "(cached) " >&6
   5419 else
   5420   case $host in
   5421   *-*-mingw* )
   5422     case $build in
   5423       *-*-mingw* ) # actually msys
   5424         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5425         ;;
   5426       *-*-cygwin* )
   5427         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5428         ;;
   5429       * ) # otherwise, assume *nix
   5430         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5431         ;;
   5432     esac
   5433     ;;
   5434   *-*-cygwin* )
   5435     case $build in
   5436       *-*-mingw* ) # actually msys
   5437         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5438         ;;
   5439       *-*-cygwin* )
   5440         lt_cv_to_host_file_cmd=func_convert_file_noop
   5441         ;;
   5442       * ) # otherwise, assume *nix
   5443         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5444         ;;
   5445     esac
   5446     ;;
   5447   * ) # unhandled hosts (and "normal" native builds)
   5448     lt_cv_to_host_file_cmd=func_convert_file_noop
   5449     ;;
   5450 esac
   5451 
   5452 fi
   5453 
   5454 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5456 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5463 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5464 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5465   $as_echo_n "(cached) " >&6
   5466 else
   5467   #assume ordinary cross tools, or native build.
   5468 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5469 case $host in
   5470   *-*-mingw* )
   5471     case $build in
   5472       *-*-mingw* ) # actually msys
   5473         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5474         ;;
   5475     esac
   5476     ;;
   5477 esac
   5478 
   5479 fi
   5480 
   5481 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5483 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5490 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5491 if ${lt_cv_ld_reload_flag+:} false; then :
   5492   $as_echo_n "(cached) " >&6
   5493 else
   5494   lt_cv_ld_reload_flag='-r'
   5495 fi
   5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5497 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5498 reload_flag=$lt_cv_ld_reload_flag
   5499 case $reload_flag in
   5500 "" | " "*) ;;
   5501 *) reload_flag=" $reload_flag" ;;
   5502 esac
   5503 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5504 case $host_os in
   5505   cygwin* | mingw* | pw32* | cegcc*)
   5506     if test yes != "$GCC"; then
   5507       reload_cmds=false
   5508     fi
   5509     ;;
   5510   darwin*)
   5511     if test yes = "$GCC"; then
   5512       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5513     else
   5514       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5515     fi
   5516     ;;
   5517 esac
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 if test -n "$ac_tool_prefix"; then
   5528   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5529 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5531 $as_echo_n "checking for $ac_word... " >&6; }
   5532 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5533   $as_echo_n "(cached) " >&6
   5534 else
   5535   if test -n "$OBJDUMP"; then
   5536   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5537 else
   5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5539 for as_dir in $PATH
   5540 do
   5541   IFS=$as_save_IFS
   5542   test -z "$as_dir" && as_dir=.
   5543     for ac_exec_ext in '' $ac_executable_extensions; do
   5544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5545     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5547     break 2
   5548   fi
   5549 done
   5550   done
   5551 IFS=$as_save_IFS
   5552 
   5553 fi
   5554 fi
   5555 OBJDUMP=$ac_cv_prog_OBJDUMP
   5556 if test -n "$OBJDUMP"; then
   5557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5558 $as_echo "$OBJDUMP" >&6; }
   5559 else
   5560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5561 $as_echo "no" >&6; }
   5562 fi
   5563 
   5564 
   5565 fi
   5566 if test -z "$ac_cv_prog_OBJDUMP"; then
   5567   ac_ct_OBJDUMP=$OBJDUMP
   5568   # Extract the first word of "objdump", so it can be a program name with args.
   5569 set dummy objdump; ac_word=$2
   5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5571 $as_echo_n "checking for $ac_word... " >&6; }
   5572 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5573   $as_echo_n "(cached) " >&6
   5574 else
   5575   if test -n "$ac_ct_OBJDUMP"; then
   5576   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5577 else
   5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5579 for as_dir in $PATH
   5580 do
   5581   IFS=$as_save_IFS
   5582   test -z "$as_dir" && as_dir=.
   5583     for ac_exec_ext in '' $ac_executable_extensions; do
   5584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5585     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5587     break 2
   5588   fi
   5589 done
   5590   done
   5591 IFS=$as_save_IFS
   5592 
   5593 fi
   5594 fi
   5595 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5596 if test -n "$ac_ct_OBJDUMP"; then
   5597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5598 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5599 else
   5600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5601 $as_echo "no" >&6; }
   5602 fi
   5603 
   5604   if test "x$ac_ct_OBJDUMP" = x; then
   5605     OBJDUMP="false"
   5606   else
   5607     case $cross_compiling:$ac_tool_warned in
   5608 yes:)
   5609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5611 ac_tool_warned=yes ;;
   5612 esac
   5613     OBJDUMP=$ac_ct_OBJDUMP
   5614   fi
   5615 else
   5616   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5617 fi
   5618 
   5619 test -z "$OBJDUMP" && OBJDUMP=objdump
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5630 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5631 if ${lt_cv_deplibs_check_method+:} false; then :
   5632   $as_echo_n "(cached) " >&6
   5633 else
   5634   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5635 lt_cv_file_magic_test_file=
   5636 lt_cv_deplibs_check_method='unknown'
   5637 # Need to set the preceding variable on all platforms that support
   5638 # interlibrary dependencies.
   5639 # 'none' -- dependencies not supported.
   5640 # 'unknown' -- same as none, but documents that we really don't know.
   5641 # 'pass_all' -- all dependencies passed with no checks.
   5642 # 'test_compile' -- check by making test program.
   5643 # 'file_magic [[regex]]' -- check by looking for files in library path
   5644 # that responds to the $file_magic_cmd with a given extended regex.
   5645 # If you have 'file' or equivalent on your system and you're not sure
   5646 # whether 'pass_all' will *always* work, you probably want this one.
   5647 
   5648 case $host_os in
   5649 aix[4-9]*)
   5650   lt_cv_deplibs_check_method=pass_all
   5651   ;;
   5652 
   5653 beos*)
   5654   lt_cv_deplibs_check_method=pass_all
   5655   ;;
   5656 
   5657 bsdi[45]*)
   5658   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5659   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5660   lt_cv_file_magic_test_file=/shlib/libc.so
   5661   ;;
   5662 
   5663 cygwin*)
   5664   # func_win32_libid is a shell function defined in ltmain.sh
   5665   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5666   lt_cv_file_magic_cmd='func_win32_libid'
   5667   ;;
   5668 
   5669 mingw* | pw32*)
   5670   # Base MSYS/MinGW do not provide the 'file' command needed by
   5671   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5672   # unless we find 'file', for example because we are cross-compiling.
   5673   if ( file / ) >/dev/null 2>&1; then
   5674     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5675     lt_cv_file_magic_cmd='func_win32_libid'
   5676   else
   5677     # Keep this pattern in sync with the one in func_win32_libid.
   5678     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5679     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5680   fi
   5681   ;;
   5682 
   5683 cegcc*)
   5684   # use the weaker test based on 'objdump'. See mingw*.
   5685   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5686   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5687   ;;
   5688 
   5689 darwin* | rhapsody*)
   5690   lt_cv_deplibs_check_method=pass_all
   5691   ;;
   5692 
   5693 freebsd* | dragonfly*)
   5694   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5695     case $host_cpu in
   5696     i*86 )
   5697       # Not sure whether the presence of OpenBSD here was a mistake.
   5698       # Let's accept both of them until this is cleared up.
   5699       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5700       lt_cv_file_magic_cmd=/usr/bin/file
   5701       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5702       ;;
   5703     esac
   5704   else
   5705     lt_cv_deplibs_check_method=pass_all
   5706   fi
   5707   ;;
   5708 
   5709 haiku*)
   5710   lt_cv_deplibs_check_method=pass_all
   5711   ;;
   5712 
   5713 hpux10.20* | hpux11*)
   5714   lt_cv_file_magic_cmd=/usr/bin/file
   5715   case $host_cpu in
   5716   ia64*)
   5717     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5718     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5719     ;;
   5720   hppa*64*)
   5721     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]'
   5722     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5723     ;;
   5724   *)
   5725     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5726     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5727     ;;
   5728   esac
   5729   ;;
   5730 
   5731 interix[3-9]*)
   5732   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5733   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5734   ;;
   5735 
   5736 irix5* | irix6* | nonstopux*)
   5737   case $LD in
   5738   *-32|*"-32 ") libmagic=32-bit;;
   5739   *-n32|*"-n32 ") libmagic=N32;;
   5740   *-64|*"-64 ") libmagic=64-bit;;
   5741   *) libmagic=never-match;;
   5742   esac
   5743   lt_cv_deplibs_check_method=pass_all
   5744   ;;
   5745 
   5746 # This must be glibc/ELF.
   5747 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5748   lt_cv_deplibs_check_method=pass_all
   5749   ;;
   5750 
   5751 netbsd*)
   5752   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5753     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5754   else
   5755     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5756   fi
   5757   ;;
   5758 
   5759 newos6*)
   5760   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5761   lt_cv_file_magic_cmd=/usr/bin/file
   5762   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5763   ;;
   5764 
   5765 *nto* | *qnx*)
   5766   lt_cv_deplibs_check_method=pass_all
   5767   ;;
   5768 
   5769 openbsd* | bitrig*)
   5770   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5771     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5772   else
   5773     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5774   fi
   5775   ;;
   5776 
   5777 osf3* | osf4* | osf5*)
   5778   lt_cv_deplibs_check_method=pass_all
   5779   ;;
   5780 
   5781 rdos*)
   5782   lt_cv_deplibs_check_method=pass_all
   5783   ;;
   5784 
   5785 solaris*)
   5786   lt_cv_deplibs_check_method=pass_all
   5787   ;;
   5788 
   5789 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5790   lt_cv_deplibs_check_method=pass_all
   5791   ;;
   5792 
   5793 sysv4 | sysv4.3*)
   5794   case $host_vendor in
   5795   motorola)
   5796     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]'
   5797     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5798     ;;
   5799   ncr)
   5800     lt_cv_deplibs_check_method=pass_all
   5801     ;;
   5802   sequent)
   5803     lt_cv_file_magic_cmd='/bin/file'
   5804     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5805     ;;
   5806   sni)
   5807     lt_cv_file_magic_cmd='/bin/file'
   5808     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5809     lt_cv_file_magic_test_file=/lib/libc.so
   5810     ;;
   5811   siemens)
   5812     lt_cv_deplibs_check_method=pass_all
   5813     ;;
   5814   pc)
   5815     lt_cv_deplibs_check_method=pass_all
   5816     ;;
   5817   esac
   5818   ;;
   5819 
   5820 tpf*)
   5821   lt_cv_deplibs_check_method=pass_all
   5822   ;;
   5823 os2*)
   5824   lt_cv_deplibs_check_method=pass_all
   5825   ;;
   5826 esac
   5827 
   5828 fi
   5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5830 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5831 
   5832 file_magic_glob=
   5833 want_nocaseglob=no
   5834 if test "$build" = "$host"; then
   5835   case $host_os in
   5836   mingw* | pw32*)
   5837     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5838       want_nocaseglob=yes
   5839     else
   5840       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5841     fi
   5842     ;;
   5843   esac
   5844 fi
   5845 
   5846 file_magic_cmd=$lt_cv_file_magic_cmd
   5847 deplibs_check_method=$lt_cv_deplibs_check_method
   5848 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 if test -n "$ac_tool_prefix"; then
   5872   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5873 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5875 $as_echo_n "checking for $ac_word... " >&6; }
   5876 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5877   $as_echo_n "(cached) " >&6
   5878 else
   5879   if test -n "$DLLTOOL"; then
   5880   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5881 else
   5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5883 for as_dir in $PATH
   5884 do
   5885   IFS=$as_save_IFS
   5886   test -z "$as_dir" && as_dir=.
   5887     for ac_exec_ext in '' $ac_executable_extensions; do
   5888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5889     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5891     break 2
   5892   fi
   5893 done
   5894   done
   5895 IFS=$as_save_IFS
   5896 
   5897 fi
   5898 fi
   5899 DLLTOOL=$ac_cv_prog_DLLTOOL
   5900 if test -n "$DLLTOOL"; then
   5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5902 $as_echo "$DLLTOOL" >&6; }
   5903 else
   5904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5905 $as_echo "no" >&6; }
   5906 fi
   5907 
   5908 
   5909 fi
   5910 if test -z "$ac_cv_prog_DLLTOOL"; then
   5911   ac_ct_DLLTOOL=$DLLTOOL
   5912   # Extract the first word of "dlltool", so it can be a program name with args.
   5913 set dummy dlltool; ac_word=$2
   5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5915 $as_echo_n "checking for $ac_word... " >&6; }
   5916 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5917   $as_echo_n "(cached) " >&6
   5918 else
   5919   if test -n "$ac_ct_DLLTOOL"; then
   5920   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5921 else
   5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5923 for as_dir in $PATH
   5924 do
   5925   IFS=$as_save_IFS
   5926   test -z "$as_dir" && as_dir=.
   5927     for ac_exec_ext in '' $ac_executable_extensions; do
   5928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5929     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5931     break 2
   5932   fi
   5933 done
   5934   done
   5935 IFS=$as_save_IFS
   5936 
   5937 fi
   5938 fi
   5939 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5940 if test -n "$ac_ct_DLLTOOL"; then
   5941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5942 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5943 else
   5944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5945 $as_echo "no" >&6; }
   5946 fi
   5947 
   5948   if test "x$ac_ct_DLLTOOL" = x; then
   5949     DLLTOOL="false"
   5950   else
   5951     case $cross_compiling:$ac_tool_warned in
   5952 yes:)
   5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5955 ac_tool_warned=yes ;;
   5956 esac
   5957     DLLTOOL=$ac_ct_DLLTOOL
   5958   fi
   5959 else
   5960   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5961 fi
   5962 
   5963 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5975 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5976 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5977   $as_echo_n "(cached) " >&6
   5978 else
   5979   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5980 
   5981 case $host_os in
   5982 cygwin* | mingw* | pw32* | cegcc*)
   5983   # two different shell functions defined in ltmain.sh;
   5984   # decide which one to use based on capabilities of $DLLTOOL
   5985   case `$DLLTOOL --help 2>&1` in
   5986   *--identify-strict*)
   5987     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5988     ;;
   5989   *)
   5990     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5991     ;;
   5992   esac
   5993   ;;
   5994 *)
   5995   # fallback: assume linklib IS sharedlib
   5996   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5997   ;;
   5998 esac
   5999 
   6000 fi
   6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6002 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6003 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6004 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 if test -n "$ac_tool_prefix"; then
   6013   for ac_prog in ar
   6014   do
   6015     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6016 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6018 $as_echo_n "checking for $ac_word... " >&6; }
   6019 if ${ac_cv_prog_AR+:} false; then :
   6020   $as_echo_n "(cached) " >&6
   6021 else
   6022   if test -n "$AR"; then
   6023   ac_cv_prog_AR="$AR" # Let the user override the test.
   6024 else
   6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6026 for as_dir in $PATH
   6027 do
   6028   IFS=$as_save_IFS
   6029   test -z "$as_dir" && as_dir=.
   6030     for ac_exec_ext in '' $ac_executable_extensions; do
   6031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6032     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6034     break 2
   6035   fi
   6036 done
   6037   done
   6038 IFS=$as_save_IFS
   6039 
   6040 fi
   6041 fi
   6042 AR=$ac_cv_prog_AR
   6043 if test -n "$AR"; then
   6044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6045 $as_echo "$AR" >&6; }
   6046 else
   6047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6048 $as_echo "no" >&6; }
   6049 fi
   6050 
   6051 
   6052     test -n "$AR" && break
   6053   done
   6054 fi
   6055 if test -z "$AR"; then
   6056   ac_ct_AR=$AR
   6057   for ac_prog in ar
   6058 do
   6059   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6060 set dummy $ac_prog; ac_word=$2
   6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6062 $as_echo_n "checking for $ac_word... " >&6; }
   6063 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   if test -n "$ac_ct_AR"; then
   6067   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6068 else
   6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6070 for as_dir in $PATH
   6071 do
   6072   IFS=$as_save_IFS
   6073   test -z "$as_dir" && as_dir=.
   6074     for ac_exec_ext in '' $ac_executable_extensions; do
   6075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6076     ac_cv_prog_ac_ct_AR="$ac_prog"
   6077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6078     break 2
   6079   fi
   6080 done
   6081   done
   6082 IFS=$as_save_IFS
   6083 
   6084 fi
   6085 fi
   6086 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6087 if test -n "$ac_ct_AR"; then
   6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6089 $as_echo "$ac_ct_AR" >&6; }
   6090 else
   6091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6092 $as_echo "no" >&6; }
   6093 fi
   6094 
   6095 
   6096   test -n "$ac_ct_AR" && break
   6097 done
   6098 
   6099   if test "x$ac_ct_AR" = x; then
   6100     AR="false"
   6101   else
   6102     case $cross_compiling:$ac_tool_warned in
   6103 yes:)
   6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6106 ac_tool_warned=yes ;;
   6107 esac
   6108     AR=$ac_ct_AR
   6109   fi
   6110 fi
   6111 
   6112 : ${AR=ar}
   6113 : ${AR_FLAGS=cru}
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6126 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6127 if ${lt_cv_ar_at_file+:} false; then :
   6128   $as_echo_n "(cached) " >&6
   6129 else
   6130   lt_cv_ar_at_file=no
   6131    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6132 /* end confdefs.h.  */
   6133 
   6134 int
   6135 main ()
   6136 {
   6137 
   6138   ;
   6139   return 0;
   6140 }
   6141 _ACEOF
   6142 if ac_fn_c_try_compile "$LINENO"; then :
   6143   echo conftest.$ac_objext > conftest.lst
   6144       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6145       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6146   (eval $lt_ar_try) 2>&5
   6147   ac_status=$?
   6148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6149   test $ac_status = 0; }
   6150       if test 0 -eq "$ac_status"; then
   6151 	# Ensure the archiver fails upon bogus file names.
   6152 	rm -f conftest.$ac_objext libconftest.a
   6153 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6154   (eval $lt_ar_try) 2>&5
   6155   ac_status=$?
   6156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6157   test $ac_status = 0; }
   6158 	if test 0 -ne "$ac_status"; then
   6159           lt_cv_ar_at_file=@
   6160         fi
   6161       fi
   6162       rm -f conftest.* libconftest.a
   6163 
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6166 
   6167 fi
   6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6169 $as_echo "$lt_cv_ar_at_file" >&6; }
   6170 
   6171 if test no = "$lt_cv_ar_at_file"; then
   6172   archiver_list_spec=
   6173 else
   6174   archiver_list_spec=$lt_cv_ar_at_file
   6175 fi
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 if test -n "$ac_tool_prefix"; then
   6184   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6185 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6187 $as_echo_n "checking for $ac_word... " >&6; }
   6188 if ${ac_cv_prog_STRIP+:} false; then :
   6189   $as_echo_n "(cached) " >&6
   6190 else
   6191   if test -n "$STRIP"; then
   6192   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6193 else
   6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6195 for as_dir in $PATH
   6196 do
   6197   IFS=$as_save_IFS
   6198   test -z "$as_dir" && as_dir=.
   6199     for ac_exec_ext in '' $ac_executable_extensions; do
   6200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6201     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6203     break 2
   6204   fi
   6205 done
   6206   done
   6207 IFS=$as_save_IFS
   6208 
   6209 fi
   6210 fi
   6211 STRIP=$ac_cv_prog_STRIP
   6212 if test -n "$STRIP"; then
   6213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6214 $as_echo "$STRIP" >&6; }
   6215 else
   6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6217 $as_echo "no" >&6; }
   6218 fi
   6219 
   6220 
   6221 fi
   6222 if test -z "$ac_cv_prog_STRIP"; then
   6223   ac_ct_STRIP=$STRIP
   6224   # Extract the first word of "strip", so it can be a program name with args.
   6225 set dummy strip; ac_word=$2
   6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6227 $as_echo_n "checking for $ac_word... " >&6; }
   6228 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6229   $as_echo_n "(cached) " >&6
   6230 else
   6231   if test -n "$ac_ct_STRIP"; then
   6232   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6233 else
   6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6235 for as_dir in $PATH
   6236 do
   6237   IFS=$as_save_IFS
   6238   test -z "$as_dir" && as_dir=.
   6239     for ac_exec_ext in '' $ac_executable_extensions; do
   6240   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6241     ac_cv_prog_ac_ct_STRIP="strip"
   6242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6243     break 2
   6244   fi
   6245 done
   6246   done
   6247 IFS=$as_save_IFS
   6248 
   6249 fi
   6250 fi
   6251 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6252 if test -n "$ac_ct_STRIP"; then
   6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6254 $as_echo "$ac_ct_STRIP" >&6; }
   6255 else
   6256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6257 $as_echo "no" >&6; }
   6258 fi
   6259 
   6260   if test "x$ac_ct_STRIP" = x; then
   6261     STRIP=":"
   6262   else
   6263     case $cross_compiling:$ac_tool_warned in
   6264 yes:)
   6265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6267 ac_tool_warned=yes ;;
   6268 esac
   6269     STRIP=$ac_ct_STRIP
   6270   fi
   6271 else
   6272   STRIP="$ac_cv_prog_STRIP"
   6273 fi
   6274 
   6275 test -z "$STRIP" && STRIP=:
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 if test -n "$ac_tool_prefix"; then
   6283   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6284 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6286 $as_echo_n "checking for $ac_word... " >&6; }
   6287 if ${ac_cv_prog_RANLIB+:} false; then :
   6288   $as_echo_n "(cached) " >&6
   6289 else
   6290   if test -n "$RANLIB"; then
   6291   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6292 else
   6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6294 for as_dir in $PATH
   6295 do
   6296   IFS=$as_save_IFS
   6297   test -z "$as_dir" && as_dir=.
   6298     for ac_exec_ext in '' $ac_executable_extensions; do
   6299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6300     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6302     break 2
   6303   fi
   6304 done
   6305   done
   6306 IFS=$as_save_IFS
   6307 
   6308 fi
   6309 fi
   6310 RANLIB=$ac_cv_prog_RANLIB
   6311 if test -n "$RANLIB"; then
   6312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6313 $as_echo "$RANLIB" >&6; }
   6314 else
   6315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6316 $as_echo "no" >&6; }
   6317 fi
   6318 
   6319 
   6320 fi
   6321 if test -z "$ac_cv_prog_RANLIB"; then
   6322   ac_ct_RANLIB=$RANLIB
   6323   # Extract the first word of "ranlib", so it can be a program name with args.
   6324 set dummy ranlib; ac_word=$2
   6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6326 $as_echo_n "checking for $ac_word... " >&6; }
   6327 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6328   $as_echo_n "(cached) " >&6
   6329 else
   6330   if test -n "$ac_ct_RANLIB"; then
   6331   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6332 else
   6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6334 for as_dir in $PATH
   6335 do
   6336   IFS=$as_save_IFS
   6337   test -z "$as_dir" && as_dir=.
   6338     for ac_exec_ext in '' $ac_executable_extensions; do
   6339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6340     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6342     break 2
   6343   fi
   6344 done
   6345   done
   6346 IFS=$as_save_IFS
   6347 
   6348 fi
   6349 fi
   6350 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6351 if test -n "$ac_ct_RANLIB"; then
   6352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6353 $as_echo "$ac_ct_RANLIB" >&6; }
   6354 else
   6355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6356 $as_echo "no" >&6; }
   6357 fi
   6358 
   6359   if test "x$ac_ct_RANLIB" = x; then
   6360     RANLIB=":"
   6361   else
   6362     case $cross_compiling:$ac_tool_warned in
   6363 yes:)
   6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6366 ac_tool_warned=yes ;;
   6367 esac
   6368     RANLIB=$ac_ct_RANLIB
   6369   fi
   6370 else
   6371   RANLIB="$ac_cv_prog_RANLIB"
   6372 fi
   6373 
   6374 test -z "$RANLIB" && RANLIB=:
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 # Determine commands to create old-style static archives.
   6382 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6383 old_postinstall_cmds='chmod 644 $oldlib'
   6384 old_postuninstall_cmds=
   6385 
   6386 if test -n "$RANLIB"; then
   6387   case $host_os in
   6388   bitrig* | openbsd*)
   6389     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6390     ;;
   6391   *)
   6392     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6393     ;;
   6394   esac
   6395   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6396 fi
   6397 
   6398 case $host_os in
   6399   darwin*)
   6400     lock_old_archive_extraction=yes ;;
   6401   *)
   6402     lock_old_archive_extraction=no ;;
   6403 esac
   6404 
   6405 
   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 # If no C compiler was specified, use CC.
   6444 LTCC=${LTCC-"$CC"}
   6445 
   6446 # If no C compiler flags were specified, use CFLAGS.
   6447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6448 
   6449 # Allow CC to be a program name with arguments.
   6450 compiler=$CC
   6451 
   6452 
   6453 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6455 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6456 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6457   $as_echo_n "(cached) " >&6
   6458 else
   6459 
   6460 # These are sane defaults that work on at least a few old systems.
   6461 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6462 
   6463 # Character class describing NM global symbol codes.
   6464 symcode='[BCDEGRST]'
   6465 
   6466 # Regexp to match symbols that can be accessed directly from C.
   6467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6468 
   6469 # Define system-specific variables.
   6470 case $host_os in
   6471 aix*)
   6472   symcode='[BCDT]'
   6473   ;;
   6474 cygwin* | mingw* | pw32* | cegcc*)
   6475   symcode='[ABCDGISTW]'
   6476   ;;
   6477 hpux*)
   6478   if test ia64 = "$host_cpu"; then
   6479     symcode='[ABCDEGRST]'
   6480   fi
   6481   ;;
   6482 irix* | nonstopux*)
   6483   symcode='[BCDEGRST]'
   6484   ;;
   6485 osf*)
   6486   symcode='[BCDEGQRST]'
   6487   ;;
   6488 solaris*)
   6489   symcode='[BDRT]'
   6490   ;;
   6491 sco3.2v5*)
   6492   symcode='[DT]'
   6493   ;;
   6494 sysv4.2uw2*)
   6495   symcode='[DT]'
   6496   ;;
   6497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6498   symcode='[ABDT]'
   6499   ;;
   6500 sysv4)
   6501   symcode='[DFNSTU]'
   6502   ;;
   6503 esac
   6504 
   6505 # If we're using GNU nm, then use its standard symbol codes.
   6506 case `$NM -V 2>&1` in
   6507 *GNU* | *'with BFD'*)
   6508   symcode='[ABCDGIRSTW]' ;;
   6509 esac
   6510 
   6511 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6512   # Gets list of data symbols to import.
   6513   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6514   # Adjust the below global symbol transforms to fixup imported variables.
   6515   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6516   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6517   lt_c_name_lib_hook="\
   6518   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6519   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6520 else
   6521   # Disable hooks by default.
   6522   lt_cv_sys_global_symbol_to_import=
   6523   lt_cdecl_hook=
   6524   lt_c_name_hook=
   6525   lt_c_name_lib_hook=
   6526 fi
   6527 
   6528 # Transform an extracted symbol line into a proper C declaration.
   6529 # Some systems (esp. on ia64) link data and code symbols differently,
   6530 # so use this general approach.
   6531 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6532 $lt_cdecl_hook\
   6533 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6534 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6535 
   6536 # Transform an extracted symbol line into symbol name and symbol address
   6537 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6538 $lt_c_name_hook\
   6539 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6540 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6541 
   6542 # Transform an extracted symbol line into symbol name with lib prefix and
   6543 # symbol address.
   6544 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6545 $lt_c_name_lib_hook\
   6546 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6547 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6548 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6549 
   6550 # Handle CRLF in mingw tool chain
   6551 opt_cr=
   6552 case $build_os in
   6553 mingw*)
   6554   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6555   ;;
   6556 esac
   6557 
   6558 # Try without a prefix underscore, then with it.
   6559 for ac_symprfx in "" "_"; do
   6560 
   6561   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6562   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6563 
   6564   # Write the raw and C identifiers.
   6565   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6566     # Fake it for dumpbin and say T for any non-static function,
   6567     # D for any global variable and I for any imported variable.
   6568     # Also find C++ and __fastcall symbols from MSVC++,
   6569     # which start with @ or ?.
   6570     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6571 "     {last_section=section; section=\$ 3};"\
   6572 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6573 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6574 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6575 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6576 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6577 "     \$ 0!~/External *\|/{next};"\
   6578 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6579 "     {if(hide[section]) next};"\
   6580 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6581 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6582 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6583 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6584 "     ' prfx=^$ac_symprfx"
   6585   else
   6586     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6587   fi
   6588   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6589 
   6590   # Check to see that the pipe works correctly.
   6591   pipe_works=no
   6592 
   6593   rm -f conftest*
   6594   cat > conftest.$ac_ext <<_LT_EOF
   6595 #ifdef __cplusplus
   6596 extern "C" {
   6597 #endif
   6598 char nm_test_var;
   6599 void nm_test_func(void);
   6600 void nm_test_func(void){}
   6601 #ifdef __cplusplus
   6602 }
   6603 #endif
   6604 int main(){nm_test_var='a';nm_test_func();return(0);}
   6605 _LT_EOF
   6606 
   6607   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6608   (eval $ac_compile) 2>&5
   6609   ac_status=$?
   6610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6611   test $ac_status = 0; }; then
   6612     # Now try to grab the symbols.
   6613     nlist=conftest.nm
   6614     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6615   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6616   ac_status=$?
   6617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6618   test $ac_status = 0; } && test -s "$nlist"; then
   6619       # Try sorting and uniquifying the output.
   6620       if sort "$nlist" | uniq > "$nlist"T; then
   6621 	mv -f "$nlist"T "$nlist"
   6622       else
   6623 	rm -f "$nlist"T
   6624       fi
   6625 
   6626       # Make sure that we snagged all the symbols we need.
   6627       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6628 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6629 	  cat <<_LT_EOF > conftest.$ac_ext
   6630 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6631 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6632 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6633    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6634 # define LT_DLSYM_CONST
   6635 #elif defined __osf__
   6636 /* This system does not cope well with relocations in const data.  */
   6637 # define LT_DLSYM_CONST
   6638 #else
   6639 # define LT_DLSYM_CONST const
   6640 #endif
   6641 
   6642 #ifdef __cplusplus
   6643 extern "C" {
   6644 #endif
   6645 
   6646 _LT_EOF
   6647 	  # Now generate the symbol file.
   6648 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6649 
   6650 	  cat <<_LT_EOF >> conftest.$ac_ext
   6651 
   6652 /* The mapping between symbol names and symbols.  */
   6653 LT_DLSYM_CONST struct {
   6654   const char *name;
   6655   void       *address;
   6656 }
   6657 lt__PROGRAM__LTX_preloaded_symbols[] =
   6658 {
   6659   { "@PROGRAM@", (void *) 0 },
   6660 _LT_EOF
   6661 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6662 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6663   {0, (void *) 0}
   6664 };
   6665 
   6666 /* This works around a problem in FreeBSD linker */
   6667 #ifdef FREEBSD_WORKAROUND
   6668 static const void *lt_preloaded_setup() {
   6669   return lt__PROGRAM__LTX_preloaded_symbols;
   6670 }
   6671 #endif
   6672 
   6673 #ifdef __cplusplus
   6674 }
   6675 #endif
   6676 _LT_EOF
   6677 	  # Now try linking the two files.
   6678 	  mv conftest.$ac_objext conftstm.$ac_objext
   6679 	  lt_globsym_save_LIBS=$LIBS
   6680 	  lt_globsym_save_CFLAGS=$CFLAGS
   6681 	  LIBS=conftstm.$ac_objext
   6682 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6683 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6684   (eval $ac_link) 2>&5
   6685   ac_status=$?
   6686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6687   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6688 	    pipe_works=yes
   6689 	  fi
   6690 	  LIBS=$lt_globsym_save_LIBS
   6691 	  CFLAGS=$lt_globsym_save_CFLAGS
   6692 	else
   6693 	  echo "cannot find nm_test_func in $nlist" >&5
   6694 	fi
   6695       else
   6696 	echo "cannot find nm_test_var in $nlist" >&5
   6697       fi
   6698     else
   6699       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6700     fi
   6701   else
   6702     echo "$progname: failed program was:" >&5
   6703     cat conftest.$ac_ext >&5
   6704   fi
   6705   rm -rf conftest* conftst*
   6706 
   6707   # Do not use the global_symbol_pipe unless it works.
   6708   if test yes = "$pipe_works"; then
   6709     break
   6710   else
   6711     lt_cv_sys_global_symbol_pipe=
   6712   fi
   6713 done
   6714 
   6715 fi
   6716 
   6717 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6718   lt_cv_sys_global_symbol_to_cdecl=
   6719 fi
   6720 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6722 $as_echo "failed" >&6; }
   6723 else
   6724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6725 $as_echo "ok" >&6; }
   6726 fi
   6727 
   6728 # Response file support.
   6729 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6730   nm_file_list_spec='@'
   6731 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6732   nm_file_list_spec='@'
   6733 fi
   6734 
   6735 
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6772 $as_echo_n "checking for sysroot... " >&6; }
   6773 
   6774 # Check whether --with-sysroot was given.
   6775 if test "${with_sysroot+set}" = set; then :
   6776   withval=$with_sysroot;
   6777 else
   6778   with_sysroot=no
   6779 fi
   6780 
   6781 
   6782 lt_sysroot=
   6783 case $with_sysroot in #(
   6784  yes)
   6785    if test yes = "$GCC"; then
   6786      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6787    fi
   6788    ;; #(
   6789  /*)
   6790    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6791    ;; #(
   6792  no|'')
   6793    ;; #(
   6794  *)
   6795    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6796 $as_echo "$with_sysroot" >&6; }
   6797    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6798    ;;
   6799 esac
   6800 
   6801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6802 $as_echo "${lt_sysroot:-no}" >&6; }
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6809 $as_echo_n "checking for a working dd... " >&6; }
   6810 if ${ac_cv_path_lt_DD+:} false; then :
   6811   $as_echo_n "(cached) " >&6
   6812 else
   6813   printf 0123456789abcdef0123456789abcdef >conftest.i
   6814 cat conftest.i conftest.i >conftest2.i
   6815 : ${lt_DD:=$DD}
   6816 if test -z "$lt_DD"; then
   6817   ac_path_lt_DD_found=false
   6818   # Loop through the user's path and test for each of PROGNAME-LIST
   6819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6820 for as_dir in $PATH
   6821 do
   6822   IFS=$as_save_IFS
   6823   test -z "$as_dir" && as_dir=.
   6824     for ac_prog in dd; do
   6825     for ac_exec_ext in '' $ac_executable_extensions; do
   6826       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6827       as_fn_executable_p "$ac_path_lt_DD" || continue
   6828 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6829   cmp -s conftest.i conftest.out \
   6830   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6831 fi
   6832       $ac_path_lt_DD_found && break 3
   6833     done
   6834   done
   6835   done
   6836 IFS=$as_save_IFS
   6837   if test -z "$ac_cv_path_lt_DD"; then
   6838     :
   6839   fi
   6840 else
   6841   ac_cv_path_lt_DD=$lt_DD
   6842 fi
   6843 
   6844 rm -f conftest.i conftest2.i conftest.out
   6845 fi
   6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6847 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6848 
   6849 
   6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6851 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6852 if ${lt_cv_truncate_bin+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   printf 0123456789abcdef0123456789abcdef >conftest.i
   6856 cat conftest.i conftest.i >conftest2.i
   6857 lt_cv_truncate_bin=
   6858 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6859   cmp -s conftest.i conftest.out \
   6860   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6861 fi
   6862 rm -f conftest.i conftest2.i conftest.out
   6863 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6864 fi
   6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6866 $as_echo "$lt_cv_truncate_bin" >&6; }
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6875 func_cc_basename ()
   6876 {
   6877     for cc_temp in $*""; do
   6878       case $cc_temp in
   6879         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6880         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6881         \-*) ;;
   6882         *) break;;
   6883       esac
   6884     done
   6885     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6886 }
   6887 
   6888 # Check whether --enable-libtool-lock was given.
   6889 if test "${enable_libtool_lock+set}" = set; then :
   6890   enableval=$enable_libtool_lock;
   6891 fi
   6892 
   6893 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6894 
   6895 # Some flags need to be propagated to the compiler or linker for good
   6896 # libtool support.
   6897 case $host in
   6898 ia64-*-hpux*)
   6899   # Find out what ABI is being produced by ac_compile, and set mode
   6900   # options accordingly.
   6901   echo 'int i;' > conftest.$ac_ext
   6902   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6903   (eval $ac_compile) 2>&5
   6904   ac_status=$?
   6905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6906   test $ac_status = 0; }; then
   6907     case `/usr/bin/file conftest.$ac_objext` in
   6908       *ELF-32*)
   6909 	HPUX_IA64_MODE=32
   6910 	;;
   6911       *ELF-64*)
   6912 	HPUX_IA64_MODE=64
   6913 	;;
   6914     esac
   6915   fi
   6916   rm -rf conftest*
   6917   ;;
   6918 *-*-irix6*)
   6919   # Find out what ABI is being produced by ac_compile, and set linker
   6920   # options accordingly.
   6921   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6922   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6923   (eval $ac_compile) 2>&5
   6924   ac_status=$?
   6925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6926   test $ac_status = 0; }; then
   6927     if test yes = "$lt_cv_prog_gnu_ld"; then
   6928       case `/usr/bin/file conftest.$ac_objext` in
   6929 	*32-bit*)
   6930 	  LD="${LD-ld} -melf32bsmip"
   6931 	  ;;
   6932 	*N32*)
   6933 	  LD="${LD-ld} -melf32bmipn32"
   6934 	  ;;
   6935 	*64-bit*)
   6936 	  LD="${LD-ld} -melf64bmip"
   6937 	;;
   6938       esac
   6939     else
   6940       case `/usr/bin/file conftest.$ac_objext` in
   6941 	*32-bit*)
   6942 	  LD="${LD-ld} -32"
   6943 	  ;;
   6944 	*N32*)
   6945 	  LD="${LD-ld} -n32"
   6946 	  ;;
   6947 	*64-bit*)
   6948 	  LD="${LD-ld} -64"
   6949 	  ;;
   6950       esac
   6951     fi
   6952   fi
   6953   rm -rf conftest*
   6954   ;;
   6955 
   6956 mips64*-*linux*)
   6957   # Find out what ABI is being produced by ac_compile, and set linker
   6958   # options accordingly.
   6959   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6960   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6961   (eval $ac_compile) 2>&5
   6962   ac_status=$?
   6963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6964   test $ac_status = 0; }; then
   6965     emul=elf
   6966     case `/usr/bin/file conftest.$ac_objext` in
   6967       *32-bit*)
   6968 	emul="${emul}32"
   6969 	;;
   6970       *64-bit*)
   6971 	emul="${emul}64"
   6972 	;;
   6973     esac
   6974     case `/usr/bin/file conftest.$ac_objext` in
   6975       *MSB*)
   6976 	emul="${emul}btsmip"
   6977 	;;
   6978       *LSB*)
   6979 	emul="${emul}ltsmip"
   6980 	;;
   6981     esac
   6982     case `/usr/bin/file conftest.$ac_objext` in
   6983       *N32*)
   6984 	emul="${emul}n32"
   6985 	;;
   6986     esac
   6987     LD="${LD-ld} -m $emul"
   6988   fi
   6989   rm -rf conftest*
   6990   ;;
   6991 
   6992 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6993 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6994   # Find out what ABI is being produced by ac_compile, and set linker
   6995   # options accordingly.  Note that the listed cases only cover the
   6996   # situations where additional linker options are needed (such as when
   6997   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6998   # vice versa); the common cases where no linker options are needed do
   6999   # not appear in the list.
   7000   echo 'int i;' > conftest.$ac_ext
   7001   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7002   (eval $ac_compile) 2>&5
   7003   ac_status=$?
   7004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7005   test $ac_status = 0; }; then
   7006     case `/usr/bin/file conftest.o` in
   7007       *32-bit*)
   7008 	case $host in
   7009 	  x86_64-*kfreebsd*-gnu)
   7010 	    LD="${LD-ld} -m elf_i386_fbsd"
   7011 	    ;;
   7012 	  x86_64-*linux*)
   7013 	    case `/usr/bin/file conftest.o` in
   7014 	      *x86-64*)
   7015 		LD="${LD-ld} -m elf32_x86_64"
   7016 		;;
   7017 	      *)
   7018 		LD="${LD-ld} -m elf_i386"
   7019 		;;
   7020 	    esac
   7021 	    ;;
   7022 	  powerpc64le-*linux*)
   7023 	    LD="${LD-ld} -m elf32lppclinux"
   7024 	    ;;
   7025 	  powerpc64-*linux*)
   7026 	    LD="${LD-ld} -m elf32ppclinux"
   7027 	    ;;
   7028 	  s390x-*linux*)
   7029 	    LD="${LD-ld} -m elf_s390"
   7030 	    ;;
   7031 	  sparc64-*linux*)
   7032 	    LD="${LD-ld} -m elf32_sparc"
   7033 	    ;;
   7034 	esac
   7035 	;;
   7036       *64-bit*)
   7037 	case $host in
   7038 	  x86_64-*kfreebsd*-gnu)
   7039 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7040 	    ;;
   7041 	  x86_64-*linux*)
   7042 	    LD="${LD-ld} -m elf_x86_64"
   7043 	    ;;
   7044 	  powerpcle-*linux*)
   7045 	    LD="${LD-ld} -m elf64lppc"
   7046 	    ;;
   7047 	  powerpc-*linux*)
   7048 	    LD="${LD-ld} -m elf64ppc"
   7049 	    ;;
   7050 	  s390*-*linux*|s390*-*tpf*)
   7051 	    LD="${LD-ld} -m elf64_s390"
   7052 	    ;;
   7053 	  sparc*-*linux*)
   7054 	    LD="${LD-ld} -m elf64_sparc"
   7055 	    ;;
   7056 	esac
   7057 	;;
   7058     esac
   7059   fi
   7060   rm -rf conftest*
   7061   ;;
   7062 
   7063 *-*-sco3.2v5*)
   7064   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7065   SAVE_CFLAGS=$CFLAGS
   7066   CFLAGS="$CFLAGS -belf"
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7068 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7069 if ${lt_cv_cc_needs_belf+:} false; then :
   7070   $as_echo_n "(cached) " >&6
   7071 else
   7072   ac_ext=c
   7073 ac_cpp='$CPP $CPPFLAGS'
   7074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7077 
   7078      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7079 /* end confdefs.h.  */
   7080 
   7081 int
   7082 main ()
   7083 {
   7084 
   7085   ;
   7086   return 0;
   7087 }
   7088 _ACEOF
   7089 if ac_fn_c_try_link "$LINENO"; then :
   7090   lt_cv_cc_needs_belf=yes
   7091 else
   7092   lt_cv_cc_needs_belf=no
   7093 fi
   7094 rm -f core conftest.err conftest.$ac_objext \
   7095     conftest$ac_exeext conftest.$ac_ext
   7096      ac_ext=c
   7097 ac_cpp='$CPP $CPPFLAGS'
   7098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7101 
   7102 fi
   7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7104 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7105   if test yes != "$lt_cv_cc_needs_belf"; then
   7106     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7107     CFLAGS=$SAVE_CFLAGS
   7108   fi
   7109   ;;
   7110 *-*solaris*)
   7111   # Find out what ABI is being produced by ac_compile, and set linker
   7112   # options accordingly.
   7113   echo 'int i;' > conftest.$ac_ext
   7114   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7115   (eval $ac_compile) 2>&5
   7116   ac_status=$?
   7117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7118   test $ac_status = 0; }; then
   7119     case `/usr/bin/file conftest.o` in
   7120     *64-bit*)
   7121       case $lt_cv_prog_gnu_ld in
   7122       yes*)
   7123         case $host in
   7124         i?86-*-solaris*|x86_64-*-solaris*)
   7125           LD="${LD-ld} -m elf_x86_64"
   7126           ;;
   7127         sparc*-*-solaris*)
   7128           LD="${LD-ld} -m elf64_sparc"
   7129           ;;
   7130         esac
   7131         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7132         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7133           LD=${LD-ld}_sol2
   7134         fi
   7135         ;;
   7136       *)
   7137 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7138 	  LD="${LD-ld} -64"
   7139 	fi
   7140 	;;
   7141       esac
   7142       ;;
   7143     esac
   7144   fi
   7145   rm -rf conftest*
   7146   ;;
   7147 esac
   7148 
   7149 need_locks=$enable_libtool_lock
   7150 
   7151 if test -n "$ac_tool_prefix"; then
   7152   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7153 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7155 $as_echo_n "checking for $ac_word... " >&6; }
   7156 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7157   $as_echo_n "(cached) " >&6
   7158 else
   7159   if test -n "$MANIFEST_TOOL"; then
   7160   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7161 else
   7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7163 for as_dir in $PATH
   7164 do
   7165   IFS=$as_save_IFS
   7166   test -z "$as_dir" && as_dir=.
   7167     for ac_exec_ext in '' $ac_executable_extensions; do
   7168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7169     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7171     break 2
   7172   fi
   7173 done
   7174   done
   7175 IFS=$as_save_IFS
   7176 
   7177 fi
   7178 fi
   7179 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7180 if test -n "$MANIFEST_TOOL"; then
   7181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7182 $as_echo "$MANIFEST_TOOL" >&6; }
   7183 else
   7184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7185 $as_echo "no" >&6; }
   7186 fi
   7187 
   7188 
   7189 fi
   7190 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7191   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7192   # Extract the first word of "mt", so it can be a program name with args.
   7193 set dummy mt; ac_word=$2
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7195 $as_echo_n "checking for $ac_word... " >&6; }
   7196 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7200   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7201 else
   7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7203 for as_dir in $PATH
   7204 do
   7205   IFS=$as_save_IFS
   7206   test -z "$as_dir" && as_dir=.
   7207     for ac_exec_ext in '' $ac_executable_extensions; do
   7208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7209     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7211     break 2
   7212   fi
   7213 done
   7214   done
   7215 IFS=$as_save_IFS
   7216 
   7217 fi
   7218 fi
   7219 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7220 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7222 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7223 else
   7224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7225 $as_echo "no" >&6; }
   7226 fi
   7227 
   7228   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7229     MANIFEST_TOOL=":"
   7230   else
   7231     case $cross_compiling:$ac_tool_warned in
   7232 yes:)
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7235 ac_tool_warned=yes ;;
   7236 esac
   7237     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7238   fi
   7239 else
   7240   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7241 fi
   7242 
   7243 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7245 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7246 if ${lt_cv_path_mainfest_tool+:} false; then :
   7247   $as_echo_n "(cached) " >&6
   7248 else
   7249   lt_cv_path_mainfest_tool=no
   7250   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7251   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7252   cat conftest.err >&5
   7253   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7254     lt_cv_path_mainfest_tool=yes
   7255   fi
   7256   rm -f conftest*
   7257 fi
   7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7259 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7260 if test yes != "$lt_cv_path_mainfest_tool"; then
   7261   MANIFEST_TOOL=:
   7262 fi
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269   case $host_os in
   7270     rhapsody* | darwin*)
   7271     if test -n "$ac_tool_prefix"; then
   7272   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7273 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7275 $as_echo_n "checking for $ac_word... " >&6; }
   7276 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7277   $as_echo_n "(cached) " >&6
   7278 else
   7279   if test -n "$DSYMUTIL"; then
   7280   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7281 else
   7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7283 for as_dir in $PATH
   7284 do
   7285   IFS=$as_save_IFS
   7286   test -z "$as_dir" && as_dir=.
   7287     for ac_exec_ext in '' $ac_executable_extensions; do
   7288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7289     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7291     break 2
   7292   fi
   7293 done
   7294   done
   7295 IFS=$as_save_IFS
   7296 
   7297 fi
   7298 fi
   7299 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7300 if test -n "$DSYMUTIL"; then
   7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7302 $as_echo "$DSYMUTIL" >&6; }
   7303 else
   7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7305 $as_echo "no" >&6; }
   7306 fi
   7307 
   7308 
   7309 fi
   7310 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7311   ac_ct_DSYMUTIL=$DSYMUTIL
   7312   # Extract the first word of "dsymutil", so it can be a program name with args.
   7313 set dummy dsymutil; ac_word=$2
   7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7315 $as_echo_n "checking for $ac_word... " >&6; }
   7316 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7317   $as_echo_n "(cached) " >&6
   7318 else
   7319   if test -n "$ac_ct_DSYMUTIL"; then
   7320   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7321 else
   7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7323 for as_dir in $PATH
   7324 do
   7325   IFS=$as_save_IFS
   7326   test -z "$as_dir" && as_dir=.
   7327     for ac_exec_ext in '' $ac_executable_extensions; do
   7328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7329     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7331     break 2
   7332   fi
   7333 done
   7334   done
   7335 IFS=$as_save_IFS
   7336 
   7337 fi
   7338 fi
   7339 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7340 if test -n "$ac_ct_DSYMUTIL"; then
   7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7342 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7343 else
   7344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7345 $as_echo "no" >&6; }
   7346 fi
   7347 
   7348   if test "x$ac_ct_DSYMUTIL" = x; then
   7349     DSYMUTIL=":"
   7350   else
   7351     case $cross_compiling:$ac_tool_warned in
   7352 yes:)
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7355 ac_tool_warned=yes ;;
   7356 esac
   7357     DSYMUTIL=$ac_ct_DSYMUTIL
   7358   fi
   7359 else
   7360   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7361 fi
   7362 
   7363     if test -n "$ac_tool_prefix"; then
   7364   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7365 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7367 $as_echo_n "checking for $ac_word... " >&6; }
   7368 if ${ac_cv_prog_NMEDIT+:} false; then :
   7369   $as_echo_n "(cached) " >&6
   7370 else
   7371   if test -n "$NMEDIT"; then
   7372   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7373 else
   7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7375 for as_dir in $PATH
   7376 do
   7377   IFS=$as_save_IFS
   7378   test -z "$as_dir" && as_dir=.
   7379     for ac_exec_ext in '' $ac_executable_extensions; do
   7380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7381     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7383     break 2
   7384   fi
   7385 done
   7386   done
   7387 IFS=$as_save_IFS
   7388 
   7389 fi
   7390 fi
   7391 NMEDIT=$ac_cv_prog_NMEDIT
   7392 if test -n "$NMEDIT"; then
   7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7394 $as_echo "$NMEDIT" >&6; }
   7395 else
   7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7397 $as_echo "no" >&6; }
   7398 fi
   7399 
   7400 
   7401 fi
   7402 if test -z "$ac_cv_prog_NMEDIT"; then
   7403   ac_ct_NMEDIT=$NMEDIT
   7404   # Extract the first word of "nmedit", so it can be a program name with args.
   7405 set dummy nmedit; ac_word=$2
   7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7407 $as_echo_n "checking for $ac_word... " >&6; }
   7408 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7409   $as_echo_n "(cached) " >&6
   7410 else
   7411   if test -n "$ac_ct_NMEDIT"; then
   7412   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7413 else
   7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7415 for as_dir in $PATH
   7416 do
   7417   IFS=$as_save_IFS
   7418   test -z "$as_dir" && as_dir=.
   7419     for ac_exec_ext in '' $ac_executable_extensions; do
   7420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7421     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7423     break 2
   7424   fi
   7425 done
   7426   done
   7427 IFS=$as_save_IFS
   7428 
   7429 fi
   7430 fi
   7431 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7432 if test -n "$ac_ct_NMEDIT"; then
   7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7434 $as_echo "$ac_ct_NMEDIT" >&6; }
   7435 else
   7436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7437 $as_echo "no" >&6; }
   7438 fi
   7439 
   7440   if test "x$ac_ct_NMEDIT" = x; then
   7441     NMEDIT=":"
   7442   else
   7443     case $cross_compiling:$ac_tool_warned in
   7444 yes:)
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7447 ac_tool_warned=yes ;;
   7448 esac
   7449     NMEDIT=$ac_ct_NMEDIT
   7450   fi
   7451 else
   7452   NMEDIT="$ac_cv_prog_NMEDIT"
   7453 fi
   7454 
   7455     if test -n "$ac_tool_prefix"; then
   7456   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7457 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7459 $as_echo_n "checking for $ac_word... " >&6; }
   7460 if ${ac_cv_prog_LIPO+:} false; then :
   7461   $as_echo_n "(cached) " >&6
   7462 else
   7463   if test -n "$LIPO"; then
   7464   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7465 else
   7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7467 for as_dir in $PATH
   7468 do
   7469   IFS=$as_save_IFS
   7470   test -z "$as_dir" && as_dir=.
   7471     for ac_exec_ext in '' $ac_executable_extensions; do
   7472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7473     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7475     break 2
   7476   fi
   7477 done
   7478   done
   7479 IFS=$as_save_IFS
   7480 
   7481 fi
   7482 fi
   7483 LIPO=$ac_cv_prog_LIPO
   7484 if test -n "$LIPO"; then
   7485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7486 $as_echo "$LIPO" >&6; }
   7487 else
   7488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7489 $as_echo "no" >&6; }
   7490 fi
   7491 
   7492 
   7493 fi
   7494 if test -z "$ac_cv_prog_LIPO"; then
   7495   ac_ct_LIPO=$LIPO
   7496   # Extract the first word of "lipo", so it can be a program name with args.
   7497 set dummy lipo; ac_word=$2
   7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7499 $as_echo_n "checking for $ac_word... " >&6; }
   7500 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7501   $as_echo_n "(cached) " >&6
   7502 else
   7503   if test -n "$ac_ct_LIPO"; then
   7504   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7505 else
   7506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7507 for as_dir in $PATH
   7508 do
   7509   IFS=$as_save_IFS
   7510   test -z "$as_dir" && as_dir=.
   7511     for ac_exec_ext in '' $ac_executable_extensions; do
   7512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7513     ac_cv_prog_ac_ct_LIPO="lipo"
   7514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7515     break 2
   7516   fi
   7517 done
   7518   done
   7519 IFS=$as_save_IFS
   7520 
   7521 fi
   7522 fi
   7523 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7524 if test -n "$ac_ct_LIPO"; then
   7525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7526 $as_echo "$ac_ct_LIPO" >&6; }
   7527 else
   7528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7529 $as_echo "no" >&6; }
   7530 fi
   7531 
   7532   if test "x$ac_ct_LIPO" = x; then
   7533     LIPO=":"
   7534   else
   7535     case $cross_compiling:$ac_tool_warned in
   7536 yes:)
   7537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7539 ac_tool_warned=yes ;;
   7540 esac
   7541     LIPO=$ac_ct_LIPO
   7542   fi
   7543 else
   7544   LIPO="$ac_cv_prog_LIPO"
   7545 fi
   7546 
   7547     if test -n "$ac_tool_prefix"; then
   7548   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7549 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7551 $as_echo_n "checking for $ac_word... " >&6; }
   7552 if ${ac_cv_prog_OTOOL+:} false; then :
   7553   $as_echo_n "(cached) " >&6
   7554 else
   7555   if test -n "$OTOOL"; then
   7556   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7557 else
   7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7559 for as_dir in $PATH
   7560 do
   7561   IFS=$as_save_IFS
   7562   test -z "$as_dir" && as_dir=.
   7563     for ac_exec_ext in '' $ac_executable_extensions; do
   7564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7565     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7567     break 2
   7568   fi
   7569 done
   7570   done
   7571 IFS=$as_save_IFS
   7572 
   7573 fi
   7574 fi
   7575 OTOOL=$ac_cv_prog_OTOOL
   7576 if test -n "$OTOOL"; then
   7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7578 $as_echo "$OTOOL" >&6; }
   7579 else
   7580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7581 $as_echo "no" >&6; }
   7582 fi
   7583 
   7584 
   7585 fi
   7586 if test -z "$ac_cv_prog_OTOOL"; then
   7587   ac_ct_OTOOL=$OTOOL
   7588   # Extract the first word of "otool", so it can be a program name with args.
   7589 set dummy otool; ac_word=$2
   7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7591 $as_echo_n "checking for $ac_word... " >&6; }
   7592 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7593   $as_echo_n "(cached) " >&6
   7594 else
   7595   if test -n "$ac_ct_OTOOL"; then
   7596   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7597 else
   7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7599 for as_dir in $PATH
   7600 do
   7601   IFS=$as_save_IFS
   7602   test -z "$as_dir" && as_dir=.
   7603     for ac_exec_ext in '' $ac_executable_extensions; do
   7604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7605     ac_cv_prog_ac_ct_OTOOL="otool"
   7606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7607     break 2
   7608   fi
   7609 done
   7610   done
   7611 IFS=$as_save_IFS
   7612 
   7613 fi
   7614 fi
   7615 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7616 if test -n "$ac_ct_OTOOL"; then
   7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7618 $as_echo "$ac_ct_OTOOL" >&6; }
   7619 else
   7620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7621 $as_echo "no" >&6; }
   7622 fi
   7623 
   7624   if test "x$ac_ct_OTOOL" = x; then
   7625     OTOOL=":"
   7626   else
   7627     case $cross_compiling:$ac_tool_warned in
   7628 yes:)
   7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7631 ac_tool_warned=yes ;;
   7632 esac
   7633     OTOOL=$ac_ct_OTOOL
   7634   fi
   7635 else
   7636   OTOOL="$ac_cv_prog_OTOOL"
   7637 fi
   7638 
   7639     if test -n "$ac_tool_prefix"; then
   7640   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7641 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7643 $as_echo_n "checking for $ac_word... " >&6; }
   7644 if ${ac_cv_prog_OTOOL64+:} false; then :
   7645   $as_echo_n "(cached) " >&6
   7646 else
   7647   if test -n "$OTOOL64"; then
   7648   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7649 else
   7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7651 for as_dir in $PATH
   7652 do
   7653   IFS=$as_save_IFS
   7654   test -z "$as_dir" && as_dir=.
   7655     for ac_exec_ext in '' $ac_executable_extensions; do
   7656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7657     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7659     break 2
   7660   fi
   7661 done
   7662   done
   7663 IFS=$as_save_IFS
   7664 
   7665 fi
   7666 fi
   7667 OTOOL64=$ac_cv_prog_OTOOL64
   7668 if test -n "$OTOOL64"; then
   7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7670 $as_echo "$OTOOL64" >&6; }
   7671 else
   7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7673 $as_echo "no" >&6; }
   7674 fi
   7675 
   7676 
   7677 fi
   7678 if test -z "$ac_cv_prog_OTOOL64"; then
   7679   ac_ct_OTOOL64=$OTOOL64
   7680   # Extract the first word of "otool64", so it can be a program name with args.
   7681 set dummy otool64; ac_word=$2
   7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7683 $as_echo_n "checking for $ac_word... " >&6; }
   7684 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   if test -n "$ac_ct_OTOOL64"; then
   7688   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7689 else
   7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7691 for as_dir in $PATH
   7692 do
   7693   IFS=$as_save_IFS
   7694   test -z "$as_dir" && as_dir=.
   7695     for ac_exec_ext in '' $ac_executable_extensions; do
   7696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7697     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7699     break 2
   7700   fi
   7701 done
   7702   done
   7703 IFS=$as_save_IFS
   7704 
   7705 fi
   7706 fi
   7707 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7708 if test -n "$ac_ct_OTOOL64"; then
   7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7710 $as_echo "$ac_ct_OTOOL64" >&6; }
   7711 else
   7712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7713 $as_echo "no" >&6; }
   7714 fi
   7715 
   7716   if test "x$ac_ct_OTOOL64" = x; then
   7717     OTOOL64=":"
   7718   else
   7719     case $cross_compiling:$ac_tool_warned in
   7720 yes:)
   7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7723 ac_tool_warned=yes ;;
   7724 esac
   7725     OTOOL64=$ac_ct_OTOOL64
   7726   fi
   7727 else
   7728   OTOOL64="$ac_cv_prog_OTOOL64"
   7729 fi
   7730 
   7731 
   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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7758 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7759 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7760   $as_echo_n "(cached) " >&6
   7761 else
   7762   lt_cv_apple_cc_single_mod=no
   7763       if test -z "$LT_MULTI_MODULE"; then
   7764 	# By default we will add the -single_module flag. You can override
   7765 	# by either setting the environment variable LT_MULTI_MODULE
   7766 	# non-empty at configure time, or by adding -multi_module to the
   7767 	# link flags.
   7768 	rm -rf libconftest.dylib*
   7769 	echo "int foo(void){return 1;}" > conftest.c
   7770 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7771 -dynamiclib -Wl,-single_module conftest.c" >&5
   7772 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7773 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7774         _lt_result=$?
   7775 	# If there is a non-empty error log, and "single_module"
   7776 	# appears in it, assume the flag caused a linker warning
   7777         if test -s conftest.err && $GREP single_module conftest.err; then
   7778 	  cat conftest.err >&5
   7779 	# Otherwise, if the output was created with a 0 exit code from
   7780 	# the compiler, it worked.
   7781 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7782 	  lt_cv_apple_cc_single_mod=yes
   7783 	else
   7784 	  cat conftest.err >&5
   7785 	fi
   7786 	rm -rf libconftest.dylib*
   7787 	rm -f conftest.*
   7788       fi
   7789 fi
   7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7791 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7792 
   7793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7794 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7795 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7796   $as_echo_n "(cached) " >&6
   7797 else
   7798   lt_cv_ld_exported_symbols_list=no
   7799       save_LDFLAGS=$LDFLAGS
   7800       echo "_main" > conftest.sym
   7801       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7803 /* end confdefs.h.  */
   7804 
   7805 int
   7806 main ()
   7807 {
   7808 
   7809   ;
   7810   return 0;
   7811 }
   7812 _ACEOF
   7813 if ac_fn_c_try_link "$LINENO"; then :
   7814   lt_cv_ld_exported_symbols_list=yes
   7815 else
   7816   lt_cv_ld_exported_symbols_list=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext \
   7819     conftest$ac_exeext conftest.$ac_ext
   7820 	LDFLAGS=$save_LDFLAGS
   7821 
   7822 fi
   7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7824 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7825 
   7826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7827 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7828 if ${lt_cv_ld_force_load+:} false; then :
   7829   $as_echo_n "(cached) " >&6
   7830 else
   7831   lt_cv_ld_force_load=no
   7832       cat > conftest.c << _LT_EOF
   7833 int forced_loaded() { return 2;}
   7834 _LT_EOF
   7835       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7836       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7837       echo "$AR cru libconftest.a conftest.o" >&5
   7838       $AR cru libconftest.a conftest.o 2>&5
   7839       echo "$RANLIB libconftest.a" >&5
   7840       $RANLIB libconftest.a 2>&5
   7841       cat > conftest.c << _LT_EOF
   7842 int main() { return 0;}
   7843 _LT_EOF
   7844       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7845       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7846       _lt_result=$?
   7847       if test -s conftest.err && $GREP force_load conftest.err; then
   7848 	cat conftest.err >&5
   7849       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7850 	lt_cv_ld_force_load=yes
   7851       else
   7852 	cat conftest.err >&5
   7853       fi
   7854         rm -f conftest.err libconftest.a conftest conftest.c
   7855         rm -rf conftest.dSYM
   7856 
   7857 fi
   7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7859 $as_echo "$lt_cv_ld_force_load" >&6; }
   7860     case $host_os in
   7861     rhapsody* | darwin1.[012])
   7862       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7863     darwin1.*)
   7864       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7865     darwin*) # darwin 5.x on
   7866       # if running on 10.5 or later, the deployment target defaults
   7867       # to the OS version, if on x86, and 10.4, the deployment
   7868       # target defaults to 10.4. Don't you love it?
   7869       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7870 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7871 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7872 	10.[012][,.]*)
   7873 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7874 	10.*)
   7875 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7876       esac
   7877     ;;
   7878   esac
   7879     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7880       _lt_dar_single_mod='$single_module'
   7881     fi
   7882     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7883       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7884     else
   7885       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7886     fi
   7887     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7888       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7889     else
   7890       _lt_dsymutil=
   7891     fi
   7892     ;;
   7893   esac
   7894 
   7895 # func_munge_path_list VARIABLE PATH
   7896 # -----------------------------------
   7897 # VARIABLE is name of variable containing _space_ separated list of
   7898 # directories to be munged by the contents of PATH, which is string
   7899 # having a format:
   7900 # "DIR[:DIR]:"
   7901 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7902 # ":DIR[:DIR]"
   7903 #       string "DIR[ DIR]" will be appended to VARIABLE
   7904 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7905 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7906 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7907 # "DIR[:DIR]"
   7908 #       VARIABLE will be replaced by "DIR[ DIR]"
   7909 func_munge_path_list ()
   7910 {
   7911     case x$2 in
   7912     x)
   7913         ;;
   7914     *:)
   7915         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7916         ;;
   7917     x:*)
   7918         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7919         ;;
   7920     *::*)
   7921         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7922         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7923         ;;
   7924     *)
   7925         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7926         ;;
   7927     esac
   7928 }
   7929 
   7930 ac_ext=c
   7931 ac_cpp='$CPP $CPPFLAGS'
   7932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7936 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7937 # On Suns, sometimes $CPP names a directory.
   7938 if test -n "$CPP" && test -d "$CPP"; then
   7939   CPP=
   7940 fi
   7941 if test -z "$CPP"; then
   7942   if ${ac_cv_prog_CPP+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945       # Double quotes because CPP needs to be expanded
   7946     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7947     do
   7948       ac_preproc_ok=false
   7949 for ac_c_preproc_warn_flag in '' yes
   7950 do
   7951   # Use a header file that comes with gcc, so configuring glibc
   7952   # with a fresh cross-compiler works.
   7953   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7954   # <limits.h> exists even on freestanding compilers.
   7955   # On the NeXT, cc -E runs the code through the compiler's parser,
   7956   # not just through cpp. "Syntax error" is here to catch this case.
   7957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7958 /* end confdefs.h.  */
   7959 #ifdef __STDC__
   7960 # include <limits.h>
   7961 #else
   7962 # include <assert.h>
   7963 #endif
   7964 		     Syntax error
   7965 _ACEOF
   7966 if ac_fn_c_try_cpp "$LINENO"; then :
   7967 
   7968 else
   7969   # Broken: fails on valid input.
   7970 continue
   7971 fi
   7972 rm -f conftest.err conftest.i conftest.$ac_ext
   7973 
   7974   # OK, works on sane cases.  Now check whether nonexistent headers
   7975   # can be detected and how.
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 #include <ac_nonexistent.h>
   7979 _ACEOF
   7980 if ac_fn_c_try_cpp "$LINENO"; then :
   7981   # Broken: success on invalid input.
   7982 continue
   7983 else
   7984   # Passes both tests.
   7985 ac_preproc_ok=:
   7986 break
   7987 fi
   7988 rm -f conftest.err conftest.i conftest.$ac_ext
   7989 
   7990 done
   7991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7992 rm -f conftest.i conftest.err conftest.$ac_ext
   7993 if $ac_preproc_ok; then :
   7994   break
   7995 fi
   7996 
   7997     done
   7998     ac_cv_prog_CPP=$CPP
   7999 
   8000 fi
   8001   CPP=$ac_cv_prog_CPP
   8002 else
   8003   ac_cv_prog_CPP=$CPP
   8004 fi
   8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   8006 $as_echo "$CPP" >&6; }
   8007 ac_preproc_ok=false
   8008 for ac_c_preproc_warn_flag in '' yes
   8009 do
   8010   # Use a header file that comes with gcc, so configuring glibc
   8011   # with a fresh cross-compiler works.
   8012   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8013   # <limits.h> exists even on freestanding compilers.
   8014   # On the NeXT, cc -E runs the code through the compiler's parser,
   8015   # not just through cpp. "Syntax error" is here to catch this case.
   8016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8017 /* end confdefs.h.  */
   8018 #ifdef __STDC__
   8019 # include <limits.h>
   8020 #else
   8021 # include <assert.h>
   8022 #endif
   8023 		     Syntax error
   8024 _ACEOF
   8025 if ac_fn_c_try_cpp "$LINENO"; then :
   8026 
   8027 else
   8028   # Broken: fails on valid input.
   8029 continue
   8030 fi
   8031 rm -f conftest.err conftest.i conftest.$ac_ext
   8032 
   8033   # OK, works on sane cases.  Now check whether nonexistent headers
   8034   # can be detected and how.
   8035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8036 /* end confdefs.h.  */
   8037 #include <ac_nonexistent.h>
   8038 _ACEOF
   8039 if ac_fn_c_try_cpp "$LINENO"; then :
   8040   # Broken: success on invalid input.
   8041 continue
   8042 else
   8043   # Passes both tests.
   8044 ac_preproc_ok=:
   8045 break
   8046 fi
   8047 rm -f conftest.err conftest.i conftest.$ac_ext
   8048 
   8049 done
   8050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8051 rm -f conftest.i conftest.err conftest.$ac_ext
   8052 if $ac_preproc_ok; then :
   8053 
   8054 else
   8055   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   8056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   8057 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   8058 See \`config.log' for more details" "$LINENO" 5; }
   8059 fi
   8060 
   8061 ac_ext=c
   8062 ac_cpp='$CPP $CPPFLAGS'
   8063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8066 
   8067 
   8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   8069 $as_echo_n "checking for ANSI C header files... " >&6; }
   8070 if ${ac_cv_header_stdc+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 #include <stdlib.h>
   8076 #include <stdarg.h>
   8077 #include <string.h>
   8078 #include <float.h>
   8079 
   8080 int
   8081 main ()
   8082 {
   8083 
   8084   ;
   8085   return 0;
   8086 }
   8087 _ACEOF
   8088 if ac_fn_c_try_compile "$LINENO"; then :
   8089   ac_cv_header_stdc=yes
   8090 else
   8091   ac_cv_header_stdc=no
   8092 fi
   8093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8094 
   8095 if test $ac_cv_header_stdc = yes; then
   8096   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   8097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8098 /* end confdefs.h.  */
   8099 #include <string.h>
   8100 
   8101 _ACEOF
   8102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8103   $EGREP "memchr" >/dev/null 2>&1; then :
   8104 
   8105 else
   8106   ac_cv_header_stdc=no
   8107 fi
   8108 rm -f conftest*
   8109 
   8110 fi
   8111 
   8112 if test $ac_cv_header_stdc = yes; then
   8113   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   8114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8115 /* end confdefs.h.  */
   8116 #include <stdlib.h>
   8117 
   8118 _ACEOF
   8119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8120   $EGREP "free" >/dev/null 2>&1; then :
   8121 
   8122 else
   8123   ac_cv_header_stdc=no
   8124 fi
   8125 rm -f conftest*
   8126 
   8127 fi
   8128 
   8129 if test $ac_cv_header_stdc = yes; then
   8130   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   8131   if test "$cross_compiling" = yes; then :
   8132   :
   8133 else
   8134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8135 /* end confdefs.h.  */
   8136 #include <ctype.h>
   8137 #include <stdlib.h>
   8138 #if ((' ' & 0x0FF) == 0x020)
   8139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   8140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   8141 #else
   8142 # define ISLOWER(c) \
   8143 		   (('a' <= (c) && (c) <= 'i') \
   8144 		     || ('j' <= (c) && (c) <= 'r') \
   8145 		     || ('s' <= (c) && (c) <= 'z'))
   8146 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   8147 #endif
   8148 
   8149 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   8150 int
   8151 main ()
   8152 {
   8153   int i;
   8154   for (i = 0; i < 256; i++)
   8155     if (XOR (islower (i), ISLOWER (i))
   8156 	|| toupper (i) != TOUPPER (i))
   8157       return 2;
   8158   return 0;
   8159 }
   8160 _ACEOF
   8161 if ac_fn_c_try_run "$LINENO"; then :
   8162 
   8163 else
   8164   ac_cv_header_stdc=no
   8165 fi
   8166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8167   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8168 fi
   8169 
   8170 fi
   8171 fi
   8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   8173 $as_echo "$ac_cv_header_stdc" >&6; }
   8174 if test $ac_cv_header_stdc = yes; then
   8175 
   8176 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   8177 
   8178 fi
   8179 
   8180 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   8181 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   8182 		  inttypes.h stdint.h unistd.h
   8183 do :
   8184   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8185 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   8186 "
   8187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   8188   cat >>confdefs.h <<_ACEOF
   8189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8190 _ACEOF
   8191 
   8192 fi
   8193 
   8194 done
   8195 
   8196 
   8197 for ac_header in dlfcn.h
   8198 do :
   8199   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8200 "
   8201 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8202   cat >>confdefs.h <<_ACEOF
   8203 #define HAVE_DLFCN_H 1
   8204 _ACEOF
   8205 
   8206 fi
   8207 
   8208 done
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 # Set options
   8215 
   8216 
   8217 
   8218         enable_dlopen=no
   8219 
   8220 
   8221   enable_win32_dll=no
   8222 
   8223 
   8224             # Check whether --enable-shared was given.
   8225 if test "${enable_shared+set}" = set; then :
   8226   enableval=$enable_shared; p=${PACKAGE-default}
   8227     case $enableval in
   8228     yes) enable_shared=yes ;;
   8229     no) enable_shared=no ;;
   8230     *)
   8231       enable_shared=no
   8232       # Look at the argument we got.  We use all the common list separators.
   8233       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8234       for pkg in $enableval; do
   8235 	IFS=$lt_save_ifs
   8236 	if test "X$pkg" = "X$p"; then
   8237 	  enable_shared=yes
   8238 	fi
   8239       done
   8240       IFS=$lt_save_ifs
   8241       ;;
   8242     esac
   8243 else
   8244   enable_shared=yes
   8245 fi
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255   # Check whether --enable-static was given.
   8256 if test "${enable_static+set}" = set; then :
   8257   enableval=$enable_static; p=${PACKAGE-default}
   8258     case $enableval in
   8259     yes) enable_static=yes ;;
   8260     no) enable_static=no ;;
   8261     *)
   8262      enable_static=no
   8263       # Look at the argument we got.  We use all the common list separators.
   8264       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8265       for pkg in $enableval; do
   8266 	IFS=$lt_save_ifs
   8267 	if test "X$pkg" = "X$p"; then
   8268 	  enable_static=yes
   8269 	fi
   8270       done
   8271       IFS=$lt_save_ifs
   8272       ;;
   8273     esac
   8274 else
   8275   enable_static=yes
   8276 fi
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 # Check whether --with-pic was given.
   8288 if test "${with_pic+set}" = set; then :
   8289   withval=$with_pic; lt_p=${PACKAGE-default}
   8290     case $withval in
   8291     yes|no) pic_mode=$withval ;;
   8292     *)
   8293       pic_mode=default
   8294       # Look at the argument we got.  We use all the common list separators.
   8295       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8296       for lt_pkg in $withval; do
   8297 	IFS=$lt_save_ifs
   8298 	if test "X$lt_pkg" = "X$lt_p"; then
   8299 	  pic_mode=yes
   8300 	fi
   8301       done
   8302       IFS=$lt_save_ifs
   8303       ;;
   8304     esac
   8305 else
   8306   pic_mode=default
   8307 fi
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316   # Check whether --enable-fast-install was given.
   8317 if test "${enable_fast_install+set}" = set; then :
   8318   enableval=$enable_fast_install; p=${PACKAGE-default}
   8319     case $enableval in
   8320     yes) enable_fast_install=yes ;;
   8321     no) enable_fast_install=no ;;
   8322     *)
   8323       enable_fast_install=no
   8324       # Look at the argument we got.  We use all the common list separators.
   8325       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8326       for pkg in $enableval; do
   8327 	IFS=$lt_save_ifs
   8328 	if test "X$pkg" = "X$p"; then
   8329 	  enable_fast_install=yes
   8330 	fi
   8331       done
   8332       IFS=$lt_save_ifs
   8333       ;;
   8334     esac
   8335 else
   8336   enable_fast_install=yes
   8337 fi
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346   shared_archive_member_spec=
   8347 case $host,$enable_shared in
   8348 power*-*-aix[5-9]*,yes)
   8349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8350 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8351 
   8352 # Check whether --with-aix-soname was given.
   8353 if test "${with_aix_soname+set}" = set; then :
   8354   withval=$with_aix_soname; case $withval in
   8355     aix|svr4|both)
   8356       ;;
   8357     *)
   8358       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8359       ;;
   8360     esac
   8361     lt_cv_with_aix_soname=$with_aix_soname
   8362 else
   8363   if ${lt_cv_with_aix_soname+:} false; then :
   8364   $as_echo_n "(cached) " >&6
   8365 else
   8366   lt_cv_with_aix_soname=aix
   8367 fi
   8368 
   8369     with_aix_soname=$lt_cv_with_aix_soname
   8370 fi
   8371 
   8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8373 $as_echo "$with_aix_soname" >&6; }
   8374   if test aix != "$with_aix_soname"; then
   8375     # For the AIX way of multilib, we name the shared archive member
   8376     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8377     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8378     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8379     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8380     if test 64 = "${OBJECT_MODE-32}"; then
   8381       shared_archive_member_spec=shr_64
   8382     else
   8383       shared_archive_member_spec=shr
   8384     fi
   8385   fi
   8386   ;;
   8387 *)
   8388   with_aix_soname=aix
   8389   ;;
   8390 esac
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 # This can be used to rebuild libtool when needed
   8402 LIBTOOL_DEPS=$ltmain
   8403 
   8404 # Always use our own libtool.
   8405 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8406 
   8407 
   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 test -z "$LN_S" && LN_S="ln -s"
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 if test -n "${ZSH_VERSION+set}"; then
   8452    setopt NO_GLOB_SUBST
   8453 fi
   8454 
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8456 $as_echo_n "checking for objdir... " >&6; }
   8457 if ${lt_cv_objdir+:} false; then :
   8458   $as_echo_n "(cached) " >&6
   8459 else
   8460   rm -f .libs 2>/dev/null
   8461 mkdir .libs 2>/dev/null
   8462 if test -d .libs; then
   8463   lt_cv_objdir=.libs
   8464 else
   8465   # MS-DOS does not allow filenames that begin with a dot.
   8466   lt_cv_objdir=_libs
   8467 fi
   8468 rmdir .libs 2>/dev/null
   8469 fi
   8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8471 $as_echo "$lt_cv_objdir" >&6; }
   8472 objdir=$lt_cv_objdir
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 cat >>confdefs.h <<_ACEOF
   8479 #define LT_OBJDIR "$lt_cv_objdir/"
   8480 _ACEOF
   8481 
   8482 
   8483 
   8484 
   8485 case $host_os in
   8486 aix3*)
   8487   # AIX sometimes has problems with the GCC collect2 program.  For some
   8488   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8489   # vanish in a puff of smoke.
   8490   if test set != "${COLLECT_NAMES+set}"; then
   8491     COLLECT_NAMES=
   8492     export COLLECT_NAMES
   8493   fi
   8494   ;;
   8495 esac
   8496 
   8497 # Global variables:
   8498 ofile=libtool
   8499 can_build_shared=yes
   8500 
   8501 # All known linkers require a '.a' archive for static linking (except MSVC,
   8502 # which needs '.lib').
   8503 libext=a
   8504 
   8505 with_gnu_ld=$lt_cv_prog_gnu_ld
   8506 
   8507 old_CC=$CC
   8508 old_CFLAGS=$CFLAGS
   8509 
   8510 # Set sane defaults for various variables
   8511 test -z "$CC" && CC=cc
   8512 test -z "$LTCC" && LTCC=$CC
   8513 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8514 test -z "$LD" && LD=ld
   8515 test -z "$ac_objext" && ac_objext=o
   8516 
   8517 func_cc_basename $compiler
   8518 cc_basename=$func_cc_basename_result
   8519 
   8520 
   8521 # Only perform the check for file, if the check method requires it
   8522 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8523 case $deplibs_check_method in
   8524 file_magic*)
   8525   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8527 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8528 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8529   $as_echo_n "(cached) " >&6
   8530 else
   8531   case $MAGIC_CMD in
   8532 [\\/*] |  ?:[\\/]*)
   8533   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8534   ;;
   8535 *)
   8536   lt_save_MAGIC_CMD=$MAGIC_CMD
   8537   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8538   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8539   for ac_dir in $ac_dummy; do
   8540     IFS=$lt_save_ifs
   8541     test -z "$ac_dir" && ac_dir=.
   8542     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8543       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8544       if test -n "$file_magic_test_file"; then
   8545 	case $deplibs_check_method in
   8546 	"file_magic "*)
   8547 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8548 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8549 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8550 	    $EGREP "$file_magic_regex" > /dev/null; then
   8551 	    :
   8552 	  else
   8553 	    cat <<_LT_EOF 1>&2
   8554 
   8555 *** Warning: the command libtool uses to detect shared libraries,
   8556 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8557 *** The result is that libtool may fail to recognize shared libraries
   8558 *** as such.  This will affect the creation of libtool libraries that
   8559 *** depend on shared libraries, but programs linked with such libtool
   8560 *** libraries will work regardless of this problem.  Nevertheless, you
   8561 *** may want to report the problem to your system manager and/or to
   8562 *** bug-libtool (at] gnu.org
   8563 
   8564 _LT_EOF
   8565 	  fi ;;
   8566 	esac
   8567       fi
   8568       break
   8569     fi
   8570   done
   8571   IFS=$lt_save_ifs
   8572   MAGIC_CMD=$lt_save_MAGIC_CMD
   8573   ;;
   8574 esac
   8575 fi
   8576 
   8577 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8578 if test -n "$MAGIC_CMD"; then
   8579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8580 $as_echo "$MAGIC_CMD" >&6; }
   8581 else
   8582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8583 $as_echo "no" >&6; }
   8584 fi
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8591   if test -n "$ac_tool_prefix"; then
   8592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8593 $as_echo_n "checking for file... " >&6; }
   8594 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8595   $as_echo_n "(cached) " >&6
   8596 else
   8597   case $MAGIC_CMD in
   8598 [\\/*] |  ?:[\\/]*)
   8599   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8600   ;;
   8601 *)
   8602   lt_save_MAGIC_CMD=$MAGIC_CMD
   8603   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8604   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8605   for ac_dir in $ac_dummy; do
   8606     IFS=$lt_save_ifs
   8607     test -z "$ac_dir" && ac_dir=.
   8608     if test -f "$ac_dir/file"; then
   8609       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8610       if test -n "$file_magic_test_file"; then
   8611 	case $deplibs_check_method in
   8612 	"file_magic "*)
   8613 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8614 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8615 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8616 	    $EGREP "$file_magic_regex" > /dev/null; then
   8617 	    :
   8618 	  else
   8619 	    cat <<_LT_EOF 1>&2
   8620 
   8621 *** Warning: the command libtool uses to detect shared libraries,
   8622 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8623 *** The result is that libtool may fail to recognize shared libraries
   8624 *** as such.  This will affect the creation of libtool libraries that
   8625 *** depend on shared libraries, but programs linked with such libtool
   8626 *** libraries will work regardless of this problem.  Nevertheless, you
   8627 *** may want to report the problem to your system manager and/or to
   8628 *** bug-libtool (at] gnu.org
   8629 
   8630 _LT_EOF
   8631 	  fi ;;
   8632 	esac
   8633       fi
   8634       break
   8635     fi
   8636   done
   8637   IFS=$lt_save_ifs
   8638   MAGIC_CMD=$lt_save_MAGIC_CMD
   8639   ;;
   8640 esac
   8641 fi
   8642 
   8643 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8644 if test -n "$MAGIC_CMD"; then
   8645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8646 $as_echo "$MAGIC_CMD" >&6; }
   8647 else
   8648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8649 $as_echo "no" >&6; }
   8650 fi
   8651 
   8652 
   8653   else
   8654     MAGIC_CMD=:
   8655   fi
   8656 fi
   8657 
   8658   fi
   8659   ;;
   8660 esac
   8661 
   8662 # Use C for the default configuration in the libtool script
   8663 
   8664 lt_save_CC=$CC
   8665 ac_ext=c
   8666 ac_cpp='$CPP $CPPFLAGS'
   8667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8670 
   8671 
   8672 # Source file extension for C test sources.
   8673 ac_ext=c
   8674 
   8675 # Object file extension for compiled C test sources.
   8676 objext=o
   8677 objext=$objext
   8678 
   8679 # Code to be used in simple compile tests
   8680 lt_simple_compile_test_code="int some_variable = 0;"
   8681 
   8682 # Code to be used in simple link tests
   8683 lt_simple_link_test_code='int main(){return(0);}'
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 # If no C compiler was specified, use CC.
   8692 LTCC=${LTCC-"$CC"}
   8693 
   8694 # If no C compiler flags were specified, use CFLAGS.
   8695 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8696 
   8697 # Allow CC to be a program name with arguments.
   8698 compiler=$CC
   8699 
   8700 # Save the default compiler, since it gets overwritten when the other
   8701 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8702 compiler_DEFAULT=$CC
   8703 
   8704 # save warnings/boilerplate of simple test code
   8705 ac_outfile=conftest.$ac_objext
   8706 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8707 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8708 _lt_compiler_boilerplate=`cat conftest.err`
   8709 $RM conftest*
   8710 
   8711 ac_outfile=conftest.$ac_objext
   8712 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8713 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8714 _lt_linker_boilerplate=`cat conftest.err`
   8715 $RM -r conftest*
   8716 
   8717 
   8718 ## CAVEAT EMPTOR:
   8719 ## There is no encapsulation within the following macros, do not change
   8720 ## the running order or otherwise move them around unless you know exactly
   8721 ## what you are doing...
   8722 if test -n "$compiler"; then
   8723 
   8724 lt_prog_compiler_no_builtin_flag=
   8725 
   8726 if test yes = "$GCC"; then
   8727   case $cc_basename in
   8728   nvcc*)
   8729     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8730   *)
   8731     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8732   esac
   8733 
   8734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8735 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8736 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8737   $as_echo_n "(cached) " >&6
   8738 else
   8739   lt_cv_prog_compiler_rtti_exceptions=no
   8740    ac_outfile=conftest.$ac_objext
   8741    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8742    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8743    # Insert the option either (1) after the last *FLAGS variable, or
   8744    # (2) before a word containing "conftest.", or (3) at the end.
   8745    # Note that $ac_compile itself does not contain backslashes and begins
   8746    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8747    # The option is referenced via a variable to avoid confusing sed.
   8748    lt_compile=`echo "$ac_compile" | $SED \
   8749    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8750    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8751    -e 's:$: $lt_compiler_flag:'`
   8752    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8753    (eval "$lt_compile" 2>conftest.err)
   8754    ac_status=$?
   8755    cat conftest.err >&5
   8756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8757    if (exit $ac_status) && test -s "$ac_outfile"; then
   8758      # The compiler can only warn and ignore the option if not recognized
   8759      # So say no if there are warnings other than the usual output.
   8760      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8761      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8762      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8763        lt_cv_prog_compiler_rtti_exceptions=yes
   8764      fi
   8765    fi
   8766    $RM conftest*
   8767 
   8768 fi
   8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8770 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8771 
   8772 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8773     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8774 else
   8775     :
   8776 fi
   8777 
   8778 fi
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785   lt_prog_compiler_wl=
   8786 lt_prog_compiler_pic=
   8787 lt_prog_compiler_static=
   8788 
   8789 
   8790   if test yes = "$GCC"; then
   8791     lt_prog_compiler_wl='-Wl,'
   8792     lt_prog_compiler_static='-static'
   8793 
   8794     case $host_os in
   8795       aix*)
   8796       # All AIX code is PIC.
   8797       if test ia64 = "$host_cpu"; then
   8798 	# AIX 5 now supports IA64 processor
   8799 	lt_prog_compiler_static='-Bstatic'
   8800       fi
   8801       lt_prog_compiler_pic='-fPIC'
   8802       ;;
   8803 
   8804     amigaos*)
   8805       case $host_cpu in
   8806       powerpc)
   8807             # see comment about AmigaOS4 .so support
   8808             lt_prog_compiler_pic='-fPIC'
   8809         ;;
   8810       m68k)
   8811             # FIXME: we need at least 68020 code to build shared libraries, but
   8812             # adding the '-m68020' flag to GCC prevents building anything better,
   8813             # like '-m68040'.
   8814             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8815         ;;
   8816       esac
   8817       ;;
   8818 
   8819     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8820       # PIC is the default for these OSes.
   8821       ;;
   8822 
   8823     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8824       # This hack is so that the source file can tell whether it is being
   8825       # built for inclusion in a dll (and should export symbols for example).
   8826       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8827       # (--disable-auto-import) libraries
   8828       lt_prog_compiler_pic='-DDLL_EXPORT'
   8829       case $host_os in
   8830       os2*)
   8831 	lt_prog_compiler_static='$wl-static'
   8832 	;;
   8833       esac
   8834       ;;
   8835 
   8836     darwin* | rhapsody*)
   8837       # PIC is the default on this platform
   8838       # Common symbols not allowed in MH_DYLIB files
   8839       lt_prog_compiler_pic='-fno-common'
   8840       ;;
   8841 
   8842     haiku*)
   8843       # PIC is the default for Haiku.
   8844       # The "-static" flag exists, but is broken.
   8845       lt_prog_compiler_static=
   8846       ;;
   8847 
   8848     hpux*)
   8849       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8850       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8851       # sets the default TLS model and affects inlining.
   8852       case $host_cpu in
   8853       hppa*64*)
   8854 	# +Z the default
   8855 	;;
   8856       *)
   8857 	lt_prog_compiler_pic='-fPIC'
   8858 	;;
   8859       esac
   8860       ;;
   8861 
   8862     interix[3-9]*)
   8863       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8864       # Instead, we relocate shared libraries at runtime.
   8865       ;;
   8866 
   8867     msdosdjgpp*)
   8868       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8869       # on systems that don't support them.
   8870       lt_prog_compiler_can_build_shared=no
   8871       enable_shared=no
   8872       ;;
   8873 
   8874     *nto* | *qnx*)
   8875       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8876       # it will coredump.
   8877       lt_prog_compiler_pic='-fPIC -shared'
   8878       ;;
   8879 
   8880     sysv4*MP*)
   8881       if test -d /usr/nec; then
   8882 	lt_prog_compiler_pic=-Kconform_pic
   8883       fi
   8884       ;;
   8885 
   8886     *)
   8887       lt_prog_compiler_pic='-fPIC'
   8888       ;;
   8889     esac
   8890 
   8891     case $cc_basename in
   8892     nvcc*) # Cuda Compiler Driver 2.2
   8893       lt_prog_compiler_wl='-Xlinker '
   8894       if test -n "$lt_prog_compiler_pic"; then
   8895         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8896       fi
   8897       ;;
   8898     esac
   8899   else
   8900     # PORTME Check for flag to pass linker flags through the system compiler.
   8901     case $host_os in
   8902     aix*)
   8903       lt_prog_compiler_wl='-Wl,'
   8904       if test ia64 = "$host_cpu"; then
   8905 	# AIX 5 now supports IA64 processor
   8906 	lt_prog_compiler_static='-Bstatic'
   8907       else
   8908 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8909       fi
   8910       ;;
   8911 
   8912     darwin* | rhapsody*)
   8913       # PIC is the default on this platform
   8914       # Common symbols not allowed in MH_DYLIB files
   8915       lt_prog_compiler_pic='-fno-common'
   8916       case $cc_basename in
   8917       nagfor*)
   8918         # NAG Fortran compiler
   8919         lt_prog_compiler_wl='-Wl,-Wl,,'
   8920         lt_prog_compiler_pic='-PIC'
   8921         lt_prog_compiler_static='-Bstatic'
   8922         ;;
   8923       esac
   8924       ;;
   8925 
   8926     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8927       # This hack is so that the source file can tell whether it is being
   8928       # built for inclusion in a dll (and should export symbols for example).
   8929       lt_prog_compiler_pic='-DDLL_EXPORT'
   8930       case $host_os in
   8931       os2*)
   8932 	lt_prog_compiler_static='$wl-static'
   8933 	;;
   8934       esac
   8935       ;;
   8936 
   8937     hpux9* | hpux10* | hpux11*)
   8938       lt_prog_compiler_wl='-Wl,'
   8939       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8940       # not for PA HP-UX.
   8941       case $host_cpu in
   8942       hppa*64*|ia64*)
   8943 	# +Z the default
   8944 	;;
   8945       *)
   8946 	lt_prog_compiler_pic='+Z'
   8947 	;;
   8948       esac
   8949       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8950       lt_prog_compiler_static='$wl-a ${wl}archive'
   8951       ;;
   8952 
   8953     irix5* | irix6* | nonstopux*)
   8954       lt_prog_compiler_wl='-Wl,'
   8955       # PIC (with -KPIC) is the default.
   8956       lt_prog_compiler_static='-non_shared'
   8957       ;;
   8958 
   8959     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8960       case $cc_basename in
   8961       # old Intel for x86_64, which still supported -KPIC.
   8962       ecc*)
   8963 	lt_prog_compiler_wl='-Wl,'
   8964 	lt_prog_compiler_pic='-KPIC'
   8965 	lt_prog_compiler_static='-static'
   8966         ;;
   8967       # icc used to be incompatible with GCC.
   8968       # ICC 10 doesn't accept -KPIC any more.
   8969       icc* | ifort*)
   8970 	lt_prog_compiler_wl='-Wl,'
   8971 	lt_prog_compiler_pic='-fPIC'
   8972 	lt_prog_compiler_static='-static'
   8973         ;;
   8974       # Lahey Fortran 8.1.
   8975       lf95*)
   8976 	lt_prog_compiler_wl='-Wl,'
   8977 	lt_prog_compiler_pic='--shared'
   8978 	lt_prog_compiler_static='--static'
   8979 	;;
   8980       nagfor*)
   8981 	# NAG Fortran compiler
   8982 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8983 	lt_prog_compiler_pic='-PIC'
   8984 	lt_prog_compiler_static='-Bstatic'
   8985 	;;
   8986       tcc*)
   8987 	# Fabrice Bellard et al's Tiny C Compiler
   8988 	lt_prog_compiler_wl='-Wl,'
   8989 	lt_prog_compiler_pic='-fPIC'
   8990 	lt_prog_compiler_static='-static'
   8991 	;;
   8992       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8993         # Portland Group compilers (*not* the Pentium gcc compiler,
   8994 	# which looks to be a dead project)
   8995 	lt_prog_compiler_wl='-Wl,'
   8996 	lt_prog_compiler_pic='-fpic'
   8997 	lt_prog_compiler_static='-Bstatic'
   8998         ;;
   8999       ccc*)
   9000         lt_prog_compiler_wl='-Wl,'
   9001         # All Alpha code is PIC.
   9002         lt_prog_compiler_static='-non_shared'
   9003         ;;
   9004       xl* | bgxl* | bgf* | mpixl*)
   9005 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9006 	lt_prog_compiler_wl='-Wl,'
   9007 	lt_prog_compiler_pic='-qpic'
   9008 	lt_prog_compiler_static='-qstaticlink'
   9009 	;;
   9010       *)
   9011 	case `$CC -V 2>&1 | sed 5q` in
   9012 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9013 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9014 	  lt_prog_compiler_pic='-KPIC'
   9015 	  lt_prog_compiler_static='-Bstatic'
   9016 	  lt_prog_compiler_wl=''
   9017 	  ;;
   9018 	*Sun\ F* | *Sun*Fortran*)
   9019 	  lt_prog_compiler_pic='-KPIC'
   9020 	  lt_prog_compiler_static='-Bstatic'
   9021 	  lt_prog_compiler_wl='-Qoption ld '
   9022 	  ;;
   9023 	*Sun\ C*)
   9024 	  # Sun C 5.9
   9025 	  lt_prog_compiler_pic='-KPIC'
   9026 	  lt_prog_compiler_static='-Bstatic'
   9027 	  lt_prog_compiler_wl='-Wl,'
   9028 	  ;;
   9029         *Intel*\ [CF]*Compiler*)
   9030 	  lt_prog_compiler_wl='-Wl,'
   9031 	  lt_prog_compiler_pic='-fPIC'
   9032 	  lt_prog_compiler_static='-static'
   9033 	  ;;
   9034 	*Portland\ Group*)
   9035 	  lt_prog_compiler_wl='-Wl,'
   9036 	  lt_prog_compiler_pic='-fpic'
   9037 	  lt_prog_compiler_static='-Bstatic'
   9038 	  ;;
   9039 	esac
   9040 	;;
   9041       esac
   9042       ;;
   9043 
   9044     newsos6)
   9045       lt_prog_compiler_pic='-KPIC'
   9046       lt_prog_compiler_static='-Bstatic'
   9047       ;;
   9048 
   9049     *nto* | *qnx*)
   9050       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9051       # it will coredump.
   9052       lt_prog_compiler_pic='-fPIC -shared'
   9053       ;;
   9054 
   9055     osf3* | osf4* | osf5*)
   9056       lt_prog_compiler_wl='-Wl,'
   9057       # All OSF/1 code is PIC.
   9058       lt_prog_compiler_static='-non_shared'
   9059       ;;
   9060 
   9061     rdos*)
   9062       lt_prog_compiler_static='-non_shared'
   9063       ;;
   9064 
   9065     solaris*)
   9066       lt_prog_compiler_pic='-KPIC'
   9067       lt_prog_compiler_static='-Bstatic'
   9068       case $cc_basename in
   9069       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9070 	lt_prog_compiler_wl='-Qoption ld ';;
   9071       *)
   9072 	lt_prog_compiler_wl='-Wl,';;
   9073       esac
   9074       ;;
   9075 
   9076     sunos4*)
   9077       lt_prog_compiler_wl='-Qoption ld '
   9078       lt_prog_compiler_pic='-PIC'
   9079       lt_prog_compiler_static='-Bstatic'
   9080       ;;
   9081 
   9082     sysv4 | sysv4.2uw2* | sysv4.3*)
   9083       lt_prog_compiler_wl='-Wl,'
   9084       lt_prog_compiler_pic='-KPIC'
   9085       lt_prog_compiler_static='-Bstatic'
   9086       ;;
   9087 
   9088     sysv4*MP*)
   9089       if test -d /usr/nec; then
   9090 	lt_prog_compiler_pic='-Kconform_pic'
   9091 	lt_prog_compiler_static='-Bstatic'
   9092       fi
   9093       ;;
   9094 
   9095     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9096       lt_prog_compiler_wl='-Wl,'
   9097       lt_prog_compiler_pic='-KPIC'
   9098       lt_prog_compiler_static='-Bstatic'
   9099       ;;
   9100 
   9101     unicos*)
   9102       lt_prog_compiler_wl='-Wl,'
   9103       lt_prog_compiler_can_build_shared=no
   9104       ;;
   9105 
   9106     uts4*)
   9107       lt_prog_compiler_pic='-pic'
   9108       lt_prog_compiler_static='-Bstatic'
   9109       ;;
   9110 
   9111     *)
   9112       lt_prog_compiler_can_build_shared=no
   9113       ;;
   9114     esac
   9115   fi
   9116 
   9117 case $host_os in
   9118   # For platforms that do not support PIC, -DPIC is meaningless:
   9119   *djgpp*)
   9120     lt_prog_compiler_pic=
   9121     ;;
   9122   *)
   9123     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9124     ;;
   9125 esac
   9126 
   9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9128 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9129 if ${lt_cv_prog_compiler_pic+:} false; then :
   9130   $as_echo_n "(cached) " >&6
   9131 else
   9132   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9133 fi
   9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9135 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9136 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9137 
   9138 #
   9139 # Check to make sure the PIC flag actually works.
   9140 #
   9141 if test -n "$lt_prog_compiler_pic"; then
   9142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9143 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9144 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9145   $as_echo_n "(cached) " >&6
   9146 else
   9147   lt_cv_prog_compiler_pic_works=no
   9148    ac_outfile=conftest.$ac_objext
   9149    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9150    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9151    # Insert the option either (1) after the last *FLAGS variable, or
   9152    # (2) before a word containing "conftest.", or (3) at the end.
   9153    # Note that $ac_compile itself does not contain backslashes and begins
   9154    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9155    # The option is referenced via a variable to avoid confusing sed.
   9156    lt_compile=`echo "$ac_compile" | $SED \
   9157    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9158    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9159    -e 's:$: $lt_compiler_flag:'`
   9160    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9161    (eval "$lt_compile" 2>conftest.err)
   9162    ac_status=$?
   9163    cat conftest.err >&5
   9164    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9165    if (exit $ac_status) && test -s "$ac_outfile"; then
   9166      # The compiler can only warn and ignore the option if not recognized
   9167      # So say no if there are warnings other than the usual output.
   9168      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9169      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9170      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9171        lt_cv_prog_compiler_pic_works=yes
   9172      fi
   9173    fi
   9174    $RM conftest*
   9175 
   9176 fi
   9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9178 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9179 
   9180 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9181     case $lt_prog_compiler_pic in
   9182      "" | " "*) ;;
   9183      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9184      esac
   9185 else
   9186     lt_prog_compiler_pic=
   9187      lt_prog_compiler_can_build_shared=no
   9188 fi
   9189 
   9190 fi
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 #
   9203 # Check to make sure the static flag actually works.
   9204 #
   9205 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9207 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9208 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9209   $as_echo_n "(cached) " >&6
   9210 else
   9211   lt_cv_prog_compiler_static_works=no
   9212    save_LDFLAGS=$LDFLAGS
   9213    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9214    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9215    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9216      # The linker can only warn and ignore the option if not recognized
   9217      # So say no if there are warnings
   9218      if test -s conftest.err; then
   9219        # Append any errors to the config.log.
   9220        cat conftest.err 1>&5
   9221        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9222        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9223        if diff conftest.exp conftest.er2 >/dev/null; then
   9224          lt_cv_prog_compiler_static_works=yes
   9225        fi
   9226      else
   9227        lt_cv_prog_compiler_static_works=yes
   9228      fi
   9229    fi
   9230    $RM -r conftest*
   9231    LDFLAGS=$save_LDFLAGS
   9232 
   9233 fi
   9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9235 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9236 
   9237 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9238     :
   9239 else
   9240     lt_prog_compiler_static=
   9241 fi
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9250 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9251 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9252   $as_echo_n "(cached) " >&6
   9253 else
   9254   lt_cv_prog_compiler_c_o=no
   9255    $RM -r conftest 2>/dev/null
   9256    mkdir conftest
   9257    cd conftest
   9258    mkdir out
   9259    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9260 
   9261    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9262    # Insert the option either (1) after the last *FLAGS variable, or
   9263    # (2) before a word containing "conftest.", or (3) at the end.
   9264    # Note that $ac_compile itself does not contain backslashes and begins
   9265    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9266    lt_compile=`echo "$ac_compile" | $SED \
   9267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9269    -e 's:$: $lt_compiler_flag:'`
   9270    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9271    (eval "$lt_compile" 2>out/conftest.err)
   9272    ac_status=$?
   9273    cat out/conftest.err >&5
   9274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9275    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9276    then
   9277      # The compiler can only warn and ignore the option if not recognized
   9278      # So say no if there are warnings
   9279      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9280      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9281      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9282        lt_cv_prog_compiler_c_o=yes
   9283      fi
   9284    fi
   9285    chmod u+w . 2>&5
   9286    $RM conftest*
   9287    # SGI C++ compiler will create directory out/ii_files/ for
   9288    # template instantiation
   9289    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9290    $RM out/* && rmdir out
   9291    cd ..
   9292    $RM -r conftest
   9293    $RM conftest*
   9294 
   9295 fi
   9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9297 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9305 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9306 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9307   $as_echo_n "(cached) " >&6
   9308 else
   9309   lt_cv_prog_compiler_c_o=no
   9310    $RM -r conftest 2>/dev/null
   9311    mkdir conftest
   9312    cd conftest
   9313    mkdir out
   9314    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9315 
   9316    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9317    # Insert the option either (1) after the last *FLAGS variable, or
   9318    # (2) before a word containing "conftest.", or (3) at the end.
   9319    # Note that $ac_compile itself does not contain backslashes and begins
   9320    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9321    lt_compile=`echo "$ac_compile" | $SED \
   9322    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9323    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9324    -e 's:$: $lt_compiler_flag:'`
   9325    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9326    (eval "$lt_compile" 2>out/conftest.err)
   9327    ac_status=$?
   9328    cat out/conftest.err >&5
   9329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9330    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9331    then
   9332      # The compiler can only warn and ignore the option if not recognized
   9333      # So say no if there are warnings
   9334      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9335      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9336      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9337        lt_cv_prog_compiler_c_o=yes
   9338      fi
   9339    fi
   9340    chmod u+w . 2>&5
   9341    $RM conftest*
   9342    # SGI C++ compiler will create directory out/ii_files/ for
   9343    # template instantiation
   9344    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9345    $RM out/* && rmdir out
   9346    cd ..
   9347    $RM -r conftest
   9348    $RM conftest*
   9349 
   9350 fi
   9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9352 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9353 
   9354 
   9355 
   9356 
   9357 hard_links=nottested
   9358 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9359   # do not overwrite the value of need_locks provided by the user
   9360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9361 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9362   hard_links=yes
   9363   $RM conftest*
   9364   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9365   touch conftest.a
   9366   ln conftest.a conftest.b 2>&5 || hard_links=no
   9367   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9369 $as_echo "$hard_links" >&6; }
   9370   if test no = "$hard_links"; then
   9371     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9372 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9373     need_locks=warn
   9374   fi
   9375 else
   9376   need_locks=no
   9377 fi
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9385 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9386 
   9387   runpath_var=
   9388   allow_undefined_flag=
   9389   always_export_symbols=no
   9390   archive_cmds=
   9391   archive_expsym_cmds=
   9392   compiler_needs_object=no
   9393   enable_shared_with_static_runtimes=no
   9394   export_dynamic_flag_spec=
   9395   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9396   hardcode_automatic=no
   9397   hardcode_direct=no
   9398   hardcode_direct_absolute=no
   9399   hardcode_libdir_flag_spec=
   9400   hardcode_libdir_separator=
   9401   hardcode_minus_L=no
   9402   hardcode_shlibpath_var=unsupported
   9403   inherit_rpath=no
   9404   link_all_deplibs=unknown
   9405   module_cmds=
   9406   module_expsym_cmds=
   9407   old_archive_from_new_cmds=
   9408   old_archive_from_expsyms_cmds=
   9409   thread_safe_flag_spec=
   9410   whole_archive_flag_spec=
   9411   # include_expsyms should be a list of space-separated symbols to be *always*
   9412   # included in the symbol list
   9413   include_expsyms=
   9414   # exclude_expsyms can be an extended regexp of symbols to exclude
   9415   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9416   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9417   # as well as any symbol that contains 'd'.
   9418   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9419   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9420   # platforms (ab)use it in PIC code, but their linkers get confused if
   9421   # the symbol is explicitly referenced.  Since portable code cannot
   9422   # rely on this symbol name, it's probably fine to never include it in
   9423   # preloaded symbol tables.
   9424   # Exclude shared library initialization/finalization symbols.
   9425   extract_expsyms_cmds=
   9426 
   9427   case $host_os in
   9428   cygwin* | mingw* | pw32* | cegcc*)
   9429     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9430     # When not using gcc, we currently assume that we are using
   9431     # Microsoft Visual C++.
   9432     if test yes != "$GCC"; then
   9433       with_gnu_ld=no
   9434     fi
   9435     ;;
   9436   interix*)
   9437     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9438     with_gnu_ld=yes
   9439     ;;
   9440   openbsd* | bitrig*)
   9441     with_gnu_ld=no
   9442     ;;
   9443   esac
   9444 
   9445   ld_shlibs=yes
   9446 
   9447   # On some targets, GNU ld is compatible enough with the native linker
   9448   # that we're better off using the native interface for both.
   9449   lt_use_gnu_ld_interface=no
   9450   if test yes = "$with_gnu_ld"; then
   9451     case $host_os in
   9452       aix*)
   9453 	# The AIX port of GNU ld has always aspired to compatibility
   9454 	# with the native linker.  However, as the warning in the GNU ld
   9455 	# block says, versions before 2.19.5* couldn't really create working
   9456 	# shared libraries, regardless of the interface used.
   9457 	case `$LD -v 2>&1` in
   9458 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9459 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9460 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9461 	  *)
   9462 	    lt_use_gnu_ld_interface=yes
   9463 	    ;;
   9464 	esac
   9465 	;;
   9466       *)
   9467 	lt_use_gnu_ld_interface=yes
   9468 	;;
   9469     esac
   9470   fi
   9471 
   9472   if test yes = "$lt_use_gnu_ld_interface"; then
   9473     # If archive_cmds runs LD, not CC, wlarc should be empty
   9474     wlarc='$wl'
   9475 
   9476     # Set some defaults for GNU ld with shared library support. These
   9477     # are reset later if shared libraries are not supported. Putting them
   9478     # here allows them to be overridden if necessary.
   9479     runpath_var=LD_RUN_PATH
   9480     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9481     export_dynamic_flag_spec='$wl--export-dynamic'
   9482     # ancient GNU ld didn't support --whole-archive et. al.
   9483     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9484       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9485     else
   9486       whole_archive_flag_spec=
   9487     fi
   9488     supports_anon_versioning=no
   9489     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9490       *GNU\ gold*) supports_anon_versioning=yes ;;
   9491       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9492       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9493       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9494       *\ 2.11.*) ;; # other 2.11 versions
   9495       *) supports_anon_versioning=yes ;;
   9496     esac
   9497 
   9498     # See if GNU ld supports shared libraries.
   9499     case $host_os in
   9500     aix[3-9]*)
   9501       # On AIX/PPC, the GNU linker is very broken
   9502       if test ia64 != "$host_cpu"; then
   9503 	ld_shlibs=no
   9504 	cat <<_LT_EOF 1>&2
   9505 
   9506 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9507 *** to be unable to reliably create shared libraries on AIX.
   9508 *** Therefore, libtool is disabling shared libraries support.  If you
   9509 *** really care for shared libraries, you may want to install binutils
   9510 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9511 *** You will then need to restart the configuration process.
   9512 
   9513 _LT_EOF
   9514       fi
   9515       ;;
   9516 
   9517     amigaos*)
   9518       case $host_cpu in
   9519       powerpc)
   9520             # see comment about AmigaOS4 .so support
   9521             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9522             archive_expsym_cmds=''
   9523         ;;
   9524       m68k)
   9525             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)'
   9526             hardcode_libdir_flag_spec='-L$libdir'
   9527             hardcode_minus_L=yes
   9528         ;;
   9529       esac
   9530       ;;
   9531 
   9532     beos*)
   9533       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9534 	allow_undefined_flag=unsupported
   9535 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9536 	# support --undefined.  This deserves some investigation.  FIXME
   9537 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9538       else
   9539 	ld_shlibs=no
   9540       fi
   9541       ;;
   9542 
   9543     cygwin* | mingw* | pw32* | cegcc*)
   9544       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9545       # as there is no search path for DLLs.
   9546       hardcode_libdir_flag_spec='-L$libdir'
   9547       export_dynamic_flag_spec='$wl--export-all-symbols'
   9548       allow_undefined_flag=unsupported
   9549       always_export_symbols=no
   9550       enable_shared_with_static_runtimes=yes
   9551       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'
   9552       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9553 
   9554       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9555         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9556 	# If the export-symbols file already is a .def file, use it as
   9557 	# is; otherwise, prepend EXPORTS...
   9558 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9559           cp $export_symbols $output_objdir/$soname.def;
   9560         else
   9561           echo EXPORTS > $output_objdir/$soname.def;
   9562           cat $export_symbols >> $output_objdir/$soname.def;
   9563         fi~
   9564         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9565       else
   9566 	ld_shlibs=no
   9567       fi
   9568       ;;
   9569 
   9570     haiku*)
   9571       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9572       link_all_deplibs=yes
   9573       ;;
   9574 
   9575     os2*)
   9576       hardcode_libdir_flag_spec='-L$libdir'
   9577       hardcode_minus_L=yes
   9578       allow_undefined_flag=unsupported
   9579       shrext_cmds=.dll
   9580       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9581 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9582 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9583 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9584 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9585 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9586 	emximp -o $lib $output_objdir/$libname.def'
   9587       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9588 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9589 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9590 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9591 	prefix_cmds="$SED"~
   9592 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9593 	  prefix_cmds="$prefix_cmds -e 1d";
   9594 	fi~
   9595 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9596 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9597 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9598 	emximp -o $lib $output_objdir/$libname.def'
   9599       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9600       enable_shared_with_static_runtimes=yes
   9601       ;;
   9602 
   9603     interix[3-9]*)
   9604       hardcode_direct=no
   9605       hardcode_shlibpath_var=no
   9606       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9607       export_dynamic_flag_spec='$wl-E'
   9608       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9609       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9610       # default) and relocated if they conflict, which is a slow very memory
   9611       # consuming and fragmenting process.  To avoid this, we pick a random,
   9612       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9613       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9614       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9615       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'
   9616       ;;
   9617 
   9618     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9619       tmp_diet=no
   9620       if test linux-dietlibc = "$host_os"; then
   9621 	case $cc_basename in
   9622 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9623 	esac
   9624       fi
   9625       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9626 	 && test no = "$tmp_diet"
   9627       then
   9628 	tmp_addflag=' $pic_flag'
   9629 	tmp_sharedflag='-shared'
   9630 	case $cc_basename,$host_cpu in
   9631         pgcc*)				# Portland Group C compiler
   9632 	  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'
   9633 	  tmp_addflag=' $pic_flag'
   9634 	  ;;
   9635 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9636 					# Portland Group f77 and f90 compilers
   9637 	  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'
   9638 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9639 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9640 	  tmp_addflag=' -i_dynamic' ;;
   9641 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9642 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9643 	ifc* | ifort*)			# Intel Fortran compiler
   9644 	  tmp_addflag=' -nofor_main' ;;
   9645 	lf95*)				# Lahey Fortran 8.1
   9646 	  whole_archive_flag_spec=
   9647 	  tmp_sharedflag='--shared' ;;
   9648         nagfor*)                        # NAGFOR 5.3
   9649           tmp_sharedflag='-Wl,-shared' ;;
   9650 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9651 	  tmp_sharedflag='-qmkshrobj'
   9652 	  tmp_addflag= ;;
   9653 	nvcc*)	# Cuda Compiler Driver 2.2
   9654 	  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'
   9655 	  compiler_needs_object=yes
   9656 	  ;;
   9657 	esac
   9658 	case `$CC -V 2>&1 | sed 5q` in
   9659 	*Sun\ C*)			# Sun C 5.9
   9660 	  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'
   9661 	  compiler_needs_object=yes
   9662 	  tmp_sharedflag='-G' ;;
   9663 	*Sun\ F*)			# Sun Fortran 8.3
   9664 	  tmp_sharedflag='-G' ;;
   9665 	esac
   9666 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9667 
   9668         if test yes = "$supports_anon_versioning"; then
   9669           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9670             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9671             echo "local: *; };" >> $output_objdir/$libname.ver~
   9672             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9673         fi
   9674 
   9675 	case $cc_basename in
   9676 	tcc*)
   9677 	  export_dynamic_flag_spec='-rdynamic'
   9678 	  ;;
   9679 	xlf* | bgf* | bgxlf* | mpixlf*)
   9680 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9681 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9682 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9683 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9684 	  if test yes = "$supports_anon_versioning"; then
   9685 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9686               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9687               echo "local: *; };" >> $output_objdir/$libname.ver~
   9688               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9689 	  fi
   9690 	  ;;
   9691 	esac
   9692       else
   9693         ld_shlibs=no
   9694       fi
   9695       ;;
   9696 
   9697     netbsd*)
   9698       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9699 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9700 	wlarc=
   9701       else
   9702 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9703 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9704       fi
   9705       ;;
   9706 
   9707     solaris*)
   9708       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9709 	ld_shlibs=no
   9710 	cat <<_LT_EOF 1>&2
   9711 
   9712 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9713 *** create shared libraries on Solaris systems.  Therefore, libtool
   9714 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9715 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9716 *** your PATH or compiler configuration so that the native linker is
   9717 *** used, and then restart.
   9718 
   9719 _LT_EOF
   9720       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9721 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9722 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9723       else
   9724 	ld_shlibs=no
   9725       fi
   9726       ;;
   9727 
   9728     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9729       case `$LD -v 2>&1` in
   9730         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9731 	ld_shlibs=no
   9732 	cat <<_LT_EOF 1>&2
   9733 
   9734 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9735 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9736 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9737 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9738 *** your PATH or compiler configuration so that the native linker is
   9739 *** used, and then restart.
   9740 
   9741 _LT_EOF
   9742 	;;
   9743 	*)
   9744 	  # For security reasons, it is highly recommended that you always
   9745 	  # use absolute paths for naming shared libraries, and exclude the
   9746 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9747 	  # requires that you compile everything twice, which is a pain.
   9748 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9749 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9750 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9751 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9752 	  else
   9753 	    ld_shlibs=no
   9754 	  fi
   9755 	;;
   9756       esac
   9757       ;;
   9758 
   9759     sunos4*)
   9760       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9761       wlarc=
   9762       hardcode_direct=yes
   9763       hardcode_shlibpath_var=no
   9764       ;;
   9765 
   9766     *)
   9767       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9768 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9769 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9770       else
   9771 	ld_shlibs=no
   9772       fi
   9773       ;;
   9774     esac
   9775 
   9776     if test no = "$ld_shlibs"; then
   9777       runpath_var=
   9778       hardcode_libdir_flag_spec=
   9779       export_dynamic_flag_spec=
   9780       whole_archive_flag_spec=
   9781     fi
   9782   else
   9783     # PORTME fill in a description of your system's linker (not GNU ld)
   9784     case $host_os in
   9785     aix3*)
   9786       allow_undefined_flag=unsupported
   9787       always_export_symbols=yes
   9788       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'
   9789       # Note: this linker hardcodes the directories in LIBPATH if there
   9790       # are no directories specified by -L.
   9791       hardcode_minus_L=yes
   9792       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9793 	# Neither direct hardcoding nor static linking is supported with a
   9794 	# broken collect2.
   9795 	hardcode_direct=unsupported
   9796       fi
   9797       ;;
   9798 
   9799     aix[4-9]*)
   9800       if test ia64 = "$host_cpu"; then
   9801 	# On IA64, the linker does run time linking by default, so we don't
   9802 	# have to do anything special.
   9803 	aix_use_runtimelinking=no
   9804 	exp_sym_flag='-Bexport'
   9805 	no_entry_flag=
   9806       else
   9807 	# If we're using GNU nm, then we don't want the "-C" option.
   9808 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9809 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9810 	# weak defined symbols like other global defined symbols, whereas
   9811 	# GNU nm marks them as "W".
   9812 	# While the 'weak' keyword is ignored in the Export File, we need
   9813 	# it in the Import File for the 'aix-soname' feature, so we have
   9814 	# to replace the "-B" option with "-P" for AIX nm.
   9815 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9816 	  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'
   9817 	else
   9818 	  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'
   9819 	fi
   9820 	aix_use_runtimelinking=no
   9821 
   9822 	# Test if we are trying to use run time linking or normal
   9823 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9824 	# have runtime linking enabled, and use it for executables.
   9825 	# For shared libraries, we enable/disable runtime linking
   9826 	# depending on the kind of the shared library created -
   9827 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9828 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9829 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9830 	#            lib.a           static archive
   9831 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9832 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9833 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9834 	#            lib.a(lib.so.V) shared, rtl:no
   9835 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9836 	#            lib.a           static archive
   9837 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9838 	  for ld_flag in $LDFLAGS; do
   9839 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9840 	    aix_use_runtimelinking=yes
   9841 	    break
   9842 	  fi
   9843 	  done
   9844 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9845 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9846 	    # so we don't have lib.a shared libs to link our executables.
   9847 	    # We have to force runtime linking in this case.
   9848 	    aix_use_runtimelinking=yes
   9849 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9850 	  fi
   9851 	  ;;
   9852 	esac
   9853 
   9854 	exp_sym_flag='-bexport'
   9855 	no_entry_flag='-bnoentry'
   9856       fi
   9857 
   9858       # When large executables or shared objects are built, AIX ld can
   9859       # have problems creating the table of contents.  If linking a library
   9860       # or program results in "error TOC overflow" add -mminimal-toc to
   9861       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9862       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9863 
   9864       archive_cmds=''
   9865       hardcode_direct=yes
   9866       hardcode_direct_absolute=yes
   9867       hardcode_libdir_separator=':'
   9868       link_all_deplibs=yes
   9869       file_list_spec='$wl-f,'
   9870       case $with_aix_soname,$aix_use_runtimelinking in
   9871       aix,*) ;; # traditional, no import file
   9872       svr4,* | *,yes) # use import file
   9873 	# The Import File defines what to hardcode.
   9874 	hardcode_direct=no
   9875 	hardcode_direct_absolute=no
   9876 	;;
   9877       esac
   9878 
   9879       if test yes = "$GCC"; then
   9880 	case $host_os in aix4.[012]|aix4.[012].*)
   9881 	# We only want to do this on AIX 4.2 and lower, the check
   9882 	# below for broken collect2 doesn't work under 4.3+
   9883 	  collect2name=`$CC -print-prog-name=collect2`
   9884 	  if test -f "$collect2name" &&
   9885 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9886 	  then
   9887 	  # We have reworked collect2
   9888 	  :
   9889 	  else
   9890 	  # We have old collect2
   9891 	  hardcode_direct=unsupported
   9892 	  # It fails to find uninstalled libraries when the uninstalled
   9893 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9894 	  # to unsupported forces relinking
   9895 	  hardcode_minus_L=yes
   9896 	  hardcode_libdir_flag_spec='-L$libdir'
   9897 	  hardcode_libdir_separator=
   9898 	  fi
   9899 	  ;;
   9900 	esac
   9901 	shared_flag='-shared'
   9902 	if test yes = "$aix_use_runtimelinking"; then
   9903 	  shared_flag="$shared_flag "'$wl-G'
   9904 	fi
   9905 	# Need to ensure runtime linking is disabled for the traditional
   9906 	# shared library, or the linker may eventually find shared libraries
   9907 	# /with/ Import File - we do not want to mix them.
   9908 	shared_flag_aix='-shared'
   9909 	shared_flag_svr4='-shared $wl-G'
   9910       else
   9911 	# not using gcc
   9912 	if test ia64 = "$host_cpu"; then
   9913 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9914 	# chokes on -Wl,-G. The following line is correct:
   9915 	  shared_flag='-G'
   9916 	else
   9917 	  if test yes = "$aix_use_runtimelinking"; then
   9918 	    shared_flag='$wl-G'
   9919 	  else
   9920 	    shared_flag='$wl-bM:SRE'
   9921 	  fi
   9922 	  shared_flag_aix='$wl-bM:SRE'
   9923 	  shared_flag_svr4='$wl-G'
   9924 	fi
   9925       fi
   9926 
   9927       export_dynamic_flag_spec='$wl-bexpall'
   9928       # It seems that -bexpall does not export symbols beginning with
   9929       # underscore (_), so it is better to generate a list of symbols to export.
   9930       always_export_symbols=yes
   9931       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9932 	# Warning - without using the other runtime loading flags (-brtl),
   9933 	# -berok will link without error, but may produce a broken library.
   9934 	allow_undefined_flag='-berok'
   9935         # Determine the default libpath from the value encoded in an
   9936         # empty executable.
   9937         if test set = "${lt_cv_aix_libpath+set}"; then
   9938   aix_libpath=$lt_cv_aix_libpath
   9939 else
   9940   if ${lt_cv_aix_libpath_+:} false; then :
   9941   $as_echo_n "(cached) " >&6
   9942 else
   9943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9944 /* end confdefs.h.  */
   9945 
   9946 int
   9947 main ()
   9948 {
   9949 
   9950   ;
   9951   return 0;
   9952 }
   9953 _ACEOF
   9954 if ac_fn_c_try_link "$LINENO"; then :
   9955 
   9956   lt_aix_libpath_sed='
   9957       /Import File Strings/,/^$/ {
   9958 	  /^0/ {
   9959 	      s/^0  *\([^ ]*\) *$/\1/
   9960 	      p
   9961 	  }
   9962       }'
   9963   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9964   # Check for a 64-bit object if we didn't find anything.
   9965   if test -z "$lt_cv_aix_libpath_"; then
   9966     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9967   fi
   9968 fi
   9969 rm -f core conftest.err conftest.$ac_objext \
   9970     conftest$ac_exeext conftest.$ac_ext
   9971   if test -z "$lt_cv_aix_libpath_"; then
   9972     lt_cv_aix_libpath_=/usr/lib:/lib
   9973   fi
   9974 
   9975 fi
   9976 
   9977   aix_libpath=$lt_cv_aix_libpath_
   9978 fi
   9979 
   9980         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9981         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
   9982       else
   9983 	if test ia64 = "$host_cpu"; then
   9984 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9985 	  allow_undefined_flag="-z nodefs"
   9986 	  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"
   9987 	else
   9988 	 # Determine the default libpath from the value encoded in an
   9989 	 # empty executable.
   9990 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9991   aix_libpath=$lt_cv_aix_libpath
   9992 else
   9993   if ${lt_cv_aix_libpath_+:} false; then :
   9994   $as_echo_n "(cached) " >&6
   9995 else
   9996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9997 /* end confdefs.h.  */
   9998 
   9999 int
   10000 main ()
   10001 {
   10002 
   10003   ;
   10004   return 0;
   10005 }
   10006 _ACEOF
   10007 if ac_fn_c_try_link "$LINENO"; then :
   10008 
   10009   lt_aix_libpath_sed='
   10010       /Import File Strings/,/^$/ {
   10011 	  /^0/ {
   10012 	      s/^0  *\([^ ]*\) *$/\1/
   10013 	      p
   10014 	  }
   10015       }'
   10016   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10017   # Check for a 64-bit object if we didn't find anything.
   10018   if test -z "$lt_cv_aix_libpath_"; then
   10019     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10020   fi
   10021 fi
   10022 rm -f core conftest.err conftest.$ac_objext \
   10023     conftest$ac_exeext conftest.$ac_ext
   10024   if test -z "$lt_cv_aix_libpath_"; then
   10025     lt_cv_aix_libpath_=/usr/lib:/lib
   10026   fi
   10027 
   10028 fi
   10029 
   10030   aix_libpath=$lt_cv_aix_libpath_
   10031 fi
   10032 
   10033 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10034 	  # Warning - without using the other run time loading flags,
   10035 	  # -berok will link without error, but may produce a broken library.
   10036 	  no_undefined_flag=' $wl-bernotok'
   10037 	  allow_undefined_flag=' $wl-berok'
   10038 	  if test yes = "$with_gnu_ld"; then
   10039 	    # We only use this code for GNU lds that support --whole-archive.
   10040 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10041 	  else
   10042 	    # Exported symbols can be pulled into shared objects from archives
   10043 	    whole_archive_flag_spec='$convenience'
   10044 	  fi
   10045 	  archive_cmds_need_lc=yes
   10046 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10047 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10048 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10049 	  if test svr4 != "$with_aix_soname"; then
   10050 	    # This is similar to how AIX traditionally builds its shared libraries.
   10051 	    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'
   10052 	  fi
   10053 	  if test aix != "$with_aix_soname"; then
   10054 	    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'
   10055 	  else
   10056 	    # used by -dlpreopen to get the symbols
   10057 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10058 	  fi
   10059 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10060 	fi
   10061       fi
   10062       ;;
   10063 
   10064     amigaos*)
   10065       case $host_cpu in
   10066       powerpc)
   10067             # see comment about AmigaOS4 .so support
   10068             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10069             archive_expsym_cmds=''
   10070         ;;
   10071       m68k)
   10072             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)'
   10073             hardcode_libdir_flag_spec='-L$libdir'
   10074             hardcode_minus_L=yes
   10075         ;;
   10076       esac
   10077       ;;
   10078 
   10079     bsdi[45]*)
   10080       export_dynamic_flag_spec=-rdynamic
   10081       ;;
   10082 
   10083     cygwin* | mingw* | pw32* | cegcc*)
   10084       # When not using gcc, we currently assume that we are using
   10085       # Microsoft Visual C++.
   10086       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10087       # no search path for DLLs.
   10088       case $cc_basename in
   10089       cl*)
   10090 	# Native MSVC
   10091 	hardcode_libdir_flag_spec=' '
   10092 	allow_undefined_flag=unsupported
   10093 	always_export_symbols=yes
   10094 	file_list_spec='@'
   10095 	# Tell ltmain to make .lib files, not .a files.
   10096 	libext=lib
   10097 	# Tell ltmain to make .dll files, not .so files.
   10098 	shrext_cmds=.dll
   10099 	# FIXME: Setting linknames here is a bad hack.
   10100 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10101 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10102             cp "$export_symbols" "$output_objdir/$soname.def";
   10103             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10104           else
   10105             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10106           fi~
   10107           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10108           linknames='
   10109 	# The linker will not automatically build a static lib if we build a DLL.
   10110 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10111 	enable_shared_with_static_runtimes=yes
   10112 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10113 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10114 	# Don't use ranlib
   10115 	old_postinstall_cmds='chmod 644 $oldlib'
   10116 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10117           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10118           case $lt_outputfile in
   10119             *.exe|*.EXE) ;;
   10120             *)
   10121               lt_outputfile=$lt_outputfile.exe
   10122               lt_tool_outputfile=$lt_tool_outputfile.exe
   10123               ;;
   10124           esac~
   10125           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10126             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10127             $RM "$lt_outputfile.manifest";
   10128           fi'
   10129 	;;
   10130       *)
   10131 	# Assume MSVC wrapper
   10132 	hardcode_libdir_flag_spec=' '
   10133 	allow_undefined_flag=unsupported
   10134 	# Tell ltmain to make .lib files, not .a files.
   10135 	libext=lib
   10136 	# Tell ltmain to make .dll files, not .so files.
   10137 	shrext_cmds=.dll
   10138 	# FIXME: Setting linknames here is a bad hack.
   10139 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10140 	# The linker will automatically build a .lib file if we build a DLL.
   10141 	old_archive_from_new_cmds='true'
   10142 	# FIXME: Should let the user specify the lib program.
   10143 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10144 	enable_shared_with_static_runtimes=yes
   10145 	;;
   10146       esac
   10147       ;;
   10148 
   10149     darwin* | rhapsody*)
   10150 
   10151 
   10152   archive_cmds_need_lc=no
   10153   hardcode_direct=no
   10154   hardcode_automatic=yes
   10155   hardcode_shlibpath_var=unsupported
   10156   if test yes = "$lt_cv_ld_force_load"; then
   10157     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\"`'
   10158 
   10159   else
   10160     whole_archive_flag_spec=''
   10161   fi
   10162   link_all_deplibs=yes
   10163   allow_undefined_flag=$_lt_dar_allow_undefined
   10164   case $cc_basename in
   10165      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10166      *) _lt_dar_can_shared=$GCC ;;
   10167   esac
   10168   if test yes = "$_lt_dar_can_shared"; then
   10169     output_verbose_link_cmd=func_echo_all
   10170     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10171     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10172     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"
   10173     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"
   10174 
   10175   else
   10176   ld_shlibs=no
   10177   fi
   10178 
   10179       ;;
   10180 
   10181     dgux*)
   10182       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10183       hardcode_libdir_flag_spec='-L$libdir'
   10184       hardcode_shlibpath_var=no
   10185       ;;
   10186 
   10187     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10188     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10189     # does not break anything, and helps significantly (at the cost of a little
   10190     # extra space).
   10191     freebsd2.2*)
   10192       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10193       hardcode_libdir_flag_spec='-R$libdir'
   10194       hardcode_direct=yes
   10195       hardcode_shlibpath_var=no
   10196       ;;
   10197 
   10198     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10199     freebsd2.*)
   10200       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10201       hardcode_direct=yes
   10202       hardcode_minus_L=yes
   10203       hardcode_shlibpath_var=no
   10204       ;;
   10205 
   10206     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10207     freebsd* | dragonfly*)
   10208       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10209       hardcode_libdir_flag_spec='-R$libdir'
   10210       hardcode_direct=yes
   10211       hardcode_shlibpath_var=no
   10212       ;;
   10213 
   10214     hpux9*)
   10215       if test yes = "$GCC"; then
   10216 	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'
   10217       else
   10218 	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'
   10219       fi
   10220       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10221       hardcode_libdir_separator=:
   10222       hardcode_direct=yes
   10223 
   10224       # hardcode_minus_L: Not really in the search PATH,
   10225       # but as the default location of the library.
   10226       hardcode_minus_L=yes
   10227       export_dynamic_flag_spec='$wl-E'
   10228       ;;
   10229 
   10230     hpux10*)
   10231       if test yes,no = "$GCC,$with_gnu_ld"; then
   10232 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10233       else
   10234 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10235       fi
   10236       if test no = "$with_gnu_ld"; then
   10237 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10238 	hardcode_libdir_separator=:
   10239 	hardcode_direct=yes
   10240 	hardcode_direct_absolute=yes
   10241 	export_dynamic_flag_spec='$wl-E'
   10242 	# hardcode_minus_L: Not really in the search PATH,
   10243 	# but as the default location of the library.
   10244 	hardcode_minus_L=yes
   10245       fi
   10246       ;;
   10247 
   10248     hpux11*)
   10249       if test yes,no = "$GCC,$with_gnu_ld"; then
   10250 	case $host_cpu in
   10251 	hppa*64*)
   10252 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10253 	  ;;
   10254 	ia64*)
   10255 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10256 	  ;;
   10257 	*)
   10258 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10259 	  ;;
   10260 	esac
   10261       else
   10262 	case $host_cpu in
   10263 	hppa*64*)
   10264 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10265 	  ;;
   10266 	ia64*)
   10267 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10268 	  ;;
   10269 	*)
   10270 
   10271 	  # Older versions of the 11.00 compiler do not understand -b yet
   10272 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10273 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10274 $as_echo_n "checking if $CC understands -b... " >&6; }
   10275 if ${lt_cv_prog_compiler__b+:} false; then :
   10276   $as_echo_n "(cached) " >&6
   10277 else
   10278   lt_cv_prog_compiler__b=no
   10279    save_LDFLAGS=$LDFLAGS
   10280    LDFLAGS="$LDFLAGS -b"
   10281    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10282    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10283      # The linker can only warn and ignore the option if not recognized
   10284      # So say no if there are warnings
   10285      if test -s conftest.err; then
   10286        # Append any errors to the config.log.
   10287        cat conftest.err 1>&5
   10288        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10289        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10290        if diff conftest.exp conftest.er2 >/dev/null; then
   10291          lt_cv_prog_compiler__b=yes
   10292        fi
   10293      else
   10294        lt_cv_prog_compiler__b=yes
   10295      fi
   10296    fi
   10297    $RM -r conftest*
   10298    LDFLAGS=$save_LDFLAGS
   10299 
   10300 fi
   10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10302 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10303 
   10304 if test yes = "$lt_cv_prog_compiler__b"; then
   10305     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10306 else
   10307     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10308 fi
   10309 
   10310 	  ;;
   10311 	esac
   10312       fi
   10313       if test no = "$with_gnu_ld"; then
   10314 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10315 	hardcode_libdir_separator=:
   10316 
   10317 	case $host_cpu in
   10318 	hppa*64*|ia64*)
   10319 	  hardcode_direct=no
   10320 	  hardcode_shlibpath_var=no
   10321 	  ;;
   10322 	*)
   10323 	  hardcode_direct=yes
   10324 	  hardcode_direct_absolute=yes
   10325 	  export_dynamic_flag_spec='$wl-E'
   10326 
   10327 	  # hardcode_minus_L: Not really in the search PATH,
   10328 	  # but as the default location of the library.
   10329 	  hardcode_minus_L=yes
   10330 	  ;;
   10331 	esac
   10332       fi
   10333       ;;
   10334 
   10335     irix5* | irix6* | nonstopux*)
   10336       if test yes = "$GCC"; then
   10337 	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'
   10338 	# Try to use the -exported_symbol ld option, if it does not
   10339 	# work, assume that -exports_file does not work either and
   10340 	# implicitly export all symbols.
   10341 	# This should be the same for all languages, so no per-tag cache variable.
   10342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10343 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10344 if ${lt_cv_irix_exported_symbol+:} false; then :
   10345   $as_echo_n "(cached) " >&6
   10346 else
   10347   save_LDFLAGS=$LDFLAGS
   10348 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10349 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10350 /* end confdefs.h.  */
   10351 int foo (void) { return 0; }
   10352 _ACEOF
   10353 if ac_fn_c_try_link "$LINENO"; then :
   10354   lt_cv_irix_exported_symbol=yes
   10355 else
   10356   lt_cv_irix_exported_symbol=no
   10357 fi
   10358 rm -f core conftest.err conftest.$ac_objext \
   10359     conftest$ac_exeext conftest.$ac_ext
   10360            LDFLAGS=$save_LDFLAGS
   10361 fi
   10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10363 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10364 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10365           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'
   10366 	fi
   10367       else
   10368 	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'
   10369 	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'
   10370       fi
   10371       archive_cmds_need_lc='no'
   10372       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10373       hardcode_libdir_separator=:
   10374       inherit_rpath=yes
   10375       link_all_deplibs=yes
   10376       ;;
   10377 
   10378     linux*)
   10379       case $cc_basename in
   10380       tcc*)
   10381 	# Fabrice Bellard et al's Tiny C Compiler
   10382 	ld_shlibs=yes
   10383 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10384 	;;
   10385       esac
   10386       ;;
   10387 
   10388     netbsd*)
   10389       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10390 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10391       else
   10392 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10393       fi
   10394       hardcode_libdir_flag_spec='-R$libdir'
   10395       hardcode_direct=yes
   10396       hardcode_shlibpath_var=no
   10397       ;;
   10398 
   10399     newsos6)
   10400       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10401       hardcode_direct=yes
   10402       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10403       hardcode_libdir_separator=:
   10404       hardcode_shlibpath_var=no
   10405       ;;
   10406 
   10407     *nto* | *qnx*)
   10408       ;;
   10409 
   10410     openbsd* | bitrig*)
   10411       if test -f /usr/libexec/ld.so; then
   10412 	hardcode_direct=yes
   10413 	hardcode_shlibpath_var=no
   10414 	hardcode_direct_absolute=yes
   10415 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10416 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10417 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10418 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10419 	  export_dynamic_flag_spec='$wl-E'
   10420 	else
   10421 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10422 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10423 	fi
   10424       else
   10425 	ld_shlibs=no
   10426       fi
   10427       ;;
   10428 
   10429     os2*)
   10430       hardcode_libdir_flag_spec='-L$libdir'
   10431       hardcode_minus_L=yes
   10432       allow_undefined_flag=unsupported
   10433       shrext_cmds=.dll
   10434       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10435 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10436 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10437 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10438 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10439 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10440 	emximp -o $lib $output_objdir/$libname.def'
   10441       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10442 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10443 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10444 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10445 	prefix_cmds="$SED"~
   10446 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10447 	  prefix_cmds="$prefix_cmds -e 1d";
   10448 	fi~
   10449 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10450 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10451 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10452 	emximp -o $lib $output_objdir/$libname.def'
   10453       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10454       enable_shared_with_static_runtimes=yes
   10455       ;;
   10456 
   10457     osf3*)
   10458       if test yes = "$GCC"; then
   10459 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10460 	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'
   10461       else
   10462 	allow_undefined_flag=' -expect_unresolved \*'
   10463 	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'
   10464       fi
   10465       archive_cmds_need_lc='no'
   10466       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10467       hardcode_libdir_separator=:
   10468       ;;
   10469 
   10470     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10471       if test yes = "$GCC"; then
   10472 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10473 	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'
   10474 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10475       else
   10476 	allow_undefined_flag=' -expect_unresolved \*'
   10477 	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'
   10478 	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~
   10479           $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'
   10480 
   10481 	# Both c and cxx compiler support -rpath directly
   10482 	hardcode_libdir_flag_spec='-rpath $libdir'
   10483       fi
   10484       archive_cmds_need_lc='no'
   10485       hardcode_libdir_separator=:
   10486       ;;
   10487 
   10488     solaris*)
   10489       no_undefined_flag=' -z defs'
   10490       if test yes = "$GCC"; then
   10491 	wlarc='$wl'
   10492 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10493 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10494           $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'
   10495       else
   10496 	case `$CC -V 2>&1` in
   10497 	*"Compilers 5.0"*)
   10498 	  wlarc=''
   10499 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10500 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10501             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10502 	  ;;
   10503 	*)
   10504 	  wlarc='$wl'
   10505 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10506 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10507             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10508 	  ;;
   10509 	esac
   10510       fi
   10511       hardcode_libdir_flag_spec='-R$libdir'
   10512       hardcode_shlibpath_var=no
   10513       case $host_os in
   10514       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10515       *)
   10516 	# The compiler driver will combine and reorder linker options,
   10517 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10518 	# but is careful enough not to reorder.
   10519 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10520 	if test yes = "$GCC"; then
   10521 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10522 	else
   10523 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10524 	fi
   10525 	;;
   10526       esac
   10527       link_all_deplibs=yes
   10528       ;;
   10529 
   10530     sunos4*)
   10531       if test sequent = "$host_vendor"; then
   10532 	# Use $CC to link under sequent, because it throws in some extra .o
   10533 	# files that make .init and .fini sections work.
   10534 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10535       else
   10536 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10537       fi
   10538       hardcode_libdir_flag_spec='-L$libdir'
   10539       hardcode_direct=yes
   10540       hardcode_minus_L=yes
   10541       hardcode_shlibpath_var=no
   10542       ;;
   10543 
   10544     sysv4)
   10545       case $host_vendor in
   10546 	sni)
   10547 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10548 	  hardcode_direct=yes # is this really true???
   10549 	;;
   10550 	siemens)
   10551 	  ## LD is ld it makes a PLAMLIB
   10552 	  ## CC just makes a GrossModule.
   10553 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10554 	  reload_cmds='$CC -r -o $output$reload_objs'
   10555 	  hardcode_direct=no
   10556         ;;
   10557 	motorola)
   10558 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10559 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10560 	;;
   10561       esac
   10562       runpath_var='LD_RUN_PATH'
   10563       hardcode_shlibpath_var=no
   10564       ;;
   10565 
   10566     sysv4.3*)
   10567       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10568       hardcode_shlibpath_var=no
   10569       export_dynamic_flag_spec='-Bexport'
   10570       ;;
   10571 
   10572     sysv4*MP*)
   10573       if test -d /usr/nec; then
   10574 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10575 	hardcode_shlibpath_var=no
   10576 	runpath_var=LD_RUN_PATH
   10577 	hardcode_runpath_var=yes
   10578 	ld_shlibs=yes
   10579       fi
   10580       ;;
   10581 
   10582     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10583       no_undefined_flag='$wl-z,text'
   10584       archive_cmds_need_lc=no
   10585       hardcode_shlibpath_var=no
   10586       runpath_var='LD_RUN_PATH'
   10587 
   10588       if test yes = "$GCC"; then
   10589 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10590 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10591       else
   10592 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10593 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10594       fi
   10595       ;;
   10596 
   10597     sysv5* | sco3.2v5* | sco5v6*)
   10598       # Note: We CANNOT use -z defs as we might desire, because we do not
   10599       # link with -lc, and that would cause any symbols used from libc to
   10600       # always be unresolved, which means just about no library would
   10601       # ever link correctly.  If we're not using GNU ld we use -z text
   10602       # though, which does catch some bad symbols but isn't as heavy-handed
   10603       # as -z defs.
   10604       no_undefined_flag='$wl-z,text'
   10605       allow_undefined_flag='$wl-z,nodefs'
   10606       archive_cmds_need_lc=no
   10607       hardcode_shlibpath_var=no
   10608       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10609       hardcode_libdir_separator=':'
   10610       link_all_deplibs=yes
   10611       export_dynamic_flag_spec='$wl-Bexport'
   10612       runpath_var='LD_RUN_PATH'
   10613 
   10614       if test yes = "$GCC"; then
   10615 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10616 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10617       else
   10618 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10619 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10620       fi
   10621       ;;
   10622 
   10623     uts4*)
   10624       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10625       hardcode_libdir_flag_spec='-L$libdir'
   10626       hardcode_shlibpath_var=no
   10627       ;;
   10628 
   10629     *)
   10630       ld_shlibs=no
   10631       ;;
   10632     esac
   10633 
   10634     if test sni = "$host_vendor"; then
   10635       case $host in
   10636       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10637 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10638 	;;
   10639       esac
   10640     fi
   10641   fi
   10642 
   10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10644 $as_echo "$ld_shlibs" >&6; }
   10645 test no = "$ld_shlibs" && can_build_shared=no
   10646 
   10647 with_gnu_ld=$with_gnu_ld
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 #
   10664 # Do we need to explicitly link libc?
   10665 #
   10666 case "x$archive_cmds_need_lc" in
   10667 x|xyes)
   10668   # Assume -lc should be added
   10669   archive_cmds_need_lc=yes
   10670 
   10671   if test yes,yes = "$GCC,$enable_shared"; then
   10672     case $archive_cmds in
   10673     *'~'*)
   10674       # FIXME: we may have to deal with multi-command sequences.
   10675       ;;
   10676     '$CC '*)
   10677       # Test whether the compiler implicitly links with -lc since on some
   10678       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10679       # to ld, don't add -lc before -lgcc.
   10680       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10681 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10682 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10683   $as_echo_n "(cached) " >&6
   10684 else
   10685   $RM conftest*
   10686 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10687 
   10688 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10689   (eval $ac_compile) 2>&5
   10690   ac_status=$?
   10691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10692   test $ac_status = 0; } 2>conftest.err; then
   10693 	  soname=conftest
   10694 	  lib=conftest
   10695 	  libobjs=conftest.$ac_objext
   10696 	  deplibs=
   10697 	  wl=$lt_prog_compiler_wl
   10698 	  pic_flag=$lt_prog_compiler_pic
   10699 	  compiler_flags=-v
   10700 	  linker_flags=-v
   10701 	  verstring=
   10702 	  output_objdir=.
   10703 	  libname=conftest
   10704 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10705 	  allow_undefined_flag=
   10706 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10707   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10708   ac_status=$?
   10709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10710   test $ac_status = 0; }
   10711 	  then
   10712 	    lt_cv_archive_cmds_need_lc=no
   10713 	  else
   10714 	    lt_cv_archive_cmds_need_lc=yes
   10715 	  fi
   10716 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10717 	else
   10718 	  cat conftest.err 1>&5
   10719 	fi
   10720 	$RM conftest*
   10721 
   10722 fi
   10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10724 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10725       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10726       ;;
   10727     esac
   10728   fi
   10729   ;;
   10730 esac
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10884 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10885 
   10886 if test yes = "$GCC"; then
   10887   case $host_os in
   10888     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10889     *) lt_awk_arg='/^libraries:/' ;;
   10890   esac
   10891   case $host_os in
   10892     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10893     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10894   esac
   10895   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10896   case $lt_search_path_spec in
   10897   *\;*)
   10898     # if the path contains ";" then we assume it to be the separator
   10899     # otherwise default to the standard path separator (i.e. ":") - it is
   10900     # assumed that no part of a normal pathname contains ";" but that should
   10901     # okay in the real world where ";" in dirpaths is itself problematic.
   10902     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10903     ;;
   10904   *)
   10905     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10906     ;;
   10907   esac
   10908   # Ok, now we have the path, separated by spaces, we can step through it
   10909   # and add multilib dir if necessary...
   10910   lt_tmp_lt_search_path_spec=
   10911   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10912   # ...but if some path component already ends with the multilib dir we assume
   10913   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10914   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10915   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10916     lt_multi_os_dir=
   10917     ;;
   10918   esac
   10919   for lt_sys_path in $lt_search_path_spec; do
   10920     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10921       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10922     elif test -n "$lt_multi_os_dir"; then
   10923       test -d "$lt_sys_path" && \
   10924 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10925     fi
   10926   done
   10927   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10928 BEGIN {RS = " "; FS = "/|\n";} {
   10929   lt_foo = "";
   10930   lt_count = 0;
   10931   for (lt_i = NF; lt_i > 0; lt_i--) {
   10932     if ($lt_i != "" && $lt_i != ".") {
   10933       if ($lt_i == "..") {
   10934         lt_count++;
   10935       } else {
   10936         if (lt_count == 0) {
   10937           lt_foo = "/" $lt_i lt_foo;
   10938         } else {
   10939           lt_count--;
   10940         }
   10941       }
   10942     }
   10943   }
   10944   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10945   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10946 }'`
   10947   # AWK program above erroneously prepends '/' to C:/dos/paths
   10948   # for these hosts.
   10949   case $host_os in
   10950     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10951       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10952   esac
   10953   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10954 else
   10955   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10956 fi
   10957 library_names_spec=
   10958 libname_spec='lib$name'
   10959 soname_spec=
   10960 shrext_cmds=.so
   10961 postinstall_cmds=
   10962 postuninstall_cmds=
   10963 finish_cmds=
   10964 finish_eval=
   10965 shlibpath_var=
   10966 shlibpath_overrides_runpath=unknown
   10967 version_type=none
   10968 dynamic_linker="$host_os ld.so"
   10969 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10970 need_lib_prefix=unknown
   10971 hardcode_into_libs=no
   10972 
   10973 # when you set need_version to no, make sure it does not cause -set_version
   10974 # flags to be left without arguments
   10975 need_version=unknown
   10976 
   10977 
   10978 
   10979 case $host_os in
   10980 aix3*)
   10981   version_type=linux # correct to gnu/linux during the next big refactor
   10982   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10983   shlibpath_var=LIBPATH
   10984 
   10985   # AIX 3 has no versioning support, so we append a major version to the name.
   10986   soname_spec='$libname$release$shared_ext$major'
   10987   ;;
   10988 
   10989 aix[4-9]*)
   10990   version_type=linux # correct to gnu/linux during the next big refactor
   10991   need_lib_prefix=no
   10992   need_version=no
   10993   hardcode_into_libs=yes
   10994   if test ia64 = "$host_cpu"; then
   10995     # AIX 5 supports IA64
   10996     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10997     shlibpath_var=LD_LIBRARY_PATH
   10998   else
   10999     # With GCC up to 2.95.x, collect2 would create an import file
   11000     # for dependence libraries.  The import file would start with
   11001     # the line '#! .'.  This would cause the generated library to
   11002     # depend on '.', always an invalid library.  This was fixed in
   11003     # development snapshots of GCC prior to 3.0.
   11004     case $host_os in
   11005       aix4 | aix4.[01] | aix4.[01].*)
   11006       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11007 	   echo ' yes '
   11008 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11009 	:
   11010       else
   11011 	can_build_shared=no
   11012       fi
   11013       ;;
   11014     esac
   11015     # Using Import Files as archive members, it is possible to support
   11016     # filename-based versioning of shared library archives on AIX. While
   11017     # this would work for both with and without runtime linking, it will
   11018     # prevent static linking of such archives. So we do filename-based
   11019     # shared library versioning with .so extension only, which is used
   11020     # when both runtime linking and shared linking is enabled.
   11021     # Unfortunately, runtime linking may impact performance, so we do
   11022     # not want this to be the default eventually. Also, we use the
   11023     # versioned .so libs for executables only if there is the -brtl
   11024     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11025     # To allow for filename-based versioning support, we need to create
   11026     # libNAME.so.V as an archive file, containing:
   11027     # *) an Import File, referring to the versioned filename of the
   11028     #    archive as well as the shared archive member, telling the
   11029     #    bitwidth (32 or 64) of that shared object, and providing the
   11030     #    list of exported symbols of that shared object, eventually
   11031     #    decorated with the 'weak' keyword
   11032     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11033     #    it being seen by the linker.
   11034     # At run time we better use the real file rather than another symlink,
   11035     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11036 
   11037     case $with_aix_soname,$aix_use_runtimelinking in
   11038     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11039     # soname into executable. Probably we can add versioning support to
   11040     # collect2, so additional links can be useful in future.
   11041     aix,yes) # traditional libtool
   11042       dynamic_linker='AIX unversionable lib.so'
   11043       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11044       # instead of lib<name>.a to let people know that these are not
   11045       # typical AIX shared libraries.
   11046       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11047       ;;
   11048     aix,no) # traditional AIX only
   11049       dynamic_linker='AIX lib.a(lib.so.V)'
   11050       # We preserve .a as extension for shared libraries through AIX4.2
   11051       # and later when we are not doing run time linking.
   11052       library_names_spec='$libname$release.a $libname.a'
   11053       soname_spec='$libname$release$shared_ext$major'
   11054       ;;
   11055     svr4,*) # full svr4 only
   11056       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11057       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11058       # We do not specify a path in Import Files, so LIBPATH fires.
   11059       shlibpath_overrides_runpath=yes
   11060       ;;
   11061     *,yes) # both, prefer svr4
   11062       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11063       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11064       # unpreferred sharedlib libNAME.a needs extra handling
   11065       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"'
   11066       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"'
   11067       # We do not specify a path in Import Files, so LIBPATH fires.
   11068       shlibpath_overrides_runpath=yes
   11069       ;;
   11070     *,no) # both, prefer aix
   11071       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11072       library_names_spec='$libname$release.a $libname.a'
   11073       soname_spec='$libname$release$shared_ext$major'
   11074       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11075       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)'
   11076       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"'
   11077       ;;
   11078     esac
   11079     shlibpath_var=LIBPATH
   11080   fi
   11081   ;;
   11082 
   11083 amigaos*)
   11084   case $host_cpu in
   11085   powerpc)
   11086     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11087     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11088     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11089     ;;
   11090   m68k)
   11091     library_names_spec='$libname.ixlibrary $libname.a'
   11092     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11093     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'
   11094     ;;
   11095   esac
   11096   ;;
   11097 
   11098 beos*)
   11099   library_names_spec='$libname$shared_ext'
   11100   dynamic_linker="$host_os ld.so"
   11101   shlibpath_var=LIBRARY_PATH
   11102   ;;
   11103 
   11104 bsdi[45]*)
   11105   version_type=linux # correct to gnu/linux during the next big refactor
   11106   need_version=no
   11107   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11108   soname_spec='$libname$release$shared_ext$major'
   11109   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11110   shlibpath_var=LD_LIBRARY_PATH
   11111   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11112   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11113   # the default ld.so.conf also contains /usr/contrib/lib and
   11114   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11115   # libtool to hard-code these into programs
   11116   ;;
   11117 
   11118 cygwin* | mingw* | pw32* | cegcc*)
   11119   version_type=windows
   11120   shrext_cmds=.dll
   11121   need_version=no
   11122   need_lib_prefix=no
   11123 
   11124   case $GCC,$cc_basename in
   11125   yes,*)
   11126     # gcc
   11127     library_names_spec='$libname.dll.a'
   11128     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11129     postinstall_cmds='base_file=`basename \$file`~
   11130       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11131       dldir=$destdir/`dirname \$dlpath`~
   11132       test -d \$dldir || mkdir -p \$dldir~
   11133       $install_prog $dir/$dlname \$dldir/$dlname~
   11134       chmod a+x \$dldir/$dlname~
   11135       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11136         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11137       fi'
   11138     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11139       dlpath=$dir/\$dldll~
   11140        $RM \$dlpath'
   11141     shlibpath_overrides_runpath=yes
   11142 
   11143     case $host_os in
   11144     cygwin*)
   11145       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11146       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11147 
   11148       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11149       ;;
   11150     mingw* | cegcc*)
   11151       # MinGW DLLs use traditional 'lib' prefix
   11152       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11153       ;;
   11154     pw32*)
   11155       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11156       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11157       ;;
   11158     esac
   11159     dynamic_linker='Win32 ld.exe'
   11160     ;;
   11161 
   11162   *,cl*)
   11163     # Native MSVC
   11164     libname_spec='$name'
   11165     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11166     library_names_spec='$libname.dll.lib'
   11167 
   11168     case $build_os in
   11169     mingw*)
   11170       sys_lib_search_path_spec=
   11171       lt_save_ifs=$IFS
   11172       IFS=';'
   11173       for lt_path in $LIB
   11174       do
   11175         IFS=$lt_save_ifs
   11176         # Let DOS variable expansion print the short 8.3 style file name.
   11177         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11178         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11179       done
   11180       IFS=$lt_save_ifs
   11181       # Convert to MSYS style.
   11182       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11183       ;;
   11184     cygwin*)
   11185       # Convert to unix form, then to dos form, then back to unix form
   11186       # but this time dos style (no spaces!) so that the unix form looks
   11187       # like /cygdrive/c/PROGRA~1:/cygdr...
   11188       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11189       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11190       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11191       ;;
   11192     *)
   11193       sys_lib_search_path_spec=$LIB
   11194       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11195         # It is most probably a Windows format PATH.
   11196         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11197       else
   11198         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11199       fi
   11200       # FIXME: find the short name or the path components, as spaces are
   11201       # common. (e.g. "Program Files" -> "PROGRA~1")
   11202       ;;
   11203     esac
   11204 
   11205     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11206     postinstall_cmds='base_file=`basename \$file`~
   11207       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11208       dldir=$destdir/`dirname \$dlpath`~
   11209       test -d \$dldir || mkdir -p \$dldir~
   11210       $install_prog $dir/$dlname \$dldir/$dlname'
   11211     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11212       dlpath=$dir/\$dldll~
   11213        $RM \$dlpath'
   11214     shlibpath_overrides_runpath=yes
   11215     dynamic_linker='Win32 link.exe'
   11216     ;;
   11217 
   11218   *)
   11219     # Assume MSVC wrapper
   11220     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11221     dynamic_linker='Win32 ld.exe'
   11222     ;;
   11223   esac
   11224   # FIXME: first we should search . and the directory the executable is in
   11225   shlibpath_var=PATH
   11226   ;;
   11227 
   11228 darwin* | rhapsody*)
   11229   dynamic_linker="$host_os dyld"
   11230   version_type=darwin
   11231   need_lib_prefix=no
   11232   need_version=no
   11233   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11234   soname_spec='$libname$release$major$shared_ext'
   11235   shlibpath_overrides_runpath=yes
   11236   shlibpath_var=DYLD_LIBRARY_PATH
   11237   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11238 
   11239   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11240   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11241   ;;
   11242 
   11243 dgux*)
   11244   version_type=linux # correct to gnu/linux during the next big refactor
   11245   need_lib_prefix=no
   11246   need_version=no
   11247   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11248   soname_spec='$libname$release$shared_ext$major'
   11249   shlibpath_var=LD_LIBRARY_PATH
   11250   ;;
   11251 
   11252 freebsd* | dragonfly*)
   11253   # DragonFly does not have aout.  When/if they implement a new
   11254   # versioning mechanism, adjust this.
   11255   if test -x /usr/bin/objformat; then
   11256     objformat=`/usr/bin/objformat`
   11257   else
   11258     case $host_os in
   11259     freebsd[23].*) objformat=aout ;;
   11260     *) objformat=elf ;;
   11261     esac
   11262   fi
   11263   version_type=freebsd-$objformat
   11264   case $version_type in
   11265     freebsd-elf*)
   11266       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11267       soname_spec='$libname$release$shared_ext$major'
   11268       need_version=no
   11269       need_lib_prefix=no
   11270       ;;
   11271     freebsd-*)
   11272       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11273       need_version=yes
   11274       ;;
   11275   esac
   11276   shlibpath_var=LD_LIBRARY_PATH
   11277   case $host_os in
   11278   freebsd2.*)
   11279     shlibpath_overrides_runpath=yes
   11280     ;;
   11281   freebsd3.[01]* | freebsdelf3.[01]*)
   11282     shlibpath_overrides_runpath=yes
   11283     hardcode_into_libs=yes
   11284     ;;
   11285   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11286   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11287     shlibpath_overrides_runpath=no
   11288     hardcode_into_libs=yes
   11289     ;;
   11290   *) # from 4.6 on, and DragonFly
   11291     shlibpath_overrides_runpath=yes
   11292     hardcode_into_libs=yes
   11293     ;;
   11294   esac
   11295   ;;
   11296 
   11297 haiku*)
   11298   version_type=linux # correct to gnu/linux during the next big refactor
   11299   need_lib_prefix=no
   11300   need_version=no
   11301   dynamic_linker="$host_os runtime_loader"
   11302   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11303   soname_spec='$libname$release$shared_ext$major'
   11304   shlibpath_var=LIBRARY_PATH
   11305   shlibpath_overrides_runpath=no
   11306   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11307   hardcode_into_libs=yes
   11308   ;;
   11309 
   11310 hpux9* | hpux10* | hpux11*)
   11311   # Give a soname corresponding to the major version so that dld.sl refuses to
   11312   # link against other versions.
   11313   version_type=sunos
   11314   need_lib_prefix=no
   11315   need_version=no
   11316   case $host_cpu in
   11317   ia64*)
   11318     shrext_cmds='.so'
   11319     hardcode_into_libs=yes
   11320     dynamic_linker="$host_os dld.so"
   11321     shlibpath_var=LD_LIBRARY_PATH
   11322     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11323     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11324     soname_spec='$libname$release$shared_ext$major'
   11325     if test 32 = "$HPUX_IA64_MODE"; then
   11326       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11327       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11328     else
   11329       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11330       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11331     fi
   11332     ;;
   11333   hppa*64*)
   11334     shrext_cmds='.sl'
   11335     hardcode_into_libs=yes
   11336     dynamic_linker="$host_os dld.sl"
   11337     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11338     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11339     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11340     soname_spec='$libname$release$shared_ext$major'
   11341     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11342     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11343     ;;
   11344   *)
   11345     shrext_cmds='.sl'
   11346     dynamic_linker="$host_os dld.sl"
   11347     shlibpath_var=SHLIB_PATH
   11348     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11349     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11350     soname_spec='$libname$release$shared_ext$major'
   11351     ;;
   11352   esac
   11353   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11354   postinstall_cmds='chmod 555 $lib'
   11355   # or fails outright, so override atomically:
   11356   install_override_mode=555
   11357   ;;
   11358 
   11359 interix[3-9]*)
   11360   version_type=linux # correct to gnu/linux during the next big refactor
   11361   need_lib_prefix=no
   11362   need_version=no
   11363   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11364   soname_spec='$libname$release$shared_ext$major'
   11365   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11366   shlibpath_var=LD_LIBRARY_PATH
   11367   shlibpath_overrides_runpath=no
   11368   hardcode_into_libs=yes
   11369   ;;
   11370 
   11371 irix5* | irix6* | nonstopux*)
   11372   case $host_os in
   11373     nonstopux*) version_type=nonstopux ;;
   11374     *)
   11375 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11376 		version_type=linux # correct to gnu/linux during the next big refactor
   11377 	else
   11378 		version_type=irix
   11379 	fi ;;
   11380   esac
   11381   need_lib_prefix=no
   11382   need_version=no
   11383   soname_spec='$libname$release$shared_ext$major'
   11384   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11385   case $host_os in
   11386   irix5* | nonstopux*)
   11387     libsuff= shlibsuff=
   11388     ;;
   11389   *)
   11390     case $LD in # libtool.m4 will add one of these switches to LD
   11391     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11392       libsuff= shlibsuff= libmagic=32-bit;;
   11393     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11394       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11395     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11396       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11397     *) libsuff= shlibsuff= libmagic=never-match;;
   11398     esac
   11399     ;;
   11400   esac
   11401   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11402   shlibpath_overrides_runpath=no
   11403   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11404   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11405   hardcode_into_libs=yes
   11406   ;;
   11407 
   11408 # No shared lib support for Linux oldld, aout, or coff.
   11409 linux*oldld* | linux*aout* | linux*coff*)
   11410   dynamic_linker=no
   11411   ;;
   11412 
   11413 linux*android*)
   11414   version_type=none # Android doesn't support versioned libraries.
   11415   need_lib_prefix=no
   11416   need_version=no
   11417   library_names_spec='$libname$release$shared_ext'
   11418   soname_spec='$libname$release$shared_ext'
   11419   finish_cmds=
   11420   shlibpath_var=LD_LIBRARY_PATH
   11421   shlibpath_overrides_runpath=yes
   11422 
   11423   # This implies no fast_install, which is unacceptable.
   11424   # Some rework will be needed to allow for fast_install
   11425   # before this can be enabled.
   11426   hardcode_into_libs=yes
   11427 
   11428   dynamic_linker='Android linker'
   11429   # Don't embed -rpath directories since the linker doesn't support them.
   11430   hardcode_libdir_flag_spec='-L$libdir'
   11431   ;;
   11432 
   11433 # This must be glibc/ELF.
   11434 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11435   version_type=linux # correct to gnu/linux during the next big refactor
   11436   need_lib_prefix=no
   11437   need_version=no
   11438   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11439   soname_spec='$libname$release$shared_ext$major'
   11440   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11441   shlibpath_var=LD_LIBRARY_PATH
   11442   shlibpath_overrides_runpath=no
   11443 
   11444   # Some binutils ld are patched to set DT_RUNPATH
   11445   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11446   $as_echo_n "(cached) " >&6
   11447 else
   11448   lt_cv_shlibpath_overrides_runpath=no
   11449     save_LDFLAGS=$LDFLAGS
   11450     save_libdir=$libdir
   11451     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11452 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11453     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11454 /* end confdefs.h.  */
   11455 
   11456 int
   11457 main ()
   11458 {
   11459 
   11460   ;
   11461   return 0;
   11462 }
   11463 _ACEOF
   11464 if ac_fn_c_try_link "$LINENO"; then :
   11465   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11466   lt_cv_shlibpath_overrides_runpath=yes
   11467 fi
   11468 fi
   11469 rm -f core conftest.err conftest.$ac_objext \
   11470     conftest$ac_exeext conftest.$ac_ext
   11471     LDFLAGS=$save_LDFLAGS
   11472     libdir=$save_libdir
   11473 
   11474 fi
   11475 
   11476   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11477 
   11478   # This implies no fast_install, which is unacceptable.
   11479   # Some rework will be needed to allow for fast_install
   11480   # before this can be enabled.
   11481   hardcode_into_libs=yes
   11482 
   11483   # Ideally, we could use ldconfig to report *all* directores which are
   11484   # searched for libraries, however this is still not possible.  Aside from not
   11485   # being certain /sbin/ldconfig is available, command
   11486   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11487   # even though it is searched at run-time.  Try to do the best guess by
   11488   # appending ld.so.conf contents (and includes) to the search path.
   11489   if test -f /etc/ld.so.conf; then
   11490     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' ' '`
   11491     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11492   fi
   11493 
   11494   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11495   # powerpc, because MkLinux only supported shared libraries with the
   11496   # GNU dynamic linker.  Since this was broken with cross compilers,
   11497   # most powerpc-linux boxes support dynamic linking these days and
   11498   # people can always --disable-shared, the test was removed, and we
   11499   # assume the GNU/Linux dynamic linker is in use.
   11500   dynamic_linker='GNU/Linux ld.so'
   11501   ;;
   11502 
   11503 netbsd*)
   11504   version_type=sunos
   11505   need_lib_prefix=no
   11506   need_version=no
   11507   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11508     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11509     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11510     dynamic_linker='NetBSD (a.out) ld.so'
   11511   else
   11512     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11513     soname_spec='$libname$release$shared_ext$major'
   11514     dynamic_linker='NetBSD ld.elf_so'
   11515   fi
   11516   shlibpath_var=LD_LIBRARY_PATH
   11517   shlibpath_overrides_runpath=yes
   11518   hardcode_into_libs=yes
   11519   ;;
   11520 
   11521 newsos6)
   11522   version_type=linux # correct to gnu/linux during the next big refactor
   11523   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11524   shlibpath_var=LD_LIBRARY_PATH
   11525   shlibpath_overrides_runpath=yes
   11526   ;;
   11527 
   11528 *nto* | *qnx*)
   11529   version_type=qnx
   11530   need_lib_prefix=no
   11531   need_version=no
   11532   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11533   soname_spec='$libname$release$shared_ext$major'
   11534   shlibpath_var=LD_LIBRARY_PATH
   11535   shlibpath_overrides_runpath=no
   11536   hardcode_into_libs=yes
   11537   dynamic_linker='ldqnx.so'
   11538   ;;
   11539 
   11540 openbsd* | bitrig*)
   11541   version_type=sunos
   11542   sys_lib_dlsearch_path_spec=/usr/lib
   11543   need_lib_prefix=no
   11544   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11545     need_version=no
   11546   else
   11547     need_version=yes
   11548   fi
   11549   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11550   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11551   shlibpath_var=LD_LIBRARY_PATH
   11552   shlibpath_overrides_runpath=yes
   11553   ;;
   11554 
   11555 os2*)
   11556   libname_spec='$name'
   11557   version_type=windows
   11558   shrext_cmds=.dll
   11559   need_version=no
   11560   need_lib_prefix=no
   11561   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11562   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11563     v=$($ECHO $release$versuffix | tr -d .-);
   11564     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11565     $ECHO $n$v`$shared_ext'
   11566   library_names_spec='${libname}_dll.$libext'
   11567   dynamic_linker='OS/2 ld.exe'
   11568   shlibpath_var=BEGINLIBPATH
   11569   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11570   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11571   postinstall_cmds='base_file=`basename \$file`~
   11572     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11573     dldir=$destdir/`dirname \$dlpath`~
   11574     test -d \$dldir || mkdir -p \$dldir~
   11575     $install_prog $dir/$dlname \$dldir/$dlname~
   11576     chmod a+x \$dldir/$dlname~
   11577     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11578       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11579     fi'
   11580   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11581     dlpath=$dir/\$dldll~
   11582     $RM \$dlpath'
   11583   ;;
   11584 
   11585 osf3* | osf4* | osf5*)
   11586   version_type=osf
   11587   need_lib_prefix=no
   11588   need_version=no
   11589   soname_spec='$libname$release$shared_ext$major'
   11590   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11591   shlibpath_var=LD_LIBRARY_PATH
   11592   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11593   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11594   ;;
   11595 
   11596 rdos*)
   11597   dynamic_linker=no
   11598   ;;
   11599 
   11600 solaris*)
   11601   version_type=linux # correct to gnu/linux during the next big refactor
   11602   need_lib_prefix=no
   11603   need_version=no
   11604   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11605   soname_spec='$libname$release$shared_ext$major'
   11606   shlibpath_var=LD_LIBRARY_PATH
   11607   shlibpath_overrides_runpath=yes
   11608   hardcode_into_libs=yes
   11609   # ldd complains unless libraries are executable
   11610   postinstall_cmds='chmod +x $lib'
   11611   ;;
   11612 
   11613 sunos4*)
   11614   version_type=sunos
   11615   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11616   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11617   shlibpath_var=LD_LIBRARY_PATH
   11618   shlibpath_overrides_runpath=yes
   11619   if test yes = "$with_gnu_ld"; then
   11620     need_lib_prefix=no
   11621   fi
   11622   need_version=yes
   11623   ;;
   11624 
   11625 sysv4 | sysv4.3*)
   11626   version_type=linux # correct to gnu/linux during the next big refactor
   11627   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11628   soname_spec='$libname$release$shared_ext$major'
   11629   shlibpath_var=LD_LIBRARY_PATH
   11630   case $host_vendor in
   11631     sni)
   11632       shlibpath_overrides_runpath=no
   11633       need_lib_prefix=no
   11634       runpath_var=LD_RUN_PATH
   11635       ;;
   11636     siemens)
   11637       need_lib_prefix=no
   11638       ;;
   11639     motorola)
   11640       need_lib_prefix=no
   11641       need_version=no
   11642       shlibpath_overrides_runpath=no
   11643       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11644       ;;
   11645   esac
   11646   ;;
   11647 
   11648 sysv4*MP*)
   11649   if test -d /usr/nec; then
   11650     version_type=linux # correct to gnu/linux during the next big refactor
   11651     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11652     soname_spec='$libname$shared_ext.$major'
   11653     shlibpath_var=LD_LIBRARY_PATH
   11654   fi
   11655   ;;
   11656 
   11657 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11658   version_type=sco
   11659   need_lib_prefix=no
   11660   need_version=no
   11661   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11662   soname_spec='$libname$release$shared_ext$major'
   11663   shlibpath_var=LD_LIBRARY_PATH
   11664   shlibpath_overrides_runpath=yes
   11665   hardcode_into_libs=yes
   11666   if test yes = "$with_gnu_ld"; then
   11667     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11668   else
   11669     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11670     case $host_os in
   11671       sco3.2v5*)
   11672         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11673 	;;
   11674     esac
   11675   fi
   11676   sys_lib_dlsearch_path_spec='/usr/lib'
   11677   ;;
   11678 
   11679 tpf*)
   11680   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11681   version_type=linux # correct to gnu/linux during the next big refactor
   11682   need_lib_prefix=no
   11683   need_version=no
   11684   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11685   shlibpath_var=LD_LIBRARY_PATH
   11686   shlibpath_overrides_runpath=no
   11687   hardcode_into_libs=yes
   11688   ;;
   11689 
   11690 uts4*)
   11691   version_type=linux # correct to gnu/linux during the next big refactor
   11692   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11693   soname_spec='$libname$release$shared_ext$major'
   11694   shlibpath_var=LD_LIBRARY_PATH
   11695   ;;
   11696 
   11697 *)
   11698   dynamic_linker=no
   11699   ;;
   11700 esac
   11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11702 $as_echo "$dynamic_linker" >&6; }
   11703 test no = "$dynamic_linker" && can_build_shared=no
   11704 
   11705 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11706 if test yes = "$GCC"; then
   11707   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11708 fi
   11709 
   11710 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11711   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11712 fi
   11713 
   11714 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11715   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11716 fi
   11717 
   11718 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11719 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11720 
   11721 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11722 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11723 
   11724 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11725 configure_time_lt_sys_library_path=$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 
   11819 
   11820 
   11821 
   11822 
   11823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11824 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11825 hardcode_action=
   11826 if test -n "$hardcode_libdir_flag_spec" ||
   11827    test -n "$runpath_var" ||
   11828    test yes = "$hardcode_automatic"; then
   11829 
   11830   # We can hardcode non-existent directories.
   11831   if test no != "$hardcode_direct" &&
   11832      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11833      # have to relink, otherwise we might link with an installed library
   11834      # when we should be linking with a yet-to-be-installed one
   11835      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11836      test no != "$hardcode_minus_L"; then
   11837     # Linking always hardcodes the temporary library directory.
   11838     hardcode_action=relink
   11839   else
   11840     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11841     hardcode_action=immediate
   11842   fi
   11843 else
   11844   # We cannot hardcode anything, or else we can only hardcode existing
   11845   # directories.
   11846   hardcode_action=unsupported
   11847 fi
   11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11849 $as_echo "$hardcode_action" >&6; }
   11850 
   11851 if test relink = "$hardcode_action" ||
   11852    test yes = "$inherit_rpath"; then
   11853   # Fast installation is not supported
   11854   enable_fast_install=no
   11855 elif test yes = "$shlibpath_overrides_runpath" ||
   11856      test no = "$enable_shared"; then
   11857   # Fast installation is not necessary
   11858   enable_fast_install=needless
   11859 fi
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866   if test yes != "$enable_dlopen"; then
   11867   enable_dlopen=unknown
   11868   enable_dlopen_self=unknown
   11869   enable_dlopen_self_static=unknown
   11870 else
   11871   lt_cv_dlopen=no
   11872   lt_cv_dlopen_libs=
   11873 
   11874   case $host_os in
   11875   beos*)
   11876     lt_cv_dlopen=load_add_on
   11877     lt_cv_dlopen_libs=
   11878     lt_cv_dlopen_self=yes
   11879     ;;
   11880 
   11881   mingw* | pw32* | cegcc*)
   11882     lt_cv_dlopen=LoadLibrary
   11883     lt_cv_dlopen_libs=
   11884     ;;
   11885 
   11886   cygwin*)
   11887     lt_cv_dlopen=dlopen
   11888     lt_cv_dlopen_libs=
   11889     ;;
   11890 
   11891   darwin*)
   11892     # if libdl is installed we need to link against it
   11893     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11894 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11895 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11896   $as_echo_n "(cached) " >&6
   11897 else
   11898   ac_check_lib_save_LIBS=$LIBS
   11899 LIBS="-ldl  $LIBS"
   11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11901 /* end confdefs.h.  */
   11902 
   11903 /* Override any GCC internal prototype to avoid an error.
   11904    Use char because int might match the return type of a GCC
   11905    builtin and then its argument prototype would still apply.  */
   11906 #ifdef __cplusplus
   11907 extern "C"
   11908 #endif
   11909 char dlopen ();
   11910 int
   11911 main ()
   11912 {
   11913 return dlopen ();
   11914   ;
   11915   return 0;
   11916 }
   11917 _ACEOF
   11918 if ac_fn_c_try_link "$LINENO"; then :
   11919   ac_cv_lib_dl_dlopen=yes
   11920 else
   11921   ac_cv_lib_dl_dlopen=no
   11922 fi
   11923 rm -f core conftest.err conftest.$ac_objext \
   11924     conftest$ac_exeext conftest.$ac_ext
   11925 LIBS=$ac_check_lib_save_LIBS
   11926 fi
   11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11928 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11929 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11930   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11931 else
   11932 
   11933     lt_cv_dlopen=dyld
   11934     lt_cv_dlopen_libs=
   11935     lt_cv_dlopen_self=yes
   11936 
   11937 fi
   11938 
   11939     ;;
   11940 
   11941   tpf*)
   11942     # Don't try to run any link tests for TPF.  We know it's impossible
   11943     # because TPF is a cross-compiler, and we know how we open DSOs.
   11944     lt_cv_dlopen=dlopen
   11945     lt_cv_dlopen_libs=
   11946     lt_cv_dlopen_self=no
   11947     ;;
   11948 
   11949   *)
   11950     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11951 if test "x$ac_cv_func_shl_load" = xyes; then :
   11952   lt_cv_dlopen=shl_load
   11953 else
   11954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11955 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11956 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11957   $as_echo_n "(cached) " >&6
   11958 else
   11959   ac_check_lib_save_LIBS=$LIBS
   11960 LIBS="-ldld  $LIBS"
   11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11962 /* end confdefs.h.  */
   11963 
   11964 /* Override any GCC internal prototype to avoid an error.
   11965    Use char because int might match the return type of a GCC
   11966    builtin and then its argument prototype would still apply.  */
   11967 #ifdef __cplusplus
   11968 extern "C"
   11969 #endif
   11970 char shl_load ();
   11971 int
   11972 main ()
   11973 {
   11974 return shl_load ();
   11975   ;
   11976   return 0;
   11977 }
   11978 _ACEOF
   11979 if ac_fn_c_try_link "$LINENO"; then :
   11980   ac_cv_lib_dld_shl_load=yes
   11981 else
   11982   ac_cv_lib_dld_shl_load=no
   11983 fi
   11984 rm -f core conftest.err conftest.$ac_objext \
   11985     conftest$ac_exeext conftest.$ac_ext
   11986 LIBS=$ac_check_lib_save_LIBS
   11987 fi
   11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11989 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11990 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11991   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11992 else
   11993   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11994 if test "x$ac_cv_func_dlopen" = xyes; then :
   11995   lt_cv_dlopen=dlopen
   11996 else
   11997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11998 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11999 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12000   $as_echo_n "(cached) " >&6
   12001 else
   12002   ac_check_lib_save_LIBS=$LIBS
   12003 LIBS="-ldl  $LIBS"
   12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12005 /* end confdefs.h.  */
   12006 
   12007 /* Override any GCC internal prototype to avoid an error.
   12008    Use char because int might match the return type of a GCC
   12009    builtin and then its argument prototype would still apply.  */
   12010 #ifdef __cplusplus
   12011 extern "C"
   12012 #endif
   12013 char dlopen ();
   12014 int
   12015 main ()
   12016 {
   12017 return dlopen ();
   12018   ;
   12019   return 0;
   12020 }
   12021 _ACEOF
   12022 if ac_fn_c_try_link "$LINENO"; then :
   12023   ac_cv_lib_dl_dlopen=yes
   12024 else
   12025   ac_cv_lib_dl_dlopen=no
   12026 fi
   12027 rm -f core conftest.err conftest.$ac_objext \
   12028     conftest$ac_exeext conftest.$ac_ext
   12029 LIBS=$ac_check_lib_save_LIBS
   12030 fi
   12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12032 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12033 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12034   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12035 else
   12036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12037 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12038 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12039   $as_echo_n "(cached) " >&6
   12040 else
   12041   ac_check_lib_save_LIBS=$LIBS
   12042 LIBS="-lsvld  $LIBS"
   12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12044 /* end confdefs.h.  */
   12045 
   12046 /* Override any GCC internal prototype to avoid an error.
   12047    Use char because int might match the return type of a GCC
   12048    builtin and then its argument prototype would still apply.  */
   12049 #ifdef __cplusplus
   12050 extern "C"
   12051 #endif
   12052 char dlopen ();
   12053 int
   12054 main ()
   12055 {
   12056 return dlopen ();
   12057   ;
   12058   return 0;
   12059 }
   12060 _ACEOF
   12061 if ac_fn_c_try_link "$LINENO"; then :
   12062   ac_cv_lib_svld_dlopen=yes
   12063 else
   12064   ac_cv_lib_svld_dlopen=no
   12065 fi
   12066 rm -f core conftest.err conftest.$ac_objext \
   12067     conftest$ac_exeext conftest.$ac_ext
   12068 LIBS=$ac_check_lib_save_LIBS
   12069 fi
   12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12071 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12072 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12073   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12074 else
   12075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12076 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12077 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12078   $as_echo_n "(cached) " >&6
   12079 else
   12080   ac_check_lib_save_LIBS=$LIBS
   12081 LIBS="-ldld  $LIBS"
   12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12083 /* end confdefs.h.  */
   12084 
   12085 /* Override any GCC internal prototype to avoid an error.
   12086    Use char because int might match the return type of a GCC
   12087    builtin and then its argument prototype would still apply.  */
   12088 #ifdef __cplusplus
   12089 extern "C"
   12090 #endif
   12091 char dld_link ();
   12092 int
   12093 main ()
   12094 {
   12095 return dld_link ();
   12096   ;
   12097   return 0;
   12098 }
   12099 _ACEOF
   12100 if ac_fn_c_try_link "$LINENO"; then :
   12101   ac_cv_lib_dld_dld_link=yes
   12102 else
   12103   ac_cv_lib_dld_dld_link=no
   12104 fi
   12105 rm -f core conftest.err conftest.$ac_objext \
   12106     conftest$ac_exeext conftest.$ac_ext
   12107 LIBS=$ac_check_lib_save_LIBS
   12108 fi
   12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12110 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12111 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12112   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12113 fi
   12114 
   12115 
   12116 fi
   12117 
   12118 
   12119 fi
   12120 
   12121 
   12122 fi
   12123 
   12124 
   12125 fi
   12126 
   12127 
   12128 fi
   12129 
   12130     ;;
   12131   esac
   12132 
   12133   if test no = "$lt_cv_dlopen"; then
   12134     enable_dlopen=no
   12135   else
   12136     enable_dlopen=yes
   12137   fi
   12138 
   12139   case $lt_cv_dlopen in
   12140   dlopen)
   12141     save_CPPFLAGS=$CPPFLAGS
   12142     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12143 
   12144     save_LDFLAGS=$LDFLAGS
   12145     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12146 
   12147     save_LIBS=$LIBS
   12148     LIBS="$lt_cv_dlopen_libs $LIBS"
   12149 
   12150     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12151 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12152 if ${lt_cv_dlopen_self+:} false; then :
   12153   $as_echo_n "(cached) " >&6
   12154 else
   12155   	  if test yes = "$cross_compiling"; then :
   12156   lt_cv_dlopen_self=cross
   12157 else
   12158   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12159   lt_status=$lt_dlunknown
   12160   cat > conftest.$ac_ext <<_LT_EOF
   12161 #line $LINENO "configure"
   12162 #include "confdefs.h"
   12163 
   12164 #if HAVE_DLFCN_H
   12165 #include <dlfcn.h>
   12166 #endif
   12167 
   12168 #include <stdio.h>
   12169 
   12170 #ifdef RTLD_GLOBAL
   12171 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12172 #else
   12173 #  ifdef DL_GLOBAL
   12174 #    define LT_DLGLOBAL		DL_GLOBAL
   12175 #  else
   12176 #    define LT_DLGLOBAL		0
   12177 #  endif
   12178 #endif
   12179 
   12180 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12181    find out it does not work in some platform. */
   12182 #ifndef LT_DLLAZY_OR_NOW
   12183 #  ifdef RTLD_LAZY
   12184 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12185 #  else
   12186 #    ifdef DL_LAZY
   12187 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12188 #    else
   12189 #      ifdef RTLD_NOW
   12190 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12191 #      else
   12192 #        ifdef DL_NOW
   12193 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12194 #        else
   12195 #          define LT_DLLAZY_OR_NOW	0
   12196 #        endif
   12197 #      endif
   12198 #    endif
   12199 #  endif
   12200 #endif
   12201 
   12202 /* When -fvisibility=hidden is used, assume the code has been annotated
   12203    correspondingly for the symbols needed.  */
   12204 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12205 int fnord () __attribute__((visibility("default")));
   12206 #endif
   12207 
   12208 int fnord () { return 42; }
   12209 int main ()
   12210 {
   12211   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12212   int status = $lt_dlunknown;
   12213 
   12214   if (self)
   12215     {
   12216       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12217       else
   12218         {
   12219 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12220           else puts (dlerror ());
   12221 	}
   12222       /* dlclose (self); */
   12223     }
   12224   else
   12225     puts (dlerror ());
   12226 
   12227   return status;
   12228 }
   12229 _LT_EOF
   12230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12231   (eval $ac_link) 2>&5
   12232   ac_status=$?
   12233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12234   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12235     (./conftest; exit; ) >&5 2>/dev/null
   12236     lt_status=$?
   12237     case x$lt_status in
   12238       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12239       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12240       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12241     esac
   12242   else :
   12243     # compilation failed
   12244     lt_cv_dlopen_self=no
   12245   fi
   12246 fi
   12247 rm -fr conftest*
   12248 
   12249 
   12250 fi
   12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12252 $as_echo "$lt_cv_dlopen_self" >&6; }
   12253 
   12254     if test yes = "$lt_cv_dlopen_self"; then
   12255       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12256       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12257 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12258 if ${lt_cv_dlopen_self_static+:} false; then :
   12259   $as_echo_n "(cached) " >&6
   12260 else
   12261   	  if test yes = "$cross_compiling"; then :
   12262   lt_cv_dlopen_self_static=cross
   12263 else
   12264   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12265   lt_status=$lt_dlunknown
   12266   cat > conftest.$ac_ext <<_LT_EOF
   12267 #line $LINENO "configure"
   12268 #include "confdefs.h"
   12269 
   12270 #if HAVE_DLFCN_H
   12271 #include <dlfcn.h>
   12272 #endif
   12273 
   12274 #include <stdio.h>
   12275 
   12276 #ifdef RTLD_GLOBAL
   12277 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12278 #else
   12279 #  ifdef DL_GLOBAL
   12280 #    define LT_DLGLOBAL		DL_GLOBAL
   12281 #  else
   12282 #    define LT_DLGLOBAL		0
   12283 #  endif
   12284 #endif
   12285 
   12286 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12287    find out it does not work in some platform. */
   12288 #ifndef LT_DLLAZY_OR_NOW
   12289 #  ifdef RTLD_LAZY
   12290 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12291 #  else
   12292 #    ifdef DL_LAZY
   12293 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12294 #    else
   12295 #      ifdef RTLD_NOW
   12296 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12297 #      else
   12298 #        ifdef DL_NOW
   12299 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12300 #        else
   12301 #          define LT_DLLAZY_OR_NOW	0
   12302 #        endif
   12303 #      endif
   12304 #    endif
   12305 #  endif
   12306 #endif
   12307 
   12308 /* When -fvisibility=hidden is used, assume the code has been annotated
   12309    correspondingly for the symbols needed.  */
   12310 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12311 int fnord () __attribute__((visibility("default")));
   12312 #endif
   12313 
   12314 int fnord () { return 42; }
   12315 int main ()
   12316 {
   12317   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12318   int status = $lt_dlunknown;
   12319 
   12320   if (self)
   12321     {
   12322       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12323       else
   12324         {
   12325 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12326           else puts (dlerror ());
   12327 	}
   12328       /* dlclose (self); */
   12329     }
   12330   else
   12331     puts (dlerror ());
   12332 
   12333   return status;
   12334 }
   12335 _LT_EOF
   12336   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12337   (eval $ac_link) 2>&5
   12338   ac_status=$?
   12339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12340   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12341     (./conftest; exit; ) >&5 2>/dev/null
   12342     lt_status=$?
   12343     case x$lt_status in
   12344       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12345       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12346       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12347     esac
   12348   else :
   12349     # compilation failed
   12350     lt_cv_dlopen_self_static=no
   12351   fi
   12352 fi
   12353 rm -fr conftest*
   12354 
   12355 
   12356 fi
   12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12358 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12359     fi
   12360 
   12361     CPPFLAGS=$save_CPPFLAGS
   12362     LDFLAGS=$save_LDFLAGS
   12363     LIBS=$save_LIBS
   12364     ;;
   12365   esac
   12366 
   12367   case $lt_cv_dlopen_self in
   12368   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12369   *) enable_dlopen_self=unknown ;;
   12370   esac
   12371 
   12372   case $lt_cv_dlopen_self_static in
   12373   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12374   *) enable_dlopen_self_static=unknown ;;
   12375   esac
   12376 fi
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 striplib=
   12395 old_striplib=
   12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12397 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12398 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12399   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12400   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12402 $as_echo "yes" >&6; }
   12403 else
   12404 # FIXME - insert some real tests, host_os isn't really good enough
   12405   case $host_os in
   12406   darwin*)
   12407     if test -n "$STRIP"; then
   12408       striplib="$STRIP -x"
   12409       old_striplib="$STRIP -S"
   12410       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12411 $as_echo "yes" >&6; }
   12412     else
   12413       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12414 $as_echo "no" >&6; }
   12415     fi
   12416     ;;
   12417   *)
   12418     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12419 $as_echo "no" >&6; }
   12420     ;;
   12421   esac
   12422 fi
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435   # Report what library types will actually be built
   12436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12437 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12439 $as_echo "$can_build_shared" >&6; }
   12440 
   12441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12442 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12443   test no = "$can_build_shared" && enable_shared=no
   12444 
   12445   # On AIX, shared libraries and static libraries use the same namespace, and
   12446   # are all built from PIC.
   12447   case $host_os in
   12448   aix3*)
   12449     test yes = "$enable_shared" && enable_static=no
   12450     if test -n "$RANLIB"; then
   12451       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12452       postinstall_cmds='$RANLIB $lib'
   12453     fi
   12454     ;;
   12455 
   12456   aix[4-9]*)
   12457     if test ia64 != "$host_cpu"; then
   12458       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12459       yes,aix,yes) ;;			# shared object as lib.so file only
   12460       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12461       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12462       esac
   12463     fi
   12464     ;;
   12465   esac
   12466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12467 $as_echo "$enable_shared" >&6; }
   12468 
   12469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12470 $as_echo_n "checking whether to build static libraries... " >&6; }
   12471   # Make sure either enable_shared or enable_static is yes.
   12472   test yes = "$enable_shared" || enable_static=yes
   12473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12474 $as_echo "$enable_static" >&6; }
   12475 
   12476 
   12477 
   12478 
   12479 fi
   12480 ac_ext=c
   12481 ac_cpp='$CPP $CPPFLAGS'
   12482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12485 
   12486 CC=$lt_save_CC
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502         ac_config_commands="$ac_config_commands libtool"
   12503 
   12504 
   12505 
   12506 
   12507 # Only expand once:
   12508 
   12509 
   12510 
   12511 # Check GMP Header
   12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp.h" >&5
   12513 $as_echo_n "checking for gmp.h... " >&6; }
   12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12515 /* end confdefs.h.  */
   12516 
   12517 #include "gmp.h"
   12518 
   12519 _ACEOF
   12520 if ac_fn_c_try_compile "$LINENO"; then :
   12521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12522 $as_echo "yes" >&6; }
   12523 else
   12524 
   12525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12526 $as_echo "no" >&6; }
   12527  as_fn_error $? "gmp.h cannot be found or is unusable." "$LINENO" 5
   12528 
   12529 fi
   12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12531 
   12532 # Check (only in development versions) if the compiler accepts warning
   12533 # flags and add them to CFLAGS
   12534 # Note: don't do this if the user defined CFLAGS, since adding new flags
   12535 # might override the user's settings, see
   12536 # http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-May/001115.html
   12537 if test -z "$USER_CFLAGS"; then
   12538 
   12539 
   12540   if echo $VERSION | grep -c dev >/dev/null 2>&1 ; then
   12541     if test "x$GCC" = "xyes" -a "x$compiler" != "xicc"; then
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548   flag=`echo "-g" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12549 
   12550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -g flag" >&5
   12551 $as_echo_n "checking whether the C compiler accepts the -g flag... " >&6; }
   12552 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12553   $as_echo_n "(cached) " >&6
   12554 else
   12555 
   12556 
   12557     ac_ext=c
   12558 ac_cpp='$CPP $CPPFLAGS'
   12559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12562 
   12563 
   12564     save_CFLAGS="$CFLAGS"
   12565     CFLAGS="$CFLAGS -g"
   12566     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12567 /* end confdefs.h.  */
   12568 
   12569 
   12570 int
   12571 main ()
   12572 {
   12573 
   12574   ;
   12575   return 0;
   12576 }
   12577 
   12578 _ACEOF
   12579 if ac_fn_c_try_compile "$LINENO"; then :
   12580 
   12581       eval "ax_cv_c_check_flag_$flag=yes"
   12582 
   12583 else
   12584 
   12585       eval "ax_cv_c_check_flag_$flag=no"
   12586 
   12587 fi
   12588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12589 
   12590     CFLAGS="$save_CFLAGS"
   12591 
   12592     ac_ext=c
   12593 ac_cpp='$CPP $CPPFLAGS'
   12594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12597 
   12598 
   12599 
   12600 fi
   12601 eval ac_res=\$ax_cv_c_check_flag_$flag
   12602 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12603 $as_echo "$ac_res" >&6; }
   12604 
   12605   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12606 
   12607     :
   12608     CFLAGS="$CFLAGS -g"
   12609 
   12610 else
   12611 
   12612     :
   12613 
   12614 
   12615 fi
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624   flag=`echo "-std=c99" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12625 
   12626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -std=c99 flag" >&5
   12627 $as_echo_n "checking whether the C compiler accepts the -std=c99 flag... " >&6; }
   12628 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12629   $as_echo_n "(cached) " >&6
   12630 else
   12631 
   12632 
   12633     ac_ext=c
   12634 ac_cpp='$CPP $CPPFLAGS'
   12635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12638 
   12639 
   12640     save_CFLAGS="$CFLAGS"
   12641     CFLAGS="$CFLAGS -std=c99"
   12642     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12643 /* end confdefs.h.  */
   12644 
   12645 
   12646 int
   12647 main ()
   12648 {
   12649 
   12650   ;
   12651   return 0;
   12652 }
   12653 
   12654 _ACEOF
   12655 if ac_fn_c_try_compile "$LINENO"; then :
   12656 
   12657       eval "ax_cv_c_check_flag_$flag=yes"
   12658 
   12659 else
   12660 
   12661       eval "ax_cv_c_check_flag_$flag=no"
   12662 
   12663 fi
   12664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12665 
   12666     CFLAGS="$save_CFLAGS"
   12667 
   12668     ac_ext=c
   12669 ac_cpp='$CPP $CPPFLAGS'
   12670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12673 
   12674 
   12675 
   12676 fi
   12677 eval ac_res=\$ax_cv_c_check_flag_$flag
   12678 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12679 $as_echo "$ac_res" >&6; }
   12680 
   12681   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12682 
   12683     :
   12684     CFLAGS="$CFLAGS -std=c99"
   12685 
   12686 else
   12687 
   12688     :
   12689 
   12690 
   12691 fi
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700   flag=`echo "-Wno-long-long" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12701 
   12702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wno-long-long flag" >&5
   12703 $as_echo_n "checking whether the C compiler accepts the -Wno-long-long flag... " >&6; }
   12704 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12705   $as_echo_n "(cached) " >&6
   12706 else
   12707 
   12708 
   12709     ac_ext=c
   12710 ac_cpp='$CPP $CPPFLAGS'
   12711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12714 
   12715 
   12716     save_CFLAGS="$CFLAGS"
   12717     CFLAGS="$CFLAGS -Wno-long-long"
   12718     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12719 /* end confdefs.h.  */
   12720 
   12721 
   12722 int
   12723 main ()
   12724 {
   12725 
   12726   ;
   12727   return 0;
   12728 }
   12729 
   12730 _ACEOF
   12731 if ac_fn_c_try_compile "$LINENO"; then :
   12732 
   12733       eval "ax_cv_c_check_flag_$flag=yes"
   12734 
   12735 else
   12736 
   12737       eval "ax_cv_c_check_flag_$flag=no"
   12738 
   12739 fi
   12740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12741 
   12742     CFLAGS="$save_CFLAGS"
   12743 
   12744     ac_ext=c
   12745 ac_cpp='$CPP $CPPFLAGS'
   12746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12749 
   12750 
   12751 
   12752 fi
   12753 eval ac_res=\$ax_cv_c_check_flag_$flag
   12754 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12755 $as_echo "$ac_res" >&6; }
   12756 
   12757   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12758 
   12759     :
   12760     CFLAGS="$CFLAGS -Wno-long-long"
   12761 
   12762 else
   12763 
   12764     :
   12765 
   12766 
   12767 fi
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776   flag=`echo "-Wall" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12777 
   12778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wall flag" >&5
   12779 $as_echo_n "checking whether the C compiler accepts the -Wall flag... " >&6; }
   12780 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12781   $as_echo_n "(cached) " >&6
   12782 else
   12783 
   12784 
   12785     ac_ext=c
   12786 ac_cpp='$CPP $CPPFLAGS'
   12787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12790 
   12791 
   12792     save_CFLAGS="$CFLAGS"
   12793     CFLAGS="$CFLAGS -Wall"
   12794     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12795 /* end confdefs.h.  */
   12796 
   12797 
   12798 int
   12799 main ()
   12800 {
   12801 
   12802   ;
   12803   return 0;
   12804 }
   12805 
   12806 _ACEOF
   12807 if ac_fn_c_try_compile "$LINENO"; then :
   12808 
   12809       eval "ax_cv_c_check_flag_$flag=yes"
   12810 
   12811 else
   12812 
   12813       eval "ax_cv_c_check_flag_$flag=no"
   12814 
   12815 fi
   12816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12817 
   12818     CFLAGS="$save_CFLAGS"
   12819 
   12820     ac_ext=c
   12821 ac_cpp='$CPP $CPPFLAGS'
   12822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12825 
   12826 
   12827 
   12828 fi
   12829 eval ac_res=\$ax_cv_c_check_flag_$flag
   12830 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12831 $as_echo "$ac_res" >&6; }
   12832 
   12833   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12834 
   12835     :
   12836     CFLAGS="$CFLAGS -Wall"
   12837 
   12838 else
   12839 
   12840     :
   12841 
   12842 
   12843 fi
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850 
   12851 
   12852   flag=`echo "-Wextra" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12853 
   12854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wextra flag" >&5
   12855 $as_echo_n "checking whether the C compiler accepts the -Wextra flag... " >&6; }
   12856 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12857   $as_echo_n "(cached) " >&6
   12858 else
   12859 
   12860 
   12861     ac_ext=c
   12862 ac_cpp='$CPP $CPPFLAGS'
   12863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12866 
   12867 
   12868     save_CFLAGS="$CFLAGS"
   12869     CFLAGS="$CFLAGS -Wextra"
   12870     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12871 /* end confdefs.h.  */
   12872 
   12873 
   12874 int
   12875 main ()
   12876 {
   12877 
   12878   ;
   12879   return 0;
   12880 }
   12881 
   12882 _ACEOF
   12883 if ac_fn_c_try_compile "$LINENO"; then :
   12884 
   12885       eval "ax_cv_c_check_flag_$flag=yes"
   12886 
   12887 else
   12888 
   12889       eval "ax_cv_c_check_flag_$flag=no"
   12890 
   12891 fi
   12892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12893 
   12894     CFLAGS="$save_CFLAGS"
   12895 
   12896     ac_ext=c
   12897 ac_cpp='$CPP $CPPFLAGS'
   12898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12901 
   12902 
   12903 
   12904 fi
   12905 eval ac_res=\$ax_cv_c_check_flag_$flag
   12906 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12907 $as_echo "$ac_res" >&6; }
   12908 
   12909   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12910 
   12911     :
   12912     CFLAGS="$CFLAGS -Wextra"
   12913 
   12914 else
   12915 
   12916     :
   12917 
   12918 
   12919 fi
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928   flag=`echo "-Wdeclaration-after-statement" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   12929 
   12930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wdeclaration-after-statement flag" >&5
   12931 $as_echo_n "checking whether the C compiler accepts the -Wdeclaration-after-statement flag... " >&6; }
   12932 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   12933   $as_echo_n "(cached) " >&6
   12934 else
   12935 
   12936 
   12937     ac_ext=c
   12938 ac_cpp='$CPP $CPPFLAGS'
   12939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12942 
   12943 
   12944     save_CFLAGS="$CFLAGS"
   12945     CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12946     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12947 /* end confdefs.h.  */
   12948 
   12949 
   12950 int
   12951 main ()
   12952 {
   12953 
   12954   ;
   12955   return 0;
   12956 }
   12957 
   12958 _ACEOF
   12959 if ac_fn_c_try_compile "$LINENO"; then :
   12960 
   12961       eval "ax_cv_c_check_flag_$flag=yes"
   12962 
   12963 else
   12964 
   12965       eval "ax_cv_c_check_flag_$flag=no"
   12966 
   12967 fi
   12968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12969 
   12970     CFLAGS="$save_CFLAGS"
   12971 
   12972     ac_ext=c
   12973 ac_cpp='$CPP $CPPFLAGS'
   12974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12977 
   12978 
   12979 
   12980 fi
   12981 eval ac_res=\$ax_cv_c_check_flag_$flag
   12982 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12983 $as_echo "$ac_res" >&6; }
   12984 
   12985   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   12986 
   12987     :
   12988     CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12989 
   12990 else
   12991 
   12992     :
   12993 
   12994 
   12995 fi
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004   flag=`echo "-Wshadow" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13005 
   13006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wshadow flag" >&5
   13007 $as_echo_n "checking whether the C compiler accepts the -Wshadow flag... " >&6; }
   13008 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13009   $as_echo_n "(cached) " >&6
   13010 else
   13011 
   13012 
   13013     ac_ext=c
   13014 ac_cpp='$CPP $CPPFLAGS'
   13015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13018 
   13019 
   13020     save_CFLAGS="$CFLAGS"
   13021     CFLAGS="$CFLAGS -Wshadow"
   13022     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13023 /* end confdefs.h.  */
   13024 
   13025 
   13026 int
   13027 main ()
   13028 {
   13029 
   13030   ;
   13031   return 0;
   13032 }
   13033 
   13034 _ACEOF
   13035 if ac_fn_c_try_compile "$LINENO"; then :
   13036 
   13037       eval "ax_cv_c_check_flag_$flag=yes"
   13038 
   13039 else
   13040 
   13041       eval "ax_cv_c_check_flag_$flag=no"
   13042 
   13043 fi
   13044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13045 
   13046     CFLAGS="$save_CFLAGS"
   13047 
   13048     ac_ext=c
   13049 ac_cpp='$CPP $CPPFLAGS'
   13050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13053 
   13054 
   13055 
   13056 fi
   13057 eval ac_res=\$ax_cv_c_check_flag_$flag
   13058 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13059 $as_echo "$ac_res" >&6; }
   13060 
   13061   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13062 
   13063     :
   13064     CFLAGS="$CFLAGS -Wshadow"
   13065 
   13066 else
   13067 
   13068     :
   13069 
   13070 
   13071 fi
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080   flag=`echo "-Wstrict-prototypes" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13081 
   13082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wstrict-prototypes flag" >&5
   13083 $as_echo_n "checking whether the C compiler accepts the -Wstrict-prototypes flag... " >&6; }
   13084 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13085   $as_echo_n "(cached) " >&6
   13086 else
   13087 
   13088 
   13089     ac_ext=c
   13090 ac_cpp='$CPP $CPPFLAGS'
   13091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13094 
   13095 
   13096     save_CFLAGS="$CFLAGS"
   13097     CFLAGS="$CFLAGS -Wstrict-prototypes"
   13098     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13099 /* end confdefs.h.  */
   13100 
   13101 
   13102 int
   13103 main ()
   13104 {
   13105 
   13106   ;
   13107   return 0;
   13108 }
   13109 
   13110 _ACEOF
   13111 if ac_fn_c_try_compile "$LINENO"; then :
   13112 
   13113       eval "ax_cv_c_check_flag_$flag=yes"
   13114 
   13115 else
   13116 
   13117       eval "ax_cv_c_check_flag_$flag=no"
   13118 
   13119 fi
   13120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13121 
   13122     CFLAGS="$save_CFLAGS"
   13123 
   13124     ac_ext=c
   13125 ac_cpp='$CPP $CPPFLAGS'
   13126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13129 
   13130 
   13131 
   13132 fi
   13133 eval ac_res=\$ax_cv_c_check_flag_$flag
   13134 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13135 $as_echo "$ac_res" >&6; }
   13136 
   13137   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13138 
   13139     :
   13140     CFLAGS="$CFLAGS -Wstrict-prototypes"
   13141 
   13142 else
   13143 
   13144     :
   13145 
   13146 
   13147 fi
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156   flag=`echo "-Wmissing-prototypes" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13157 
   13158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wmissing-prototypes flag" >&5
   13159 $as_echo_n "checking whether the C compiler accepts the -Wmissing-prototypes flag... " >&6; }
   13160 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13161   $as_echo_n "(cached) " >&6
   13162 else
   13163 
   13164 
   13165     ac_ext=c
   13166 ac_cpp='$CPP $CPPFLAGS'
   13167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13170 
   13171 
   13172     save_CFLAGS="$CFLAGS"
   13173     CFLAGS="$CFLAGS -Wmissing-prototypes"
   13174     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13175 /* end confdefs.h.  */
   13176 
   13177 
   13178 int
   13179 main ()
   13180 {
   13181 
   13182   ;
   13183   return 0;
   13184 }
   13185 
   13186 _ACEOF
   13187 if ac_fn_c_try_compile "$LINENO"; then :
   13188 
   13189       eval "ax_cv_c_check_flag_$flag=yes"
   13190 
   13191 else
   13192 
   13193       eval "ax_cv_c_check_flag_$flag=no"
   13194 
   13195 fi
   13196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13197 
   13198     CFLAGS="$save_CFLAGS"
   13199 
   13200     ac_ext=c
   13201 ac_cpp='$CPP $CPPFLAGS'
   13202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13205 
   13206 
   13207 
   13208 fi
   13209 eval ac_res=\$ax_cv_c_check_flag_$flag
   13210 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13211 $as_echo "$ac_res" >&6; }
   13212 
   13213   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13214 
   13215     :
   13216     CFLAGS="$CFLAGS -Wmissing-prototypes"
   13217 
   13218 else
   13219 
   13220     :
   13221 
   13222 
   13223 fi
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231 
   13232   flag=`echo "-Wno-unused-value" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13233 
   13234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wno-unused-value flag" >&5
   13235 $as_echo_n "checking whether the C compiler accepts the -Wno-unused-value flag... " >&6; }
   13236 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13237   $as_echo_n "(cached) " >&6
   13238 else
   13239 
   13240 
   13241     ac_ext=c
   13242 ac_cpp='$CPP $CPPFLAGS'
   13243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13246 
   13247 
   13248     save_CFLAGS="$CFLAGS"
   13249     CFLAGS="$CFLAGS -Wno-unused-value"
   13250     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13251 /* end confdefs.h.  */
   13252 
   13253 
   13254 int
   13255 main ()
   13256 {
   13257 
   13258   ;
   13259   return 0;
   13260 }
   13261 
   13262 _ACEOF
   13263 if ac_fn_c_try_compile "$LINENO"; then :
   13264 
   13265       eval "ax_cv_c_check_flag_$flag=yes"
   13266 
   13267 else
   13268 
   13269       eval "ax_cv_c_check_flag_$flag=no"
   13270 
   13271 fi
   13272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13273 
   13274     CFLAGS="$save_CFLAGS"
   13275 
   13276     ac_ext=c
   13277 ac_cpp='$CPP $CPPFLAGS'
   13278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13281 
   13282 
   13283 
   13284 fi
   13285 eval ac_res=\$ax_cv_c_check_flag_$flag
   13286 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13287 $as_echo "$ac_res" >&6; }
   13288 
   13289   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13290 
   13291     :
   13292     CFLAGS="$CFLAGS -Wno-unused-value"
   13293 
   13294 else
   13295 
   13296     :
   13297 
   13298 
   13299 fi
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308   flag=`echo "-Wlogical-op" | $SED 'y% .=/+-(){}<>:*,%_______________%'`
   13309 
   13310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler accepts the -Wlogical-op flag" >&5
   13311 $as_echo_n "checking whether the C compiler accepts the -Wlogical-op flag... " >&6; }
   13312 if eval \${ax_cv_c_check_flag_$flag+:} false; then :
   13313   $as_echo_n "(cached) " >&6
   13314 else
   13315 
   13316 
   13317     ac_ext=c
   13318 ac_cpp='$CPP $CPPFLAGS'
   13319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13322 
   13323 
   13324     save_CFLAGS="$CFLAGS"
   13325     CFLAGS="$CFLAGS -Wlogical-op"
   13326     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13327 /* end confdefs.h.  */
   13328 
   13329 
   13330 int
   13331 main ()
   13332 {
   13333 
   13334   ;
   13335   return 0;
   13336 }
   13337 
   13338 _ACEOF
   13339 if ac_fn_c_try_compile "$LINENO"; then :
   13340 
   13341       eval "ax_cv_c_check_flag_$flag=yes"
   13342 
   13343 else
   13344 
   13345       eval "ax_cv_c_check_flag_$flag=no"
   13346 
   13347 fi
   13348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13349 
   13350     CFLAGS="$save_CFLAGS"
   13351 
   13352     ac_ext=c
   13353 ac_cpp='$CPP $CPPFLAGS'
   13354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13357 
   13358 
   13359 
   13360 fi
   13361 eval ac_res=\$ax_cv_c_check_flag_$flag
   13362 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13363 $as_echo "$ac_res" >&6; }
   13364 
   13365   if eval "test \"`echo '$ax_cv_c_check_flag_'$flag`\" = yes"; then :
   13366 
   13367     :
   13368     CFLAGS="$CFLAGS -Wlogical-op"
   13369 
   13370 else
   13371 
   13372     :
   13373 
   13374 
   13375 fi
   13376 
   13377 
   13378     fi
   13379   fi
   13380 
   13381 fi
   13382 
   13383 
   13384 # Checks for header files.
   13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   13386 $as_echo_n "checking for ANSI C header files... " >&6; }
   13387 if ${ac_cv_header_stdc+:} false; then :
   13388   $as_echo_n "(cached) " >&6
   13389 else
   13390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13391 /* end confdefs.h.  */
   13392 #include <stdlib.h>
   13393 #include <stdarg.h>
   13394 #include <string.h>
   13395 #include <float.h>
   13396 
   13397 int
   13398 main ()
   13399 {
   13400 
   13401   ;
   13402   return 0;
   13403 }
   13404 _ACEOF
   13405 if ac_fn_c_try_compile "$LINENO"; then :
   13406   ac_cv_header_stdc=yes
   13407 else
   13408   ac_cv_header_stdc=no
   13409 fi
   13410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13411 
   13412 if test $ac_cv_header_stdc = yes; then
   13413   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13415 /* end confdefs.h.  */
   13416 #include <string.h>
   13417 
   13418 _ACEOF
   13419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13420   $EGREP "memchr" >/dev/null 2>&1; then :
   13421 
   13422 else
   13423   ac_cv_header_stdc=no
   13424 fi
   13425 rm -f conftest*
   13426 
   13427 fi
   13428 
   13429 if test $ac_cv_header_stdc = yes; then
   13430   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13432 /* end confdefs.h.  */
   13433 #include <stdlib.h>
   13434 
   13435 _ACEOF
   13436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13437   $EGREP "free" >/dev/null 2>&1; then :
   13438 
   13439 else
   13440   ac_cv_header_stdc=no
   13441 fi
   13442 rm -f conftest*
   13443 
   13444 fi
   13445 
   13446 if test $ac_cv_header_stdc = yes; then
   13447   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13448   if test "$cross_compiling" = yes; then :
   13449   :
   13450 else
   13451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13452 /* end confdefs.h.  */
   13453 #include <ctype.h>
   13454 #include <stdlib.h>
   13455 #if ((' ' & 0x0FF) == 0x020)
   13456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13458 #else
   13459 # define ISLOWER(c) \
   13460 		   (('a' <= (c) && (c) <= 'i') \
   13461 		     || ('j' <= (c) && (c) <= 'r') \
   13462 		     || ('s' <= (c) && (c) <= 'z'))
   13463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13464 #endif
   13465 
   13466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13467 int
   13468 main ()
   13469 {
   13470   int i;
   13471   for (i = 0; i < 256; i++)
   13472     if (XOR (islower (i), ISLOWER (i))
   13473 	|| toupper (i) != TOUPPER (i))
   13474       return 2;
   13475   return 0;
   13476 }
   13477 _ACEOF
   13478 if ac_fn_c_try_run "$LINENO"; then :
   13479 
   13480 else
   13481   ac_cv_header_stdc=no
   13482 fi
   13483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13484   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13485 fi
   13486 
   13487 fi
   13488 fi
   13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   13490 $as_echo "$ac_cv_header_stdc" >&6; }
   13491 if test $ac_cv_header_stdc = yes; then
   13492 
   13493 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   13494 
   13495 fi
   13496 
   13497 for ac_header in locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h sys/resource.h
   13498 do :
   13499   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13500 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   13501 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13502   cat >>confdefs.h <<_ACEOF
   13503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13504 _ACEOF
   13505 
   13506 fi
   13507 
   13508 done
   13509 
   13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   13511 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   13512 if ${ac_cv_header_time+:} false; then :
   13513   $as_echo_n "(cached) " >&6
   13514 else
   13515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13516 /* end confdefs.h.  */
   13517 #include <sys/types.h>
   13518 #include <sys/time.h>
   13519 #include <time.h>
   13520 
   13521 int
   13522 main ()
   13523 {
   13524 if ((struct tm *) 0)
   13525 return 0;
   13526   ;
   13527   return 0;
   13528 }
   13529 _ACEOF
   13530 if ac_fn_c_try_compile "$LINENO"; then :
   13531   ac_cv_header_time=yes
   13532 else
   13533   ac_cv_header_time=no
   13534 fi
   13535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13536 fi
   13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   13538 $as_echo "$ac_cv_header_time" >&6; }
   13539 if test $ac_cv_header_time = yes; then
   13540 
   13541 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   13542 
   13543 fi
   13544 
   13545 
   13546    ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
   13547 if test "x$ac_cv_header_complex_h" = xyes; then :
   13548 
   13549 
   13550 
   13551          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing creal" >&5
   13552 $as_echo_n "checking for library containing creal... " >&6; }
   13553 if ${ac_cv_search_creal+:} false; then :
   13554   $as_echo_n "(cached) " >&6
   13555 else
   13556   ac_func_search_save_LIBS=$LIBS
   13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13558 /* end confdefs.h.  */
   13559 
   13560 /* Override any GCC internal prototype to avoid an error.
   13561    Use char because int might match the return type of a GCC
   13562    builtin and then its argument prototype would still apply.  */
   13563 #ifdef __cplusplus
   13564 extern "C"
   13565 #endif
   13566 char creal ();
   13567 int
   13568 main ()
   13569 {
   13570 return creal ();
   13571   ;
   13572   return 0;
   13573 }
   13574 _ACEOF
   13575 for ac_lib in '' m; do
   13576   if test -z "$ac_lib"; then
   13577     ac_res="none required"
   13578   else
   13579     ac_res=-l$ac_lib
   13580     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13581   fi
   13582   if ac_fn_c_try_link "$LINENO"; then :
   13583   ac_cv_search_creal=$ac_res
   13584 fi
   13585 rm -f core conftest.err conftest.$ac_objext \
   13586     conftest$ac_exeext
   13587   if ${ac_cv_search_creal+:} false; then :
   13588   break
   13589 fi
   13590 done
   13591 if ${ac_cv_search_creal+:} false; then :
   13592 
   13593 else
   13594   ac_cv_search_creal=no
   13595 fi
   13596 rm conftest.$ac_ext
   13597 LIBS=$ac_func_search_save_LIBS
   13598 fi
   13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_creal" >&5
   13600 $as_echo "$ac_cv_search_creal" >&6; }
   13601 ac_res=$ac_cv_search_creal
   13602 if test "$ac_res" != no; then :
   13603   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13604 
   13605 fi
   13606 
   13607 #           needed on Solaris
   13608          { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether creal, cimag and I can be used" >&5
   13609 $as_echo_n "checking whether creal, cimag and I can be used... " >&6; }
   13610          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13611 /* end confdefs.h.  */
   13612 
   13613                #include <complex.h>
   13614 int
   13615 main ()
   13616 {
   13617 complex double x = 1.0 + 2.0 * I; return (creal (x) + cimag (x));
   13618 
   13619   ;
   13620   return 0;
   13621 }
   13622 
   13623 
   13624 _ACEOF
   13625 if ac_fn_c_try_link "$LINENO"; then :
   13626 
   13627                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13628 $as_echo "yes" >&6; }
   13629 
   13630 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
   13631 
   13632 
   13633 else
   13634 
   13635                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, build without support for C complex numbers" >&5
   13636 $as_echo "no, build without support for C complex numbers" >&6; }
   13637 
   13638 
   13639 fi
   13640 rm -f core conftest.err conftest.$ac_objext \
   13641     conftest$ac_exeext conftest.$ac_ext
   13642 
   13643 
   13644 fi
   13645 
   13646 
   13647 
   13648 
   13649 # Checks for typedefs, structures, and compiler characteristics.
   13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   13651 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   13652 if ${ac_cv_c_const+:} false; then :
   13653   $as_echo_n "(cached) " >&6
   13654 else
   13655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13656 /* end confdefs.h.  */
   13657 
   13658 int
   13659 main ()
   13660 {
   13661 
   13662 #ifndef __cplusplus
   13663   /* Ultrix mips cc rejects this sort of thing.  */
   13664   typedef int charset[2];
   13665   const charset cs = { 0, 0 };
   13666   /* SunOS 4.1.1 cc rejects this.  */
   13667   char const *const *pcpcc;
   13668   char **ppc;
   13669   /* NEC SVR4.0.2 mips cc rejects this.  */
   13670   struct point {int x, y;};
   13671   static struct point const zero = {0,0};
   13672   /* AIX XL C 1.02.0.0 rejects this.
   13673      It does not let you subtract one const X* pointer from another in
   13674      an arm of an if-expression whose if-part is not a constant
   13675      expression */
   13676   const char *g = "string";
   13677   pcpcc = &g + (g ? g-g : 0);
   13678   /* HPUX 7.0 cc rejects these. */
   13679   ++pcpcc;
   13680   ppc = (char**) pcpcc;
   13681   pcpcc = (char const *const *) ppc;
   13682   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   13683     char tx;
   13684     char *t = &tx;
   13685     char const *s = 0 ? (char *) 0 : (char const *) 0;
   13686 
   13687     *t++ = 0;
   13688     if (s) return 0;
   13689   }
   13690   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   13691     int x[] = {25, 17};
   13692     const int *foo = &x[0];
   13693     ++foo;
   13694   }
   13695   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   13696     typedef const int *iptr;
   13697     iptr p = 0;
   13698     ++p;
   13699   }
   13700   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   13701        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   13702     struct s { int j; const int *ap[3]; } bx;
   13703     struct s *b = &bx; b->j = 5;
   13704   }
   13705   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   13706     const int foo = 10;
   13707     if (!foo) return 0;
   13708   }
   13709   return !cs[0] && !zero.x;
   13710 #endif
   13711 
   13712   ;
   13713   return 0;
   13714 }
   13715 _ACEOF
   13716 if ac_fn_c_try_compile "$LINENO"; then :
   13717   ac_cv_c_const=yes
   13718 else
   13719   ac_cv_c_const=no
   13720 fi
   13721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13722 fi
   13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   13724 $as_echo "$ac_cv_c_const" >&6; }
   13725 if test $ac_cv_c_const = no; then
   13726 
   13727 $as_echo "#define const /**/" >>confdefs.h
   13728 
   13729 fi
   13730 
   13731 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   13732 if test "x$ac_cv_type_size_t" = xyes; then :
   13733 
   13734 else
   13735 
   13736 cat >>confdefs.h <<_ACEOF
   13737 #define size_t unsigned int
   13738 _ACEOF
   13739 
   13740 fi
   13741 
   13742 
   13743 # Checks for libraries.
   13744 for ac_func in gettimeofday localeconv setlocale getrusage
   13745 do :
   13746   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13748 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13749   cat >>confdefs.h <<_ACEOF
   13750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13751 _ACEOF
   13752 
   13753 fi
   13754 done
   13755 
   13756 for ac_func in dup dup2
   13757 do :
   13758   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13761   cat >>confdefs.h <<_ACEOF
   13762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13763 _ACEOF
   13764 
   13765 else
   13766 
   13767 $as_echo "#define MPC_NO_STREAM_REDIRECTION 1" >>confdefs.h
   13768 
   13769 fi
   13770 done
   13771 
   13772 
   13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
   13774 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
   13775 if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
   13776   $as_echo_n "(cached) " >&6
   13777 else
   13778   ac_check_lib_save_LIBS=$LIBS
   13779 LIBS="-lgmp  $LIBS"
   13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13781 /* end confdefs.h.  */
   13782 
   13783 /* Override any GCC internal prototype to avoid an error.
   13784    Use char because int might match the return type of a GCC
   13785    builtin and then its argument prototype would still apply.  */
   13786 #ifdef __cplusplus
   13787 extern "C"
   13788 #endif
   13789 char __gmpz_init ();
   13790 int
   13791 main ()
   13792 {
   13793 return __gmpz_init ();
   13794   ;
   13795   return 0;
   13796 }
   13797 _ACEOF
   13798 if ac_fn_c_try_link "$LINENO"; then :
   13799   ac_cv_lib_gmp___gmpz_init=yes
   13800 else
   13801   ac_cv_lib_gmp___gmpz_init=no
   13802 fi
   13803 rm -f core conftest.err conftest.$ac_objext \
   13804     conftest$ac_exeext conftest.$ac_ext
   13805 LIBS=$ac_check_lib_save_LIBS
   13806 fi
   13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
   13808 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
   13809 if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
   13810   LIBS="-lgmp $LIBS"
   13811 else
   13812   as_fn_error $? "libgmp not found or uses a different ABI (including static vs shared)." "$LINENO" 5
   13813 fi
   13814 
   13815 
   13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPFR" >&5
   13817 $as_echo_n "checking for MPFR... " >&6; }
   13818 LIBS="-lmpfr $LIBS"
   13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13820 /* end confdefs.h.  */
   13821 #include "mpfr.h"
   13822 int
   13823 main ()
   13824 {
   13825 mpfr_t x;  mpfr_init(x) ; mpfr_clear(x);
   13826 
   13827   ;
   13828   return 0;
   13829 }
   13830 _ACEOF
   13831 if ac_fn_c_try_link "$LINENO"; then :
   13832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13833 $as_echo "yes" >&6; }
   13834 else
   13835 
   13836         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13837 $as_echo "no" >&6; }
   13838         as_fn_error $? "libmpfr not found or uses a different ABI (including static vs shared)." "$LINENO" 5
   13839 
   13840 fi
   13841 rm -f core conftest.err conftest.$ac_objext \
   13842     conftest$ac_exeext conftest.$ac_ext
   13843 
   13844 # Check for a recent GMP
   13845 # We only guarantee that with a *functional* and recent enough GMP version,
   13846 # MPC will compile; we do not guarantee that GMP will compile.
   13847 # In particular fat builds are broken in GMP 5.0.0
   13848 # (at least on 64-bit Core 2 under GNU/Linux),
   13849 # see http://gmplib.org/list-archives/gmp-bugs/2011-August/002345.html.
   13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent GMP" >&5
   13851 $as_echo_n "checking for recent GMP... " >&6; }
   13852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13853 /* end confdefs.h.  */
   13854 
   13855 #include "gmp.h"
   13856 #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL < 500)
   13857 # error "Minimal GMP version is 5.0.0"
   13858 error
   13859 #endif
   13860 
   13861 _ACEOF
   13862 if ac_fn_c_try_compile "$LINENO"; then :
   13863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13864 $as_echo "yes" >&6; }
   13865 else
   13866 
   13867         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13868 $as_echo "no" >&6; }
   13869         as_fn_error $? "GMP version >= 5.0.0 required" "$LINENO" 5
   13870 
   13871 fi
   13872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13873 
   13874 # Check for a recent MPFR: we require MPFR 4.1.0
   13875 # The same remark as above for GMP applies.
   13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent MPFR" >&5
   13877 $as_echo_n "checking for recent MPFR... " >&6; }
   13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13879 /* end confdefs.h.  */
   13880 
   13881 #include "mpfr.h"
   13882 #if (MPFR_VERSION < MPFR_VERSION_NUM (4,1,0))
   13883 # error "Minimal MPFR version is 4.1.0"
   13884 error
   13885 #endif
   13886 
   13887 _ACEOF
   13888 if ac_fn_c_try_compile "$LINENO"; then :
   13889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13890 $as_echo "yes" >&6; }
   13891 else
   13892 
   13893          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13894 $as_echo "no" >&6; }
   13895          as_fn_error $? "MPFR version >= 4.1.0 required" "$LINENO" 5
   13896 
   13897 fi
   13898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13899 
   13900 # Check for logging feature
   13901 if test "x$enable_logging" = "xyes"; then :
   13902   for ac_header in dlfcn.h
   13903 do :
   13904   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   13905 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13906   cat >>confdefs.h <<_ACEOF
   13907 #define HAVE_DLFCN_H 1
   13908 _ACEOF
   13909 
   13910 fi
   13911 
   13912 done
   13913 
   13914         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
   13915 $as_echo_n "checking for dlsym in -ldl... " >&6; }
   13916 if ${ac_cv_lib_dl_dlsym+:} false; then :
   13917   $as_echo_n "(cached) " >&6
   13918 else
   13919   ac_check_lib_save_LIBS=$LIBS
   13920 LIBS="-ldl  $LIBS"
   13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13922 /* end confdefs.h.  */
   13923 
   13924 /* Override any GCC internal prototype to avoid an error.
   13925    Use char because int might match the return type of a GCC
   13926    builtin and then its argument prototype would still apply.  */
   13927 #ifdef __cplusplus
   13928 extern "C"
   13929 #endif
   13930 char dlsym ();
   13931 int
   13932 main ()
   13933 {
   13934 return dlsym ();
   13935   ;
   13936   return 0;
   13937 }
   13938 _ACEOF
   13939 if ac_fn_c_try_link "$LINENO"; then :
   13940   ac_cv_lib_dl_dlsym=yes
   13941 else
   13942   ac_cv_lib_dl_dlsym=no
   13943 fi
   13944 rm -f core conftest.err conftest.$ac_objext \
   13945     conftest$ac_exeext conftest.$ac_ext
   13946 LIBS=$ac_check_lib_save_LIBS
   13947 fi
   13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
   13949 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
   13950 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
   13951 
   13952 
   13953 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
   13954 
   13955             LIBS="-ldl $LIBS"
   13956 
   13957   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   13958 if test "x$ac_cv_type_intptr_t" = xyes; then :
   13959 
   13960 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
   13961 
   13962 else
   13963   for ac_type in 'int' 'long int' 'long long int'; do
   13964        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13965 /* end confdefs.h.  */
   13966 $ac_includes_default
   13967 int
   13968 main ()
   13969 {
   13970 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   13971 test_array [0] = 0;
   13972 return test_array [0];
   13973 
   13974   ;
   13975   return 0;
   13976 }
   13977 _ACEOF
   13978 if ac_fn_c_try_compile "$LINENO"; then :
   13979 
   13980 cat >>confdefs.h <<_ACEOF
   13981 #define intptr_t $ac_type
   13982 _ACEOF
   13983 
   13984 	  ac_type=
   13985 fi
   13986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13987        test -z "$ac_type" && break
   13988      done
   13989 fi
   13990 
   13991 
   13992             case " $LIBOBJS " in
   13993   *" logging.$ac_objext "* ) ;;
   13994   *) LIBOBJS="$LIBOBJS logging.$ac_objext"
   13995  ;;
   13996 esac
   13997 
   13998             MPC_LOG_H=src/mpc-log.h
   13999 
   14000 
   14001 else
   14002   as_fn_error $? "Library dl not found, logging impossible" "$LINENO" 5
   14003 fi
   14004 
   14005 
   14006 
   14007 fi
   14008 
   14009 # Configs for Windows DLLs
   14010 
   14011 enable_win32_dll=yes
   14012 
   14013 case $host in
   14014 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   14015   if test -n "$ac_tool_prefix"; then
   14016   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   14017 set dummy ${ac_tool_prefix}as; ac_word=$2
   14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14019 $as_echo_n "checking for $ac_word... " >&6; }
   14020 if ${ac_cv_prog_AS+:} false; then :
   14021   $as_echo_n "(cached) " >&6
   14022 else
   14023   if test -n "$AS"; then
   14024   ac_cv_prog_AS="$AS" # Let the user override the test.
   14025 else
   14026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14027 for as_dir in $PATH
   14028 do
   14029   IFS=$as_save_IFS
   14030   test -z "$as_dir" && as_dir=.
   14031     for ac_exec_ext in '' $ac_executable_extensions; do
   14032   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14033     ac_cv_prog_AS="${ac_tool_prefix}as"
   14034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14035     break 2
   14036   fi
   14037 done
   14038   done
   14039 IFS=$as_save_IFS
   14040 
   14041 fi
   14042 fi
   14043 AS=$ac_cv_prog_AS
   14044 if test -n "$AS"; then
   14045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   14046 $as_echo "$AS" >&6; }
   14047 else
   14048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14049 $as_echo "no" >&6; }
   14050 fi
   14051 
   14052 
   14053 fi
   14054 if test -z "$ac_cv_prog_AS"; then
   14055   ac_ct_AS=$AS
   14056   # Extract the first word of "as", so it can be a program name with args.
   14057 set dummy as; ac_word=$2
   14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14059 $as_echo_n "checking for $ac_word... " >&6; }
   14060 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   14061   $as_echo_n "(cached) " >&6
   14062 else
   14063   if test -n "$ac_ct_AS"; then
   14064   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   14065 else
   14066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14067 for as_dir in $PATH
   14068 do
   14069   IFS=$as_save_IFS
   14070   test -z "$as_dir" && as_dir=.
   14071     for ac_exec_ext in '' $ac_executable_extensions; do
   14072   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14073     ac_cv_prog_ac_ct_AS="as"
   14074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14075     break 2
   14076   fi
   14077 done
   14078   done
   14079 IFS=$as_save_IFS
   14080 
   14081 fi
   14082 fi
   14083 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   14084 if test -n "$ac_ct_AS"; then
   14085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   14086 $as_echo "$ac_ct_AS" >&6; }
   14087 else
   14088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14089 $as_echo "no" >&6; }
   14090 fi
   14091 
   14092   if test "x$ac_ct_AS" = x; then
   14093     AS="false"
   14094   else
   14095     case $cross_compiling:$ac_tool_warned in
   14096 yes:)
   14097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14099 ac_tool_warned=yes ;;
   14100 esac
   14101     AS=$ac_ct_AS
   14102   fi
   14103 else
   14104   AS="$ac_cv_prog_AS"
   14105 fi
   14106 
   14107   if test -n "$ac_tool_prefix"; then
   14108   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   14109 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14111 $as_echo_n "checking for $ac_word... " >&6; }
   14112 if ${ac_cv_prog_DLLTOOL+:} false; then :
   14113   $as_echo_n "(cached) " >&6
   14114 else
   14115   if test -n "$DLLTOOL"; then
   14116   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   14117 else
   14118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14119 for as_dir in $PATH
   14120 do
   14121   IFS=$as_save_IFS
   14122   test -z "$as_dir" && as_dir=.
   14123     for ac_exec_ext in '' $ac_executable_extensions; do
   14124   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14125     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   14126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14127     break 2
   14128   fi
   14129 done
   14130   done
   14131 IFS=$as_save_IFS
   14132 
   14133 fi
   14134 fi
   14135 DLLTOOL=$ac_cv_prog_DLLTOOL
   14136 if test -n "$DLLTOOL"; then
   14137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   14138 $as_echo "$DLLTOOL" >&6; }
   14139 else
   14140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14141 $as_echo "no" >&6; }
   14142 fi
   14143 
   14144 
   14145 fi
   14146 if test -z "$ac_cv_prog_DLLTOOL"; then
   14147   ac_ct_DLLTOOL=$DLLTOOL
   14148   # Extract the first word of "dlltool", so it can be a program name with args.
   14149 set dummy dlltool; ac_word=$2
   14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14151 $as_echo_n "checking for $ac_word... " >&6; }
   14152 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   14153   $as_echo_n "(cached) " >&6
   14154 else
   14155   if test -n "$ac_ct_DLLTOOL"; then
   14156   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   14157 else
   14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14159 for as_dir in $PATH
   14160 do
   14161   IFS=$as_save_IFS
   14162   test -z "$as_dir" && as_dir=.
   14163     for ac_exec_ext in '' $ac_executable_extensions; do
   14164   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14165     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   14166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14167     break 2
   14168   fi
   14169 done
   14170   done
   14171 IFS=$as_save_IFS
   14172 
   14173 fi
   14174 fi
   14175 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   14176 if test -n "$ac_ct_DLLTOOL"; then
   14177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   14178 $as_echo "$ac_ct_DLLTOOL" >&6; }
   14179 else
   14180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14181 $as_echo "no" >&6; }
   14182 fi
   14183 
   14184   if test "x$ac_ct_DLLTOOL" = x; then
   14185     DLLTOOL="false"
   14186   else
   14187     case $cross_compiling:$ac_tool_warned in
   14188 yes:)
   14189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14191 ac_tool_warned=yes ;;
   14192 esac
   14193     DLLTOOL=$ac_ct_DLLTOOL
   14194   fi
   14195 else
   14196   DLLTOOL="$ac_cv_prog_DLLTOOL"
   14197 fi
   14198 
   14199   if test -n "$ac_tool_prefix"; then
   14200   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   14201 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14203 $as_echo_n "checking for $ac_word... " >&6; }
   14204 if ${ac_cv_prog_OBJDUMP+:} false; then :
   14205   $as_echo_n "(cached) " >&6
   14206 else
   14207   if test -n "$OBJDUMP"; then
   14208   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   14209 else
   14210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14211 for as_dir in $PATH
   14212 do
   14213   IFS=$as_save_IFS
   14214   test -z "$as_dir" && as_dir=.
   14215     for ac_exec_ext in '' $ac_executable_extensions; do
   14216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14217     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   14218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14219     break 2
   14220   fi
   14221 done
   14222   done
   14223 IFS=$as_save_IFS
   14224 
   14225 fi
   14226 fi
   14227 OBJDUMP=$ac_cv_prog_OBJDUMP
   14228 if test -n "$OBJDUMP"; then
   14229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   14230 $as_echo "$OBJDUMP" >&6; }
   14231 else
   14232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14233 $as_echo "no" >&6; }
   14234 fi
   14235 
   14236 
   14237 fi
   14238 if test -z "$ac_cv_prog_OBJDUMP"; then
   14239   ac_ct_OBJDUMP=$OBJDUMP
   14240   # Extract the first word of "objdump", so it can be a program name with args.
   14241 set dummy objdump; ac_word=$2
   14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14243 $as_echo_n "checking for $ac_word... " >&6; }
   14244 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   14245   $as_echo_n "(cached) " >&6
   14246 else
   14247   if test -n "$ac_ct_OBJDUMP"; then
   14248   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   14249 else
   14250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14251 for as_dir in $PATH
   14252 do
   14253   IFS=$as_save_IFS
   14254   test -z "$as_dir" && as_dir=.
   14255     for ac_exec_ext in '' $ac_executable_extensions; do
   14256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14257     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   14258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14259     break 2
   14260   fi
   14261 done
   14262   done
   14263 IFS=$as_save_IFS
   14264 
   14265 fi
   14266 fi
   14267 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   14268 if test -n "$ac_ct_OBJDUMP"; then
   14269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   14270 $as_echo "$ac_ct_OBJDUMP" >&6; }
   14271 else
   14272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14273 $as_echo "no" >&6; }
   14274 fi
   14275 
   14276   if test "x$ac_ct_OBJDUMP" = x; then
   14277     OBJDUMP="false"
   14278   else
   14279     case $cross_compiling:$ac_tool_warned in
   14280 yes:)
   14281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14283 ac_tool_warned=yes ;;
   14284 esac
   14285     OBJDUMP=$ac_ct_OBJDUMP
   14286   fi
   14287 else
   14288   OBJDUMP="$ac_cv_prog_OBJDUMP"
   14289 fi
   14290 
   14291   ;;
   14292 esac
   14293 
   14294 test -z "$AS" && AS=as
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 test -z "$DLLTOOL" && DLLTOOL=dlltool
   14301 
   14302 
   14303 test -z "$OBJDUMP" && OBJDUMP=objdump
   14304 
   14305 
   14306 
   14307 
   14308 case $host in
   14309   *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
   14310 
   14311    if test "$enable_shared" = yes; then
   14312      MPC_LDFLAGS="$MPC_LDFLAGS -no-undefined"
   14313      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLL/static gmp" >&5
   14314 $as_echo_n "checking for DLL/static gmp... " >&6; }
   14315      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14316 /* end confdefs.h.  */
   14317 
   14318 #include "gmp.h"
   14319 #if !__GMP_LIBGMP_DLL
   14320 #error
   14321 error
   14322 #endif
   14323 
   14324 int
   14325 main ()
   14326 {
   14327 
   14328   ;
   14329   return 0;
   14330 }
   14331 _ACEOF
   14332 if ac_fn_c_try_compile "$LINENO"; then :
   14333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   14334 $as_echo "DLL" >&6; }
   14335 else
   14336 
   14337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   14338 $as_echo "static" >&6; }
   14339   as_fn_error $? "gmp is not available as a DLL: use --enable-static --disable-shared" "$LINENO" 5
   14340 fi
   14341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14342      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLL/static mpfr" >&5
   14343 $as_echo_n "checking for DLL/static mpfr... " >&6; }
   14344      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14345 /* end confdefs.h.  */
   14346 
   14347 #include "mpfr.h"
   14348 #if !__GMP_LIBGMP_DLL
   14349 #error
   14350 error
   14351 #endif
   14352 
   14353 int
   14354 main ()
   14355 {
   14356 
   14357   ;
   14358   return 0;
   14359 }
   14360 _ACEOF
   14361 if ac_fn_c_try_compile "$LINENO"; then :
   14362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   14363 $as_echo "DLL" >&6; }
   14364 else
   14365 
   14366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   14367 $as_echo "static" >&6; }
   14368   as_fn_error $? "mpfr is not available as a DLL: use --enable-static --disable-shared" "$LINENO" 5
   14369 fi
   14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14371    else
   14372      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14373 /* end confdefs.h.  */
   14374 
   14375 #include "gmp.h"
   14376 #if __GMP_LIBGMP_DLL
   14377 #error
   14378 error
   14379 #endif
   14380 
   14381 int
   14382 main ()
   14383 {
   14384 
   14385   ;
   14386   return 0;
   14387 }
   14388 _ACEOF
   14389 if ac_fn_c_try_compile "$LINENO"; then :
   14390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   14391 $as_echo "static" >&6; }
   14392 else
   14393 
   14394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   14395 $as_echo "DLL" >&6; }
   14396   as_fn_error $? "gmp is only available as a DLL: use --disable-static --enable-shared" "$LINENO" 5
   14397 fi
   14398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14399   fi
   14400   ;;
   14401 
   14402 esac
   14403 
   14404 # Checks for gcc version, result in variables MPC_GCC etc. inside config.log
   14405 
   14406   GCC_VERSION=""
   14407 
   14408 
   14409 
   14410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
   14411 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
   14412 
   14413   if  test "x$GCC" = "xyes" ; then :
   14414 
   14415     if  test -z "" ; then :
   14416 
   14417       ax_gcc_option_test="int main()
   14418 {
   14419 	return 0;
   14420 }"
   14421 
   14422 else
   14423 
   14424       ax_gcc_option_test=""
   14425 
   14426 fi
   14427 
   14428     # Dump the test program to file
   14429     cat <<EOF > conftest.c
   14430 $ax_gcc_option_test
   14431 EOF
   14432 
   14433     # Dump back the file to the log, useful for debugging purposes
   14434     { ac_try='cat conftest.c 1>&5'
   14435   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   14436   (eval $ac_try) 2>&5
   14437   ac_status=$?
   14438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14439   test $ac_status = 0; }; }
   14440 
   14441     if  { ac_try='$CC  -dumpversion -c conftest.c 1>&5'
   14442   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   14443   (eval $ac_try) 2>&5
   14444   ac_status=$?
   14445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14446   test $ac_status = 0; }; } ; then :
   14447 
   14448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14449 $as_echo "yes" >&6; }
   14450 
   14451     ax_gcc_version_option=yes
   14452 
   14453 
   14454 else
   14455 
   14456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14457 $as_echo "no" >&6; }
   14458 
   14459     ax_gcc_version_option=no
   14460 
   14461 
   14462 fi
   14463 
   14464 else
   14465 
   14466     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
   14467 $as_echo "no gcc available" >&6; }
   14468 
   14469 fi
   14470 
   14471   if test "x$GCC" = "xyes"; then :
   14472 
   14473     if test "x$ax_gcc_version_option" != "xno"; then :
   14474 
   14475       { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
   14476 $as_echo_n "checking gcc version... " >&6; }
   14477 if ${ax_cv_gcc_version+:} false; then :
   14478   $as_echo_n "(cached) " >&6
   14479 else
   14480 
   14481         ax_cv_gcc_version="`$CC -dumpversion`"
   14482         if test "x$ax_cv_gcc_version" = "x"; then :
   14483 
   14484           ax_cv_gcc_version=""
   14485 
   14486 fi
   14487 
   14488 fi
   14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
   14490 $as_echo "$ax_cv_gcc_version" >&6; }
   14491       GCC_VERSION=$ax_cv_gcc_version
   14492 
   14493 fi
   14494 
   14495 fi
   14496 
   14497 
   14498 
   14499 cat >>confdefs.h <<_ACEOF
   14500 #define MPC_GCC "$GCC"
   14501 _ACEOF
   14502 
   14503 
   14504 cat >>confdefs.h <<_ACEOF
   14505 #define MPC_CC "$CC"
   14506 _ACEOF
   14507 
   14508 
   14509 cat >>confdefs.h <<_ACEOF
   14510 #define MPC_GCC_VERSION "$GCC_VERSION"
   14511 _ACEOF
   14512 
   14513 
   14514 # Looks for short git hash if the version string contains "dev"
   14515 
   14516    if echo $VERSION | grep -c dev >/dev/null 2>&1 ; then
   14517       # Extract the first word of "git", so it can be a program name with args.
   14518 set dummy git; ac_word=$2
   14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14520 $as_echo_n "checking for $ac_word... " >&6; }
   14521 if ${ac_cv_prog_HASGIT+:} false; then :
   14522   $as_echo_n "(cached) " >&6
   14523 else
   14524   if test -n "$HASGIT"; then
   14525   ac_cv_prog_HASGIT="$HASGIT" # Let the user override the test.
   14526 else
   14527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14528 for as_dir in $PATH
   14529 do
   14530   IFS=$as_save_IFS
   14531   test -z "$as_dir" && as_dir=.
   14532     for ac_exec_ext in '' $ac_executable_extensions; do
   14533   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14534     ac_cv_prog_HASGIT="yes"
   14535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14536     break 2
   14537   fi
   14538 done
   14539   done
   14540 IFS=$as_save_IFS
   14541 
   14542   test -z "$ac_cv_prog_HASGIT" && ac_cv_prog_HASGIT="no"
   14543 fi
   14544 fi
   14545 HASGIT=$ac_cv_prog_HASGIT
   14546 if test -n "$HASGIT"; then
   14547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASGIT" >&5
   14548 $as_echo "$HASGIT" >&6; }
   14549 else
   14550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14551 $as_echo "no" >&6; }
   14552 fi
   14553 
   14554 
   14555       if test "x$HASGIT" = "xyes"; then :
   14556 
   14557          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for current git version" >&5
   14558 $as_echo_n "checking for current git version... " >&6; }
   14559          GITVERSION=5846144
   14560 
   14561 
   14562          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GITVERSION" >&5
   14563 $as_echo "$GITVERSION" >&6; }
   14564 
   14565 fi
   14566    fi
   14567 
   14568 
   14569 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile tools/Makefile tools/bench/Makefile tools/mpcheck/Makefile"
   14570 
   14571 cat >confcache <<\_ACEOF
   14572 # This file is a shell script that caches the results of configure
   14573 # tests run on this system so they can be shared between configure
   14574 # scripts and configure runs, see configure's option --config-cache.
   14575 # It is not useful on other systems.  If it contains results you don't
   14576 # want to keep, you may remove or edit it.
   14577 #
   14578 # config.status only pays attention to the cache file if you give it
   14579 # the --recheck option to rerun configure.
   14580 #
   14581 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14582 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14583 # following values.
   14584 
   14585 _ACEOF
   14586 
   14587 # The following way of writing the cache mishandles newlines in values,
   14588 # but we know of no workaround that is simple, portable, and efficient.
   14589 # So, we kill variables containing newlines.
   14590 # Ultrix sh set writes to stderr and can't be redirected directly,
   14591 # and sets the high bit in the cache file unless we assign to the vars.
   14592 (
   14593   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14594     eval ac_val=\$$ac_var
   14595     case $ac_val in #(
   14596     *${as_nl}*)
   14597       case $ac_var in #(
   14598       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14599 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14600       esac
   14601       case $ac_var in #(
   14602       _ | IFS | as_nl) ;; #(
   14603       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14604       *) { eval $ac_var=; unset $ac_var;} ;;
   14605       esac ;;
   14606     esac
   14607   done
   14608 
   14609   (set) 2>&1 |
   14610     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14611     *${as_nl}ac_space=\ *)
   14612       # `set' does not quote correctly, so add quotes: double-quote
   14613       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14614       sed -n \
   14615 	"s/'/'\\\\''/g;
   14616 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14617       ;; #(
   14618     *)
   14619       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14620       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14621       ;;
   14622     esac |
   14623     sort
   14624 ) |
   14625   sed '
   14626      /^ac_cv_env_/b end
   14627      t clear
   14628      :clear
   14629      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14630      t end
   14631      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14632      :end' >>confcache
   14633 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14634   if test -w "$cache_file"; then
   14635     if test "x$cache_file" != "x/dev/null"; then
   14636       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14637 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14638       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14639 	cat confcache >"$cache_file"
   14640       else
   14641         case $cache_file in #(
   14642         */* | ?:*)
   14643 	  mv -f confcache "$cache_file"$$ &&
   14644 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14645         *)
   14646 	  mv -f confcache "$cache_file" ;;
   14647 	esac
   14648       fi
   14649     fi
   14650   else
   14651     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14652 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14653   fi
   14654 fi
   14655 rm -f confcache
   14656 
   14657 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14658 # Let make expand exec_prefix.
   14659 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14660 
   14661 DEFS=-DHAVE_CONFIG_H
   14662 
   14663 ac_libobjs=
   14664 ac_ltlibobjs=
   14665 U=
   14666 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14667   # 1. Remove the extension, and $U if already installed.
   14668   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14669   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14670   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14671   #    will be set to the directory where LIBOBJS objects are built.
   14672   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14673   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14674 done
   14675 LIBOBJS=$ac_libobjs
   14676 
   14677 LTLIBOBJS=$ac_ltlibobjs
   14678 
   14679 
   14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14681 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   14682    if test -n "$am_sleep_pid"; then
   14683      # Hide warnings about reused PIDs.
   14684      wait $am_sleep_pid 2>/dev/null
   14685    fi
   14686    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14687 $as_echo "done" >&6; }
   14688  if test -n "$EXEEXT"; then
   14689   am__EXEEXT_TRUE=
   14690   am__EXEEXT_FALSE='#'
   14691 else
   14692   am__EXEEXT_TRUE='#'
   14693   am__EXEEXT_FALSE=
   14694 fi
   14695 
   14696 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14697   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14699 fi
   14700 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14701   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14703 fi
   14704 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14705   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14707 fi
   14708 
   14709 : "${CONFIG_STATUS=./config.status}"
   14710 ac_write_fail=0
   14711 ac_clean_files_save=$ac_clean_files
   14712 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14714 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14715 as_write_fail=0
   14716 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14717 #! $SHELL
   14718 # Generated by $as_me.
   14719 # Run this file to recreate the current configuration.
   14720 # Compiler output produced by configure, useful for debugging
   14721 # configure, is in config.log if it exists.
   14722 
   14723 debug=false
   14724 ac_cs_recheck=false
   14725 ac_cs_silent=false
   14726 
   14727 SHELL=\${CONFIG_SHELL-$SHELL}
   14728 export SHELL
   14729 _ASEOF
   14730 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14731 ## -------------------- ##
   14732 ## M4sh Initialization. ##
   14733 ## -------------------- ##
   14734 
   14735 # Be more Bourne compatible
   14736 DUALCASE=1; export DUALCASE # for MKS sh
   14737 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14738   emulate sh
   14739   NULLCMD=:
   14740   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14741   # is contrary to our usage.  Disable this feature.
   14742   alias -g '${1+"$@"}'='"$@"'
   14743   setopt NO_GLOB_SUBST
   14744 else
   14745   case `(set -o) 2>/dev/null` in #(
   14746   *posix*) :
   14747     set -o posix ;; #(
   14748   *) :
   14749      ;;
   14750 esac
   14751 fi
   14752 
   14753 
   14754 as_nl='
   14755 '
   14756 export as_nl
   14757 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14758 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14759 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14760 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14761 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14762 # but without wasting forks for bash or zsh.
   14763 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14764     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14765   as_echo='print -r --'
   14766   as_echo_n='print -rn --'
   14767 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14768   as_echo='printf %s\n'
   14769   as_echo_n='printf %s'
   14770 else
   14771   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14772     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14773     as_echo_n='/usr/ucb/echo -n'
   14774   else
   14775     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14776     as_echo_n_body='eval
   14777       arg=$1;
   14778       case $arg in #(
   14779       *"$as_nl"*)
   14780 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14781 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14782       esac;
   14783       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14784     '
   14785     export as_echo_n_body
   14786     as_echo_n='sh -c $as_echo_n_body as_echo'
   14787   fi
   14788   export as_echo_body
   14789   as_echo='sh -c $as_echo_body as_echo'
   14790 fi
   14791 
   14792 # The user is always right.
   14793 if test "${PATH_SEPARATOR+set}" != set; then
   14794   PATH_SEPARATOR=:
   14795   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14796     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14797       PATH_SEPARATOR=';'
   14798   }
   14799 fi
   14800 
   14801 
   14802 # IFS
   14803 # We need space, tab and new line, in precisely that order.  Quoting is
   14804 # there to prevent editors from complaining about space-tab.
   14805 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14806 # splitting by setting IFS to empty value.)
   14807 IFS=" ""	$as_nl"
   14808 
   14809 # Find who we are.  Look in the path if we contain no directory separator.
   14810 as_myself=
   14811 case $0 in #((
   14812   *[\\/]* ) as_myself=$0 ;;
   14813   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14814 for as_dir in $PATH
   14815 do
   14816   IFS=$as_save_IFS
   14817   test -z "$as_dir" && as_dir=.
   14818     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14819   done
   14820 IFS=$as_save_IFS
   14821 
   14822      ;;
   14823 esac
   14824 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14825 # in which case we are not to be found in the path.
   14826 if test "x$as_myself" = x; then
   14827   as_myself=$0
   14828 fi
   14829 if test ! -f "$as_myself"; then
   14830   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14831   exit 1
   14832 fi
   14833 
   14834 # Unset variables that we do not need and which cause bugs (e.g. in
   14835 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14836 # suppresses any "Segmentation fault" message there.  '((' could
   14837 # trigger a bug in pdksh 5.2.14.
   14838 for as_var in BASH_ENV ENV MAIL MAILPATH
   14839 do eval test x\${$as_var+set} = xset \
   14840   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14841 done
   14842 PS1='$ '
   14843 PS2='> '
   14844 PS4='+ '
   14845 
   14846 # NLS nuisances.
   14847 LC_ALL=C
   14848 export LC_ALL
   14849 LANGUAGE=C
   14850 export LANGUAGE
   14851 
   14852 # CDPATH.
   14853 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14854 
   14855 
   14856 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14857 # ----------------------------------------
   14858 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14859 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14860 # script with STATUS, using 1 if that was 0.
   14861 as_fn_error ()
   14862 {
   14863   as_status=$1; test $as_status -eq 0 && as_status=1
   14864   if test "$4"; then
   14865     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14866     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14867   fi
   14868   $as_echo "$as_me: error: $2" >&2
   14869   as_fn_exit $as_status
   14870 } # as_fn_error
   14871 
   14872 
   14873 # as_fn_set_status STATUS
   14874 # -----------------------
   14875 # Set $? to STATUS, without forking.
   14876 as_fn_set_status ()
   14877 {
   14878   return $1
   14879 } # as_fn_set_status
   14880 
   14881 # as_fn_exit STATUS
   14882 # -----------------
   14883 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14884 as_fn_exit ()
   14885 {
   14886   set +e
   14887   as_fn_set_status $1
   14888   exit $1
   14889 } # as_fn_exit
   14890 
   14891 # as_fn_unset VAR
   14892 # ---------------
   14893 # Portably unset VAR.
   14894 as_fn_unset ()
   14895 {
   14896   { eval $1=; unset $1;}
   14897 }
   14898 as_unset=as_fn_unset
   14899 # as_fn_append VAR VALUE
   14900 # ----------------------
   14901 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14902 # advantage of any shell optimizations that allow amortized linear growth over
   14903 # repeated appends, instead of the typical quadratic growth present in naive
   14904 # implementations.
   14905 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14906   eval 'as_fn_append ()
   14907   {
   14908     eval $1+=\$2
   14909   }'
   14910 else
   14911   as_fn_append ()
   14912   {
   14913     eval $1=\$$1\$2
   14914   }
   14915 fi # as_fn_append
   14916 
   14917 # as_fn_arith ARG...
   14918 # ------------------
   14919 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14920 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14921 # must be portable across $(()) and expr.
   14922 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14923   eval 'as_fn_arith ()
   14924   {
   14925     as_val=$(( $* ))
   14926   }'
   14927 else
   14928   as_fn_arith ()
   14929   {
   14930     as_val=`expr "$@" || test $? -eq 1`
   14931   }
   14932 fi # as_fn_arith
   14933 
   14934 
   14935 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14936    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14937   as_expr=expr
   14938 else
   14939   as_expr=false
   14940 fi
   14941 
   14942 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14943   as_basename=basename
   14944 else
   14945   as_basename=false
   14946 fi
   14947 
   14948 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14949   as_dirname=dirname
   14950 else
   14951   as_dirname=false
   14952 fi
   14953 
   14954 as_me=`$as_basename -- "$0" ||
   14955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14956 	 X"$0" : 'X\(//\)$' \| \
   14957 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14958 $as_echo X/"$0" |
   14959     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14960 	    s//\1/
   14961 	    q
   14962 	  }
   14963 	  /^X\/\(\/\/\)$/{
   14964 	    s//\1/
   14965 	    q
   14966 	  }
   14967 	  /^X\/\(\/\).*/{
   14968 	    s//\1/
   14969 	    q
   14970 	  }
   14971 	  s/.*/./; q'`
   14972 
   14973 # Avoid depending upon Character Ranges.
   14974 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14975 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14976 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14977 as_cr_digits='0123456789'
   14978 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14979 
   14980 ECHO_C= ECHO_N= ECHO_T=
   14981 case `echo -n x` in #(((((
   14982 -n*)
   14983   case `echo 'xy\c'` in
   14984   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14985   xy)  ECHO_C='\c';;
   14986   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14987        ECHO_T='	';;
   14988   esac;;
   14989 *)
   14990   ECHO_N='-n';;
   14991 esac
   14992 
   14993 rm -f conf$$ conf$$.exe conf$$.file
   14994 if test -d conf$$.dir; then
   14995   rm -f conf$$.dir/conf$$.file
   14996 else
   14997   rm -f conf$$.dir
   14998   mkdir conf$$.dir 2>/dev/null
   14999 fi
   15000 if (echo >conf$$.file) 2>/dev/null; then
   15001   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15002     as_ln_s='ln -s'
   15003     # ... but there are two gotchas:
   15004     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15005     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15006     # In both cases, we have to default to `cp -pR'.
   15007     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15008       as_ln_s='cp -pR'
   15009   elif ln conf$$.file conf$$ 2>/dev/null; then
   15010     as_ln_s=ln
   15011   else
   15012     as_ln_s='cp -pR'
   15013   fi
   15014 else
   15015   as_ln_s='cp -pR'
   15016 fi
   15017 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15018 rmdir conf$$.dir 2>/dev/null
   15019 
   15020 
   15021 # as_fn_mkdir_p
   15022 # -------------
   15023 # Create "$as_dir" as a directory, including parents if necessary.
   15024 as_fn_mkdir_p ()
   15025 {
   15026 
   15027   case $as_dir in #(
   15028   -*) as_dir=./$as_dir;;
   15029   esac
   15030   test -d "$as_dir" || eval $as_mkdir_p || {
   15031     as_dirs=
   15032     while :; do
   15033       case $as_dir in #(
   15034       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15035       *) as_qdir=$as_dir;;
   15036       esac
   15037       as_dirs="'$as_qdir' $as_dirs"
   15038       as_dir=`$as_dirname -- "$as_dir" ||
   15039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15040 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15041 	 X"$as_dir" : 'X\(//\)$' \| \
   15042 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15043 $as_echo X"$as_dir" |
   15044     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15045 	    s//\1/
   15046 	    q
   15047 	  }
   15048 	  /^X\(\/\/\)[^/].*/{
   15049 	    s//\1/
   15050 	    q
   15051 	  }
   15052 	  /^X\(\/\/\)$/{
   15053 	    s//\1/
   15054 	    q
   15055 	  }
   15056 	  /^X\(\/\).*/{
   15057 	    s//\1/
   15058 	    q
   15059 	  }
   15060 	  s/.*/./; q'`
   15061       test -d "$as_dir" && break
   15062     done
   15063     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15064   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15065 
   15066 
   15067 } # as_fn_mkdir_p
   15068 if mkdir -p . 2>/dev/null; then
   15069   as_mkdir_p='mkdir -p "$as_dir"'
   15070 else
   15071   test -d ./-p && rmdir ./-p
   15072   as_mkdir_p=false
   15073 fi
   15074 
   15075 
   15076 # as_fn_executable_p FILE
   15077 # -----------------------
   15078 # Test if FILE is an executable regular file.
   15079 as_fn_executable_p ()
   15080 {
   15081   test -f "$1" && test -x "$1"
   15082 } # as_fn_executable_p
   15083 as_test_x='test -x'
   15084 as_executable_p=as_fn_executable_p
   15085 
   15086 # Sed expression to map a string onto a valid CPP name.
   15087 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15088 
   15089 # Sed expression to map a string onto a valid variable name.
   15090 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15091 
   15092 
   15093 exec 6>&1
   15094 ## ----------------------------------- ##
   15095 ## Main body of $CONFIG_STATUS script. ##
   15096 ## ----------------------------------- ##
   15097 _ASEOF
   15098 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15099 
   15100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15101 # Save the log message, to keep $0 and so on meaningful, and to
   15102 # report actual input values of CONFIG_FILES etc. instead of their
   15103 # values after options handling.
   15104 ac_log="
   15105 This file was extended by mpc $as_me 1.2.1, which was
   15106 generated by GNU Autoconf 2.69.  Invocation command line was
   15107 
   15108   CONFIG_FILES    = $CONFIG_FILES
   15109   CONFIG_HEADERS  = $CONFIG_HEADERS
   15110   CONFIG_LINKS    = $CONFIG_LINKS
   15111   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15112   $ $0 $@
   15113 
   15114 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15115 "
   15116 
   15117 _ACEOF
   15118 
   15119 case $ac_config_files in *"
   15120 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15121 esac
   15122 
   15123 case $ac_config_headers in *"
   15124 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15125 esac
   15126 
   15127 
   15128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15129 # Files that config.status was made for.
   15130 config_files="$ac_config_files"
   15131 config_headers="$ac_config_headers"
   15132 config_commands="$ac_config_commands"
   15133 
   15134 _ACEOF
   15135 
   15136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15137 ac_cs_usage="\
   15138 \`$as_me' instantiates files and other configuration actions
   15139 from templates according to the current configuration.  Unless the files
   15140 and actions are specified as TAGs, all are instantiated by default.
   15141 
   15142 Usage: $0 [OPTION]... [TAG]...
   15143 
   15144   -h, --help       print this help, then exit
   15145   -V, --version    print version number and configuration settings, then exit
   15146       --config     print configuration, then exit
   15147   -q, --quiet, --silent
   15148                    do not print progress messages
   15149   -d, --debug      don't remove temporary files
   15150       --recheck    update $as_me by reconfiguring in the same conditions
   15151       --file=FILE[:TEMPLATE]
   15152                    instantiate the configuration file FILE
   15153       --header=FILE[:TEMPLATE]
   15154                    instantiate the configuration header FILE
   15155 
   15156 Configuration files:
   15157 $config_files
   15158 
   15159 Configuration headers:
   15160 $config_headers
   15161 
   15162 Configuration commands:
   15163 $config_commands
   15164 
   15165 Report bugs to <mpc-discuss@lists.gforge.inria.fr>."
   15166 
   15167 _ACEOF
   15168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15169 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15170 ac_cs_version="\\
   15171 mpc config.status 1.2.1
   15172 configured by $0, generated by GNU Autoconf 2.69,
   15173   with options \\"\$ac_cs_config\\"
   15174 
   15175 Copyright (C) 2012 Free Software Foundation, Inc.
   15176 This config.status script is free software; the Free Software Foundation
   15177 gives unlimited permission to copy, distribute and modify it."
   15178 
   15179 ac_pwd='$ac_pwd'
   15180 srcdir='$srcdir'
   15181 INSTALL='$INSTALL'
   15182 MKDIR_P='$MKDIR_P'
   15183 AWK='$AWK'
   15184 test -n "\$AWK" || AWK=awk
   15185 _ACEOF
   15186 
   15187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15188 # The default lists apply if the user does not specify any file.
   15189 ac_need_defaults=:
   15190 while test $# != 0
   15191 do
   15192   case $1 in
   15193   --*=?*)
   15194     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15195     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15196     ac_shift=:
   15197     ;;
   15198   --*=)
   15199     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15200     ac_optarg=
   15201     ac_shift=:
   15202     ;;
   15203   *)
   15204     ac_option=$1
   15205     ac_optarg=$2
   15206     ac_shift=shift
   15207     ;;
   15208   esac
   15209 
   15210   case $ac_option in
   15211   # Handling of the options.
   15212   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15213     ac_cs_recheck=: ;;
   15214   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15215     $as_echo "$ac_cs_version"; exit ;;
   15216   --config | --confi | --conf | --con | --co | --c )
   15217     $as_echo "$ac_cs_config"; exit ;;
   15218   --debug | --debu | --deb | --de | --d | -d )
   15219     debug=: ;;
   15220   --file | --fil | --fi | --f )
   15221     $ac_shift
   15222     case $ac_optarg in
   15223     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15224     '') as_fn_error $? "missing file argument" ;;
   15225     esac
   15226     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15227     ac_need_defaults=false;;
   15228   --header | --heade | --head | --hea )
   15229     $ac_shift
   15230     case $ac_optarg in
   15231     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15232     esac
   15233     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15234     ac_need_defaults=false;;
   15235   --he | --h)
   15236     # Conflict between --help and --header
   15237     as_fn_error $? "ambiguous option: \`$1'
   15238 Try \`$0 --help' for more information.";;
   15239   --help | --hel | -h )
   15240     $as_echo "$ac_cs_usage"; exit ;;
   15241   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15242   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15243     ac_cs_silent=: ;;
   15244 
   15245   # This is an error.
   15246   -*) as_fn_error $? "unrecognized option: \`$1'
   15247 Try \`$0 --help' for more information." ;;
   15248 
   15249   *) as_fn_append ac_config_targets " $1"
   15250      ac_need_defaults=false ;;
   15251 
   15252   esac
   15253   shift
   15254 done
   15255 
   15256 ac_configure_extra_args=
   15257 
   15258 if $ac_cs_silent; then
   15259   exec 6>/dev/null
   15260   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15261 fi
   15262 
   15263 _ACEOF
   15264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15265 if \$ac_cs_recheck; then
   15266   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15267   shift
   15268   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15269   CONFIG_SHELL='$SHELL'
   15270   export CONFIG_SHELL
   15271   exec "\$@"
   15272 fi
   15273 
   15274 _ACEOF
   15275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15276 exec 5>>config.log
   15277 {
   15278   echo
   15279   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15280 ## Running $as_me. ##
   15281 _ASBOX
   15282   $as_echo "$ac_log"
   15283 } >&5
   15284 
   15285 _ACEOF
   15286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15287 #
   15288 # INIT-COMMANDS
   15289 #
   15290 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   15291 
   15292 
   15293 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15294 # if CDPATH is set.
   15295 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15296 
   15297 sed_quote_subst='$sed_quote_subst'
   15298 double_quote_subst='$double_quote_subst'
   15299 delay_variable_subst='$delay_variable_subst'
   15300 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15301 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15302 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15303 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15304 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15305 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15306 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   15307 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15308 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15309 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   15310 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15311 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15312 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15313 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15314 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15315 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15316 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15317 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15318 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15319 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15320 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15321 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15322 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15323 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15324 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15325 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15326 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15327 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15328 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15329 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15330 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   15331 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   15332 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15333 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15334 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15335 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15336 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15337 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   15338 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   15339 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   15340 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   15341 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15342 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15343 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   15344 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15345 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15346 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15347 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15348 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15349 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15350 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15351 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15352 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15353 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15354 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15355 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15356 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   15357 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15358 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"`'
   15359 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   15360 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   15361 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   15362 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   15363 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15364 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15365 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15366 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15367 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15368 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15369 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15370 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15371 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   15372 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15373 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15374 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15375 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15376 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15377 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15378 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15379 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15380 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15381 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15382 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15383 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15384 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15385 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15386 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15387 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15388 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15389 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15390 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15391 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15392 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15393 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15394 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15395 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15396 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15397 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15398 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15399 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15400 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15401 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15402 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15403 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15404 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15405 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15406 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15407 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15408 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   15409 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15410 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15411 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15412 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15413 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15414 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15415 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15416 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15417 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15418 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15419 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15420 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15421 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15422 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15423 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15424 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15425 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15426 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15427 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   15428 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   15429 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15430 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15431 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15432 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15433 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15434 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15435 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   15436 
   15437 LTCC='$LTCC'
   15438 LTCFLAGS='$LTCFLAGS'
   15439 compiler='$compiler_DEFAULT'
   15440 
   15441 # A function that is used when there is no print builtin or printf.
   15442 func_fallback_echo ()
   15443 {
   15444   eval 'cat <<_LTECHO_EOF
   15445 \$1
   15446 _LTECHO_EOF'
   15447 }
   15448 
   15449 # Quote evaled strings.
   15450 for var in SHELL \
   15451 ECHO \
   15452 PATH_SEPARATOR \
   15453 SED \
   15454 GREP \
   15455 EGREP \
   15456 FGREP \
   15457 LD \
   15458 NM \
   15459 LN_S \
   15460 lt_SP2NL \
   15461 lt_NL2SP \
   15462 reload_flag \
   15463 OBJDUMP \
   15464 deplibs_check_method \
   15465 file_magic_cmd \
   15466 file_magic_glob \
   15467 want_nocaseglob \
   15468 DLLTOOL \
   15469 sharedlib_from_linklib_cmd \
   15470 AR \
   15471 AR_FLAGS \
   15472 archiver_list_spec \
   15473 STRIP \
   15474 RANLIB \
   15475 CC \
   15476 CFLAGS \
   15477 compiler \
   15478 lt_cv_sys_global_symbol_pipe \
   15479 lt_cv_sys_global_symbol_to_cdecl \
   15480 lt_cv_sys_global_symbol_to_import \
   15481 lt_cv_sys_global_symbol_to_c_name_address \
   15482 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15483 lt_cv_nm_interface \
   15484 nm_file_list_spec \
   15485 lt_cv_truncate_bin \
   15486 lt_prog_compiler_no_builtin_flag \
   15487 lt_prog_compiler_pic \
   15488 lt_prog_compiler_wl \
   15489 lt_prog_compiler_static \
   15490 lt_cv_prog_compiler_c_o \
   15491 need_locks \
   15492 MANIFEST_TOOL \
   15493 DSYMUTIL \
   15494 NMEDIT \
   15495 LIPO \
   15496 OTOOL \
   15497 OTOOL64 \
   15498 shrext_cmds \
   15499 export_dynamic_flag_spec \
   15500 whole_archive_flag_spec \
   15501 compiler_needs_object \
   15502 with_gnu_ld \
   15503 allow_undefined_flag \
   15504 no_undefined_flag \
   15505 hardcode_libdir_flag_spec \
   15506 hardcode_libdir_separator \
   15507 exclude_expsyms \
   15508 include_expsyms \
   15509 file_list_spec \
   15510 variables_saved_for_relink \
   15511 libname_spec \
   15512 library_names_spec \
   15513 soname_spec \
   15514 install_override_mode \
   15515 finish_eval \
   15516 old_striplib \
   15517 striplib \
   15518 AS; do
   15519     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15520     *[\\\\\\\`\\"\\\$]*)
   15521       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   15522       ;;
   15523     *)
   15524       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15525       ;;
   15526     esac
   15527 done
   15528 
   15529 # Double-quote double-evaled strings.
   15530 for var in reload_cmds \
   15531 old_postinstall_cmds \
   15532 old_postuninstall_cmds \
   15533 old_archive_cmds \
   15534 extract_expsyms_cmds \
   15535 old_archive_from_new_cmds \
   15536 old_archive_from_expsyms_cmds \
   15537 archive_cmds \
   15538 archive_expsym_cmds \
   15539 module_cmds \
   15540 module_expsym_cmds \
   15541 export_symbols_cmds \
   15542 prelink_cmds \
   15543 postlink_cmds \
   15544 postinstall_cmds \
   15545 postuninstall_cmds \
   15546 finish_cmds \
   15547 sys_lib_search_path_spec \
   15548 configure_time_dlsearch_path \
   15549 configure_time_lt_sys_library_path; do
   15550     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15551     *[\\\\\\\`\\"\\\$]*)
   15552       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   15553       ;;
   15554     *)
   15555       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15556       ;;
   15557     esac
   15558 done
   15559 
   15560 ac_aux_dir='$ac_aux_dir'
   15561 
   15562 # See if we are running on zsh, and set the options that allow our
   15563 # commands through without removal of \ escapes INIT.
   15564 if test -n "\${ZSH_VERSION+set}"; then
   15565    setopt NO_GLOB_SUBST
   15566 fi
   15567 
   15568 
   15569     PACKAGE='$PACKAGE'
   15570     VERSION='$VERSION'
   15571     RM='$RM'
   15572     ofile='$ofile'
   15573 
   15574 
   15575 
   15576 
   15577 _ACEOF
   15578 
   15579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15580 
   15581 # Handling of arguments.
   15582 for ac_config_target in $ac_config_targets
   15583 do
   15584   case $ac_config_target in
   15585     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15586     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15587     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15588     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15589     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   15590     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   15591     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   15592     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   15593     "tools/bench/Makefile") CONFIG_FILES="$CONFIG_FILES tools/bench/Makefile" ;;
   15594     "tools/mpcheck/Makefile") CONFIG_FILES="$CONFIG_FILES tools/mpcheck/Makefile" ;;
   15595 
   15596   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15597   esac
   15598 done
   15599 
   15600 
   15601 # If the user did not use the arguments to specify the items to instantiate,
   15602 # then the envvar interface is used.  Set only those that are not.
   15603 # We use the long form for the default assignment because of an extremely
   15604 # bizarre bug on SunOS 4.1.3.
   15605 if $ac_need_defaults; then
   15606   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15607   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15608   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15609 fi
   15610 
   15611 # Have a temporary directory for convenience.  Make it in the build tree
   15612 # simply because there is no reason against having it here, and in addition,
   15613 # creating and moving files from /tmp can sometimes cause problems.
   15614 # Hook for its removal unless debugging.
   15615 # Note that there is a small window in which the directory will not be cleaned:
   15616 # after its creation but before its name has been assigned to `$tmp'.
   15617 $debug ||
   15618 {
   15619   tmp= ac_tmp=
   15620   trap 'exit_status=$?
   15621   : "${ac_tmp:=$tmp}"
   15622   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15623 ' 0
   15624   trap 'as_fn_exit 1' 1 2 13 15
   15625 }
   15626 # Create a (secure) tmp directory for tmp files.
   15627 
   15628 {
   15629   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15630   test -d "$tmp"
   15631 }  ||
   15632 {
   15633   tmp=./conf$$-$RANDOM
   15634   (umask 077 && mkdir "$tmp")
   15635 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15636 ac_tmp=$tmp
   15637 
   15638 # Set up the scripts for CONFIG_FILES section.
   15639 # No need to generate them if there are no CONFIG_FILES.
   15640 # This happens for instance with `./config.status config.h'.
   15641 if test -n "$CONFIG_FILES"; then
   15642 
   15643 
   15644 ac_cr=`echo X | tr X '\015'`
   15645 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15646 # But we know of no other shell where ac_cr would be empty at this
   15647 # point, so we can use a bashism as a fallback.
   15648 if test "x$ac_cr" = x; then
   15649   eval ac_cr=\$\'\\r\'
   15650 fi
   15651 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15653   ac_cs_awk_cr='\\r'
   15654 else
   15655   ac_cs_awk_cr=$ac_cr
   15656 fi
   15657 
   15658 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15659 _ACEOF
   15660 
   15661 
   15662 {
   15663   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15664   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15665   echo "_ACEOF"
   15666 } >conf$$subs.sh ||
   15667   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15668 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15669 ac_delim='%!_!# '
   15670 for ac_last_try in false false false false false :; do
   15671   . ./conf$$subs.sh ||
   15672     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15673 
   15674   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15675   if test $ac_delim_n = $ac_delim_num; then
   15676     break
   15677   elif $ac_last_try; then
   15678     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15679   else
   15680     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15681   fi
   15682 done
   15683 rm -f conf$$subs.sh
   15684 
   15685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15686 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15687 _ACEOF
   15688 sed -n '
   15689 h
   15690 s/^/S["/; s/!.*/"]=/
   15691 p
   15692 g
   15693 s/^[^!]*!//
   15694 :repl
   15695 t repl
   15696 s/'"$ac_delim"'$//
   15697 t delim
   15698 :nl
   15699 h
   15700 s/\(.\{148\}\)..*/\1/
   15701 t more1
   15702 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15703 p
   15704 n
   15705 b repl
   15706 :more1
   15707 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15708 p
   15709 g
   15710 s/.\{148\}//
   15711 t nl
   15712 :delim
   15713 h
   15714 s/\(.\{148\}\)..*/\1/
   15715 t more2
   15716 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15717 p
   15718 b
   15719 :more2
   15720 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15721 p
   15722 g
   15723 s/.\{148\}//
   15724 t delim
   15725 ' <conf$$subs.awk | sed '
   15726 /^[^""]/{
   15727   N
   15728   s/\n//
   15729 }
   15730 ' >>$CONFIG_STATUS || ac_write_fail=1
   15731 rm -f conf$$subs.awk
   15732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15733 _ACAWK
   15734 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15735   for (key in S) S_is_set[key] = 1
   15736   FS = ""
   15737 
   15738 }
   15739 {
   15740   line = $ 0
   15741   nfields = split(line, field, "@")
   15742   substed = 0
   15743   len = length(field[1])
   15744   for (i = 2; i < nfields; i++) {
   15745     key = field[i]
   15746     keylen = length(key)
   15747     if (S_is_set[key]) {
   15748       value = S[key]
   15749       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15750       len += length(value) + length(field[++i])
   15751       substed = 1
   15752     } else
   15753       len += 1 + keylen
   15754   }
   15755 
   15756   print line
   15757 }
   15758 
   15759 _ACAWK
   15760 _ACEOF
   15761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15762 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15763   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15764 else
   15765   cat
   15766 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15767   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15768 _ACEOF
   15769 
   15770 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15771 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15772 # trailing colons and then remove the whole line if VPATH becomes empty
   15773 # (actually we leave an empty line to preserve line numbers).
   15774 if test "x$srcdir" = x.; then
   15775   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15776 h
   15777 s///
   15778 s/^/:/
   15779 s/[	 ]*$/:/
   15780 s/:\$(srcdir):/:/g
   15781 s/:\${srcdir}:/:/g
   15782 s/:@srcdir@:/:/g
   15783 s/^:*//
   15784 s/:*$//
   15785 x
   15786 s/\(=[	 ]*\).*/\1/
   15787 G
   15788 s/\n//
   15789 s/^[^=]*=[	 ]*$//
   15790 }'
   15791 fi
   15792 
   15793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15794 fi # test -n "$CONFIG_FILES"
   15795 
   15796 # Set up the scripts for CONFIG_HEADERS section.
   15797 # No need to generate them if there are no CONFIG_HEADERS.
   15798 # This happens for instance with `./config.status Makefile'.
   15799 if test -n "$CONFIG_HEADERS"; then
   15800 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15801 BEGIN {
   15802 _ACEOF
   15803 
   15804 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15805 # here-document in config.status, that substitutes the proper values into
   15806 # config.h.in to produce config.h.
   15807 
   15808 # Create a delimiter string that does not exist in confdefs.h, to ease
   15809 # handling of long lines.
   15810 ac_delim='%!_!# '
   15811 for ac_last_try in false false :; do
   15812   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15813   if test -z "$ac_tt"; then
   15814     break
   15815   elif $ac_last_try; then
   15816     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15817   else
   15818     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15819   fi
   15820 done
   15821 
   15822 # For the awk script, D is an array of macro values keyed by name,
   15823 # likewise P contains macro parameters if any.  Preserve backslash
   15824 # newline sequences.
   15825 
   15826 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15827 sed -n '
   15828 s/.\{148\}/&'"$ac_delim"'/g
   15829 t rset
   15830 :rset
   15831 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15832 t def
   15833 d
   15834 :def
   15835 s/\\$//
   15836 t bsnl
   15837 s/["\\]/\\&/g
   15838 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15839 D["\1"]=" \3"/p
   15840 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15841 d
   15842 :bsnl
   15843 s/["\\]/\\&/g
   15844 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15845 D["\1"]=" \3\\\\\\n"\\/p
   15846 t cont
   15847 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15848 t cont
   15849 d
   15850 :cont
   15851 n
   15852 s/.\{148\}/&'"$ac_delim"'/g
   15853 t clear
   15854 :clear
   15855 s/\\$//
   15856 t bsnlc
   15857 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15858 d
   15859 :bsnlc
   15860 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15861 b cont
   15862 ' <confdefs.h | sed '
   15863 s/'"$ac_delim"'/"\\\
   15864 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15865 
   15866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15867   for (key in D) D_is_set[key] = 1
   15868   FS = ""
   15869 }
   15870 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15871   line = \$ 0
   15872   split(line, arg, " ")
   15873   if (arg[1] == "#") {
   15874     defundef = arg[2]
   15875     mac1 = arg[3]
   15876   } else {
   15877     defundef = substr(arg[1], 2)
   15878     mac1 = arg[2]
   15879   }
   15880   split(mac1, mac2, "(") #)
   15881   macro = mac2[1]
   15882   prefix = substr(line, 1, index(line, defundef) - 1)
   15883   if (D_is_set[macro]) {
   15884     # Preserve the white space surrounding the "#".
   15885     print prefix "define", macro P[macro] D[macro]
   15886     next
   15887   } else {
   15888     # Replace #undef with comments.  This is necessary, for example,
   15889     # in the case of _POSIX_SOURCE, which is predefined and required
   15890     # on some systems where configure will not decide to define it.
   15891     if (defundef == "undef") {
   15892       print "/*", prefix defundef, macro, "*/"
   15893       next
   15894     }
   15895   }
   15896 }
   15897 { print }
   15898 _ACAWK
   15899 _ACEOF
   15900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15901   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15902 fi # test -n "$CONFIG_HEADERS"
   15903 
   15904 
   15905 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15906 shift
   15907 for ac_tag
   15908 do
   15909   case $ac_tag in
   15910   :[FHLC]) ac_mode=$ac_tag; continue;;
   15911   esac
   15912   case $ac_mode$ac_tag in
   15913   :[FHL]*:*);;
   15914   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15915   :[FH]-) ac_tag=-:-;;
   15916   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15917   esac
   15918   ac_save_IFS=$IFS
   15919   IFS=:
   15920   set x $ac_tag
   15921   IFS=$ac_save_IFS
   15922   shift
   15923   ac_file=$1
   15924   shift
   15925 
   15926   case $ac_mode in
   15927   :L) ac_source=$1;;
   15928   :[FH])
   15929     ac_file_inputs=
   15930     for ac_f
   15931     do
   15932       case $ac_f in
   15933       -) ac_f="$ac_tmp/stdin";;
   15934       *) # Look for the file first in the build tree, then in the source tree
   15935 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15936 	 # because $ac_f cannot contain `:'.
   15937 	 test -f "$ac_f" ||
   15938 	   case $ac_f in
   15939 	   [\\/$]*) false;;
   15940 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15941 	   esac ||
   15942 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15943       esac
   15944       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15945       as_fn_append ac_file_inputs " '$ac_f'"
   15946     done
   15947 
   15948     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15949     # use $as_me), people would be surprised to read:
   15950     #    /* config.h.  Generated by config.status.  */
   15951     configure_input='Generated from '`
   15952 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15953 	`' by configure.'
   15954     if test x"$ac_file" != x-; then
   15955       configure_input="$ac_file.  $configure_input"
   15956       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15957 $as_echo "$as_me: creating $ac_file" >&6;}
   15958     fi
   15959     # Neutralize special characters interpreted by sed in replacement strings.
   15960     case $configure_input in #(
   15961     *\&* | *\|* | *\\* )
   15962        ac_sed_conf_input=`$as_echo "$configure_input" |
   15963        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15964     *) ac_sed_conf_input=$configure_input;;
   15965     esac
   15966 
   15967     case $ac_tag in
   15968     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15969       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15970     esac
   15971     ;;
   15972   esac
   15973 
   15974   ac_dir=`$as_dirname -- "$ac_file" ||
   15975 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15976 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15977 	 X"$ac_file" : 'X\(//\)$' \| \
   15978 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15979 $as_echo X"$ac_file" |
   15980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15981 	    s//\1/
   15982 	    q
   15983 	  }
   15984 	  /^X\(\/\/\)[^/].*/{
   15985 	    s//\1/
   15986 	    q
   15987 	  }
   15988 	  /^X\(\/\/\)$/{
   15989 	    s//\1/
   15990 	    q
   15991 	  }
   15992 	  /^X\(\/\).*/{
   15993 	    s//\1/
   15994 	    q
   15995 	  }
   15996 	  s/.*/./; q'`
   15997   as_dir="$ac_dir"; as_fn_mkdir_p
   15998   ac_builddir=.
   15999 
   16000 case "$ac_dir" in
   16001 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16002 *)
   16003   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   16004   # A ".." for each directory in $ac_dir_suffix.
   16005   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16006   case $ac_top_builddir_sub in
   16007   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16008   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16009   esac ;;
   16010 esac
   16011 ac_abs_top_builddir=$ac_pwd
   16012 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16013 # for backward compatibility:
   16014 ac_top_builddir=$ac_top_build_prefix
   16015 
   16016 case $srcdir in
   16017   .)  # We are building in place.
   16018     ac_srcdir=.
   16019     ac_top_srcdir=$ac_top_builddir_sub
   16020     ac_abs_top_srcdir=$ac_pwd ;;
   16021   [\\/]* | ?:[\\/]* )  # Absolute name.
   16022     ac_srcdir=$srcdir$ac_dir_suffix;
   16023     ac_top_srcdir=$srcdir
   16024     ac_abs_top_srcdir=$srcdir ;;
   16025   *) # Relative name.
   16026     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16027     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16028     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16029 esac
   16030 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16031 
   16032 
   16033   case $ac_mode in
   16034   :F)
   16035   #
   16036   # CONFIG_FILE
   16037   #
   16038 
   16039   case $INSTALL in
   16040   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16041   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16042   esac
   16043   ac_MKDIR_P=$MKDIR_P
   16044   case $MKDIR_P in
   16045   [\\/$]* | ?:[\\/]* ) ;;
   16046   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16047   esac
   16048 _ACEOF
   16049 
   16050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16051 # If the template does not know about datarootdir, expand it.
   16052 # FIXME: This hack should be removed a few years after 2.60.
   16053 ac_datarootdir_hack=; ac_datarootdir_seen=
   16054 ac_sed_dataroot='
   16055 /datarootdir/ {
   16056   p
   16057   q
   16058 }
   16059 /@datadir@/p
   16060 /@docdir@/p
   16061 /@infodir@/p
   16062 /@localedir@/p
   16063 /@mandir@/p'
   16064 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16065 *datarootdir*) ac_datarootdir_seen=yes;;
   16066 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16068 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16069 _ACEOF
   16070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16071   ac_datarootdir_hack='
   16072   s&@datadir@&$datadir&g
   16073   s&@docdir@&$docdir&g
   16074   s&@infodir@&$infodir&g
   16075   s&@localedir@&$localedir&g
   16076   s&@mandir@&$mandir&g
   16077   s&\\\${datarootdir}&$datarootdir&g' ;;
   16078 esac
   16079 _ACEOF
   16080 
   16081 # Neutralize VPATH when `$srcdir' = `.'.
   16082 # Shell code in configure.ac might set extrasub.
   16083 # FIXME: do we really want to maintain this feature?
   16084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16085 ac_sed_extra="$ac_vpsub
   16086 $extrasub
   16087 _ACEOF
   16088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16089 :t
   16090 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16091 s|@configure_input@|$ac_sed_conf_input|;t t
   16092 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16093 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16094 s&@srcdir@&$ac_srcdir&;t t
   16095 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16096 s&@top_srcdir@&$ac_top_srcdir&;t t
   16097 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16098 s&@builddir@&$ac_builddir&;t t
   16099 s&@abs_builddir@&$ac_abs_builddir&;t t
   16100 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16101 s&@INSTALL@&$ac_INSTALL&;t t
   16102 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16103 $ac_datarootdir_hack
   16104 "
   16105 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   16106   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16107 
   16108 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16109   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16110   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16111       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16112   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16113 which seems to be undefined.  Please make sure it is defined" >&5
   16114 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16115 which seems to be undefined.  Please make sure it is defined" >&2;}
   16116 
   16117   rm -f "$ac_tmp/stdin"
   16118   case $ac_file in
   16119   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16120   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16121   esac \
   16122   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16123  ;;
   16124   :H)
   16125   #
   16126   # CONFIG_HEADER
   16127   #
   16128   if test x"$ac_file" != x-; then
   16129     {
   16130       $as_echo "/* $configure_input  */" \
   16131       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   16132     } >"$ac_tmp/config.h" \
   16133       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16134     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   16135       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16136 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16137     else
   16138       rm -f "$ac_file"
   16139       mv "$ac_tmp/config.h" "$ac_file" \
   16140 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16141     fi
   16142   else
   16143     $as_echo "/* $configure_input  */" \
   16144       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16145       || as_fn_error $? "could not create -" "$LINENO" 5
   16146   fi
   16147 # Compute "$ac_file"'s index in $config_headers.
   16148 _am_arg="$ac_file"
   16149 _am_stamp_count=1
   16150 for _am_header in $config_headers :; do
   16151   case $_am_header in
   16152     $_am_arg | $_am_arg:* )
   16153       break ;;
   16154     * )
   16155       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16156   esac
   16157 done
   16158 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16159 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16160 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16161 	 X"$_am_arg" : 'X\(//\)$' \| \
   16162 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16163 $as_echo X"$_am_arg" |
   16164     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16165 	    s//\1/
   16166 	    q
   16167 	  }
   16168 	  /^X\(\/\/\)[^/].*/{
   16169 	    s//\1/
   16170 	    q
   16171 	  }
   16172 	  /^X\(\/\/\)$/{
   16173 	    s//\1/
   16174 	    q
   16175 	  }
   16176 	  /^X\(\/\).*/{
   16177 	    s//\1/
   16178 	    q
   16179 	  }
   16180 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16181  ;;
   16182 
   16183   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16184 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16185  ;;
   16186   esac
   16187 
   16188 
   16189   case $ac_file$ac_mode in
   16190     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16191   # Older Autoconf quotes --file arguments for eval, but not when files
   16192   # are listed without --file.  Let's play safe and only enable the eval
   16193   # if we detect the quoting.
   16194   # TODO: see whether this extra hack can be removed once we start
   16195   # requiring Autoconf 2.70 or later.
   16196   case $CONFIG_FILES in #(
   16197   *\'*) :
   16198     eval set x "$CONFIG_FILES" ;; #(
   16199   *) :
   16200     set x $CONFIG_FILES ;; #(
   16201   *) :
   16202      ;;
   16203 esac
   16204   shift
   16205   # Used to flag and report bootstrapping failures.
   16206   am_rc=0
   16207   for am_mf
   16208   do
   16209     # Strip MF so we end up with the name of the file.
   16210     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   16211     # Check whether this is an Automake generated Makefile which includes
   16212     # dependency-tracking related rules and includes.
   16213     # Grep'ing the whole file directly is not great: AIX grep has a line
   16214     # limit of 2048, but all sed's we know have understand at least 4000.
   16215     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   16216       || continue
   16217     am_dirpart=`$as_dirname -- "$am_mf" ||
   16218 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16219 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   16220 	 X"$am_mf" : 'X\(//\)$' \| \
   16221 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   16222 $as_echo X"$am_mf" |
   16223     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16224 	    s//\1/
   16225 	    q
   16226 	  }
   16227 	  /^X\(\/\/\)[^/].*/{
   16228 	    s//\1/
   16229 	    q
   16230 	  }
   16231 	  /^X\(\/\/\)$/{
   16232 	    s//\1/
   16233 	    q
   16234 	  }
   16235 	  /^X\(\/\).*/{
   16236 	    s//\1/
   16237 	    q
   16238 	  }
   16239 	  s/.*/./; q'`
   16240     am_filepart=`$as_basename -- "$am_mf" ||
   16241 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   16242 	 X"$am_mf" : 'X\(//\)$' \| \
   16243 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   16244 $as_echo X/"$am_mf" |
   16245     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16246 	    s//\1/
   16247 	    q
   16248 	  }
   16249 	  /^X\/\(\/\/\)$/{
   16250 	    s//\1/
   16251 	    q
   16252 	  }
   16253 	  /^X\/\(\/\).*/{
   16254 	    s//\1/
   16255 	    q
   16256 	  }
   16257 	  s/.*/./; q'`
   16258     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   16259       && sed -e '/# am--include-marker/d' "$am_filepart" \
   16260         | $MAKE -f - am--depfiles" >&5
   16261    (cd "$am_dirpart" \
   16262       && sed -e '/# am--include-marker/d' "$am_filepart" \
   16263         | $MAKE -f - am--depfiles) >&5 2>&5
   16264    ac_status=$?
   16265    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16266    (exit $ac_status); } || am_rc=$?
   16267   done
   16268   if test $am_rc -ne 0; then
   16269     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16271 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   16272     for automatic dependency tracking.  If GNU make was not used, consider
   16273     re-running the configure script with MAKE=\"gmake\" (or whatever is
   16274     necessary).  You can also try re-running configure with the
   16275     '--disable-dependency-tracking' option to at least be able to build
   16276     the package (albeit without support for automatic dependency tracking).
   16277 See \`config.log' for more details" "$LINENO" 5; }
   16278   fi
   16279   { am_dirpart=; unset am_dirpart;}
   16280   { am_filepart=; unset am_filepart;}
   16281   { am_mf=; unset am_mf;}
   16282   { am_rc=; unset am_rc;}
   16283   rm -f conftest-deps.mk
   16284 }
   16285  ;;
   16286     "libtool":C)
   16287 
   16288     # See if we are running on zsh, and set the options that allow our
   16289     # commands through without removal of \ escapes.
   16290     if test -n "${ZSH_VERSION+set}"; then
   16291       setopt NO_GLOB_SUBST
   16292     fi
   16293 
   16294     cfgfile=${ofile}T
   16295     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16296     $RM "$cfgfile"
   16297 
   16298     cat <<_LT_EOF >> "$cfgfile"
   16299 #! $SHELL
   16300 # Generated automatically by $as_me ($PACKAGE) $VERSION
   16301 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16302 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16303 
   16304 # Provide generalized library-building support services.
   16305 # Written by Gordon Matzigkeit, 1996
   16306 
   16307 # Copyright (C) 2014 Free Software Foundation, Inc.
   16308 # This is free software; see the source for copying conditions.  There is NO
   16309 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   16310 
   16311 # GNU Libtool is free software; you can redistribute it and/or modify
   16312 # it under the terms of the GNU General Public License as published by
   16313 # the Free Software Foundation; either version 2 of of the License, or
   16314 # (at your option) any later version.
   16315 #
   16316 # As a special exception to the GNU General Public License, if you
   16317 # distribute this file as part of a program or library that is built
   16318 # using GNU Libtool, you may include this file under the  same
   16319 # distribution terms that you use for the rest of that program.
   16320 #
   16321 # GNU Libtool is distributed in the hope that it will be useful, but
   16322 # WITHOUT ANY WARRANTY; without even the implied warranty of
   16323 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16324 # GNU General Public License for more details.
   16325 #
   16326 # You should have received a copy of the GNU General Public License
   16327 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   16328 
   16329 
   16330 # The names of the tagged configurations supported by this script.
   16331 available_tags=''
   16332 
   16333 # Configured defaults for sys_lib_dlsearch_path munging.
   16334 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   16335 
   16336 # ### BEGIN LIBTOOL CONFIG
   16337 
   16338 # Which release of libtool.m4 was used?
   16339 macro_version=$macro_version
   16340 macro_revision=$macro_revision
   16341 
   16342 # Whether or not to build shared libraries.
   16343 build_libtool_libs=$enable_shared
   16344 
   16345 # Whether or not to build static libraries.
   16346 build_old_libs=$enable_static
   16347 
   16348 # What type of objects to build.
   16349 pic_mode=$pic_mode
   16350 
   16351 # Whether or not to optimize for fast installation.
   16352 fast_install=$enable_fast_install
   16353 
   16354 # Shared archive member basename,for filename based shared library versioning on AIX.
   16355 shared_archive_member_spec=$shared_archive_member_spec
   16356 
   16357 # Shell to use when invoking shell scripts.
   16358 SHELL=$lt_SHELL
   16359 
   16360 # An echo program that protects backslashes.
   16361 ECHO=$lt_ECHO
   16362 
   16363 # The PATH separator for the build system.
   16364 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   16365 
   16366 # The host system.
   16367 host_alias=$host_alias
   16368 host=$host
   16369 host_os=$host_os
   16370 
   16371 # The build system.
   16372 build_alias=$build_alias
   16373 build=$build
   16374 build_os=$build_os
   16375 
   16376 # A sed program that does not truncate output.
   16377 SED=$lt_SED
   16378 
   16379 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16380 Xsed="\$SED -e 1s/^X//"
   16381 
   16382 # A grep program that handles long lines.
   16383 GREP=$lt_GREP
   16384 
   16385 # An ERE matcher.
   16386 EGREP=$lt_EGREP
   16387 
   16388 # A literal string matcher.
   16389 FGREP=$lt_FGREP
   16390 
   16391 # A BSD- or MS-compatible name lister.
   16392 NM=$lt_NM
   16393 
   16394 # Whether we need soft or hard links.
   16395 LN_S=$lt_LN_S
   16396 
   16397 # What is the maximum length of a command?
   16398 max_cmd_len=$max_cmd_len
   16399 
   16400 # Object file suffix (normally "o").
   16401 objext=$ac_objext
   16402 
   16403 # Executable file suffix (normally "").
   16404 exeext=$exeext
   16405 
   16406 # whether the shell understands "unset".
   16407 lt_unset=$lt_unset
   16408 
   16409 # turn spaces into newlines.
   16410 SP2NL=$lt_lt_SP2NL
   16411 
   16412 # turn newlines into spaces.
   16413 NL2SP=$lt_lt_NL2SP
   16414 
   16415 # convert \$build file names to \$host format.
   16416 to_host_file_cmd=$lt_cv_to_host_file_cmd
   16417 
   16418 # convert \$build files to toolchain format.
   16419 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   16420 
   16421 # An object symbol dumper.
   16422 OBJDUMP=$lt_OBJDUMP
   16423 
   16424 # Method to check whether dependent libraries are shared objects.
   16425 deplibs_check_method=$lt_deplibs_check_method
   16426 
   16427 # Command to use when deplibs_check_method = "file_magic".
   16428 file_magic_cmd=$lt_file_magic_cmd
   16429 
   16430 # How to find potential files when deplibs_check_method = "file_magic".
   16431 file_magic_glob=$lt_file_magic_glob
   16432 
   16433 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   16434 want_nocaseglob=$lt_want_nocaseglob
   16435 
   16436 # DLL creation program.
   16437 DLLTOOL=$lt_DLLTOOL
   16438 
   16439 # Command to associate shared and link libraries.
   16440 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   16441 
   16442 # The archiver.
   16443 AR=$lt_AR
   16444 
   16445 # Flags to create an archive.
   16446 AR_FLAGS=$lt_AR_FLAGS
   16447 
   16448 # How to feed a file listing to the archiver.
   16449 archiver_list_spec=$lt_archiver_list_spec
   16450 
   16451 # A symbol stripping program.
   16452 STRIP=$lt_STRIP
   16453 
   16454 # Commands used to install an old-style archive.
   16455 RANLIB=$lt_RANLIB
   16456 old_postinstall_cmds=$lt_old_postinstall_cmds
   16457 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16458 
   16459 # Whether to use a lock for old archive extraction.
   16460 lock_old_archive_extraction=$lock_old_archive_extraction
   16461 
   16462 # A C compiler.
   16463 LTCC=$lt_CC
   16464 
   16465 # LTCC compiler flags.
   16466 LTCFLAGS=$lt_CFLAGS
   16467 
   16468 # Take the output of nm and produce a listing of raw symbols and C names.
   16469 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16470 
   16471 # Transform the output of nm in a proper C declaration.
   16472 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16473 
   16474 # Transform the output of nm into a list of symbols to manually relocate.
   16475 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   16476 
   16477 # Transform the output of nm in a C name address pair.
   16478 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16479 
   16480 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16481 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16482 
   16483 # The name lister interface.
   16484 nm_interface=$lt_lt_cv_nm_interface
   16485 
   16486 # Specify filename containing input files for \$NM.
   16487 nm_file_list_spec=$lt_nm_file_list_spec
   16488 
   16489 # The root where to search for dependent libraries,and where our libraries should be installed.
   16490 lt_sysroot=$lt_sysroot
   16491 
   16492 # Command to truncate a binary pipe.
   16493 lt_truncate_bin=$lt_lt_cv_truncate_bin
   16494 
   16495 # The name of the directory that contains temporary libtool files.
   16496 objdir=$objdir
   16497 
   16498 # Used to examine libraries when file_magic_cmd begins with "file".
   16499 MAGIC_CMD=$MAGIC_CMD
   16500 
   16501 # Must we lock files when doing compilation?
   16502 need_locks=$lt_need_locks
   16503 
   16504 # Manifest tool.
   16505 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   16506 
   16507 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16508 DSYMUTIL=$lt_DSYMUTIL
   16509 
   16510 # Tool to change global to local symbols on Mac OS X.
   16511 NMEDIT=$lt_NMEDIT
   16512 
   16513 # Tool to manipulate fat objects and archives on Mac OS X.
   16514 LIPO=$lt_LIPO
   16515 
   16516 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16517 OTOOL=$lt_OTOOL
   16518 
   16519 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16520 OTOOL64=$lt_OTOOL64
   16521 
   16522 # Old archive suffix (normally "a").
   16523 libext=$libext
   16524 
   16525 # Shared library suffix (normally ".so").
   16526 shrext_cmds=$lt_shrext_cmds
   16527 
   16528 # The commands to extract the exported symbol list from a shared archive.
   16529 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16530 
   16531 # Variables whose values should be saved in libtool wrapper scripts and
   16532 # restored at link time.
   16533 variables_saved_for_relink=$lt_variables_saved_for_relink
   16534 
   16535 # Do we need the "lib" prefix for modules?
   16536 need_lib_prefix=$need_lib_prefix
   16537 
   16538 # Do we need a version for libraries?
   16539 need_version=$need_version
   16540 
   16541 # Library versioning type.
   16542 version_type=$version_type
   16543 
   16544 # Shared library runtime path variable.
   16545 runpath_var=$runpath_var
   16546 
   16547 # Shared library path variable.
   16548 shlibpath_var=$shlibpath_var
   16549 
   16550 # Is shlibpath searched before the hard-coded library search path?
   16551 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16552 
   16553 # Format of library name prefix.
   16554 libname_spec=$lt_libname_spec
   16555 
   16556 # List of archive names.  First name is the real one, the rest are links.
   16557 # The last name is the one that the linker finds with -lNAME
   16558 library_names_spec=$lt_library_names_spec
   16559 
   16560 # The coded name of the library, if different from the real name.
   16561 soname_spec=$lt_soname_spec
   16562 
   16563 # Permission mode override for installation of shared libraries.
   16564 install_override_mode=$lt_install_override_mode
   16565 
   16566 # Command to use after installation of a shared archive.
   16567 postinstall_cmds=$lt_postinstall_cmds
   16568 
   16569 # Command to use after uninstallation of a shared archive.
   16570 postuninstall_cmds=$lt_postuninstall_cmds
   16571 
   16572 # Commands used to finish a libtool library installation in a directory.
   16573 finish_cmds=$lt_finish_cmds
   16574 
   16575 # As "finish_cmds", except a single script fragment to be evaled but
   16576 # not shown.
   16577 finish_eval=$lt_finish_eval
   16578 
   16579 # Whether we should hardcode library paths into libraries.
   16580 hardcode_into_libs=$hardcode_into_libs
   16581 
   16582 # Compile-time system search path for libraries.
   16583 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16584 
   16585 # Detected run-time system search path for libraries.
   16586 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   16587 
   16588 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   16589 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   16590 
   16591 # Whether dlopen is supported.
   16592 dlopen_support=$enable_dlopen
   16593 
   16594 # Whether dlopen of programs is supported.
   16595 dlopen_self=$enable_dlopen_self
   16596 
   16597 # Whether dlopen of statically linked programs is supported.
   16598 dlopen_self_static=$enable_dlopen_self_static
   16599 
   16600 # Commands to strip libraries.
   16601 old_striplib=$lt_old_striplib
   16602 striplib=$lt_striplib
   16603 
   16604 # Assembler program.
   16605 AS=$lt_AS
   16606 
   16607 
   16608 # The linker used to build libraries.
   16609 LD=$lt_LD
   16610 
   16611 # How to create reloadable object files.
   16612 reload_flag=$lt_reload_flag
   16613 reload_cmds=$lt_reload_cmds
   16614 
   16615 # Commands used to build an old-style archive.
   16616 old_archive_cmds=$lt_old_archive_cmds
   16617 
   16618 # A language specific compiler.
   16619 CC=$lt_compiler
   16620 
   16621 # Is the compiler the GNU compiler?
   16622 with_gcc=$GCC
   16623 
   16624 # Compiler flag to turn off builtin functions.
   16625 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16626 
   16627 # Additional compiler flags for building library objects.
   16628 pic_flag=$lt_lt_prog_compiler_pic
   16629 
   16630 # How to pass a linker flag through the compiler.
   16631 wl=$lt_lt_prog_compiler_wl
   16632 
   16633 # Compiler flag to prevent dynamic linking.
   16634 link_static_flag=$lt_lt_prog_compiler_static
   16635 
   16636 # Does compiler simultaneously support -c and -o options?
   16637 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16638 
   16639 # Whether or not to add -lc for building shared libraries.
   16640 build_libtool_need_lc=$archive_cmds_need_lc
   16641 
   16642 # Whether or not to disallow shared libs when runtime libs are static.
   16643 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16644 
   16645 # Compiler flag to allow reflexive dlopens.
   16646 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16647 
   16648 # Compiler flag to generate shared objects directly from archives.
   16649 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16650 
   16651 # Whether the compiler copes with passing no objects directly.
   16652 compiler_needs_object=$lt_compiler_needs_object
   16653 
   16654 # Create an old-style archive from a shared archive.
   16655 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16656 
   16657 # Create a temporary old-style archive to link instead of a shared archive.
   16658 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16659 
   16660 # Commands used to build a shared archive.
   16661 archive_cmds=$lt_archive_cmds
   16662 archive_expsym_cmds=$lt_archive_expsym_cmds
   16663 
   16664 # Commands used to build a loadable module if different from building
   16665 # a shared archive.
   16666 module_cmds=$lt_module_cmds
   16667 module_expsym_cmds=$lt_module_expsym_cmds
   16668 
   16669 # Whether we are building with GNU ld or not.
   16670 with_gnu_ld=$lt_with_gnu_ld
   16671 
   16672 # Flag that allows shared libraries with undefined symbols to be built.
   16673 allow_undefined_flag=$lt_allow_undefined_flag
   16674 
   16675 # Flag that enforces no undefined symbols.
   16676 no_undefined_flag=$lt_no_undefined_flag
   16677 
   16678 # Flag to hardcode \$libdir into a binary during linking.
   16679 # This must work even if \$libdir does not exist
   16680 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16681 
   16682 # Whether we need a single "-rpath" flag with a separated argument.
   16683 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16684 
   16685 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   16686 # DIR into the resulting binary.
   16687 hardcode_direct=$hardcode_direct
   16688 
   16689 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   16690 # DIR into the resulting binary and the resulting library dependency is
   16691 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   16692 # library is relocated.
   16693 hardcode_direct_absolute=$hardcode_direct_absolute
   16694 
   16695 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16696 # into the resulting binary.
   16697 hardcode_minus_L=$hardcode_minus_L
   16698 
   16699 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16700 # into the resulting binary.
   16701 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16702 
   16703 # Set to "yes" if building a shared library automatically hardcodes DIR
   16704 # into the library and all subsequent libraries and executables linked
   16705 # against it.
   16706 hardcode_automatic=$hardcode_automatic
   16707 
   16708 # Set to yes if linker adds runtime paths of dependent libraries
   16709 # to runtime path list.
   16710 inherit_rpath=$inherit_rpath
   16711 
   16712 # Whether libtool must link a program against all its dependency libraries.
   16713 link_all_deplibs=$link_all_deplibs
   16714 
   16715 # Set to "yes" if exported symbols are required.
   16716 always_export_symbols=$always_export_symbols
   16717 
   16718 # The commands to list exported symbols.
   16719 export_symbols_cmds=$lt_export_symbols_cmds
   16720 
   16721 # Symbols that should not be listed in the preloaded symbols.
   16722 exclude_expsyms=$lt_exclude_expsyms
   16723 
   16724 # Symbols that must always be exported.
   16725 include_expsyms=$lt_include_expsyms
   16726 
   16727 # Commands necessary for linking programs (against libraries) with templates.
   16728 prelink_cmds=$lt_prelink_cmds
   16729 
   16730 # Commands necessary for finishing linking programs.
   16731 postlink_cmds=$lt_postlink_cmds
   16732 
   16733 # Specify filename containing input files.
   16734 file_list_spec=$lt_file_list_spec
   16735 
   16736 # How to hardcode a shared library path into an executable.
   16737 hardcode_action=$hardcode_action
   16738 
   16739 # ### END LIBTOOL CONFIG
   16740 
   16741 _LT_EOF
   16742 
   16743     cat <<'_LT_EOF' >> "$cfgfile"
   16744 
   16745 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   16746 
   16747 # func_munge_path_list VARIABLE PATH
   16748 # -----------------------------------
   16749 # VARIABLE is name of variable containing _space_ separated list of
   16750 # directories to be munged by the contents of PATH, which is string
   16751 # having a format:
   16752 # "DIR[:DIR]:"
   16753 #       string "DIR[ DIR]" will be prepended to VARIABLE
   16754 # ":DIR[:DIR]"
   16755 #       string "DIR[ DIR]" will be appended to VARIABLE
   16756 # "DIRP[:DIRP]::[DIRA:]DIRA"
   16757 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   16758 #       "DIRA[ DIRA]" will be appended to VARIABLE
   16759 # "DIR[:DIR]"
   16760 #       VARIABLE will be replaced by "DIR[ DIR]"
   16761 func_munge_path_list ()
   16762 {
   16763     case x$2 in
   16764     x)
   16765         ;;
   16766     *:)
   16767         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   16768         ;;
   16769     x:*)
   16770         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   16771         ;;
   16772     *::*)
   16773         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   16774         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   16775         ;;
   16776     *)
   16777         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   16778         ;;
   16779     esac
   16780 }
   16781 
   16782 
   16783 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   16784 func_cc_basename ()
   16785 {
   16786     for cc_temp in $*""; do
   16787       case $cc_temp in
   16788         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16789         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16790         \-*) ;;
   16791         *) break;;
   16792       esac
   16793     done
   16794     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   16795 }
   16796 
   16797 
   16798 # ### END FUNCTIONS SHARED WITH CONFIGURE
   16799 
   16800 _LT_EOF
   16801 
   16802   case $host_os in
   16803   aix3*)
   16804     cat <<\_LT_EOF >> "$cfgfile"
   16805 # AIX sometimes has problems with the GCC collect2 program.  For some
   16806 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16807 # vanish in a puff of smoke.
   16808 if test set != "${COLLECT_NAMES+set}"; then
   16809   COLLECT_NAMES=
   16810   export COLLECT_NAMES
   16811 fi
   16812 _LT_EOF
   16813     ;;
   16814   esac
   16815 
   16816 
   16817 ltmain=$ac_aux_dir/ltmain.sh
   16818 
   16819 
   16820   # We use sed instead of cat because bash on DJGPP gets confused if
   16821   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16822   # text mode, it properly converts lines to CR/LF.  This bash problem
   16823   # is reportedly fixed, but why not run on old versions too?
   16824   sed '$q' "$ltmain" >> "$cfgfile" \
   16825      || (rm -f "$cfgfile"; exit 1)
   16826 
   16827    mv -f "$cfgfile" "$ofile" ||
   16828     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16829   chmod +x "$ofile"
   16830 
   16831  ;;
   16832 
   16833   esac
   16834 done # for ac_tag
   16835 
   16836 
   16837 as_fn_exit 0
   16838 _ACEOF
   16839 ac_clean_files=$ac_clean_files_save
   16840 
   16841 test $ac_write_fail = 0 ||
   16842   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16843 
   16844 
   16845 # configure is writing to config.log, and then calls config.status.
   16846 # config.status does its own redirection, appending to config.log.
   16847 # Unfortunately, on DOS this fails, as config.log is still kept open
   16848 # by configure, so config.status won't be able to write to it; its
   16849 # output is simply discarded.  So we exec the FD to /dev/null,
   16850 # effectively closing config.log, so it can be properly (re)opened and
   16851 # appended to by config.status.  When coming back to configure, we
   16852 # need to make the FD available again.
   16853 if test "$no_create" != yes; then
   16854   ac_cs_success=:
   16855   ac_config_status_args=
   16856   test "$silent" = yes &&
   16857     ac_config_status_args="$ac_config_status_args --quiet"
   16858   exec 5>/dev/null
   16859   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16860   exec 5>>config.log
   16861   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16862   # would make configure fail if this is the last instruction.
   16863   $ac_cs_success || as_fn_exit 1
   16864 fi
   16865 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16866   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16867 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16868 fi
   16869 
   16870