Home | History | Annotate | Line # | Download | only in gprof
configure revision 1.1.1.14
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for gprof 2.46.0.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='gprof'
    589 PACKAGE_TARNAME='gprof'
    590 PACKAGE_VERSION='2.46.0'
    591 PACKAGE_STRING='gprof 2.46.0'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="gprof.c"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 gt_needs=
    633 ac_subst_vars='am__EXEEXT_FALSE
    634 am__EXEEXT_TRUE
    635 LTLIBOBJS
    636 LIBOBJS
    637 NATIVE_FALSE
    638 NATIVE_TRUE
    639 WARN_WRITE_STRINGS
    640 NO_WERROR
    641 WARN_CFLAGS_FOR_BUILD
    642 WARN_CFLAGS
    643 GENINSRC_NEVER_FALSE
    644 GENINSRC_NEVER_TRUE
    645 MAINT
    646 MAINTAINER_MODE_FALSE
    647 MAINTAINER_MODE_TRUE
    648 CATOBJEXT
    649 GENCAT
    650 INSTOBJEXT
    651 DATADIRNAME
    652 CATALOGS
    653 INCINTL
    654 LIBINTL_DEP
    655 POSUB
    656 LTLIBINTL
    657 LIBINTL
    658 INTLLIBS
    659 LTLIBICONV
    660 LIBICONV
    661 INTL_MACOSX_LIBS
    662 MSGMERGE
    663 XGETTEXT
    664 GMSGFMT
    665 MSGFMT
    666 USE_NLS
    667 MKINSTALLDIRS
    668 LARGEFILE_CPPFLAGS
    669 OTOOL64
    670 OTOOL
    671 LIPO
    672 NMEDIT
    673 DSYMUTIL
    674 RANLIB
    675 AR
    676 LLVM_CONFIG
    677 OBJDUMP
    678 LN_S
    679 NM
    680 ac_ct_DUMPBIN
    681 DUMPBIN
    682 LD
    683 FGREP
    684 SED
    685 LIBTOOL
    686 EGREP
    687 GREP
    688 CPP
    689 am__fastdepCC_FALSE
    690 am__fastdepCC_TRUE
    691 CCDEPMODE
    692 am__nodep
    693 AMDEPBACKSLASH
    694 AMDEP_FALSE
    695 AMDEP_TRUE
    696 am__quote
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 am__untar
    711 am__tar
    712 AMTAR
    713 am__leading_dot
    714 SET_MAKE
    715 AWK
    716 mkdir_p
    717 MKDIR_P
    718 INSTALL_STRIP_PROGRAM
    719 STRIP
    720 install_sh
    721 MAKEINFO
    722 AUTOHEADER
    723 AUTOMAKE
    724 AUTOCONF
    725 ACLOCAL
    726 VERSION
    727 PACKAGE
    728 CYGPATH_W
    729 am__isrc
    730 INSTALL_DATA
    731 INSTALL_SCRIPT
    732 INSTALL_PROGRAM
    733 target_os
    734 target_vendor
    735 target_cpu
    736 target
    737 host_os
    738 host_vendor
    739 host_cpu
    740 host
    741 build_os
    742 build_vendor
    743 build_cpu
    744 build
    745 target_alias
    746 host_alias
    747 build_alias
    748 LIBS
    749 ECHO_T
    750 ECHO_N
    751 ECHO_C
    752 DEFS
    753 mandir
    754 localedir
    755 libdir
    756 psdir
    757 pdfdir
    758 dvidir
    759 htmldir
    760 infodir
    761 docdir
    762 oldincludedir
    763 includedir
    764 localstatedir
    765 sharedstatedir
    766 sysconfdir
    767 datadir
    768 datarootdir
    769 libexecdir
    770 sbindir
    771 bindir
    772 program_transform_name
    773 prefix
    774 exec_prefix
    775 PACKAGE_URL
    776 PACKAGE_BUGREPORT
    777 PACKAGE_STRING
    778 PACKAGE_VERSION
    779 PACKAGE_TARNAME
    780 PACKAGE_NAME
    781 PATH_SEPARATOR
    782 SHELL'
    783 ac_subst_files=''
    784 ac_user_opts='
    785 enable_option_checking
    786 enable_silent_rules
    787 enable_dependency_tracking
    788 enable_shared
    789 enable_static
    790 with_pic
    791 enable_fast_install
    792 with_gnu_ld
    793 enable_libtool_lock
    794 enable_plugins
    795 enable_largefile
    796 enable_nls
    797 enable_rpath
    798 with_libiconv_prefix
    799 with_libiconv_type
    800 with_libintl_prefix
    801 with_libintl_type
    802 enable_maintainer_mode
    803 enable_werror
    804 enable_build_warnings
    805 '
    806       ac_precious_vars='build_alias
    807 host_alias
    808 target_alias
    809 CC
    810 CFLAGS
    811 LDFLAGS
    812 LIBS
    813 CPPFLAGS
    814 CPP'
    815 
    816 
    817 # Initialize some variables set by options.
    818 ac_init_help=
    819 ac_init_version=false
    820 ac_unrecognized_opts=
    821 ac_unrecognized_sep=
    822 # The variables have the same names as the options, with
    823 # dashes changed to underlines.
    824 cache_file=/dev/null
    825 exec_prefix=NONE
    826 no_create=
    827 no_recursion=
    828 prefix=NONE
    829 program_prefix=NONE
    830 program_suffix=NONE
    831 program_transform_name=s,x,x,
    832 silent=
    833 site=
    834 srcdir=
    835 verbose=
    836 x_includes=NONE
    837 x_libraries=NONE
    838 
    839 # Installation directory options.
    840 # These are left unexpanded so users can "make install exec_prefix=/foo"
    841 # and all the variables that are supposed to be based on exec_prefix
    842 # by default will actually change.
    843 # Use braces instead of parens because sh, perl, etc. also accept them.
    844 # (The list follows the same order as the GNU Coding Standards.)
    845 bindir='${exec_prefix}/bin'
    846 sbindir='${exec_prefix}/sbin'
    847 libexecdir='${exec_prefix}/libexec'
    848 datarootdir='${prefix}/share'
    849 datadir='${datarootdir}'
    850 sysconfdir='${prefix}/etc'
    851 sharedstatedir='${prefix}/com'
    852 localstatedir='${prefix}/var'
    853 includedir='${prefix}/include'
    854 oldincludedir='/usr/include'
    855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    856 infodir='${datarootdir}/info'
    857 htmldir='${docdir}'
    858 dvidir='${docdir}'
    859 pdfdir='${docdir}'
    860 psdir='${docdir}'
    861 libdir='${exec_prefix}/lib'
    862 localedir='${datarootdir}/locale'
    863 mandir='${datarootdir}/man'
    864 
    865 ac_prev=
    866 ac_dashdash=
    867 for ac_option
    868 do
    869   # If the previous option needs an argument, assign it.
    870   if test -n "$ac_prev"; then
    871     eval $ac_prev=\$ac_option
    872     ac_prev=
    873     continue
    874   fi
    875 
    876   case $ac_option in
    877   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    878   *=)   ac_optarg= ;;
    879   *)    ac_optarg=yes ;;
    880   esac
    881 
    882   # Accept the important Cygnus configure options, so we can diagnose typos.
    883 
    884   case $ac_dashdash$ac_option in
    885   --)
    886     ac_dashdash=yes ;;
    887 
    888   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    889     ac_prev=bindir ;;
    890   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    891     bindir=$ac_optarg ;;
    892 
    893   -build | --build | --buil | --bui | --bu)
    894     ac_prev=build_alias ;;
    895   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    896     build_alias=$ac_optarg ;;
    897 
    898   -cache-file | --cache-file | --cache-fil | --cache-fi \
    899   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    900     ac_prev=cache_file ;;
    901   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    902   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    903     cache_file=$ac_optarg ;;
    904 
    905   --config-cache | -C)
    906     cache_file=config.cache ;;
    907 
    908   -datadir | --datadir | --datadi | --datad)
    909     ac_prev=datadir ;;
    910   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    911     datadir=$ac_optarg ;;
    912 
    913   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    914   | --dataroo | --dataro | --datar)
    915     ac_prev=datarootdir ;;
    916   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    917   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    918     datarootdir=$ac_optarg ;;
    919 
    920   -disable-* | --disable-*)
    921     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    922     # Reject names that are not valid shell variable names.
    923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    924       as_fn_error $? "invalid feature name: $ac_useropt"
    925     ac_useropt_orig=$ac_useropt
    926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    927     case $ac_user_opts in
    928       *"
    929 "enable_$ac_useropt"
    930 "*) ;;
    931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    932 	 ac_unrecognized_sep=', ';;
    933     esac
    934     eval enable_$ac_useropt=no ;;
    935 
    936   -docdir | --docdir | --docdi | --doc | --do)
    937     ac_prev=docdir ;;
    938   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    939     docdir=$ac_optarg ;;
    940 
    941   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    942     ac_prev=dvidir ;;
    943   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    944     dvidir=$ac_optarg ;;
    945 
    946   -enable-* | --enable-*)
    947     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    948     # Reject names that are not valid shell variable names.
    949     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    950       as_fn_error $? "invalid feature name: $ac_useropt"
    951     ac_useropt_orig=$ac_useropt
    952     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    953     case $ac_user_opts in
    954       *"
    955 "enable_$ac_useropt"
    956 "*) ;;
    957       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    958 	 ac_unrecognized_sep=', ';;
    959     esac
    960     eval enable_$ac_useropt=\$ac_optarg ;;
    961 
    962   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    963   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    964   | --exec | --exe | --ex)
    965     ac_prev=exec_prefix ;;
    966   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    967   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    968   | --exec=* | --exe=* | --ex=*)
    969     exec_prefix=$ac_optarg ;;
    970 
    971   -gas | --gas | --ga | --g)
    972     # Obsolete; use --with-gas.
    973     with_gas=yes ;;
    974 
    975   -help | --help | --hel | --he | -h)
    976     ac_init_help=long ;;
    977   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    978     ac_init_help=recursive ;;
    979   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    980     ac_init_help=short ;;
    981 
    982   -host | --host | --hos | --ho)
    983     ac_prev=host_alias ;;
    984   -host=* | --host=* | --hos=* | --ho=*)
    985     host_alias=$ac_optarg ;;
    986 
    987   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    988     ac_prev=htmldir ;;
    989   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    990   | --ht=*)
    991     htmldir=$ac_optarg ;;
    992 
    993   -includedir | --includedir | --includedi | --included | --include \
    994   | --includ | --inclu | --incl | --inc)
    995     ac_prev=includedir ;;
    996   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    997   | --includ=* | --inclu=* | --incl=* | --inc=*)
    998     includedir=$ac_optarg ;;
    999 
   1000   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1001     ac_prev=infodir ;;
   1002   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1003     infodir=$ac_optarg ;;
   1004 
   1005   -libdir | --libdir | --libdi | --libd)
   1006     ac_prev=libdir ;;
   1007   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1008     libdir=$ac_optarg ;;
   1009 
   1010   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1011   | --libexe | --libex | --libe)
   1012     ac_prev=libexecdir ;;
   1013   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1014   | --libexe=* | --libex=* | --libe=*)
   1015     libexecdir=$ac_optarg ;;
   1016 
   1017   -localedir | --localedir | --localedi | --localed | --locale)
   1018     ac_prev=localedir ;;
   1019   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1020     localedir=$ac_optarg ;;
   1021 
   1022   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1023   | --localstate | --localstat | --localsta | --localst | --locals)
   1024     ac_prev=localstatedir ;;
   1025   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1026   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1027     localstatedir=$ac_optarg ;;
   1028 
   1029   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1030     ac_prev=mandir ;;
   1031   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1032     mandir=$ac_optarg ;;
   1033 
   1034   -nfp | --nfp | --nf)
   1035     # Obsolete; use --without-fp.
   1036     with_fp=no ;;
   1037 
   1038   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1039   | --no-cr | --no-c | -n)
   1040     no_create=yes ;;
   1041 
   1042   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1043   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1044     no_recursion=yes ;;
   1045 
   1046   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1047   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1048   | --oldin | --oldi | --old | --ol | --o)
   1049     ac_prev=oldincludedir ;;
   1050   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1051   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1052   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1053     oldincludedir=$ac_optarg ;;
   1054 
   1055   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1056     ac_prev=prefix ;;
   1057   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1058     prefix=$ac_optarg ;;
   1059 
   1060   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1061   | --program-pre | --program-pr | --program-p)
   1062     ac_prev=program_prefix ;;
   1063   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1064   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1065     program_prefix=$ac_optarg ;;
   1066 
   1067   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1068   | --program-suf | --program-su | --program-s)
   1069     ac_prev=program_suffix ;;
   1070   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1071   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1072     program_suffix=$ac_optarg ;;
   1073 
   1074   -program-transform-name | --program-transform-name \
   1075   | --program-transform-nam | --program-transform-na \
   1076   | --program-transform-n | --program-transform- \
   1077   | --program-transform | --program-transfor \
   1078   | --program-transfo | --program-transf \
   1079   | --program-trans | --program-tran \
   1080   | --progr-tra | --program-tr | --program-t)
   1081     ac_prev=program_transform_name ;;
   1082   -program-transform-name=* | --program-transform-name=* \
   1083   | --program-transform-nam=* | --program-transform-na=* \
   1084   | --program-transform-n=* | --program-transform-=* \
   1085   | --program-transform=* | --program-transfor=* \
   1086   | --program-transfo=* | --program-transf=* \
   1087   | --program-trans=* | --program-tran=* \
   1088   | --progr-tra=* | --program-tr=* | --program-t=*)
   1089     program_transform_name=$ac_optarg ;;
   1090 
   1091   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1092     ac_prev=pdfdir ;;
   1093   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1094     pdfdir=$ac_optarg ;;
   1095 
   1096   -psdir | --psdir | --psdi | --psd | --ps)
   1097     ac_prev=psdir ;;
   1098   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1099     psdir=$ac_optarg ;;
   1100 
   1101   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1102   | -silent | --silent | --silen | --sile | --sil)
   1103     silent=yes ;;
   1104 
   1105   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1106     ac_prev=sbindir ;;
   1107   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1108   | --sbi=* | --sb=*)
   1109     sbindir=$ac_optarg ;;
   1110 
   1111   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1112   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1113   | --sharedst | --shareds | --shared | --share | --shar \
   1114   | --sha | --sh)
   1115     ac_prev=sharedstatedir ;;
   1116   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1117   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1118   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1119   | --sha=* | --sh=*)
   1120     sharedstatedir=$ac_optarg ;;
   1121 
   1122   -site | --site | --sit)
   1123     ac_prev=site ;;
   1124   -site=* | --site=* | --sit=*)
   1125     site=$ac_optarg ;;
   1126 
   1127   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1128     ac_prev=srcdir ;;
   1129   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1130     srcdir=$ac_optarg ;;
   1131 
   1132   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1133   | --syscon | --sysco | --sysc | --sys | --sy)
   1134     ac_prev=sysconfdir ;;
   1135   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1136   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1137     sysconfdir=$ac_optarg ;;
   1138 
   1139   -target | --target | --targe | --targ | --tar | --ta | --t)
   1140     ac_prev=target_alias ;;
   1141   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1142     target_alias=$ac_optarg ;;
   1143 
   1144   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1145     verbose=yes ;;
   1146 
   1147   -version | --version | --versio | --versi | --vers | -V)
   1148     ac_init_version=: ;;
   1149 
   1150   -with-* | --with-*)
   1151     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1152     # Reject names that are not valid shell variable names.
   1153     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1154       as_fn_error $? "invalid package name: $ac_useropt"
   1155     ac_useropt_orig=$ac_useropt
   1156     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1157     case $ac_user_opts in
   1158       *"
   1159 "with_$ac_useropt"
   1160 "*) ;;
   1161       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1162 	 ac_unrecognized_sep=', ';;
   1163     esac
   1164     eval with_$ac_useropt=\$ac_optarg ;;
   1165 
   1166   -without-* | --without-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1168     # Reject names that are not valid shell variable names.
   1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1170       as_fn_error $? "invalid package name: $ac_useropt"
   1171     ac_useropt_orig=$ac_useropt
   1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1173     case $ac_user_opts in
   1174       *"
   1175 "with_$ac_useropt"
   1176 "*) ;;
   1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=no ;;
   1181 
   1182   --x)
   1183     # Obsolete; use --with-x.
   1184     with_x=yes ;;
   1185 
   1186   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1187   | --x-incl | --x-inc | --x-in | --x-i)
   1188     ac_prev=x_includes ;;
   1189   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1190   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1191     x_includes=$ac_optarg ;;
   1192 
   1193   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1194   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1195     ac_prev=x_libraries ;;
   1196   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1197   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1198     x_libraries=$ac_optarg ;;
   1199 
   1200   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1201 Try \`$0 --help' for more information"
   1202     ;;
   1203 
   1204   *=*)
   1205     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1206     # Reject names that are not valid shell variable names.
   1207     case $ac_envvar in #(
   1208       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1209       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1210     esac
   1211     eval $ac_envvar=\$ac_optarg
   1212     export $ac_envvar ;;
   1213 
   1214   *)
   1215     # FIXME: should be removed in autoconf 3.0.
   1216     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1217     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1218       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1219     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1220     ;;
   1221 
   1222   esac
   1223 done
   1224 
   1225 if test -n "$ac_prev"; then
   1226   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1227   as_fn_error $? "missing argument to $ac_option"
   1228 fi
   1229 
   1230 if test -n "$ac_unrecognized_opts"; then
   1231   case $enable_option_checking in
   1232     no) ;;
   1233     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1234     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1235   esac
   1236 fi
   1237 
   1238 # Check all directory arguments for consistency.
   1239 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1240 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1241 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1242 		libdir localedir mandir
   1243 do
   1244   eval ac_val=\$$ac_var
   1245   # Remove trailing slashes.
   1246   case $ac_val in
   1247     */ )
   1248       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1249       eval $ac_var=\$ac_val;;
   1250   esac
   1251   # Be sure to have absolute directory names.
   1252   case $ac_val in
   1253     [\\/$]* | ?:[\\/]* )  continue;;
   1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1255   esac
   1256   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1257 done
   1258 
   1259 # There might be people who depend on the old broken behavior: `$host'
   1260 # used to hold the argument of --host etc.
   1261 # FIXME: To remove some day.
   1262 build=$build_alias
   1263 host=$host_alias
   1264 target=$target_alias
   1265 
   1266 # FIXME: To remove some day.
   1267 if test "x$host_alias" != x; then
   1268   if test "x$build_alias" = x; then
   1269     cross_compiling=maybe
   1270   elif test "x$build_alias" != "x$host_alias"; then
   1271     cross_compiling=yes
   1272   fi
   1273 fi
   1274 
   1275 ac_tool_prefix=
   1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1277 
   1278 test "$silent" = yes && exec 6>/dev/null
   1279 
   1280 
   1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1282 ac_ls_di=`ls -di .` &&
   1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1284   as_fn_error $? "working directory cannot be determined"
   1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1286   as_fn_error $? "pwd does not report name of working directory"
   1287 
   1288 
   1289 # Find the source files, if location was not specified.
   1290 if test -z "$srcdir"; then
   1291   ac_srcdir_defaulted=yes
   1292   # Try the directory containing this script, then the parent directory.
   1293   ac_confdir=`$as_dirname -- "$as_myself" ||
   1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1295 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1296 	 X"$as_myself" : 'X\(//\)$' \| \
   1297 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1298 $as_echo X"$as_myself" |
   1299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)[^/].*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\/\)$/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\).*/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  s/.*/./; q'`
   1316   srcdir=$ac_confdir
   1317   if test ! -r "$srcdir/$ac_unique_file"; then
   1318     srcdir=..
   1319   fi
   1320 else
   1321   ac_srcdir_defaulted=no
   1322 fi
   1323 if test ! -r "$srcdir/$ac_unique_file"; then
   1324   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1325   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1326 fi
   1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1328 ac_abs_confdir=`(
   1329 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1330 	pwd)`
   1331 # When building in place, set srcdir=.
   1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1333   srcdir=.
   1334 fi
   1335 # Remove unnecessary trailing slashes from srcdir.
   1336 # Double slashes in file names in object file debugging info
   1337 # mess up M-x gdb in Emacs.
   1338 case $srcdir in
   1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1340 esac
   1341 for ac_var in $ac_precious_vars; do
   1342   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_env_${ac_var}_value=\$${ac_var}
   1344   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1345   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1346 done
   1347 
   1348 #
   1349 # Report the --help message.
   1350 #
   1351 if test "$ac_init_help" = "long"; then
   1352   # Omit some internal or obsolete options to make the list less imposing.
   1353   # This message is too long to be a string in the A/UX 3.1 sh.
   1354   cat <<_ACEOF
   1355 \`configure' configures gprof 2.46.0 to adapt to many kinds of systems.
   1356 
   1357 Usage: $0 [OPTION]... [VAR=VALUE]...
   1358 
   1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1360 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1361 
   1362 Defaults for the options are specified in brackets.
   1363 
   1364 Configuration:
   1365   -h, --help              display this help and exit
   1366       --help=short        display options specific to this package
   1367       --help=recursive    display the short help of all the included packages
   1368   -V, --version           display version information and exit
   1369   -q, --quiet, --silent   do not print \`checking ...' messages
   1370       --cache-file=FILE   cache test results in FILE [disabled]
   1371   -C, --config-cache      alias for \`--cache-file=config.cache'
   1372   -n, --no-create         do not create output files
   1373       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1374 
   1375 Installation directories:
   1376   --prefix=PREFIX         install architecture-independent files in PREFIX
   1377                           [$ac_default_prefix]
   1378   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1379                           [PREFIX]
   1380 
   1381 By default, \`make install' will install all the files in
   1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1384 for instance \`--prefix=\$HOME'.
   1385 
   1386 For better control, use the options below.
   1387 
   1388 Fine tuning of the installation directories:
   1389   --bindir=DIR            user executables [EPREFIX/bin]
   1390   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1391   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1392   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1393   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1394   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1395   --libdir=DIR            object code libraries [EPREFIX/lib]
   1396   --includedir=DIR        C header files [PREFIX/include]
   1397   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1398   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1399   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1400   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1401   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1402   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1403   --docdir=DIR            documentation root [DATAROOTDIR/doc/gprof]
   1404   --htmldir=DIR           html documentation [DOCDIR]
   1405   --dvidir=DIR            dvi documentation [DOCDIR]
   1406   --pdfdir=DIR            pdf documentation [DOCDIR]
   1407   --psdir=DIR             ps documentation [DOCDIR]
   1408 _ACEOF
   1409 
   1410   cat <<\_ACEOF
   1411 
   1412 Program names:
   1413   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1414   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1415   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1416 
   1417 System types:
   1418   --build=BUILD     configure for building on BUILD [guessed]
   1419   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1420   --target=TARGET   configure for building compilers for TARGET [HOST]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of gprof 2.46.0:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1441   --enable-static[=PKGS]  build static libraries [default=yes]
   1442   --enable-fast-install[=PKGS]
   1443                           optimize for fast installation [default=yes]
   1444   --disable-libtool-lock  avoid locking (might break parallel builds)
   1445   --enable-plugins        Enable support for plugins
   1446   --disable-largefile     omit support for large files
   1447   --disable-nls           do not use Native Language Support
   1448   --disable-rpath         do not hardcode runtime library paths
   1449   --enable-maintainer-mode
   1450                           enable make rules and dependencies not useful (and
   1451                           sometimes confusing) to the casual installer
   1452   --enable-werror         treat compile warnings as errors
   1453   --enable-build-warnings enable build-time compiler warnings
   1454 
   1455 Optional Packages:
   1456   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1457   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1458   --with-pic              try to use only PIC/non-PIC objects [default=use
   1459                           both]
   1460   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1461   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1462   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1463   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1464   --with-libiconv-type=TYPE     type of library to search for (auto/static/shared)
   1465   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1466   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1467   --with-libintl-type=TYPE     type of library to search for (auto/static/shared)
   1468 
   1469 Some influential environment variables:
   1470   CC          C compiler command
   1471   CFLAGS      C compiler flags
   1472   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1473               nonstandard directory <lib dir>
   1474   LIBS        libraries to pass to the linker, e.g. -l<library>
   1475   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1476               you have headers in a nonstandard directory <include dir>
   1477   CPP         C preprocessor
   1478 
   1479 Use these variables to override the choices made by `configure' or to help
   1480 it to find libraries and programs with nonstandard names/locations.
   1481 
   1482 Report bugs to the package provider.
   1483 _ACEOF
   1484 ac_status=$?
   1485 fi
   1486 
   1487 if test "$ac_init_help" = "recursive"; then
   1488   # If there are subdirs, report their specific --help.
   1489   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1490     test -d "$ac_dir" ||
   1491       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1492       continue
   1493     ac_builddir=.
   1494 
   1495 case "$ac_dir" in
   1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1497 *)
   1498   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1499   # A ".." for each directory in $ac_dir_suffix.
   1500   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1501   case $ac_top_builddir_sub in
   1502   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1503   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1504   esac ;;
   1505 esac
   1506 ac_abs_top_builddir=$ac_pwd
   1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1508 # for backward compatibility:
   1509 ac_top_builddir=$ac_top_build_prefix
   1510 
   1511 case $srcdir in
   1512   .)  # We are building in place.
   1513     ac_srcdir=.
   1514     ac_top_srcdir=$ac_top_builddir_sub
   1515     ac_abs_top_srcdir=$ac_pwd ;;
   1516   [\\/]* | ?:[\\/]* )  # Absolute name.
   1517     ac_srcdir=$srcdir$ac_dir_suffix;
   1518     ac_top_srcdir=$srcdir
   1519     ac_abs_top_srcdir=$srcdir ;;
   1520   *) # Relative name.
   1521     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1522     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1523     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1524 esac
   1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1526 
   1527     cd "$ac_dir" || { ac_status=$?; continue; }
   1528     # Check for guested configure.
   1529     if test -f "$ac_srcdir/configure.gnu"; then
   1530       echo &&
   1531       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1532     elif test -f "$ac_srcdir/configure"; then
   1533       echo &&
   1534       $SHELL "$ac_srcdir/configure" --help=recursive
   1535     else
   1536       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1537     fi || ac_status=$?
   1538     cd "$ac_pwd" || { ac_status=$?; break; }
   1539   done
   1540 fi
   1541 
   1542 test -n "$ac_init_help" && exit $ac_status
   1543 if $ac_init_version; then
   1544   cat <<\_ACEOF
   1545 gprof configure 2.46.0
   1546 generated by GNU Autoconf 2.69
   1547 
   1548 Copyright (C) 2012 Free Software Foundation, Inc.
   1549 This configure script is free software; the Free Software Foundation
   1550 gives unlimited permission to copy, distribute and modify it.
   1551 _ACEOF
   1552   exit
   1553 fi
   1554 
   1555 ## ------------------------ ##
   1556 ## Autoconf initialization. ##
   1557 ## ------------------------ ##
   1558 
   1559 # ac_fn_c_try_compile LINENO
   1560 # --------------------------
   1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1562 ac_fn_c_try_compile ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   rm -f conftest.$ac_objext
   1566   if { { ac_try="$ac_compile"
   1567 case "(($ac_try" in
   1568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1569   *) ac_try_echo=$ac_try;;
   1570 esac
   1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1572 $as_echo "$ac_try_echo"; } >&5
   1573   (eval "$ac_compile") 2>conftest.err
   1574   ac_status=$?
   1575   if test -s conftest.err; then
   1576     grep -v '^ *+' conftest.err >conftest.er1
   1577     cat conftest.er1 >&5
   1578     mv -f conftest.er1 conftest.err
   1579   fi
   1580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1581   test $ac_status = 0; } && {
   1582 	 test -z "$ac_c_werror_flag" ||
   1583 	 test ! -s conftest.err
   1584        } && test -s conftest.$ac_objext; then :
   1585   ac_retval=0
   1586 else
   1587   $as_echo "$as_me: failed program was:" >&5
   1588 sed 's/^/| /' conftest.$ac_ext >&5
   1589 
   1590 	ac_retval=1
   1591 fi
   1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1593   as_fn_set_status $ac_retval
   1594 
   1595 } # ac_fn_c_try_compile
   1596 
   1597 # ac_fn_c_try_cpp LINENO
   1598 # ----------------------
   1599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1600 ac_fn_c_try_cpp ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1604 case "(($ac_try" in
   1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1606   *) ac_try_echo=$ac_try;;
   1607 esac
   1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1609 $as_echo "$ac_try_echo"; } >&5
   1610   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1611   ac_status=$?
   1612   if test -s conftest.err; then
   1613     grep -v '^ *+' conftest.err >conftest.er1
   1614     cat conftest.er1 >&5
   1615     mv -f conftest.er1 conftest.err
   1616   fi
   1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1618   test $ac_status = 0; } > conftest.i && {
   1619 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1620 	 test ! -s conftest.err
   1621        }; then :
   1622   ac_retval=0
   1623 else
   1624   $as_echo "$as_me: failed program was:" >&5
   1625 sed 's/^/| /' conftest.$ac_ext >&5
   1626 
   1627     ac_retval=1
   1628 fi
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_cpp
   1633 
   1634 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1635 # -------------------------------------------------------
   1636 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1637 # the include files in INCLUDES and setting the cache variable VAR
   1638 # accordingly.
   1639 ac_fn_c_check_header_mongrel ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   if eval \${$3+:} false; then :
   1643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1644 $as_echo_n "checking for $2... " >&6; }
   1645 if eval \${$3+:} false; then :
   1646   $as_echo_n "(cached) " >&6
   1647 fi
   1648 eval ac_res=\$$3
   1649 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1650 $as_echo "$ac_res" >&6; }
   1651 else
   1652   # Is the header compilable?
   1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1654 $as_echo_n "checking $2 usability... " >&6; }
   1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1656 /* end confdefs.h.  */
   1657 $4
   1658 #include <$2>
   1659 _ACEOF
   1660 if ac_fn_c_try_compile "$LINENO"; then :
   1661   ac_header_compiler=yes
   1662 else
   1663   ac_header_compiler=no
   1664 fi
   1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1667 $as_echo "$ac_header_compiler" >&6; }
   1668 
   1669 # Is the header present?
   1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1671 $as_echo_n "checking $2 presence... " >&6; }
   1672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1673 /* end confdefs.h.  */
   1674 #include <$2>
   1675 _ACEOF
   1676 if ac_fn_c_try_cpp "$LINENO"; then :
   1677   ac_header_preproc=yes
   1678 else
   1679   ac_header_preproc=no
   1680 fi
   1681 rm -f conftest.err conftest.i conftest.$ac_ext
   1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1683 $as_echo "$ac_header_preproc" >&6; }
   1684 
   1685 # So?  What about this header?
   1686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1687   yes:no: )
   1688     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1689 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1690     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1691 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1692     ;;
   1693   no:yes:* )
   1694     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1695 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1696     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1697 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1698     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1699 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1700     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1701 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1702     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1704     ;;
   1705 esac
   1706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1707 $as_echo_n "checking for $2... " >&6; }
   1708 if eval \${$3+:} false; then :
   1709   $as_echo_n "(cached) " >&6
   1710 else
   1711   eval "$3=\$ac_header_compiler"
   1712 fi
   1713 eval ac_res=\$$3
   1714 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1715 $as_echo "$ac_res" >&6; }
   1716 fi
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718 
   1719 } # ac_fn_c_check_header_mongrel
   1720 
   1721 # ac_fn_c_try_run LINENO
   1722 # ----------------------
   1723 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1724 # that executables *can* be run.
   1725 ac_fn_c_try_run ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   if { { ac_try="$ac_link"
   1729 case "(($ac_try" in
   1730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1731   *) ac_try_echo=$ac_try;;
   1732 esac
   1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1734 $as_echo "$ac_try_echo"; } >&5
   1735   (eval "$ac_link") 2>&5
   1736   ac_status=$?
   1737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1738   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1739   { { case "(($ac_try" in
   1740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1741   *) ac_try_echo=$ac_try;;
   1742 esac
   1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1744 $as_echo "$ac_try_echo"; } >&5
   1745   (eval "$ac_try") 2>&5
   1746   ac_status=$?
   1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1748   test $ac_status = 0; }; }; then :
   1749   ac_retval=0
   1750 else
   1751   $as_echo "$as_me: program exited with status $ac_status" >&5
   1752        $as_echo "$as_me: failed program was:" >&5
   1753 sed 's/^/| /' conftest.$ac_ext >&5
   1754 
   1755        ac_retval=$ac_status
   1756 fi
   1757   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1758   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1759   as_fn_set_status $ac_retval
   1760 
   1761 } # ac_fn_c_try_run
   1762 
   1763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1764 # -------------------------------------------------------
   1765 # Tests whether HEADER exists and can be compiled using the include files in
   1766 # INCLUDES, setting the cache variable VAR accordingly.
   1767 ac_fn_c_check_header_compile ()
   1768 {
   1769   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1771 $as_echo_n "checking for $2... " >&6; }
   1772 if eval \${$3+:} false; then :
   1773   $as_echo_n "(cached) " >&6
   1774 else
   1775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1776 /* end confdefs.h.  */
   1777 $4
   1778 #include <$2>
   1779 _ACEOF
   1780 if ac_fn_c_try_compile "$LINENO"; then :
   1781   eval "$3=yes"
   1782 else
   1783   eval "$3=no"
   1784 fi
   1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1786 fi
   1787 eval ac_res=\$$3
   1788 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1789 $as_echo "$ac_res" >&6; }
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791 
   1792 } # ac_fn_c_check_header_compile
   1793 
   1794 # ac_fn_c_try_link LINENO
   1795 # -----------------------
   1796 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1797 ac_fn_c_try_link ()
   1798 {
   1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1800   rm -f conftest.$ac_objext conftest$ac_exeext
   1801   if { { ac_try="$ac_link"
   1802 case "(($ac_try" in
   1803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1804   *) ac_try_echo=$ac_try;;
   1805 esac
   1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1807 $as_echo "$ac_try_echo"; } >&5
   1808   (eval "$ac_link") 2>conftest.err
   1809   ac_status=$?
   1810   if test -s conftest.err; then
   1811     grep -v '^ *+' conftest.err >conftest.er1
   1812     cat conftest.er1 >&5
   1813     mv -f conftest.er1 conftest.err
   1814   fi
   1815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1816   test $ac_status = 0; } && {
   1817 	 test -z "$ac_c_werror_flag" ||
   1818 	 test ! -s conftest.err
   1819        } && test -s conftest$ac_exeext && {
   1820 	 test "$cross_compiling" = yes ||
   1821 	 test -x conftest$ac_exeext
   1822        }; then :
   1823   ac_retval=0
   1824 else
   1825   $as_echo "$as_me: failed program was:" >&5
   1826 sed 's/^/| /' conftest.$ac_ext >&5
   1827 
   1828 	ac_retval=1
   1829 fi
   1830   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1831   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1832   # interfere with the next link command; also delete a directory that is
   1833   # left behind by Apple's compiler.  We do this before executing the actions.
   1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836   as_fn_set_status $ac_retval
   1837 
   1838 } # ac_fn_c_try_link
   1839 
   1840 # ac_fn_c_check_func LINENO FUNC VAR
   1841 # ----------------------------------
   1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1843 ac_fn_c_check_func ()
   1844 {
   1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1847 $as_echo_n "checking for $2... " >&6; }
   1848 if eval \${$3+:} false; then :
   1849   $as_echo_n "(cached) " >&6
   1850 else
   1851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1852 /* end confdefs.h.  */
   1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1855 #define $2 innocuous_$2
   1856 
   1857 /* System header to define __stub macros and hopefully few prototypes,
   1858     which can conflict with char $2 (); below.
   1859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1860     <limits.h> exists even on freestanding compilers.  */
   1861 
   1862 #ifdef __STDC__
   1863 # include <limits.h>
   1864 #else
   1865 # include <assert.h>
   1866 #endif
   1867 
   1868 #undef $2
   1869 
   1870 /* Override any GCC internal prototype to avoid an error.
   1871    Use char because int might match the return type of a GCC
   1872    builtin and then its argument prototype would still apply.  */
   1873 #ifdef __cplusplus
   1874 extern "C"
   1875 #endif
   1876 char $2 ();
   1877 /* The GNU C library defines this for functions which it implements
   1878     to always fail with ENOSYS.  Some functions are actually named
   1879     something starting with __ and the normal name is an alias.  */
   1880 #if defined __stub_$2 || defined __stub___$2
   1881 choke me
   1882 #endif
   1883 
   1884 int
   1885 main ()
   1886 {
   1887 return $2 ();
   1888   ;
   1889   return 0;
   1890 }
   1891 _ACEOF
   1892 if ac_fn_c_try_link "$LINENO"; then :
   1893   eval "$3=yes"
   1894 else
   1895   eval "$3=no"
   1896 fi
   1897 rm -f core conftest.err conftest.$ac_objext \
   1898     conftest$ac_exeext conftest.$ac_ext
   1899 fi
   1900 eval ac_res=\$$3
   1901 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1902 $as_echo "$ac_res" >&6; }
   1903   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1904 
   1905 } # ac_fn_c_check_func
   1906 cat >config.log <<_ACEOF
   1907 This file contains any messages produced by compilers while
   1908 running configure, to aid debugging if configure makes a mistake.
   1909 
   1910 It was created by gprof $as_me 2.46.0, which was
   1911 generated by GNU Autoconf 2.69.  Invocation command line was
   1912 
   1913   $ $0 $@
   1914 
   1915 _ACEOF
   1916 exec 5>>config.log
   1917 {
   1918 cat <<_ASUNAME
   1919 ## --------- ##
   1920 ## Platform. ##
   1921 ## --------- ##
   1922 
   1923 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1924 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1925 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1926 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1927 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1928 
   1929 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1930 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1931 
   1932 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1933 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1934 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1935 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1936 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1937 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1938 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1939 
   1940 _ASUNAME
   1941 
   1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1943 for as_dir in $PATH
   1944 do
   1945   IFS=$as_save_IFS
   1946   test -z "$as_dir" && as_dir=.
   1947     $as_echo "PATH: $as_dir"
   1948   done
   1949 IFS=$as_save_IFS
   1950 
   1951 } >&5
   1952 
   1953 cat >&5 <<_ACEOF
   1954 
   1955 
   1956 ## ----------- ##
   1957 ## Core tests. ##
   1958 ## ----------- ##
   1959 
   1960 _ACEOF
   1961 
   1962 
   1963 # Keep a trace of the command line.
   1964 # Strip out --no-create and --no-recursion so they do not pile up.
   1965 # Strip out --silent because we don't want to record it for future runs.
   1966 # Also quote any args containing shell meta-characters.
   1967 # Make two passes to allow for proper duplicate-argument suppression.
   1968 ac_configure_args=
   1969 ac_configure_args0=
   1970 ac_configure_args1=
   1971 ac_must_keep_next=false
   1972 for ac_pass in 1 2
   1973 do
   1974   for ac_arg
   1975   do
   1976     case $ac_arg in
   1977     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1978     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1979     | -silent | --silent | --silen | --sile | --sil)
   1980       continue ;;
   1981     *\'*)
   1982       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1983     esac
   1984     case $ac_pass in
   1985     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1986     2)
   1987       as_fn_append ac_configure_args1 " '$ac_arg'"
   1988       if test $ac_must_keep_next = true; then
   1989 	ac_must_keep_next=false # Got value, back to normal.
   1990       else
   1991 	case $ac_arg in
   1992 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1993 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1994 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1995 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1996 	    case "$ac_configure_args0 " in
   1997 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1998 	    esac
   1999 	    ;;
   2000 	  -* ) ac_must_keep_next=true ;;
   2001 	esac
   2002       fi
   2003       as_fn_append ac_configure_args " '$ac_arg'"
   2004       ;;
   2005     esac
   2006   done
   2007 done
   2008 { ac_configure_args0=; unset ac_configure_args0;}
   2009 { ac_configure_args1=; unset ac_configure_args1;}
   2010 
   2011 # When interrupted or exit'd, cleanup temporary files, and complete
   2012 # config.log.  We remove comments because anyway the quotes in there
   2013 # would cause problems or look ugly.
   2014 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2015 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2016 trap 'exit_status=$?
   2017   # Save into config.log some information that might help in debugging.
   2018   {
   2019     echo
   2020 
   2021     $as_echo "## ---------------- ##
   2022 ## Cache variables. ##
   2023 ## ---------------- ##"
   2024     echo
   2025     # The following way of writing the cache mishandles newlines in values,
   2026 (
   2027   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2028     eval ac_val=\$$ac_var
   2029     case $ac_val in #(
   2030     *${as_nl}*)
   2031       case $ac_var in #(
   2032       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2034       esac
   2035       case $ac_var in #(
   2036       _ | IFS | as_nl) ;; #(
   2037       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2038       *) { eval $ac_var=; unset $ac_var;} ;;
   2039       esac ;;
   2040     esac
   2041   done
   2042   (set) 2>&1 |
   2043     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2044     *${as_nl}ac_space=\ *)
   2045       sed -n \
   2046 	"s/'\''/'\''\\\\'\'''\''/g;
   2047 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2048       ;; #(
   2049     *)
   2050       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2051       ;;
   2052     esac |
   2053     sort
   2054 )
   2055     echo
   2056 
   2057     $as_echo "## ----------------- ##
   2058 ## Output variables. ##
   2059 ## ----------------- ##"
   2060     echo
   2061     for ac_var in $ac_subst_vars
   2062     do
   2063       eval ac_val=\$$ac_var
   2064       case $ac_val in
   2065       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2066       esac
   2067       $as_echo "$ac_var='\''$ac_val'\''"
   2068     done | sort
   2069     echo
   2070 
   2071     if test -n "$ac_subst_files"; then
   2072       $as_echo "## ------------------- ##
   2073 ## File substitutions. ##
   2074 ## ------------------- ##"
   2075       echo
   2076       for ac_var in $ac_subst_files
   2077       do
   2078 	eval ac_val=\$$ac_var
   2079 	case $ac_val in
   2080 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2081 	esac
   2082 	$as_echo "$ac_var='\''$ac_val'\''"
   2083       done | sort
   2084       echo
   2085     fi
   2086 
   2087     if test -s confdefs.h; then
   2088       $as_echo "## ----------- ##
   2089 ## confdefs.h. ##
   2090 ## ----------- ##"
   2091       echo
   2092       cat confdefs.h
   2093       echo
   2094     fi
   2095     test "$ac_signal" != 0 &&
   2096       $as_echo "$as_me: caught signal $ac_signal"
   2097     $as_echo "$as_me: exit $exit_status"
   2098   } >&5
   2099   rm -f core *.core core.conftest.* &&
   2100     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2101     exit $exit_status
   2102 ' 0
   2103 for ac_signal in 1 2 13 15; do
   2104   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2105 done
   2106 ac_signal=0
   2107 
   2108 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2109 rm -f -r conftest* confdefs.h
   2110 
   2111 $as_echo "/* confdefs.h */" > confdefs.h
   2112 
   2113 # Predefined preprocessor variables.
   2114 
   2115 cat >>confdefs.h <<_ACEOF
   2116 #define PACKAGE_NAME "$PACKAGE_NAME"
   2117 _ACEOF
   2118 
   2119 cat >>confdefs.h <<_ACEOF
   2120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2121 _ACEOF
   2122 
   2123 cat >>confdefs.h <<_ACEOF
   2124 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2125 _ACEOF
   2126 
   2127 cat >>confdefs.h <<_ACEOF
   2128 #define PACKAGE_STRING "$PACKAGE_STRING"
   2129 _ACEOF
   2130 
   2131 cat >>confdefs.h <<_ACEOF
   2132 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2133 _ACEOF
   2134 
   2135 cat >>confdefs.h <<_ACEOF
   2136 #define PACKAGE_URL "$PACKAGE_URL"
   2137 _ACEOF
   2138 
   2139 
   2140 # Let the site file select an alternate cache file if it wants to.
   2141 # Prefer an explicitly selected file to automatically selected ones.
   2142 ac_site_file1=NONE
   2143 ac_site_file2=NONE
   2144 if test -n "$CONFIG_SITE"; then
   2145   # We do not want a PATH search for config.site.
   2146   case $CONFIG_SITE in #((
   2147     -*)  ac_site_file1=./$CONFIG_SITE;;
   2148     */*) ac_site_file1=$CONFIG_SITE;;
   2149     *)   ac_site_file1=./$CONFIG_SITE;;
   2150   esac
   2151 elif test "x$prefix" != xNONE; then
   2152   ac_site_file1=$prefix/share/config.site
   2153   ac_site_file2=$prefix/etc/config.site
   2154 else
   2155   ac_site_file1=$ac_default_prefix/share/config.site
   2156   ac_site_file2=$ac_default_prefix/etc/config.site
   2157 fi
   2158 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2159 do
   2160   test "x$ac_site_file" = xNONE && continue
   2161   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2162     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2163 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2164     sed 's/^/| /' "$ac_site_file" >&5
   2165     . "$ac_site_file" \
   2166       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2168 as_fn_error $? "failed to load site script $ac_site_file
   2169 See \`config.log' for more details" "$LINENO" 5; }
   2170   fi
   2171 done
   2172 
   2173 if test -r "$cache_file"; then
   2174   # Some versions of bash will fail to source /dev/null (special files
   2175   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2176   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2177     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2178 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2179     case $cache_file in
   2180       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2181       *)                      . "./$cache_file";;
   2182     esac
   2183   fi
   2184 else
   2185   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2186 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2187   >$cache_file
   2188 fi
   2189 
   2190 gt_needs="$gt_needs "
   2191 # Check that the precious variables saved in the cache have kept the same
   2192 # value.
   2193 ac_cache_corrupted=false
   2194 for ac_var in $ac_precious_vars; do
   2195   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2196   eval ac_new_set=\$ac_env_${ac_var}_set
   2197   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2198   eval ac_new_val=\$ac_env_${ac_var}_value
   2199   case $ac_old_set,$ac_new_set in
   2200     set,)
   2201       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2203       ac_cache_corrupted=: ;;
   2204     ,set)
   2205       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2207       ac_cache_corrupted=: ;;
   2208     ,);;
   2209     *)
   2210       if test "x$ac_old_val" != "x$ac_new_val"; then
   2211 	# differences in whitespace do not lead to failure.
   2212 	ac_old_val_w=`echo x $ac_old_val`
   2213 	ac_new_val_w=`echo x $ac_new_val`
   2214 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2215 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2217 	  ac_cache_corrupted=:
   2218 	else
   2219 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2221 	  eval $ac_var=\$ac_old_val
   2222 	fi
   2223 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2224 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2225 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2226 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2227       fi;;
   2228   esac
   2229   # Pass precious variables to config.status.
   2230   if test "$ac_new_set" = set; then
   2231     case $ac_new_val in
   2232     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2233     *) ac_arg=$ac_var=$ac_new_val ;;
   2234     esac
   2235     case " $ac_configure_args " in
   2236       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2237       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2238     esac
   2239   fi
   2240 done
   2241 if $ac_cache_corrupted; then
   2242   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2244   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2246   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2247 fi
   2248 ## -------------------- ##
   2249 ## Main body of script. ##
   2250 ## -------------------- ##
   2251 
   2252 ac_ext=c
   2253 ac_cpp='$CPP $CPPFLAGS'
   2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2257 
   2258 
   2259 
   2260 
   2261 
   2262 
   2263 
   2264 ac_aux_dir=
   2265 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2266   if test -f "$ac_dir/install-sh"; then
   2267     ac_aux_dir=$ac_dir
   2268     ac_install_sh="$ac_aux_dir/install-sh -c"
   2269     break
   2270   elif test -f "$ac_dir/install.sh"; then
   2271     ac_aux_dir=$ac_dir
   2272     ac_install_sh="$ac_aux_dir/install.sh -c"
   2273     break
   2274   elif test -f "$ac_dir/shtool"; then
   2275     ac_aux_dir=$ac_dir
   2276     ac_install_sh="$ac_aux_dir/shtool install -c"
   2277     break
   2278   fi
   2279 done
   2280 if test -z "$ac_aux_dir"; then
   2281   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2282 fi
   2283 
   2284 # These three variables are undocumented and unsupported,
   2285 # and are intended to be withdrawn in a future Autoconf release.
   2286 # They can cause serious problems if a builder's source tree is in a directory
   2287 # whose full name contains unusual characters.
   2288 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2289 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2290 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2291 
   2292 
   2293 # Make sure we can run config.sub.
   2294 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2295   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2296 
   2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2298 $as_echo_n "checking build system type... " >&6; }
   2299 if ${ac_cv_build+:} false; then :
   2300   $as_echo_n "(cached) " >&6
   2301 else
   2302   ac_build_alias=$build_alias
   2303 test "x$ac_build_alias" = x &&
   2304   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2305 test "x$ac_build_alias" = x &&
   2306   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2307 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2308   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2309 
   2310 fi
   2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2312 $as_echo "$ac_cv_build" >&6; }
   2313 case $ac_cv_build in
   2314 *-*-*) ;;
   2315 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2316 esac
   2317 build=$ac_cv_build
   2318 ac_save_IFS=$IFS; IFS='-'
   2319 set x $ac_cv_build
   2320 shift
   2321 build_cpu=$1
   2322 build_vendor=$2
   2323 shift; shift
   2324 # Remember, the first character of IFS is used to create $*,
   2325 # except with old shells:
   2326 build_os=$*
   2327 IFS=$ac_save_IFS
   2328 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2329 
   2330 
   2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2332 $as_echo_n "checking host system type... " >&6; }
   2333 if ${ac_cv_host+:} false; then :
   2334   $as_echo_n "(cached) " >&6
   2335 else
   2336   if test "x$host_alias" = x; then
   2337   ac_cv_host=$ac_cv_build
   2338 else
   2339   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2340     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2341 fi
   2342 
   2343 fi
   2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2345 $as_echo "$ac_cv_host" >&6; }
   2346 case $ac_cv_host in
   2347 *-*-*) ;;
   2348 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2349 esac
   2350 host=$ac_cv_host
   2351 ac_save_IFS=$IFS; IFS='-'
   2352 set x $ac_cv_host
   2353 shift
   2354 host_cpu=$1
   2355 host_vendor=$2
   2356 shift; shift
   2357 # Remember, the first character of IFS is used to create $*,
   2358 # except with old shells:
   2359 host_os=$*
   2360 IFS=$ac_save_IFS
   2361 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2362 
   2363 
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2365 $as_echo_n "checking target system type... " >&6; }
   2366 if ${ac_cv_target+:} false; then :
   2367   $as_echo_n "(cached) " >&6
   2368 else
   2369   if test "x$target_alias" = x; then
   2370   ac_cv_target=$ac_cv_host
   2371 else
   2372   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2373     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2374 fi
   2375 
   2376 fi
   2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2378 $as_echo "$ac_cv_target" >&6; }
   2379 case $ac_cv_target in
   2380 *-*-*) ;;
   2381 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2382 esac
   2383 target=$ac_cv_target
   2384 ac_save_IFS=$IFS; IFS='-'
   2385 set x $ac_cv_target
   2386 shift
   2387 target_cpu=$1
   2388 target_vendor=$2
   2389 shift; shift
   2390 # Remember, the first character of IFS is used to create $*,
   2391 # except with old shells:
   2392 target_os=$*
   2393 IFS=$ac_save_IFS
   2394 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2395 
   2396 
   2397 # The aliases save the names the user supplied, while $host etc.
   2398 # will get canonicalized.
   2399 test -n "$target_alias" &&
   2400   test "$program_prefix$program_suffix$program_transform_name" = \
   2401     NONENONEs,x,x, &&
   2402   program_prefix=${target_alias}-
   2403 
   2404 am__api_version='1.15'
   2405 
   2406 # Find a good install program.  We prefer a C program (faster),
   2407 # so one script is as good as another.  But avoid the broken or
   2408 # incompatible versions:
   2409 # SysV /etc/install, /usr/sbin/install
   2410 # SunOS /usr/etc/install
   2411 # IRIX /sbin/install
   2412 # AIX /bin/install
   2413 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2414 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2415 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2417 # OS/2's system install, which has a completely different semantic
   2418 # ./install, which can be erroneously created by make from ./install.sh.
   2419 # Reject install programs that cannot install multiple files.
   2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2421 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2422 if test -z "$INSTALL"; then
   2423 if ${ac_cv_path_install+:} false; then :
   2424   $as_echo_n "(cached) " >&6
   2425 else
   2426   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2427 for as_dir in $PATH
   2428 do
   2429   IFS=$as_save_IFS
   2430   test -z "$as_dir" && as_dir=.
   2431     # Account for people who put trailing slashes in PATH elements.
   2432 case $as_dir/ in #((
   2433   ./ | .// | /[cC]/* | \
   2434   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2435   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2436   /usr/ucb/* ) ;;
   2437   *)
   2438     # OSF1 and SCO ODT 3.0 have their own names for install.
   2439     # Don't use installbsd from OSF since it installs stuff as root
   2440     # by default.
   2441     for ac_prog in ginstall scoinst install; do
   2442       for ac_exec_ext in '' $ac_executable_extensions; do
   2443 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2444 	  if test $ac_prog = install &&
   2445 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2446 	    # AIX install.  It has an incompatible calling convention.
   2447 	    :
   2448 	  elif test $ac_prog = install &&
   2449 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2450 	    # program-specific install script used by HP pwplus--don't use.
   2451 	    :
   2452 	  else
   2453 	    rm -rf conftest.one conftest.two conftest.dir
   2454 	    echo one > conftest.one
   2455 	    echo two > conftest.two
   2456 	    mkdir conftest.dir
   2457 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2458 	      test -s conftest.one && test -s conftest.two &&
   2459 	      test -s conftest.dir/conftest.one &&
   2460 	      test -s conftest.dir/conftest.two
   2461 	    then
   2462 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2463 	      break 3
   2464 	    fi
   2465 	  fi
   2466 	fi
   2467       done
   2468     done
   2469     ;;
   2470 esac
   2471 
   2472   done
   2473 IFS=$as_save_IFS
   2474 
   2475 rm -rf conftest.one conftest.two conftest.dir
   2476 
   2477 fi
   2478   if test "${ac_cv_path_install+set}" = set; then
   2479     INSTALL=$ac_cv_path_install
   2480   else
   2481     # As a last resort, use the slow shell script.  Don't cache a
   2482     # value for INSTALL within a source directory, because that will
   2483     # break other packages using the cache if that directory is
   2484     # removed, or if the value is a relative name.
   2485     INSTALL=$ac_install_sh
   2486   fi
   2487 fi
   2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2489 $as_echo "$INSTALL" >&6; }
   2490 
   2491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2492 # It thinks the first close brace ends the variable substitution.
   2493 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2494 
   2495 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2496 
   2497 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2498 
   2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2500 $as_echo_n "checking whether build environment is sane... " >&6; }
   2501 # Reject unsafe characters in $srcdir or the absolute working directory
   2502 # name.  Accept space and tab only in the latter.
   2503 am_lf='
   2504 '
   2505 case `pwd` in
   2506   *[\\\"\#\$\&\'\`$am_lf]*)
   2507     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2508 esac
   2509 case $srcdir in
   2510   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2511     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2512 esac
   2513 
   2514 # Do 'set' in a subshell so we don't clobber the current shell's
   2515 # arguments.  Must try -L first in case configure is actually a
   2516 # symlink; some systems play weird games with the mod time of symlinks
   2517 # (eg FreeBSD returns the mod time of the symlink's containing
   2518 # directory).
   2519 if (
   2520    am_has_slept=no
   2521    for am_try in 1 2; do
   2522      echo "timestamp, slept: $am_has_slept" > conftest.file
   2523      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2524      if test "$*" = "X"; then
   2525 	# -L didn't work.
   2526 	set X `ls -t "$srcdir/configure" conftest.file`
   2527      fi
   2528      if test "$*" != "X $srcdir/configure conftest.file" \
   2529 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2530 
   2531 	# If neither matched, then we have a broken ls.  This can happen
   2532 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2533 	# broken ls alias from the environment.  This has actually
   2534 	# happened.  Such a system could not be considered "sane".
   2535 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2536   alias in your environment" "$LINENO" 5
   2537      fi
   2538      if test "$2" = conftest.file || test $am_try -eq 2; then
   2539        break
   2540      fi
   2541      # Just in case.
   2542      sleep 1
   2543      am_has_slept=yes
   2544    done
   2545    test "$2" = conftest.file
   2546    )
   2547 then
   2548    # Ok.
   2549    :
   2550 else
   2551    as_fn_error $? "newly created file is older than distributed files!
   2552 Check your system clock" "$LINENO" 5
   2553 fi
   2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2555 $as_echo "yes" >&6; }
   2556 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2557 # generated files are strictly newer.
   2558 am_sleep_pid=
   2559 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2560   ( sleep 1 ) &
   2561   am_sleep_pid=$!
   2562 fi
   2563 
   2564 rm -f conftest.file
   2565 
   2566 test "$program_prefix" != NONE &&
   2567   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2568 # Use a double $ so make ignores it.
   2569 test "$program_suffix" != NONE &&
   2570   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2571 # Double any \ or $.
   2572 # By default was `s,x,x', remove it if useless.
   2573 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2574 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2575 
   2576 # Expand $ac_aux_dir to an absolute path.
   2577 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2578 
   2579 if test x"${MISSING+set}" != xset; then
   2580   case $am_aux_dir in
   2581   *\ * | *\	*)
   2582     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2583   *)
   2584     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2585   esac
   2586 fi
   2587 # Use eval to expand $SHELL
   2588 if eval "$MISSING --is-lightweight"; then
   2589   am_missing_run="$MISSING "
   2590 else
   2591   am_missing_run=
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2593 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2594 fi
   2595 
   2596 if test x"${install_sh+set}" != xset; then
   2597   case $am_aux_dir in
   2598   *\ * | *\	*)
   2599     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2600   *)
   2601     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2602   esac
   2603 fi
   2604 
   2605 # Installed binaries are usually stripped using 'strip' when the user
   2606 # run "make install-strip".  However 'strip' might not be the right
   2607 # tool to use in cross-compilation environments, therefore Automake
   2608 # will honor the 'STRIP' environment variable to overrule this program.
   2609 if test "$cross_compiling" != no; then
   2610   if test -n "$ac_tool_prefix"; then
   2611   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2612 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2614 $as_echo_n "checking for $ac_word... " >&6; }
   2615 if ${ac_cv_prog_STRIP+:} false; then :
   2616   $as_echo_n "(cached) " >&6
   2617 else
   2618   if test -n "$STRIP"; then
   2619   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2620 else
   2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2622 for as_dir in $PATH
   2623 do
   2624   IFS=$as_save_IFS
   2625   test -z "$as_dir" && as_dir=.
   2626     for ac_exec_ext in '' $ac_executable_extensions; do
   2627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2628     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2630     break 2
   2631   fi
   2632 done
   2633   done
   2634 IFS=$as_save_IFS
   2635 
   2636 fi
   2637 fi
   2638 STRIP=$ac_cv_prog_STRIP
   2639 if test -n "$STRIP"; then
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2641 $as_echo "$STRIP" >&6; }
   2642 else
   2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2644 $as_echo "no" >&6; }
   2645 fi
   2646 
   2647 
   2648 fi
   2649 if test -z "$ac_cv_prog_STRIP"; then
   2650   ac_ct_STRIP=$STRIP
   2651   # Extract the first word of "strip", so it can be a program name with args.
   2652 set dummy strip; ac_word=$2
   2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2654 $as_echo_n "checking for $ac_word... " >&6; }
   2655 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2656   $as_echo_n "(cached) " >&6
   2657 else
   2658   if test -n "$ac_ct_STRIP"; then
   2659   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2660 else
   2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2662 for as_dir in $PATH
   2663 do
   2664   IFS=$as_save_IFS
   2665   test -z "$as_dir" && as_dir=.
   2666     for ac_exec_ext in '' $ac_executable_extensions; do
   2667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2668     ac_cv_prog_ac_ct_STRIP="strip"
   2669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2670     break 2
   2671   fi
   2672 done
   2673   done
   2674 IFS=$as_save_IFS
   2675 
   2676 fi
   2677 fi
   2678 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2679 if test -n "$ac_ct_STRIP"; then
   2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2681 $as_echo "$ac_ct_STRIP" >&6; }
   2682 else
   2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2684 $as_echo "no" >&6; }
   2685 fi
   2686 
   2687   if test "x$ac_ct_STRIP" = x; then
   2688     STRIP=":"
   2689   else
   2690     case $cross_compiling:$ac_tool_warned in
   2691 yes:)
   2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2694 ac_tool_warned=yes ;;
   2695 esac
   2696     STRIP=$ac_ct_STRIP
   2697   fi
   2698 else
   2699   STRIP="$ac_cv_prog_STRIP"
   2700 fi
   2701 
   2702 fi
   2703 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2704 
   2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2706 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2707 if test -z "$MKDIR_P"; then
   2708   if ${ac_cv_path_mkdir+:} false; then :
   2709   $as_echo_n "(cached) " >&6
   2710 else
   2711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2712 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2713 do
   2714   IFS=$as_save_IFS
   2715   test -z "$as_dir" && as_dir=.
   2716     for ac_prog in mkdir gmkdir; do
   2717 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2718 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2719 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2720 	     'mkdir (GNU coreutils) '* | \
   2721 	     'mkdir (coreutils) '* | \
   2722 	     'mkdir (fileutils) '4.1*)
   2723 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2724 	       break 3;;
   2725 	   esac
   2726 	 done
   2727        done
   2728   done
   2729 IFS=$as_save_IFS
   2730 
   2731 fi
   2732 
   2733   test -d ./--version && rmdir ./--version
   2734   if test "${ac_cv_path_mkdir+set}" = set; then
   2735     MKDIR_P="$ac_cv_path_mkdir -p"
   2736   else
   2737     # As a last resort, use the slow shell script.  Don't cache a
   2738     # value for MKDIR_P within a source directory, because that will
   2739     # break other packages using the cache if that directory is
   2740     # removed, or if the value is a relative name.
   2741     MKDIR_P="$ac_install_sh -d"
   2742   fi
   2743 fi
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2745 $as_echo "$MKDIR_P" >&6; }
   2746 
   2747 for ac_prog in gawk mawk nawk awk
   2748 do
   2749   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2750 set dummy $ac_prog; ac_word=$2
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2752 $as_echo_n "checking for $ac_word... " >&6; }
   2753 if ${ac_cv_prog_AWK+:} false; then :
   2754   $as_echo_n "(cached) " >&6
   2755 else
   2756   if test -n "$AWK"; then
   2757   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2758 else
   2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2760 for as_dir in $PATH
   2761 do
   2762   IFS=$as_save_IFS
   2763   test -z "$as_dir" && as_dir=.
   2764     for ac_exec_ext in '' $ac_executable_extensions; do
   2765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2766     ac_cv_prog_AWK="$ac_prog"
   2767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771   done
   2772 IFS=$as_save_IFS
   2773 
   2774 fi
   2775 fi
   2776 AWK=$ac_cv_prog_AWK
   2777 if test -n "$AWK"; then
   2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2779 $as_echo "$AWK" >&6; }
   2780 else
   2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2782 $as_echo "no" >&6; }
   2783 fi
   2784 
   2785 
   2786   test -n "$AWK" && break
   2787 done
   2788 
   2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2790 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2791 set x ${MAKE-make}
   2792 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2793 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2794   $as_echo_n "(cached) " >&6
   2795 else
   2796   cat >conftest.make <<\_ACEOF
   2797 SHELL = /bin/sh
   2798 all:
   2799 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2800 _ACEOF
   2801 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2802 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2803   *@@@%%%=?*=@@@%%%*)
   2804     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2805   *)
   2806     eval ac_cv_prog_make_${ac_make}_set=no;;
   2807 esac
   2808 rm -f conftest.make
   2809 fi
   2810 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2812 $as_echo "yes" >&6; }
   2813   SET_MAKE=
   2814 else
   2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2816 $as_echo "no" >&6; }
   2817   SET_MAKE="MAKE=${MAKE-make}"
   2818 fi
   2819 
   2820 rm -rf .tst 2>/dev/null
   2821 mkdir .tst 2>/dev/null
   2822 if test -d .tst; then
   2823   am__leading_dot=.
   2824 else
   2825   am__leading_dot=_
   2826 fi
   2827 rmdir .tst 2>/dev/null
   2828 
   2829 # Check whether --enable-silent-rules was given.
   2830 if test "${enable_silent_rules+set}" = set; then :
   2831   enableval=$enable_silent_rules;
   2832 fi
   2833 
   2834 case $enable_silent_rules in # (((
   2835   yes) AM_DEFAULT_VERBOSITY=0;;
   2836    no) AM_DEFAULT_VERBOSITY=1;;
   2837     *) AM_DEFAULT_VERBOSITY=1;;
   2838 esac
   2839 am_make=${MAKE-make}
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2841 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2842 if ${am_cv_make_support_nested_variables+:} false; then :
   2843   $as_echo_n "(cached) " >&6
   2844 else
   2845   if $as_echo 'TRUE=$(BAR$(V))
   2846 BAR0=false
   2847 BAR1=true
   2848 V=1
   2849 am__doit:
   2850 	@$(TRUE)
   2851 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2852   am_cv_make_support_nested_variables=yes
   2853 else
   2854   am_cv_make_support_nested_variables=no
   2855 fi
   2856 fi
   2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2858 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2859 if test $am_cv_make_support_nested_variables = yes; then
   2860     AM_V='$(V)'
   2861   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2862 else
   2863   AM_V=$AM_DEFAULT_VERBOSITY
   2864   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2865 fi
   2866 AM_BACKSLASH='\'
   2867 
   2868 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2869   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2870   # is not polluted with repeated "-I."
   2871   am__isrc=' -I$(srcdir)'
   2872   # test to see if srcdir already configured
   2873   if test -f $srcdir/config.status; then
   2874     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2875   fi
   2876 fi
   2877 
   2878 # test whether we have cygpath
   2879 if test -z "$CYGPATH_W"; then
   2880   if (cygpath --version) >/dev/null 2>/dev/null; then
   2881     CYGPATH_W='cygpath -w'
   2882   else
   2883     CYGPATH_W=echo
   2884   fi
   2885 fi
   2886 
   2887 
   2888 # Define the identity of the package.
   2889  PACKAGE='gprof'
   2890  VERSION='2.46.0'
   2891 
   2892 
   2893 cat >>confdefs.h <<_ACEOF
   2894 #define PACKAGE "$PACKAGE"
   2895 _ACEOF
   2896 
   2897 
   2898 cat >>confdefs.h <<_ACEOF
   2899 #define VERSION "$VERSION"
   2900 _ACEOF
   2901 
   2902 # Some tools Automake needs.
   2903 
   2904 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2905 
   2906 
   2907 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2908 
   2909 
   2910 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2911 
   2912 
   2913 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2914 
   2915 
   2916 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2917 
   2918 # For better backward compatibility.  To be removed once Automake 1.9.x
   2919 # dies out for good.  For more background, see:
   2920 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2921 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2922 mkdir_p='$(MKDIR_P)'
   2923 
   2924 # We need awk for the "check" target (and possibly the TAP driver).  The
   2925 # system "awk" is bad on some platforms.
   2926 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2927 # in the wild :-(  We should find a proper way to deprecate it ...
   2928 AMTAR='$${TAR-tar}'
   2929 
   2930 
   2931 # We'll loop over all known methods to create a tar archive until one works.
   2932 _am_tools='gnutar  pax cpio none'
   2933 
   2934 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2935 
   2936 
   2937 
   2938 
   2939 
   2940 
   2941 # POSIX will say in a future version that running "rm -f" with no argument
   2942 # is OK; and we want to be able to make that assumption in our Makefile
   2943 # recipes.  So use an aggressive probe to check that the usage we want is
   2944 # actually supported "in the wild" to an acceptable degree.
   2945 # See automake bug#10828.
   2946 # To make any issue more visible, cause the running configure to be aborted
   2947 # by default if the 'rm' program in use doesn't match our expectations; the
   2948 # user can still override this though.
   2949 if rm -f && rm -fr && rm -rf; then : OK; else
   2950   cat >&2 <<'END'
   2951 Oops!
   2952 
   2953 Your 'rm' program seems unable to run without file operands specified
   2954 on the command line, even when the '-f' option is present.  This is contrary
   2955 to the behaviour of most rm programs out there, and not conforming with
   2956 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2957 
   2958 Please tell bug-automake@gnu.org about your system, including the value
   2959 of your $PATH and any error possibly output before this message.  This
   2960 can help us improve future automake versions.
   2961 
   2962 END
   2963   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2964     echo 'Configuration will proceed anyway, since you have set the' >&2
   2965     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2966     echo >&2
   2967   else
   2968     cat >&2 <<'END'
   2969 Aborting the configuration process, to ensure you take notice of the issue.
   2970 
   2971 You can download and install GNU coreutils to get an 'rm' implementation
   2972 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2973 
   2974 If you want to complete the configuration process using your problematic
   2975 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2976 to "yes", and re-run configure.
   2977 
   2978 END
   2979     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2980   fi
   2981 fi
   2982 
   2983 # Check whether --enable-silent-rules was given.
   2984 if test "${enable_silent_rules+set}" = set; then :
   2985   enableval=$enable_silent_rules;
   2986 fi
   2987 
   2988 case $enable_silent_rules in # (((
   2989   yes) AM_DEFAULT_VERBOSITY=0;;
   2990    no) AM_DEFAULT_VERBOSITY=1;;
   2991     *) AM_DEFAULT_VERBOSITY=0;;
   2992 esac
   2993 am_make=${MAKE-make}
   2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2995 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2996 if ${am_cv_make_support_nested_variables+:} false; then :
   2997   $as_echo_n "(cached) " >&6
   2998 else
   2999   if $as_echo 'TRUE=$(BAR$(V))
   3000 BAR0=false
   3001 BAR1=true
   3002 V=1
   3003 am__doit:
   3004 	@$(TRUE)
   3005 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3006   am_cv_make_support_nested_variables=yes
   3007 else
   3008   am_cv_make_support_nested_variables=no
   3009 fi
   3010 fi
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3012 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3013 if test $am_cv_make_support_nested_variables = yes; then
   3014     AM_V='$(V)'
   3015   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3016 else
   3017   AM_V=$AM_DEFAULT_VERBOSITY
   3018   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3019 fi
   3020 AM_BACKSLASH='\'
   3021 
   3022 
   3023 ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
   3024 
   3025 
   3026 ac_ext=c
   3027 ac_cpp='$CPP $CPPFLAGS'
   3028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3031 if test -n "$ac_tool_prefix"; then
   3032   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3035 $as_echo_n "checking for $ac_word... " >&6; }
   3036 if ${ac_cv_prog_CC+:} false; then :
   3037   $as_echo_n "(cached) " >&6
   3038 else
   3039   if test -n "$CC"; then
   3040   ac_cv_prog_CC="$CC" # Let the user override the test.
   3041 else
   3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3043 for as_dir in $PATH
   3044 do
   3045   IFS=$as_save_IFS
   3046   test -z "$as_dir" && as_dir=.
   3047     for ac_exec_ext in '' $ac_executable_extensions; do
   3048   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3049     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3051     break 2
   3052   fi
   3053 done
   3054   done
   3055 IFS=$as_save_IFS
   3056 
   3057 fi
   3058 fi
   3059 CC=$ac_cv_prog_CC
   3060 if test -n "$CC"; then
   3061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3062 $as_echo "$CC" >&6; }
   3063 else
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3065 $as_echo "no" >&6; }
   3066 fi
   3067 
   3068 
   3069 fi
   3070 if test -z "$ac_cv_prog_CC"; then
   3071   ac_ct_CC=$CC
   3072   # Extract the first word of "gcc", so it can be a program name with args.
   3073 set dummy gcc; ac_word=$2
   3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3075 $as_echo_n "checking for $ac_word... " >&6; }
   3076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3077   $as_echo_n "(cached) " >&6
   3078 else
   3079   if test -n "$ac_ct_CC"; then
   3080   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3081 else
   3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3083 for as_dir in $PATH
   3084 do
   3085   IFS=$as_save_IFS
   3086   test -z "$as_dir" && as_dir=.
   3087     for ac_exec_ext in '' $ac_executable_extensions; do
   3088   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3089     ac_cv_prog_ac_ct_CC="gcc"
   3090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3091     break 2
   3092   fi
   3093 done
   3094   done
   3095 IFS=$as_save_IFS
   3096 
   3097 fi
   3098 fi
   3099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3100 if test -n "$ac_ct_CC"; then
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3102 $as_echo "$ac_ct_CC" >&6; }
   3103 else
   3104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3105 $as_echo "no" >&6; }
   3106 fi
   3107 
   3108   if test "x$ac_ct_CC" = x; then
   3109     CC=""
   3110   else
   3111     case $cross_compiling:$ac_tool_warned in
   3112 yes:)
   3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3115 ac_tool_warned=yes ;;
   3116 esac
   3117     CC=$ac_ct_CC
   3118   fi
   3119 else
   3120   CC="$ac_cv_prog_CC"
   3121 fi
   3122 
   3123 if test -z "$CC"; then
   3124           if test -n "$ac_tool_prefix"; then
   3125     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3126 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3128 $as_echo_n "checking for $ac_word... " >&6; }
   3129 if ${ac_cv_prog_CC+:} false; then :
   3130   $as_echo_n "(cached) " >&6
   3131 else
   3132   if test -n "$CC"; then
   3133   ac_cv_prog_CC="$CC" # Let the user override the test.
   3134 else
   3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3136 for as_dir in $PATH
   3137 do
   3138   IFS=$as_save_IFS
   3139   test -z "$as_dir" && as_dir=.
   3140     for ac_exec_ext in '' $ac_executable_extensions; do
   3141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3142     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3144     break 2
   3145   fi
   3146 done
   3147   done
   3148 IFS=$as_save_IFS
   3149 
   3150 fi
   3151 fi
   3152 CC=$ac_cv_prog_CC
   3153 if test -n "$CC"; then
   3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3155 $as_echo "$CC" >&6; }
   3156 else
   3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3158 $as_echo "no" >&6; }
   3159 fi
   3160 
   3161 
   3162   fi
   3163 fi
   3164 if test -z "$CC"; then
   3165   # Extract the first word of "cc", so it can be a program name with args.
   3166 set dummy cc; ac_word=$2
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3168 $as_echo_n "checking for $ac_word... " >&6; }
   3169 if ${ac_cv_prog_CC+:} false; then :
   3170   $as_echo_n "(cached) " >&6
   3171 else
   3172   if test -n "$CC"; then
   3173   ac_cv_prog_CC="$CC" # Let the user override the test.
   3174 else
   3175   ac_prog_rejected=no
   3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3177 for as_dir in $PATH
   3178 do
   3179   IFS=$as_save_IFS
   3180   test -z "$as_dir" && as_dir=.
   3181     for ac_exec_ext in '' $ac_executable_extensions; do
   3182   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3183     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3184        ac_prog_rejected=yes
   3185        continue
   3186      fi
   3187     ac_cv_prog_CC="cc"
   3188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3189     break 2
   3190   fi
   3191 done
   3192   done
   3193 IFS=$as_save_IFS
   3194 
   3195 if test $ac_prog_rejected = yes; then
   3196   # We found a bogon in the path, so make sure we never use it.
   3197   set dummy $ac_cv_prog_CC
   3198   shift
   3199   if test $# != 0; then
   3200     # We chose a different compiler from the bogus one.
   3201     # However, it has the same basename, so the bogon will be chosen
   3202     # first if we set CC to just the basename; use the full file name.
   3203     shift
   3204     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3205   fi
   3206 fi
   3207 fi
   3208 fi
   3209 CC=$ac_cv_prog_CC
   3210 if test -n "$CC"; then
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3212 $as_echo "$CC" >&6; }
   3213 else
   3214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3215 $as_echo "no" >&6; }
   3216 fi
   3217 
   3218 
   3219 fi
   3220 if test -z "$CC"; then
   3221   if test -n "$ac_tool_prefix"; then
   3222   for ac_prog in cl.exe
   3223   do
   3224     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3227 $as_echo_n "checking for $ac_word... " >&6; }
   3228 if ${ac_cv_prog_CC+:} false; then :
   3229   $as_echo_n "(cached) " >&6
   3230 else
   3231   if test -n "$CC"; then
   3232   ac_cv_prog_CC="$CC" # Let the user override the test.
   3233 else
   3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3235 for as_dir in $PATH
   3236 do
   3237   IFS=$as_save_IFS
   3238   test -z "$as_dir" && as_dir=.
   3239     for ac_exec_ext in '' $ac_executable_extensions; do
   3240   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3241     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3243     break 2
   3244   fi
   3245 done
   3246   done
   3247 IFS=$as_save_IFS
   3248 
   3249 fi
   3250 fi
   3251 CC=$ac_cv_prog_CC
   3252 if test -n "$CC"; then
   3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3254 $as_echo "$CC" >&6; }
   3255 else
   3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3257 $as_echo "no" >&6; }
   3258 fi
   3259 
   3260 
   3261     test -n "$CC" && break
   3262   done
   3263 fi
   3264 if test -z "$CC"; then
   3265   ac_ct_CC=$CC
   3266   for ac_prog in cl.exe
   3267 do
   3268   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3269 set dummy $ac_prog; ac_word=$2
   3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3271 $as_echo_n "checking for $ac_word... " >&6; }
   3272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3273   $as_echo_n "(cached) " >&6
   3274 else
   3275   if test -n "$ac_ct_CC"; then
   3276   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3277 else
   3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3279 for as_dir in $PATH
   3280 do
   3281   IFS=$as_save_IFS
   3282   test -z "$as_dir" && as_dir=.
   3283     for ac_exec_ext in '' $ac_executable_extensions; do
   3284   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3285     ac_cv_prog_ac_ct_CC="$ac_prog"
   3286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3287     break 2
   3288   fi
   3289 done
   3290   done
   3291 IFS=$as_save_IFS
   3292 
   3293 fi
   3294 fi
   3295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3296 if test -n "$ac_ct_CC"; then
   3297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3298 $as_echo "$ac_ct_CC" >&6; }
   3299 else
   3300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3301 $as_echo "no" >&6; }
   3302 fi
   3303 
   3304 
   3305   test -n "$ac_ct_CC" && break
   3306 done
   3307 
   3308   if test "x$ac_ct_CC" = x; then
   3309     CC=""
   3310   else
   3311     case $cross_compiling:$ac_tool_warned in
   3312 yes:)
   3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3315 ac_tool_warned=yes ;;
   3316 esac
   3317     CC=$ac_ct_CC
   3318   fi
   3319 fi
   3320 
   3321 fi
   3322 
   3323 
   3324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3326 as_fn_error $? "no acceptable C compiler found in \$PATH
   3327 See \`config.log' for more details" "$LINENO" 5; }
   3328 
   3329 # Provide some information about the compiler.
   3330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3331 set X $ac_compile
   3332 ac_compiler=$2
   3333 for ac_option in --version -v -V -qversion; do
   3334   { { ac_try="$ac_compiler $ac_option >&5"
   3335 case "(($ac_try" in
   3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3337   *) ac_try_echo=$ac_try;;
   3338 esac
   3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3340 $as_echo "$ac_try_echo"; } >&5
   3341   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3342   ac_status=$?
   3343   if test -s conftest.err; then
   3344     sed '10a\
   3345 ... rest of stderr output deleted ...
   3346          10q' conftest.err >conftest.er1
   3347     cat conftest.er1 >&5
   3348   fi
   3349   rm -f conftest.er1 conftest.err
   3350   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3351   test $ac_status = 0; }
   3352 done
   3353 
   3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3355 /* end confdefs.h.  */
   3356 
   3357 int
   3358 main ()
   3359 {
   3360 
   3361   ;
   3362   return 0;
   3363 }
   3364 _ACEOF
   3365 ac_clean_files_save=$ac_clean_files
   3366 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3367 # Try to create an executable without -o first, disregard a.out.
   3368 # It will help us diagnose broken compilers, and finding out an intuition
   3369 # of exeext.
   3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3371 $as_echo_n "checking whether the C compiler works... " >&6; }
   3372 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3373 
   3374 # The possible output files:
   3375 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3376 
   3377 ac_rmfiles=
   3378 for ac_file in $ac_files
   3379 do
   3380   case $ac_file in
   3381     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3382     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3383   esac
   3384 done
   3385 rm -f $ac_rmfiles
   3386 
   3387 if { { ac_try="$ac_link_default"
   3388 case "(($ac_try" in
   3389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3390   *) ac_try_echo=$ac_try;;
   3391 esac
   3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3393 $as_echo "$ac_try_echo"; } >&5
   3394   (eval "$ac_link_default") 2>&5
   3395   ac_status=$?
   3396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3397   test $ac_status = 0; }; then :
   3398   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3400 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3401 # so that the user can short-circuit this test for compilers unknown to
   3402 # Autoconf.
   3403 for ac_file in $ac_files ''
   3404 do
   3405   test -f "$ac_file" || continue
   3406   case $ac_file in
   3407     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3408 	;;
   3409     [ab].out )
   3410 	# We found the default executable, but exeext='' is most
   3411 	# certainly right.
   3412 	break;;
   3413     *.* )
   3414 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3415 	then :; else
   3416 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3417 	fi
   3418 	# We set ac_cv_exeext here because the later test for it is not
   3419 	# safe: cross compilers may not add the suffix if given an `-o'
   3420 	# argument, so we may need to know it at that point already.
   3421 	# Even if this section looks crufty: it has the advantage of
   3422 	# actually working.
   3423 	break;;
   3424     * )
   3425 	break;;
   3426   esac
   3427 done
   3428 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3429 
   3430 else
   3431   ac_file=''
   3432 fi
   3433 if test -z "$ac_file"; then :
   3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3435 $as_echo "no" >&6; }
   3436 $as_echo "$as_me: failed program was:" >&5
   3437 sed 's/^/| /' conftest.$ac_ext >&5
   3438 
   3439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3441 as_fn_error 77 "C compiler cannot create executables
   3442 See \`config.log' for more details" "$LINENO" 5; }
   3443 else
   3444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3445 $as_echo "yes" >&6; }
   3446 fi
   3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3448 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3450 $as_echo "$ac_file" >&6; }
   3451 ac_exeext=$ac_cv_exeext
   3452 
   3453 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3454 ac_clean_files=$ac_clean_files_save
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3456 $as_echo_n "checking for suffix of executables... " >&6; }
   3457 if { { ac_try="$ac_link"
   3458 case "(($ac_try" in
   3459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3460   *) ac_try_echo=$ac_try;;
   3461 esac
   3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3463 $as_echo "$ac_try_echo"; } >&5
   3464   (eval "$ac_link") 2>&5
   3465   ac_status=$?
   3466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3467   test $ac_status = 0; }; then :
   3468   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3469 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3470 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3471 # `rm'.
   3472 for ac_file in conftest.exe conftest conftest.*; do
   3473   test -f "$ac_file" || continue
   3474   case $ac_file in
   3475     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3476     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3477 	  break;;
   3478     * ) break;;
   3479   esac
   3480 done
   3481 else
   3482   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3484 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3485 See \`config.log' for more details" "$LINENO" 5; }
   3486 fi
   3487 rm -f conftest conftest$ac_cv_exeext
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3489 $as_echo "$ac_cv_exeext" >&6; }
   3490 
   3491 rm -f conftest.$ac_ext
   3492 EXEEXT=$ac_cv_exeext
   3493 ac_exeext=$EXEEXT
   3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3495 /* end confdefs.h.  */
   3496 #include <stdio.h>
   3497 int
   3498 main ()
   3499 {
   3500 FILE *f = fopen ("conftest.out", "w");
   3501  return ferror (f) || fclose (f) != 0;
   3502 
   3503   ;
   3504   return 0;
   3505 }
   3506 _ACEOF
   3507 ac_clean_files="$ac_clean_files conftest.out"
   3508 # Check that the compiler produces executables we can run.  If not, either
   3509 # the compiler is broken, or we cross compile.
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3511 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3512 if test "$cross_compiling" != yes; then
   3513   { { ac_try="$ac_link"
   3514 case "(($ac_try" in
   3515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3516   *) ac_try_echo=$ac_try;;
   3517 esac
   3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3519 $as_echo "$ac_try_echo"; } >&5
   3520   (eval "$ac_link") 2>&5
   3521   ac_status=$?
   3522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3523   test $ac_status = 0; }
   3524   if { ac_try='./conftest$ac_cv_exeext'
   3525   { { case "(($ac_try" in
   3526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3527   *) ac_try_echo=$ac_try;;
   3528 esac
   3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3530 $as_echo "$ac_try_echo"; } >&5
   3531   (eval "$ac_try") 2>&5
   3532   ac_status=$?
   3533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3534   test $ac_status = 0; }; }; then
   3535     cross_compiling=no
   3536   else
   3537     if test "$cross_compiling" = maybe; then
   3538 	cross_compiling=yes
   3539     else
   3540 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3542 as_fn_error $? "cannot run C compiled programs.
   3543 If you meant to cross compile, use \`--host'.
   3544 See \`config.log' for more details" "$LINENO" 5; }
   3545     fi
   3546   fi
   3547 fi
   3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3549 $as_echo "$cross_compiling" >&6; }
   3550 
   3551 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3552 ac_clean_files=$ac_clean_files_save
   3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3554 $as_echo_n "checking for suffix of object files... " >&6; }
   3555 if ${ac_cv_objext+:} false; then :
   3556   $as_echo_n "(cached) " >&6
   3557 else
   3558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3559 /* end confdefs.h.  */
   3560 
   3561 int
   3562 main ()
   3563 {
   3564 
   3565   ;
   3566   return 0;
   3567 }
   3568 _ACEOF
   3569 rm -f conftest.o conftest.obj
   3570 if { { ac_try="$ac_compile"
   3571 case "(($ac_try" in
   3572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3573   *) ac_try_echo=$ac_try;;
   3574 esac
   3575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3576 $as_echo "$ac_try_echo"; } >&5
   3577   (eval "$ac_compile") 2>&5
   3578   ac_status=$?
   3579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3580   test $ac_status = 0; }; then :
   3581   for ac_file in conftest.o conftest.obj conftest.*; do
   3582   test -f "$ac_file" || continue;
   3583   case $ac_file in
   3584     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3585     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3586        break;;
   3587   esac
   3588 done
   3589 else
   3590   $as_echo "$as_me: failed program was:" >&5
   3591 sed 's/^/| /' conftest.$ac_ext >&5
   3592 
   3593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3595 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3596 See \`config.log' for more details" "$LINENO" 5; }
   3597 fi
   3598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3599 fi
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3601 $as_echo "$ac_cv_objext" >&6; }
   3602 OBJEXT=$ac_cv_objext
   3603 ac_objext=$OBJEXT
   3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3606 if ${ac_cv_c_compiler_gnu+:} false; then :
   3607   $as_echo_n "(cached) " >&6
   3608 else
   3609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3610 /* end confdefs.h.  */
   3611 
   3612 int
   3613 main ()
   3614 {
   3615 #ifndef __GNUC__
   3616        choke me
   3617 #endif
   3618 
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 if ac_fn_c_try_compile "$LINENO"; then :
   3624   ac_compiler_gnu=yes
   3625 else
   3626   ac_compiler_gnu=no
   3627 fi
   3628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3630 
   3631 fi
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3634 if test $ac_compiler_gnu = yes; then
   3635   GCC=yes
   3636 else
   3637   GCC=
   3638 fi
   3639 ac_test_CFLAGS=${CFLAGS+set}
   3640 ac_save_CFLAGS=$CFLAGS
   3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3643 if ${ac_cv_prog_cc_g+:} false; then :
   3644   $as_echo_n "(cached) " >&6
   3645 else
   3646   ac_save_c_werror_flag=$ac_c_werror_flag
   3647    ac_c_werror_flag=yes
   3648    ac_cv_prog_cc_g=no
   3649    CFLAGS="-g"
   3650    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3651 /* end confdefs.h.  */
   3652 
   3653 int
   3654 main ()
   3655 {
   3656 
   3657   ;
   3658   return 0;
   3659 }
   3660 _ACEOF
   3661 if ac_fn_c_try_compile "$LINENO"; then :
   3662   ac_cv_prog_cc_g=yes
   3663 else
   3664   CFLAGS=""
   3665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3666 /* end confdefs.h.  */
   3667 
   3668 int
   3669 main ()
   3670 {
   3671 
   3672   ;
   3673   return 0;
   3674 }
   3675 _ACEOF
   3676 if ac_fn_c_try_compile "$LINENO"; then :
   3677 
   3678 else
   3679   ac_c_werror_flag=$ac_save_c_werror_flag
   3680 	 CFLAGS="-g"
   3681 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3682 /* end confdefs.h.  */
   3683 
   3684 int
   3685 main ()
   3686 {
   3687 
   3688   ;
   3689   return 0;
   3690 }
   3691 _ACEOF
   3692 if ac_fn_c_try_compile "$LINENO"; then :
   3693   ac_cv_prog_cc_g=yes
   3694 fi
   3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3696 fi
   3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3698 fi
   3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3700    ac_c_werror_flag=$ac_save_c_werror_flag
   3701 fi
   3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3703 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3704 if test "$ac_test_CFLAGS" = set; then
   3705   CFLAGS=$ac_save_CFLAGS
   3706 elif test $ac_cv_prog_cc_g = yes; then
   3707   if test "$GCC" = yes; then
   3708     CFLAGS="-g -O2"
   3709   else
   3710     CFLAGS="-g"
   3711   fi
   3712 else
   3713   if test "$GCC" = yes; then
   3714     CFLAGS="-O2"
   3715   else
   3716     CFLAGS=
   3717   fi
   3718 fi
   3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3721 if ${ac_cv_prog_cc_c89+:} false; then :
   3722   $as_echo_n "(cached) " >&6
   3723 else
   3724   ac_cv_prog_cc_c89=no
   3725 ac_save_CC=$CC
   3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3727 /* end confdefs.h.  */
   3728 #include <stdarg.h>
   3729 #include <stdio.h>
   3730 struct stat;
   3731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3732 struct buf { int x; };
   3733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3734 static char *e (p, i)
   3735      char **p;
   3736      int i;
   3737 {
   3738   return p[i];
   3739 }
   3740 static char *f (char * (*g) (char **, int), char **p, ...)
   3741 {
   3742   char *s;
   3743   va_list v;
   3744   va_start (v,p);
   3745   s = g (p, va_arg (v,int));
   3746   va_end (v);
   3747   return s;
   3748 }
   3749 
   3750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3751    function prototypes and stuff, but not '\xHH' hex character constants.
   3752    These don't provoke an error unfortunately, instead are silently treated
   3753    as 'x'.  The following induces an error, until -std is added to get
   3754    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3755    array size at least.  It's necessary to write '\x00'==0 to get something
   3756    that's true only with -std.  */
   3757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3758 
   3759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3760    inside strings and character constants.  */
   3761 #define FOO(x) 'x'
   3762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3763 
   3764 int test (int i, double x);
   3765 struct s1 {int (*f) (int a);};
   3766 struct s2 {int (*f) (double a);};
   3767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3768 int argc;
   3769 char **argv;
   3770 int
   3771 main ()
   3772 {
   3773 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3774   ;
   3775   return 0;
   3776 }
   3777 _ACEOF
   3778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3779 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3780 do
   3781   CC="$ac_save_CC $ac_arg"
   3782   if ac_fn_c_try_compile "$LINENO"; then :
   3783   ac_cv_prog_cc_c89=$ac_arg
   3784 fi
   3785 rm -f core conftest.err conftest.$ac_objext
   3786   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3787 done
   3788 rm -f conftest.$ac_ext
   3789 CC=$ac_save_CC
   3790 
   3791 fi
   3792 # AC_CACHE_VAL
   3793 case "x$ac_cv_prog_cc_c89" in
   3794   x)
   3795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3796 $as_echo "none needed" >&6; } ;;
   3797   xno)
   3798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3799 $as_echo "unsupported" >&6; } ;;
   3800   *)
   3801     CC="$CC $ac_cv_prog_cc_c89"
   3802     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3804 esac
   3805 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3806 
   3807 fi
   3808 
   3809 ac_ext=c
   3810 ac_cpp='$CPP $CPPFLAGS'
   3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3814 
   3815 ac_ext=c
   3816 ac_cpp='$CPP $CPPFLAGS'
   3817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3821 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3822 if ${am_cv_prog_cc_c_o+:} false; then :
   3823   $as_echo_n "(cached) " >&6
   3824 else
   3825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3826 /* end confdefs.h.  */
   3827 
   3828 int
   3829 main ()
   3830 {
   3831 
   3832   ;
   3833   return 0;
   3834 }
   3835 _ACEOF
   3836   # Make sure it works both with $CC and with simple cc.
   3837   # Following AC_PROG_CC_C_O, we do the test twice because some
   3838   # compilers refuse to overwrite an existing .o file with -o,
   3839   # though they will create one.
   3840   am_cv_prog_cc_c_o=yes
   3841   for am_i in 1 2; do
   3842     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3843    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3844    ac_status=$?
   3845    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3846    (exit $ac_status); } \
   3847          && test -f conftest2.$ac_objext; then
   3848       : OK
   3849     else
   3850       am_cv_prog_cc_c_o=no
   3851       break
   3852     fi
   3853   done
   3854   rm -f core conftest*
   3855   unset am_i
   3856 fi
   3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3858 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3859 if test "$am_cv_prog_cc_c_o" != yes; then
   3860    # Losing compiler, so override with the script.
   3861    # FIXME: It is wrong to rewrite CC.
   3862    # But if we don't then we get into trouble of one sort or another.
   3863    # A longer-term fix would be to have automake use am__CC in this case,
   3864    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3865    CC="$am_aux_dir/compile $CC"
   3866 fi
   3867 ac_ext=c
   3868 ac_cpp='$CPP $CPPFLAGS'
   3869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3872 
   3873 DEPDIR="${am__leading_dot}deps"
   3874 
   3875 ac_config_commands="$ac_config_commands depfiles"
   3876 
   3877 
   3878 am_make=${MAKE-make}
   3879 cat > confinc << 'END'
   3880 am__doit:
   3881 	@echo this is the am__doit target
   3882 .PHONY: am__doit
   3883 END
   3884 # If we don't find an include directive, just comment out the code.
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3886 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3887 am__include="#"
   3888 am__quote=
   3889 _am_result=none
   3890 # First try GNU make style include.
   3891 echo "include confinc" > confmf
   3892 # Ignore all kinds of additional output from 'make'.
   3893 case `$am_make -s -f confmf 2> /dev/null` in #(
   3894 *the\ am__doit\ target*)
   3895   am__include=include
   3896   am__quote=
   3897   _am_result=GNU
   3898   ;;
   3899 esac
   3900 # Now try BSD make style include.
   3901 if test "$am__include" = "#"; then
   3902    echo '.include "confinc"' > confmf
   3903    case `$am_make -s -f confmf 2> /dev/null` in #(
   3904    *the\ am__doit\ target*)
   3905      am__include=.include
   3906      am__quote="\""
   3907      _am_result=BSD
   3908      ;;
   3909    esac
   3910 fi
   3911 
   3912 
   3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3914 $as_echo "$_am_result" >&6; }
   3915 rm -f confinc confmf
   3916 
   3917 # Check whether --enable-dependency-tracking was given.
   3918 if test "${enable_dependency_tracking+set}" = set; then :
   3919   enableval=$enable_dependency_tracking;
   3920 fi
   3921 
   3922 if test "x$enable_dependency_tracking" != xno; then
   3923   am_depcomp="$ac_aux_dir/depcomp"
   3924   AMDEPBACKSLASH='\'
   3925   am__nodep='_no'
   3926 fi
   3927  if test "x$enable_dependency_tracking" != xno; then
   3928   AMDEP_TRUE=
   3929   AMDEP_FALSE='#'
   3930 else
   3931   AMDEP_TRUE='#'
   3932   AMDEP_FALSE=
   3933 fi
   3934 
   3935 
   3936 
   3937 depcc="$CC"   am_compiler_list=
   3938 
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3940 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3941 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3942   $as_echo_n "(cached) " >&6
   3943 else
   3944   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3945   # We make a subdir and do the tests there.  Otherwise we can end up
   3946   # making bogus files that we don't know about and never remove.  For
   3947   # instance it was reported that on HP-UX the gcc test will end up
   3948   # making a dummy file named 'D' -- because '-MD' means "put the output
   3949   # in D".
   3950   rm -rf conftest.dir
   3951   mkdir conftest.dir
   3952   # Copy depcomp to subdir because otherwise we won't find it if we're
   3953   # using a relative directory.
   3954   cp "$am_depcomp" conftest.dir
   3955   cd conftest.dir
   3956   # We will build objects and dependencies in a subdirectory because
   3957   # it helps to detect inapplicable dependency modes.  For instance
   3958   # both Tru64's cc and ICC support -MD to output dependencies as a
   3959   # side effect of compilation, but ICC will put the dependencies in
   3960   # the current directory while Tru64 will put them in the object
   3961   # directory.
   3962   mkdir sub
   3963 
   3964   am_cv_CC_dependencies_compiler_type=none
   3965   if test "$am_compiler_list" = ""; then
   3966      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3967   fi
   3968   am__universal=false
   3969   case " $depcc " in #(
   3970      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3971      esac
   3972 
   3973   for depmode in $am_compiler_list; do
   3974     # Setup a source with many dependencies, because some compilers
   3975     # like to wrap large dependency lists on column 80 (with \), and
   3976     # we should not choose a depcomp mode which is confused by this.
   3977     #
   3978     # We need to recreate these files for each test, as the compiler may
   3979     # overwrite some of them when testing with obscure command lines.
   3980     # This happens at least with the AIX C compiler.
   3981     : > sub/conftest.c
   3982     for i in 1 2 3 4 5 6; do
   3983       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3984       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3985       # Solaris 10 /bin/sh.
   3986       echo '/* dummy */' > sub/conftst$i.h
   3987     done
   3988     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3989 
   3990     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3991     # mode.  It turns out that the SunPro C++ compiler does not properly
   3992     # handle '-M -o', and we need to detect this.  Also, some Intel
   3993     # versions had trouble with output in subdirs.
   3994     am__obj=sub/conftest.${OBJEXT-o}
   3995     am__minus_obj="-o $am__obj"
   3996     case $depmode in
   3997     gcc)
   3998       # This depmode causes a compiler race in universal mode.
   3999       test "$am__universal" = false || continue
   4000       ;;
   4001     nosideeffect)
   4002       # After this tag, mechanisms are not by side-effect, so they'll
   4003       # only be used when explicitly requested.
   4004       if test "x$enable_dependency_tracking" = xyes; then
   4005 	continue
   4006       else
   4007 	break
   4008       fi
   4009       ;;
   4010     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4011       # This compiler won't grok '-c -o', but also, the minuso test has
   4012       # not run yet.  These depmodes are late enough in the game, and
   4013       # so weak that their functioning should not be impacted.
   4014       am__obj=conftest.${OBJEXT-o}
   4015       am__minus_obj=
   4016       ;;
   4017     none) break ;;
   4018     esac
   4019     if depmode=$depmode \
   4020        source=sub/conftest.c object=$am__obj \
   4021        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4022        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4023          >/dev/null 2>conftest.err &&
   4024        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4025        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4026        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4027        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4028       # icc doesn't choke on unknown options, it will just issue warnings
   4029       # or remarks (even with -Werror).  So we grep stderr for any message
   4030       # that says an option was ignored or not supported.
   4031       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4032       #   icc: Command line warning: ignoring option '-M'; no argument required
   4033       # The diagnosis changed in icc 8.0:
   4034       #   icc: Command line remark: option '-MP' not supported
   4035       if (grep 'ignoring option' conftest.err ||
   4036           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4037         am_cv_CC_dependencies_compiler_type=$depmode
   4038         break
   4039       fi
   4040     fi
   4041   done
   4042 
   4043   cd ..
   4044   rm -rf conftest.dir
   4045 else
   4046   am_cv_CC_dependencies_compiler_type=none
   4047 fi
   4048 
   4049 fi
   4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4051 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4052 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4053 
   4054  if
   4055   test "x$enable_dependency_tracking" != xno \
   4056   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4057   am__fastdepCC_TRUE=
   4058   am__fastdepCC_FALSE='#'
   4059 else
   4060   am__fastdepCC_TRUE='#'
   4061   am__fastdepCC_FALSE=
   4062 fi
   4063 
   4064 
   4065 
   4066 ac_ext=c
   4067 ac_cpp='$CPP $CPPFLAGS'
   4068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4072 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4073 # On Suns, sometimes $CPP names a directory.
   4074 if test -n "$CPP" && test -d "$CPP"; then
   4075   CPP=
   4076 fi
   4077 if test -z "$CPP"; then
   4078   if ${ac_cv_prog_CPP+:} false; then :
   4079   $as_echo_n "(cached) " >&6
   4080 else
   4081       # Double quotes because CPP needs to be expanded
   4082     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4083     do
   4084       ac_preproc_ok=false
   4085 for ac_c_preproc_warn_flag in '' yes
   4086 do
   4087   # Use a header file that comes with gcc, so configuring glibc
   4088   # with a fresh cross-compiler works.
   4089   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4090   # <limits.h> exists even on freestanding compilers.
   4091   # On the NeXT, cc -E runs the code through the compiler's parser,
   4092   # not just through cpp. "Syntax error" is here to catch this case.
   4093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4094 /* end confdefs.h.  */
   4095 #ifdef __STDC__
   4096 # include <limits.h>
   4097 #else
   4098 # include <assert.h>
   4099 #endif
   4100 		     Syntax error
   4101 _ACEOF
   4102 if ac_fn_c_try_cpp "$LINENO"; then :
   4103 
   4104 else
   4105   # Broken: fails on valid input.
   4106 continue
   4107 fi
   4108 rm -f conftest.err conftest.i conftest.$ac_ext
   4109 
   4110   # OK, works on sane cases.  Now check whether nonexistent headers
   4111   # can be detected and how.
   4112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4113 /* end confdefs.h.  */
   4114 #include <ac_nonexistent.h>
   4115 _ACEOF
   4116 if ac_fn_c_try_cpp "$LINENO"; then :
   4117   # Broken: success on invalid input.
   4118 continue
   4119 else
   4120   # Passes both tests.
   4121 ac_preproc_ok=:
   4122 break
   4123 fi
   4124 rm -f conftest.err conftest.i conftest.$ac_ext
   4125 
   4126 done
   4127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4128 rm -f conftest.i conftest.err conftest.$ac_ext
   4129 if $ac_preproc_ok; then :
   4130   break
   4131 fi
   4132 
   4133     done
   4134     ac_cv_prog_CPP=$CPP
   4135 
   4136 fi
   4137   CPP=$ac_cv_prog_CPP
   4138 else
   4139   ac_cv_prog_CPP=$CPP
   4140 fi
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4142 $as_echo "$CPP" >&6; }
   4143 ac_preproc_ok=false
   4144 for ac_c_preproc_warn_flag in '' yes
   4145 do
   4146   # Use a header file that comes with gcc, so configuring glibc
   4147   # with a fresh cross-compiler works.
   4148   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4149   # <limits.h> exists even on freestanding compilers.
   4150   # On the NeXT, cc -E runs the code through the compiler's parser,
   4151   # not just through cpp. "Syntax error" is here to catch this case.
   4152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4153 /* end confdefs.h.  */
   4154 #ifdef __STDC__
   4155 # include <limits.h>
   4156 #else
   4157 # include <assert.h>
   4158 #endif
   4159 		     Syntax error
   4160 _ACEOF
   4161 if ac_fn_c_try_cpp "$LINENO"; then :
   4162 
   4163 else
   4164   # Broken: fails on valid input.
   4165 continue
   4166 fi
   4167 rm -f conftest.err conftest.i conftest.$ac_ext
   4168 
   4169   # OK, works on sane cases.  Now check whether nonexistent headers
   4170   # can be detected and how.
   4171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4172 /* end confdefs.h.  */
   4173 #include <ac_nonexistent.h>
   4174 _ACEOF
   4175 if ac_fn_c_try_cpp "$LINENO"; then :
   4176   # Broken: success on invalid input.
   4177 continue
   4178 else
   4179   # Passes both tests.
   4180 ac_preproc_ok=:
   4181 break
   4182 fi
   4183 rm -f conftest.err conftest.i conftest.$ac_ext
   4184 
   4185 done
   4186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4187 rm -f conftest.i conftest.err conftest.$ac_ext
   4188 if $ac_preproc_ok; then :
   4189 
   4190 else
   4191   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4193 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4194 See \`config.log' for more details" "$LINENO" 5; }
   4195 fi
   4196 
   4197 ac_ext=c
   4198 ac_cpp='$CPP $CPPFLAGS'
   4199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4202 
   4203 
   4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4205 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4206 if ${ac_cv_path_GREP+:} false; then :
   4207   $as_echo_n "(cached) " >&6
   4208 else
   4209   if test -z "$GREP"; then
   4210   ac_path_GREP_found=false
   4211   # Loop through the user's path and test for each of PROGNAME-LIST
   4212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4214 do
   4215   IFS=$as_save_IFS
   4216   test -z "$as_dir" && as_dir=.
   4217     for ac_prog in grep ggrep; do
   4218     for ac_exec_ext in '' $ac_executable_extensions; do
   4219       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4220       as_fn_executable_p "$ac_path_GREP" || continue
   4221 # Check for GNU ac_path_GREP and select it if it is found.
   4222   # Check for GNU $ac_path_GREP
   4223 case `"$ac_path_GREP" --version 2>&1` in
   4224 *GNU*)
   4225   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4226 *)
   4227   ac_count=0
   4228   $as_echo_n 0123456789 >"conftest.in"
   4229   while :
   4230   do
   4231     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4232     mv "conftest.tmp" "conftest.in"
   4233     cp "conftest.in" "conftest.nl"
   4234     $as_echo 'GREP' >> "conftest.nl"
   4235     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4236     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4237     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4238     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4239       # Best one so far, save it but keep looking for a better one
   4240       ac_cv_path_GREP="$ac_path_GREP"
   4241       ac_path_GREP_max=$ac_count
   4242     fi
   4243     # 10*(2^10) chars as input seems more than enough
   4244     test $ac_count -gt 10 && break
   4245   done
   4246   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4247 esac
   4248 
   4249       $ac_path_GREP_found && break 3
   4250     done
   4251   done
   4252   done
   4253 IFS=$as_save_IFS
   4254   if test -z "$ac_cv_path_GREP"; then
   4255     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4256   fi
   4257 else
   4258   ac_cv_path_GREP=$GREP
   4259 fi
   4260 
   4261 fi
   4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4263 $as_echo "$ac_cv_path_GREP" >&6; }
   4264  GREP="$ac_cv_path_GREP"
   4265 
   4266 
   4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4268 $as_echo_n "checking for egrep... " >&6; }
   4269 if ${ac_cv_path_EGREP+:} false; then :
   4270   $as_echo_n "(cached) " >&6
   4271 else
   4272   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4273    then ac_cv_path_EGREP="$GREP -E"
   4274    else
   4275      if test -z "$EGREP"; then
   4276   ac_path_EGREP_found=false
   4277   # Loop through the user's path and test for each of PROGNAME-LIST
   4278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4280 do
   4281   IFS=$as_save_IFS
   4282   test -z "$as_dir" && as_dir=.
   4283     for ac_prog in egrep; do
   4284     for ac_exec_ext in '' $ac_executable_extensions; do
   4285       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4286       as_fn_executable_p "$ac_path_EGREP" || continue
   4287 # Check for GNU ac_path_EGREP and select it if it is found.
   4288   # Check for GNU $ac_path_EGREP
   4289 case `"$ac_path_EGREP" --version 2>&1` in
   4290 *GNU*)
   4291   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4292 *)
   4293   ac_count=0
   4294   $as_echo_n 0123456789 >"conftest.in"
   4295   while :
   4296   do
   4297     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4298     mv "conftest.tmp" "conftest.in"
   4299     cp "conftest.in" "conftest.nl"
   4300     $as_echo 'EGREP' >> "conftest.nl"
   4301     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4302     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4303     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4304     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4305       # Best one so far, save it but keep looking for a better one
   4306       ac_cv_path_EGREP="$ac_path_EGREP"
   4307       ac_path_EGREP_max=$ac_count
   4308     fi
   4309     # 10*(2^10) chars as input seems more than enough
   4310     test $ac_count -gt 10 && break
   4311   done
   4312   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4313 esac
   4314 
   4315       $ac_path_EGREP_found && break 3
   4316     done
   4317   done
   4318   done
   4319 IFS=$as_save_IFS
   4320   if test -z "$ac_cv_path_EGREP"; then
   4321     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4322   fi
   4323 else
   4324   ac_cv_path_EGREP=$EGREP
   4325 fi
   4326 
   4327    fi
   4328 fi
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4330 $as_echo "$ac_cv_path_EGREP" >&6; }
   4331  EGREP="$ac_cv_path_EGREP"
   4332 
   4333 
   4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4335 $as_echo_n "checking for ANSI C header files... " >&6; }
   4336 if ${ac_cv_header_stdc+:} false; then :
   4337   $as_echo_n "(cached) " >&6
   4338 else
   4339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4340 /* end confdefs.h.  */
   4341 #include <stdlib.h>
   4342 #include <stdarg.h>
   4343 #include <string.h>
   4344 #include <float.h>
   4345 
   4346 int
   4347 main ()
   4348 {
   4349 
   4350   ;
   4351   return 0;
   4352 }
   4353 _ACEOF
   4354 if ac_fn_c_try_compile "$LINENO"; then :
   4355   ac_cv_header_stdc=yes
   4356 else
   4357   ac_cv_header_stdc=no
   4358 fi
   4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4360 
   4361 if test $ac_cv_header_stdc = yes; then
   4362   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4364 /* end confdefs.h.  */
   4365 #include <string.h>
   4366 
   4367 _ACEOF
   4368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4369   $EGREP "memchr" >/dev/null 2>&1; then :
   4370 
   4371 else
   4372   ac_cv_header_stdc=no
   4373 fi
   4374 rm -f conftest*
   4375 
   4376 fi
   4377 
   4378 if test $ac_cv_header_stdc = yes; then
   4379   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4381 /* end confdefs.h.  */
   4382 #include <stdlib.h>
   4383 
   4384 _ACEOF
   4385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4386   $EGREP "free" >/dev/null 2>&1; then :
   4387 
   4388 else
   4389   ac_cv_header_stdc=no
   4390 fi
   4391 rm -f conftest*
   4392 
   4393 fi
   4394 
   4395 if test $ac_cv_header_stdc = yes; then
   4396   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4397   if test "$cross_compiling" = yes; then :
   4398   :
   4399 else
   4400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4401 /* end confdefs.h.  */
   4402 #include <ctype.h>
   4403 #include <stdlib.h>
   4404 #if ((' ' & 0x0FF) == 0x020)
   4405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4407 #else
   4408 # define ISLOWER(c) \
   4409 		   (('a' <= (c) && (c) <= 'i') \
   4410 		     || ('j' <= (c) && (c) <= 'r') \
   4411 		     || ('s' <= (c) && (c) <= 'z'))
   4412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4413 #endif
   4414 
   4415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4416 int
   4417 main ()
   4418 {
   4419   int i;
   4420   for (i = 0; i < 256; i++)
   4421     if (XOR (islower (i), ISLOWER (i))
   4422 	|| toupper (i) != TOUPPER (i))
   4423       return 2;
   4424   return 0;
   4425 }
   4426 _ACEOF
   4427 if ac_fn_c_try_run "$LINENO"; then :
   4428 
   4429 else
   4430   ac_cv_header_stdc=no
   4431 fi
   4432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4433   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4434 fi
   4435 
   4436 fi
   4437 fi
   4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4439 $as_echo "$ac_cv_header_stdc" >&6; }
   4440 if test $ac_cv_header_stdc = yes; then
   4441 
   4442 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4443 
   4444 fi
   4445 
   4446 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4447 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4448 		  inttypes.h stdint.h unistd.h
   4449 do :
   4450   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4452 "
   4453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4454   cat >>confdefs.h <<_ACEOF
   4455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4456 _ACEOF
   4457 
   4458 fi
   4459 
   4460 done
   4461 
   4462 
   4463 
   4464   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4465 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4466   MINIX=yes
   4467 else
   4468   MINIX=
   4469 fi
   4470 
   4471 
   4472   if test "$MINIX" = yes; then
   4473 
   4474 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4475 
   4476 
   4477 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4478 
   4479 
   4480 $as_echo "#define _MINIX 1" >>confdefs.h
   4481 
   4482   fi
   4483 
   4484 
   4485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4486 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4487 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4488   $as_echo_n "(cached) " >&6
   4489 else
   4490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4491 /* end confdefs.h.  */
   4492 
   4493 #         define __EXTENSIONS__ 1
   4494           $ac_includes_default
   4495 int
   4496 main ()
   4497 {
   4498 
   4499   ;
   4500   return 0;
   4501 }
   4502 _ACEOF
   4503 if ac_fn_c_try_compile "$LINENO"; then :
   4504   ac_cv_safe_to_define___extensions__=yes
   4505 else
   4506   ac_cv_safe_to_define___extensions__=no
   4507 fi
   4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4509 fi
   4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4511 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4512   test $ac_cv_safe_to_define___extensions__ = yes &&
   4513     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4514 
   4515   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4516 
   4517   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4518 
   4519   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4520 
   4521   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4522 
   4523 
   4524 
   4525 
   4526 case `pwd` in
   4527   *\ * | *\	*)
   4528     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4529 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4530 esac
   4531 
   4532 
   4533 
   4534 macro_version='2.2.7a'
   4535 macro_revision='1.3134'
   4536 
   4537 
   4538 
   4539 
   4540 
   4541 
   4542 
   4543 
   4544 
   4545 
   4546 
   4547 
   4548 
   4549 ltmain="$ac_aux_dir/ltmain.sh"
   4550 
   4551 # Backslashify metacharacters that are still active within
   4552 # double-quoted strings.
   4553 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4554 
   4555 # Same as above, but do not quote variable references.
   4556 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4557 
   4558 # Sed substitution to delay expansion of an escaped shell variable in a
   4559 # double_quote_subst'ed string.
   4560 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4561 
   4562 # Sed substitution to delay expansion of an escaped single quote.
   4563 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4564 
   4565 # Sed substitution to avoid accidental globbing in evaled expressions
   4566 no_glob_subst='s/\*/\\\*/g'
   4567 
   4568 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4569 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4570 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4571 
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4573 $as_echo_n "checking how to print strings... " >&6; }
   4574 # Test print first, because it will be a builtin if present.
   4575 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   4576    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4577   ECHO='print -r --'
   4578 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4579   ECHO='printf %s\n'
   4580 else
   4581   # Use this function as a fallback that always works.
   4582   func_fallback_echo ()
   4583   {
   4584     eval 'cat <<_LTECHO_EOF
   4585 $1
   4586 _LTECHO_EOF'
   4587   }
   4588   ECHO='func_fallback_echo'
   4589 fi
   4590 
   4591 # func_echo_all arg...
   4592 # Invoke $ECHO with all args, space-separated.
   4593 func_echo_all ()
   4594 {
   4595     $ECHO ""
   4596 }
   4597 
   4598 case "$ECHO" in
   4599   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4600 $as_echo "printf" >&6; } ;;
   4601   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4602 $as_echo "print -r" >&6; } ;;
   4603   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4604 $as_echo "cat" >&6; } ;;
   4605 esac
   4606 
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4621 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4622 if ${ac_cv_path_SED+:} false; then :
   4623   $as_echo_n "(cached) " >&6
   4624 else
   4625             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4626      for ac_i in 1 2 3 4 5 6 7; do
   4627        ac_script="$ac_script$as_nl$ac_script"
   4628      done
   4629      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4630      { ac_script=; unset ac_script;}
   4631      if test -z "$SED"; then
   4632   ac_path_SED_found=false
   4633   # Loop through the user's path and test for each of PROGNAME-LIST
   4634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4635 for as_dir in $PATH
   4636 do
   4637   IFS=$as_save_IFS
   4638   test -z "$as_dir" && as_dir=.
   4639     for ac_prog in sed gsed; do
   4640     for ac_exec_ext in '' $ac_executable_extensions; do
   4641       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4642       as_fn_executable_p "$ac_path_SED" || continue
   4643 # Check for GNU ac_path_SED and select it if it is found.
   4644   # Check for GNU $ac_path_SED
   4645 case `"$ac_path_SED" --version 2>&1` in
   4646 *GNU*)
   4647   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4648 *)
   4649   ac_count=0
   4650   $as_echo_n 0123456789 >"conftest.in"
   4651   while :
   4652   do
   4653     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4654     mv "conftest.tmp" "conftest.in"
   4655     cp "conftest.in" "conftest.nl"
   4656     $as_echo '' >> "conftest.nl"
   4657     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4659     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4660     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4661       # Best one so far, save it but keep looking for a better one
   4662       ac_cv_path_SED="$ac_path_SED"
   4663       ac_path_SED_max=$ac_count
   4664     fi
   4665     # 10*(2^10) chars as input seems more than enough
   4666     test $ac_count -gt 10 && break
   4667   done
   4668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4669 esac
   4670 
   4671       $ac_path_SED_found && break 3
   4672     done
   4673   done
   4674   done
   4675 IFS=$as_save_IFS
   4676   if test -z "$ac_cv_path_SED"; then
   4677     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4678   fi
   4679 else
   4680   ac_cv_path_SED=$SED
   4681 fi
   4682 
   4683 fi
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4685 $as_echo "$ac_cv_path_SED" >&6; }
   4686  SED="$ac_cv_path_SED"
   4687   rm -f conftest.sed
   4688 
   4689 test -z "$SED" && SED=sed
   4690 Xsed="$SED -e 1s/^X//"
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4703 $as_echo_n "checking for fgrep... " >&6; }
   4704 if ${ac_cv_path_FGREP+:} false; then :
   4705   $as_echo_n "(cached) " >&6
   4706 else
   4707   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4708    then ac_cv_path_FGREP="$GREP -F"
   4709    else
   4710      if test -z "$FGREP"; then
   4711   ac_path_FGREP_found=false
   4712   # Loop through the user's path and test for each of PROGNAME-LIST
   4713   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4715 do
   4716   IFS=$as_save_IFS
   4717   test -z "$as_dir" && as_dir=.
   4718     for ac_prog in fgrep; do
   4719     for ac_exec_ext in '' $ac_executable_extensions; do
   4720       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4721       as_fn_executable_p "$ac_path_FGREP" || continue
   4722 # Check for GNU ac_path_FGREP and select it if it is found.
   4723   # Check for GNU $ac_path_FGREP
   4724 case `"$ac_path_FGREP" --version 2>&1` in
   4725 *GNU*)
   4726   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4727 *)
   4728   ac_count=0
   4729   $as_echo_n 0123456789 >"conftest.in"
   4730   while :
   4731   do
   4732     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4733     mv "conftest.tmp" "conftest.in"
   4734     cp "conftest.in" "conftest.nl"
   4735     $as_echo 'FGREP' >> "conftest.nl"
   4736     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4737     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4738     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4739     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4740       # Best one so far, save it but keep looking for a better one
   4741       ac_cv_path_FGREP="$ac_path_FGREP"
   4742       ac_path_FGREP_max=$ac_count
   4743     fi
   4744     # 10*(2^10) chars as input seems more than enough
   4745     test $ac_count -gt 10 && break
   4746   done
   4747   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4748 esac
   4749 
   4750       $ac_path_FGREP_found && break 3
   4751     done
   4752   done
   4753   done
   4754 IFS=$as_save_IFS
   4755   if test -z "$ac_cv_path_FGREP"; then
   4756     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4757   fi
   4758 else
   4759   ac_cv_path_FGREP=$FGREP
   4760 fi
   4761 
   4762    fi
   4763 fi
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4765 $as_echo "$ac_cv_path_FGREP" >&6; }
   4766  FGREP="$ac_cv_path_FGREP"
   4767 
   4768 
   4769 test -z "$GREP" && GREP=grep
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 # Check whether --with-gnu-ld was given.
   4790 if test "${with_gnu_ld+set}" = set; then :
   4791   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4792 else
   4793   with_gnu_ld=no
   4794 fi
   4795 
   4796 ac_prog=ld
   4797 if test "$GCC" = yes; then
   4798   # Check if gcc -print-prog-name=ld gives a path.
   4799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4800 $as_echo_n "checking for ld used by $CC... " >&6; }
   4801   case $host in
   4802   *-*-mingw*)
   4803     # gcc leaves a trailing carriage return which upsets mingw
   4804     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4805   *)
   4806     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4807   esac
   4808   case $ac_prog in
   4809     # Accept absolute paths.
   4810     [\\/]* | ?:[\\/]*)
   4811       re_direlt='/[^/][^/]*/\.\./'
   4812       # Canonicalize the pathname of ld
   4813       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4814       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4815 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4816       done
   4817       test -z "$LD" && LD="$ac_prog"
   4818       ;;
   4819   "")
   4820     # If it fails, then pretend we aren't using GCC.
   4821     ac_prog=ld
   4822     ;;
   4823   *)
   4824     # If it is relative, then search for the first ld in PATH.
   4825     with_gnu_ld=unknown
   4826     ;;
   4827   esac
   4828 elif test "$with_gnu_ld" = yes; then
   4829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4830 $as_echo_n "checking for GNU ld... " >&6; }
   4831 else
   4832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4833 $as_echo_n "checking for non-GNU ld... " >&6; }
   4834 fi
   4835 if ${lt_cv_path_LD+:} false; then :
   4836   $as_echo_n "(cached) " >&6
   4837 else
   4838   if test -z "$LD"; then
   4839   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4840   for ac_dir in $PATH; do
   4841     IFS="$lt_save_ifs"
   4842     test -z "$ac_dir" && ac_dir=.
   4843     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4844       lt_cv_path_LD="$ac_dir/$ac_prog"
   4845       # Check to see if the program is GNU ld.  I'd rather use --version,
   4846       # but apparently some variants of GNU ld only accept -v.
   4847       # Break only if it was the GNU/non-GNU ld that we prefer.
   4848       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4849       *GNU* | *'with BFD'*)
   4850 	test "$with_gnu_ld" != no && break
   4851 	;;
   4852       *)
   4853 	test "$with_gnu_ld" != yes && break
   4854 	;;
   4855       esac
   4856     fi
   4857   done
   4858   IFS="$lt_save_ifs"
   4859 else
   4860   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4861 fi
   4862 fi
   4863 
   4864 LD="$lt_cv_path_LD"
   4865 if test -n "$LD"; then
   4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4867 $as_echo "$LD" >&6; }
   4868 else
   4869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4870 $as_echo "no" >&6; }
   4871 fi
   4872 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4874 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4875 if ${lt_cv_prog_gnu_ld+:} false; then :
   4876   $as_echo_n "(cached) " >&6
   4877 else
   4878   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4879 case `$LD -v 2>&1 </dev/null` in
   4880 *GNU* | *'with BFD'*)
   4881   lt_cv_prog_gnu_ld=yes
   4882   ;;
   4883 *)
   4884   lt_cv_prog_gnu_ld=no
   4885   ;;
   4886 esac
   4887 fi
   4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4889 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4890 with_gnu_ld=$lt_cv_prog_gnu_ld
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4901 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4902 if ${lt_cv_path_NM+:} false; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905   if test -n "$NM"; then
   4906    # Let the user override the nm to test.
   4907    lt_nm_to_check="$NM"
   4908  else
   4909    lt_nm_to_check="${ac_tool_prefix}nm"
   4910    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4911      lt_nm_to_check="$lt_nm_to_check nm"
   4912    fi
   4913  fi
   4914  for lt_tmp_nm in "$lt_nm_to_check"; do
   4915    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4916    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4917      IFS="$lt_save_ifs"
   4918      test -z "$ac_dir" && ac_dir=.
   4919      # Strip out any user-provided options from the nm to test twice,
   4920      # the first time to test to see if nm (rather than its options) has
   4921      # an explicit path, the second time to yield a file which can be
   4922      # nm'ed itself.
   4923      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   4924      case "$tmp_nm_path" in
   4925      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   4926      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   4927      esac
   4928      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   4929      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   4930        # Check to see if the nm accepts a BSD-compat flag.
   4931        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4932        #   nm: unknown option "B" ignored
   4933        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   4934        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   4935 	 break
   4936 	 ;;
   4937        *)
   4938 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   4939 	 *$tmp_nm*)
   4940 	   lt_cv_path_NM="$tmp_nm -p"
   4941 	   break
   4942 	   ;;
   4943 	 *)
   4944 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4945 	   continue # so that we can try to find one that supports BSD flags
   4946 	   ;;
   4947 	 esac
   4948 	 ;;
   4949        esac
   4950      fi
   4951    done
   4952    IFS="$lt_save_ifs"
   4953  done
   4954  : ${lt_cv_path_NM=no}
   4955 fi
   4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4957 $as_echo "$lt_cv_path_NM" >&6; }
   4958 if test "$lt_cv_path_NM" != "no"; then
   4959   NM="$lt_cv_path_NM"
   4960 else
   4961   # Didn't find any BSD compatible name lister, look for dumpbin.
   4962   if test -n "$DUMPBIN"; then :
   4963     # Let the user override the test.
   4964   else
   4965     if test -n "$ac_tool_prefix"; then
   4966   for ac_prog in dumpbin "link -dump"
   4967   do
   4968     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4971 $as_echo_n "checking for $ac_word... " >&6; }
   4972 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4973   $as_echo_n "(cached) " >&6
   4974 else
   4975   if test -n "$DUMPBIN"; then
   4976   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4977 else
   4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4979 for as_dir in $PATH
   4980 do
   4981   IFS=$as_save_IFS
   4982   test -z "$as_dir" && as_dir=.
   4983     for ac_exec_ext in '' $ac_executable_extensions; do
   4984   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4985     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4987     break 2
   4988   fi
   4989 done
   4990   done
   4991 IFS=$as_save_IFS
   4992 
   4993 fi
   4994 fi
   4995 DUMPBIN=$ac_cv_prog_DUMPBIN
   4996 if test -n "$DUMPBIN"; then
   4997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4998 $as_echo "$DUMPBIN" >&6; }
   4999 else
   5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5001 $as_echo "no" >&6; }
   5002 fi
   5003 
   5004 
   5005     test -n "$DUMPBIN" && break
   5006   done
   5007 fi
   5008 if test -z "$DUMPBIN"; then
   5009   ac_ct_DUMPBIN=$DUMPBIN
   5010   for ac_prog in dumpbin "link -dump"
   5011 do
   5012   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5013 set dummy $ac_prog; ac_word=$2
   5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5015 $as_echo_n "checking for $ac_word... " >&6; }
   5016 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5017   $as_echo_n "(cached) " >&6
   5018 else
   5019   if test -n "$ac_ct_DUMPBIN"; then
   5020   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5021 else
   5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5023 for as_dir in $PATH
   5024 do
   5025   IFS=$as_save_IFS
   5026   test -z "$as_dir" && as_dir=.
   5027     for ac_exec_ext in '' $ac_executable_extensions; do
   5028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5029     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5031     break 2
   5032   fi
   5033 done
   5034   done
   5035 IFS=$as_save_IFS
   5036 
   5037 fi
   5038 fi
   5039 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5040 if test -n "$ac_ct_DUMPBIN"; then
   5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5042 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5043 else
   5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5045 $as_echo "no" >&6; }
   5046 fi
   5047 
   5048 
   5049   test -n "$ac_ct_DUMPBIN" && break
   5050 done
   5051 
   5052   if test "x$ac_ct_DUMPBIN" = x; then
   5053     DUMPBIN=":"
   5054   else
   5055     case $cross_compiling:$ac_tool_warned in
   5056 yes:)
   5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5059 ac_tool_warned=yes ;;
   5060 esac
   5061     DUMPBIN=$ac_ct_DUMPBIN
   5062   fi
   5063 fi
   5064 
   5065     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5066     *COFF*)
   5067       DUMPBIN="$DUMPBIN -symbols"
   5068       ;;
   5069     *)
   5070       DUMPBIN=:
   5071       ;;
   5072     esac
   5073   fi
   5074 
   5075   if test "$DUMPBIN" != ":"; then
   5076     NM="$DUMPBIN"
   5077   fi
   5078 fi
   5079 test -z "$NM" && NM=nm
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5087 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5088 if ${lt_cv_nm_interface+:} false; then :
   5089   $as_echo_n "(cached) " >&6
   5090 else
   5091   lt_cv_nm_interface="BSD nm"
   5092   echo "int some_variable = 0;" > conftest.$ac_ext
   5093   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5094   (eval "$ac_compile" 2>conftest.err)
   5095   cat conftest.err >&5
   5096   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5097   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5098   cat conftest.err >&5
   5099   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5100   cat conftest.out >&5
   5101   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5102     lt_cv_nm_interface="MS dumpbin"
   5103   fi
   5104   rm -f conftest*
   5105 fi
   5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5107 $as_echo "$lt_cv_nm_interface" >&6; }
   5108 
   5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5110 $as_echo_n "checking whether ln -s works... " >&6; }
   5111 LN_S=$as_ln_s
   5112 if test "$LN_S" = "ln -s"; then
   5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5114 $as_echo "yes" >&6; }
   5115 else
   5116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5117 $as_echo "no, using $LN_S" >&6; }
   5118 fi
   5119 
   5120 # find the maximum length of command line arguments
   5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5122 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5123 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5124   $as_echo_n "(cached) " >&6
   5125 else
   5126     i=0
   5127   teststring="ABCD"
   5128 
   5129   case $build_os in
   5130   msdosdjgpp*)
   5131     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5132     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5133     # during glob expansion).  Even if it were fixed, the result of this
   5134     # check would be larger than it should be.
   5135     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5136     ;;
   5137 
   5138   gnu*)
   5139     # Under GNU Hurd, this test is not required because there is
   5140     # no limit to the length of command line arguments.
   5141     # Libtool will interpret -1 as no limit whatsoever
   5142     lt_cv_sys_max_cmd_len=-1;
   5143     ;;
   5144 
   5145   cygwin* | mingw* | cegcc*)
   5146     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5147     # about 5 minutes as the teststring grows exponentially.
   5148     # Worse, since 9x/ME are not pre-emptively multitasking,
   5149     # you end up with a "frozen" computer, even though with patience
   5150     # the test eventually succeeds (with a max line length of 256k).
   5151     # Instead, let's just punt: use the minimum linelength reported by
   5152     # all of the supported platforms: 8192 (on NT/2K/XP).
   5153     lt_cv_sys_max_cmd_len=8192;
   5154     ;;
   5155 
   5156   mint*)
   5157     # On MiNT this can take a long time and run out of memory.
   5158     lt_cv_sys_max_cmd_len=8192;
   5159     ;;
   5160 
   5161   amigaos*)
   5162     # On AmigaOS with pdksh, this test takes hours, literally.
   5163     # So we just punt and use a minimum line length of 8192.
   5164     lt_cv_sys_max_cmd_len=8192;
   5165     ;;
   5166 
   5167   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5168     # This has been around since 386BSD, at least.  Likely further.
   5169     if test -x /sbin/sysctl; then
   5170       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5171     elif test -x /usr/sbin/sysctl; then
   5172       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5173     else
   5174       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5175     fi
   5176     # And add a safety zone
   5177     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5178     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5179     ;;
   5180 
   5181   interix*)
   5182     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5183     lt_cv_sys_max_cmd_len=196608
   5184     ;;
   5185 
   5186   osf*)
   5187     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5188     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5189     # nice to cause kernel panics so lets avoid the loop below.
   5190     # First set a reasonable default.
   5191     lt_cv_sys_max_cmd_len=16384
   5192     #
   5193     if test -x /sbin/sysconfig; then
   5194       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5195         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5196       esac
   5197     fi
   5198     ;;
   5199   sco3.2v5*)
   5200     lt_cv_sys_max_cmd_len=102400
   5201     ;;
   5202   sysv5* | sco5v6* | sysv4.2uw2*)
   5203     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5204     if test -n "$kargmax"; then
   5205       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5206     else
   5207       lt_cv_sys_max_cmd_len=32768
   5208     fi
   5209     ;;
   5210   *)
   5211     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5212     if test -n "$lt_cv_sys_max_cmd_len"; then
   5213       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5214       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5215     else
   5216       # Make teststring a little bigger before we do anything with it.
   5217       # a 1K string should be a reasonable start.
   5218       for i in 1 2 3 4 5 6 7 8 ; do
   5219         teststring=$teststring$teststring
   5220       done
   5221       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5222       # If test is not a shell built-in, we'll probably end up computing a
   5223       # maximum length that is only half of the actual maximum length, but
   5224       # we can't tell.
   5225       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5226 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5227 	      test $i != 17 # 1/2 MB should be enough
   5228       do
   5229         i=`expr $i + 1`
   5230         teststring=$teststring$teststring
   5231       done
   5232       # Only check the string length outside the loop.
   5233       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5234       teststring=
   5235       # Add a significant safety factor because C++ compilers can tack on
   5236       # massive amounts of additional arguments before passing them to the
   5237       # linker.  It appears as though 1/2 is a usable value.
   5238       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5239     fi
   5240     ;;
   5241   esac
   5242 
   5243 fi
   5244 
   5245 if test -n $lt_cv_sys_max_cmd_len ; then
   5246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5247 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5248 else
   5249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5250 $as_echo "none" >&6; }
   5251 fi
   5252 max_cmd_len=$lt_cv_sys_max_cmd_len
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 : ${CP="cp -f"}
   5260 : ${MV="mv -f"}
   5261 : ${RM="rm -f"}
   5262 
   5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5264 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5265 # Try some XSI features
   5266 xsi_shell=no
   5267 ( _lt_dummy="a/b/c"
   5268   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5269       = c,a/b,, \
   5270     && eval 'test $(( 1 + 1 )) -eq 2 \
   5271     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5272   && xsi_shell=yes
   5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5274 $as_echo "$xsi_shell" >&6; }
   5275 
   5276 
   5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5278 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5279 lt_shell_append=no
   5280 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5281     >/dev/null 2>&1 \
   5282   && lt_shell_append=yes
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5284 $as_echo "$lt_shell_append" >&6; }
   5285 
   5286 
   5287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5288   lt_unset=unset
   5289 else
   5290   lt_unset=false
   5291 fi
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 # test EBCDIC or ASCII
   5298 case `echo X|tr X '\101'` in
   5299  A) # ASCII based system
   5300     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5301   lt_SP2NL='tr \040 \012'
   5302   lt_NL2SP='tr \015\012 \040\040'
   5303   ;;
   5304  *) # EBCDIC based system
   5305   lt_SP2NL='tr \100 \n'
   5306   lt_NL2SP='tr \r\n \100\100'
   5307   ;;
   5308 esac
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5319 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5320 if ${lt_cv_ld_reload_flag+:} false; then :
   5321   $as_echo_n "(cached) " >&6
   5322 else
   5323   lt_cv_ld_reload_flag='-r'
   5324 fi
   5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5326 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5327 reload_flag=$lt_cv_ld_reload_flag
   5328 case $reload_flag in
   5329 "" | " "*) ;;
   5330 *) reload_flag=" $reload_flag" ;;
   5331 esac
   5332 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5333 case $host_os in
   5334   darwin*)
   5335     if test "$GCC" = yes; then
   5336       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5337     else
   5338       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5339     fi
   5340     ;;
   5341 esac
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 if test -n "$ac_tool_prefix"; then
   5352   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5353 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5355 $as_echo_n "checking for $ac_word... " >&6; }
   5356 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5357   $as_echo_n "(cached) " >&6
   5358 else
   5359   if test -n "$OBJDUMP"; then
   5360   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5361 else
   5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5363 for as_dir in $PATH
   5364 do
   5365   IFS=$as_save_IFS
   5366   test -z "$as_dir" && as_dir=.
   5367     for ac_exec_ext in '' $ac_executable_extensions; do
   5368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5369     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5371     break 2
   5372   fi
   5373 done
   5374   done
   5375 IFS=$as_save_IFS
   5376 
   5377 fi
   5378 fi
   5379 OBJDUMP=$ac_cv_prog_OBJDUMP
   5380 if test -n "$OBJDUMP"; then
   5381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5382 $as_echo "$OBJDUMP" >&6; }
   5383 else
   5384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5385 $as_echo "no" >&6; }
   5386 fi
   5387 
   5388 
   5389 fi
   5390 if test -z "$ac_cv_prog_OBJDUMP"; then
   5391   ac_ct_OBJDUMP=$OBJDUMP
   5392   # Extract the first word of "objdump", so it can be a program name with args.
   5393 set dummy objdump; ac_word=$2
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5395 $as_echo_n "checking for $ac_word... " >&6; }
   5396 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399   if test -n "$ac_ct_OBJDUMP"; then
   5400   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5401 else
   5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5403 for as_dir in $PATH
   5404 do
   5405   IFS=$as_save_IFS
   5406   test -z "$as_dir" && as_dir=.
   5407     for ac_exec_ext in '' $ac_executable_extensions; do
   5408   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5409     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5411     break 2
   5412   fi
   5413 done
   5414   done
   5415 IFS=$as_save_IFS
   5416 
   5417 fi
   5418 fi
   5419 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5420 if test -n "$ac_ct_OBJDUMP"; then
   5421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5422 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5423 else
   5424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5425 $as_echo "no" >&6; }
   5426 fi
   5427 
   5428   if test "x$ac_ct_OBJDUMP" = x; then
   5429     OBJDUMP="false"
   5430   else
   5431     case $cross_compiling:$ac_tool_warned in
   5432 yes:)
   5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5435 ac_tool_warned=yes ;;
   5436 esac
   5437     OBJDUMP=$ac_ct_OBJDUMP
   5438   fi
   5439 else
   5440   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5441 fi
   5442 
   5443 test -z "$OBJDUMP" && OBJDUMP=objdump
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5454 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5455 if ${lt_cv_deplibs_check_method+:} false; then :
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5459 lt_cv_file_magic_test_file=
   5460 lt_cv_deplibs_check_method='unknown'
   5461 # Need to set the preceding variable on all platforms that support
   5462 # interlibrary dependencies.
   5463 # 'none' -- dependencies not supported.
   5464 # `unknown' -- same as none, but documents that we really don't know.
   5465 # 'pass_all' -- all dependencies passed with no checks.
   5466 # 'test_compile' -- check by making test program.
   5467 # 'file_magic [[regex]]' -- check by looking for files in library path
   5468 # which responds to the $file_magic_cmd with a given extended regex.
   5469 # If you have `file' or equivalent on your system and you're not sure
   5470 # whether `pass_all' will *always* work, you probably want this one.
   5471 
   5472 case $host_os in
   5473 aix[4-9]*)
   5474   lt_cv_deplibs_check_method=pass_all
   5475   ;;
   5476 
   5477 beos*)
   5478   lt_cv_deplibs_check_method=pass_all
   5479   ;;
   5480 
   5481 bsdi[45]*)
   5482   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5483   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5484   lt_cv_file_magic_test_file=/shlib/libc.so
   5485   ;;
   5486 
   5487 cygwin*)
   5488   # func_win32_libid is a shell function defined in ltmain.sh
   5489   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5490   lt_cv_file_magic_cmd='func_win32_libid'
   5491   ;;
   5492 
   5493 mingw* | pw32*)
   5494   # Base MSYS/MinGW do not provide the 'file' command needed by
   5495   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5496   # unless we find 'file', for example because we are cross-compiling.
   5497   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5498   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5499     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5500     lt_cv_file_magic_cmd='func_win32_libid'
   5501   else
   5502     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5503     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5504   fi
   5505   ;;
   5506 
   5507 cegcc*)
   5508   # use the weaker test based on 'objdump'. See mingw*.
   5509   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5510   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5511   ;;
   5512 
   5513 darwin* | rhapsody*)
   5514   lt_cv_deplibs_check_method=pass_all
   5515   ;;
   5516 
   5517 freebsd* | dragonfly*)
   5518   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5519     case $host_cpu in
   5520     i*86 )
   5521       # Not sure whether the presence of OpenBSD here was a mistake.
   5522       # Let's accept both of them until this is cleared up.
   5523       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5524       lt_cv_file_magic_cmd=/usr/bin/file
   5525       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5526       ;;
   5527     esac
   5528   else
   5529     lt_cv_deplibs_check_method=pass_all
   5530   fi
   5531   ;;
   5532 
   5533 gnu*)
   5534   lt_cv_deplibs_check_method=pass_all
   5535   ;;
   5536 
   5537 haiku*)
   5538   lt_cv_deplibs_check_method=pass_all
   5539   ;;
   5540 
   5541 hpux10.20* | hpux11*)
   5542   lt_cv_file_magic_cmd=/usr/bin/file
   5543   case $host_cpu in
   5544   ia64*)
   5545     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5546     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5547     ;;
   5548   hppa*64*)
   5549     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]'
   5550     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5551     ;;
   5552   *)
   5553     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5554     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5555     ;;
   5556   esac
   5557   ;;
   5558 
   5559 interix[3-9]*)
   5560   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5561   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5562   ;;
   5563 
   5564 irix5* | irix6* | nonstopux*)
   5565   case $LD in
   5566   *-32|*"-32 ") libmagic=32-bit;;
   5567   *-n32|*"-n32 ") libmagic=N32;;
   5568   *-64|*"-64 ") libmagic=64-bit;;
   5569   *) libmagic=never-match;;
   5570   esac
   5571   lt_cv_deplibs_check_method=pass_all
   5572   ;;
   5573 
   5574 # This must be Linux ELF.
   5575 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   5576   lt_cv_deplibs_check_method=pass_all
   5577   ;;
   5578 
   5579 netbsd*)
   5580   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5581     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5582   else
   5583     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5584   fi
   5585   ;;
   5586 
   5587 newos6*)
   5588   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5589   lt_cv_file_magic_cmd=/usr/bin/file
   5590   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5591   ;;
   5592 
   5593 *nto* | *qnx*)
   5594   lt_cv_deplibs_check_method=pass_all
   5595   ;;
   5596 
   5597 openbsd*)
   5598   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5599     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5600   else
   5601     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5602   fi
   5603   ;;
   5604 
   5605 osf3* | osf4* | osf5*)
   5606   lt_cv_deplibs_check_method=pass_all
   5607   ;;
   5608 
   5609 rdos*)
   5610   lt_cv_deplibs_check_method=pass_all
   5611   ;;
   5612 
   5613 solaris*)
   5614   lt_cv_deplibs_check_method=pass_all
   5615   ;;
   5616 
   5617 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5618   lt_cv_deplibs_check_method=pass_all
   5619   ;;
   5620 
   5621 sysv4 | sysv4.3*)
   5622   case $host_vendor in
   5623   motorola)
   5624     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]'
   5625     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5626     ;;
   5627   ncr)
   5628     lt_cv_deplibs_check_method=pass_all
   5629     ;;
   5630   sequent)
   5631     lt_cv_file_magic_cmd='/bin/file'
   5632     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5633     ;;
   5634   sni)
   5635     lt_cv_file_magic_cmd='/bin/file'
   5636     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5637     lt_cv_file_magic_test_file=/lib/libc.so
   5638     ;;
   5639   siemens)
   5640     lt_cv_deplibs_check_method=pass_all
   5641     ;;
   5642   pc)
   5643     lt_cv_deplibs_check_method=pass_all
   5644     ;;
   5645   esac
   5646   ;;
   5647 
   5648 tpf*)
   5649   lt_cv_deplibs_check_method=pass_all
   5650   ;;
   5651 vxworks*)
   5652   # Assume VxWorks cross toolchains are built on Linux, possibly
   5653   # as canadian for Windows hosts.
   5654   lt_cv_deplibs_check_method=pass_all
   5655   ;;
   5656 esac
   5657 
   5658 fi
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5660 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5661 file_magic_cmd=$lt_cv_file_magic_cmd
   5662 deplibs_check_method=$lt_cv_deplibs_check_method
   5663 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
   5678 # wrong plugin_option with clang.
   5679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
   5680 $as_echo_n "checking for clang... " >&6; }
   5681 if ${clang_cv_is_clang+:} false; then :
   5682   $as_echo_n "(cached) " >&6
   5683 else
   5684 
   5685     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 
   5688 #ifdef __clang__
   5689   yes
   5690 #endif
   5691 
   5692 _ACEOF
   5693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5694   $EGREP "yes" >/dev/null 2>&1; then :
   5695   clang_cv_is_clang=yes
   5696 else
   5697   clang_cv_is_clang=no
   5698 fi
   5699 rm -f conftest*
   5700 
   5701 fi
   5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $clang_cv_is_clang" >&5
   5703 $as_echo "$clang_cv_is_clang" >&6; }
   5704   if test -n "$ac_tool_prefix"; then
   5705   # Extract the first word of "${ac_tool_prefix}llvm-config", so it can be a program name with args.
   5706 set dummy ${ac_tool_prefix}llvm-config; ac_word=$2
   5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5708 $as_echo_n "checking for $ac_word... " >&6; }
   5709 if ${ac_cv_prog_LLVM_CONFIG+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   if test -n "$LLVM_CONFIG"; then
   5713   ac_cv_prog_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test.
   5714 else
   5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5716 for as_dir in $PATH
   5717 do
   5718   IFS=$as_save_IFS
   5719   test -z "$as_dir" && as_dir=.
   5720     for ac_exec_ext in '' $ac_executable_extensions; do
   5721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5722     ac_cv_prog_LLVM_CONFIG="${ac_tool_prefix}llvm-config"
   5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5724     break 2
   5725   fi
   5726 done
   5727   done
   5728 IFS=$as_save_IFS
   5729 
   5730 fi
   5731 fi
   5732 LLVM_CONFIG=$ac_cv_prog_LLVM_CONFIG
   5733 if test -n "$LLVM_CONFIG"; then
   5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_CONFIG" >&5
   5735 $as_echo "$LLVM_CONFIG" >&6; }
   5736 else
   5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5738 $as_echo "no" >&6; }
   5739 fi
   5740 
   5741 
   5742 fi
   5743 if test -z "$ac_cv_prog_LLVM_CONFIG"; then
   5744   ac_ct_LLVM_CONFIG=$LLVM_CONFIG
   5745   # Extract the first word of "llvm-config", so it can be a program name with args.
   5746 set dummy llvm-config; ac_word=$2
   5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5748 $as_echo_n "checking for $ac_word... " >&6; }
   5749 if ${ac_cv_prog_ac_ct_LLVM_CONFIG+:} false; then :
   5750   $as_echo_n "(cached) " >&6
   5751 else
   5752   if test -n "$ac_ct_LLVM_CONFIG"; then
   5753   ac_cv_prog_ac_ct_LLVM_CONFIG="$ac_ct_LLVM_CONFIG" # Let the user override the test.
   5754 else
   5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5756 for as_dir in $PATH
   5757 do
   5758   IFS=$as_save_IFS
   5759   test -z "$as_dir" && as_dir=.
   5760     for ac_exec_ext in '' $ac_executable_extensions; do
   5761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5762     ac_cv_prog_ac_ct_LLVM_CONFIG="llvm-config"
   5763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5764     break 2
   5765   fi
   5766 done
   5767   done
   5768 IFS=$as_save_IFS
   5769 
   5770 fi
   5771 fi
   5772 ac_ct_LLVM_CONFIG=$ac_cv_prog_ac_ct_LLVM_CONFIG
   5773 if test -n "$ac_ct_LLVM_CONFIG"; then
   5774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LLVM_CONFIG" >&5
   5775 $as_echo "$ac_ct_LLVM_CONFIG" >&6; }
   5776 else
   5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5778 $as_echo "no" >&6; }
   5779 fi
   5780 
   5781   if test "x$ac_ct_LLVM_CONFIG" = x; then
   5782     LLVM_CONFIG=""
   5783   else
   5784     case $cross_compiling:$ac_tool_warned in
   5785 yes:)
   5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5788 ac_tool_warned=yes ;;
   5789 esac
   5790     LLVM_CONFIG=$ac_ct_LLVM_CONFIG
   5791   fi
   5792 else
   5793   LLVM_CONFIG="$ac_cv_prog_LLVM_CONFIG"
   5794 fi
   5795 
   5796   plugin_file=
   5797   if test $clang_cv_is_clang = yes; then
   5798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang plugin file" >&5
   5799 $as_echo_n "checking for clang plugin file... " >&6; }
   5800     plugin_names="LLVMgold.so"
   5801     for plugin in $plugin_names; do
   5802       plugin_file=`${CC} ${CFLAGS} --print-file-name $plugin`
   5803       if test "$plugin_file" != "$plugin"; then
   5804 	break;
   5805       fi
   5806       if test -n "${LLVM_CONFIG}"; then
   5807 	plugin_file=`${LLVM_CONFIG} --libdir`/$plugin
   5808 	if test -f "$plugin_file"; then
   5809 	  break;
   5810 	fi
   5811       fi
   5812       plugin_file=
   5813     done
   5814     if test -z "$plugin_file"; then
   5815       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5816 $as_echo "no" >&6; }
   5817     else
   5818       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_file" >&5
   5819 $as_echo "$plugin_file" >&6; }
   5820             if test -n "$ac_tool_prefix"; then
   5821   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5822 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5824 $as_echo_n "checking for $ac_word... " >&6; }
   5825 if ${ac_cv_prog_AR+:} false; then :
   5826   $as_echo_n "(cached) " >&6
   5827 else
   5828   if test -n "$AR"; then
   5829   ac_cv_prog_AR="$AR" # Let the user override the test.
   5830 else
   5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5832 for as_dir in $PATH
   5833 do
   5834   IFS=$as_save_IFS
   5835   test -z "$as_dir" && as_dir=.
   5836     for ac_exec_ext in '' $ac_executable_extensions; do
   5837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5838     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5840     break 2
   5841   fi
   5842 done
   5843   done
   5844 IFS=$as_save_IFS
   5845 
   5846 fi
   5847 fi
   5848 AR=$ac_cv_prog_AR
   5849 if test -n "$AR"; then
   5850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5851 $as_echo "$AR" >&6; }
   5852 else
   5853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5854 $as_echo "no" >&6; }
   5855 fi
   5856 
   5857 
   5858 fi
   5859 if test -z "$ac_cv_prog_AR"; then
   5860   ac_ct_AR=$AR
   5861   # Extract the first word of "ar", so it can be a program name with args.
   5862 set dummy ar; ac_word=$2
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5864 $as_echo_n "checking for $ac_word... " >&6; }
   5865 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5866   $as_echo_n "(cached) " >&6
   5867 else
   5868   if test -n "$ac_ct_AR"; then
   5869   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5870 else
   5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5872 for as_dir in $PATH
   5873 do
   5874   IFS=$as_save_IFS
   5875   test -z "$as_dir" && as_dir=.
   5876     for ac_exec_ext in '' $ac_executable_extensions; do
   5877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5878     ac_cv_prog_ac_ct_AR="ar"
   5879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5880     break 2
   5881   fi
   5882 done
   5883   done
   5884 IFS=$as_save_IFS
   5885 
   5886 fi
   5887 fi
   5888 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5889 if test -n "$ac_ct_AR"; then
   5890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5891 $as_echo "$ac_ct_AR" >&6; }
   5892 else
   5893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5894 $as_echo "no" >&6; }
   5895 fi
   5896 
   5897   if test "x$ac_ct_AR" = x; then
   5898     AR=""
   5899   else
   5900     case $cross_compiling:$ac_tool_warned in
   5901 yes:)
   5902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5904 ac_tool_warned=yes ;;
   5905 esac
   5906     AR=$ac_ct_AR
   5907   fi
   5908 else
   5909   AR="$ac_cv_prog_AR"
   5910 fi
   5911 
   5912       if test -z "${AR}"; then
   5913 	as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   5914       fi
   5915       plugin_option="--plugin $plugin_file"
   5916       touch conftest.c
   5917       ${AR} $plugin_option rc conftest.a conftest.c
   5918       if test "$?" != 0; then
   5919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   5920 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   5921 	plugin_file=
   5922       fi
   5923       rm -f conftest.*
   5924     fi
   5925   fi
   5926   plugin_file="$plugin_file"
   5927 
   5928 if test -n "$plugin_file"; then
   5929   plugin_option="--plugin $plugin_file"
   5930 else
   5931   if test -n "$ac_tool_prefix"; then
   5932   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5933 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5935 $as_echo_n "checking for $ac_word... " >&6; }
   5936 if ${ac_cv_prog_AR+:} false; then :
   5937   $as_echo_n "(cached) " >&6
   5938 else
   5939   if test -n "$AR"; then
   5940   ac_cv_prog_AR="$AR" # Let the user override the test.
   5941 else
   5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5943 for as_dir in $PATH
   5944 do
   5945   IFS=$as_save_IFS
   5946   test -z "$as_dir" && as_dir=.
   5947     for ac_exec_ext in '' $ac_executable_extensions; do
   5948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5949     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5951     break 2
   5952   fi
   5953 done
   5954   done
   5955 IFS=$as_save_IFS
   5956 
   5957 fi
   5958 fi
   5959 AR=$ac_cv_prog_AR
   5960 if test -n "$AR"; then
   5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5962 $as_echo "$AR" >&6; }
   5963 else
   5964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5965 $as_echo "no" >&6; }
   5966 fi
   5967 
   5968 
   5969 fi
   5970 if test -z "$ac_cv_prog_AR"; then
   5971   ac_ct_AR=$AR
   5972   # Extract the first word of "ar", so it can be a program name with args.
   5973 set dummy ar; ac_word=$2
   5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5975 $as_echo_n "checking for $ac_word... " >&6; }
   5976 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5977   $as_echo_n "(cached) " >&6
   5978 else
   5979   if test -n "$ac_ct_AR"; then
   5980   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5981 else
   5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5983 for as_dir in $PATH
   5984 do
   5985   IFS=$as_save_IFS
   5986   test -z "$as_dir" && as_dir=.
   5987     for ac_exec_ext in '' $ac_executable_extensions; do
   5988   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5989     ac_cv_prog_ac_ct_AR="ar"
   5990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5991     break 2
   5992   fi
   5993 done
   5994   done
   5995 IFS=$as_save_IFS
   5996 
   5997 fi
   5998 fi
   5999 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6000 if test -n "$ac_ct_AR"; then
   6001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6002 $as_echo "$ac_ct_AR" >&6; }
   6003 else
   6004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6005 $as_echo "no" >&6; }
   6006 fi
   6007 
   6008   if test "x$ac_ct_AR" = x; then
   6009     AR=""
   6010   else
   6011     case $cross_compiling:$ac_tool_warned in
   6012 yes:)
   6013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6015 ac_tool_warned=yes ;;
   6016 esac
   6017     AR=$ac_ct_AR
   6018   fi
   6019 else
   6020   AR="$ac_cv_prog_AR"
   6021 fi
   6022 
   6023 if test -z "${AR}"; then
   6024   as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   6025 fi
   6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5
   6027 $as_echo_n "checking for -plugin option... " >&6; }
   6028 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6029 plugin_option=
   6030 for plugin in $plugin_names; do
   6031   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6032   if test x$plugin_so = x$plugin; then
   6033     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6034   fi
   6035   if test x$plugin_so != x$plugin; then
   6036     plugin_option="--plugin $plugin_so"
   6037     break
   6038   fi
   6039 done
   6040 if test -z "$plugin_option"; then
   6041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6042 $as_echo "no" >&6; }
   6043 else
   6044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_option" >&5
   6045 $as_echo "$plugin_option" >&6; }
   6046     touch conftest.c
   6047   ${AR} $plugin_option rc conftest.a conftest.c
   6048   if test "$?" != 0; then
   6049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6050 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6051     plugin_option=
   6052   fi
   6053   rm -f conftest.*
   6054 fi
   6055 plugin_option="$plugin_option"
   6056 
   6057 fi
   6058 if test -n "$ac_tool_prefix"; then
   6059   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6060 set dummy ${ac_tool_prefix}ar; 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_AR+:} false; then :
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   if test -n "$AR"; then
   6067   ac_cv_prog_AR="$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_AR="${ac_tool_prefix}ar"
   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 AR=$ac_cv_prog_AR
   6087 if test -n "$AR"; then
   6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6089 $as_echo "$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 fi
   6097 if test -z "$ac_cv_prog_AR"; then
   6098   ac_ct_AR=$AR
   6099   # Extract the first word of "ar", so it can be a program name with args.
   6100 set dummy ar; ac_word=$2
   6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6102 $as_echo_n "checking for $ac_word... " >&6; }
   6103 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6104   $as_echo_n "(cached) " >&6
   6105 else
   6106   if test -n "$ac_ct_AR"; then
   6107   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6108 else
   6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6110 for as_dir in $PATH
   6111 do
   6112   IFS=$as_save_IFS
   6113   test -z "$as_dir" && as_dir=.
   6114     for ac_exec_ext in '' $ac_executable_extensions; do
   6115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6116     ac_cv_prog_ac_ct_AR="ar"
   6117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6118     break 2
   6119   fi
   6120 done
   6121   done
   6122 IFS=$as_save_IFS
   6123 
   6124 fi
   6125 fi
   6126 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6127 if test -n "$ac_ct_AR"; then
   6128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6129 $as_echo "$ac_ct_AR" >&6; }
   6130 else
   6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6132 $as_echo "no" >&6; }
   6133 fi
   6134 
   6135   if test "x$ac_ct_AR" = x; then
   6136     AR="false"
   6137   else
   6138     case $cross_compiling:$ac_tool_warned in
   6139 yes:)
   6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6142 ac_tool_warned=yes ;;
   6143 esac
   6144     AR=$ac_ct_AR
   6145   fi
   6146 else
   6147   AR="$ac_cv_prog_AR"
   6148 fi
   6149 
   6150 test -z "$AR" && AR=ar
   6151 if test -n "$plugin_option"; then
   6152   case "$AR" in
   6153   *"$plugin_option"*)
   6154     ;;
   6155   *)
   6156     if $AR --help 2>&1 | grep -q "\--plugin"; then
   6157       AR="$AR $plugin_option"
   6158     fi
   6159     ;;
   6160   esac
   6161 fi
   6162 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 if test -n "$ac_tool_prefix"; then
   6175   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6176 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6178 $as_echo_n "checking for $ac_word... " >&6; }
   6179 if ${ac_cv_prog_STRIP+:} false; then :
   6180   $as_echo_n "(cached) " >&6
   6181 else
   6182   if test -n "$STRIP"; then
   6183   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6184 else
   6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6186 for as_dir in $PATH
   6187 do
   6188   IFS=$as_save_IFS
   6189   test -z "$as_dir" && as_dir=.
   6190     for ac_exec_ext in '' $ac_executable_extensions; do
   6191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6192     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6194     break 2
   6195   fi
   6196 done
   6197   done
   6198 IFS=$as_save_IFS
   6199 
   6200 fi
   6201 fi
   6202 STRIP=$ac_cv_prog_STRIP
   6203 if test -n "$STRIP"; then
   6204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6205 $as_echo "$STRIP" >&6; }
   6206 else
   6207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6208 $as_echo "no" >&6; }
   6209 fi
   6210 
   6211 
   6212 fi
   6213 if test -z "$ac_cv_prog_STRIP"; then
   6214   ac_ct_STRIP=$STRIP
   6215   # Extract the first word of "strip", so it can be a program name with args.
   6216 set dummy strip; ac_word=$2
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6218 $as_echo_n "checking for $ac_word... " >&6; }
   6219 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6220   $as_echo_n "(cached) " >&6
   6221 else
   6222   if test -n "$ac_ct_STRIP"; then
   6223   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6224 else
   6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6226 for as_dir in $PATH
   6227 do
   6228   IFS=$as_save_IFS
   6229   test -z "$as_dir" && as_dir=.
   6230     for ac_exec_ext in '' $ac_executable_extensions; do
   6231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6232     ac_cv_prog_ac_ct_STRIP="strip"
   6233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6234     break 2
   6235   fi
   6236 done
   6237   done
   6238 IFS=$as_save_IFS
   6239 
   6240 fi
   6241 fi
   6242 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6243 if test -n "$ac_ct_STRIP"; then
   6244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6245 $as_echo "$ac_ct_STRIP" >&6; }
   6246 else
   6247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6248 $as_echo "no" >&6; }
   6249 fi
   6250 
   6251   if test "x$ac_ct_STRIP" = x; then
   6252     STRIP=":"
   6253   else
   6254     case $cross_compiling:$ac_tool_warned in
   6255 yes:)
   6256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6258 ac_tool_warned=yes ;;
   6259 esac
   6260     STRIP=$ac_ct_STRIP
   6261   fi
   6262 else
   6263   STRIP="$ac_cv_prog_STRIP"
   6264 fi
   6265 
   6266 test -z "$STRIP" && STRIP=:
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 if test -n "$ac_tool_prefix"; then
   6274   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6275 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 $as_echo_n "checking for $ac_word... " >&6; }
   6278 if ${ac_cv_prog_RANLIB+:} false; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   if test -n "$RANLIB"; then
   6282   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6283 else
   6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   test -z "$as_dir" && as_dir=.
   6289     for ac_exec_ext in '' $ac_executable_extensions; do
   6290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6291     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293     break 2
   6294   fi
   6295 done
   6296   done
   6297 IFS=$as_save_IFS
   6298 
   6299 fi
   6300 fi
   6301 RANLIB=$ac_cv_prog_RANLIB
   6302 if test -n "$RANLIB"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6304 $as_echo "$RANLIB" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 
   6310 
   6311 fi
   6312 if test -z "$ac_cv_prog_RANLIB"; then
   6313   ac_ct_RANLIB=$RANLIB
   6314   # Extract the first word of "ranlib", so it can be a program name with args.
   6315 set dummy ranlib; ac_word=$2
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6317 $as_echo_n "checking for $ac_word... " >&6; }
   6318 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6319   $as_echo_n "(cached) " >&6
   6320 else
   6321   if test -n "$ac_ct_RANLIB"; then
   6322   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6323 else
   6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6325 for as_dir in $PATH
   6326 do
   6327   IFS=$as_save_IFS
   6328   test -z "$as_dir" && as_dir=.
   6329     for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6331     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336   done
   6337 IFS=$as_save_IFS
   6338 
   6339 fi
   6340 fi
   6341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6342 if test -n "$ac_ct_RANLIB"; then
   6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6344 $as_echo "$ac_ct_RANLIB" >&6; }
   6345 else
   6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6347 $as_echo "no" >&6; }
   6348 fi
   6349 
   6350   if test "x$ac_ct_RANLIB" = x; then
   6351     RANLIB=":"
   6352   else
   6353     case $cross_compiling:$ac_tool_warned in
   6354 yes:)
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6357 ac_tool_warned=yes ;;
   6358 esac
   6359     RANLIB=$ac_ct_RANLIB
   6360   fi
   6361 else
   6362   RANLIB="$ac_cv_prog_RANLIB"
   6363 fi
   6364 
   6365 test -z "$RANLIB" && RANLIB=:
   6366 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6367   case "$RANLIB" in
   6368   *"$plugin_option"*)
   6369     ;;
   6370   *)
   6371     if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6372       RANLIB="$RANLIB $plugin_option"
   6373     fi
   6374     ;;
   6375   esac
   6376 fi
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 # Determine commands to create old-style static archives.
   6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6385 old_postinstall_cmds='chmod 644 $oldlib'
   6386 old_postuninstall_cmds=
   6387 
   6388 if test -n "$RANLIB"; then
   6389   case $host_os in
   6390   openbsd*)
   6391     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6392     ;;
   6393   *)
   6394     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6395     ;;
   6396   esac
   6397   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6398 fi
   6399 
   6400 case $host_os in
   6401   darwin*)
   6402     lock_old_archive_extraction=yes ;;
   6403   *)
   6404     lock_old_archive_extraction=no ;;
   6405 esac
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 # If no C compiler was specified, use CC.
   6446 LTCC=${LTCC-"$CC"}
   6447 
   6448 # If no C compiler flags were specified, use CFLAGS.
   6449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6450 
   6451 # Allow CC to be a program name with arguments.
   6452 compiler=$CC
   6453 
   6454 
   6455 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6457 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6458 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6459   $as_echo_n "(cached) " >&6
   6460 else
   6461 
   6462 # These are sane defaults that work on at least a few old systems.
   6463 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6464 
   6465 # Character class describing NM global symbol codes.
   6466 symcode='[BCDEGRST]'
   6467 
   6468 # Regexp to match symbols that can be accessed directly from C.
   6469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6470 
   6471 # Define system-specific variables.
   6472 case $host_os in
   6473 aix*)
   6474   symcode='[BCDT]'
   6475   ;;
   6476 cygwin* | mingw* | pw32* | cegcc*)
   6477   symcode='[ABCDGISTW]'
   6478   ;;
   6479 hpux*)
   6480   if test "$host_cpu" = ia64; then
   6481     symcode='[ABCDEGRST]'
   6482   fi
   6483   ;;
   6484 irix* | nonstopux*)
   6485   symcode='[BCDEGRST]'
   6486   ;;
   6487 osf*)
   6488   symcode='[BCDEGQRST]'
   6489   ;;
   6490 solaris*)
   6491   symcode='[BCDRT]'
   6492   ;;
   6493 sco3.2v5*)
   6494   symcode='[DT]'
   6495   ;;
   6496 sysv4.2uw2*)
   6497   symcode='[DT]'
   6498   ;;
   6499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6500   symcode='[ABDT]'
   6501   ;;
   6502 sysv4)
   6503   symcode='[DFNSTU]'
   6504   ;;
   6505 esac
   6506 
   6507 # If we're using GNU nm, then use its standard symbol codes.
   6508 case `$NM -V 2>&1` in
   6509 *GNU* | *'with BFD'*)
   6510   symcode='[ABCDGIRSTW]' ;;
   6511 esac
   6512 
   6513 # Transform an extracted symbol line into a proper C declaration.
   6514 # Some systems (esp. on ia64) link data and code symbols differently,
   6515 # so use this general approach.
   6516 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6517 
   6518 # Transform an extracted symbol line into symbol name and symbol address
   6519 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6520 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6521 
   6522 # Handle CRLF in mingw tool chain
   6523 opt_cr=
   6524 case $build_os in
   6525 mingw*)
   6526   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6527   ;;
   6528 esac
   6529 
   6530 # Try without a prefix underscore, then with it.
   6531 for ac_symprfx in "" "_"; do
   6532 
   6533   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6534   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6535 
   6536   # Write the raw and C identifiers.
   6537   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6538     # Fake it for dumpbin and say T for any non-static function
   6539     # and D for any global variable.
   6540     # Also find C++ and __fastcall symbols from MSVC++,
   6541     # which start with @ or ?.
   6542     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6543 "     {last_section=section; section=\$ 3};"\
   6544 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6545 "     \$ 0!~/External *\|/{next};"\
   6546 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6547 "     {if(hide[section]) next};"\
   6548 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6549 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6550 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6551 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6552 "     ' prfx=^$ac_symprfx"
   6553   else
   6554     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6555   fi
   6556 
   6557   # Check to see that the pipe works correctly.
   6558   pipe_works=no
   6559 
   6560   rm -f conftest*
   6561   cat > conftest.$ac_ext <<_LT_EOF
   6562 #ifdef __cplusplus
   6563 extern "C" {
   6564 #endif
   6565 char nm_test_var;
   6566 void nm_test_func(void);
   6567 void nm_test_func(void){}
   6568 #ifdef __cplusplus
   6569 }
   6570 #endif
   6571 int main(){nm_test_var='a';nm_test_func();return(0);}
   6572 _LT_EOF
   6573 
   6574   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6575   (eval $ac_compile) 2>&5
   6576   ac_status=$?
   6577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6578   test $ac_status = 0; }; then
   6579     # Now try to grab the symbols.
   6580     nlist=conftest.nm
   6581     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6582   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6583   ac_status=$?
   6584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6585   test $ac_status = 0; } && test -s "$nlist"; then
   6586       # Try sorting and uniquifying the output.
   6587       if sort "$nlist" | uniq > "$nlist"T; then
   6588 	mv -f "$nlist"T "$nlist"
   6589       else
   6590 	rm -f "$nlist"T
   6591       fi
   6592 
   6593       # Make sure that we snagged all the symbols we need.
   6594       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6595 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6596 	  cat <<_LT_EOF > conftest.$ac_ext
   6597 #ifdef __cplusplus
   6598 extern "C" {
   6599 #endif
   6600 
   6601 _LT_EOF
   6602 	  # Now generate the symbol file.
   6603 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6604 
   6605 	  cat <<_LT_EOF >> conftest.$ac_ext
   6606 
   6607 /* The mapping between symbol names and symbols.  */
   6608 const struct {
   6609   const char *name;
   6610   void       *address;
   6611 }
   6612 lt__PROGRAM__LTX_preloaded_symbols[] =
   6613 {
   6614   { "@PROGRAM@", (void *) 0 },
   6615 _LT_EOF
   6616 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6617 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6618   {0, (void *) 0}
   6619 };
   6620 
   6621 /* This works around a problem in FreeBSD linker */
   6622 #ifdef FREEBSD_WORKAROUND
   6623 static const void *lt_preloaded_setup() {
   6624   return lt__PROGRAM__LTX_preloaded_symbols;
   6625 }
   6626 #endif
   6627 
   6628 #ifdef __cplusplus
   6629 }
   6630 #endif
   6631 _LT_EOF
   6632 	  # Now try linking the two files.
   6633 	  mv conftest.$ac_objext conftstm.$ac_objext
   6634 	  lt_save_LIBS="$LIBS"
   6635 	  lt_save_CFLAGS="$CFLAGS"
   6636 	  LIBS="conftstm.$ac_objext"
   6637 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6638 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6639   (eval $ac_link) 2>&5
   6640   ac_status=$?
   6641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6642   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6643 	    pipe_works=yes
   6644 	  fi
   6645 	  LIBS="$lt_save_LIBS"
   6646 	  CFLAGS="$lt_save_CFLAGS"
   6647 	else
   6648 	  echo "cannot find nm_test_func in $nlist" >&5
   6649 	fi
   6650       else
   6651 	echo "cannot find nm_test_var in $nlist" >&5
   6652       fi
   6653     else
   6654       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6655     fi
   6656   else
   6657     echo "$progname: failed program was:" >&5
   6658     cat conftest.$ac_ext >&5
   6659   fi
   6660   rm -rf conftest* conftst*
   6661 
   6662   # Do not use the global_symbol_pipe unless it works.
   6663   if test "$pipe_works" = yes; then
   6664     break
   6665   else
   6666     lt_cv_sys_global_symbol_pipe=
   6667   fi
   6668 done
   6669 
   6670 fi
   6671 
   6672 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6673   lt_cv_sys_global_symbol_to_cdecl=
   6674 fi
   6675 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6677 $as_echo "failed" >&6; }
   6678 else
   6679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6680 $as_echo "ok" >&6; }
   6681 fi
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 # Check whether --enable-libtool-lock was given.
   6705 if test "${enable_libtool_lock+set}" = set; then :
   6706   enableval=$enable_libtool_lock;
   6707 fi
   6708 
   6709 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6710 
   6711 # Some flags need to be propagated to the compiler or linker for good
   6712 # libtool support.
   6713 case $host in
   6714 ia64-*-hpux*)
   6715   # Find out which ABI we are using.
   6716   echo 'int i;' > conftest.$ac_ext
   6717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6718   (eval $ac_compile) 2>&5
   6719   ac_status=$?
   6720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6721   test $ac_status = 0; }; then
   6722     case `/usr/bin/file conftest.$ac_objext` in
   6723       *ELF-32*)
   6724 	HPUX_IA64_MODE="32"
   6725 	;;
   6726       *ELF-64*)
   6727 	HPUX_IA64_MODE="64"
   6728 	;;
   6729     esac
   6730   fi
   6731   rm -rf conftest*
   6732   ;;
   6733 *-*-irix6*)
   6734   # Find out which ABI we are using.
   6735   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6736   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6737   (eval $ac_compile) 2>&5
   6738   ac_status=$?
   6739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6740   test $ac_status = 0; }; then
   6741     if test "$lt_cv_prog_gnu_ld" = yes; then
   6742       case `/usr/bin/file conftest.$ac_objext` in
   6743 	*32-bit*)
   6744 	  LD="${LD-ld} -melf32bsmip"
   6745 	  ;;
   6746 	*N32*)
   6747 	  LD="${LD-ld} -melf32bmipn32"
   6748 	  ;;
   6749 	*64-bit*)
   6750 	  LD="${LD-ld} -melf64bmip"
   6751 	;;
   6752       esac
   6753     else
   6754       case `/usr/bin/file conftest.$ac_objext` in
   6755 	*32-bit*)
   6756 	  LD="${LD-ld} -32"
   6757 	  ;;
   6758 	*N32*)
   6759 	  LD="${LD-ld} -n32"
   6760 	  ;;
   6761 	*64-bit*)
   6762 	  LD="${LD-ld} -64"
   6763 	  ;;
   6764       esac
   6765     fi
   6766   fi
   6767   rm -rf conftest*
   6768   ;;
   6769 
   6770 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6771 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6772   # Find out which ABI we are using.
   6773   echo 'int i;' > conftest.$ac_ext
   6774   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6775   (eval $ac_compile) 2>&5
   6776   ac_status=$?
   6777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6778   test $ac_status = 0; }; then
   6779     case `/usr/bin/file conftest.o` in
   6780       *32-bit*)
   6781 	case $host in
   6782 	  x86_64-*kfreebsd*-gnu)
   6783 	    LD="${LD-ld} -m elf_i386_fbsd"
   6784 	    ;;
   6785 	  x86_64-*linux*)
   6786 	    case `/usr/bin/file conftest.o` in
   6787 	      *x86-64*)
   6788 		LD="${LD-ld} -m elf32_x86_64"
   6789 		;;
   6790 	      *)
   6791 		LD="${LD-ld} -m elf_i386"
   6792 		;;
   6793 	    esac
   6794 	    ;;
   6795 	  powerpc64le-*linux*)
   6796 	    LD="${LD-ld} -m elf32lppclinux"
   6797 	    ;;
   6798 	  powerpc64-*linux*)
   6799 	    LD="${LD-ld} -m elf32ppclinux"
   6800 	    ;;
   6801 	  s390x-*linux*)
   6802 	    LD="${LD-ld} -m elf_s390"
   6803 	    ;;
   6804 	  sparc64-*linux*)
   6805 	    LD="${LD-ld} -m elf32_sparc"
   6806 	    ;;
   6807 	esac
   6808 	;;
   6809       *64-bit*)
   6810 	case $host in
   6811 	  x86_64-*kfreebsd*-gnu)
   6812 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6813 	    ;;
   6814 	  x86_64-*linux*)
   6815 	    LD="${LD-ld} -m elf_x86_64"
   6816 	    ;;
   6817 	  powerpcle-*linux*)
   6818 	    LD="${LD-ld} -m elf64lppc"
   6819 	    ;;
   6820 	  powerpc-*linux*)
   6821 	    LD="${LD-ld} -m elf64ppc"
   6822 	    ;;
   6823 	  s390*-*linux*|s390*-*tpf*)
   6824 	    LD="${LD-ld} -m elf64_s390"
   6825 	    ;;
   6826 	  sparc*-*linux*)
   6827 	    LD="${LD-ld} -m elf64_sparc"
   6828 	    ;;
   6829 	esac
   6830 	;;
   6831     esac
   6832   fi
   6833   rm -rf conftest*
   6834   ;;
   6835 
   6836 *-*-sco3.2v5*)
   6837   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6838   SAVE_CFLAGS="$CFLAGS"
   6839   CFLAGS="$CFLAGS -belf"
   6840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6841 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6842 if ${lt_cv_cc_needs_belf+:} false; then :
   6843   $as_echo_n "(cached) " >&6
   6844 else
   6845   ac_ext=c
   6846 ac_cpp='$CPP $CPPFLAGS'
   6847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6850 
   6851      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6852 /* end confdefs.h.  */
   6853 
   6854 int
   6855 main ()
   6856 {
   6857 
   6858   ;
   6859   return 0;
   6860 }
   6861 _ACEOF
   6862 if ac_fn_c_try_link "$LINENO"; then :
   6863   lt_cv_cc_needs_belf=yes
   6864 else
   6865   lt_cv_cc_needs_belf=no
   6866 fi
   6867 rm -f core conftest.err conftest.$ac_objext \
   6868     conftest$ac_exeext conftest.$ac_ext
   6869      ac_ext=c
   6870 ac_cpp='$CPP $CPPFLAGS'
   6871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6874 
   6875 fi
   6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6877 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6878   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6879     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6880     CFLAGS="$SAVE_CFLAGS"
   6881   fi
   6882   ;;
   6883 sparc*-*solaris*)
   6884   # Find out which ABI we are using.
   6885   echo 'int i;' > conftest.$ac_ext
   6886   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6887   (eval $ac_compile) 2>&5
   6888   ac_status=$?
   6889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6890   test $ac_status = 0; }; then
   6891     case `/usr/bin/file conftest.o` in
   6892     *64-bit*)
   6893       case $lt_cv_prog_gnu_ld in
   6894       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6895       *)
   6896 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6897 	  LD="${LD-ld} -64"
   6898 	fi
   6899 	;;
   6900       esac
   6901       ;;
   6902     esac
   6903   fi
   6904   rm -rf conftest*
   6905   ;;
   6906 esac
   6907 
   6908 need_locks="$enable_libtool_lock"
   6909 
   6910 
   6911   case $host_os in
   6912     rhapsody* | darwin*)
   6913     if test -n "$ac_tool_prefix"; then
   6914   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6915 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6917 $as_echo_n "checking for $ac_word... " >&6; }
   6918 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6919   $as_echo_n "(cached) " >&6
   6920 else
   6921   if test -n "$DSYMUTIL"; then
   6922   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6923 else
   6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6925 for as_dir in $PATH
   6926 do
   6927   IFS=$as_save_IFS
   6928   test -z "$as_dir" && as_dir=.
   6929     for ac_exec_ext in '' $ac_executable_extensions; do
   6930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6931     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6933     break 2
   6934   fi
   6935 done
   6936   done
   6937 IFS=$as_save_IFS
   6938 
   6939 fi
   6940 fi
   6941 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6942 if test -n "$DSYMUTIL"; then
   6943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6944 $as_echo "$DSYMUTIL" >&6; }
   6945 else
   6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6947 $as_echo "no" >&6; }
   6948 fi
   6949 
   6950 
   6951 fi
   6952 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6953   ac_ct_DSYMUTIL=$DSYMUTIL
   6954   # Extract the first word of "dsymutil", so it can be a program name with args.
   6955 set dummy dsymutil; ac_word=$2
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6957 $as_echo_n "checking for $ac_word... " >&6; }
   6958 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6959   $as_echo_n "(cached) " >&6
   6960 else
   6961   if test -n "$ac_ct_DSYMUTIL"; then
   6962   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6963 else
   6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6965 for as_dir in $PATH
   6966 do
   6967   IFS=$as_save_IFS
   6968   test -z "$as_dir" && as_dir=.
   6969     for ac_exec_ext in '' $ac_executable_extensions; do
   6970   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6971     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6973     break 2
   6974   fi
   6975 done
   6976   done
   6977 IFS=$as_save_IFS
   6978 
   6979 fi
   6980 fi
   6981 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6982 if test -n "$ac_ct_DSYMUTIL"; then
   6983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6984 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6985 else
   6986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6987 $as_echo "no" >&6; }
   6988 fi
   6989 
   6990   if test "x$ac_ct_DSYMUTIL" = x; then
   6991     DSYMUTIL=":"
   6992   else
   6993     case $cross_compiling:$ac_tool_warned in
   6994 yes:)
   6995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6997 ac_tool_warned=yes ;;
   6998 esac
   6999     DSYMUTIL=$ac_ct_DSYMUTIL
   7000   fi
   7001 else
   7002   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7003 fi
   7004 
   7005     if test -n "$ac_tool_prefix"; then
   7006   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7007 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7009 $as_echo_n "checking for $ac_word... " >&6; }
   7010 if ${ac_cv_prog_NMEDIT+:} false; then :
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   if test -n "$NMEDIT"; then
   7014   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7015 else
   7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7017 for as_dir in $PATH
   7018 do
   7019   IFS=$as_save_IFS
   7020   test -z "$as_dir" && as_dir=.
   7021     for ac_exec_ext in '' $ac_executable_extensions; do
   7022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7023     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7025     break 2
   7026   fi
   7027 done
   7028   done
   7029 IFS=$as_save_IFS
   7030 
   7031 fi
   7032 fi
   7033 NMEDIT=$ac_cv_prog_NMEDIT
   7034 if test -n "$NMEDIT"; then
   7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7036 $as_echo "$NMEDIT" >&6; }
   7037 else
   7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7039 $as_echo "no" >&6; }
   7040 fi
   7041 
   7042 
   7043 fi
   7044 if test -z "$ac_cv_prog_NMEDIT"; then
   7045   ac_ct_NMEDIT=$NMEDIT
   7046   # Extract the first word of "nmedit", so it can be a program name with args.
   7047 set dummy nmedit; ac_word=$2
   7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7049 $as_echo_n "checking for $ac_word... " >&6; }
   7050 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7051   $as_echo_n "(cached) " >&6
   7052 else
   7053   if test -n "$ac_ct_NMEDIT"; then
   7054   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7055 else
   7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7057 for as_dir in $PATH
   7058 do
   7059   IFS=$as_save_IFS
   7060   test -z "$as_dir" && as_dir=.
   7061     for ac_exec_ext in '' $ac_executable_extensions; do
   7062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7063     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7065     break 2
   7066   fi
   7067 done
   7068   done
   7069 IFS=$as_save_IFS
   7070 
   7071 fi
   7072 fi
   7073 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7074 if test -n "$ac_ct_NMEDIT"; then
   7075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7076 $as_echo "$ac_ct_NMEDIT" >&6; }
   7077 else
   7078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7079 $as_echo "no" >&6; }
   7080 fi
   7081 
   7082   if test "x$ac_ct_NMEDIT" = x; then
   7083     NMEDIT=":"
   7084   else
   7085     case $cross_compiling:$ac_tool_warned in
   7086 yes:)
   7087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7089 ac_tool_warned=yes ;;
   7090 esac
   7091     NMEDIT=$ac_ct_NMEDIT
   7092   fi
   7093 else
   7094   NMEDIT="$ac_cv_prog_NMEDIT"
   7095 fi
   7096 
   7097     if test -n "$ac_tool_prefix"; then
   7098   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7099 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7101 $as_echo_n "checking for $ac_word... " >&6; }
   7102 if ${ac_cv_prog_LIPO+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   if test -n "$LIPO"; then
   7106   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7107 else
   7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7109 for as_dir in $PATH
   7110 do
   7111   IFS=$as_save_IFS
   7112   test -z "$as_dir" && as_dir=.
   7113     for ac_exec_ext in '' $ac_executable_extensions; do
   7114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7115     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7117     break 2
   7118   fi
   7119 done
   7120   done
   7121 IFS=$as_save_IFS
   7122 
   7123 fi
   7124 fi
   7125 LIPO=$ac_cv_prog_LIPO
   7126 if test -n "$LIPO"; then
   7127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7128 $as_echo "$LIPO" >&6; }
   7129 else
   7130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7131 $as_echo "no" >&6; }
   7132 fi
   7133 
   7134 
   7135 fi
   7136 if test -z "$ac_cv_prog_LIPO"; then
   7137   ac_ct_LIPO=$LIPO
   7138   # Extract the first word of "lipo", so it can be a program name with args.
   7139 set dummy lipo; ac_word=$2
   7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7141 $as_echo_n "checking for $ac_word... " >&6; }
   7142 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7143   $as_echo_n "(cached) " >&6
   7144 else
   7145   if test -n "$ac_ct_LIPO"; then
   7146   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7147 else
   7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7149 for as_dir in $PATH
   7150 do
   7151   IFS=$as_save_IFS
   7152   test -z "$as_dir" && as_dir=.
   7153     for ac_exec_ext in '' $ac_executable_extensions; do
   7154   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7155     ac_cv_prog_ac_ct_LIPO="lipo"
   7156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7157     break 2
   7158   fi
   7159 done
   7160   done
   7161 IFS=$as_save_IFS
   7162 
   7163 fi
   7164 fi
   7165 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7166 if test -n "$ac_ct_LIPO"; then
   7167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7168 $as_echo "$ac_ct_LIPO" >&6; }
   7169 else
   7170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7171 $as_echo "no" >&6; }
   7172 fi
   7173 
   7174   if test "x$ac_ct_LIPO" = x; then
   7175     LIPO=":"
   7176   else
   7177     case $cross_compiling:$ac_tool_warned in
   7178 yes:)
   7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7181 ac_tool_warned=yes ;;
   7182 esac
   7183     LIPO=$ac_ct_LIPO
   7184   fi
   7185 else
   7186   LIPO="$ac_cv_prog_LIPO"
   7187 fi
   7188 
   7189     if test -n "$ac_tool_prefix"; then
   7190   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7191 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7193 $as_echo_n "checking for $ac_word... " >&6; }
   7194 if ${ac_cv_prog_OTOOL+:} false; then :
   7195   $as_echo_n "(cached) " >&6
   7196 else
   7197   if test -n "$OTOOL"; then
   7198   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7199 else
   7200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7201 for as_dir in $PATH
   7202 do
   7203   IFS=$as_save_IFS
   7204   test -z "$as_dir" && as_dir=.
   7205     for ac_exec_ext in '' $ac_executable_extensions; do
   7206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7207     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7209     break 2
   7210   fi
   7211 done
   7212   done
   7213 IFS=$as_save_IFS
   7214 
   7215 fi
   7216 fi
   7217 OTOOL=$ac_cv_prog_OTOOL
   7218 if test -n "$OTOOL"; then
   7219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7220 $as_echo "$OTOOL" >&6; }
   7221 else
   7222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7223 $as_echo "no" >&6; }
   7224 fi
   7225 
   7226 
   7227 fi
   7228 if test -z "$ac_cv_prog_OTOOL"; then
   7229   ac_ct_OTOOL=$OTOOL
   7230   # Extract the first word of "otool", so it can be a program name with args.
   7231 set dummy otool; ac_word=$2
   7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7233 $as_echo_n "checking for $ac_word... " >&6; }
   7234 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7235   $as_echo_n "(cached) " >&6
   7236 else
   7237   if test -n "$ac_ct_OTOOL"; then
   7238   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7239 else
   7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7241 for as_dir in $PATH
   7242 do
   7243   IFS=$as_save_IFS
   7244   test -z "$as_dir" && as_dir=.
   7245     for ac_exec_ext in '' $ac_executable_extensions; do
   7246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7247     ac_cv_prog_ac_ct_OTOOL="otool"
   7248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7249     break 2
   7250   fi
   7251 done
   7252   done
   7253 IFS=$as_save_IFS
   7254 
   7255 fi
   7256 fi
   7257 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7258 if test -n "$ac_ct_OTOOL"; then
   7259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7260 $as_echo "$ac_ct_OTOOL" >&6; }
   7261 else
   7262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7263 $as_echo "no" >&6; }
   7264 fi
   7265 
   7266   if test "x$ac_ct_OTOOL" = x; then
   7267     OTOOL=":"
   7268   else
   7269     case $cross_compiling:$ac_tool_warned in
   7270 yes:)
   7271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7273 ac_tool_warned=yes ;;
   7274 esac
   7275     OTOOL=$ac_ct_OTOOL
   7276   fi
   7277 else
   7278   OTOOL="$ac_cv_prog_OTOOL"
   7279 fi
   7280 
   7281     if test -n "$ac_tool_prefix"; then
   7282   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7283 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7285 $as_echo_n "checking for $ac_word... " >&6; }
   7286 if ${ac_cv_prog_OTOOL64+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   if test -n "$OTOOL64"; then
   7290   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7291 else
   7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7293 for as_dir in $PATH
   7294 do
   7295   IFS=$as_save_IFS
   7296   test -z "$as_dir" && as_dir=.
   7297     for ac_exec_ext in '' $ac_executable_extensions; do
   7298   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7299     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7301     break 2
   7302   fi
   7303 done
   7304   done
   7305 IFS=$as_save_IFS
   7306 
   7307 fi
   7308 fi
   7309 OTOOL64=$ac_cv_prog_OTOOL64
   7310 if test -n "$OTOOL64"; then
   7311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7312 $as_echo "$OTOOL64" >&6; }
   7313 else
   7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7315 $as_echo "no" >&6; }
   7316 fi
   7317 
   7318 
   7319 fi
   7320 if test -z "$ac_cv_prog_OTOOL64"; then
   7321   ac_ct_OTOOL64=$OTOOL64
   7322   # Extract the first word of "otool64", so it can be a program name with args.
   7323 set dummy otool64; ac_word=$2
   7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7325 $as_echo_n "checking for $ac_word... " >&6; }
   7326 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7327   $as_echo_n "(cached) " >&6
   7328 else
   7329   if test -n "$ac_ct_OTOOL64"; then
   7330   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7331 else
   7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7333 for as_dir in $PATH
   7334 do
   7335   IFS=$as_save_IFS
   7336   test -z "$as_dir" && as_dir=.
   7337     for ac_exec_ext in '' $ac_executable_extensions; do
   7338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7339     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7341     break 2
   7342   fi
   7343 done
   7344   done
   7345 IFS=$as_save_IFS
   7346 
   7347 fi
   7348 fi
   7349 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7350 if test -n "$ac_ct_OTOOL64"; then
   7351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7352 $as_echo "$ac_ct_OTOOL64" >&6; }
   7353 else
   7354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7355 $as_echo "no" >&6; }
   7356 fi
   7357 
   7358   if test "x$ac_ct_OTOOL64" = x; then
   7359     OTOOL64=":"
   7360   else
   7361     case $cross_compiling:$ac_tool_warned in
   7362 yes:)
   7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7365 ac_tool_warned=yes ;;
   7366 esac
   7367     OTOOL64=$ac_ct_OTOOL64
   7368   fi
   7369 else
   7370   OTOOL64="$ac_cv_prog_OTOOL64"
   7371 fi
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7400 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7401 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7402   $as_echo_n "(cached) " >&6
   7403 else
   7404   lt_cv_apple_cc_single_mod=no
   7405       if test -z "${LT_MULTI_MODULE}"; then
   7406 	# By default we will add the -single_module flag. You can override
   7407 	# by either setting the environment variable LT_MULTI_MODULE
   7408 	# non-empty at configure time, or by adding -multi_module to the
   7409 	# link flags.
   7410 	rm -rf libconftest.dylib*
   7411 	echo "int foo(void){return 1;}" > conftest.c
   7412 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7413 -dynamiclib -Wl,-single_module conftest.c" >&5
   7414 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7415 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7416         _lt_result=$?
   7417 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7418 	  lt_cv_apple_cc_single_mod=yes
   7419 	else
   7420 	  cat conftest.err >&5
   7421 	fi
   7422 	rm -rf libconftest.dylib*
   7423 	rm -f conftest.*
   7424       fi
   7425 fi
   7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7427 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7429 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7430 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7431   $as_echo_n "(cached) " >&6
   7432 else
   7433   lt_cv_ld_exported_symbols_list=no
   7434       save_LDFLAGS=$LDFLAGS
   7435       echo "_main" > conftest.sym
   7436       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7438 /* end confdefs.h.  */
   7439 
   7440 int
   7441 main ()
   7442 {
   7443 
   7444   ;
   7445   return 0;
   7446 }
   7447 _ACEOF
   7448 if ac_fn_c_try_link "$LINENO"; then :
   7449   lt_cv_ld_exported_symbols_list=yes
   7450 else
   7451   lt_cv_ld_exported_symbols_list=no
   7452 fi
   7453 rm -f core conftest.err conftest.$ac_objext \
   7454     conftest$ac_exeext conftest.$ac_ext
   7455 	LDFLAGS="$save_LDFLAGS"
   7456 
   7457 fi
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7459 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7461 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7462 if ${lt_cv_ld_force_load+:} false; then :
   7463   $as_echo_n "(cached) " >&6
   7464 else
   7465   lt_cv_ld_force_load=no
   7466       cat > conftest.c << _LT_EOF
   7467 int forced_loaded() { return 2;}
   7468 _LT_EOF
   7469       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7470       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7471       echo "$AR cru libconftest.a conftest.o" >&5
   7472       $AR cru libconftest.a conftest.o 2>&5
   7473       cat > conftest.c << _LT_EOF
   7474 int main() { return 0;}
   7475 _LT_EOF
   7476       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7477       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7478       _lt_result=$?
   7479       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7480 	lt_cv_ld_force_load=yes
   7481       else
   7482 	cat conftest.err >&5
   7483       fi
   7484         rm -f conftest.err libconftest.a conftest conftest.c
   7485         rm -rf conftest.dSYM
   7486 
   7487 fi
   7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7489 $as_echo "$lt_cv_ld_force_load" >&6; }
   7490     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   7491     # build without first building modern cctools / linker.
   7492     case $host_cpu-$host_os in
   7493     *-rhapsody* | *-darwin1.[012])
   7494       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7495     *-darwin1.*)
   7496       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7497     *-darwin*)
   7498       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   7499       # deployment target is forced to an earlier version.
   7500       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   7501 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   7502 	  ;;
   7503 	10.[012][,.]*)
   7504 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   7505 	  ;;
   7506 	*)
   7507 	  ;;
   7508      esac
   7509     ;;
   7510   esac
   7511     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7512       _lt_dar_single_mod='$single_module'
   7513     fi
   7514     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7515       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7516     else
   7517       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7518     fi
   7519     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7520       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7521     else
   7522       _lt_dsymutil=
   7523     fi
   7524     ;;
   7525   esac
   7526 
   7527 for ac_header in dlfcn.h
   7528 do :
   7529   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7530 "
   7531 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7532   cat >>confdefs.h <<_ACEOF
   7533 #define HAVE_DLFCN_H 1
   7534 _ACEOF
   7535 
   7536 fi
   7537 
   7538 done
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 # Set options
   7545 
   7546 
   7547 
   7548         enable_dlopen=no
   7549 
   7550 
   7551   enable_win32_dll=no
   7552 
   7553 
   7554             # Check whether --enable-shared was given.
   7555 if test "${enable_shared+set}" = set; then :
   7556   enableval=$enable_shared; p=${PACKAGE-default}
   7557     case $enableval in
   7558     yes) enable_shared=yes ;;
   7559     no) enable_shared=no ;;
   7560     *)
   7561       enable_shared=no
   7562       # Look at the argument we got.  We use all the common list separators.
   7563       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7564       for pkg in $enableval; do
   7565 	IFS="$lt_save_ifs"
   7566 	if test "X$pkg" = "X$p"; then
   7567 	  enable_shared=yes
   7568 	fi
   7569       done
   7570       IFS="$lt_save_ifs"
   7571       ;;
   7572     esac
   7573 else
   7574   enable_shared=yes
   7575 fi
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585   # Check whether --enable-static was given.
   7586 if test "${enable_static+set}" = set; then :
   7587   enableval=$enable_static; p=${PACKAGE-default}
   7588     case $enableval in
   7589     yes) enable_static=yes ;;
   7590     no) enable_static=no ;;
   7591     *)
   7592      enable_static=no
   7593       # Look at the argument we got.  We use all the common list separators.
   7594       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7595       for pkg in $enableval; do
   7596 	IFS="$lt_save_ifs"
   7597 	if test "X$pkg" = "X$p"; then
   7598 	  enable_static=yes
   7599 	fi
   7600       done
   7601       IFS="$lt_save_ifs"
   7602       ;;
   7603     esac
   7604 else
   7605   enable_static=yes
   7606 fi
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 # Check whether --with-pic was given.
   7618 if test "${with_pic+set}" = set; then :
   7619   withval=$with_pic; pic_mode="$withval"
   7620 else
   7621   pic_mode=default
   7622 fi
   7623 
   7624 
   7625 test -z "$pic_mode" && pic_mode=default
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633   # Check whether --enable-fast-install was given.
   7634 if test "${enable_fast_install+set}" = set; then :
   7635   enableval=$enable_fast_install; p=${PACKAGE-default}
   7636     case $enableval in
   7637     yes) enable_fast_install=yes ;;
   7638     no) enable_fast_install=no ;;
   7639     *)
   7640       enable_fast_install=no
   7641       # Look at the argument we got.  We use all the common list separators.
   7642       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7643       for pkg in $enableval; do
   7644 	IFS="$lt_save_ifs"
   7645 	if test "X$pkg" = "X$p"; then
   7646 	  enable_fast_install=yes
   7647 	fi
   7648       done
   7649       IFS="$lt_save_ifs"
   7650       ;;
   7651     esac
   7652 else
   7653   enable_fast_install=yes
   7654 fi
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 # This can be used to rebuild libtool when needed
   7667 LIBTOOL_DEPS="$ltmain"
   7668 
   7669 # Always use our own libtool.
   7670 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 test -z "$LN_S" && LN_S="ln -s"
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 if test -n "${ZSH_VERSION+set}" ; then
   7713    setopt NO_GLOB_SUBST
   7714 fi
   7715 
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7717 $as_echo_n "checking for objdir... " >&6; }
   7718 if ${lt_cv_objdir+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   rm -f .libs 2>/dev/null
   7722 mkdir .libs 2>/dev/null
   7723 if test -d .libs; then
   7724   lt_cv_objdir=.libs
   7725 else
   7726   # MS-DOS does not allow filenames that begin with a dot.
   7727   lt_cv_objdir=_libs
   7728 fi
   7729 rmdir .libs 2>/dev/null
   7730 fi
   7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7732 $as_echo "$lt_cv_objdir" >&6; }
   7733 objdir=$lt_cv_objdir
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 cat >>confdefs.h <<_ACEOF
   7740 #define LT_OBJDIR "$lt_cv_objdir/"
   7741 _ACEOF
   7742 
   7743 
   7744 
   7745 
   7746 case $host_os in
   7747 aix3*)
   7748   # AIX sometimes has problems with the GCC collect2 program.  For some
   7749   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7750   # vanish in a puff of smoke.
   7751   if test "X${COLLECT_NAMES+set}" != Xset; then
   7752     COLLECT_NAMES=
   7753     export COLLECT_NAMES
   7754   fi
   7755   ;;
   7756 esac
   7757 
   7758 # Global variables:
   7759 ofile=libtool
   7760 can_build_shared=yes
   7761 
   7762 # All known linkers require a `.a' archive for static linking (except MSVC,
   7763 # which needs '.lib').
   7764 libext=a
   7765 
   7766 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7767 
   7768 old_CC="$CC"
   7769 old_CFLAGS="$CFLAGS"
   7770 
   7771 # Set sane defaults for various variables
   7772 test -z "$CC" && CC=cc
   7773 test -z "$LTCC" && LTCC=$CC
   7774 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7775 test -z "$LD" && LD=ld
   7776 test -z "$ac_objext" && ac_objext=o
   7777 
   7778 for cc_temp in $compiler""; do
   7779   case $cc_temp in
   7780     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7781     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7782     \-*) ;;
   7783     *) break;;
   7784   esac
   7785 done
   7786 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7787 
   7788 
   7789 # Only perform the check for file, if the check method requires it
   7790 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7791 case $deplibs_check_method in
   7792 file_magic*)
   7793   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7795 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7796 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7797   $as_echo_n "(cached) " >&6
   7798 else
   7799   case $MAGIC_CMD in
   7800 [\\/*] |  ?:[\\/]*)
   7801   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7802   ;;
   7803 *)
   7804   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7805   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7806   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7807   for ac_dir in $ac_dummy; do
   7808     IFS="$lt_save_ifs"
   7809     test -z "$ac_dir" && ac_dir=.
   7810     if test -f $ac_dir/${ac_tool_prefix}file; then
   7811       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7812       if test -n "$file_magic_test_file"; then
   7813 	case $deplibs_check_method in
   7814 	"file_magic "*)
   7815 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7816 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7817 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7818 	    $EGREP "$file_magic_regex" > /dev/null; then
   7819 	    :
   7820 	  else
   7821 	    cat <<_LT_EOF 1>&2
   7822 
   7823 *** Warning: the command libtool uses to detect shared libraries,
   7824 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7825 *** The result is that libtool may fail to recognize shared libraries
   7826 *** as such.  This will affect the creation of libtool libraries that
   7827 *** depend on shared libraries, but programs linked with such libtool
   7828 *** libraries will work regardless of this problem.  Nevertheless, you
   7829 *** may want to report the problem to your system manager and/or to
   7830 *** bug-libtool@gnu.org
   7831 
   7832 _LT_EOF
   7833 	  fi ;;
   7834 	esac
   7835       fi
   7836       break
   7837     fi
   7838   done
   7839   IFS="$lt_save_ifs"
   7840   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7841   ;;
   7842 esac
   7843 fi
   7844 
   7845 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7846 if test -n "$MAGIC_CMD"; then
   7847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7848 $as_echo "$MAGIC_CMD" >&6; }
   7849 else
   7850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7851 $as_echo "no" >&6; }
   7852 fi
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7859   if test -n "$ac_tool_prefix"; then
   7860     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7861 $as_echo_n "checking for file... " >&6; }
   7862 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7863   $as_echo_n "(cached) " >&6
   7864 else
   7865   case $MAGIC_CMD in
   7866 [\\/*] |  ?:[\\/]*)
   7867   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7868   ;;
   7869 *)
   7870   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7871   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7872   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7873   for ac_dir in $ac_dummy; do
   7874     IFS="$lt_save_ifs"
   7875     test -z "$ac_dir" && ac_dir=.
   7876     if test -f $ac_dir/file; then
   7877       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7878       if test -n "$file_magic_test_file"; then
   7879 	case $deplibs_check_method in
   7880 	"file_magic "*)
   7881 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7882 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7883 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7884 	    $EGREP "$file_magic_regex" > /dev/null; then
   7885 	    :
   7886 	  else
   7887 	    cat <<_LT_EOF 1>&2
   7888 
   7889 *** Warning: the command libtool uses to detect shared libraries,
   7890 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7891 *** The result is that libtool may fail to recognize shared libraries
   7892 *** as such.  This will affect the creation of libtool libraries that
   7893 *** depend on shared libraries, but programs linked with such libtool
   7894 *** libraries will work regardless of this problem.  Nevertheless, you
   7895 *** may want to report the problem to your system manager and/or to
   7896 *** bug-libtool@gnu.org
   7897 
   7898 _LT_EOF
   7899 	  fi ;;
   7900 	esac
   7901       fi
   7902       break
   7903     fi
   7904   done
   7905   IFS="$lt_save_ifs"
   7906   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7907   ;;
   7908 esac
   7909 fi
   7910 
   7911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7912 if test -n "$MAGIC_CMD"; then
   7913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7914 $as_echo "$MAGIC_CMD" >&6; }
   7915 else
   7916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7917 $as_echo "no" >&6; }
   7918 fi
   7919 
   7920 
   7921   else
   7922     MAGIC_CMD=:
   7923   fi
   7924 fi
   7925 
   7926   fi
   7927   ;;
   7928 esac
   7929 
   7930 # Use C for the default configuration in the libtool script
   7931 
   7932 lt_save_CC="$CC"
   7933 ac_ext=c
   7934 ac_cpp='$CPP $CPPFLAGS'
   7935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7938 
   7939 
   7940 # Source file extension for C test sources.
   7941 ac_ext=c
   7942 
   7943 # Object file extension for compiled C test sources.
   7944 objext=o
   7945 objext=$objext
   7946 
   7947 # Code to be used in simple compile tests
   7948 lt_simple_compile_test_code="int some_variable = 0;"
   7949 
   7950 # Code to be used in simple link tests
   7951 lt_simple_link_test_code='int main(){return(0);}'
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 # If no C compiler was specified, use CC.
   7960 LTCC=${LTCC-"$CC"}
   7961 
   7962 # If no C compiler flags were specified, use CFLAGS.
   7963 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7964 
   7965 # Allow CC to be a program name with arguments.
   7966 compiler=$CC
   7967 
   7968 # Save the default compiler, since it gets overwritten when the other
   7969 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7970 compiler_DEFAULT=$CC
   7971 
   7972 # save warnings/boilerplate of simple test code
   7973 ac_outfile=conftest.$ac_objext
   7974 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7975 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7976 _lt_compiler_boilerplate=`cat conftest.err`
   7977 $RM conftest*
   7978 
   7979 ac_outfile=conftest.$ac_objext
   7980 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7981 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7982 _lt_linker_boilerplate=`cat conftest.err`
   7983 $RM -r conftest*
   7984 
   7985 
   7986 ## CAVEAT EMPTOR:
   7987 ## There is no encapsulation within the following macros, do not change
   7988 ## the running order or otherwise move them around unless you know exactly
   7989 ## what you are doing...
   7990 if test -n "$compiler"; then
   7991 
   7992 lt_prog_compiler_no_builtin_flag=
   7993 
   7994 if test "$GCC" = yes; then
   7995   case $cc_basename in
   7996   nvcc*)
   7997     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7998   *)
   7999     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8000   esac
   8001 
   8002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8003 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8004 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8005   $as_echo_n "(cached) " >&6
   8006 else
   8007   lt_cv_prog_compiler_rtti_exceptions=no
   8008    ac_outfile=conftest.$ac_objext
   8009    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8010    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8011    # Insert the option either (1) after the last *FLAGS variable, or
   8012    # (2) before a word containing "conftest.", or (3) at the end.
   8013    # Note that $ac_compile itself does not contain backslashes and begins
   8014    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8015    # The option is referenced via a variable to avoid confusing sed.
   8016    lt_compile=`echo "$ac_compile" | $SED \
   8017    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8018    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8019    -e 's:$: $lt_compiler_flag:'`
   8020    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8021    (eval "$lt_compile" 2>conftest.err)
   8022    ac_status=$?
   8023    cat conftest.err >&5
   8024    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8025    if (exit $ac_status) && test -s "$ac_outfile"; then
   8026      # The compiler can only warn and ignore the option if not recognized
   8027      # So say no if there are warnings other than the usual output.
   8028      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8029      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8030      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8031        lt_cv_prog_compiler_rtti_exceptions=yes
   8032      fi
   8033    fi
   8034    $RM conftest*
   8035 
   8036 fi
   8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8038 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8039 
   8040 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8041     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8042 else
   8043     :
   8044 fi
   8045 
   8046 fi
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053   lt_prog_compiler_wl=
   8054 lt_prog_compiler_pic=
   8055 lt_prog_compiler_static=
   8056 
   8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8058 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8059 
   8060   if test "$GCC" = yes; then
   8061     lt_prog_compiler_wl='-Wl,'
   8062     lt_prog_compiler_static='-static'
   8063 
   8064     case $host_os in
   8065       aix*)
   8066       # All AIX code is PIC.
   8067       if test "$host_cpu" = ia64; then
   8068 	# AIX 5 now supports IA64 processor
   8069 	lt_prog_compiler_static='-Bstatic'
   8070       fi
   8071       lt_prog_compiler_pic='-fPIC'
   8072       ;;
   8073 
   8074     amigaos*)
   8075       case $host_cpu in
   8076       powerpc)
   8077             # see comment about AmigaOS4 .so support
   8078             lt_prog_compiler_pic='-fPIC'
   8079         ;;
   8080       m68k)
   8081             # FIXME: we need at least 68020 code to build shared libraries, but
   8082             # adding the `-m68020' flag to GCC prevents building anything better,
   8083             # like `-m68040'.
   8084             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8085         ;;
   8086       esac
   8087       ;;
   8088 
   8089     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8090       # PIC is the default for these OSes.
   8091       ;;
   8092 
   8093     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8094       # This hack is so that the source file can tell whether it is being
   8095       # built for inclusion in a dll (and should export symbols for example).
   8096       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8097       # (--disable-auto-import) libraries
   8098       lt_prog_compiler_pic='-DDLL_EXPORT'
   8099       ;;
   8100 
   8101     darwin* | rhapsody*)
   8102       # PIC is the default on this platform
   8103       # Common symbols not allowed in MH_DYLIB files
   8104       lt_prog_compiler_pic='-fno-common'
   8105       ;;
   8106 
   8107     haiku*)
   8108       # PIC is the default for Haiku.
   8109       # The "-static" flag exists, but is broken.
   8110       lt_prog_compiler_static=
   8111       ;;
   8112 
   8113     hpux*)
   8114       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8115       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8116       # sets the default TLS model and affects inlining.
   8117       case $host_cpu in
   8118       hppa*64*)
   8119 	# +Z the default
   8120 	;;
   8121       *)
   8122 	lt_prog_compiler_pic='-fPIC'
   8123 	;;
   8124       esac
   8125       ;;
   8126 
   8127     interix[3-9]*)
   8128       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8129       # Instead, we relocate shared libraries at runtime.
   8130       ;;
   8131 
   8132     msdosdjgpp*)
   8133       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8134       # on systems that don't support them.
   8135       lt_prog_compiler_can_build_shared=no
   8136       enable_shared=no
   8137       ;;
   8138 
   8139     *nto* | *qnx*)
   8140       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8141       # it will coredump.
   8142       lt_prog_compiler_pic='-fPIC -shared'
   8143       ;;
   8144 
   8145     sysv4*MP*)
   8146       if test -d /usr/nec; then
   8147 	lt_prog_compiler_pic=-Kconform_pic
   8148       fi
   8149       ;;
   8150 
   8151     *)
   8152       lt_prog_compiler_pic='-fPIC'
   8153       ;;
   8154     esac
   8155 
   8156     case $cc_basename in
   8157     nvcc*) # Cuda Compiler Driver 2.2
   8158       lt_prog_compiler_wl='-Xlinker '
   8159       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8160       ;;
   8161     esac
   8162   else
   8163     # PORTME Check for flag to pass linker flags through the system compiler.
   8164     case $host_os in
   8165     aix*)
   8166       lt_prog_compiler_wl='-Wl,'
   8167       if test "$host_cpu" = ia64; then
   8168 	# AIX 5 now supports IA64 processor
   8169 	lt_prog_compiler_static='-Bstatic'
   8170       else
   8171 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8172       fi
   8173       ;;
   8174 
   8175     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8176       # This hack is so that the source file can tell whether it is being
   8177       # built for inclusion in a dll (and should export symbols for example).
   8178       lt_prog_compiler_pic='-DDLL_EXPORT'
   8179       ;;
   8180 
   8181     hpux9* | hpux10* | hpux11*)
   8182       lt_prog_compiler_wl='-Wl,'
   8183       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8184       # not for PA HP-UX.
   8185       case $host_cpu in
   8186       hppa*64*|ia64*)
   8187 	# +Z the default
   8188 	;;
   8189       *)
   8190 	lt_prog_compiler_pic='+Z'
   8191 	;;
   8192       esac
   8193       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8194       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8195       ;;
   8196 
   8197     irix5* | irix6* | nonstopux*)
   8198       lt_prog_compiler_wl='-Wl,'
   8199       # PIC (with -KPIC) is the default.
   8200       lt_prog_compiler_static='-non_shared'
   8201       ;;
   8202 
   8203     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8204       case $cc_basename in
   8205       # old Intel for x86_64 which still supported -KPIC.
   8206       ecc*)
   8207 	lt_prog_compiler_wl='-Wl,'
   8208 	lt_prog_compiler_pic='-KPIC'
   8209 	lt_prog_compiler_static='-static'
   8210         ;;
   8211       # icc used to be incompatible with GCC.
   8212       # ICC 10 doesn't accept -KPIC any more.
   8213       icc* | ifort*)
   8214 	lt_prog_compiler_wl='-Wl,'
   8215 	lt_prog_compiler_pic='-fPIC'
   8216 	lt_prog_compiler_static='-static'
   8217         ;;
   8218       # Lahey Fortran 8.1.
   8219       lf95*)
   8220 	lt_prog_compiler_wl='-Wl,'
   8221 	lt_prog_compiler_pic='--shared'
   8222 	lt_prog_compiler_static='--static'
   8223 	;;
   8224       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8225         # Portland Group compilers (*not* the Pentium gcc compiler,
   8226 	# which looks to be a dead project)
   8227 	lt_prog_compiler_wl='-Wl,'
   8228 	lt_prog_compiler_pic='-fpic'
   8229 	lt_prog_compiler_static='-Bstatic'
   8230         ;;
   8231       ccc*)
   8232         lt_prog_compiler_wl='-Wl,'
   8233         # All Alpha code is PIC.
   8234         lt_prog_compiler_static='-non_shared'
   8235         ;;
   8236       xl* | bgxl* | bgf* | mpixl*)
   8237 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8238 	lt_prog_compiler_wl='-Wl,'
   8239 	lt_prog_compiler_pic='-qpic'
   8240 	lt_prog_compiler_static='-qstaticlink'
   8241 	;;
   8242       *)
   8243 	case `$CC -V 2>&1 | sed 5q` in
   8244 	*Sun\ F* | *Sun*Fortran*)
   8245 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8246 	  lt_prog_compiler_pic='-KPIC'
   8247 	  lt_prog_compiler_static='-Bstatic'
   8248 	  lt_prog_compiler_wl=''
   8249 	  ;;
   8250 	*Sun\ C*)
   8251 	  # Sun C 5.9
   8252 	  lt_prog_compiler_pic='-KPIC'
   8253 	  lt_prog_compiler_static='-Bstatic'
   8254 	  lt_prog_compiler_wl='-Wl,'
   8255 	  ;;
   8256 	esac
   8257 	;;
   8258       esac
   8259       ;;
   8260 
   8261     newsos6)
   8262       lt_prog_compiler_pic='-KPIC'
   8263       lt_prog_compiler_static='-Bstatic'
   8264       ;;
   8265 
   8266     *nto* | *qnx*)
   8267       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8268       # it will coredump.
   8269       lt_prog_compiler_pic='-fPIC -shared'
   8270       ;;
   8271 
   8272     osf3* | osf4* | osf5*)
   8273       lt_prog_compiler_wl='-Wl,'
   8274       # All OSF/1 code is PIC.
   8275       lt_prog_compiler_static='-non_shared'
   8276       ;;
   8277 
   8278     rdos*)
   8279       lt_prog_compiler_static='-non_shared'
   8280       ;;
   8281 
   8282     solaris*)
   8283       lt_prog_compiler_pic='-KPIC'
   8284       lt_prog_compiler_static='-Bstatic'
   8285       case $cc_basename in
   8286       f77* | f90* | f95*)
   8287 	lt_prog_compiler_wl='-Qoption ld ';;
   8288       *)
   8289 	lt_prog_compiler_wl='-Wl,';;
   8290       esac
   8291       ;;
   8292 
   8293     sunos4*)
   8294       lt_prog_compiler_wl='-Qoption ld '
   8295       lt_prog_compiler_pic='-PIC'
   8296       lt_prog_compiler_static='-Bstatic'
   8297       ;;
   8298 
   8299     sysv4 | sysv4.2uw2* | sysv4.3*)
   8300       lt_prog_compiler_wl='-Wl,'
   8301       lt_prog_compiler_pic='-KPIC'
   8302       lt_prog_compiler_static='-Bstatic'
   8303       ;;
   8304 
   8305     sysv4*MP*)
   8306       if test -d /usr/nec ;then
   8307 	lt_prog_compiler_pic='-Kconform_pic'
   8308 	lt_prog_compiler_static='-Bstatic'
   8309       fi
   8310       ;;
   8311 
   8312     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8313       lt_prog_compiler_wl='-Wl,'
   8314       lt_prog_compiler_pic='-KPIC'
   8315       lt_prog_compiler_static='-Bstatic'
   8316       ;;
   8317 
   8318     unicos*)
   8319       lt_prog_compiler_wl='-Wl,'
   8320       lt_prog_compiler_can_build_shared=no
   8321       ;;
   8322 
   8323     uts4*)
   8324       lt_prog_compiler_pic='-pic'
   8325       lt_prog_compiler_static='-Bstatic'
   8326       ;;
   8327 
   8328     *)
   8329       lt_prog_compiler_can_build_shared=no
   8330       ;;
   8331     esac
   8332   fi
   8333 
   8334 case $host_os in
   8335   # For platforms which do not support PIC, -DPIC is meaningless:
   8336   *djgpp*)
   8337     lt_prog_compiler_pic=
   8338     ;;
   8339   *)
   8340     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8341     ;;
   8342 esac
   8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8344 $as_echo "$lt_prog_compiler_pic" >&6; }
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 #
   8352 # Check to make sure the PIC flag actually works.
   8353 #
   8354 if test -n "$lt_prog_compiler_pic"; then
   8355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8356 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8357 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8358   $as_echo_n "(cached) " >&6
   8359 else
   8360   lt_cv_prog_compiler_pic_works=no
   8361    ac_outfile=conftest.$ac_objext
   8362    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8363    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8364    # Insert the option either (1) after the last *FLAGS variable, or
   8365    # (2) before a word containing "conftest.", or (3) at the end.
   8366    # Note that $ac_compile itself does not contain backslashes and begins
   8367    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8368    # The option is referenced via a variable to avoid confusing sed.
   8369    lt_compile=`echo "$ac_compile" | $SED \
   8370    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8371    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8372    -e 's:$: $lt_compiler_flag:'`
   8373    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8374    (eval "$lt_compile" 2>conftest.err)
   8375    ac_status=$?
   8376    cat conftest.err >&5
   8377    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8378    if (exit $ac_status) && test -s "$ac_outfile"; then
   8379      # The compiler can only warn and ignore the option if not recognized
   8380      # So say no if there are warnings other than the usual output.
   8381      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8382      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8383      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8384        lt_cv_prog_compiler_pic_works=yes
   8385      fi
   8386    fi
   8387    $RM conftest*
   8388 
   8389 fi
   8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8391 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8392 
   8393 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8394     case $lt_prog_compiler_pic in
   8395      "" | " "*) ;;
   8396      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8397      esac
   8398 else
   8399     lt_prog_compiler_pic=
   8400      lt_prog_compiler_can_build_shared=no
   8401 fi
   8402 
   8403 fi
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 #
   8411 # Check to make sure the static flag actually works.
   8412 #
   8413 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8415 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8416 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8417   $as_echo_n "(cached) " >&6
   8418 else
   8419   lt_cv_prog_compiler_static_works=no
   8420    save_LDFLAGS="$LDFLAGS"
   8421    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8422    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8423    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8424      # The linker can only warn and ignore the option if not recognized
   8425      # So say no if there are warnings
   8426      if test -s conftest.err; then
   8427        # Append any errors to the config.log.
   8428        cat conftest.err 1>&5
   8429        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8430        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8431        if diff conftest.exp conftest.er2 >/dev/null; then
   8432          lt_cv_prog_compiler_static_works=yes
   8433        fi
   8434      else
   8435        lt_cv_prog_compiler_static_works=yes
   8436      fi
   8437    fi
   8438    $RM -r conftest*
   8439    LDFLAGS="$save_LDFLAGS"
   8440 
   8441 fi
   8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8443 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8444 
   8445 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8446     :
   8447 else
   8448     lt_prog_compiler_static=
   8449 fi
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8458 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8459 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8460   $as_echo_n "(cached) " >&6
   8461 else
   8462   lt_cv_prog_compiler_c_o=no
   8463    $RM -r conftest 2>/dev/null
   8464    mkdir conftest
   8465    cd conftest
   8466    mkdir out
   8467    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8468 
   8469    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8470    # Insert the option either (1) after the last *FLAGS variable, or
   8471    # (2) before a word containing "conftest.", or (3) at the end.
   8472    # Note that $ac_compile itself does not contain backslashes and begins
   8473    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8474    lt_compile=`echo "$ac_compile" | $SED \
   8475    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8476    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8477    -e 's:$: $lt_compiler_flag:'`
   8478    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8479    (eval "$lt_compile" 2>out/conftest.err)
   8480    ac_status=$?
   8481    cat out/conftest.err >&5
   8482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8483    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8484    then
   8485      # The compiler can only warn and ignore the option if not recognized
   8486      # So say no if there are warnings
   8487      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8488      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8489      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8490        lt_cv_prog_compiler_c_o=yes
   8491      fi
   8492    fi
   8493    chmod u+w . 2>&5
   8494    $RM conftest*
   8495    # SGI C++ compiler will create directory out/ii_files/ for
   8496    # template instantiation
   8497    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8498    $RM out/* && rmdir out
   8499    cd ..
   8500    $RM -r conftest
   8501    $RM conftest*
   8502 
   8503 fi
   8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8505 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8513 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8514 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8515   $as_echo_n "(cached) " >&6
   8516 else
   8517   lt_cv_prog_compiler_c_o=no
   8518    $RM -r conftest 2>/dev/null
   8519    mkdir conftest
   8520    cd conftest
   8521    mkdir out
   8522    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8523 
   8524    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8525    # Insert the option either (1) after the last *FLAGS variable, or
   8526    # (2) before a word containing "conftest.", or (3) at the end.
   8527    # Note that $ac_compile itself does not contain backslashes and begins
   8528    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8529    lt_compile=`echo "$ac_compile" | $SED \
   8530    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8531    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8532    -e 's:$: $lt_compiler_flag:'`
   8533    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8534    (eval "$lt_compile" 2>out/conftest.err)
   8535    ac_status=$?
   8536    cat out/conftest.err >&5
   8537    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8538    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8539    then
   8540      # The compiler can only warn and ignore the option if not recognized
   8541      # So say no if there are warnings
   8542      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8543      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8544      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8545        lt_cv_prog_compiler_c_o=yes
   8546      fi
   8547    fi
   8548    chmod u+w . 2>&5
   8549    $RM conftest*
   8550    # SGI C++ compiler will create directory out/ii_files/ for
   8551    # template instantiation
   8552    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8553    $RM out/* && rmdir out
   8554    cd ..
   8555    $RM -r conftest
   8556    $RM conftest*
   8557 
   8558 fi
   8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8560 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8561 
   8562 
   8563 
   8564 
   8565 hard_links="nottested"
   8566 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8567   # do not overwrite the value of need_locks provided by the user
   8568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8569 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8570   hard_links=yes
   8571   $RM conftest*
   8572   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8573   touch conftest.a
   8574   ln conftest.a conftest.b 2>&5 || hard_links=no
   8575   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8577 $as_echo "$hard_links" >&6; }
   8578   if test "$hard_links" = no; then
   8579     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8580 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8581     need_locks=warn
   8582   fi
   8583 else
   8584   need_locks=no
   8585 fi
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8593 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8594 
   8595   runpath_var=
   8596   allow_undefined_flag=
   8597   always_export_symbols=no
   8598   archive_cmds=
   8599   archive_expsym_cmds=
   8600   compiler_needs_object=no
   8601   enable_shared_with_static_runtimes=no
   8602   export_dynamic_flag_spec=
   8603   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8604   hardcode_automatic=no
   8605   hardcode_direct=no
   8606   hardcode_direct_absolute=no
   8607   hardcode_libdir_flag_spec=
   8608   hardcode_libdir_flag_spec_ld=
   8609   hardcode_libdir_separator=
   8610   hardcode_minus_L=no
   8611   hardcode_shlibpath_var=unsupported
   8612   inherit_rpath=no
   8613   link_all_deplibs=unknown
   8614   module_cmds=
   8615   module_expsym_cmds=
   8616   old_archive_from_new_cmds=
   8617   old_archive_from_expsyms_cmds=
   8618   thread_safe_flag_spec=
   8619   whole_archive_flag_spec=
   8620   # include_expsyms should be a list of space-separated symbols to be *always*
   8621   # included in the symbol list
   8622   include_expsyms=
   8623   # exclude_expsyms can be an extended regexp of symbols to exclude
   8624   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8625   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8626   # as well as any symbol that contains `d'.
   8627   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8628   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8629   # platforms (ab)use it in PIC code, but their linkers get confused if
   8630   # the symbol is explicitly referenced.  Since portable code cannot
   8631   # rely on this symbol name, it's probably fine to never include it in
   8632   # preloaded symbol tables.
   8633   # Exclude shared library initialization/finalization symbols.
   8634   extract_expsyms_cmds=
   8635 
   8636   case $host_os in
   8637   cygwin* | mingw* | pw32* | cegcc*)
   8638     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8639     # When not using gcc, we currently assume that we are using
   8640     # Microsoft Visual C++.
   8641     if test "$GCC" != yes; then
   8642       with_gnu_ld=no
   8643     fi
   8644     ;;
   8645   interix*)
   8646     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8647     with_gnu_ld=yes
   8648     ;;
   8649   openbsd*)
   8650     with_gnu_ld=no
   8651     ;;
   8652   esac
   8653 
   8654   ld_shlibs=yes
   8655 
   8656   # On some targets, GNU ld is compatible enough with the native linker
   8657   # that we're better off using the native interface for both.
   8658   lt_use_gnu_ld_interface=no
   8659   if test "$with_gnu_ld" = yes; then
   8660     case $host_os in
   8661       aix*)
   8662 	# The AIX port of GNU ld has always aspired to compatibility
   8663 	# with the native linker.  However, as the warning in the GNU ld
   8664 	# block says, versions before 2.19.5* couldn't really create working
   8665 	# shared libraries, regardless of the interface used.
   8666 	case `$LD -v 2>&1` in
   8667 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8668 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8669 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8670 	  *)
   8671 	    lt_use_gnu_ld_interface=yes
   8672 	    ;;
   8673 	esac
   8674 	;;
   8675       *)
   8676 	lt_use_gnu_ld_interface=yes
   8677 	;;
   8678     esac
   8679   fi
   8680 
   8681   if test "$lt_use_gnu_ld_interface" = yes; then
   8682     # If archive_cmds runs LD, not CC, wlarc should be empty
   8683     wlarc='${wl}'
   8684 
   8685     # Set some defaults for GNU ld with shared library support. These
   8686     # are reset later if shared libraries are not supported. Putting them
   8687     # here allows them to be overridden if necessary.
   8688     runpath_var=LD_RUN_PATH
   8689     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8690     export_dynamic_flag_spec='${wl}--export-dynamic'
   8691     # ancient GNU ld didn't support --whole-archive et. al.
   8692     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8693       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8694     else
   8695       whole_archive_flag_spec=
   8696     fi
   8697     supports_anon_versioning=no
   8698     case `$LD -v 2>&1` in
   8699       *GNU\ gold*) supports_anon_versioning=yes ;;
   8700       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8701       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8702       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8703       *\ 2.11.*) ;; # other 2.11 versions
   8704       *) supports_anon_versioning=yes ;;
   8705     esac
   8706 
   8707     # See if GNU ld supports shared libraries.
   8708     case $host_os in
   8709     aix[3-9]*)
   8710       # On AIX/PPC, the GNU linker is very broken
   8711       if test "$host_cpu" != ia64; then
   8712 	ld_shlibs=no
   8713 	cat <<_LT_EOF 1>&2
   8714 
   8715 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8716 *** to be unable to reliably create shared libraries on AIX.
   8717 *** Therefore, libtool is disabling shared libraries support.  If you
   8718 *** really care for shared libraries, you may want to install binutils
   8719 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8720 *** You will then need to restart the configuration process.
   8721 
   8722 _LT_EOF
   8723       fi
   8724       ;;
   8725 
   8726     amigaos*)
   8727       case $host_cpu in
   8728       powerpc)
   8729             # see comment about AmigaOS4 .so support
   8730             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8731             archive_expsym_cmds=''
   8732         ;;
   8733       m68k)
   8734             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)'
   8735             hardcode_libdir_flag_spec='-L$libdir'
   8736             hardcode_minus_L=yes
   8737         ;;
   8738       esac
   8739       ;;
   8740 
   8741     beos*)
   8742       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8743 	allow_undefined_flag=unsupported
   8744 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8745 	# support --undefined.  This deserves some investigation.  FIXME
   8746 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8747       else
   8748 	ld_shlibs=no
   8749       fi
   8750       ;;
   8751 
   8752     cygwin* | mingw* | pw32* | cegcc*)
   8753       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8754       # as there is no search path for DLLs.
   8755       hardcode_libdir_flag_spec='-L$libdir'
   8756       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8757       allow_undefined_flag=unsupported
   8758       always_export_symbols=no
   8759       enable_shared_with_static_runtimes=yes
   8760       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8761 
   8762       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8763         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8764 	# If the export-symbols file already is a .def file (1st line
   8765 	# is EXPORTS), use it as is; otherwise, prepend...
   8766 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8767 	  cp $export_symbols $output_objdir/$soname.def;
   8768 	else
   8769 	  echo EXPORTS > $output_objdir/$soname.def;
   8770 	  cat $export_symbols >> $output_objdir/$soname.def;
   8771 	fi~
   8772 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8773       else
   8774 	ld_shlibs=no
   8775       fi
   8776       ;;
   8777 
   8778     haiku*)
   8779       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8780       link_all_deplibs=yes
   8781       ;;
   8782 
   8783     interix[3-9]*)
   8784       hardcode_direct=no
   8785       hardcode_shlibpath_var=no
   8786       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8787       export_dynamic_flag_spec='${wl}-E'
   8788       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8789       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8790       # default) and relocated if they conflict, which is a slow very memory
   8791       # consuming and fragmenting process.  To avoid this, we pick a random,
   8792       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8793       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8794       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8795       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'
   8796       ;;
   8797 
   8798     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   8799       tmp_diet=no
   8800       if test "$host_os" = linux-dietlibc; then
   8801 	case $cc_basename in
   8802 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8803 	esac
   8804       fi
   8805       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8806 	 && test "$tmp_diet" = no
   8807       then
   8808 	tmp_addflag=' $pic_flag'
   8809 	tmp_sharedflag='-shared'
   8810 	case $cc_basename,$host_cpu in
   8811         pgcc*)				# Portland Group C compiler
   8812 	  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'
   8813 	  tmp_addflag=' $pic_flag'
   8814 	  ;;
   8815 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8816 					# Portland Group f77 and f90 compilers
   8817 	  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'
   8818 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8819 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8820 	  tmp_addflag=' -i_dynamic' ;;
   8821 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8822 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8823 	ifc* | ifort*)			# Intel Fortran compiler
   8824 	  tmp_addflag=' -nofor_main' ;;
   8825 	lf95*)				# Lahey Fortran 8.1
   8826 	  whole_archive_flag_spec=
   8827 	  tmp_sharedflag='--shared' ;;
   8828 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8829 	  tmp_sharedflag='-qmkshrobj'
   8830 	  tmp_addflag= ;;
   8831 	nvcc*)	# Cuda Compiler Driver 2.2
   8832 	  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'
   8833 	  compiler_needs_object=yes
   8834 	  ;;
   8835 	esac
   8836 	case `$CC -V 2>&1 | sed 5q` in
   8837 	*Sun\ C*)			# Sun C 5.9
   8838 	  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'
   8839 	  compiler_needs_object=yes
   8840 	  tmp_sharedflag='-G' ;;
   8841 	*Sun\ F*)			# Sun Fortran 8.3
   8842 	  tmp_sharedflag='-G' ;;
   8843 	esac
   8844 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8845 
   8846         if test "x$supports_anon_versioning" = xyes; then
   8847           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8848 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8849 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8850 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8851         fi
   8852 
   8853 	case $cc_basename in
   8854 	xlf* | bgf* | bgxlf* | mpixlf*)
   8855 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8856 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8857 	  hardcode_libdir_flag_spec=
   8858 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8859 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8860 	  if test "x$supports_anon_versioning" = xyes; then
   8861 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8862 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8863 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8864 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8865 	  fi
   8866 	  ;;
   8867 	esac
   8868       else
   8869         ld_shlibs=no
   8870       fi
   8871       ;;
   8872 
   8873     netbsd*)
   8874       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8875 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8876 	wlarc=
   8877       else
   8878 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8879 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8880       fi
   8881       ;;
   8882 
   8883     solaris*)
   8884       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8885 	ld_shlibs=no
   8886 	cat <<_LT_EOF 1>&2
   8887 
   8888 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8889 *** create shared libraries on Solaris systems.  Therefore, libtool
   8890 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8891 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8892 *** your PATH or compiler configuration so that the native linker is
   8893 *** used, and then restart.
   8894 
   8895 _LT_EOF
   8896       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8897 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8898 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8899       else
   8900 	ld_shlibs=no
   8901       fi
   8902       ;;
   8903 
   8904     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8905       case `$LD -v 2>&1` in
   8906         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8907 	ld_shlibs=no
   8908 	cat <<_LT_EOF 1>&2
   8909 
   8910 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8911 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8912 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8913 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8914 *** your PATH or compiler configuration so that the native linker is
   8915 *** used, and then restart.
   8916 
   8917 _LT_EOF
   8918 	;;
   8919 	*)
   8920 	  # For security reasons, it is highly recommended that you always
   8921 	  # use absolute paths for naming shared libraries, and exclude the
   8922 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8923 	  # requires that you compile everything twice, which is a pain.
   8924 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8925 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8926 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8927 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8928 	  else
   8929 	    ld_shlibs=no
   8930 	  fi
   8931 	;;
   8932       esac
   8933       ;;
   8934 
   8935     sunos4*)
   8936       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8937       wlarc=
   8938       hardcode_direct=yes
   8939       hardcode_shlibpath_var=no
   8940       ;;
   8941 
   8942     *)
   8943       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8944 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8945 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8946       else
   8947 	ld_shlibs=no
   8948       fi
   8949       ;;
   8950     esac
   8951 
   8952     if test "$ld_shlibs" = no; then
   8953       runpath_var=
   8954       hardcode_libdir_flag_spec=
   8955       export_dynamic_flag_spec=
   8956       whole_archive_flag_spec=
   8957     fi
   8958   else
   8959     # PORTME fill in a description of your system's linker (not GNU ld)
   8960     case $host_os in
   8961     aix3*)
   8962       allow_undefined_flag=unsupported
   8963       always_export_symbols=yes
   8964       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'
   8965       # Note: this linker hardcodes the directories in LIBPATH if there
   8966       # are no directories specified by -L.
   8967       hardcode_minus_L=yes
   8968       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8969 	# Neither direct hardcoding nor static linking is supported with a
   8970 	# broken collect2.
   8971 	hardcode_direct=unsupported
   8972       fi
   8973       ;;
   8974 
   8975     aix[4-9]*)
   8976       if test "$host_cpu" = ia64; then
   8977 	# On IA64, the linker does run time linking by default, so we don't
   8978 	# have to do anything special.
   8979 	aix_use_runtimelinking=no
   8980 	exp_sym_flag='-Bexport'
   8981 	no_entry_flag=""
   8982       else
   8983 	# If we're using GNU nm, then we don't want the "-C" option.
   8984 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8985 	# Also, AIX nm treats weak defined symbols like other global
   8986 	# defined symbols, whereas GNU nm marks them as "W".
   8987 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8988 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8989 	else
   8990 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8991 	fi
   8992 	aix_use_runtimelinking=no
   8993 
   8994 	# Test if we are trying to use run time linking or normal
   8995 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8996 	# need to do runtime linking.
   8997 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8998 	  for ld_flag in $LDFLAGS; do
   8999 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9000 	    aix_use_runtimelinking=yes
   9001 	    break
   9002 	  fi
   9003 	  done
   9004 	  ;;
   9005 	esac
   9006 
   9007 	exp_sym_flag='-bexport'
   9008 	no_entry_flag='-bnoentry'
   9009       fi
   9010 
   9011       # When large executables or shared objects are built, AIX ld can
   9012       # have problems creating the table of contents.  If linking a library
   9013       # or program results in "error TOC overflow" add -mminimal-toc to
   9014       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9015       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9016 
   9017       archive_cmds=''
   9018       hardcode_direct=yes
   9019       hardcode_direct_absolute=yes
   9020       hardcode_libdir_separator=':'
   9021       link_all_deplibs=yes
   9022       file_list_spec='${wl}-f,'
   9023 
   9024       if test "$GCC" = yes; then
   9025 	case $host_os in aix4.[012]|aix4.[012].*)
   9026 	# We only want to do this on AIX 4.2 and lower, the check
   9027 	# below for broken collect2 doesn't work under 4.3+
   9028 	  collect2name=`${CC} -print-prog-name=collect2`
   9029 	  if test -f "$collect2name" &&
   9030 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9031 	  then
   9032 	  # We have reworked collect2
   9033 	  :
   9034 	  else
   9035 	  # We have old collect2
   9036 	  hardcode_direct=unsupported
   9037 	  # It fails to find uninstalled libraries when the uninstalled
   9038 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9039 	  # to unsupported forces relinking
   9040 	  hardcode_minus_L=yes
   9041 	  hardcode_libdir_flag_spec='-L$libdir'
   9042 	  hardcode_libdir_separator=
   9043 	  fi
   9044 	  ;;
   9045 	esac
   9046 	shared_flag='-shared'
   9047 	if test "$aix_use_runtimelinking" = yes; then
   9048 	  shared_flag="$shared_flag "'${wl}-G'
   9049 	fi
   9050       else
   9051 	# not using gcc
   9052 	if test "$host_cpu" = ia64; then
   9053 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9054 	# chokes on -Wl,-G. The following line is correct:
   9055 	  shared_flag='-G'
   9056 	else
   9057 	  if test "$aix_use_runtimelinking" = yes; then
   9058 	    shared_flag='${wl}-G'
   9059 	  else
   9060 	    shared_flag='${wl}-bM:SRE'
   9061 	  fi
   9062 	fi
   9063       fi
   9064 
   9065       export_dynamic_flag_spec='${wl}-bexpall'
   9066       # It seems that -bexpall does not export symbols beginning with
   9067       # underscore (_), so it is better to generate a list of symbols to export.
   9068       always_export_symbols=yes
   9069       if test "$aix_use_runtimelinking" = yes; then
   9070 	# Warning - without using the other runtime loading flags (-brtl),
   9071 	# -berok will link without error, but may produce a broken library.
   9072 	allow_undefined_flag='-berok'
   9073         # Determine the default libpath from the value encoded in an
   9074         # empty executable.
   9075         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9076 /* end confdefs.h.  */
   9077 
   9078 int
   9079 main ()
   9080 {
   9081 
   9082   ;
   9083   return 0;
   9084 }
   9085 _ACEOF
   9086 if ac_fn_c_try_link "$LINENO"; then :
   9087 
   9088 lt_aix_libpath_sed='
   9089     /Import File Strings/,/^$/ {
   9090 	/^0/ {
   9091 	    s/^0  *\(.*\)$/\1/
   9092 	    p
   9093 	}
   9094     }'
   9095 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9096 # Check for a 64-bit object if we didn't find anything.
   9097 if test -z "$aix_libpath"; then
   9098   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9099 fi
   9100 fi
   9101 rm -f core conftest.err conftest.$ac_objext \
   9102     conftest$ac_exeext conftest.$ac_ext
   9103 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9104 
   9105         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9106         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9107       else
   9108 	if test "$host_cpu" = ia64; then
   9109 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9110 	  allow_undefined_flag="-z nodefs"
   9111 	  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"
   9112 	else
   9113 	 # Determine the default libpath from the value encoded in an
   9114 	 # empty executable.
   9115 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9116 /* end confdefs.h.  */
   9117 
   9118 int
   9119 main ()
   9120 {
   9121 
   9122   ;
   9123   return 0;
   9124 }
   9125 _ACEOF
   9126 if ac_fn_c_try_link "$LINENO"; then :
   9127 
   9128 lt_aix_libpath_sed='
   9129     /Import File Strings/,/^$/ {
   9130 	/^0/ {
   9131 	    s/^0  *\(.*\)$/\1/
   9132 	    p
   9133 	}
   9134     }'
   9135 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9136 # Check for a 64-bit object if we didn't find anything.
   9137 if test -z "$aix_libpath"; then
   9138   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9139 fi
   9140 fi
   9141 rm -f core conftest.err conftest.$ac_objext \
   9142     conftest$ac_exeext conftest.$ac_ext
   9143 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9144 
   9145 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9146 	  # Warning - without using the other run time loading flags,
   9147 	  # -berok will link without error, but may produce a broken library.
   9148 	  no_undefined_flag=' ${wl}-bernotok'
   9149 	  allow_undefined_flag=' ${wl}-berok'
   9150 	  if test "$with_gnu_ld" = yes; then
   9151 	    # We only use this code for GNU lds that support --whole-archive.
   9152 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9153 	  else
   9154 	    # Exported symbols can be pulled into shared objects from archives
   9155 	    whole_archive_flag_spec='$convenience'
   9156 	  fi
   9157 	  archive_cmds_need_lc=yes
   9158 	  # This is similar to how AIX traditionally builds its shared libraries.
   9159 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9160 	fi
   9161       fi
   9162       ;;
   9163 
   9164     amigaos*)
   9165       case $host_cpu in
   9166       powerpc)
   9167             # see comment about AmigaOS4 .so support
   9168             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9169             archive_expsym_cmds=''
   9170         ;;
   9171       m68k)
   9172             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)'
   9173             hardcode_libdir_flag_spec='-L$libdir'
   9174             hardcode_minus_L=yes
   9175         ;;
   9176       esac
   9177       ;;
   9178 
   9179     bsdi[45]*)
   9180       export_dynamic_flag_spec=-rdynamic
   9181       ;;
   9182 
   9183     cygwin* | mingw* | pw32* | cegcc*)
   9184       # When not using gcc, we currently assume that we are using
   9185       # Microsoft Visual C++.
   9186       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9187       # no search path for DLLs.
   9188       hardcode_libdir_flag_spec=' '
   9189       allow_undefined_flag=unsupported
   9190       # Tell ltmain to make .lib files, not .a files.
   9191       libext=lib
   9192       # Tell ltmain to make .dll files, not .so files.
   9193       shrext_cmds=".dll"
   9194       # FIXME: Setting linknames here is a bad hack.
   9195       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9196       # The linker will automatically build a .lib file if we build a DLL.
   9197       old_archive_from_new_cmds='true'
   9198       # FIXME: Should let the user specify the lib program.
   9199       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9200       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9201       enable_shared_with_static_runtimes=yes
   9202       ;;
   9203 
   9204     darwin* | rhapsody*)
   9205 
   9206 
   9207   archive_cmds_need_lc=no
   9208   hardcode_direct=no
   9209   hardcode_automatic=yes
   9210   hardcode_shlibpath_var=unsupported
   9211   if test "$lt_cv_ld_force_load" = "yes"; then
   9212     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\"`'
   9213   else
   9214     whole_archive_flag_spec=''
   9215   fi
   9216   link_all_deplibs=yes
   9217   allow_undefined_flag="$_lt_dar_allow_undefined"
   9218   case $cc_basename in
   9219      ifort*) _lt_dar_can_shared=yes ;;
   9220      *) _lt_dar_can_shared=$GCC ;;
   9221   esac
   9222   if test "$_lt_dar_can_shared" = "yes"; then
   9223     output_verbose_link_cmd=func_echo_all
   9224     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9225     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9226     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}"
   9227     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}"
   9228 
   9229   else
   9230   ld_shlibs=no
   9231   fi
   9232 
   9233       ;;
   9234 
   9235     dgux*)
   9236       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9237       hardcode_libdir_flag_spec='-L$libdir'
   9238       hardcode_shlibpath_var=no
   9239       ;;
   9240 
   9241     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9242     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9243     # does not break anything, and helps significantly (at the cost of a little
   9244     # extra space).
   9245     freebsd2.2*)
   9246       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9247       hardcode_libdir_flag_spec='-R$libdir'
   9248       hardcode_direct=yes
   9249       hardcode_shlibpath_var=no
   9250       ;;
   9251 
   9252     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9253     freebsd2.*)
   9254       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9255       hardcode_direct=yes
   9256       hardcode_minus_L=yes
   9257       hardcode_shlibpath_var=no
   9258       ;;
   9259 
   9260     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9261     freebsd* | dragonfly*)
   9262       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9263       hardcode_libdir_flag_spec='-R$libdir'
   9264       hardcode_direct=yes
   9265       hardcode_shlibpath_var=no
   9266       ;;
   9267 
   9268     hpux9*)
   9269       if test "$GCC" = yes; then
   9270 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9271       else
   9272 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9273       fi
   9274       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9275       hardcode_libdir_separator=:
   9276       hardcode_direct=yes
   9277 
   9278       # hardcode_minus_L: Not really in the search PATH,
   9279       # but as the default location of the library.
   9280       hardcode_minus_L=yes
   9281       export_dynamic_flag_spec='${wl}-E'
   9282       ;;
   9283 
   9284     hpux10*)
   9285       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9286 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9287       else
   9288 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9289       fi
   9290       if test "$with_gnu_ld" = no; then
   9291 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9292 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9293 	hardcode_libdir_separator=:
   9294 	hardcode_direct=yes
   9295 	hardcode_direct_absolute=yes
   9296 	export_dynamic_flag_spec='${wl}-E'
   9297 	# hardcode_minus_L: Not really in the search PATH,
   9298 	# but as the default location of the library.
   9299 	hardcode_minus_L=yes
   9300       fi
   9301       ;;
   9302 
   9303     hpux11*)
   9304       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9305 	case $host_cpu in
   9306 	hppa*64*)
   9307 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9308 	  ;;
   9309 	ia64*)
   9310 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9311 	  ;;
   9312 	*)
   9313 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9314 	  ;;
   9315 	esac
   9316       else
   9317 	case $host_cpu in
   9318 	hppa*64*)
   9319 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9320 	  ;;
   9321 	ia64*)
   9322 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9323 	  ;;
   9324 	*)
   9325 
   9326 	  # Older versions of the 11.00 compiler do not understand -b yet
   9327 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9328 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9329 $as_echo_n "checking if $CC understands -b... " >&6; }
   9330 if ${lt_cv_prog_compiler__b+:} false; then :
   9331   $as_echo_n "(cached) " >&6
   9332 else
   9333   lt_cv_prog_compiler__b=no
   9334    save_LDFLAGS="$LDFLAGS"
   9335    LDFLAGS="$LDFLAGS -b"
   9336    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9337    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9338      # The linker can only warn and ignore the option if not recognized
   9339      # So say no if there are warnings
   9340      if test -s conftest.err; then
   9341        # Append any errors to the config.log.
   9342        cat conftest.err 1>&5
   9343        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9344        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9345        if diff conftest.exp conftest.er2 >/dev/null; then
   9346          lt_cv_prog_compiler__b=yes
   9347        fi
   9348      else
   9349        lt_cv_prog_compiler__b=yes
   9350      fi
   9351    fi
   9352    $RM -r conftest*
   9353    LDFLAGS="$save_LDFLAGS"
   9354 
   9355 fi
   9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9357 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9358 
   9359 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9360     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9361 else
   9362     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9363 fi
   9364 
   9365 	  ;;
   9366 	esac
   9367       fi
   9368       if test "$with_gnu_ld" = no; then
   9369 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9370 	hardcode_libdir_separator=:
   9371 
   9372 	case $host_cpu in
   9373 	hppa*64*|ia64*)
   9374 	  hardcode_direct=no
   9375 	  hardcode_shlibpath_var=no
   9376 	  ;;
   9377 	*)
   9378 	  hardcode_direct=yes
   9379 	  hardcode_direct_absolute=yes
   9380 	  export_dynamic_flag_spec='${wl}-E'
   9381 
   9382 	  # hardcode_minus_L: Not really in the search PATH,
   9383 	  # but as the default location of the library.
   9384 	  hardcode_minus_L=yes
   9385 	  ;;
   9386 	esac
   9387       fi
   9388       ;;
   9389 
   9390     irix5* | irix6* | nonstopux*)
   9391       if test "$GCC" = yes; then
   9392 	archive_cmds='$CC -shared $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'
   9393 	# Try to use the -exported_symbol ld option, if it does not
   9394 	# work, assume that -exports_file does not work either and
   9395 	# implicitly export all symbols.
   9396         save_LDFLAGS="$LDFLAGS"
   9397         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9398         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9399 /* end confdefs.h.  */
   9400 int foo(void) {}
   9401 _ACEOF
   9402 if ac_fn_c_try_link "$LINENO"; then :
   9403   archive_expsym_cmds='$CC -shared $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'
   9404 
   9405 fi
   9406 rm -f core conftest.err conftest.$ac_objext \
   9407     conftest$ac_exeext conftest.$ac_ext
   9408         LDFLAGS="$save_LDFLAGS"
   9409       else
   9410 	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'
   9411 	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'
   9412       fi
   9413       archive_cmds_need_lc='no'
   9414       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9415       hardcode_libdir_separator=:
   9416       inherit_rpath=yes
   9417       link_all_deplibs=yes
   9418       ;;
   9419 
   9420     netbsd*)
   9421       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9422 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9423       else
   9424 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9425       fi
   9426       hardcode_libdir_flag_spec='-R$libdir'
   9427       hardcode_direct=yes
   9428       hardcode_shlibpath_var=no
   9429       ;;
   9430 
   9431     newsos6)
   9432       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9433       hardcode_direct=yes
   9434       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9435       hardcode_libdir_separator=:
   9436       hardcode_shlibpath_var=no
   9437       ;;
   9438 
   9439     *nto* | *qnx*)
   9440       ;;
   9441 
   9442     openbsd*)
   9443       if test -f /usr/libexec/ld.so; then
   9444 	hardcode_direct=yes
   9445 	hardcode_shlibpath_var=no
   9446 	hardcode_direct_absolute=yes
   9447 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9448 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9449 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9450 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9451 	  export_dynamic_flag_spec='${wl}-E'
   9452 	else
   9453 	  case $host_os in
   9454 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9455 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9456 	     hardcode_libdir_flag_spec='-R$libdir'
   9457 	     ;;
   9458 	   *)
   9459 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9460 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9461 	     ;;
   9462 	  esac
   9463 	fi
   9464       else
   9465 	ld_shlibs=no
   9466       fi
   9467       ;;
   9468 
   9469     os2*)
   9470       hardcode_libdir_flag_spec='-L$libdir'
   9471       hardcode_minus_L=yes
   9472       allow_undefined_flag=unsupported
   9473       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9474       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9475       ;;
   9476 
   9477     osf3*)
   9478       if test "$GCC" = yes; then
   9479 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9480 	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'
   9481       else
   9482 	allow_undefined_flag=' -expect_unresolved \*'
   9483 	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'
   9484       fi
   9485       archive_cmds_need_lc='no'
   9486       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9487       hardcode_libdir_separator=:
   9488       ;;
   9489 
   9490     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9491       if test "$GCC" = yes; then
   9492 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9493 	archive_cmds='$CC -shared${allow_undefined_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'
   9494 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9495       else
   9496 	allow_undefined_flag=' -expect_unresolved \*'
   9497 	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'
   9498 	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~
   9499 	$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'
   9500 
   9501 	# Both c and cxx compiler support -rpath directly
   9502 	hardcode_libdir_flag_spec='-rpath $libdir'
   9503       fi
   9504       archive_cmds_need_lc='no'
   9505       hardcode_libdir_separator=:
   9506       ;;
   9507 
   9508     solaris*)
   9509       no_undefined_flag=' -z defs'
   9510       if test "$GCC" = yes; then
   9511 	wlarc='${wl}'
   9512 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9513 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9514 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9515       else
   9516 	case `$CC -V 2>&1` in
   9517 	*"Compilers 5.0"*)
   9518 	  wlarc=''
   9519 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9520 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9521 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9522 	  ;;
   9523 	*)
   9524 	  wlarc='${wl}'
   9525 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9526 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9527 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9528 	  ;;
   9529 	esac
   9530       fi
   9531       hardcode_libdir_flag_spec='-R$libdir'
   9532       hardcode_shlibpath_var=no
   9533       case $host_os in
   9534       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9535       *)
   9536 	# The compiler driver will combine and reorder linker options,
   9537 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9538 	# but is careful enough not to reorder.
   9539 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9540 	if test "$GCC" = yes; then
   9541 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9542 	else
   9543 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9544 	fi
   9545 	;;
   9546       esac
   9547       link_all_deplibs=yes
   9548       ;;
   9549 
   9550     sunos4*)
   9551       if test "x$host_vendor" = xsequent; then
   9552 	# Use $CC to link under sequent, because it throws in some extra .o
   9553 	# files that make .init and .fini sections work.
   9554 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9555       else
   9556 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9557       fi
   9558       hardcode_libdir_flag_spec='-L$libdir'
   9559       hardcode_direct=yes
   9560       hardcode_minus_L=yes
   9561       hardcode_shlibpath_var=no
   9562       ;;
   9563 
   9564     sysv4)
   9565       case $host_vendor in
   9566 	sni)
   9567 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9568 	  hardcode_direct=yes # is this really true???
   9569 	;;
   9570 	siemens)
   9571 	  ## LD is ld it makes a PLAMLIB
   9572 	  ## CC just makes a GrossModule.
   9573 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9574 	  reload_cmds='$CC -r -o $output$reload_objs'
   9575 	  hardcode_direct=no
   9576         ;;
   9577 	motorola)
   9578 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9579 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9580 	;;
   9581       esac
   9582       runpath_var='LD_RUN_PATH'
   9583       hardcode_shlibpath_var=no
   9584       ;;
   9585 
   9586     sysv4.3*)
   9587       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9588       hardcode_shlibpath_var=no
   9589       export_dynamic_flag_spec='-Bexport'
   9590       ;;
   9591 
   9592     sysv4*MP*)
   9593       if test -d /usr/nec; then
   9594 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9595 	hardcode_shlibpath_var=no
   9596 	runpath_var=LD_RUN_PATH
   9597 	hardcode_runpath_var=yes
   9598 	ld_shlibs=yes
   9599       fi
   9600       ;;
   9601 
   9602     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9603       no_undefined_flag='${wl}-z,text'
   9604       archive_cmds_need_lc=no
   9605       hardcode_shlibpath_var=no
   9606       runpath_var='LD_RUN_PATH'
   9607 
   9608       if test "$GCC" = yes; then
   9609 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9610 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9611       else
   9612 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9613 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9614       fi
   9615       ;;
   9616 
   9617     sysv5* | sco3.2v5* | sco5v6*)
   9618       # Note: We can NOT use -z defs as we might desire, because we do not
   9619       # link with -lc, and that would cause any symbols used from libc to
   9620       # always be unresolved, which means just about no library would
   9621       # ever link correctly.  If we're not using GNU ld we use -z text
   9622       # though, which does catch some bad symbols but isn't as heavy-handed
   9623       # as -z defs.
   9624       no_undefined_flag='${wl}-z,text'
   9625       allow_undefined_flag='${wl}-z,nodefs'
   9626       archive_cmds_need_lc=no
   9627       hardcode_shlibpath_var=no
   9628       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9629       hardcode_libdir_separator=':'
   9630       link_all_deplibs=yes
   9631       export_dynamic_flag_spec='${wl}-Bexport'
   9632       runpath_var='LD_RUN_PATH'
   9633 
   9634       if test "$GCC" = yes; then
   9635 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9636 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9637       else
   9638 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9639 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9640       fi
   9641       ;;
   9642 
   9643     uts4*)
   9644       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9645       hardcode_libdir_flag_spec='-L$libdir'
   9646       hardcode_shlibpath_var=no
   9647       ;;
   9648 
   9649     *)
   9650       ld_shlibs=no
   9651       ;;
   9652     esac
   9653 
   9654     if test x$host_vendor = xsni; then
   9655       case $host in
   9656       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9657 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9658 	;;
   9659       esac
   9660     fi
   9661   fi
   9662 
   9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9664 $as_echo "$ld_shlibs" >&6; }
   9665 test "$ld_shlibs" = no && can_build_shared=no
   9666 
   9667 with_gnu_ld=$with_gnu_ld
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 #
   9684 # Do we need to explicitly link libc?
   9685 #
   9686 case "x$archive_cmds_need_lc" in
   9687 x|xyes)
   9688   # Assume -lc should be added
   9689   archive_cmds_need_lc=yes
   9690 
   9691   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9692     case $archive_cmds in
   9693     *'~'*)
   9694       # FIXME: we may have to deal with multi-command sequences.
   9695       ;;
   9696     '$CC '*)
   9697       # Test whether the compiler implicitly links with -lc since on some
   9698       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9699       # to ld, don't add -lc before -lgcc.
   9700       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9701 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9702 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9703   $as_echo_n "(cached) " >&6
   9704 else
   9705   $RM conftest*
   9706 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9707 
   9708 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9709   (eval $ac_compile) 2>&5
   9710   ac_status=$?
   9711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9712   test $ac_status = 0; } 2>conftest.err; then
   9713 	  soname=conftest
   9714 	  lib=conftest
   9715 	  libobjs=conftest.$ac_objext
   9716 	  deplibs=
   9717 	  wl=$lt_prog_compiler_wl
   9718 	  pic_flag=$lt_prog_compiler_pic
   9719 	  compiler_flags=-v
   9720 	  linker_flags=-v
   9721 	  verstring=
   9722 	  output_objdir=.
   9723 	  libname=conftest
   9724 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9725 	  allow_undefined_flag=
   9726 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9727   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9728   ac_status=$?
   9729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9730   test $ac_status = 0; }
   9731 	  then
   9732 	    lt_cv_archive_cmds_need_lc=no
   9733 	  else
   9734 	    lt_cv_archive_cmds_need_lc=yes
   9735 	  fi
   9736 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9737 	else
   9738 	  cat conftest.err 1>&5
   9739 	fi
   9740 	$RM conftest*
   9741 
   9742 fi
   9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9744 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9745       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9746       ;;
   9747     esac
   9748   fi
   9749   ;;
   9750 esac
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9909 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9910 
   9911 if test "$GCC" = yes; then
   9912   case $host_os in
   9913     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9914     *) lt_awk_arg="/^libraries:/" ;;
   9915   esac
   9916   case $host_os in
   9917     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9918     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9919   esac
   9920   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9921   case $lt_search_path_spec in
   9922   *\;*)
   9923     # if the path contains ";" then we assume it to be the separator
   9924     # otherwise default to the standard path separator (i.e. ":") - it is
   9925     # assumed that no part of a normal pathname contains ";" but that should
   9926     # okay in the real world where ";" in dirpaths is itself problematic.
   9927     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9928     ;;
   9929   *)
   9930     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9931     ;;
   9932   esac
   9933   # Ok, now we have the path, separated by spaces, we can step through it
   9934   # and add multilib dir if necessary.
   9935   lt_tmp_lt_search_path_spec=
   9936   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9937   for lt_sys_path in $lt_search_path_spec; do
   9938     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9939       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9940     else
   9941       test -d "$lt_sys_path" && \
   9942 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9943     fi
   9944   done
   9945   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9946 BEGIN {RS=" "; FS="/|\n";} {
   9947   lt_foo="";
   9948   lt_count=0;
   9949   for (lt_i = NF; lt_i > 0; lt_i--) {
   9950     if ($lt_i != "" && $lt_i != ".") {
   9951       if ($lt_i == "..") {
   9952         lt_count++;
   9953       } else {
   9954         if (lt_count == 0) {
   9955           lt_foo="/" $lt_i lt_foo;
   9956         } else {
   9957           lt_count--;
   9958         }
   9959       }
   9960     }
   9961   }
   9962   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9963   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9964 }'`
   9965   # AWK program above erroneously prepends '/' to C:/dos/paths
   9966   # for these hosts.
   9967   case $host_os in
   9968     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9969       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9970   esac
   9971   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9972 else
   9973   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9974 fi
   9975 library_names_spec=
   9976 libname_spec='lib$name'
   9977 soname_spec=
   9978 shrext_cmds=".so"
   9979 postinstall_cmds=
   9980 postuninstall_cmds=
   9981 finish_cmds=
   9982 finish_eval=
   9983 shlibpath_var=
   9984 shlibpath_overrides_runpath=unknown
   9985 version_type=none
   9986 dynamic_linker="$host_os ld.so"
   9987 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9988 need_lib_prefix=unknown
   9989 hardcode_into_libs=no
   9990 
   9991 # when you set need_version to no, make sure it does not cause -set_version
   9992 # flags to be left without arguments
   9993 need_version=unknown
   9994 
   9995 case $host_os in
   9996 aix3*)
   9997   version_type=linux
   9998   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9999   shlibpath_var=LIBPATH
   10000 
   10001   # AIX 3 has no versioning support, so we append a major version to the name.
   10002   soname_spec='${libname}${release}${shared_ext}$major'
   10003   ;;
   10004 
   10005 aix[4-9]*)
   10006   version_type=linux
   10007   need_lib_prefix=no
   10008   need_version=no
   10009   hardcode_into_libs=yes
   10010   if test "$host_cpu" = ia64; then
   10011     # AIX 5 supports IA64
   10012     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10013     shlibpath_var=LD_LIBRARY_PATH
   10014   else
   10015     # With GCC up to 2.95.x, collect2 would create an import file
   10016     # for dependence libraries.  The import file would start with
   10017     # the line `#! .'.  This would cause the generated library to
   10018     # depend on `.', always an invalid library.  This was fixed in
   10019     # development snapshots of GCC prior to 3.0.
   10020     case $host_os in
   10021       aix4 | aix4.[01] | aix4.[01].*)
   10022       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10023 	   echo ' yes '
   10024 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10025 	:
   10026       else
   10027 	can_build_shared=no
   10028       fi
   10029       ;;
   10030     esac
   10031     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10032     # soname into executable. Probably we can add versioning support to
   10033     # collect2, so additional links can be useful in future.
   10034     if test "$aix_use_runtimelinking" = yes; then
   10035       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10036       # instead of lib<name>.a to let people know that these are not
   10037       # typical AIX shared libraries.
   10038       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10039     else
   10040       # We preserve .a as extension for shared libraries through AIX4.2
   10041       # and later when we are not doing run time linking.
   10042       library_names_spec='${libname}${release}.a $libname.a'
   10043       soname_spec='${libname}${release}${shared_ext}$major'
   10044     fi
   10045     shlibpath_var=LIBPATH
   10046   fi
   10047   ;;
   10048 
   10049 amigaos*)
   10050   case $host_cpu in
   10051   powerpc)
   10052     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10053     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10054     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10055     ;;
   10056   m68k)
   10057     library_names_spec='$libname.ixlibrary $libname.a'
   10058     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10059     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10060     ;;
   10061   esac
   10062   ;;
   10063 
   10064 beos*)
   10065   library_names_spec='${libname}${shared_ext}'
   10066   dynamic_linker="$host_os ld.so"
   10067   shlibpath_var=LIBRARY_PATH
   10068   ;;
   10069 
   10070 bsdi[45]*)
   10071   version_type=linux
   10072   need_version=no
   10073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10074   soname_spec='${libname}${release}${shared_ext}$major'
   10075   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10076   shlibpath_var=LD_LIBRARY_PATH
   10077   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10078   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10079   # the default ld.so.conf also contains /usr/contrib/lib and
   10080   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10081   # libtool to hard-code these into programs
   10082   ;;
   10083 
   10084 cygwin* | mingw* | pw32* | cegcc*)
   10085   version_type=windows
   10086   shrext_cmds=".dll"
   10087   need_version=no
   10088   need_lib_prefix=no
   10089 
   10090   case $GCC,$host_os in
   10091   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10092     library_names_spec='$libname.dll.a'
   10093     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10094     postinstall_cmds='base_file=`basename \${file}`~
   10095       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10096       dldir=$destdir/`dirname \$dlpath`~
   10097       test -d \$dldir || mkdir -p \$dldir~
   10098       $install_prog $dir/$dlname \$dldir/$dlname~
   10099       chmod a+x \$dldir/$dlname~
   10100       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10101         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10102       fi'
   10103     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10104       dlpath=$dir/\$dldll~
   10105        $RM \$dlpath'
   10106     shlibpath_overrides_runpath=yes
   10107 
   10108     case $host_os in
   10109     cygwin*)
   10110       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10111       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10112 
   10113       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10114       ;;
   10115     mingw* | cegcc*)
   10116       # MinGW DLLs use traditional 'lib' prefix
   10117       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10118       ;;
   10119     pw32*)
   10120       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10121       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10122       ;;
   10123     esac
   10124     ;;
   10125 
   10126   *)
   10127     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10128     ;;
   10129   esac
   10130   dynamic_linker='Win32 ld.exe'
   10131   # FIXME: first we should search . and the directory the executable is in
   10132   shlibpath_var=PATH
   10133   ;;
   10134 
   10135 darwin* | rhapsody*)
   10136   dynamic_linker="$host_os dyld"
   10137   version_type=darwin
   10138   need_lib_prefix=no
   10139   need_version=no
   10140   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10141   soname_spec='${libname}${release}${major}$shared_ext'
   10142   shlibpath_overrides_runpath=yes
   10143   shlibpath_var=DYLD_LIBRARY_PATH
   10144   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10145 
   10146   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10147   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10148   ;;
   10149 
   10150 dgux*)
   10151   version_type=linux
   10152   need_lib_prefix=no
   10153   need_version=no
   10154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10155   soname_spec='${libname}${release}${shared_ext}$major'
   10156   shlibpath_var=LD_LIBRARY_PATH
   10157   ;;
   10158 
   10159 freebsd* | dragonfly*)
   10160   # DragonFly does not have aout.  When/if they implement a new
   10161   # versioning mechanism, adjust this.
   10162   if test -x /usr/bin/objformat; then
   10163     objformat=`/usr/bin/objformat`
   10164   else
   10165     case $host_os in
   10166     freebsd[23].*) objformat=aout ;;
   10167     *) objformat=elf ;;
   10168     esac
   10169   fi
   10170   version_type=freebsd-$objformat
   10171   case $version_type in
   10172     freebsd-elf*)
   10173       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10174       need_version=no
   10175       need_lib_prefix=no
   10176       ;;
   10177     freebsd-*)
   10178       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10179       need_version=yes
   10180       ;;
   10181   esac
   10182   shlibpath_var=LD_LIBRARY_PATH
   10183   case $host_os in
   10184   freebsd2.*)
   10185     shlibpath_overrides_runpath=yes
   10186     ;;
   10187   freebsd3.[01]* | freebsdelf3.[01]*)
   10188     shlibpath_overrides_runpath=yes
   10189     hardcode_into_libs=yes
   10190     ;;
   10191   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10192   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10193     shlibpath_overrides_runpath=no
   10194     hardcode_into_libs=yes
   10195     ;;
   10196   *) # from 4.6 on, and DragonFly
   10197     shlibpath_overrides_runpath=yes
   10198     hardcode_into_libs=yes
   10199     ;;
   10200   esac
   10201   ;;
   10202 
   10203 haiku*)
   10204   version_type=linux
   10205   need_lib_prefix=no
   10206   need_version=no
   10207   dynamic_linker="$host_os runtime_loader"
   10208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10209   soname_spec='${libname}${release}${shared_ext}$major'
   10210   shlibpath_var=LIBRARY_PATH
   10211   shlibpath_overrides_runpath=yes
   10212   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10213   hardcode_into_libs=yes
   10214   ;;
   10215 
   10216 hpux9* | hpux10* | hpux11*)
   10217   # Give a soname corresponding to the major version so that dld.sl refuses to
   10218   # link against other versions.
   10219   version_type=sunos
   10220   need_lib_prefix=no
   10221   need_version=no
   10222   case $host_cpu in
   10223   ia64*)
   10224     shrext_cmds='.so'
   10225     hardcode_into_libs=yes
   10226     dynamic_linker="$host_os dld.so"
   10227     shlibpath_var=LD_LIBRARY_PATH
   10228     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10230     soname_spec='${libname}${release}${shared_ext}$major'
   10231     if test "X$HPUX_IA64_MODE" = X32; then
   10232       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10233     else
   10234       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10235     fi
   10236     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10237     ;;
   10238   hppa*64*)
   10239     shrext_cmds='.sl'
   10240     hardcode_into_libs=yes
   10241     dynamic_linker="$host_os dld.sl"
   10242     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10243     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10244     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10245     soname_spec='${libname}${release}${shared_ext}$major'
   10246     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10247     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10248     ;;
   10249   *)
   10250     shrext_cmds='.sl'
   10251     dynamic_linker="$host_os dld.sl"
   10252     shlibpath_var=SHLIB_PATH
   10253     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10254     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10255     soname_spec='${libname}${release}${shared_ext}$major'
   10256     ;;
   10257   esac
   10258   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10259   postinstall_cmds='chmod 555 $lib'
   10260   # or fails outright, so override atomically:
   10261   install_override_mode=555
   10262   ;;
   10263 
   10264 interix[3-9]*)
   10265   version_type=linux
   10266   need_lib_prefix=no
   10267   need_version=no
   10268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10269   soname_spec='${libname}${release}${shared_ext}$major'
   10270   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10271   shlibpath_var=LD_LIBRARY_PATH
   10272   shlibpath_overrides_runpath=no
   10273   hardcode_into_libs=yes
   10274   ;;
   10275 
   10276 irix5* | irix6* | nonstopux*)
   10277   case $host_os in
   10278     nonstopux*) version_type=nonstopux ;;
   10279     *)
   10280 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10281 		version_type=linux
   10282 	else
   10283 		version_type=irix
   10284 	fi ;;
   10285   esac
   10286   need_lib_prefix=no
   10287   need_version=no
   10288   soname_spec='${libname}${release}${shared_ext}$major'
   10289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10290   case $host_os in
   10291   irix5* | nonstopux*)
   10292     libsuff= shlibsuff=
   10293     ;;
   10294   *)
   10295     case $LD in # libtool.m4 will add one of these switches to LD
   10296     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10297       libsuff= shlibsuff= libmagic=32-bit;;
   10298     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10299       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10300     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10301       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10302     *) libsuff= shlibsuff= libmagic=never-match;;
   10303     esac
   10304     ;;
   10305   esac
   10306   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10307   shlibpath_overrides_runpath=no
   10308   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10309   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10310   hardcode_into_libs=yes
   10311   ;;
   10312 
   10313 # No shared lib support for Linux oldld, aout, or coff.
   10314 linux*oldld* | linux*aout* | linux*coff*)
   10315   dynamic_linker=no
   10316   ;;
   10317 
   10318 # This must be Linux ELF.
   10319 
   10320 # uclinux* changes (here and below) have been submitted to the libtool
   10321 # project, but have not yet been accepted: they are GCC-local changes
   10322 # for the time being.  (See
   10323 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10324 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10325   version_type=linux
   10326   need_lib_prefix=no
   10327   need_version=no
   10328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10329   soname_spec='${libname}${release}${shared_ext}$major'
   10330   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10331   shlibpath_var=LD_LIBRARY_PATH
   10332   shlibpath_overrides_runpath=no
   10333 
   10334   # Some binutils ld are patched to set DT_RUNPATH
   10335   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10336   $as_echo_n "(cached) " >&6
   10337 else
   10338   lt_cv_shlibpath_overrides_runpath=no
   10339     save_LDFLAGS=$LDFLAGS
   10340     save_libdir=$libdir
   10341     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10342 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10343     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10344 /* end confdefs.h.  */
   10345 
   10346 int
   10347 main ()
   10348 {
   10349 
   10350   ;
   10351   return 0;
   10352 }
   10353 _ACEOF
   10354 if ac_fn_c_try_link "$LINENO"; then :
   10355   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10356   lt_cv_shlibpath_overrides_runpath=yes
   10357 fi
   10358 fi
   10359 rm -f core conftest.err conftest.$ac_objext \
   10360     conftest$ac_exeext conftest.$ac_ext
   10361     LDFLAGS=$save_LDFLAGS
   10362     libdir=$save_libdir
   10363 
   10364 fi
   10365 
   10366   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10367 
   10368   # This implies no fast_install, which is unacceptable.
   10369   # Some rework will be needed to allow for fast_install
   10370   # before this can be enabled.
   10371   hardcode_into_libs=yes
   10372 
   10373   # Append ld.so.conf contents to the search path
   10374   if test -f /etc/ld.so.conf; then
   10375     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' ' '`
   10376     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10377   fi
   10378 
   10379   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10380   # powerpc, because MkLinux only supported shared libraries with the
   10381   # GNU dynamic linker.  Since this was broken with cross compilers,
   10382   # most powerpc-linux boxes support dynamic linking these days and
   10383   # people can always --disable-shared, the test was removed, and we
   10384   # assume the GNU/Linux dynamic linker is in use.
   10385   dynamic_linker='GNU/Linux ld.so'
   10386   ;;
   10387 
   10388 netbsd*)
   10389   version_type=sunos
   10390   need_lib_prefix=no
   10391   need_version=no
   10392   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10394     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10395     dynamic_linker='NetBSD (a.out) ld.so'
   10396   else
   10397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10398     soname_spec='${libname}${release}${shared_ext}$major'
   10399     dynamic_linker='NetBSD ld.elf_so'
   10400   fi
   10401   shlibpath_var=LD_LIBRARY_PATH
   10402   shlibpath_overrides_runpath=yes
   10403   hardcode_into_libs=yes
   10404   ;;
   10405 
   10406 newsos6)
   10407   version_type=linux
   10408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10409   shlibpath_var=LD_LIBRARY_PATH
   10410   shlibpath_overrides_runpath=yes
   10411   ;;
   10412 
   10413 *nto* | *qnx*)
   10414   version_type=qnx
   10415   need_lib_prefix=no
   10416   need_version=no
   10417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10418   soname_spec='${libname}${release}${shared_ext}$major'
   10419   shlibpath_var=LD_LIBRARY_PATH
   10420   shlibpath_overrides_runpath=no
   10421   hardcode_into_libs=yes
   10422   dynamic_linker='ldqnx.so'
   10423   ;;
   10424 
   10425 openbsd*)
   10426   version_type=sunos
   10427   sys_lib_dlsearch_path_spec="/usr/lib"
   10428   need_lib_prefix=no
   10429   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10430   case $host_os in
   10431     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10432     *)				need_version=no  ;;
   10433   esac
   10434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10435   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10436   shlibpath_var=LD_LIBRARY_PATH
   10437   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10438     case $host_os in
   10439       openbsd2.[89] | openbsd2.[89].*)
   10440 	shlibpath_overrides_runpath=no
   10441 	;;
   10442       *)
   10443 	shlibpath_overrides_runpath=yes
   10444 	;;
   10445       esac
   10446   else
   10447     shlibpath_overrides_runpath=yes
   10448   fi
   10449   ;;
   10450 
   10451 os2*)
   10452   libname_spec='$name'
   10453   shrext_cmds=".dll"
   10454   need_lib_prefix=no
   10455   library_names_spec='$libname${shared_ext} $libname.a'
   10456   dynamic_linker='OS/2 ld.exe'
   10457   shlibpath_var=LIBPATH
   10458   ;;
   10459 
   10460 osf3* | osf4* | osf5*)
   10461   version_type=osf
   10462   need_lib_prefix=no
   10463   need_version=no
   10464   soname_spec='${libname}${release}${shared_ext}$major'
   10465   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10466   shlibpath_var=LD_LIBRARY_PATH
   10467   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10468   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10469   ;;
   10470 
   10471 rdos*)
   10472   dynamic_linker=no
   10473   ;;
   10474 
   10475 solaris*)
   10476   version_type=linux
   10477   need_lib_prefix=no
   10478   need_version=no
   10479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10480   soname_spec='${libname}${release}${shared_ext}$major'
   10481   shlibpath_var=LD_LIBRARY_PATH
   10482   shlibpath_overrides_runpath=yes
   10483   hardcode_into_libs=yes
   10484   # ldd complains unless libraries are executable
   10485   postinstall_cmds='chmod +x $lib'
   10486   ;;
   10487 
   10488 sunos4*)
   10489   version_type=sunos
   10490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10491   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10492   shlibpath_var=LD_LIBRARY_PATH
   10493   shlibpath_overrides_runpath=yes
   10494   if test "$with_gnu_ld" = yes; then
   10495     need_lib_prefix=no
   10496   fi
   10497   need_version=yes
   10498   ;;
   10499 
   10500 sysv4 | sysv4.3*)
   10501   version_type=linux
   10502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10503   soname_spec='${libname}${release}${shared_ext}$major'
   10504   shlibpath_var=LD_LIBRARY_PATH
   10505   case $host_vendor in
   10506     sni)
   10507       shlibpath_overrides_runpath=no
   10508       need_lib_prefix=no
   10509       runpath_var=LD_RUN_PATH
   10510       ;;
   10511     siemens)
   10512       need_lib_prefix=no
   10513       ;;
   10514     motorola)
   10515       need_lib_prefix=no
   10516       need_version=no
   10517       shlibpath_overrides_runpath=no
   10518       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10519       ;;
   10520   esac
   10521   ;;
   10522 
   10523 sysv4*MP*)
   10524   if test -d /usr/nec ;then
   10525     version_type=linux
   10526     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10527     soname_spec='$libname${shared_ext}.$major'
   10528     shlibpath_var=LD_LIBRARY_PATH
   10529   fi
   10530   ;;
   10531 
   10532 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10533   version_type=freebsd-elf
   10534   need_lib_prefix=no
   10535   need_version=no
   10536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10537   soname_spec='${libname}${release}${shared_ext}$major'
   10538   shlibpath_var=LD_LIBRARY_PATH
   10539   shlibpath_overrides_runpath=yes
   10540   hardcode_into_libs=yes
   10541   if test "$with_gnu_ld" = yes; then
   10542     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10543   else
   10544     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10545     case $host_os in
   10546       sco3.2v5*)
   10547         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10548 	;;
   10549     esac
   10550   fi
   10551   sys_lib_dlsearch_path_spec='/usr/lib'
   10552   ;;
   10553 
   10554 tpf*)
   10555   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10556   version_type=linux
   10557   need_lib_prefix=no
   10558   need_version=no
   10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10560   shlibpath_var=LD_LIBRARY_PATH
   10561   shlibpath_overrides_runpath=no
   10562   hardcode_into_libs=yes
   10563   ;;
   10564 
   10565 uts4*)
   10566   version_type=linux
   10567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10568   soname_spec='${libname}${release}${shared_ext}$major'
   10569   shlibpath_var=LD_LIBRARY_PATH
   10570   ;;
   10571 
   10572 # Shared libraries for VwWorks, >= 7 only at this stage
   10573 # and (fpic) still incompatible with "large" code models
   10574 # in a few configurations. Only for RTP mode in any case,
   10575 # and upon explicit request at configure time.
   10576 vxworks7*)
   10577   dynamic_linker=no
   10578   case ${with_multisubdir}-${enable_shared} in
   10579     *large*)
   10580       ;;
   10581     *mrtp*-yes)
   10582       version_type=linux
   10583       need_lib_prefix=no
   10584       need_version=no
   10585       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10586       soname_spec='${libname}${release}${shared_ext}$major'
   10587       dynamic_linker="$host_os module_loader"
   10588       ;;
   10589   esac
   10590   ;;
   10591 *)
   10592   dynamic_linker=no
   10593   ;;
   10594 esac
   10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10596 $as_echo "$dynamic_linker" >&6; }
   10597 test "$dynamic_linker" = no && can_build_shared=no
   10598 
   10599 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10600 if test "$GCC" = yes; then
   10601   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10602 fi
   10603 
   10604 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10605   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10606 fi
   10607 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10608   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10609 fi
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10703 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10704 hardcode_action=
   10705 if test -n "$hardcode_libdir_flag_spec" ||
   10706    test -n "$runpath_var" ||
   10707    test "X$hardcode_automatic" = "Xyes" ; then
   10708 
   10709   # We can hardcode non-existent directories.
   10710   if test "$hardcode_direct" != no &&
   10711      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10712      # have to relink, otherwise we might link with an installed library
   10713      # when we should be linking with a yet-to-be-installed one
   10714      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10715      test "$hardcode_minus_L" != no; then
   10716     # Linking always hardcodes the temporary library directory.
   10717     hardcode_action=relink
   10718   else
   10719     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10720     hardcode_action=immediate
   10721   fi
   10722 else
   10723   # We cannot hardcode anything, or else we can only hardcode existing
   10724   # directories.
   10725   hardcode_action=unsupported
   10726 fi
   10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10728 $as_echo "$hardcode_action" >&6; }
   10729 
   10730 if test "$hardcode_action" = relink ||
   10731    test "$inherit_rpath" = yes; then
   10732   # Fast installation is not supported
   10733   enable_fast_install=no
   10734 elif test "$shlibpath_overrides_runpath" = yes ||
   10735      test "$enable_shared" = no; then
   10736   # Fast installation is not necessary
   10737   enable_fast_install=needless
   10738 fi
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745   if test "x$enable_dlopen" != xyes; then
   10746   enable_dlopen=unknown
   10747   enable_dlopen_self=unknown
   10748   enable_dlopen_self_static=unknown
   10749 else
   10750   lt_cv_dlopen=no
   10751   lt_cv_dlopen_libs=
   10752 
   10753   case $host_os in
   10754   beos*)
   10755     lt_cv_dlopen="load_add_on"
   10756     lt_cv_dlopen_libs=
   10757     lt_cv_dlopen_self=yes
   10758     ;;
   10759 
   10760   mingw* | pw32* | cegcc*)
   10761     lt_cv_dlopen="LoadLibrary"
   10762     lt_cv_dlopen_libs=
   10763     ;;
   10764 
   10765   cygwin*)
   10766     lt_cv_dlopen="dlopen"
   10767     lt_cv_dlopen_libs=
   10768     ;;
   10769 
   10770   darwin*)
   10771   # if libdl is installed we need to link against it
   10772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10773 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10774 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10775   $as_echo_n "(cached) " >&6
   10776 else
   10777   ac_check_lib_save_LIBS=$LIBS
   10778 LIBS="-ldl  $LIBS"
   10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10780 /* end confdefs.h.  */
   10781 
   10782 /* Override any GCC internal prototype to avoid an error.
   10783    Use char because int might match the return type of a GCC
   10784    builtin and then its argument prototype would still apply.  */
   10785 #ifdef __cplusplus
   10786 extern "C"
   10787 #endif
   10788 char dlopen ();
   10789 int
   10790 main ()
   10791 {
   10792 return dlopen ();
   10793   ;
   10794   return 0;
   10795 }
   10796 _ACEOF
   10797 if ac_fn_c_try_link "$LINENO"; then :
   10798   ac_cv_lib_dl_dlopen=yes
   10799 else
   10800   ac_cv_lib_dl_dlopen=no
   10801 fi
   10802 rm -f core conftest.err conftest.$ac_objext \
   10803     conftest$ac_exeext conftest.$ac_ext
   10804 LIBS=$ac_check_lib_save_LIBS
   10805 fi
   10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10807 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10808 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10809   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10810 else
   10811 
   10812     lt_cv_dlopen="dyld"
   10813     lt_cv_dlopen_libs=
   10814     lt_cv_dlopen_self=yes
   10815 
   10816 fi
   10817 
   10818     ;;
   10819 
   10820   *)
   10821     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10822 if test "x$ac_cv_func_shl_load" = xyes; then :
   10823   lt_cv_dlopen="shl_load"
   10824 else
   10825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10826 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10827 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10828   $as_echo_n "(cached) " >&6
   10829 else
   10830   ac_check_lib_save_LIBS=$LIBS
   10831 LIBS="-ldld  $LIBS"
   10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10833 /* end confdefs.h.  */
   10834 
   10835 /* Override any GCC internal prototype to avoid an error.
   10836    Use char because int might match the return type of a GCC
   10837    builtin and then its argument prototype would still apply.  */
   10838 #ifdef __cplusplus
   10839 extern "C"
   10840 #endif
   10841 char shl_load ();
   10842 int
   10843 main ()
   10844 {
   10845 return shl_load ();
   10846   ;
   10847   return 0;
   10848 }
   10849 _ACEOF
   10850 if ac_fn_c_try_link "$LINENO"; then :
   10851   ac_cv_lib_dld_shl_load=yes
   10852 else
   10853   ac_cv_lib_dld_shl_load=no
   10854 fi
   10855 rm -f core conftest.err conftest.$ac_objext \
   10856     conftest$ac_exeext conftest.$ac_ext
   10857 LIBS=$ac_check_lib_save_LIBS
   10858 fi
   10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10860 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10861 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10862   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10863 else
   10864   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10865 if test "x$ac_cv_func_dlopen" = xyes; then :
   10866   lt_cv_dlopen="dlopen"
   10867 else
   10868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10869 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10870 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10871   $as_echo_n "(cached) " >&6
   10872 else
   10873   ac_check_lib_save_LIBS=$LIBS
   10874 LIBS="-ldl  $LIBS"
   10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10876 /* end confdefs.h.  */
   10877 
   10878 /* Override any GCC internal prototype to avoid an error.
   10879    Use char because int might match the return type of a GCC
   10880    builtin and then its argument prototype would still apply.  */
   10881 #ifdef __cplusplus
   10882 extern "C"
   10883 #endif
   10884 char dlopen ();
   10885 int
   10886 main ()
   10887 {
   10888 return dlopen ();
   10889   ;
   10890   return 0;
   10891 }
   10892 _ACEOF
   10893 if ac_fn_c_try_link "$LINENO"; then :
   10894   ac_cv_lib_dl_dlopen=yes
   10895 else
   10896   ac_cv_lib_dl_dlopen=no
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext \
   10899     conftest$ac_exeext conftest.$ac_ext
   10900 LIBS=$ac_check_lib_save_LIBS
   10901 fi
   10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10903 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10904 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10905   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10906 else
   10907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10908 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10909 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10910   $as_echo_n "(cached) " >&6
   10911 else
   10912   ac_check_lib_save_LIBS=$LIBS
   10913 LIBS="-lsvld  $LIBS"
   10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10915 /* end confdefs.h.  */
   10916 
   10917 /* Override any GCC internal prototype to avoid an error.
   10918    Use char because int might match the return type of a GCC
   10919    builtin and then its argument prototype would still apply.  */
   10920 #ifdef __cplusplus
   10921 extern "C"
   10922 #endif
   10923 char dlopen ();
   10924 int
   10925 main ()
   10926 {
   10927 return dlopen ();
   10928   ;
   10929   return 0;
   10930 }
   10931 _ACEOF
   10932 if ac_fn_c_try_link "$LINENO"; then :
   10933   ac_cv_lib_svld_dlopen=yes
   10934 else
   10935   ac_cv_lib_svld_dlopen=no
   10936 fi
   10937 rm -f core conftest.err conftest.$ac_objext \
   10938     conftest$ac_exeext conftest.$ac_ext
   10939 LIBS=$ac_check_lib_save_LIBS
   10940 fi
   10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10942 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10943 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10944   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10945 else
   10946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10947 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10948 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10949   $as_echo_n "(cached) " >&6
   10950 else
   10951   ac_check_lib_save_LIBS=$LIBS
   10952 LIBS="-ldld  $LIBS"
   10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10954 /* end confdefs.h.  */
   10955 
   10956 /* Override any GCC internal prototype to avoid an error.
   10957    Use char because int might match the return type of a GCC
   10958    builtin and then its argument prototype would still apply.  */
   10959 #ifdef __cplusplus
   10960 extern "C"
   10961 #endif
   10962 char dld_link ();
   10963 int
   10964 main ()
   10965 {
   10966 return dld_link ();
   10967   ;
   10968   return 0;
   10969 }
   10970 _ACEOF
   10971 if ac_fn_c_try_link "$LINENO"; then :
   10972   ac_cv_lib_dld_dld_link=yes
   10973 else
   10974   ac_cv_lib_dld_dld_link=no
   10975 fi
   10976 rm -f core conftest.err conftest.$ac_objext \
   10977     conftest$ac_exeext conftest.$ac_ext
   10978 LIBS=$ac_check_lib_save_LIBS
   10979 fi
   10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10981 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10982 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10983   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10984 fi
   10985 
   10986 
   10987 fi
   10988 
   10989 
   10990 fi
   10991 
   10992 
   10993 fi
   10994 
   10995 
   10996 fi
   10997 
   10998 
   10999 fi
   11000 
   11001     ;;
   11002   esac
   11003 
   11004   if test "x$lt_cv_dlopen" != xno; then
   11005     enable_dlopen=yes
   11006   else
   11007     enable_dlopen=no
   11008   fi
   11009 
   11010   case $lt_cv_dlopen in
   11011   dlopen)
   11012     save_CPPFLAGS="$CPPFLAGS"
   11013     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11014 
   11015     save_LDFLAGS="$LDFLAGS"
   11016     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11017 
   11018     save_LIBS="$LIBS"
   11019     LIBS="$lt_cv_dlopen_libs $LIBS"
   11020 
   11021     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11022 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11023 if ${lt_cv_dlopen_self+:} false; then :
   11024   $as_echo_n "(cached) " >&6
   11025 else
   11026   	  if test "$cross_compiling" = yes; then :
   11027   lt_cv_dlopen_self=cross
   11028 else
   11029   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11030   lt_status=$lt_dlunknown
   11031   cat > conftest.$ac_ext <<_LT_EOF
   11032 #line 11032 "configure"
   11033 #include "confdefs.h"
   11034 
   11035 #if HAVE_DLFCN_H
   11036 #include <dlfcn.h>
   11037 #endif
   11038 
   11039 #include <stdio.h>
   11040 
   11041 #ifdef RTLD_GLOBAL
   11042 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11043 #else
   11044 #  ifdef DL_GLOBAL
   11045 #    define LT_DLGLOBAL		DL_GLOBAL
   11046 #  else
   11047 #    define LT_DLGLOBAL		0
   11048 #  endif
   11049 #endif
   11050 
   11051 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11052    find out it does not work in some platform. */
   11053 #ifndef LT_DLLAZY_OR_NOW
   11054 #  ifdef RTLD_LAZY
   11055 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11056 #  else
   11057 #    ifdef DL_LAZY
   11058 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11059 #    else
   11060 #      ifdef RTLD_NOW
   11061 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11062 #      else
   11063 #        ifdef DL_NOW
   11064 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11065 #        else
   11066 #          define LT_DLLAZY_OR_NOW	0
   11067 #        endif
   11068 #      endif
   11069 #    endif
   11070 #  endif
   11071 #endif
   11072 
   11073 /* When -fvisbility=hidden is used, assume the code has been annotated
   11074    correspondingly for the symbols needed.  */
   11075 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11076 void fnord () __attribute__((visibility("default")));
   11077 #endif
   11078 
   11079 void fnord () { int i=42; }
   11080 int main ()
   11081 {
   11082   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11083   int status = $lt_dlunknown;
   11084 
   11085   if (self)
   11086     {
   11087       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11088       else
   11089         {
   11090 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11091           else puts (dlerror ());
   11092 	}
   11093       /* dlclose (self); */
   11094     }
   11095   else
   11096     puts (dlerror ());
   11097 
   11098   return status;
   11099 }
   11100 _LT_EOF
   11101   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11102   (eval $ac_link) 2>&5
   11103   ac_status=$?
   11104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11105   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11106     (./conftest; exit; ) >&5 2>/dev/null
   11107     lt_status=$?
   11108     case x$lt_status in
   11109       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11110       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11111       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11112     esac
   11113   else :
   11114     # compilation failed
   11115     lt_cv_dlopen_self=no
   11116   fi
   11117 fi
   11118 rm -fr conftest*
   11119 
   11120 
   11121 fi
   11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11123 $as_echo "$lt_cv_dlopen_self" >&6; }
   11124 
   11125     if test "x$lt_cv_dlopen_self" = xyes; then
   11126       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11127       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11128 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11129 if ${lt_cv_dlopen_self_static+:} false; then :
   11130   $as_echo_n "(cached) " >&6
   11131 else
   11132   	  if test "$cross_compiling" = yes; then :
   11133   lt_cv_dlopen_self_static=cross
   11134 else
   11135   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11136   lt_status=$lt_dlunknown
   11137   cat > conftest.$ac_ext <<_LT_EOF
   11138 #line 11138 "configure"
   11139 #include "confdefs.h"
   11140 
   11141 #if HAVE_DLFCN_H
   11142 #include <dlfcn.h>
   11143 #endif
   11144 
   11145 #include <stdio.h>
   11146 
   11147 #ifdef RTLD_GLOBAL
   11148 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11149 #else
   11150 #  ifdef DL_GLOBAL
   11151 #    define LT_DLGLOBAL		DL_GLOBAL
   11152 #  else
   11153 #    define LT_DLGLOBAL		0
   11154 #  endif
   11155 #endif
   11156 
   11157 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11158    find out it does not work in some platform. */
   11159 #ifndef LT_DLLAZY_OR_NOW
   11160 #  ifdef RTLD_LAZY
   11161 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11162 #  else
   11163 #    ifdef DL_LAZY
   11164 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11165 #    else
   11166 #      ifdef RTLD_NOW
   11167 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11168 #      else
   11169 #        ifdef DL_NOW
   11170 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11171 #        else
   11172 #          define LT_DLLAZY_OR_NOW	0
   11173 #        endif
   11174 #      endif
   11175 #    endif
   11176 #  endif
   11177 #endif
   11178 
   11179 /* When -fvisbility=hidden is used, assume the code has been annotated
   11180    correspondingly for the symbols needed.  */
   11181 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11182 void fnord () __attribute__((visibility("default")));
   11183 #endif
   11184 
   11185 void fnord () { int i=42; }
   11186 int main ()
   11187 {
   11188   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11189   int status = $lt_dlunknown;
   11190 
   11191   if (self)
   11192     {
   11193       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11194       else
   11195         {
   11196 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11197           else puts (dlerror ());
   11198 	}
   11199       /* dlclose (self); */
   11200     }
   11201   else
   11202     puts (dlerror ());
   11203 
   11204   return status;
   11205 }
   11206 _LT_EOF
   11207   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11208   (eval $ac_link) 2>&5
   11209   ac_status=$?
   11210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11211   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11212     (./conftest; exit; ) >&5 2>/dev/null
   11213     lt_status=$?
   11214     case x$lt_status in
   11215       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11216       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11217       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11218     esac
   11219   else :
   11220     # compilation failed
   11221     lt_cv_dlopen_self_static=no
   11222   fi
   11223 fi
   11224 rm -fr conftest*
   11225 
   11226 
   11227 fi
   11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11229 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11230     fi
   11231 
   11232     CPPFLAGS="$save_CPPFLAGS"
   11233     LDFLAGS="$save_LDFLAGS"
   11234     LIBS="$save_LIBS"
   11235     ;;
   11236   esac
   11237 
   11238   case $lt_cv_dlopen_self in
   11239   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11240   *) enable_dlopen_self=unknown ;;
   11241   esac
   11242 
   11243   case $lt_cv_dlopen_self_static in
   11244   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11245   *) enable_dlopen_self_static=unknown ;;
   11246   esac
   11247 fi
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 striplib=
   11266 old_striplib=
   11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11268 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11269 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11270   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11271   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11273 $as_echo "yes" >&6; }
   11274 else
   11275 # FIXME - insert some real tests, host_os isn't really good enough
   11276   case $host_os in
   11277   darwin*)
   11278     if test -n "$STRIP" ; then
   11279       striplib="$STRIP -x"
   11280       old_striplib="$STRIP -S"
   11281       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11282 $as_echo "yes" >&6; }
   11283     else
   11284       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11285 $as_echo "no" >&6; }
   11286     fi
   11287     ;;
   11288   *)
   11289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11290 $as_echo "no" >&6; }
   11291     ;;
   11292   esac
   11293 fi
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306   # Report which library types will actually be built
   11307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11308 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11310 $as_echo "$can_build_shared" >&6; }
   11311 
   11312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11313 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11314   test "$can_build_shared" = "no" && enable_shared=no
   11315 
   11316   # On AIX, shared libraries and static libraries use the same namespace, and
   11317   # are all built from PIC.
   11318   case $host_os in
   11319   aix3*)
   11320     test "$enable_shared" = yes && enable_static=no
   11321     if test -n "$RANLIB"; then
   11322       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11323       postinstall_cmds='$RANLIB $lib'
   11324     fi
   11325     ;;
   11326 
   11327   aix[4-9]*)
   11328     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11329       test "$enable_shared" = yes && enable_static=no
   11330     fi
   11331     ;;
   11332   esac
   11333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11334 $as_echo "$enable_shared" >&6; }
   11335 
   11336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11337 $as_echo_n "checking whether to build static libraries... " >&6; }
   11338   # Make sure either enable_shared or enable_static is yes.
   11339   test "$enable_shared" = yes || enable_static=yes
   11340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11341 $as_echo "$enable_static" >&6; }
   11342 
   11343 
   11344 
   11345 
   11346 fi
   11347 ac_ext=c
   11348 ac_cpp='$CPP $CPPFLAGS'
   11349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11352 
   11353 CC="$lt_save_CC"
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367         ac_config_commands="$ac_config_commands libtool"
   11368 
   11369 
   11370 
   11371 
   11372 # Only expand once:
   11373 
   11374 
   11375 
   11376 # The tests for host and target for $enable_largefile require
   11377 # canonical names.
   11378 
   11379 
   11380 
   11381 # As the $enable_largefile decision depends on --enable-plugins we must set it
   11382 # even in directories otherwise not depending on the $plugins option.
   11383 
   11384 
   11385   maybe_plugins=no
   11386   for ac_header in dlfcn.h
   11387 do :
   11388   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   11389 "
   11390 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   11391   cat >>confdefs.h <<_ACEOF
   11392 #define HAVE_DLFCN_H 1
   11393 _ACEOF
   11394  maybe_plugins=yes
   11395 fi
   11396 
   11397 done
   11398 
   11399   for ac_header in windows.h
   11400 do :
   11401   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   11402 "
   11403 if test "x$ac_cv_header_windows_h" = xyes; then :
   11404   cat >>confdefs.h <<_ACEOF
   11405 #define HAVE_WINDOWS_H 1
   11406 _ACEOF
   11407  maybe_plugins=yes
   11408 fi
   11409 
   11410 done
   11411 
   11412 
   11413   # Check whether --enable-plugins was given.
   11414 if test "${enable_plugins+set}" = set; then :
   11415   enableval=$enable_plugins; case "${enableval}" in
   11416       no) plugins=no ;;
   11417       *) plugins=yes
   11418          if test "$maybe_plugins" != "yes" ; then
   11419 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   11420 	 fi ;;
   11421      esac
   11422 else
   11423   plugins=$maybe_plugins
   11424 
   11425 fi
   11426 
   11427   if test "$plugins" = "yes"; then
   11428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   11429 $as_echo_n "checking for library containing dlsym... " >&6; }
   11430 if ${ac_cv_search_dlsym+:} false; then :
   11431   $as_echo_n "(cached) " >&6
   11432 else
   11433   ac_func_search_save_LIBS=$LIBS
   11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11435 /* end confdefs.h.  */
   11436 
   11437 /* Override any GCC internal prototype to avoid an error.
   11438    Use char because int might match the return type of a GCC
   11439    builtin and then its argument prototype would still apply.  */
   11440 #ifdef __cplusplus
   11441 extern "C"
   11442 #endif
   11443 char dlsym ();
   11444 int
   11445 main ()
   11446 {
   11447 return dlsym ();
   11448   ;
   11449   return 0;
   11450 }
   11451 _ACEOF
   11452 for ac_lib in '' dl; do
   11453   if test -z "$ac_lib"; then
   11454     ac_res="none required"
   11455   else
   11456     ac_res=-l$ac_lib
   11457     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11458   fi
   11459   if ac_fn_c_try_link "$LINENO"; then :
   11460   ac_cv_search_dlsym=$ac_res
   11461 fi
   11462 rm -f core conftest.err conftest.$ac_objext \
   11463     conftest$ac_exeext
   11464   if ${ac_cv_search_dlsym+:} false; then :
   11465   break
   11466 fi
   11467 done
   11468 if ${ac_cv_search_dlsym+:} false; then :
   11469 
   11470 else
   11471   ac_cv_search_dlsym=no
   11472 fi
   11473 rm conftest.$ac_ext
   11474 LIBS=$ac_func_search_save_LIBS
   11475 fi
   11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   11477 $as_echo "$ac_cv_search_dlsym" >&6; }
   11478 ac_res=$ac_cv_search_dlsym
   11479 if test "$ac_res" != no; then :
   11480   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11481 
   11482 fi
   11483 
   11484   fi
   11485 
   11486 
   11487 case "${host}" in
   11488   sparc-*-solaris*|i?86-*-solaris*)
   11489     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   11490     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   11491     # the bfd/ elf module cannot provide certain routines such as
   11492     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   11493     # explicitly requested large-file support through the
   11494     # --enable-largefile switch, disable large-file support in favor of
   11495     # procfs support.
   11496     #
   11497     # Check if <sys/procfs.h> is incompatible with large-file support.
   11498     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11499 /* end confdefs.h.  */
   11500 #define _FILE_OFFSET_BITS 64
   11501 #define _STRUCTURED_PROC 1
   11502 #include <sys/procfs.h>
   11503 int
   11504 main ()
   11505 {
   11506 
   11507   ;
   11508   return 0;
   11509 }
   11510 _ACEOF
   11511 if ac_fn_c_try_compile "$LINENO"; then :
   11512   acx_cv_procfs_lfs=yes
   11513 else
   11514   acx_cv_procfs_lfs=no
   11515 fi
   11516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11517     #
   11518     # Forcefully disable large-file support only if necessary, gdb is in
   11519     # tree and enabled.
   11520     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   11521          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   11522       : ${enable_largefile="no"}
   11523       if test "$plugins" = yes; then
   11524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   11525 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   11526 $as_echo "$as_me: WARNING:
   11527 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   11528 	plugins=no
   11529       fi
   11530     fi
   11531     #
   11532     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   11533     # benefit of g++ 9+ which predefines it on Solaris.
   11534     if test "$enable_largefile" = no; then
   11535       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   11536 
   11537     fi
   11538     ;;
   11539 esac
   11540 
   11541 # Check whether --enable-largefile was given.
   11542 if test "${enable_largefile+set}" = set; then :
   11543   enableval=$enable_largefile;
   11544 fi
   11545 
   11546 if test "$enable_largefile" != no; then
   11547 
   11548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11549 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11550 if ${ac_cv_sys_largefile_CC+:} false; then :
   11551   $as_echo_n "(cached) " >&6
   11552 else
   11553   ac_cv_sys_largefile_CC=no
   11554      if test "$GCC" != yes; then
   11555        ac_save_CC=$CC
   11556        while :; do
   11557 	 # IRIX 6.2 and later do not support large files by default,
   11558 	 # so use the C compiler's -n32 option if that helps.
   11559 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11560 /* end confdefs.h.  */
   11561 #include <sys/types.h>
   11562  /* Check that off_t can represent 2**63 - 1 correctly.
   11563     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11564     since some C++ compilers masquerading as C compilers
   11565     incorrectly reject 9223372036854775807.  */
   11566 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11567   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11568 		       && LARGE_OFF_T % 2147483647 == 1)
   11569 		      ? 1 : -1];
   11570 int
   11571 main ()
   11572 {
   11573 
   11574   ;
   11575   return 0;
   11576 }
   11577 _ACEOF
   11578 	 if ac_fn_c_try_compile "$LINENO"; then :
   11579   break
   11580 fi
   11581 rm -f core conftest.err conftest.$ac_objext
   11582 	 CC="$CC -n32"
   11583 	 if ac_fn_c_try_compile "$LINENO"; then :
   11584   ac_cv_sys_largefile_CC=' -n32'; break
   11585 fi
   11586 rm -f core conftest.err conftest.$ac_objext
   11587 	 break
   11588        done
   11589        CC=$ac_save_CC
   11590        rm -f conftest.$ac_ext
   11591     fi
   11592 fi
   11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11594 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11595   if test "$ac_cv_sys_largefile_CC" != no; then
   11596     CC=$CC$ac_cv_sys_largefile_CC
   11597   fi
   11598 
   11599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11600 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11601 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11602   $as_echo_n "(cached) " >&6
   11603 else
   11604   while :; do
   11605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11606 /* end confdefs.h.  */
   11607 #include <sys/types.h>
   11608  /* Check that off_t can represent 2**63 - 1 correctly.
   11609     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11610     since some C++ compilers masquerading as C compilers
   11611     incorrectly reject 9223372036854775807.  */
   11612 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11613   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11614 		       && LARGE_OFF_T % 2147483647 == 1)
   11615 		      ? 1 : -1];
   11616 int
   11617 main ()
   11618 {
   11619 
   11620   ;
   11621   return 0;
   11622 }
   11623 _ACEOF
   11624 if ac_fn_c_try_compile "$LINENO"; then :
   11625   ac_cv_sys_file_offset_bits=no; break
   11626 fi
   11627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11629 /* end confdefs.h.  */
   11630 #define _FILE_OFFSET_BITS 64
   11631 #include <sys/types.h>
   11632  /* Check that off_t can represent 2**63 - 1 correctly.
   11633     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11634     since some C++ compilers masquerading as C compilers
   11635     incorrectly reject 9223372036854775807.  */
   11636 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11637   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11638 		       && LARGE_OFF_T % 2147483647 == 1)
   11639 		      ? 1 : -1];
   11640 int
   11641 main ()
   11642 {
   11643 
   11644   ;
   11645   return 0;
   11646 }
   11647 _ACEOF
   11648 if ac_fn_c_try_compile "$LINENO"; then :
   11649   ac_cv_sys_file_offset_bits=64; break
   11650 fi
   11651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11652   ac_cv_sys_file_offset_bits=unknown
   11653   break
   11654 done
   11655 fi
   11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11657 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11658 case $ac_cv_sys_file_offset_bits in #(
   11659   no | unknown) ;;
   11660   *)
   11661 cat >>confdefs.h <<_ACEOF
   11662 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11663 _ACEOF
   11664 ;;
   11665 esac
   11666 rm -rf conftest*
   11667   if test $ac_cv_sys_file_offset_bits = unknown; then
   11668     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11669 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11670 if ${ac_cv_sys_large_files+:} false; then :
   11671   $as_echo_n "(cached) " >&6
   11672 else
   11673   while :; do
   11674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11675 /* end confdefs.h.  */
   11676 #include <sys/types.h>
   11677  /* Check that off_t can represent 2**63 - 1 correctly.
   11678     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11679     since some C++ compilers masquerading as C compilers
   11680     incorrectly reject 9223372036854775807.  */
   11681 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11682   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11683 		       && LARGE_OFF_T % 2147483647 == 1)
   11684 		      ? 1 : -1];
   11685 int
   11686 main ()
   11687 {
   11688 
   11689   ;
   11690   return 0;
   11691 }
   11692 _ACEOF
   11693 if ac_fn_c_try_compile "$LINENO"; then :
   11694   ac_cv_sys_large_files=no; break
   11695 fi
   11696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11698 /* end confdefs.h.  */
   11699 #define _LARGE_FILES 1
   11700 #include <sys/types.h>
   11701  /* Check that off_t can represent 2**63 - 1 correctly.
   11702     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11703     since some C++ compilers masquerading as C compilers
   11704     incorrectly reject 9223372036854775807.  */
   11705 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11706   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11707 		       && LARGE_OFF_T % 2147483647 == 1)
   11708 		      ? 1 : -1];
   11709 int
   11710 main ()
   11711 {
   11712 
   11713   ;
   11714   return 0;
   11715 }
   11716 _ACEOF
   11717 if ac_fn_c_try_compile "$LINENO"; then :
   11718   ac_cv_sys_large_files=1; break
   11719 fi
   11720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11721   ac_cv_sys_large_files=unknown
   11722   break
   11723 done
   11724 fi
   11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11726 $as_echo "$ac_cv_sys_large_files" >&6; }
   11727 case $ac_cv_sys_large_files in #(
   11728   no | unknown) ;;
   11729   *)
   11730 cat >>confdefs.h <<_ACEOF
   11731 #define _LARGE_FILES $ac_cv_sys_large_files
   11732 _ACEOF
   11733 ;;
   11734 esac
   11735 rm -rf conftest*
   11736   fi
   11737 
   11738 
   11739 fi
   11740 
   11741 
   11742 
   11743 # These are in addition to what is made available in bfd/.
   11744 for ac_header in sys/time.h
   11745 do :
   11746   ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
   11747 if test "x$ac_cv_header_sys_time_h" = xyes; then :
   11748   cat >>confdefs.h <<_ACEOF
   11749 #define HAVE_SYS_TIME_H 1
   11750 _ACEOF
   11751 
   11752 fi
   11753 
   11754 done
   11755 
   11756 for ac_func in setitimer
   11757 do :
   11758   ac_fn_c_check_func "$LINENO" "setitimer" "ac_cv_func_setitimer"
   11759 if test "x$ac_cv_func_setitimer" = xyes; then :
   11760   cat >>confdefs.h <<_ACEOF
   11761 #define HAVE_SETITIMER 1
   11762 _ACEOF
   11763 
   11764 fi
   11765 done
   11766 
   11767 
   11768 ALL_LINGUAS="bg da de eo es fi fr ga hu id it ja ms nl pt_BR ro ru rw sr sv tr uk vi"
   11769 
   11770         MKINSTALLDIRS=
   11771   if test -n "$ac_aux_dir"; then
   11772     case "$ac_aux_dir" in
   11773       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   11774       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   11775     esac
   11776   fi
   11777   if test -z "$MKINSTALLDIRS"; then
   11778     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   11779   fi
   11780 
   11781 
   11782 
   11783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   11784 $as_echo_n "checking whether NLS is requested... " >&6; }
   11785     # Check whether --enable-nls was given.
   11786 if test "${enable_nls+set}" = set; then :
   11787   enableval=$enable_nls; USE_NLS=$enableval
   11788 else
   11789   USE_NLS=yes
   11790 fi
   11791 
   11792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   11793 $as_echo "$USE_NLS" >&6; }
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 # Prepare PATH_SEPARATOR.
   11801 # The user is always right.
   11802 if test "${PATH_SEPARATOR+set}" != set; then
   11803   echo "#! /bin/sh" >conf$$.sh
   11804   echo  "exit 0"   >>conf$$.sh
   11805   chmod +x conf$$.sh
   11806   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11807     PATH_SEPARATOR=';'
   11808   else
   11809     PATH_SEPARATOR=:
   11810   fi
   11811   rm -f conf$$.sh
   11812 fi
   11813 
   11814 # Find out how to test for executable files. Don't use a zero-byte file,
   11815 # as systems may use methods other than mode bits to determine executability.
   11816 cat >conf$$.file <<_ASEOF
   11817 #! /bin/sh
   11818 exit 0
   11819 _ASEOF
   11820 chmod +x conf$$.file
   11821 if test -x conf$$.file >/dev/null 2>&1; then
   11822   ac_executable_p="test -x"
   11823 else
   11824   ac_executable_p="test -f"
   11825 fi
   11826 rm -f conf$$.file
   11827 
   11828 # Extract the first word of "msgfmt", so it can be a program name with args.
   11829 set dummy msgfmt; ac_word=$2
   11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11831 $as_echo_n "checking for $ac_word... " >&6; }
   11832 if ${ac_cv_path_MSGFMT+:} false; then :
   11833   $as_echo_n "(cached) " >&6
   11834 else
   11835   case "$MSGFMT" in
   11836   [\\/]* | ?:[\\/]*)
   11837     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   11838     ;;
   11839   *)
   11840     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11841     for ac_dir in $PATH; do
   11842       IFS="$ac_save_IFS"
   11843       test -z "$ac_dir" && ac_dir=.
   11844       for ac_exec_ext in '' $ac_executable_extensions; do
   11845         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11846           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   11847      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11848             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   11849             break 2
   11850           fi
   11851         fi
   11852       done
   11853     done
   11854     IFS="$ac_save_IFS"
   11855   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   11856     ;;
   11857 esac
   11858 fi
   11859 MSGFMT="$ac_cv_path_MSGFMT"
   11860 if test "$MSGFMT" != ":"; then
   11861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   11862 $as_echo "$MSGFMT" >&6; }
   11863 else
   11864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11865 $as_echo "no" >&6; }
   11866 fi
   11867 
   11868   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   11869 set dummy gmsgfmt; ac_word=$2
   11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11871 $as_echo_n "checking for $ac_word... " >&6; }
   11872 if ${ac_cv_path_GMSGFMT+:} false; then :
   11873   $as_echo_n "(cached) " >&6
   11874 else
   11875   case $GMSGFMT in
   11876   [\\/]* | ?:[\\/]*)
   11877   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   11878   ;;
   11879   *)
   11880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11881 for as_dir in $PATH
   11882 do
   11883   IFS=$as_save_IFS
   11884   test -z "$as_dir" && as_dir=.
   11885     for ac_exec_ext in '' $ac_executable_extensions; do
   11886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11887     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   11888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11889     break 2
   11890   fi
   11891 done
   11892   done
   11893 IFS=$as_save_IFS
   11894 
   11895   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   11896   ;;
   11897 esac
   11898 fi
   11899 GMSGFMT=$ac_cv_path_GMSGFMT
   11900 if test -n "$GMSGFMT"; then
   11901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   11902 $as_echo "$GMSGFMT" >&6; }
   11903 else
   11904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11905 $as_echo "no" >&6; }
   11906 fi
   11907 
   11908 
   11909 
   11910 
   11911 # Prepare PATH_SEPARATOR.
   11912 # The user is always right.
   11913 if test "${PATH_SEPARATOR+set}" != set; then
   11914   echo "#! /bin/sh" >conf$$.sh
   11915   echo  "exit 0"   >>conf$$.sh
   11916   chmod +x conf$$.sh
   11917   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11918     PATH_SEPARATOR=';'
   11919   else
   11920     PATH_SEPARATOR=:
   11921   fi
   11922   rm -f conf$$.sh
   11923 fi
   11924 
   11925 # Find out how to test for executable files. Don't use a zero-byte file,
   11926 # as systems may use methods other than mode bits to determine executability.
   11927 cat >conf$$.file <<_ASEOF
   11928 #! /bin/sh
   11929 exit 0
   11930 _ASEOF
   11931 chmod +x conf$$.file
   11932 if test -x conf$$.file >/dev/null 2>&1; then
   11933   ac_executable_p="test -x"
   11934 else
   11935   ac_executable_p="test -f"
   11936 fi
   11937 rm -f conf$$.file
   11938 
   11939 # Extract the first word of "xgettext", so it can be a program name with args.
   11940 set dummy xgettext; ac_word=$2
   11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11942 $as_echo_n "checking for $ac_word... " >&6; }
   11943 if ${ac_cv_path_XGETTEXT+:} false; then :
   11944   $as_echo_n "(cached) " >&6
   11945 else
   11946   case "$XGETTEXT" in
   11947   [\\/]* | ?:[\\/]*)
   11948     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   11949     ;;
   11950   *)
   11951     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11952     for ac_dir in $PATH; do
   11953       IFS="$ac_save_IFS"
   11954       test -z "$ac_dir" && ac_dir=.
   11955       for ac_exec_ext in '' $ac_executable_extensions; do
   11956         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11957           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   11958      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11959             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   11960             break 2
   11961           fi
   11962         fi
   11963       done
   11964     done
   11965     IFS="$ac_save_IFS"
   11966   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   11967     ;;
   11968 esac
   11969 fi
   11970 XGETTEXT="$ac_cv_path_XGETTEXT"
   11971 if test "$XGETTEXT" != ":"; then
   11972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   11973 $as_echo "$XGETTEXT" >&6; }
   11974 else
   11975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11976 $as_echo "no" >&6; }
   11977 fi
   11978 
   11979     rm -f messages.po
   11980 
   11981 
   11982 # Prepare PATH_SEPARATOR.
   11983 # The user is always right.
   11984 if test "${PATH_SEPARATOR+set}" != set; then
   11985   echo "#! /bin/sh" >conf$$.sh
   11986   echo  "exit 0"   >>conf$$.sh
   11987   chmod +x conf$$.sh
   11988   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11989     PATH_SEPARATOR=';'
   11990   else
   11991     PATH_SEPARATOR=:
   11992   fi
   11993   rm -f conf$$.sh
   11994 fi
   11995 
   11996 # Find out how to test for executable files. Don't use a zero-byte file,
   11997 # as systems may use methods other than mode bits to determine executability.
   11998 cat >conf$$.file <<_ASEOF
   11999 #! /bin/sh
   12000 exit 0
   12001 _ASEOF
   12002 chmod +x conf$$.file
   12003 if test -x conf$$.file >/dev/null 2>&1; then
   12004   ac_executable_p="test -x"
   12005 else
   12006   ac_executable_p="test -f"
   12007 fi
   12008 rm -f conf$$.file
   12009 
   12010 # Extract the first word of "msgmerge", so it can be a program name with args.
   12011 set dummy msgmerge; ac_word=$2
   12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12013 $as_echo_n "checking for $ac_word... " >&6; }
   12014 if ${ac_cv_path_MSGMERGE+:} false; then :
   12015   $as_echo_n "(cached) " >&6
   12016 else
   12017   case "$MSGMERGE" in
   12018   [\\/]* | ?:[\\/]*)
   12019     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   12020     ;;
   12021   *)
   12022     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   12023     for ac_dir in $PATH; do
   12024       IFS="$ac_save_IFS"
   12025       test -z "$ac_dir" && ac_dir=.
   12026       for ac_exec_ext in '' $ac_executable_extensions; do
   12027         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   12028           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   12029             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   12030             break 2
   12031           fi
   12032         fi
   12033       done
   12034     done
   12035     IFS="$ac_save_IFS"
   12036   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   12037     ;;
   12038 esac
   12039 fi
   12040 MSGMERGE="$ac_cv_path_MSGMERGE"
   12041 if test "$MSGMERGE" != ":"; then
   12042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   12043 $as_echo "$MSGMERGE" >&6; }
   12044 else
   12045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12046 $as_echo "no" >&6; }
   12047 fi
   12048 
   12049 
   12050       if test "$GMSGFMT" != ":"; then
   12051             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   12052        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12053       : ;
   12054     else
   12055       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   12056       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   12057 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   12058       GMSGFMT=":"
   12059     fi
   12060   fi
   12061 
   12062       if test "$XGETTEXT" != ":"; then
   12063             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   12064        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   12065       : ;
   12066     else
   12067       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   12068 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   12069       XGETTEXT=":"
   12070     fi
   12071         rm -f messages.po
   12072   fi
   12073 
   12074   ac_config_commands="$ac_config_commands default-1"
   12075 
   12076 
   12077 
   12078       if test "X$prefix" = "XNONE"; then
   12079     acl_final_prefix="$ac_default_prefix"
   12080   else
   12081     acl_final_prefix="$prefix"
   12082   fi
   12083   if test "X$exec_prefix" = "XNONE"; then
   12084     acl_final_exec_prefix='${prefix}'
   12085   else
   12086     acl_final_exec_prefix="$exec_prefix"
   12087   fi
   12088   acl_save_prefix="$prefix"
   12089   prefix="$acl_final_prefix"
   12090   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   12091   prefix="$acl_save_prefix"
   12092 
   12093 
   12094 # Check whether --with-gnu-ld was given.
   12095 if test "${with_gnu_ld+set}" = set; then :
   12096   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12097 else
   12098   with_gnu_ld=no
   12099 fi
   12100 
   12101 # Prepare PATH_SEPARATOR.
   12102 # The user is always right.
   12103 if test "${PATH_SEPARATOR+set}" != set; then
   12104   echo "#! /bin/sh" >conf$$.sh
   12105   echo  "exit 0"   >>conf$$.sh
   12106   chmod +x conf$$.sh
   12107   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   12108     PATH_SEPARATOR=';'
   12109   else
   12110     PATH_SEPARATOR=:
   12111   fi
   12112   rm -f conf$$.sh
   12113 fi
   12114 ac_prog=ld
   12115 if test "$GCC" = yes; then
   12116   # Check if gcc -print-prog-name=ld gives a path.
   12117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   12118 $as_echo_n "checking for ld used by GCC... " >&6; }
   12119   case $host in
   12120   *-*-mingw*)
   12121     # gcc leaves a trailing carriage return which upsets mingw
   12122     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12123   *)
   12124     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12125   esac
   12126   case $ac_prog in
   12127     # Accept absolute paths.
   12128     [\\/]* | [A-Za-z]:[\\/]*)
   12129       re_direlt='/[^/][^/]*/\.\./'
   12130       # Canonicalize the path of ld
   12131       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   12132       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   12133 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   12134       done
   12135       test -z "$LD" && LD="$ac_prog"
   12136       ;;
   12137   "")
   12138     # If it fails, then pretend we aren't using GCC.
   12139     ac_prog=ld
   12140     ;;
   12141   *)
   12142     # If it is relative, then search for the first ld in PATH.
   12143     with_gnu_ld=unknown
   12144     ;;
   12145   esac
   12146 elif test "$with_gnu_ld" = yes; then
   12147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12148 $as_echo_n "checking for GNU ld... " >&6; }
   12149 else
   12150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12151 $as_echo_n "checking for non-GNU ld... " >&6; }
   12152 fi
   12153 if ${acl_cv_path_LD+:} false; then :
   12154   $as_echo_n "(cached) " >&6
   12155 else
   12156   if test -z "$LD"; then
   12157   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   12158   for ac_dir in $PATH; do
   12159     test -z "$ac_dir" && ac_dir=.
   12160     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12161       acl_cv_path_LD="$ac_dir/$ac_prog"
   12162       # Check to see if the program is GNU ld.  I'd rather use --version,
   12163       # but apparently some GNU ld's only accept -v.
   12164       # Break only if it was the GNU/non-GNU ld that we prefer.
   12165       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then
   12166 	test "$with_gnu_ld" != no && break
   12167       else
   12168 	test "$with_gnu_ld" != yes && break
   12169       fi
   12170     fi
   12171   done
   12172   IFS="$ac_save_ifs"
   12173 else
   12174   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   12175 fi
   12176 fi
   12177 
   12178 LD="$acl_cv_path_LD"
   12179 if test -n "$LD"; then
   12180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12181 $as_echo "$LD" >&6; }
   12182 else
   12183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12184 $as_echo "no" >&6; }
   12185 fi
   12186 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12188 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12189 if ${acl_cv_prog_gnu_ld+:} false; then :
   12190   $as_echo_n "(cached) " >&6
   12191 else
   12192   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   12193 if $LD -v 2>&1 </dev/null | $EGREP '(GNU|with BFD)' 1>&5; then
   12194   acl_cv_prog_gnu_ld=yes
   12195 else
   12196   acl_cv_prog_gnu_ld=no
   12197 fi
   12198 fi
   12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   12200 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   12201 with_gnu_ld=$acl_cv_prog_gnu_ld
   12202 
   12203 
   12204 
   12205                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   12206 $as_echo_n "checking for shared library run path origin... " >&6; }
   12207 if ${acl_cv_rpath+:} false; then :
   12208   $as_echo_n "(cached) " >&6
   12209 else
   12210 
   12211     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   12212     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   12213     . ./conftest.sh
   12214     rm -f ./conftest.sh
   12215     acl_cv_rpath=done
   12216 
   12217 fi
   12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   12219 $as_echo "$acl_cv_rpath" >&6; }
   12220   wl="$acl_cv_wl"
   12221   libext="$acl_cv_libext"
   12222   shlibext="$acl_cv_shlibext"
   12223   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   12224   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   12225   hardcode_direct="$acl_cv_hardcode_direct"
   12226   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   12227     # Check whether --enable-rpath was given.
   12228 if test "${enable_rpath+set}" = set; then :
   12229   enableval=$enable_rpath; :
   12230 else
   12231   enable_rpath=yes
   12232 fi
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241     use_additional=yes
   12242 
   12243   acl_save_prefix="$prefix"
   12244   prefix="$acl_final_prefix"
   12245   acl_save_exec_prefix="$exec_prefix"
   12246   exec_prefix="$acl_final_exec_prefix"
   12247 
   12248     eval additional_includedir=\"$includedir\"
   12249     eval additional_libdir=\"$libdir\"
   12250 
   12251   exec_prefix="$acl_save_exec_prefix"
   12252   prefix="$acl_save_prefix"
   12253 
   12254 
   12255 # Check whether --with-libiconv-prefix was given.
   12256 if test "${with_libiconv_prefix+set}" = set; then :
   12257   withval=$with_libiconv_prefix;
   12258     if test "X$withval" = "Xno"; then
   12259       use_additional=no
   12260     else
   12261       if test "X$withval" = "X"; then
   12262 
   12263   acl_save_prefix="$prefix"
   12264   prefix="$acl_final_prefix"
   12265   acl_save_exec_prefix="$exec_prefix"
   12266   exec_prefix="$acl_final_exec_prefix"
   12267 
   12268           eval additional_includedir=\"$includedir\"
   12269           eval additional_libdir=\"$libdir\"
   12270 
   12271   exec_prefix="$acl_save_exec_prefix"
   12272   prefix="$acl_save_prefix"
   12273 
   12274       else
   12275         additional_includedir="$withval/include"
   12276         additional_libdir="$withval/lib"
   12277       fi
   12278     fi
   12279 
   12280 fi
   12281 
   12282 
   12283 # Check whether --with-libiconv-type was given.
   12284 if test "${with_libiconv_type+set}" = set; then :
   12285   withval=$with_libiconv_type;  with_libiconv_type=$withval
   12286 else
   12287    with_libiconv_type=auto
   12288 fi
   12289 
   12290   lib_type=`eval echo \$with_libiconv_type`
   12291 
   12292       LIBICONV=
   12293   LTLIBICONV=
   12294   INCICONV=
   12295   rpathdirs=
   12296   ltrpathdirs=
   12297   names_already_handled=
   12298   names_next_round='iconv '
   12299   while test -n "$names_next_round"; do
   12300     names_this_round="$names_next_round"
   12301     names_next_round=
   12302     for name in $names_this_round; do
   12303       already_handled=
   12304       for n in $names_already_handled; do
   12305         if test "$n" = "$name"; then
   12306           already_handled=yes
   12307           break
   12308         fi
   12309       done
   12310       if test -z "$already_handled"; then
   12311         names_already_handled="$names_already_handled $name"
   12312                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12313         eval value=\"\$HAVE_LIB$uppername\"
   12314         if test -n "$value"; then
   12315           if test "$value" = yes; then
   12316             eval value=\"\$LIB$uppername\"
   12317             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   12318             eval value=\"\$LTLIB$uppername\"
   12319             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   12320           else
   12321                                     :
   12322           fi
   12323         else
   12324                               found_dir=
   12325           found_la=
   12326           found_so=
   12327           found_a=
   12328           if test $use_additional = yes; then
   12329             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   12330               found_dir="$additional_libdir"
   12331               found_so="$additional_libdir/lib$name.$shlibext"
   12332               if test -f "$additional_libdir/lib$name.la"; then
   12333                 found_la="$additional_libdir/lib$name.la"
   12334               fi
   12335             elif test x$lib_type != xshared; then
   12336               if test -f "$additional_libdir/lib$name.$libext"; then
   12337                 found_dir="$additional_libdir"
   12338                 found_a="$additional_libdir/lib$name.$libext"
   12339                 if test -f "$additional_libdir/lib$name.la"; then
   12340                   found_la="$additional_libdir/lib$name.la"
   12341                 fi
   12342               fi
   12343             fi
   12344           fi
   12345           if test "X$found_dir" = "X"; then
   12346             for x in $LDFLAGS $LTLIBICONV; do
   12347 
   12348   acl_save_prefix="$prefix"
   12349   prefix="$acl_final_prefix"
   12350   acl_save_exec_prefix="$exec_prefix"
   12351   exec_prefix="$acl_final_exec_prefix"
   12352   eval x=\"$x\"
   12353   exec_prefix="$acl_save_exec_prefix"
   12354   prefix="$acl_save_prefix"
   12355 
   12356               case "$x" in
   12357                 -L*)
   12358                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12359                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   12360                     found_dir="$dir"
   12361                     found_so="$dir/lib$name.$shlibext"
   12362                     if test -f "$dir/lib$name.la"; then
   12363                       found_la="$dir/lib$name.la"
   12364                     fi
   12365                   elif test x$lib_type != xshared; then
   12366                     if test -f "$dir/lib$name.$libext"; then
   12367                       found_dir="$dir"
   12368                       found_a="$dir/lib$name.$libext"
   12369                       if test -f "$dir/lib$name.la"; then
   12370                         found_la="$dir/lib$name.la"
   12371                       fi
   12372                     fi
   12373                   fi
   12374                   ;;
   12375               esac
   12376               if test "X$found_dir" != "X"; then
   12377                 break
   12378               fi
   12379             done
   12380           fi
   12381           if test "X$found_dir" != "X"; then
   12382                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   12383             if test "X$found_so" != "X"; then
   12384                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   12385                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12386               else
   12387                                                                                 haveit=
   12388                 for x in $ltrpathdirs; do
   12389                   if test "X$x" = "X$found_dir"; then
   12390                     haveit=yes
   12391                     break
   12392                   fi
   12393                 done
   12394                 if test -z "$haveit"; then
   12395                   ltrpathdirs="$ltrpathdirs $found_dir"
   12396                 fi
   12397                                 if test "$hardcode_direct" = yes; then
   12398                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12399                 else
   12400                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12401                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12402                                                             haveit=
   12403                     for x in $rpathdirs; do
   12404                       if test "X$x" = "X$found_dir"; then
   12405                         haveit=yes
   12406                         break
   12407                       fi
   12408                     done
   12409                     if test -z "$haveit"; then
   12410                       rpathdirs="$rpathdirs $found_dir"
   12411                     fi
   12412                   else
   12413                                                                                 haveit=
   12414                     for x in $LDFLAGS $LIBICONV; do
   12415 
   12416   acl_save_prefix="$prefix"
   12417   prefix="$acl_final_prefix"
   12418   acl_save_exec_prefix="$exec_prefix"
   12419   exec_prefix="$acl_final_exec_prefix"
   12420   eval x=\"$x\"
   12421   exec_prefix="$acl_save_exec_prefix"
   12422   prefix="$acl_save_prefix"
   12423 
   12424                       if test "X$x" = "X-L$found_dir"; then
   12425                         haveit=yes
   12426                         break
   12427                       fi
   12428                     done
   12429                     if test -z "$haveit"; then
   12430                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   12431                     fi
   12432                     if test "$hardcode_minus_L" != no; then
   12433                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   12434                     else
   12435                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12436                     fi
   12437                   fi
   12438                 fi
   12439               fi
   12440             else
   12441               if test "X$found_a" != "X"; then
   12442                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   12443               else
   12444                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   12445               fi
   12446             fi
   12447                         additional_includedir=
   12448             case "$found_dir" in
   12449               */lib | */lib/)
   12450                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   12451                 additional_includedir="$basedir/include"
   12452                 ;;
   12453             esac
   12454             if test "X$additional_includedir" != "X"; then
   12455                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12456                 haveit=
   12457                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12458                   if test -n "$GCC"; then
   12459                     case $host_os in
   12460                       linux*) haveit=yes;;
   12461                     esac
   12462                   fi
   12463                 fi
   12464                 if test -z "$haveit"; then
   12465                   for x in $CPPFLAGS $INCICONV; do
   12466 
   12467   acl_save_prefix="$prefix"
   12468   prefix="$acl_final_prefix"
   12469   acl_save_exec_prefix="$exec_prefix"
   12470   exec_prefix="$acl_final_exec_prefix"
   12471   eval x=\"$x\"
   12472   exec_prefix="$acl_save_exec_prefix"
   12473   prefix="$acl_save_prefix"
   12474 
   12475                     if test "X$x" = "X-I$additional_includedir"; then
   12476                       haveit=yes
   12477                       break
   12478                     fi
   12479                   done
   12480                   if test -z "$haveit"; then
   12481                     if test -d "$additional_includedir"; then
   12482                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   12483                     fi
   12484                   fi
   12485                 fi
   12486               fi
   12487             fi
   12488                         if test -n "$found_la"; then
   12489                                                         save_libdir="$libdir"
   12490               case "$found_la" in
   12491                 */* | *\\*) . "$found_la" ;;
   12492                 *) . "./$found_la" ;;
   12493               esac
   12494               libdir="$save_libdir"
   12495                             for dep in $dependency_libs; do
   12496                 case "$dep" in
   12497                   -L*)
   12498                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12499                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   12500                       haveit=
   12501                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   12502                         if test -n "$GCC"; then
   12503                           case $host_os in
   12504                             linux*) haveit=yes;;
   12505                           esac
   12506                         fi
   12507                       fi
   12508                       if test -z "$haveit"; then
   12509                         haveit=
   12510                         for x in $LDFLAGS $LIBICONV; do
   12511 
   12512   acl_save_prefix="$prefix"
   12513   prefix="$acl_final_prefix"
   12514   acl_save_exec_prefix="$exec_prefix"
   12515   exec_prefix="$acl_final_exec_prefix"
   12516   eval x=\"$x\"
   12517   exec_prefix="$acl_save_exec_prefix"
   12518   prefix="$acl_save_prefix"
   12519 
   12520                           if test "X$x" = "X-L$additional_libdir"; then
   12521                             haveit=yes
   12522                             break
   12523                           fi
   12524                         done
   12525                         if test -z "$haveit"; then
   12526                           if test -d "$additional_libdir"; then
   12527                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   12528                           fi
   12529                         fi
   12530                         haveit=
   12531                         for x in $LDFLAGS $LTLIBICONV; do
   12532 
   12533   acl_save_prefix="$prefix"
   12534   prefix="$acl_final_prefix"
   12535   acl_save_exec_prefix="$exec_prefix"
   12536   exec_prefix="$acl_final_exec_prefix"
   12537   eval x=\"$x\"
   12538   exec_prefix="$acl_save_exec_prefix"
   12539   prefix="$acl_save_prefix"
   12540 
   12541                           if test "X$x" = "X-L$additional_libdir"; then
   12542                             haveit=yes
   12543                             break
   12544                           fi
   12545                         done
   12546                         if test -z "$haveit"; then
   12547                           if test -d "$additional_libdir"; then
   12548                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   12549                           fi
   12550                         fi
   12551                       fi
   12552                     fi
   12553                     ;;
   12554                   -R*)
   12555                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12556                     if test "$enable_rpath" != no; then
   12557                                                                   haveit=
   12558                       for x in $rpathdirs; do
   12559                         if test "X$x" = "X$dir"; then
   12560                           haveit=yes
   12561                           break
   12562                         fi
   12563                       done
   12564                       if test -z "$haveit"; then
   12565                         rpathdirs="$rpathdirs $dir"
   12566                       fi
   12567                                                                   haveit=
   12568                       for x in $ltrpathdirs; do
   12569                         if test "X$x" = "X$dir"; then
   12570                           haveit=yes
   12571                           break
   12572                         fi
   12573                       done
   12574                       if test -z "$haveit"; then
   12575                         ltrpathdirs="$ltrpathdirs $dir"
   12576                       fi
   12577                     fi
   12578                     ;;
   12579                   -l*)
   12580                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12581                     ;;
   12582                   *.la)
   12583                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12584                     ;;
   12585                   *)
   12586                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   12587                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   12588                     ;;
   12589                 esac
   12590               done
   12591             fi
   12592           else
   12593                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   12594               LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   12595               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   12596             else
   12597               LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
   12598               LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
   12599             fi
   12600           fi
   12601         fi
   12602       fi
   12603     done
   12604   done
   12605   if test "X$rpathdirs" != "X"; then
   12606     if test -n "$hardcode_libdir_separator"; then
   12607                         alldirs=
   12608       for found_dir in $rpathdirs; do
   12609         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   12610       done
   12611             acl_save_libdir="$libdir"
   12612       libdir="$alldirs"
   12613       eval flag=\"$hardcode_libdir_flag_spec\"
   12614       libdir="$acl_save_libdir"
   12615       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12616     else
   12617             for found_dir in $rpathdirs; do
   12618         acl_save_libdir="$libdir"
   12619         libdir="$found_dir"
   12620         eval flag=\"$hardcode_libdir_flag_spec\"
   12621         libdir="$acl_save_libdir"
   12622         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   12623       done
   12624     fi
   12625   fi
   12626   if test "X$ltrpathdirs" != "X"; then
   12627             for found_dir in $ltrpathdirs; do
   12628       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   12629     done
   12630   fi
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 if test -f ../gettext/uninstalled-config.sh; then
   12637   relative_builddir='$(top_builddir)/../gettext'
   12638   .  ../gettext/uninstalled-config.sh
   12639 else
   12640   # The sister gettext directory doesn't exist and won't collect information on
   12641   # using gettext for us.  Call a bundled AM_GNU_GETTEXT.
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   12666 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   12667 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   12668   $as_echo_n "(cached) " >&6
   12669 else
   12670   gt_save_LIBS="$LIBS"
   12671      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   12672      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12673 /* end confdefs.h.  */
   12674 #include <CoreFoundation/CFPreferences.h>
   12675 int
   12676 main ()
   12677 {
   12678 CFPreferencesCopyAppValue(NULL, NULL)
   12679   ;
   12680   return 0;
   12681 }
   12682 _ACEOF
   12683 if ac_fn_c_try_link "$LINENO"; then :
   12684   gt_cv_func_CFPreferencesCopyAppValue=yes
   12685 else
   12686   gt_cv_func_CFPreferencesCopyAppValue=no
   12687 fi
   12688 rm -f core conftest.err conftest.$ac_objext \
   12689     conftest$ac_exeext conftest.$ac_ext
   12690      LIBS="$gt_save_LIBS"
   12691 fi
   12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   12693 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   12694   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   12695 
   12696 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   12697 
   12698   fi
   12699                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
   12700 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; }
   12701 if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then :
   12702   $as_echo_n "(cached) " >&6
   12703 else
   12704   gt_save_LIBS="$LIBS"
   12705      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   12706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12707 /* end confdefs.h.  */
   12708 #include <CoreFoundation/CFLocale.h>
   12709 int
   12710 main ()
   12711 {
   12712 CFLocaleCopyPreferredLanguages();
   12713   ;
   12714   return 0;
   12715 }
   12716 _ACEOF
   12717 if ac_fn_c_try_link "$LINENO"; then :
   12718   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
   12719 else
   12720   gt_cv_func_CFLocaleCopyPreferredLanguages=no
   12721 fi
   12722 rm -f core conftest.err conftest.$ac_objext \
   12723     conftest$ac_exeext conftest.$ac_ext
   12724      LIBS="$gt_save_LIBS"
   12725 fi
   12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
   12727 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
   12728   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   12729 
   12730 $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
   12731 
   12732   fi
   12733   INTL_MACOSX_LIBS=
   12734   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
   12735      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
   12736                     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
   12737   fi
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744   LIBINTL=
   12745   LTLIBINTL=
   12746   POSUB=
   12747 
   12748     case " $gt_needs " in
   12749     *" need-formatstring-macros "*) gt_api_version=3 ;;
   12750     *" need-ngettext "*) gt_api_version=2 ;;
   12751     *) gt_api_version=1 ;;
   12752   esac
   12753   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   12754   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   12755 
   12756     if test "$USE_NLS" = "yes"; then
   12757     gt_use_preinstalled_gnugettext=no
   12758 
   12759 
   12760         if test $gt_api_version -ge 3; then
   12761           gt_revision_test_code='
   12762 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   12763 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   12764 #endif
   12765 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   12766 '
   12767         else
   12768           gt_revision_test_code=
   12769         fi
   12770         if test $gt_api_version -ge 2; then
   12771           gt_expression_test_code=' + * ngettext ("", "", 0)'
   12772         else
   12773           gt_expression_test_code=
   12774         fi
   12775 
   12776         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   12777 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   12778 if eval \${$gt_func_gnugettext_libc+:} false; then :
   12779   $as_echo_n "(cached) " >&6
   12780 else
   12781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12782 /* end confdefs.h.  */
   12783 
   12784 #include <libintl.h>
   12785 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   12786 extern int _nl_msg_cat_cntr;
   12787 extern int *_nl_domain_bindings;
   12788 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   12789 #else
   12790 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   12791 #endif
   12792 $gt_revision_test_code
   12793 
   12794 int
   12795 main ()
   12796 {
   12797 
   12798 bindtextdomain ("", "");
   12799 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   12800 
   12801   ;
   12802   return 0;
   12803 }
   12804 _ACEOF
   12805 if ac_fn_c_try_link "$LINENO"; then :
   12806   eval "$gt_func_gnugettext_libc=yes"
   12807 else
   12808   eval "$gt_func_gnugettext_libc=no"
   12809 fi
   12810 rm -f core conftest.err conftest.$ac_objext \
   12811     conftest$ac_exeext conftest.$ac_ext
   12812 fi
   12813 eval ac_res=\$$gt_func_gnugettext_libc
   12814 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12815 $as_echo "$ac_res" >&6; }
   12816 
   12817         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   12818 
   12819 
   12820 
   12821 
   12822 
   12823           am_save_CPPFLAGS="$CPPFLAGS"
   12824 
   12825   for element in $INCICONV; do
   12826     haveit=
   12827     for x in $CPPFLAGS; do
   12828 
   12829   acl_save_prefix="$prefix"
   12830   prefix="$acl_final_prefix"
   12831   acl_save_exec_prefix="$exec_prefix"
   12832   exec_prefix="$acl_final_exec_prefix"
   12833   eval x=\"$x\"
   12834   exec_prefix="$acl_save_exec_prefix"
   12835   prefix="$acl_save_prefix"
   12836 
   12837       if test "X$x" = "X$element"; then
   12838         haveit=yes
   12839         break
   12840       fi
   12841     done
   12842     if test -z "$haveit"; then
   12843       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   12844     fi
   12845   done
   12846 
   12847 
   12848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   12849 $as_echo_n "checking for iconv... " >&6; }
   12850 if ${am_cv_func_iconv+:} false; then :
   12851   $as_echo_n "(cached) " >&6
   12852 else
   12853 
   12854     am_cv_func_iconv="no, consider installing GNU libiconv"
   12855     am_cv_lib_iconv=no
   12856     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12857 /* end confdefs.h.  */
   12858 
   12859 #include <stdlib.h>
   12860 #include <iconv.h>
   12861 
   12862 int
   12863 main ()
   12864 {
   12865 iconv_t cd = iconv_open("","");
   12866            iconv(cd,NULL,NULL,NULL,NULL);
   12867            iconv_close(cd);
   12868   ;
   12869   return 0;
   12870 }
   12871 _ACEOF
   12872 if ac_fn_c_try_link "$LINENO"; then :
   12873   am_cv_func_iconv=yes
   12874 fi
   12875 rm -f core conftest.err conftest.$ac_objext \
   12876     conftest$ac_exeext conftest.$ac_ext
   12877     if test "$am_cv_func_iconv" != yes; then
   12878       am_save_LIBS="$LIBS"
   12879       LIBS="$LIBS $LIBICONV"
   12880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12881 /* end confdefs.h.  */
   12882 
   12883 #include <stdlib.h>
   12884 #include <iconv.h>
   12885 
   12886 int
   12887 main ()
   12888 {
   12889 iconv_t cd = iconv_open("","");
   12890              iconv(cd,NULL,NULL,NULL,NULL);
   12891              iconv_close(cd);
   12892   ;
   12893   return 0;
   12894 }
   12895 _ACEOF
   12896 if ac_fn_c_try_link "$LINENO"; then :
   12897   am_cv_lib_iconv=yes
   12898         am_cv_func_iconv=yes
   12899 fi
   12900 rm -f core conftest.err conftest.$ac_objext \
   12901     conftest$ac_exeext conftest.$ac_ext
   12902       LIBS="$am_save_LIBS"
   12903     fi
   12904 
   12905 fi
   12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   12907 $as_echo "$am_cv_func_iconv" >&6; }
   12908   if test "$am_cv_func_iconv" = yes; then
   12909     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   12910 $as_echo_n "checking for working iconv... " >&6; }
   12911 if ${am_cv_func_iconv_works+:} false; then :
   12912   $as_echo_n "(cached) " >&6
   12913 else
   12914 
   12915                   am_save_LIBS="$LIBS"
   12916       if test $am_cv_lib_iconv = yes; then
   12917         LIBS="$LIBS $LIBICONV"
   12918       fi
   12919       am_cv_func_iconv_works=no
   12920       for ac_iconv_const in '' 'const'; do
   12921         if test "$cross_compiling" = yes; then :
   12922   case "$host_os" in
   12923              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   12924              *)            am_cv_func_iconv_works="guessing yes" ;;
   12925            esac
   12926 else
   12927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12928 /* end confdefs.h.  */
   12929 
   12930 #include <iconv.h>
   12931 #include <string.h>
   12932 
   12933 #ifndef ICONV_CONST
   12934 # define ICONV_CONST $ac_iconv_const
   12935 #endif
   12936 
   12937 int
   12938 main ()
   12939 {
   12940 int result = 0;
   12941   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
   12942      successful returns.  This is even documented in
   12943      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
   12944   {
   12945     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   12946     if (cd_utf8_to_88591 != (iconv_t)(-1))
   12947       {
   12948         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   12949         char buf[10];
   12950         ICONV_CONST char *inptr = input;
   12951         size_t inbytesleft = strlen (input);
   12952         char *outptr = buf;
   12953         size_t outbytesleft = sizeof (buf);
   12954         size_t res = iconv (cd_utf8_to_88591,
   12955                             &inptr, &inbytesleft,
   12956                             &outptr, &outbytesleft);
   12957         if (res == 0)
   12958           result |= 1;
   12959         iconv_close (cd_utf8_to_88591);
   12960       }
   12961   }
   12962   /* Test against Solaris 10 bug: Failures are not distinguishable from
   12963      successful returns.  */
   12964   {
   12965     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   12966     if (cd_ascii_to_88591 != (iconv_t)(-1))
   12967       {
   12968         static ICONV_CONST char input[] = "\263";
   12969         char buf[10];
   12970         ICONV_CONST char *inptr = input;
   12971         size_t inbytesleft = strlen (input);
   12972         char *outptr = buf;
   12973         size_t outbytesleft = sizeof (buf);
   12974         size_t res = iconv (cd_ascii_to_88591,
   12975                             &inptr, &inbytesleft,
   12976                             &outptr, &outbytesleft);
   12977         if (res == 0)
   12978           result |= 2;
   12979         iconv_close (cd_ascii_to_88591);
   12980       }
   12981   }
   12982   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   12983   {
   12984     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   12985     if (cd_88591_to_utf8 != (iconv_t)(-1))
   12986       {
   12987         static ICONV_CONST char input[] = "\304";
   12988         static char buf[2] = { (char)0xDE, (char)0xAD };
   12989         ICONV_CONST char *inptr = input;
   12990         size_t inbytesleft = 1;
   12991         char *outptr = buf;
   12992         size_t outbytesleft = 1;
   12993         size_t res = iconv (cd_88591_to_utf8,
   12994                             &inptr, &inbytesleft,
   12995                             &outptr, &outbytesleft);
   12996         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   12997           result |= 4;
   12998         iconv_close (cd_88591_to_utf8);
   12999       }
   13000   }
   13001 #if 0 /* This bug could be worked around by the caller.  */
   13002   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   13003   {
   13004     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   13005     if (cd_88591_to_utf8 != (iconv_t)(-1))
   13006       {
   13007         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   13008         char buf[50];
   13009         ICONV_CONST char *inptr = input;
   13010         size_t inbytesleft = strlen (input);
   13011         char *outptr = buf;
   13012         size_t outbytesleft = sizeof (buf);
   13013         size_t res = iconv (cd_88591_to_utf8,
   13014                             &inptr, &inbytesleft,
   13015                             &outptr, &outbytesleft);
   13016         if ((int)res > 0)
   13017           result |= 8;
   13018         iconv_close (cd_88591_to_utf8);
   13019       }
   13020   }
   13021 #endif
   13022   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   13023      provided.  */
   13024   {
   13025     /* Try standardized names.  */
   13026     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
   13027     /* Try IRIX, OSF/1 names.  */
   13028     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
   13029     /* Try AIX names.  */
   13030     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
   13031     /* Try HP-UX names.  */
   13032     iconv_t cd4 = iconv_open ("utf8", "eucJP");
   13033     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
   13034         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
   13035       result |= 16;
   13036     if (cd1 != (iconv_t)(-1))
   13037       iconv_close (cd1);
   13038     if (cd2 != (iconv_t)(-1))
   13039       iconv_close (cd2);
   13040     if (cd3 != (iconv_t)(-1))
   13041       iconv_close (cd3);
   13042     if (cd4 != (iconv_t)(-1))
   13043       iconv_close (cd4);
   13044   }
   13045   return result;
   13046 
   13047   ;
   13048   return 0;
   13049 }
   13050 _ACEOF
   13051 if ac_fn_c_try_run "$LINENO"; then :
   13052   am_cv_func_iconv_works=yes
   13053 fi
   13054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13055   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13056 fi
   13057 
   13058         test "$am_cv_func_iconv_works" = no || break
   13059       done
   13060       LIBS="$am_save_LIBS"
   13061 
   13062 fi
   13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   13064 $as_echo "$am_cv_func_iconv_works" >&6; }
   13065     case "$am_cv_func_iconv_works" in
   13066       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   13067       *)   am_func_iconv=yes ;;
   13068     esac
   13069   else
   13070     am_func_iconv=no am_cv_lib_iconv=no
   13071   fi
   13072   if test "$am_func_iconv" = yes; then
   13073 
   13074 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   13075 
   13076   fi
   13077   if test "$am_cv_lib_iconv" = yes; then
   13078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   13079 $as_echo_n "checking how to link with libiconv... " >&6; }
   13080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   13081 $as_echo "$LIBICONV" >&6; }
   13082   else
   13083             CPPFLAGS="$am_save_CPPFLAGS"
   13084     LIBICONV=
   13085     LTLIBICONV=
   13086   fi
   13087 
   13088 
   13089 
   13090 
   13091 
   13092 
   13093     use_additional=yes
   13094 
   13095   acl_save_prefix="$prefix"
   13096   prefix="$acl_final_prefix"
   13097   acl_save_exec_prefix="$exec_prefix"
   13098   exec_prefix="$acl_final_exec_prefix"
   13099 
   13100     eval additional_includedir=\"$includedir\"
   13101     eval additional_libdir=\"$libdir\"
   13102 
   13103   exec_prefix="$acl_save_exec_prefix"
   13104   prefix="$acl_save_prefix"
   13105 
   13106 
   13107 # Check whether --with-libintl-prefix was given.
   13108 if test "${with_libintl_prefix+set}" = set; then :
   13109   withval=$with_libintl_prefix;
   13110     if test "X$withval" = "Xno"; then
   13111       use_additional=no
   13112     else
   13113       if test "X$withval" = "X"; then
   13114 
   13115   acl_save_prefix="$prefix"
   13116   prefix="$acl_final_prefix"
   13117   acl_save_exec_prefix="$exec_prefix"
   13118   exec_prefix="$acl_final_exec_prefix"
   13119 
   13120           eval additional_includedir=\"$includedir\"
   13121           eval additional_libdir=\"$libdir\"
   13122 
   13123   exec_prefix="$acl_save_exec_prefix"
   13124   prefix="$acl_save_prefix"
   13125 
   13126       else
   13127         additional_includedir="$withval/include"
   13128         additional_libdir="$withval/lib"
   13129       fi
   13130     fi
   13131 
   13132 fi
   13133 
   13134 
   13135 # Check whether --with-libintl-type was given.
   13136 if test "${with_libintl_type+set}" = set; then :
   13137   withval=$with_libintl_type;  with_libintl_type=$withval
   13138 else
   13139    with_libintl_type=auto
   13140 fi
   13141 
   13142   lib_type=`eval echo \$with_libintl_type`
   13143 
   13144       LIBINTL=
   13145   LTLIBINTL=
   13146   INCINTL=
   13147   rpathdirs=
   13148   ltrpathdirs=
   13149   names_already_handled=
   13150   names_next_round='intl '
   13151   while test -n "$names_next_round"; do
   13152     names_this_round="$names_next_round"
   13153     names_next_round=
   13154     for name in $names_this_round; do
   13155       already_handled=
   13156       for n in $names_already_handled; do
   13157         if test "$n" = "$name"; then
   13158           already_handled=yes
   13159           break
   13160         fi
   13161       done
   13162       if test -z "$already_handled"; then
   13163         names_already_handled="$names_already_handled $name"
   13164                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   13165         eval value=\"\$HAVE_LIB$uppername\"
   13166         if test -n "$value"; then
   13167           if test "$value" = yes; then
   13168             eval value=\"\$LIB$uppername\"
   13169             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   13170             eval value=\"\$LTLIB$uppername\"
   13171             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   13172           else
   13173                                     :
   13174           fi
   13175         else
   13176                               found_dir=
   13177           found_la=
   13178           found_so=
   13179           found_a=
   13180           if test $use_additional = yes; then
   13181             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13182               found_dir="$additional_libdir"
   13183               found_so="$additional_libdir/lib$name.$shlibext"
   13184               if test -f "$additional_libdir/lib$name.la"; then
   13185                 found_la="$additional_libdir/lib$name.la"
   13186               fi
   13187             elif test x$lib_type != xshared; then
   13188               if test -f "$additional_libdir/lib$name.$libext"; then
   13189                 found_dir="$additional_libdir"
   13190                 found_a="$additional_libdir/lib$name.$libext"
   13191                 if test -f "$additional_libdir/lib$name.la"; then
   13192                   found_la="$additional_libdir/lib$name.la"
   13193                 fi
   13194               fi
   13195             fi
   13196           fi
   13197           if test "X$found_dir" = "X"; then
   13198             for x in $LDFLAGS $LTLIBINTL; do
   13199 
   13200   acl_save_prefix="$prefix"
   13201   prefix="$acl_final_prefix"
   13202   acl_save_exec_prefix="$exec_prefix"
   13203   exec_prefix="$acl_final_exec_prefix"
   13204   eval x=\"$x\"
   13205   exec_prefix="$acl_save_exec_prefix"
   13206   prefix="$acl_save_prefix"
   13207 
   13208               case "$x" in
   13209                 -L*)
   13210                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   13211                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
   13212                     found_dir="$dir"
   13213                     found_so="$dir/lib$name.$shlibext"
   13214                     if test -f "$dir/lib$name.la"; then
   13215                       found_la="$dir/lib$name.la"
   13216                     fi
   13217                   elif test x$lib_type != xshared; then
   13218                     if test -f "$dir/lib$name.$libext"; then
   13219                       found_dir="$dir"
   13220                       found_a="$dir/lib$name.$libext"
   13221                       if test -f "$dir/lib$name.la"; then
   13222                         found_la="$dir/lib$name.la"
   13223                       fi
   13224                     fi
   13225                   fi
   13226                   ;;
   13227               esac
   13228               if test "X$found_dir" != "X"; then
   13229                 break
   13230               fi
   13231             done
   13232           fi
   13233           if test "X$found_dir" != "X"; then
   13234                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   13235             if test "X$found_so" != "X"; then
   13236                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   13237                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13238               else
   13239                                                                                 haveit=
   13240                 for x in $ltrpathdirs; do
   13241                   if test "X$x" = "X$found_dir"; then
   13242                     haveit=yes
   13243                     break
   13244                   fi
   13245                 done
   13246                 if test -z "$haveit"; then
   13247                   ltrpathdirs="$ltrpathdirs $found_dir"
   13248                 fi
   13249                                 if test "$hardcode_direct" = yes; then
   13250                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13251                 else
   13252                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   13253                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13254                                                             haveit=
   13255                     for x in $rpathdirs; do
   13256                       if test "X$x" = "X$found_dir"; then
   13257                         haveit=yes
   13258                         break
   13259                       fi
   13260                     done
   13261                     if test -z "$haveit"; then
   13262                       rpathdirs="$rpathdirs $found_dir"
   13263                     fi
   13264                   else
   13265                                                                                 haveit=
   13266                     for x in $LDFLAGS $LIBINTL; do
   13267 
   13268   acl_save_prefix="$prefix"
   13269   prefix="$acl_final_prefix"
   13270   acl_save_exec_prefix="$exec_prefix"
   13271   exec_prefix="$acl_final_exec_prefix"
   13272   eval x=\"$x\"
   13273   exec_prefix="$acl_save_exec_prefix"
   13274   prefix="$acl_save_prefix"
   13275 
   13276                       if test "X$x" = "X-L$found_dir"; then
   13277                         haveit=yes
   13278                         break
   13279                       fi
   13280                     done
   13281                     if test -z "$haveit"; then
   13282                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   13283                     fi
   13284                     if test "$hardcode_minus_L" != no; then
   13285                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   13286                     else
   13287                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13288                     fi
   13289                   fi
   13290                 fi
   13291               fi
   13292             else
   13293               if test "X$found_a" != "X"; then
   13294                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   13295               else
   13296                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   13297               fi
   13298             fi
   13299                         additional_includedir=
   13300             case "$found_dir" in
   13301               */lib | */lib/)
   13302                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   13303                 additional_includedir="$basedir/include"
   13304                 ;;
   13305             esac
   13306             if test "X$additional_includedir" != "X"; then
   13307                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   13308                 haveit=
   13309                 if test "X$additional_includedir" = "X/usr/local/include"; then
   13310                   if test -n "$GCC"; then
   13311                     case $host_os in
   13312                       linux*) haveit=yes;;
   13313                     esac
   13314                   fi
   13315                 fi
   13316                 if test -z "$haveit"; then
   13317                   for x in $CPPFLAGS $INCINTL; do
   13318 
   13319   acl_save_prefix="$prefix"
   13320   prefix="$acl_final_prefix"
   13321   acl_save_exec_prefix="$exec_prefix"
   13322   exec_prefix="$acl_final_exec_prefix"
   13323   eval x=\"$x\"
   13324   exec_prefix="$acl_save_exec_prefix"
   13325   prefix="$acl_save_prefix"
   13326 
   13327                     if test "X$x" = "X-I$additional_includedir"; then
   13328                       haveit=yes
   13329                       break
   13330                     fi
   13331                   done
   13332                   if test -z "$haveit"; then
   13333                     if test -d "$additional_includedir"; then
   13334                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   13335                     fi
   13336                   fi
   13337                 fi
   13338               fi
   13339             fi
   13340                         if test -n "$found_la"; then
   13341                                                         save_libdir="$libdir"
   13342               case "$found_la" in
   13343                 */* | *\\*) . "$found_la" ;;
   13344                 *) . "./$found_la" ;;
   13345               esac
   13346               libdir="$save_libdir"
   13347                             for dep in $dependency_libs; do
   13348                 case "$dep" in
   13349                   -L*)
   13350                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   13351                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   13352                       haveit=
   13353                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   13354                         if test -n "$GCC"; then
   13355                           case $host_os in
   13356                             linux*) haveit=yes;;
   13357                           esac
   13358                         fi
   13359                       fi
   13360                       if test -z "$haveit"; then
   13361                         haveit=
   13362                         for x in $LDFLAGS $LIBINTL; do
   13363 
   13364   acl_save_prefix="$prefix"
   13365   prefix="$acl_final_prefix"
   13366   acl_save_exec_prefix="$exec_prefix"
   13367   exec_prefix="$acl_final_exec_prefix"
   13368   eval x=\"$x\"
   13369   exec_prefix="$acl_save_exec_prefix"
   13370   prefix="$acl_save_prefix"
   13371 
   13372                           if test "X$x" = "X-L$additional_libdir"; then
   13373                             haveit=yes
   13374                             break
   13375                           fi
   13376                         done
   13377                         if test -z "$haveit"; then
   13378                           if test -d "$additional_libdir"; then
   13379                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   13380                           fi
   13381                         fi
   13382                         haveit=
   13383                         for x in $LDFLAGS $LTLIBINTL; do
   13384 
   13385   acl_save_prefix="$prefix"
   13386   prefix="$acl_final_prefix"
   13387   acl_save_exec_prefix="$exec_prefix"
   13388   exec_prefix="$acl_final_exec_prefix"
   13389   eval x=\"$x\"
   13390   exec_prefix="$acl_save_exec_prefix"
   13391   prefix="$acl_save_prefix"
   13392 
   13393                           if test "X$x" = "X-L$additional_libdir"; then
   13394                             haveit=yes
   13395                             break
   13396                           fi
   13397                         done
   13398                         if test -z "$haveit"; then
   13399                           if test -d "$additional_libdir"; then
   13400                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   13401                           fi
   13402                         fi
   13403                       fi
   13404                     fi
   13405                     ;;
   13406                   -R*)
   13407                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   13408                     if test "$enable_rpath" != no; then
   13409                                                                   haveit=
   13410                       for x in $rpathdirs; do
   13411                         if test "X$x" = "X$dir"; then
   13412                           haveit=yes
   13413                           break
   13414                         fi
   13415                       done
   13416                       if test -z "$haveit"; then
   13417                         rpathdirs="$rpathdirs $dir"
   13418                       fi
   13419                                                                   haveit=
   13420                       for x in $ltrpathdirs; do
   13421                         if test "X$x" = "X$dir"; then
   13422                           haveit=yes
   13423                           break
   13424                         fi
   13425                       done
   13426                       if test -z "$haveit"; then
   13427                         ltrpathdirs="$ltrpathdirs $dir"
   13428                       fi
   13429                     fi
   13430                     ;;
   13431                   -l*)
   13432                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   13433                     ;;
   13434                   *.la)
   13435                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   13436                     ;;
   13437                   *)
   13438                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   13439                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   13440                     ;;
   13441                 esac
   13442               done
   13443             fi
   13444           else
   13445                                                             if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
   13446               LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   13447               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   13448             else
   13449               LIBINTL="${LIBINTL}${LIBINTL:+ }-l:lib$name.$libext"
   13450               LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l:lib$name.$libext"
   13451             fi
   13452           fi
   13453         fi
   13454       fi
   13455     done
   13456   done
   13457   if test "X$rpathdirs" != "X"; then
   13458     if test -n "$hardcode_libdir_separator"; then
   13459                         alldirs=
   13460       for found_dir in $rpathdirs; do
   13461         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   13462       done
   13463             acl_save_libdir="$libdir"
   13464       libdir="$alldirs"
   13465       eval flag=\"$hardcode_libdir_flag_spec\"
   13466       libdir="$acl_save_libdir"
   13467       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13468     else
   13469             for found_dir in $rpathdirs; do
   13470         acl_save_libdir="$libdir"
   13471         libdir="$found_dir"
   13472         eval flag=\"$hardcode_libdir_flag_spec\"
   13473         libdir="$acl_save_libdir"
   13474         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   13475       done
   13476     fi
   13477   fi
   13478   if test "X$ltrpathdirs" != "X"; then
   13479             for found_dir in $ltrpathdirs; do
   13480       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   13481     done
   13482   fi
   13483 
   13484           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   13485 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   13486 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   13487   $as_echo_n "(cached) " >&6
   13488 else
   13489   gt_save_CPPFLAGS="$CPPFLAGS"
   13490             CPPFLAGS="$CPPFLAGS $INCINTL"
   13491             gt_save_LIBS="$LIBS"
   13492             LIBS="$LIBS $LIBINTL"
   13493                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13494 /* end confdefs.h.  */
   13495 
   13496 #include <libintl.h>
   13497 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13498 extern int _nl_msg_cat_cntr;
   13499 extern
   13500 #ifdef __cplusplus
   13501 "C"
   13502 #endif
   13503 const char *_nl_expand_alias (const char *);
   13504 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   13505 #else
   13506 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13507 #endif
   13508 $gt_revision_test_code
   13509 
   13510 int
   13511 main ()
   13512 {
   13513 
   13514 bindtextdomain ("", "");
   13515 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13516 
   13517   ;
   13518   return 0;
   13519 }
   13520 _ACEOF
   13521 if ac_fn_c_try_link "$LINENO"; then :
   13522   eval "$gt_func_gnugettext_libintl=yes"
   13523 else
   13524   eval "$gt_func_gnugettext_libintl=no"
   13525 fi
   13526 rm -f core conftest.err conftest.$ac_objext \
   13527     conftest$ac_exeext conftest.$ac_ext
   13528                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   13529               LIBS="$LIBS $LIBICONV"
   13530               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13531 /* end confdefs.h.  */
   13532 
   13533 #include <libintl.h>
   13534 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   13535 extern int _nl_msg_cat_cntr;
   13536 extern
   13537 #ifdef __cplusplus
   13538 "C"
   13539 #endif
   13540 const char *_nl_expand_alias (const char *);
   13541 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   13542 #else
   13543 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   13544 #endif
   13545 $gt_revision_test_code
   13546 
   13547 int
   13548 main ()
   13549 {
   13550 
   13551 bindtextdomain ("", "");
   13552 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   13553 
   13554   ;
   13555   return 0;
   13556 }
   13557 _ACEOF
   13558 if ac_fn_c_try_link "$LINENO"; then :
   13559   LIBINTL="$LIBINTL $LIBICONV"
   13560                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   13561                  eval "$gt_func_gnugettext_libintl=yes"
   13562 
   13563 fi
   13564 rm -f core conftest.err conftest.$ac_objext \
   13565     conftest$ac_exeext conftest.$ac_ext
   13566             fi
   13567             CPPFLAGS="$gt_save_CPPFLAGS"
   13568             LIBS="$gt_save_LIBS"
   13569 fi
   13570 eval ac_res=\$$gt_func_gnugettext_libintl
   13571 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   13572 $as_echo "$ac_res" >&6; }
   13573         fi
   13574 
   13575                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   13576            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   13577                 && test "$PACKAGE" != gettext-runtime \
   13578                 && test "$PACKAGE" != gettext-tools; }; then
   13579           gt_use_preinstalled_gnugettext=yes
   13580         else
   13581                     LIBINTL=
   13582           LTLIBINTL=
   13583           INCINTL=
   13584         fi
   13585 
   13586 
   13587 
   13588     if test -n "$INTL_MACOSX_LIBS"; then
   13589       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13590          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13591                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   13592         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   13593       fi
   13594     fi
   13595 
   13596     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13597        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13598 
   13599 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   13600 
   13601     else
   13602       USE_NLS=no
   13603     fi
   13604   fi
   13605 
   13606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   13607 $as_echo_n "checking whether to use NLS... " >&6; }
   13608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   13609 $as_echo "$USE_NLS" >&6; }
   13610   if test "$USE_NLS" = "yes"; then
   13611     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   13612 $as_echo_n "checking where the gettext function comes from... " >&6; }
   13613     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13614       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   13615         gt_source="external libintl"
   13616       else
   13617         gt_source="libc"
   13618       fi
   13619     else
   13620       gt_source="included intl directory"
   13621     fi
   13622     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   13623 $as_echo "$gt_source" >&6; }
   13624   fi
   13625 
   13626   if test "$USE_NLS" = "yes"; then
   13627 
   13628     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13629       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   13630         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   13631 $as_echo_n "checking how to link with libintl... " >&6; }
   13632         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   13633 $as_echo "$LIBINTL" >&6; }
   13634 
   13635   for element in $INCINTL; do
   13636     haveit=
   13637     for x in $CPPFLAGS; do
   13638 
   13639   acl_save_prefix="$prefix"
   13640   prefix="$acl_final_prefix"
   13641   acl_save_exec_prefix="$exec_prefix"
   13642   exec_prefix="$acl_final_exec_prefix"
   13643   eval x=\"$x\"
   13644   exec_prefix="$acl_save_exec_prefix"
   13645   prefix="$acl_save_prefix"
   13646 
   13647       if test "X$x" = "X$element"; then
   13648         haveit=yes
   13649         break
   13650       fi
   13651     done
   13652     if test -z "$haveit"; then
   13653       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13654     fi
   13655   done
   13656 
   13657       fi
   13658 
   13659 
   13660 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   13661 
   13662 
   13663 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   13664 
   13665     fi
   13666 
   13667         POSUB=po
   13668   fi
   13669 
   13670 
   13671 
   13672     INTLLIBS="$LIBINTL"
   13673 
   13674 
   13675 
   13676 
   13677 
   13678 
   13679 fi
   13680 
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   13692 $as_echo_n "checking whether NLS is requested... " >&6; }
   13693 if test x"$USE_NLS" != xyes; then
   13694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13695 $as_echo "no" >&6; }
   13696 else
   13697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13698 $as_echo "yes" >&6; }
   13699 
   13700 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   13701 
   13702 
   13703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   13704 $as_echo_n "checking for catalogs to be installed... " >&6; }
   13705   # Look for .po and .gmo files in the source directory.
   13706   CATALOGS=
   13707   XLINGUAS=
   13708   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   13709     # If there aren't any .gmo files the shell will give us the
   13710     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   13711     # weeded out.
   13712     case "$cat" in *\**)
   13713       continue;;
   13714     esac
   13715     # The quadruple backslash is collapsed to a double backslash
   13716     # by the backticks, then collapsed again by the double quotes,
   13717     # leaving us with one backslash in the sed expression (right
   13718     # before the dot that mustn't act as a wildcard).
   13719     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   13720     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   13721     # The user is allowed to set LINGUAS to a list of languages to
   13722     # install catalogs for.  If it's empty that means "all of them."
   13723     if test "x$LINGUAS" = x; then
   13724       CATALOGS="$CATALOGS $cat"
   13725       XLINGUAS="$XLINGUAS $lang"
   13726     else
   13727       case "$LINGUAS" in *$lang*)
   13728         CATALOGS="$CATALOGS $cat"
   13729         XLINGUAS="$XLINGUAS $lang"
   13730         ;;
   13731       esac
   13732     fi
   13733   done
   13734   LINGUAS="$XLINGUAS"
   13735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   13736 $as_echo "$LINGUAS" >&6; }
   13737 
   13738 
   13739     DATADIRNAME=share
   13740 
   13741   INSTOBJEXT=.mo
   13742 
   13743   GENCAT=gencat
   13744 
   13745   CATOBJEXT=.gmo
   13746 
   13747 fi
   13748 
   13749 
   13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   13751 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   13752     # Check whether --enable-maintainer-mode was given.
   13753 if test "${enable_maintainer_mode+set}" = set; then :
   13754   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   13755 else
   13756   USE_MAINTAINER_MODE=no
   13757 fi
   13758 
   13759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   13760 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   13761    if test $USE_MAINTAINER_MODE = yes; then
   13762   MAINTAINER_MODE_TRUE=
   13763   MAINTAINER_MODE_FALSE='#'
   13764 else
   13765   MAINTAINER_MODE_TRUE='#'
   13766   MAINTAINER_MODE_FALSE=
   13767 fi
   13768 
   13769   MAINT=$MAINTAINER_MODE_TRUE
   13770 
   13771 
   13772  if false; then
   13773   GENINSRC_NEVER_TRUE=
   13774   GENINSRC_NEVER_FALSE='#'
   13775 else
   13776   GENINSRC_NEVER_TRUE='#'
   13777   GENINSRC_NEVER_FALSE=
   13778 fi
   13779 
   13780 
   13781 
   13782 for ac_header in sys/gmon_out.h
   13783 do :
   13784   ac_fn_c_check_header_mongrel "$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
   13785 if test "x$ac_cv_header_sys_gmon_out_h" = xyes; then :
   13786   cat >>confdefs.h <<_ACEOF
   13787 #define HAVE_SYS_GMON_OUT_H 1
   13788 _ACEOF
   13789 
   13790 fi
   13791 
   13792 done
   13793 
   13794 
   13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
   13796 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
   13797 if ${gprof_cv_decl_getopt_unistd_h+:} false; then :
   13798   $as_echo_n "(cached) " >&6
   13799 else
   13800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13801 /* end confdefs.h.  */
   13802 #include <unistd.h>
   13803 int
   13804 main ()
   13805 {
   13806 extern int getopt (int, char *const*, const char *);
   13807   ;
   13808   return 0;
   13809 }
   13810 _ACEOF
   13811 if ac_fn_c_try_compile "$LINENO"; then :
   13812   gprof_cv_decl_getopt_unistd_h=yes
   13813 else
   13814   gprof_cv_decl_getopt_unistd_h=no
   13815 fi
   13816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13817 fi
   13818 
   13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
   13820 $as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
   13821 if test $gprof_cv_decl_getopt_unistd_h = yes; then
   13822 
   13823 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
   13824 
   13825 fi
   13826 
   13827 # Some systems have fabs only in -lm, not in -lc.
   13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
   13829 $as_echo_n "checking for library containing fabs... " >&6; }
   13830 if ${ac_cv_search_fabs+:} false; then :
   13831   $as_echo_n "(cached) " >&6
   13832 else
   13833   ac_func_search_save_LIBS=$LIBS
   13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13835 /* end confdefs.h.  */
   13836 
   13837 /* Override any GCC internal prototype to avoid an error.
   13838    Use char because int might match the return type of a GCC
   13839    builtin and then its argument prototype would still apply.  */
   13840 #ifdef __cplusplus
   13841 extern "C"
   13842 #endif
   13843 char fabs ();
   13844 int
   13845 main ()
   13846 {
   13847 return fabs ();
   13848   ;
   13849   return 0;
   13850 }
   13851 _ACEOF
   13852 for ac_lib in '' m; do
   13853   if test -z "$ac_lib"; then
   13854     ac_res="none required"
   13855   else
   13856     ac_res=-l$ac_lib
   13857     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13858   fi
   13859   if ac_fn_c_try_link "$LINENO"; then :
   13860   ac_cv_search_fabs=$ac_res
   13861 fi
   13862 rm -f core conftest.err conftest.$ac_objext \
   13863     conftest$ac_exeext
   13864   if ${ac_cv_search_fabs+:} false; then :
   13865   break
   13866 fi
   13867 done
   13868 if ${ac_cv_search_fabs+:} false; then :
   13869 
   13870 else
   13871   ac_cv_search_fabs=no
   13872 fi
   13873 rm conftest.$ac_ext
   13874 LIBS=$ac_func_search_save_LIBS
   13875 fi
   13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
   13877 $as_echo "$ac_cv_search_fabs" >&6; }
   13878 ac_res=$ac_cv_search_fabs
   13879 if test "$ac_res" != no; then :
   13880   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13881 
   13882 fi
   13883 
   13884 
   13885 
   13886 # Set the 'development' global.
   13887 . $srcdir/../bfd/development.sh
   13888 
   13889 # Set acp_cpp_for_build variable
   13890 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   13891 
   13892 # Default set of GCC warnings to enable.
   13893 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   13894 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   13895 
   13896 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13898 /* end confdefs.h.  */
   13899 __GNUC__
   13900 _ACEOF
   13901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13902   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   13903 
   13904 else
   13905   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   13906 fi
   13907 rm -f conftest*
   13908 
   13909 
   13910 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13912 /* end confdefs.h.  */
   13913 __GNUC__
   13914 _ACEOF
   13915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13916   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   13917 
   13918 else
   13919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13920 /* end confdefs.h.  */
   13921 __clang__
   13922 _ACEOF
   13923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13924   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   13925   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   13926 fi
   13927 rm -f conftest*
   13928 
   13929 fi
   13930 rm -f conftest*
   13931 
   13932 
   13933 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   13934 WARN_WRITE_STRINGS=""
   13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13936 /* end confdefs.h.  */
   13937 __GNUC__
   13938 _ACEOF
   13939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13940   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   13941 
   13942 else
   13943   WARN_WRITE_STRINGS="-Wwrite-strings"
   13944 fi
   13945 rm -f conftest*
   13946 
   13947 
   13948 # Verify CC_FOR_BUILD to be compatible with warning flags
   13949 
   13950 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13952 /* end confdefs.h.  */
   13953 __GNUC__
   13954 _ACEOF
   13955 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   13956   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   13957 
   13958 else
   13959   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   13960 fi
   13961 rm -f conftest*
   13962 
   13963 
   13964 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   13965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13966 /* end confdefs.h.  */
   13967 __GNUC__
   13968 _ACEOF
   13969 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   13970   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   13971 
   13972 else
   13973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13974 /* end confdefs.h.  */
   13975 __clang__
   13976 _ACEOF
   13977 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   13978   $EGREP "^__clang__$" >/dev/null 2>&1; then :
   13979   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   13980 fi
   13981 rm -f conftest*
   13982 
   13983 fi
   13984 rm -f conftest*
   13985 
   13986 
   13987 # Check whether --enable-werror was given.
   13988 if test "${enable_werror+set}" = set; then :
   13989   enableval=$enable_werror; case "${enableval}" in
   13990      yes | y) ERROR_ON_WARNING="yes" ;;
   13991      no | n)  ERROR_ON_WARNING="no" ;;
   13992      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   13993    esac
   13994 fi
   13995 
   13996 
   13997 # Disable -Wformat by default when using gcc on mingw
   13998 case "${host}" in
   13999   *-*-mingw32*)
   14000     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   14001       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   14002       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   14003     fi
   14004     ;;
   14005   *) ;;
   14006 esac
   14007 
   14008 # Enable -Werror by default when using gcc.  Turn it off for releases.
   14009 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   14010     ERROR_ON_WARNING=yes
   14011 fi
   14012 
   14013 NO_WERROR=
   14014 if test "${ERROR_ON_WARNING}" = yes ; then
   14015     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   14016     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   14017     NO_WERROR="-Wno-error"
   14018 fi
   14019 
   14020 if test "${GCC}" = yes ; then
   14021   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   14022   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   14023 fi
   14024 
   14025 # Check whether --enable-build-warnings was given.
   14026 if test "${enable_build_warnings+set}" = set; then :
   14027   enableval=$enable_build_warnings; case "${enableval}" in
   14028   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   14029         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   14030   no)	if test "${GCC}" = yes ; then
   14031 	  WARN_CFLAGS="-w"
   14032       WARN_CFLAGS_FOR_BUILD="-w"
   14033 	fi;;
   14034   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   14035         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   14036         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   14037   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   14038         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   14039         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   14040   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   14041         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   14042 esac
   14043 fi
   14044 
   14045 
   14046 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   14047   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   14048 fi
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gprof tests can run" >&5
   14062 $as_echo_n "checking whether gprof tests can run... " >&6; }
   14063 if ${gprof_cv_sys_native+:} false; then :
   14064   $as_echo_n "(cached) " >&6
   14065 else
   14066     gprof_cv_sys_native=no
   14067   if test x"${host}" = x"${target}" \
   14068      && ${CC-cc} -O2 -fno-omit-frame-pointer -pg -o tst-gmon $srcdir/testsuite/tst-gmon.c; then
   14069     rm -f gmon.out
   14070     ./tst-gmon
   14071     if test -s gmon.out; then
   14072       gprof_cv_sys_native=yes
   14073     fi
   14074     rm -f tst-gmon gmon.out
   14075   fi
   14076 fi
   14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_sys_native" >&5
   14078 $as_echo "$gprof_cv_sys_native" >&6; }
   14079  if test "$gprof_cv_sys_native" = "yes"; then
   14080   NATIVE_TRUE=
   14081   NATIVE_FALSE='#'
   14082 else
   14083   NATIVE_TRUE='#'
   14084   NATIVE_FALSE=
   14085 fi
   14086 
   14087 
   14088 ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
   14089 
   14090 cat >confcache <<\_ACEOF
   14091 # This file is a shell script that caches the results of configure
   14092 # tests run on this system so they can be shared between configure
   14093 # scripts and configure runs, see configure's option --config-cache.
   14094 # It is not useful on other systems.  If it contains results you don't
   14095 # want to keep, you may remove or edit it.
   14096 #
   14097 # config.status only pays attention to the cache file if you give it
   14098 # the --recheck option to rerun configure.
   14099 #
   14100 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14101 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14102 # following values.
   14103 
   14104 _ACEOF
   14105 
   14106 # The following way of writing the cache mishandles newlines in values,
   14107 # but we know of no workaround that is simple, portable, and efficient.
   14108 # So, we kill variables containing newlines.
   14109 # Ultrix sh set writes to stderr and can't be redirected directly,
   14110 # and sets the high bit in the cache file unless we assign to the vars.
   14111 (
   14112   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14113     eval ac_val=\$$ac_var
   14114     case $ac_val in #(
   14115     *${as_nl}*)
   14116       case $ac_var in #(
   14117       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14118 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14119       esac
   14120       case $ac_var in #(
   14121       _ | IFS | as_nl) ;; #(
   14122       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14123       *) { eval $ac_var=; unset $ac_var;} ;;
   14124       esac ;;
   14125     esac
   14126   done
   14127 
   14128   (set) 2>&1 |
   14129     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14130     *${as_nl}ac_space=\ *)
   14131       # `set' does not quote correctly, so add quotes: double-quote
   14132       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14133       sed -n \
   14134 	"s/'/'\\\\''/g;
   14135 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14136       ;; #(
   14137     *)
   14138       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14139       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14140       ;;
   14141     esac |
   14142     sort
   14143 ) |
   14144   sed '
   14145      /^ac_cv_env_/b end
   14146      t clear
   14147      :clear
   14148      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14149      t end
   14150      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14151      :end' >>confcache
   14152 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14153   if test -w "$cache_file"; then
   14154     if test "x$cache_file" != "x/dev/null"; then
   14155       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14156 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14157       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14158 	cat confcache >"$cache_file"
   14159       else
   14160         case $cache_file in #(
   14161         */* | ?:*)
   14162 	  mv -f confcache "$cache_file"$$ &&
   14163 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14164         *)
   14165 	  mv -f confcache "$cache_file" ;;
   14166 	esac
   14167       fi
   14168     fi
   14169   else
   14170     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14171 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14172   fi
   14173 fi
   14174 rm -f confcache
   14175 
   14176 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14177 # Let make expand exec_prefix.
   14178 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14179 
   14180 DEFS=-DHAVE_CONFIG_H
   14181 
   14182 ac_libobjs=
   14183 ac_ltlibobjs=
   14184 U=
   14185 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14186   # 1. Remove the extension, and $U if already installed.
   14187   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14188   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14189   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14190   #    will be set to the directory where LIBOBJS objects are built.
   14191   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14192   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14193 done
   14194 LIBOBJS=$ac_libobjs
   14195 
   14196 LTLIBOBJS=$ac_ltlibobjs
   14197 
   14198 
   14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14200 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   14201    if test -n "$am_sleep_pid"; then
   14202      # Hide warnings about reused PIDs.
   14203      wait $am_sleep_pid 2>/dev/null
   14204    fi
   14205    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14206 $as_echo "done" >&6; }
   14207  if test -n "$EXEEXT"; then
   14208   am__EXEEXT_TRUE=
   14209   am__EXEEXT_FALSE='#'
   14210 else
   14211   am__EXEEXT_TRUE='#'
   14212   am__EXEEXT_FALSE=
   14213 fi
   14214 
   14215 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14216   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14218 fi
   14219 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14220   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14222 fi
   14223 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14224   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14226 fi
   14227 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   14228   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   14229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14230 fi
   14231 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
   14232   as_fn_error $? "conditional \"NATIVE\" was never defined.
   14233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14234 fi
   14235 
   14236 : "${CONFIG_STATUS=./config.status}"
   14237 ac_write_fail=0
   14238 ac_clean_files_save=$ac_clean_files
   14239 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14241 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14242 as_write_fail=0
   14243 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14244 #! $SHELL
   14245 # Generated by $as_me.
   14246 # Run this file to recreate the current configuration.
   14247 # Compiler output produced by configure, useful for debugging
   14248 # configure, is in config.log if it exists.
   14249 
   14250 debug=false
   14251 ac_cs_recheck=false
   14252 ac_cs_silent=false
   14253 
   14254 SHELL=\${CONFIG_SHELL-$SHELL}
   14255 export SHELL
   14256 _ASEOF
   14257 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14258 ## -------------------- ##
   14259 ## M4sh Initialization. ##
   14260 ## -------------------- ##
   14261 
   14262 # Be more Bourne compatible
   14263 DUALCASE=1; export DUALCASE # for MKS sh
   14264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14265   emulate sh
   14266   NULLCMD=:
   14267   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14268   # is contrary to our usage.  Disable this feature.
   14269   alias -g '${1+"$@"}'='"$@"'
   14270   setopt NO_GLOB_SUBST
   14271 else
   14272   case `(set -o) 2>/dev/null` in #(
   14273   *posix*) :
   14274     set -o posix ;; #(
   14275   *) :
   14276      ;;
   14277 esac
   14278 fi
   14279 
   14280 
   14281 as_nl='
   14282 '
   14283 export as_nl
   14284 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14285 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14286 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14287 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14288 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14289 # but without wasting forks for bash or zsh.
   14290 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14291     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14292   as_echo='print -r --'
   14293   as_echo_n='print -rn --'
   14294 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14295   as_echo='printf %s\n'
   14296   as_echo_n='printf %s'
   14297 else
   14298   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14299     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14300     as_echo_n='/usr/ucb/echo -n'
   14301   else
   14302     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14303     as_echo_n_body='eval
   14304       arg=$1;
   14305       case $arg in #(
   14306       *"$as_nl"*)
   14307 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14308 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14309       esac;
   14310       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14311     '
   14312     export as_echo_n_body
   14313     as_echo_n='sh -c $as_echo_n_body as_echo'
   14314   fi
   14315   export as_echo_body
   14316   as_echo='sh -c $as_echo_body as_echo'
   14317 fi
   14318 
   14319 # The user is always right.
   14320 if test "${PATH_SEPARATOR+set}" != set; then
   14321   PATH_SEPARATOR=:
   14322   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14323     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14324       PATH_SEPARATOR=';'
   14325   }
   14326 fi
   14327 
   14328 
   14329 # IFS
   14330 # We need space, tab and new line, in precisely that order.  Quoting is
   14331 # there to prevent editors from complaining about space-tab.
   14332 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14333 # splitting by setting IFS to empty value.)
   14334 IFS=" ""	$as_nl"
   14335 
   14336 # Find who we are.  Look in the path if we contain no directory separator.
   14337 as_myself=
   14338 case $0 in #((
   14339   *[\\/]* ) as_myself=$0 ;;
   14340   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14341 for as_dir in $PATH
   14342 do
   14343   IFS=$as_save_IFS
   14344   test -z "$as_dir" && as_dir=.
   14345     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14346   done
   14347 IFS=$as_save_IFS
   14348 
   14349      ;;
   14350 esac
   14351 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14352 # in which case we are not to be found in the path.
   14353 if test "x$as_myself" = x; then
   14354   as_myself=$0
   14355 fi
   14356 if test ! -f "$as_myself"; then
   14357   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14358   exit 1
   14359 fi
   14360 
   14361 # Unset variables that we do not need and which cause bugs (e.g. in
   14362 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14363 # suppresses any "Segmentation fault" message there.  '((' could
   14364 # trigger a bug in pdksh 5.2.14.
   14365 for as_var in BASH_ENV ENV MAIL MAILPATH
   14366 do eval test x\${$as_var+set} = xset \
   14367   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14368 done
   14369 PS1='$ '
   14370 PS2='> '
   14371 PS4='+ '
   14372 
   14373 # NLS nuisances.
   14374 LC_ALL=C
   14375 export LC_ALL
   14376 LANGUAGE=C
   14377 export LANGUAGE
   14378 
   14379 # CDPATH.
   14380 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14381 
   14382 
   14383 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14384 # ----------------------------------------
   14385 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14386 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14387 # script with STATUS, using 1 if that was 0.
   14388 as_fn_error ()
   14389 {
   14390   as_status=$1; test $as_status -eq 0 && as_status=1
   14391   if test "$4"; then
   14392     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14393     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14394   fi
   14395   $as_echo "$as_me: error: $2" >&2
   14396   as_fn_exit $as_status
   14397 } # as_fn_error
   14398 
   14399 
   14400 # as_fn_set_status STATUS
   14401 # -----------------------
   14402 # Set $? to STATUS, without forking.
   14403 as_fn_set_status ()
   14404 {
   14405   return $1
   14406 } # as_fn_set_status
   14407 
   14408 # as_fn_exit STATUS
   14409 # -----------------
   14410 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14411 as_fn_exit ()
   14412 {
   14413   set +e
   14414   as_fn_set_status $1
   14415   exit $1
   14416 } # as_fn_exit
   14417 
   14418 # as_fn_unset VAR
   14419 # ---------------
   14420 # Portably unset VAR.
   14421 as_fn_unset ()
   14422 {
   14423   { eval $1=; unset $1;}
   14424 }
   14425 as_unset=as_fn_unset
   14426 # as_fn_append VAR VALUE
   14427 # ----------------------
   14428 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14429 # advantage of any shell optimizations that allow amortized linear growth over
   14430 # repeated appends, instead of the typical quadratic growth present in naive
   14431 # implementations.
   14432 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14433   eval 'as_fn_append ()
   14434   {
   14435     eval $1+=\$2
   14436   }'
   14437 else
   14438   as_fn_append ()
   14439   {
   14440     eval $1=\$$1\$2
   14441   }
   14442 fi # as_fn_append
   14443 
   14444 # as_fn_arith ARG...
   14445 # ------------------
   14446 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14447 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14448 # must be portable across $(()) and expr.
   14449 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14450   eval 'as_fn_arith ()
   14451   {
   14452     as_val=$(( $* ))
   14453   }'
   14454 else
   14455   as_fn_arith ()
   14456   {
   14457     as_val=`expr "$@" || test $? -eq 1`
   14458   }
   14459 fi # as_fn_arith
   14460 
   14461 
   14462 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14463    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14464   as_expr=expr
   14465 else
   14466   as_expr=false
   14467 fi
   14468 
   14469 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14470   as_basename=basename
   14471 else
   14472   as_basename=false
   14473 fi
   14474 
   14475 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14476   as_dirname=dirname
   14477 else
   14478   as_dirname=false
   14479 fi
   14480 
   14481 as_me=`$as_basename -- "$0" ||
   14482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14483 	 X"$0" : 'X\(//\)$' \| \
   14484 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14485 $as_echo X/"$0" |
   14486     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14487 	    s//\1/
   14488 	    q
   14489 	  }
   14490 	  /^X\/\(\/\/\)$/{
   14491 	    s//\1/
   14492 	    q
   14493 	  }
   14494 	  /^X\/\(\/\).*/{
   14495 	    s//\1/
   14496 	    q
   14497 	  }
   14498 	  s/.*/./; q'`
   14499 
   14500 # Avoid depending upon Character Ranges.
   14501 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14502 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14503 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14504 as_cr_digits='0123456789'
   14505 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14506 
   14507 ECHO_C= ECHO_N= ECHO_T=
   14508 case `echo -n x` in #(((((
   14509 -n*)
   14510   case `echo 'xy\c'` in
   14511   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14512   xy)  ECHO_C='\c';;
   14513   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14514        ECHO_T='	';;
   14515   esac;;
   14516 *)
   14517   ECHO_N='-n';;
   14518 esac
   14519 
   14520 rm -f conf$$ conf$$.exe conf$$.file
   14521 if test -d conf$$.dir; then
   14522   rm -f conf$$.dir/conf$$.file
   14523 else
   14524   rm -f conf$$.dir
   14525   mkdir conf$$.dir 2>/dev/null
   14526 fi
   14527 if (echo >conf$$.file) 2>/dev/null; then
   14528   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14529     as_ln_s='ln -s'
   14530     # ... but there are two gotchas:
   14531     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14532     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14533     # In both cases, we have to default to `cp -pR'.
   14534     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14535       as_ln_s='cp -pR'
   14536   elif ln conf$$.file conf$$ 2>/dev/null; then
   14537     as_ln_s=ln
   14538   else
   14539     as_ln_s='cp -pR'
   14540   fi
   14541 else
   14542   as_ln_s='cp -pR'
   14543 fi
   14544 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14545 rmdir conf$$.dir 2>/dev/null
   14546 
   14547 
   14548 # as_fn_mkdir_p
   14549 # -------------
   14550 # Create "$as_dir" as a directory, including parents if necessary.
   14551 as_fn_mkdir_p ()
   14552 {
   14553 
   14554   case $as_dir in #(
   14555   -*) as_dir=./$as_dir;;
   14556   esac
   14557   test -d "$as_dir" || eval $as_mkdir_p || {
   14558     as_dirs=
   14559     while :; do
   14560       case $as_dir in #(
   14561       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14562       *) as_qdir=$as_dir;;
   14563       esac
   14564       as_dirs="'$as_qdir' $as_dirs"
   14565       as_dir=`$as_dirname -- "$as_dir" ||
   14566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14567 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14568 	 X"$as_dir" : 'X\(//\)$' \| \
   14569 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14570 $as_echo X"$as_dir" |
   14571     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14572 	    s//\1/
   14573 	    q
   14574 	  }
   14575 	  /^X\(\/\/\)[^/].*/{
   14576 	    s//\1/
   14577 	    q
   14578 	  }
   14579 	  /^X\(\/\/\)$/{
   14580 	    s//\1/
   14581 	    q
   14582 	  }
   14583 	  /^X\(\/\).*/{
   14584 	    s//\1/
   14585 	    q
   14586 	  }
   14587 	  s/.*/./; q'`
   14588       test -d "$as_dir" && break
   14589     done
   14590     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14591   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14592 
   14593 
   14594 } # as_fn_mkdir_p
   14595 if mkdir -p . 2>/dev/null; then
   14596   as_mkdir_p='mkdir -p "$as_dir"'
   14597 else
   14598   test -d ./-p && rmdir ./-p
   14599   as_mkdir_p=false
   14600 fi
   14601 
   14602 
   14603 # as_fn_executable_p FILE
   14604 # -----------------------
   14605 # Test if FILE is an executable regular file.
   14606 as_fn_executable_p ()
   14607 {
   14608   test -f "$1" && test -x "$1"
   14609 } # as_fn_executable_p
   14610 as_test_x='test -x'
   14611 as_executable_p=as_fn_executable_p
   14612 
   14613 # Sed expression to map a string onto a valid CPP name.
   14614 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14615 
   14616 # Sed expression to map a string onto a valid variable name.
   14617 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14618 
   14619 
   14620 exec 6>&1
   14621 ## ----------------------------------- ##
   14622 ## Main body of $CONFIG_STATUS script. ##
   14623 ## ----------------------------------- ##
   14624 _ASEOF
   14625 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14626 
   14627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14628 # Save the log message, to keep $0 and so on meaningful, and to
   14629 # report actual input values of CONFIG_FILES etc. instead of their
   14630 # values after options handling.
   14631 ac_log="
   14632 This file was extended by gprof $as_me 2.46.0, which was
   14633 generated by GNU Autoconf 2.69.  Invocation command line was
   14634 
   14635   CONFIG_FILES    = $CONFIG_FILES
   14636   CONFIG_HEADERS  = $CONFIG_HEADERS
   14637   CONFIG_LINKS    = $CONFIG_LINKS
   14638   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14639   $ $0 $@
   14640 
   14641 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14642 "
   14643 
   14644 _ACEOF
   14645 
   14646 case $ac_config_files in *"
   14647 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14648 esac
   14649 
   14650 case $ac_config_headers in *"
   14651 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14652 esac
   14653 
   14654 
   14655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14656 # Files that config.status was made for.
   14657 config_files="$ac_config_files"
   14658 config_headers="$ac_config_headers"
   14659 config_commands="$ac_config_commands"
   14660 
   14661 _ACEOF
   14662 
   14663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14664 ac_cs_usage="\
   14665 \`$as_me' instantiates files and other configuration actions
   14666 from templates according to the current configuration.  Unless the files
   14667 and actions are specified as TAGs, all are instantiated by default.
   14668 
   14669 Usage: $0 [OPTION]... [TAG]...
   14670 
   14671   -h, --help       print this help, then exit
   14672   -V, --version    print version number and configuration settings, then exit
   14673       --config     print configuration, then exit
   14674   -q, --quiet, --silent
   14675                    do not print progress messages
   14676   -d, --debug      don't remove temporary files
   14677       --recheck    update $as_me by reconfiguring in the same conditions
   14678       --file=FILE[:TEMPLATE]
   14679                    instantiate the configuration file FILE
   14680       --header=FILE[:TEMPLATE]
   14681                    instantiate the configuration header FILE
   14682 
   14683 Configuration files:
   14684 $config_files
   14685 
   14686 Configuration headers:
   14687 $config_headers
   14688 
   14689 Configuration commands:
   14690 $config_commands
   14691 
   14692 Report bugs to the package provider."
   14693 
   14694 _ACEOF
   14695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14696 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   14697 ac_cs_version="\\
   14698 gprof config.status 2.46.0
   14699 configured by $0, generated by GNU Autoconf 2.69,
   14700   with options \\"\$ac_cs_config\\"
   14701 
   14702 Copyright (C) 2012 Free Software Foundation, Inc.
   14703 This config.status script is free software; the Free Software Foundation
   14704 gives unlimited permission to copy, distribute and modify it."
   14705 
   14706 ac_pwd='$ac_pwd'
   14707 srcdir='$srcdir'
   14708 INSTALL='$INSTALL'
   14709 MKDIR_P='$MKDIR_P'
   14710 AWK='$AWK'
   14711 test -n "\$AWK" || AWK=awk
   14712 _ACEOF
   14713 
   14714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14715 # The default lists apply if the user does not specify any file.
   14716 ac_need_defaults=:
   14717 while test $# != 0
   14718 do
   14719   case $1 in
   14720   --*=?*)
   14721     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14722     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14723     ac_shift=:
   14724     ;;
   14725   --*=)
   14726     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14727     ac_optarg=
   14728     ac_shift=:
   14729     ;;
   14730   *)
   14731     ac_option=$1
   14732     ac_optarg=$2
   14733     ac_shift=shift
   14734     ;;
   14735   esac
   14736 
   14737   case $ac_option in
   14738   # Handling of the options.
   14739   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14740     ac_cs_recheck=: ;;
   14741   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14742     $as_echo "$ac_cs_version"; exit ;;
   14743   --config | --confi | --conf | --con | --co | --c )
   14744     $as_echo "$ac_cs_config"; exit ;;
   14745   --debug | --debu | --deb | --de | --d | -d )
   14746     debug=: ;;
   14747   --file | --fil | --fi | --f )
   14748     $ac_shift
   14749     case $ac_optarg in
   14750     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14751     '') as_fn_error $? "missing file argument" ;;
   14752     esac
   14753     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14754     ac_need_defaults=false;;
   14755   --header | --heade | --head | --hea )
   14756     $ac_shift
   14757     case $ac_optarg in
   14758     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14759     esac
   14760     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   14761     ac_need_defaults=false;;
   14762   --he | --h)
   14763     # Conflict between --help and --header
   14764     as_fn_error $? "ambiguous option: \`$1'
   14765 Try \`$0 --help' for more information.";;
   14766   --help | --hel | -h )
   14767     $as_echo "$ac_cs_usage"; exit ;;
   14768   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14769   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14770     ac_cs_silent=: ;;
   14771 
   14772   # This is an error.
   14773   -*) as_fn_error $? "unrecognized option: \`$1'
   14774 Try \`$0 --help' for more information." ;;
   14775 
   14776   *) as_fn_append ac_config_targets " $1"
   14777      ac_need_defaults=false ;;
   14778 
   14779   esac
   14780   shift
   14781 done
   14782 
   14783 ac_configure_extra_args=
   14784 
   14785 if $ac_cs_silent; then
   14786   exec 6>/dev/null
   14787   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14788 fi
   14789 
   14790 _ACEOF
   14791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14792 if \$ac_cs_recheck; then
   14793   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14794   shift
   14795   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14796   CONFIG_SHELL='$SHELL'
   14797   export CONFIG_SHELL
   14798   exec "\$@"
   14799 fi
   14800 
   14801 _ACEOF
   14802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14803 exec 5>>config.log
   14804 {
   14805   echo
   14806   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14807 ## Running $as_me. ##
   14808 _ASBOX
   14809   $as_echo "$ac_log"
   14810 } >&5
   14811 
   14812 _ACEOF
   14813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14814 #
   14815 # INIT-COMMANDS
   14816 #
   14817 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14818 
   14819 
   14820 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14821 # if CDPATH is set.
   14822 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14823 
   14824 sed_quote_subst='$sed_quote_subst'
   14825 double_quote_subst='$double_quote_subst'
   14826 delay_variable_subst='$delay_variable_subst'
   14827 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   14828 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   14829 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   14830 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   14831 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   14832 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   14833 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   14834 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   14835 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   14836 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   14837 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   14838 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   14839 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   14840 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   14841 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   14842 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   14843 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   14844 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   14845 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   14846 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   14847 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   14848 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   14849 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   14850 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   14851 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   14852 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   14853 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   14854 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   14855 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   14856 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   14857 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   14858 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   14859 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   14860 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   14861 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   14862 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   14863 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   14864 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   14865 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   14866 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   14867 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   14868 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   14869 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   14870 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   14871 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   14872 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   14873 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   14874 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   14875 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"`'
   14876 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   14877 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   14878 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   14879 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   14880 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   14881 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   14882 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   14883 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   14884 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   14885 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   14886 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   14887 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   14888 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   14889 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   14890 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   14891 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   14892 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   14893 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   14894 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   14895 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   14896 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   14897 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   14898 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   14899 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   14900 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   14901 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   14902 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   14903 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   14904 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   14905 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   14906 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   14907 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   14908 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   14909 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   14910 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   14911 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   14912 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   14913 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   14914 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   14915 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   14916 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   14917 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   14918 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   14919 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   14920 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   14921 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   14922 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   14923 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   14924 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   14925 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   14926 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   14927 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   14928 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   14929 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   14930 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   14931 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   14932 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   14933 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   14934 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   14935 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   14936 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   14937 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   14938 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   14939 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   14940 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   14941 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   14942 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   14943 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   14944 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   14945 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   14946 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   14947 
   14948 LTCC='$LTCC'
   14949 LTCFLAGS='$LTCFLAGS'
   14950 compiler='$compiler_DEFAULT'
   14951 
   14952 # A function that is used when there is no print builtin or printf.
   14953 func_fallback_echo ()
   14954 {
   14955   eval 'cat <<_LTECHO_EOF
   14956 \$1
   14957 _LTECHO_EOF'
   14958 }
   14959 
   14960 # Quote evaled strings.
   14961 for var in SHELL \
   14962 ECHO \
   14963 SED \
   14964 GREP \
   14965 EGREP \
   14966 FGREP \
   14967 LD \
   14968 NM \
   14969 LN_S \
   14970 lt_SP2NL \
   14971 lt_NL2SP \
   14972 reload_flag \
   14973 OBJDUMP \
   14974 deplibs_check_method \
   14975 file_magic_cmd \
   14976 AR \
   14977 AR_FLAGS \
   14978 STRIP \
   14979 RANLIB \
   14980 CC \
   14981 CFLAGS \
   14982 compiler \
   14983 lt_cv_sys_global_symbol_pipe \
   14984 lt_cv_sys_global_symbol_to_cdecl \
   14985 lt_cv_sys_global_symbol_to_c_name_address \
   14986 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14987 lt_prog_compiler_no_builtin_flag \
   14988 lt_prog_compiler_wl \
   14989 lt_prog_compiler_pic \
   14990 lt_prog_compiler_static \
   14991 lt_cv_prog_compiler_c_o \
   14992 need_locks \
   14993 DSYMUTIL \
   14994 NMEDIT \
   14995 LIPO \
   14996 OTOOL \
   14997 OTOOL64 \
   14998 shrext_cmds \
   14999 export_dynamic_flag_spec \
   15000 whole_archive_flag_spec \
   15001 compiler_needs_object \
   15002 with_gnu_ld \
   15003 allow_undefined_flag \
   15004 no_undefined_flag \
   15005 hardcode_libdir_flag_spec \
   15006 hardcode_libdir_flag_spec_ld \
   15007 hardcode_libdir_separator \
   15008 fix_srcfile_path \
   15009 exclude_expsyms \
   15010 include_expsyms \
   15011 file_list_spec \
   15012 variables_saved_for_relink \
   15013 libname_spec \
   15014 library_names_spec \
   15015 soname_spec \
   15016 install_override_mode \
   15017 finish_eval \
   15018 old_striplib \
   15019 striplib; do
   15020     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15021     *[\\\\\\\`\\"\\\$]*)
   15022       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15023       ;;
   15024     *)
   15025       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15026       ;;
   15027     esac
   15028 done
   15029 
   15030 # Double-quote double-evaled strings.
   15031 for var in reload_cmds \
   15032 old_postinstall_cmds \
   15033 old_postuninstall_cmds \
   15034 old_archive_cmds \
   15035 extract_expsyms_cmds \
   15036 old_archive_from_new_cmds \
   15037 old_archive_from_expsyms_cmds \
   15038 archive_cmds \
   15039 archive_expsym_cmds \
   15040 module_cmds \
   15041 module_expsym_cmds \
   15042 export_symbols_cmds \
   15043 prelink_cmds \
   15044 postinstall_cmds \
   15045 postuninstall_cmds \
   15046 finish_cmds \
   15047 sys_lib_search_path_spec \
   15048 sys_lib_dlsearch_path_spec; do
   15049     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15050     *[\\\\\\\`\\"\\\$]*)
   15051       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15052       ;;
   15053     *)
   15054       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15055       ;;
   15056     esac
   15057 done
   15058 
   15059 ac_aux_dir='$ac_aux_dir'
   15060 xsi_shell='$xsi_shell'
   15061 lt_shell_append='$lt_shell_append'
   15062 
   15063 # See if we are running on zsh, and set the options which allow our
   15064 # commands through without removal of \ escapes INIT.
   15065 if test -n "\${ZSH_VERSION+set}" ; then
   15066    setopt NO_GLOB_SUBST
   15067 fi
   15068 
   15069 
   15070     PACKAGE='$PACKAGE'
   15071     VERSION='$VERSION'
   15072     TIMESTAMP='$TIMESTAMP'
   15073     RM='$RM'
   15074     ofile='$ofile'
   15075 
   15076 
   15077 
   15078 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   15079     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   15080     # from automake.
   15081     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   15082     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   15083     LINGUAS="${LINGUAS-%UNSET%}"
   15084 
   15085 
   15086 _ACEOF
   15087 
   15088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15089 
   15090 # Handling of arguments.
   15091 for ac_config_target in $ac_config_targets
   15092 do
   15093   case $ac_config_target in
   15094     "gconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
   15095     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15096     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15097     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   15098     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15099     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
   15100     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   15101 
   15102   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15103   esac
   15104 done
   15105 
   15106 
   15107 # If the user did not use the arguments to specify the items to instantiate,
   15108 # then the envvar interface is used.  Set only those that are not.
   15109 # We use the long form for the default assignment because of an extremely
   15110 # bizarre bug on SunOS 4.1.3.
   15111 if $ac_need_defaults; then
   15112   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15113   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15114   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15115 fi
   15116 
   15117 # Have a temporary directory for convenience.  Make it in the build tree
   15118 # simply because there is no reason against having it here, and in addition,
   15119 # creating and moving files from /tmp can sometimes cause problems.
   15120 # Hook for its removal unless debugging.
   15121 # Note that there is a small window in which the directory will not be cleaned:
   15122 # after its creation but before its name has been assigned to `$tmp'.
   15123 $debug ||
   15124 {
   15125   tmp= ac_tmp=
   15126   trap 'exit_status=$?
   15127   : "${ac_tmp:=$tmp}"
   15128   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15129 ' 0
   15130   trap 'as_fn_exit 1' 1 2 13 15
   15131 }
   15132 # Create a (secure) tmp directory for tmp files.
   15133 
   15134 {
   15135   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15136   test -d "$tmp"
   15137 }  ||
   15138 {
   15139   tmp=./conf$$-$RANDOM
   15140   (umask 077 && mkdir "$tmp")
   15141 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15142 ac_tmp=$tmp
   15143 
   15144 # Set up the scripts for CONFIG_FILES section.
   15145 # No need to generate them if there are no CONFIG_FILES.
   15146 # This happens for instance with `./config.status config.h'.
   15147 if test -n "$CONFIG_FILES"; then
   15148 
   15149 
   15150 ac_cr=`echo X | tr X '\015'`
   15151 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15152 # But we know of no other shell where ac_cr would be empty at this
   15153 # point, so we can use a bashism as a fallback.
   15154 if test "x$ac_cr" = x; then
   15155   eval ac_cr=\$\'\\r\'
   15156 fi
   15157 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15158 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15159   ac_cs_awk_cr='\\r'
   15160 else
   15161   ac_cs_awk_cr=$ac_cr
   15162 fi
   15163 
   15164 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15165 _ACEOF
   15166 
   15167 
   15168 {
   15169   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15170   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15171   echo "_ACEOF"
   15172 } >conf$$subs.sh ||
   15173   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15175 ac_delim='%!_!# '
   15176 for ac_last_try in false false false false false :; do
   15177   . ./conf$$subs.sh ||
   15178     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15179 
   15180   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15181   if test $ac_delim_n = $ac_delim_num; then
   15182     break
   15183   elif $ac_last_try; then
   15184     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15185   else
   15186     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15187   fi
   15188 done
   15189 rm -f conf$$subs.sh
   15190 
   15191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15192 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15193 _ACEOF
   15194 sed -n '
   15195 h
   15196 s/^/S["/; s/!.*/"]=/
   15197 p
   15198 g
   15199 s/^[^!]*!//
   15200 :repl
   15201 t repl
   15202 s/'"$ac_delim"'$//
   15203 t delim
   15204 :nl
   15205 h
   15206 s/\(.\{148\}\)..*/\1/
   15207 t more1
   15208 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15209 p
   15210 n
   15211 b repl
   15212 :more1
   15213 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15214 p
   15215 g
   15216 s/.\{148\}//
   15217 t nl
   15218 :delim
   15219 h
   15220 s/\(.\{148\}\)..*/\1/
   15221 t more2
   15222 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15223 p
   15224 b
   15225 :more2
   15226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15227 p
   15228 g
   15229 s/.\{148\}//
   15230 t delim
   15231 ' <conf$$subs.awk | sed '
   15232 /^[^""]/{
   15233   N
   15234   s/\n//
   15235 }
   15236 ' >>$CONFIG_STATUS || ac_write_fail=1
   15237 rm -f conf$$subs.awk
   15238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15239 _ACAWK
   15240 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15241   for (key in S) S_is_set[key] = 1
   15242   FS = ""
   15243 
   15244 }
   15245 {
   15246   line = $ 0
   15247   nfields = split(line, field, "@")
   15248   substed = 0
   15249   len = length(field[1])
   15250   for (i = 2; i < nfields; i++) {
   15251     key = field[i]
   15252     keylen = length(key)
   15253     if (S_is_set[key]) {
   15254       value = S[key]
   15255       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15256       len += length(value) + length(field[++i])
   15257       substed = 1
   15258     } else
   15259       len += 1 + keylen
   15260   }
   15261 
   15262   print line
   15263 }
   15264 
   15265 _ACAWK
   15266 _ACEOF
   15267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15268 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15269   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15270 else
   15271   cat
   15272 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15273   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15274 _ACEOF
   15275 
   15276 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15277 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15278 # trailing colons and then remove the whole line if VPATH becomes empty
   15279 # (actually we leave an empty line to preserve line numbers).
   15280 if test "x$srcdir" = x.; then
   15281   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15282 h
   15283 s///
   15284 s/^/:/
   15285 s/[	 ]*$/:/
   15286 s/:\$(srcdir):/:/g
   15287 s/:\${srcdir}:/:/g
   15288 s/:@srcdir@:/:/g
   15289 s/^:*//
   15290 s/:*$//
   15291 x
   15292 s/\(=[	 ]*\).*/\1/
   15293 G
   15294 s/\n//
   15295 s/^[^=]*=[	 ]*$//
   15296 }'
   15297 fi
   15298 
   15299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15300 fi # test -n "$CONFIG_FILES"
   15301 
   15302 # Set up the scripts for CONFIG_HEADERS section.
   15303 # No need to generate them if there are no CONFIG_HEADERS.
   15304 # This happens for instance with `./config.status Makefile'.
   15305 if test -n "$CONFIG_HEADERS"; then
   15306 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15307 BEGIN {
   15308 _ACEOF
   15309 
   15310 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15311 # here-document in config.status, that substitutes the proper values into
   15312 # config.h.in to produce config.h.
   15313 
   15314 # Create a delimiter string that does not exist in confdefs.h, to ease
   15315 # handling of long lines.
   15316 ac_delim='%!_!# '
   15317 for ac_last_try in false false :; do
   15318   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15319   if test -z "$ac_tt"; then
   15320     break
   15321   elif $ac_last_try; then
   15322     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15323   else
   15324     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15325   fi
   15326 done
   15327 
   15328 # For the awk script, D is an array of macro values keyed by name,
   15329 # likewise P contains macro parameters if any.  Preserve backslash
   15330 # newline sequences.
   15331 
   15332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15333 sed -n '
   15334 s/.\{148\}/&'"$ac_delim"'/g
   15335 t rset
   15336 :rset
   15337 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15338 t def
   15339 d
   15340 :def
   15341 s/\\$//
   15342 t bsnl
   15343 s/["\\]/\\&/g
   15344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15345 D["\1"]=" \3"/p
   15346 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15347 d
   15348 :bsnl
   15349 s/["\\]/\\&/g
   15350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15351 D["\1"]=" \3\\\\\\n"\\/p
   15352 t cont
   15353 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15354 t cont
   15355 d
   15356 :cont
   15357 n
   15358 s/.\{148\}/&'"$ac_delim"'/g
   15359 t clear
   15360 :clear
   15361 s/\\$//
   15362 t bsnlc
   15363 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15364 d
   15365 :bsnlc
   15366 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15367 b cont
   15368 ' <confdefs.h | sed '
   15369 s/'"$ac_delim"'/"\\\
   15370 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15371 
   15372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15373   for (key in D) D_is_set[key] = 1
   15374   FS = ""
   15375 }
   15376 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15377   line = \$ 0
   15378   split(line, arg, " ")
   15379   if (arg[1] == "#") {
   15380     defundef = arg[2]
   15381     mac1 = arg[3]
   15382   } else {
   15383     defundef = substr(arg[1], 2)
   15384     mac1 = arg[2]
   15385   }
   15386   split(mac1, mac2, "(") #)
   15387   macro = mac2[1]
   15388   prefix = substr(line, 1, index(line, defundef) - 1)
   15389   if (D_is_set[macro]) {
   15390     # Preserve the white space surrounding the "#".
   15391     print prefix "define", macro P[macro] D[macro]
   15392     next
   15393   } else {
   15394     # Replace #undef with comments.  This is necessary, for example,
   15395     # in the case of _POSIX_SOURCE, which is predefined and required
   15396     # on some systems where configure will not decide to define it.
   15397     if (defundef == "undef") {
   15398       print "/*", prefix defundef, macro, "*/"
   15399       next
   15400     }
   15401   }
   15402 }
   15403 { print }
   15404 _ACAWK
   15405 _ACEOF
   15406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15407   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15408 fi # test -n "$CONFIG_HEADERS"
   15409 
   15410 
   15411 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15412 shift
   15413 for ac_tag
   15414 do
   15415   case $ac_tag in
   15416   :[FHLC]) ac_mode=$ac_tag; continue;;
   15417   esac
   15418   case $ac_mode$ac_tag in
   15419   :[FHL]*:*);;
   15420   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15421   :[FH]-) ac_tag=-:-;;
   15422   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15423   esac
   15424   ac_save_IFS=$IFS
   15425   IFS=:
   15426   set x $ac_tag
   15427   IFS=$ac_save_IFS
   15428   shift
   15429   ac_file=$1
   15430   shift
   15431 
   15432   case $ac_mode in
   15433   :L) ac_source=$1;;
   15434   :[FH])
   15435     ac_file_inputs=
   15436     for ac_f
   15437     do
   15438       case $ac_f in
   15439       -) ac_f="$ac_tmp/stdin";;
   15440       *) # Look for the file first in the build tree, then in the source tree
   15441 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15442 	 # because $ac_f cannot contain `:'.
   15443 	 test -f "$ac_f" ||
   15444 	   case $ac_f in
   15445 	   [\\/$]*) false;;
   15446 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15447 	   esac ||
   15448 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15449       esac
   15450       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15451       as_fn_append ac_file_inputs " '$ac_f'"
   15452     done
   15453 
   15454     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15455     # use $as_me), people would be surprised to read:
   15456     #    /* config.h.  Generated by config.status.  */
   15457     configure_input='Generated from '`
   15458 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15459 	`' by configure.'
   15460     if test x"$ac_file" != x-; then
   15461       configure_input="$ac_file.  $configure_input"
   15462       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15463 $as_echo "$as_me: creating $ac_file" >&6;}
   15464     fi
   15465     # Neutralize special characters interpreted by sed in replacement strings.
   15466     case $configure_input in #(
   15467     *\&* | *\|* | *\\* )
   15468        ac_sed_conf_input=`$as_echo "$configure_input" |
   15469        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15470     *) ac_sed_conf_input=$configure_input;;
   15471     esac
   15472 
   15473     case $ac_tag in
   15474     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15475       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15476     esac
   15477     ;;
   15478   esac
   15479 
   15480   ac_dir=`$as_dirname -- "$ac_file" ||
   15481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15482 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15483 	 X"$ac_file" : 'X\(//\)$' \| \
   15484 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15485 $as_echo X"$ac_file" |
   15486     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15487 	    s//\1/
   15488 	    q
   15489 	  }
   15490 	  /^X\(\/\/\)[^/].*/{
   15491 	    s//\1/
   15492 	    q
   15493 	  }
   15494 	  /^X\(\/\/\)$/{
   15495 	    s//\1/
   15496 	    q
   15497 	  }
   15498 	  /^X\(\/\).*/{
   15499 	    s//\1/
   15500 	    q
   15501 	  }
   15502 	  s/.*/./; q'`
   15503   as_dir="$ac_dir"; as_fn_mkdir_p
   15504   ac_builddir=.
   15505 
   15506 case "$ac_dir" in
   15507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15508 *)
   15509   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15510   # A ".." for each directory in $ac_dir_suffix.
   15511   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15512   case $ac_top_builddir_sub in
   15513   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15514   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15515   esac ;;
   15516 esac
   15517 ac_abs_top_builddir=$ac_pwd
   15518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15519 # for backward compatibility:
   15520 ac_top_builddir=$ac_top_build_prefix
   15521 
   15522 case $srcdir in
   15523   .)  # We are building in place.
   15524     ac_srcdir=.
   15525     ac_top_srcdir=$ac_top_builddir_sub
   15526     ac_abs_top_srcdir=$ac_pwd ;;
   15527   [\\/]* | ?:[\\/]* )  # Absolute name.
   15528     ac_srcdir=$srcdir$ac_dir_suffix;
   15529     ac_top_srcdir=$srcdir
   15530     ac_abs_top_srcdir=$srcdir ;;
   15531   *) # Relative name.
   15532     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15533     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15534     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15535 esac
   15536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15537 
   15538 
   15539   case $ac_mode in
   15540   :F)
   15541   #
   15542   # CONFIG_FILE
   15543   #
   15544 
   15545   case $INSTALL in
   15546   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15547   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15548   esac
   15549   ac_MKDIR_P=$MKDIR_P
   15550   case $MKDIR_P in
   15551   [\\/$]* | ?:[\\/]* ) ;;
   15552   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15553   esac
   15554 _ACEOF
   15555 
   15556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15557 # If the template does not know about datarootdir, expand it.
   15558 # FIXME: This hack should be removed a few years after 2.60.
   15559 ac_datarootdir_hack=; ac_datarootdir_seen=
   15560 ac_sed_dataroot='
   15561 /datarootdir/ {
   15562   p
   15563   q
   15564 }
   15565 /@datadir@/p
   15566 /@docdir@/p
   15567 /@infodir@/p
   15568 /@localedir@/p
   15569 /@mandir@/p'
   15570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15571 *datarootdir*) ac_datarootdir_seen=yes;;
   15572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15573   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15575 _ACEOF
   15576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15577   ac_datarootdir_hack='
   15578   s&@datadir@&$datadir&g
   15579   s&@docdir@&$docdir&g
   15580   s&@infodir@&$infodir&g
   15581   s&@localedir@&$localedir&g
   15582   s&@mandir@&$mandir&g
   15583   s&\\\${datarootdir}&$datarootdir&g' ;;
   15584 esac
   15585 _ACEOF
   15586 
   15587 # Neutralize VPATH when `$srcdir' = `.'.
   15588 # Shell code in configure.ac might set extrasub.
   15589 # FIXME: do we really want to maintain this feature?
   15590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15591 ac_sed_extra="$ac_vpsub
   15592 $extrasub
   15593 _ACEOF
   15594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15595 :t
   15596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15597 s|@configure_input@|$ac_sed_conf_input|;t t
   15598 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15600 s&@srcdir@&$ac_srcdir&;t t
   15601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15602 s&@top_srcdir@&$ac_top_srcdir&;t t
   15603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15604 s&@builddir@&$ac_builddir&;t t
   15605 s&@abs_builddir@&$ac_abs_builddir&;t t
   15606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15607 s&@INSTALL@&$ac_INSTALL&;t t
   15608 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15609 $ac_datarootdir_hack
   15610 "
   15611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   15612   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15613 
   15614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15615   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15616   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15617       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15618   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15619 which seems to be undefined.  Please make sure it is defined" >&5
   15620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15621 which seems to be undefined.  Please make sure it is defined" >&2;}
   15622 
   15623   rm -f "$ac_tmp/stdin"
   15624   case $ac_file in
   15625   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15626   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15627   esac \
   15628   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15629  ;;
   15630   :H)
   15631   #
   15632   # CONFIG_HEADER
   15633   #
   15634   if test x"$ac_file" != x-; then
   15635     {
   15636       $as_echo "/* $configure_input  */" \
   15637       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15638     } >"$ac_tmp/config.h" \
   15639       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15640     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15641       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15642 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15643     else
   15644       rm -f "$ac_file"
   15645       mv "$ac_tmp/config.h" "$ac_file" \
   15646 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15647     fi
   15648   else
   15649     $as_echo "/* $configure_input  */" \
   15650       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   15651       || as_fn_error $? "could not create -" "$LINENO" 5
   15652   fi
   15653 # Compute "$ac_file"'s index in $config_headers.
   15654 _am_arg="$ac_file"
   15655 _am_stamp_count=1
   15656 for _am_header in $config_headers :; do
   15657   case $_am_header in
   15658     $_am_arg | $_am_arg:* )
   15659       break ;;
   15660     * )
   15661       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   15662   esac
   15663 done
   15664 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   15665 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15666 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   15667 	 X"$_am_arg" : 'X\(//\)$' \| \
   15668 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   15669 $as_echo X"$_am_arg" |
   15670     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15671 	    s//\1/
   15672 	    q
   15673 	  }
   15674 	  /^X\(\/\/\)[^/].*/{
   15675 	    s//\1/
   15676 	    q
   15677 	  }
   15678 	  /^X\(\/\/\)$/{
   15679 	    s//\1/
   15680 	    q
   15681 	  }
   15682 	  /^X\(\/\).*/{
   15683 	    s//\1/
   15684 	    q
   15685 	  }
   15686 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15687  ;;
   15688 
   15689   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15690 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15691  ;;
   15692   esac
   15693 
   15694 
   15695   case $ac_file$ac_mode in
   15696     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15697   # Older Autoconf quotes --file arguments for eval, but not when files
   15698   # are listed without --file.  Let's play safe and only enable the eval
   15699   # if we detect the quoting.
   15700   case $CONFIG_FILES in
   15701   *\'*) eval set x "$CONFIG_FILES" ;;
   15702   *)   set x $CONFIG_FILES ;;
   15703   esac
   15704   shift
   15705   for mf
   15706   do
   15707     # Strip MF so we end up with the name of the file.
   15708     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15709     # Check whether this is an Automake generated Makefile or not.
   15710     # We used to match only the files named 'Makefile.in', but
   15711     # some people rename them; so instead we look at the file content.
   15712     # Grep'ing the first line is not enough: some people post-process
   15713     # each Makefile.in and add a new line on top of each file to say so.
   15714     # Grep'ing the whole file is not good either: AIX grep has a line
   15715     # limit of 2048, but all sed's we know have understand at least 4000.
   15716     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15717       dirpart=`$as_dirname -- "$mf" ||
   15718 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15719 	 X"$mf" : 'X\(//\)[^/]' \| \
   15720 	 X"$mf" : 'X\(//\)$' \| \
   15721 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15722 $as_echo X"$mf" |
   15723     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15724 	    s//\1/
   15725 	    q
   15726 	  }
   15727 	  /^X\(\/\/\)[^/].*/{
   15728 	    s//\1/
   15729 	    q
   15730 	  }
   15731 	  /^X\(\/\/\)$/{
   15732 	    s//\1/
   15733 	    q
   15734 	  }
   15735 	  /^X\(\/\).*/{
   15736 	    s//\1/
   15737 	    q
   15738 	  }
   15739 	  s/.*/./; q'`
   15740     else
   15741       continue
   15742     fi
   15743     # Extract the definition of DEPDIR, am__include, and am__quote
   15744     # from the Makefile without running 'make'.
   15745     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15746     test -z "$DEPDIR" && continue
   15747     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15748     test -z "$am__include" && continue
   15749     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15750     # Find all dependency output files, they are included files with
   15751     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15752     # simplest approach to changing $(DEPDIR) to its actual value in the
   15753     # expansion.
   15754     for file in `sed -n "
   15755       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15756 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   15757       # Make sure the directory exists.
   15758       test -f "$dirpart/$file" && continue
   15759       fdir=`$as_dirname -- "$file" ||
   15760 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15761 	 X"$file" : 'X\(//\)[^/]' \| \
   15762 	 X"$file" : 'X\(//\)$' \| \
   15763 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15764 $as_echo X"$file" |
   15765     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15766 	    s//\1/
   15767 	    q
   15768 	  }
   15769 	  /^X\(\/\/\)[^/].*/{
   15770 	    s//\1/
   15771 	    q
   15772 	  }
   15773 	  /^X\(\/\/\)$/{
   15774 	    s//\1/
   15775 	    q
   15776 	  }
   15777 	  /^X\(\/\).*/{
   15778 	    s//\1/
   15779 	    q
   15780 	  }
   15781 	  s/.*/./; q'`
   15782       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   15783       # echo "creating $dirpart/$file"
   15784       echo '# dummy' > "$dirpart/$file"
   15785     done
   15786   done
   15787 }
   15788  ;;
   15789     "libtool":C)
   15790 
   15791     # See if we are running on zsh, and set the options which allow our
   15792     # commands through without removal of \ escapes.
   15793     if test -n "${ZSH_VERSION+set}" ; then
   15794       setopt NO_GLOB_SUBST
   15795     fi
   15796 
   15797     cfgfile="${ofile}T"
   15798     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15799     $RM "$cfgfile"
   15800 
   15801     cat <<_LT_EOF >> "$cfgfile"
   15802 #! $SHELL
   15803 
   15804 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15805 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15806 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15807 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15808 #
   15809 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15810 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   15811 #   Written by Gordon Matzigkeit, 1996
   15812 #
   15813 #   This file is part of GNU Libtool.
   15814 #
   15815 # GNU Libtool is free software; you can redistribute it and/or
   15816 # modify it under the terms of the GNU General Public License as
   15817 # published by the Free Software Foundation; either version 2 of
   15818 # the License, or (at your option) any later version.
   15819 #
   15820 # As a special exception to the GNU General Public License,
   15821 # if you distribute this file as part of a program or library that
   15822 # is built using GNU Libtool, you may include this file under the
   15823 # same distribution terms that you use for the rest of that program.
   15824 #
   15825 # GNU Libtool is distributed in the hope that it will be useful,
   15826 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15827 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15828 # GNU General Public License for more details.
   15829 #
   15830 # You should have received a copy of the GNU General Public License
   15831 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15832 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15833 # obtained by writing to the Free Software Foundation, Inc.,
   15834 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15835 
   15836 
   15837 # The names of the tagged configurations supported by this script.
   15838 available_tags=""
   15839 
   15840 # ### BEGIN LIBTOOL CONFIG
   15841 
   15842 # Which release of libtool.m4 was used?
   15843 macro_version=$macro_version
   15844 macro_revision=$macro_revision
   15845 
   15846 # Whether or not to build shared libraries.
   15847 build_libtool_libs=$enable_shared
   15848 
   15849 # Whether or not to build static libraries.
   15850 build_old_libs=$enable_static
   15851 
   15852 # What type of objects to build.
   15853 pic_mode=$pic_mode
   15854 
   15855 # Whether or not to optimize for fast installation.
   15856 fast_install=$enable_fast_install
   15857 
   15858 # Shell to use when invoking shell scripts.
   15859 SHELL=$lt_SHELL
   15860 
   15861 # An echo program that protects backslashes.
   15862 ECHO=$lt_ECHO
   15863 
   15864 # The host system.
   15865 host_alias=$host_alias
   15866 host=$host
   15867 host_os=$host_os
   15868 
   15869 # The build system.
   15870 build_alias=$build_alias
   15871 build=$build
   15872 build_os=$build_os
   15873 
   15874 # A sed program that does not truncate output.
   15875 SED=$lt_SED
   15876 
   15877 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15878 Xsed="\$SED -e 1s/^X//"
   15879 
   15880 # A grep program that handles long lines.
   15881 GREP=$lt_GREP
   15882 
   15883 # An ERE matcher.
   15884 EGREP=$lt_EGREP
   15885 
   15886 # A literal string matcher.
   15887 FGREP=$lt_FGREP
   15888 
   15889 # A BSD- or MS-compatible name lister.
   15890 NM=$lt_NM
   15891 
   15892 # Whether we need soft or hard links.
   15893 LN_S=$lt_LN_S
   15894 
   15895 # What is the maximum length of a command?
   15896 max_cmd_len=$max_cmd_len
   15897 
   15898 # Object file suffix (normally "o").
   15899 objext=$ac_objext
   15900 
   15901 # Executable file suffix (normally "").
   15902 exeext=$exeext
   15903 
   15904 # whether the shell understands "unset".
   15905 lt_unset=$lt_unset
   15906 
   15907 # turn spaces into newlines.
   15908 SP2NL=$lt_lt_SP2NL
   15909 
   15910 # turn newlines into spaces.
   15911 NL2SP=$lt_lt_NL2SP
   15912 
   15913 # An object symbol dumper.
   15914 OBJDUMP=$lt_OBJDUMP
   15915 
   15916 # Method to check whether dependent libraries are shared objects.
   15917 deplibs_check_method=$lt_deplibs_check_method
   15918 
   15919 # Command to use when deplibs_check_method == "file_magic".
   15920 file_magic_cmd=$lt_file_magic_cmd
   15921 
   15922 # The archiver.
   15923 AR=$lt_AR
   15924 AR_FLAGS=$lt_AR_FLAGS
   15925 
   15926 # A symbol stripping program.
   15927 STRIP=$lt_STRIP
   15928 
   15929 # Commands used to install an old-style archive.
   15930 RANLIB=$lt_RANLIB
   15931 old_postinstall_cmds=$lt_old_postinstall_cmds
   15932 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15933 
   15934 # Whether to use a lock for old archive extraction.
   15935 lock_old_archive_extraction=$lock_old_archive_extraction
   15936 
   15937 # A C compiler.
   15938 LTCC=$lt_CC
   15939 
   15940 # LTCC compiler flags.
   15941 LTCFLAGS=$lt_CFLAGS
   15942 
   15943 # Take the output of nm and produce a listing of raw symbols and C names.
   15944 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15945 
   15946 # Transform the output of nm in a proper C declaration.
   15947 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15948 
   15949 # Transform the output of nm in a C name address pair.
   15950 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15951 
   15952 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15953 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15954 
   15955 # The name of the directory that contains temporary libtool files.
   15956 objdir=$objdir
   15957 
   15958 # Used to examine libraries when file_magic_cmd begins with "file".
   15959 MAGIC_CMD=$MAGIC_CMD
   15960 
   15961 # Must we lock files when doing compilation?
   15962 need_locks=$lt_need_locks
   15963 
   15964 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15965 DSYMUTIL=$lt_DSYMUTIL
   15966 
   15967 # Tool to change global to local symbols on Mac OS X.
   15968 NMEDIT=$lt_NMEDIT
   15969 
   15970 # Tool to manipulate fat objects and archives on Mac OS X.
   15971 LIPO=$lt_LIPO
   15972 
   15973 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15974 OTOOL=$lt_OTOOL
   15975 
   15976 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15977 OTOOL64=$lt_OTOOL64
   15978 
   15979 # Old archive suffix (normally "a").
   15980 libext=$libext
   15981 
   15982 # Shared library suffix (normally ".so").
   15983 shrext_cmds=$lt_shrext_cmds
   15984 
   15985 # The commands to extract the exported symbol list from a shared archive.
   15986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15987 
   15988 # Variables whose values should be saved in libtool wrapper scripts and
   15989 # restored at link time.
   15990 variables_saved_for_relink=$lt_variables_saved_for_relink
   15991 
   15992 # Do we need the "lib" prefix for modules?
   15993 need_lib_prefix=$need_lib_prefix
   15994 
   15995 # Do we need a version for libraries?
   15996 need_version=$need_version
   15997 
   15998 # Library versioning type.
   15999 version_type=$version_type
   16000 
   16001 # Shared library runtime path variable.
   16002 runpath_var=$runpath_var
   16003 
   16004 # Shared library path variable.
   16005 shlibpath_var=$shlibpath_var
   16006 
   16007 # Is shlibpath searched before the hard-coded library search path?
   16008 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16009 
   16010 # Format of library name prefix.
   16011 libname_spec=$lt_libname_spec
   16012 
   16013 # List of archive names.  First name is the real one, the rest are links.
   16014 # The last name is the one that the linker finds with -lNAME
   16015 library_names_spec=$lt_library_names_spec
   16016 
   16017 # The coded name of the library, if different from the real name.
   16018 soname_spec=$lt_soname_spec
   16019 
   16020 # Permission mode override for installation of shared libraries.
   16021 install_override_mode=$lt_install_override_mode
   16022 
   16023 # Command to use after installation of a shared archive.
   16024 postinstall_cmds=$lt_postinstall_cmds
   16025 
   16026 # Command to use after uninstallation of a shared archive.
   16027 postuninstall_cmds=$lt_postuninstall_cmds
   16028 
   16029 # Commands used to finish a libtool library installation in a directory.
   16030 finish_cmds=$lt_finish_cmds
   16031 
   16032 # As "finish_cmds", except a single script fragment to be evaled but
   16033 # not shown.
   16034 finish_eval=$lt_finish_eval
   16035 
   16036 # Whether we should hardcode library paths into libraries.
   16037 hardcode_into_libs=$hardcode_into_libs
   16038 
   16039 # Compile-time system search path for libraries.
   16040 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16041 
   16042 # Run-time system search path for libraries.
   16043 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16044 
   16045 # Whether dlopen is supported.
   16046 dlopen_support=$enable_dlopen
   16047 
   16048 # Whether dlopen of programs is supported.
   16049 dlopen_self=$enable_dlopen_self
   16050 
   16051 # Whether dlopen of statically linked programs is supported.
   16052 dlopen_self_static=$enable_dlopen_self_static
   16053 
   16054 # Commands to strip libraries.
   16055 old_striplib=$lt_old_striplib
   16056 striplib=$lt_striplib
   16057 
   16058 
   16059 # The linker used to build libraries.
   16060 LD=$lt_LD
   16061 
   16062 # How to create reloadable object files.
   16063 reload_flag=$lt_reload_flag
   16064 reload_cmds=$lt_reload_cmds
   16065 
   16066 # Commands used to build an old-style archive.
   16067 old_archive_cmds=$lt_old_archive_cmds
   16068 
   16069 # A language specific compiler.
   16070 CC=$lt_compiler
   16071 
   16072 # Is the compiler the GNU compiler?
   16073 with_gcc=$GCC
   16074 
   16075 # Compiler flag to turn off builtin functions.
   16076 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16077 
   16078 # How to pass a linker flag through the compiler.
   16079 wl=$lt_lt_prog_compiler_wl
   16080 
   16081 # Additional compiler flags for building library objects.
   16082 pic_flag=$lt_lt_prog_compiler_pic
   16083 
   16084 # Compiler flag to prevent dynamic linking.
   16085 link_static_flag=$lt_lt_prog_compiler_static
   16086 
   16087 # Does compiler simultaneously support -c and -o options?
   16088 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16089 
   16090 # Whether or not to add -lc for building shared libraries.
   16091 build_libtool_need_lc=$archive_cmds_need_lc
   16092 
   16093 # Whether or not to disallow shared libs when runtime libs are static.
   16094 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16095 
   16096 # Compiler flag to allow reflexive dlopens.
   16097 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16098 
   16099 # Compiler flag to generate shared objects directly from archives.
   16100 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16101 
   16102 # Whether the compiler copes with passing no objects directly.
   16103 compiler_needs_object=$lt_compiler_needs_object
   16104 
   16105 # Create an old-style archive from a shared archive.
   16106 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16107 
   16108 # Create a temporary old-style archive to link instead of a shared archive.
   16109 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16110 
   16111 # Commands used to build a shared archive.
   16112 archive_cmds=$lt_archive_cmds
   16113 archive_expsym_cmds=$lt_archive_expsym_cmds
   16114 
   16115 # Commands used to build a loadable module if different from building
   16116 # a shared archive.
   16117 module_cmds=$lt_module_cmds
   16118 module_expsym_cmds=$lt_module_expsym_cmds
   16119 
   16120 # Whether we are building with GNU ld or not.
   16121 with_gnu_ld=$lt_with_gnu_ld
   16122 
   16123 # Flag that allows shared libraries with undefined symbols to be built.
   16124 allow_undefined_flag=$lt_allow_undefined_flag
   16125 
   16126 # Flag that enforces no undefined symbols.
   16127 no_undefined_flag=$lt_no_undefined_flag
   16128 
   16129 # Flag to hardcode \$libdir into a binary during linking.
   16130 # This must work even if \$libdir does not exist
   16131 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16132 
   16133 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16134 # during linking.  This must work even if \$libdir does not exist.
   16135 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16136 
   16137 # Whether we need a single "-rpath" flag with a separated argument.
   16138 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16139 
   16140 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16141 # DIR into the resulting binary.
   16142 hardcode_direct=$hardcode_direct
   16143 
   16144 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16145 # DIR into the resulting binary and the resulting library dependency is
   16146 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16147 # library is relocated.
   16148 hardcode_direct_absolute=$hardcode_direct_absolute
   16149 
   16150 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16151 # into the resulting binary.
   16152 hardcode_minus_L=$hardcode_minus_L
   16153 
   16154 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16155 # into the resulting binary.
   16156 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16157 
   16158 # Set to "yes" if building a shared library automatically hardcodes DIR
   16159 # into the library and all subsequent libraries and executables linked
   16160 # against it.
   16161 hardcode_automatic=$hardcode_automatic
   16162 
   16163 # Set to yes if linker adds runtime paths of dependent libraries
   16164 # to runtime path list.
   16165 inherit_rpath=$inherit_rpath
   16166 
   16167 # Whether libtool must link a program against all its dependency libraries.
   16168 link_all_deplibs=$link_all_deplibs
   16169 
   16170 # Fix the shell variable \$srcfile for the compiler.
   16171 fix_srcfile_path=$lt_fix_srcfile_path
   16172 
   16173 # Set to "yes" if exported symbols are required.
   16174 always_export_symbols=$always_export_symbols
   16175 
   16176 # The commands to list exported symbols.
   16177 export_symbols_cmds=$lt_export_symbols_cmds
   16178 
   16179 # Symbols that should not be listed in the preloaded symbols.
   16180 exclude_expsyms=$lt_exclude_expsyms
   16181 
   16182 # Symbols that must always be exported.
   16183 include_expsyms=$lt_include_expsyms
   16184 
   16185 # Commands necessary for linking programs (against libraries) with templates.
   16186 prelink_cmds=$lt_prelink_cmds
   16187 
   16188 # Specify filename containing input files.
   16189 file_list_spec=$lt_file_list_spec
   16190 
   16191 # How to hardcode a shared library path into an executable.
   16192 hardcode_action=$hardcode_action
   16193 
   16194 # ### END LIBTOOL CONFIG
   16195 
   16196 _LT_EOF
   16197 
   16198   case $host_os in
   16199   aix3*)
   16200     cat <<\_LT_EOF >> "$cfgfile"
   16201 # AIX sometimes has problems with the GCC collect2 program.  For some
   16202 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16203 # vanish in a puff of smoke.
   16204 if test "X${COLLECT_NAMES+set}" != Xset; then
   16205   COLLECT_NAMES=
   16206   export COLLECT_NAMES
   16207 fi
   16208 _LT_EOF
   16209     ;;
   16210   esac
   16211 
   16212 
   16213 ltmain="$ac_aux_dir/ltmain.sh"
   16214 
   16215 
   16216   # We use sed instead of cat because bash on DJGPP gets confused if
   16217   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16218   # text mode, it properly converts lines to CR/LF.  This bash problem
   16219   # is reportedly fixed, but why not run on old versions too?
   16220   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   16221     || (rm -f "$cfgfile"; exit 1)
   16222 
   16223   case $xsi_shell in
   16224   yes)
   16225     cat << \_LT_EOF >> "$cfgfile"
   16226 
   16227 # func_dirname file append nondir_replacement
   16228 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16229 # otherwise set result to NONDIR_REPLACEMENT.
   16230 func_dirname ()
   16231 {
   16232   case ${1} in
   16233     */*) func_dirname_result="${1%/*}${2}" ;;
   16234     *  ) func_dirname_result="${3}" ;;
   16235   esac
   16236 }
   16237 
   16238 # func_basename file
   16239 func_basename ()
   16240 {
   16241   func_basename_result="${1##*/}"
   16242 }
   16243 
   16244 # func_dirname_and_basename file append nondir_replacement
   16245 # perform func_basename and func_dirname in a single function
   16246 # call:
   16247 #   dirname:  Compute the dirname of FILE.  If nonempty,
   16248 #             add APPEND to the result, otherwise set result
   16249 #             to NONDIR_REPLACEMENT.
   16250 #             value returned in "$func_dirname_result"
   16251 #   basename: Compute filename of FILE.
   16252 #             value retuned in "$func_basename_result"
   16253 # Implementation must be kept synchronized with func_dirname
   16254 # and func_basename. For efficiency, we do not delegate to
   16255 # those functions but instead duplicate the functionality here.
   16256 func_dirname_and_basename ()
   16257 {
   16258   case ${1} in
   16259     */*) func_dirname_result="${1%/*}${2}" ;;
   16260     *  ) func_dirname_result="${3}" ;;
   16261   esac
   16262   func_basename_result="${1##*/}"
   16263 }
   16264 
   16265 # func_stripname prefix suffix name
   16266 # strip PREFIX and SUFFIX off of NAME.
   16267 # PREFIX and SUFFIX must not contain globbing or regex special
   16268 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16269 # dot (in which case that matches only a dot).
   16270 func_stripname ()
   16271 {
   16272   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   16273   # positional parameters, so assign one to ordinary parameter first.
   16274   func_stripname_result=${3}
   16275   func_stripname_result=${func_stripname_result#"${1}"}
   16276   func_stripname_result=${func_stripname_result%"${2}"}
   16277 }
   16278 
   16279 # func_opt_split
   16280 func_opt_split ()
   16281 {
   16282   func_opt_split_opt=${1%%=*}
   16283   func_opt_split_arg=${1#*=}
   16284 }
   16285 
   16286 # func_lo2o object
   16287 func_lo2o ()
   16288 {
   16289   case ${1} in
   16290     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   16291     *)    func_lo2o_result=${1} ;;
   16292   esac
   16293 }
   16294 
   16295 # func_xform libobj-or-source
   16296 func_xform ()
   16297 {
   16298   func_xform_result=${1%.*}.lo
   16299 }
   16300 
   16301 # func_arith arithmetic-term...
   16302 func_arith ()
   16303 {
   16304   func_arith_result=$(( $* ))
   16305 }
   16306 
   16307 # func_len string
   16308 # STRING may not start with a hyphen.
   16309 func_len ()
   16310 {
   16311   func_len_result=${#1}
   16312 }
   16313 
   16314 _LT_EOF
   16315     ;;
   16316   *) # Bourne compatible functions.
   16317     cat << \_LT_EOF >> "$cfgfile"
   16318 
   16319 # func_dirname file append nondir_replacement
   16320 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16321 # otherwise set result to NONDIR_REPLACEMENT.
   16322 func_dirname ()
   16323 {
   16324   # Extract subdirectory from the argument.
   16325   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   16326   if test "X$func_dirname_result" = "X${1}"; then
   16327     func_dirname_result="${3}"
   16328   else
   16329     func_dirname_result="$func_dirname_result${2}"
   16330   fi
   16331 }
   16332 
   16333 # func_basename file
   16334 func_basename ()
   16335 {
   16336   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   16337 }
   16338 
   16339 
   16340 # func_stripname prefix suffix name
   16341 # strip PREFIX and SUFFIX off of NAME.
   16342 # PREFIX and SUFFIX must not contain globbing or regex special
   16343 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16344 # dot (in which case that matches only a dot).
   16345 # func_strip_suffix prefix name
   16346 func_stripname ()
   16347 {
   16348   case ${2} in
   16349     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   16350     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   16351   esac
   16352 }
   16353 
   16354 # sed scripts:
   16355 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16356 my_sed_long_arg='1s/^-[^=]*=//'
   16357 
   16358 # func_opt_split
   16359 func_opt_split ()
   16360 {
   16361   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   16362   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   16363 }
   16364 
   16365 # func_lo2o object
   16366 func_lo2o ()
   16367 {
   16368   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   16369 }
   16370 
   16371 # func_xform libobj-or-source
   16372 func_xform ()
   16373 {
   16374   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   16375 }
   16376 
   16377 # func_arith arithmetic-term...
   16378 func_arith ()
   16379 {
   16380   func_arith_result=`expr "$@"`
   16381 }
   16382 
   16383 # func_len string
   16384 # STRING may not start with a hyphen.
   16385 func_len ()
   16386 {
   16387   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16388 }
   16389 
   16390 _LT_EOF
   16391 esac
   16392 
   16393 case $lt_shell_append in
   16394   yes)
   16395     cat << \_LT_EOF >> "$cfgfile"
   16396 
   16397 # func_append var value
   16398 # Append VALUE to the end of shell variable VAR.
   16399 func_append ()
   16400 {
   16401   eval "$1+=\$2"
   16402 }
   16403 _LT_EOF
   16404     ;;
   16405   *)
   16406     cat << \_LT_EOF >> "$cfgfile"
   16407 
   16408 # func_append var value
   16409 # Append VALUE to the end of shell variable VAR.
   16410 func_append ()
   16411 {
   16412   eval "$1=\$$1\$2"
   16413 }
   16414 
   16415 _LT_EOF
   16416     ;;
   16417   esac
   16418 
   16419 
   16420   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   16421     || (rm -f "$cfgfile"; exit 1)
   16422 
   16423   mv -f "$cfgfile" "$ofile" ||
   16424     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16425   chmod +x "$ofile"
   16426 
   16427  ;;
   16428     "default-1":C)
   16429     for ac_file in $CONFIG_FILES; do
   16430       # Support "outfile[:infile[:infile...]]"
   16431       case "$ac_file" in
   16432         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   16433       esac
   16434       # PO directories have a Makefile.in generated from Makefile.in.in.
   16435       case "$ac_file" in */Makefile.in)
   16436         # Adjust a relative srcdir.
   16437         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   16438         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   16439         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   16440         # In autoconf-2.13 it is called $ac_given_srcdir.
   16441         # In autoconf-2.50 it is called $srcdir.
   16442         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   16443         case "$ac_given_srcdir" in
   16444           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   16445           /*) top_srcdir="$ac_given_srcdir" ;;
   16446           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   16447         esac
   16448         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   16449           rm -f "$ac_dir/POTFILES"
   16450           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   16451           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   16452           POMAKEFILEDEPS="POTFILES.in"
   16453           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   16454           # on $ac_dir but don't depend on user-specified configuration
   16455           # parameters.
   16456           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   16457             # The LINGUAS file contains the set of available languages.
   16458             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   16459               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   16460             fi
   16461             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   16462             # Hide the ALL_LINGUAS assigment from automake.
   16463             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   16464             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   16465           else
   16466             # The set of available languages was given in configure.ac.
   16467             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   16468           fi
   16469           case "$ac_given_srcdir" in
   16470             .) srcdirpre= ;;
   16471             *) srcdirpre='$(srcdir)/' ;;
   16472           esac
   16473           POFILES=
   16474           GMOFILES=
   16475           UPDATEPOFILES=
   16476           DUMMYPOFILES=
   16477           for lang in $ALL_LINGUAS; do
   16478             POFILES="$POFILES $srcdirpre$lang.po"
   16479             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   16480             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   16481             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   16482           done
   16483           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   16484           # environment variable.
   16485           INST_LINGUAS=
   16486           if test -n "$ALL_LINGUAS"; then
   16487             for presentlang in $ALL_LINGUAS; do
   16488               useit=no
   16489               if test "%UNSET%" != "$LINGUAS"; then
   16490                 desiredlanguages="$LINGUAS"
   16491               else
   16492                 desiredlanguages="$ALL_LINGUAS"
   16493               fi
   16494               for desiredlang in $desiredlanguages; do
   16495                 # Use the presentlang catalog if desiredlang is
   16496                 #   a. equal to presentlang, or
   16497                 #   b. a variant of presentlang (because in this case,
   16498                 #      presentlang can be used as a fallback for messages
   16499                 #      which are not translated in the desiredlang catalog).
   16500                 case "$desiredlang" in
   16501                   "$presentlang"*) useit=yes;;
   16502                 esac
   16503               done
   16504               if test $useit = yes; then
   16505                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   16506               fi
   16507             done
   16508           fi
   16509           CATALOGS=
   16510           if test -n "$INST_LINGUAS"; then
   16511             for lang in $INST_LINGUAS; do
   16512               CATALOGS="$CATALOGS $lang.gmo"
   16513             done
   16514           fi
   16515           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   16516           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   16517           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   16518             if test -f "$f"; then
   16519               case "$f" in
   16520                 *.orig | *.bak | *~) ;;
   16521                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   16522               esac
   16523             fi
   16524           done
   16525         fi
   16526         ;;
   16527       esac
   16528     done ;;
   16529 
   16530   esac
   16531 done # for ac_tag
   16532 
   16533 
   16534 as_fn_exit 0
   16535 _ACEOF
   16536 ac_clean_files=$ac_clean_files_save
   16537 
   16538 test $ac_write_fail = 0 ||
   16539   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16540 
   16541 
   16542 # configure is writing to config.log, and then calls config.status.
   16543 # config.status does its own redirection, appending to config.log.
   16544 # Unfortunately, on DOS this fails, as config.log is still kept open
   16545 # by configure, so config.status won't be able to write to it; its
   16546 # output is simply discarded.  So we exec the FD to /dev/null,
   16547 # effectively closing config.log, so it can be properly (re)opened and
   16548 # appended to by config.status.  When coming back to configure, we
   16549 # need to make the FD available again.
   16550 if test "$no_create" != yes; then
   16551   ac_cs_success=:
   16552   ac_config_status_args=
   16553   test "$silent" = yes &&
   16554     ac_config_status_args="$ac_config_status_args --quiet"
   16555   exec 5>/dev/null
   16556   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16557   exec 5>>config.log
   16558   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16559   # would make configure fail if this is the last instruction.
   16560   $ac_cs_success || as_fn_exit 1
   16561 fi
   16562 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16563   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16564 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16565 fi
   16566 
   16567 
   16568 
   16569 touch config.status.tmp
   16570 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   16571   sed '/as_fn_exit 0/i \
   16572 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   16573 touch --reference=Makefile Makefile.tmp \
   16574 mv Makefile.tmp Makefile \
   16575 ' config.status > config.status.tmp
   16576   touch --reference=config.status config.status.tmp
   16577   mv config.status.tmp config.status
   16578   chmod +x config.status
   16579   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   16580   touch --reference=Makefile Makefile.tmp
   16581   mv Makefile.tmp Makefile
   16582 else
   16583   rm -f config.status.tmp
   16584 fi
   16585