Home | History | Annotate | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for PCRE 8.38.
      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='PCRE'
    589 PACKAGE_TARNAME='pcre'
    590 PACKAGE_VERSION='8.38'
    591 PACKAGE_STRING='PCRE 8.38'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="pcre.h.in"
    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 ac_subst_vars='am__EXEEXT_FALSE
    633 am__EXEEXT_TRUE
    634 LTLIBOBJS
    635 LIBOBJS
    636 WITH_GCOV_FALSE
    637 WITH_GCOV_TRUE
    638 GCOV_LIBS
    639 GCOV_CXXFLAGS
    640 GCOV_CFLAGS
    641 GENHTML
    642 LCOV
    643 SHTOOL
    644 VALGRIND_LIBS
    645 VALGRIND_CFLAGS
    646 PKG_CONFIG_LIBDIR
    647 PKG_CONFIG_PATH
    648 PKG_CONFIG
    649 LIBBZ2
    650 LIBZ
    651 DISTCHECK_CONFIGURE_FLAGS
    652 EXTRA_LIBPCRECPP_LDFLAGS
    653 EXTRA_LIBPCREPOSIX_LDFLAGS
    654 EXTRA_LIBPCRE32_LDFLAGS
    655 EXTRA_LIBPCRE16_LDFLAGS
    656 EXTRA_LIBPCRE_LDFLAGS
    657 PTHREAD_CFLAGS
    658 PTHREAD_LIBS
    659 PTHREAD_CC
    660 ax_pthread_config
    661 PCRE_STATIC_CFLAG
    662 LIBREADLINE
    663 WITH_VALGRIND_FALSE
    664 WITH_VALGRIND_TRUE
    665 WITH_UTF_FALSE
    666 WITH_UTF_TRUE
    667 WITH_JIT_FALSE
    668 WITH_JIT_TRUE
    669 WITH_REBUILD_CHARTABLES_FALSE
    670 WITH_REBUILD_CHARTABLES_TRUE
    671 WITH_PCRE_CPP_FALSE
    672 WITH_PCRE_CPP_TRUE
    673 WITH_PCRE32_FALSE
    674 WITH_PCRE32_TRUE
    675 WITH_PCRE16_FALSE
    676 WITH_PCRE16_TRUE
    677 WITH_PCRE8_FALSE
    678 WITH_PCRE8_TRUE
    679 pcre_have_bits_type_traits
    680 pcre_have_type_traits
    681 pcre_have_ulong_long
    682 pcre_have_long_long
    683 enable_cpp
    684 enable_pcre32
    685 enable_pcre16
    686 enable_pcre8
    687 PCRE_DATE
    688 PCRE_PRERELEASE
    689 PCRE_MINOR
    690 PCRE_MAJOR
    691 HAVE_VISIBILITY
    692 VISIBILITY_CXXFLAGS
    693 VISIBILITY_CFLAGS
    694 CXXCPP
    695 LT_SYS_LIBRARY_PATH
    696 OTOOL64
    697 OTOOL
    698 LIPO
    699 NMEDIT
    700 DSYMUTIL
    701 MANIFEST_TOOL
    702 RANLIB
    703 LN_S
    704 NM
    705 ac_ct_DUMPBIN
    706 DUMPBIN
    707 LD
    708 FGREP
    709 SED
    710 LIBTOOL
    711 OBJDUMP
    712 DLLTOOL
    713 AS
    714 host_os
    715 host_vendor
    716 host_cpu
    717 host
    718 build_os
    719 build_vendor
    720 build_cpu
    721 build
    722 EGREP
    723 GREP
    724 CPP
    725 am__fastdepCXX_FALSE
    726 am__fastdepCXX_TRUE
    727 CXXDEPMODE
    728 ac_ct_CXX
    729 CXXFLAGS
    730 CXX
    731 am__fastdepCC_FALSE
    732 am__fastdepCC_TRUE
    733 CCDEPMODE
    734 am__nodep
    735 AMDEPBACKSLASH
    736 AMDEP_FALSE
    737 AMDEP_TRUE
    738 am__quote
    739 am__include
    740 DEPDIR
    741 OBJEXT
    742 EXEEXT
    743 ac_ct_CC
    744 CPPFLAGS
    745 LDFLAGS
    746 CFLAGS
    747 CC
    748 ac_ct_AR
    749 AR
    750 AM_BACKSLASH
    751 AM_DEFAULT_VERBOSITY
    752 AM_DEFAULT_V
    753 AM_V
    754 am__untar
    755 am__tar
    756 AMTAR
    757 am__leading_dot
    758 SET_MAKE
    759 AWK
    760 mkdir_p
    761 MKDIR_P
    762 INSTALL_STRIP_PROGRAM
    763 STRIP
    764 install_sh
    765 MAKEINFO
    766 AUTOHEADER
    767 AUTOMAKE
    768 AUTOCONF
    769 ACLOCAL
    770 VERSION
    771 PACKAGE
    772 CYGPATH_W
    773 am__isrc
    774 INSTALL_DATA
    775 INSTALL_SCRIPT
    776 INSTALL_PROGRAM
    777 target_alias
    778 host_alias
    779 build_alias
    780 LIBS
    781 ECHO_T
    782 ECHO_N
    783 ECHO_C
    784 DEFS
    785 mandir
    786 localedir
    787 libdir
    788 psdir
    789 pdfdir
    790 dvidir
    791 htmldir
    792 infodir
    793 docdir
    794 oldincludedir
    795 includedir
    796 localstatedir
    797 sharedstatedir
    798 sysconfdir
    799 datadir
    800 datarootdir
    801 libexecdir
    802 sbindir
    803 bindir
    804 program_transform_name
    805 prefix
    806 exec_prefix
    807 PACKAGE_URL
    808 PACKAGE_BUGREPORT
    809 PACKAGE_STRING
    810 PACKAGE_VERSION
    811 PACKAGE_TARNAME
    812 PACKAGE_NAME
    813 PATH_SEPARATOR
    814 SHELL'
    815 ac_subst_files=''
    816 ac_user_opts='
    817 enable_option_checking
    818 enable_silent_rules
    819 enable_dependency_tracking
    820 enable_shared
    821 enable_static
    822 with_pic
    823 enable_fast_install
    824 with_aix_soname
    825 with_gnu_ld
    826 with_sysroot
    827 enable_libtool_lock
    828 enable_pcre8
    829 enable_pcre16
    830 enable_pcre32
    831 enable_cpp
    832 enable_jit
    833 enable_pcregrep_jit
    834 enable_rebuild_chartables
    835 enable_utf8
    836 enable_utf
    837 enable_unicode_properties
    838 enable_newline_is_cr
    839 enable_newline_is_lf
    840 enable_newline_is_crlf
    841 enable_newline_is_anycrlf
    842 enable_newline_is_any
    843 enable_bsr_anycrlf
    844 enable_ebcdic
    845 enable_ebcdic_nl25
    846 enable_stack_for_recursion
    847 enable_pcregrep_libz
    848 enable_pcregrep_libbz2
    849 with_pcregrep_bufsize
    850 enable_pcretest_libedit
    851 enable_pcretest_libreadline
    852 with_posix_malloc_threshold
    853 with_link_size
    854 with_parens_nest_limit
    855 with_match_limit
    856 with_match_limit_recursion
    857 enable_valgrind
    858 enable_coverage
    859 '
    860       ac_precious_vars='build_alias
    861 host_alias
    862 target_alias
    863 CC
    864 CFLAGS
    865 LDFLAGS
    866 LIBS
    867 CPPFLAGS
    868 CXX
    869 CXXFLAGS
    870 CCC
    871 CPP
    872 LT_SYS_LIBRARY_PATH
    873 CXXCPP
    874 PKG_CONFIG
    875 PKG_CONFIG_PATH
    876 PKG_CONFIG_LIBDIR
    877 VALGRIND_CFLAGS
    878 VALGRIND_LIBS
    879 LCOV
    880 GENHTML'
    881 
    882 
    883 # Initialize some variables set by options.
    884 ac_init_help=
    885 ac_init_version=false
    886 ac_unrecognized_opts=
    887 ac_unrecognized_sep=
    888 # The variables have the same names as the options, with
    889 # dashes changed to underlines.
    890 cache_file=/dev/null
    891 exec_prefix=NONE
    892 no_create=
    893 no_recursion=
    894 prefix=NONE
    895 program_prefix=NONE
    896 program_suffix=NONE
    897 program_transform_name=s,x,x,
    898 silent=
    899 site=
    900 srcdir=
    901 verbose=
    902 x_includes=NONE
    903 x_libraries=NONE
    904 
    905 # Installation directory options.
    906 # These are left unexpanded so users can "make install exec_prefix=/foo"
    907 # and all the variables that are supposed to be based on exec_prefix
    908 # by default will actually change.
    909 # Use braces instead of parens because sh, perl, etc. also accept them.
    910 # (The list follows the same order as the GNU Coding Standards.)
    911 bindir='${exec_prefix}/bin'
    912 sbindir='${exec_prefix}/sbin'
    913 libexecdir='${exec_prefix}/libexec'
    914 datarootdir='${prefix}/share'
    915 datadir='${datarootdir}'
    916 sysconfdir='${prefix}/etc'
    917 sharedstatedir='${prefix}/com'
    918 localstatedir='${prefix}/var'
    919 includedir='${prefix}/include'
    920 oldincludedir='/usr/include'
    921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    922 infodir='${datarootdir}/info'
    923 htmldir='${docdir}'
    924 dvidir='${docdir}'
    925 pdfdir='${docdir}'
    926 psdir='${docdir}'
    927 libdir='${exec_prefix}/lib'
    928 localedir='${datarootdir}/locale'
    929 mandir='${datarootdir}/man'
    930 
    931 ac_prev=
    932 ac_dashdash=
    933 for ac_option
    934 do
    935   # If the previous option needs an argument, assign it.
    936   if test -n "$ac_prev"; then
    937     eval $ac_prev=\$ac_option
    938     ac_prev=
    939     continue
    940   fi
    941 
    942   case $ac_option in
    943   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    944   *=)   ac_optarg= ;;
    945   *)    ac_optarg=yes ;;
    946   esac
    947 
    948   # Accept the important Cygnus configure options, so we can diagnose typos.
    949 
    950   case $ac_dashdash$ac_option in
    951   --)
    952     ac_dashdash=yes ;;
    953 
    954   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    955     ac_prev=bindir ;;
    956   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    957     bindir=$ac_optarg ;;
    958 
    959   -build | --build | --buil | --bui | --bu)
    960     ac_prev=build_alias ;;
    961   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    962     build_alias=$ac_optarg ;;
    963 
    964   -cache-file | --cache-file | --cache-fil | --cache-fi \
    965   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    966     ac_prev=cache_file ;;
    967   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    968   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    969     cache_file=$ac_optarg ;;
    970 
    971   --config-cache | -C)
    972     cache_file=config.cache ;;
    973 
    974   -datadir | --datadir | --datadi | --datad)
    975     ac_prev=datadir ;;
    976   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    977     datadir=$ac_optarg ;;
    978 
    979   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    980   | --dataroo | --dataro | --datar)
    981     ac_prev=datarootdir ;;
    982   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    983   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    984     datarootdir=$ac_optarg ;;
    985 
    986   -disable-* | --disable-*)
    987     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    988     # Reject names that are not valid shell variable names.
    989     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    990       as_fn_error $? "invalid feature name: $ac_useropt"
    991     ac_useropt_orig=$ac_useropt
    992     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    993     case $ac_user_opts in
    994       *"
    995 "enable_$ac_useropt"
    996 "*) ;;
    997       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    998 	 ac_unrecognized_sep=', ';;
    999     esac
   1000     eval enable_$ac_useropt=no ;;
   1001 
   1002   -docdir | --docdir | --docdi | --doc | --do)
   1003     ac_prev=docdir ;;
   1004   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1005     docdir=$ac_optarg ;;
   1006 
   1007   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1008     ac_prev=dvidir ;;
   1009   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1010     dvidir=$ac_optarg ;;
   1011 
   1012   -enable-* | --enable-*)
   1013     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1014     # Reject names that are not valid shell variable names.
   1015     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1016       as_fn_error $? "invalid feature name: $ac_useropt"
   1017     ac_useropt_orig=$ac_useropt
   1018     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1019     case $ac_user_opts in
   1020       *"
   1021 "enable_$ac_useropt"
   1022 "*) ;;
   1023       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1024 	 ac_unrecognized_sep=', ';;
   1025     esac
   1026     eval enable_$ac_useropt=\$ac_optarg ;;
   1027 
   1028   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1029   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1030   | --exec | --exe | --ex)
   1031     ac_prev=exec_prefix ;;
   1032   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1033   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1034   | --exec=* | --exe=* | --ex=*)
   1035     exec_prefix=$ac_optarg ;;
   1036 
   1037   -gas | --gas | --ga | --g)
   1038     # Obsolete; use --with-gas.
   1039     with_gas=yes ;;
   1040 
   1041   -help | --help | --hel | --he | -h)
   1042     ac_init_help=long ;;
   1043   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1044     ac_init_help=recursive ;;
   1045   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1046     ac_init_help=short ;;
   1047 
   1048   -host | --host | --hos | --ho)
   1049     ac_prev=host_alias ;;
   1050   -host=* | --host=* | --hos=* | --ho=*)
   1051     host_alias=$ac_optarg ;;
   1052 
   1053   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1054     ac_prev=htmldir ;;
   1055   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1056   | --ht=*)
   1057     htmldir=$ac_optarg ;;
   1058 
   1059   -includedir | --includedir | --includedi | --included | --include \
   1060   | --includ | --inclu | --incl | --inc)
   1061     ac_prev=includedir ;;
   1062   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1063   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1064     includedir=$ac_optarg ;;
   1065 
   1066   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1067     ac_prev=infodir ;;
   1068   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1069     infodir=$ac_optarg ;;
   1070 
   1071   -libdir | --libdir | --libdi | --libd)
   1072     ac_prev=libdir ;;
   1073   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1074     libdir=$ac_optarg ;;
   1075 
   1076   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1077   | --libexe | --libex | --libe)
   1078     ac_prev=libexecdir ;;
   1079   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1080   | --libexe=* | --libex=* | --libe=*)
   1081     libexecdir=$ac_optarg ;;
   1082 
   1083   -localedir | --localedir | --localedi | --localed | --locale)
   1084     ac_prev=localedir ;;
   1085   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1086     localedir=$ac_optarg ;;
   1087 
   1088   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1089   | --localstate | --localstat | --localsta | --localst | --locals)
   1090     ac_prev=localstatedir ;;
   1091   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1092   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1093     localstatedir=$ac_optarg ;;
   1094 
   1095   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1096     ac_prev=mandir ;;
   1097   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1098     mandir=$ac_optarg ;;
   1099 
   1100   -nfp | --nfp | --nf)
   1101     # Obsolete; use --without-fp.
   1102     with_fp=no ;;
   1103 
   1104   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1105   | --no-cr | --no-c | -n)
   1106     no_create=yes ;;
   1107 
   1108   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1109   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1110     no_recursion=yes ;;
   1111 
   1112   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1113   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1114   | --oldin | --oldi | --old | --ol | --o)
   1115     ac_prev=oldincludedir ;;
   1116   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1117   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1118   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1119     oldincludedir=$ac_optarg ;;
   1120 
   1121   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1122     ac_prev=prefix ;;
   1123   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1124     prefix=$ac_optarg ;;
   1125 
   1126   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1127   | --program-pre | --program-pr | --program-p)
   1128     ac_prev=program_prefix ;;
   1129   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1130   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1131     program_prefix=$ac_optarg ;;
   1132 
   1133   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1134   | --program-suf | --program-su | --program-s)
   1135     ac_prev=program_suffix ;;
   1136   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1137   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1138     program_suffix=$ac_optarg ;;
   1139 
   1140   -program-transform-name | --program-transform-name \
   1141   | --program-transform-nam | --program-transform-na \
   1142   | --program-transform-n | --program-transform- \
   1143   | --program-transform | --program-transfor \
   1144   | --program-transfo | --program-transf \
   1145   | --program-trans | --program-tran \
   1146   | --progr-tra | --program-tr | --program-t)
   1147     ac_prev=program_transform_name ;;
   1148   -program-transform-name=* | --program-transform-name=* \
   1149   | --program-transform-nam=* | --program-transform-na=* \
   1150   | --program-transform-n=* | --program-transform-=* \
   1151   | --program-transform=* | --program-transfor=* \
   1152   | --program-transfo=* | --program-transf=* \
   1153   | --program-trans=* | --program-tran=* \
   1154   | --progr-tra=* | --program-tr=* | --program-t=*)
   1155     program_transform_name=$ac_optarg ;;
   1156 
   1157   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1158     ac_prev=pdfdir ;;
   1159   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1160     pdfdir=$ac_optarg ;;
   1161 
   1162   -psdir | --psdir | --psdi | --psd | --ps)
   1163     ac_prev=psdir ;;
   1164   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1165     psdir=$ac_optarg ;;
   1166 
   1167   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1168   | -silent | --silent | --silen | --sile | --sil)
   1169     silent=yes ;;
   1170 
   1171   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1172     ac_prev=sbindir ;;
   1173   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1174   | --sbi=* | --sb=*)
   1175     sbindir=$ac_optarg ;;
   1176 
   1177   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1178   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1179   | --sharedst | --shareds | --shared | --share | --shar \
   1180   | --sha | --sh)
   1181     ac_prev=sharedstatedir ;;
   1182   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1183   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1184   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1185   | --sha=* | --sh=*)
   1186     sharedstatedir=$ac_optarg ;;
   1187 
   1188   -site | --site | --sit)
   1189     ac_prev=site ;;
   1190   -site=* | --site=* | --sit=*)
   1191     site=$ac_optarg ;;
   1192 
   1193   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1194     ac_prev=srcdir ;;
   1195   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1196     srcdir=$ac_optarg ;;
   1197 
   1198   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1199   | --syscon | --sysco | --sysc | --sys | --sy)
   1200     ac_prev=sysconfdir ;;
   1201   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1202   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1203     sysconfdir=$ac_optarg ;;
   1204 
   1205   -target | --target | --targe | --targ | --tar | --ta | --t)
   1206     ac_prev=target_alias ;;
   1207   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1208     target_alias=$ac_optarg ;;
   1209 
   1210   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1211     verbose=yes ;;
   1212 
   1213   -version | --version | --versio | --versi | --vers | -V)
   1214     ac_init_version=: ;;
   1215 
   1216   -with-* | --with-*)
   1217     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1218     # Reject names that are not valid shell variable names.
   1219     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1220       as_fn_error $? "invalid package name: $ac_useropt"
   1221     ac_useropt_orig=$ac_useropt
   1222     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1223     case $ac_user_opts in
   1224       *"
   1225 "with_$ac_useropt"
   1226 "*) ;;
   1227       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1228 	 ac_unrecognized_sep=', ';;
   1229     esac
   1230     eval with_$ac_useropt=\$ac_optarg ;;
   1231 
   1232   -without-* | --without-*)
   1233     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1234     # Reject names that are not valid shell variable names.
   1235     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1236       as_fn_error $? "invalid package name: $ac_useropt"
   1237     ac_useropt_orig=$ac_useropt
   1238     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1239     case $ac_user_opts in
   1240       *"
   1241 "with_$ac_useropt"
   1242 "*) ;;
   1243       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1244 	 ac_unrecognized_sep=', ';;
   1245     esac
   1246     eval with_$ac_useropt=no ;;
   1247 
   1248   --x)
   1249     # Obsolete; use --with-x.
   1250     with_x=yes ;;
   1251 
   1252   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1253   | --x-incl | --x-inc | --x-in | --x-i)
   1254     ac_prev=x_includes ;;
   1255   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1256   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1257     x_includes=$ac_optarg ;;
   1258 
   1259   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1260   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1261     ac_prev=x_libraries ;;
   1262   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1263   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1264     x_libraries=$ac_optarg ;;
   1265 
   1266   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1267 Try \`$0 --help' for more information"
   1268     ;;
   1269 
   1270   *=*)
   1271     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1272     # Reject names that are not valid shell variable names.
   1273     case $ac_envvar in #(
   1274       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1275       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1276     esac
   1277     eval $ac_envvar=\$ac_optarg
   1278     export $ac_envvar ;;
   1279 
   1280   *)
   1281     # FIXME: should be removed in autoconf 3.0.
   1282     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1283     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1284       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1285     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1286     ;;
   1287 
   1288   esac
   1289 done
   1290 
   1291 if test -n "$ac_prev"; then
   1292   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1293   as_fn_error $? "missing argument to $ac_option"
   1294 fi
   1295 
   1296 if test -n "$ac_unrecognized_opts"; then
   1297   case $enable_option_checking in
   1298     no) ;;
   1299     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1300     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1301   esac
   1302 fi
   1303 
   1304 # Check all directory arguments for consistency.
   1305 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1306 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1307 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1308 		libdir localedir mandir
   1309 do
   1310   eval ac_val=\$$ac_var
   1311   # Remove trailing slashes.
   1312   case $ac_val in
   1313     */ )
   1314       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1315       eval $ac_var=\$ac_val;;
   1316   esac
   1317   # Be sure to have absolute directory names.
   1318   case $ac_val in
   1319     [\\/$]* | ?:[\\/]* )  continue;;
   1320     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1321   esac
   1322   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1323 done
   1324 
   1325 # There might be people who depend on the old broken behavior: `$host'
   1326 # used to hold the argument of --host etc.
   1327 # FIXME: To remove some day.
   1328 build=$build_alias
   1329 host=$host_alias
   1330 target=$target_alias
   1331 
   1332 # FIXME: To remove some day.
   1333 if test "x$host_alias" != x; then
   1334   if test "x$build_alias" = x; then
   1335     cross_compiling=maybe
   1336   elif test "x$build_alias" != "x$host_alias"; then
   1337     cross_compiling=yes
   1338   fi
   1339 fi
   1340 
   1341 ac_tool_prefix=
   1342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1343 
   1344 test "$silent" = yes && exec 6>/dev/null
   1345 
   1346 
   1347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1348 ac_ls_di=`ls -di .` &&
   1349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1350   as_fn_error $? "working directory cannot be determined"
   1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1352   as_fn_error $? "pwd does not report name of working directory"
   1353 
   1354 
   1355 # Find the source files, if location was not specified.
   1356 if test -z "$srcdir"; then
   1357   ac_srcdir_defaulted=yes
   1358   # Try the directory containing this script, then the parent directory.
   1359   ac_confdir=`$as_dirname -- "$as_myself" ||
   1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1361 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1362 	 X"$as_myself" : 'X\(//\)$' \| \
   1363 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1364 $as_echo X"$as_myself" |
   1365     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  /^X\(\/\/\)[^/].*/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  /^X\(\/\/\)$/{
   1374 	    s//\1/
   1375 	    q
   1376 	  }
   1377 	  /^X\(\/\).*/{
   1378 	    s//\1/
   1379 	    q
   1380 	  }
   1381 	  s/.*/./; q'`
   1382   srcdir=$ac_confdir
   1383   if test ! -r "$srcdir/$ac_unique_file"; then
   1384     srcdir=..
   1385   fi
   1386 else
   1387   ac_srcdir_defaulted=no
   1388 fi
   1389 if test ! -r "$srcdir/$ac_unique_file"; then
   1390   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1391   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1392 fi
   1393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1394 ac_abs_confdir=`(
   1395 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1396 	pwd)`
   1397 # When building in place, set srcdir=.
   1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1399   srcdir=.
   1400 fi
   1401 # Remove unnecessary trailing slashes from srcdir.
   1402 # Double slashes in file names in object file debugging info
   1403 # mess up M-x gdb in Emacs.
   1404 case $srcdir in
   1405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1406 esac
   1407 for ac_var in $ac_precious_vars; do
   1408   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1409   eval ac_env_${ac_var}_value=\$${ac_var}
   1410   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1411   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1412 done
   1413 
   1414 #
   1415 # Report the --help message.
   1416 #
   1417 if test "$ac_init_help" = "long"; then
   1418   # Omit some internal or obsolete options to make the list less imposing.
   1419   # This message is too long to be a string in the A/UX 3.1 sh.
   1420   cat <<_ACEOF
   1421 \`configure' configures PCRE 8.38 to adapt to many kinds of systems.
   1422 
   1423 Usage: $0 [OPTION]... [VAR=VALUE]...
   1424 
   1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1426 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1427 
   1428 Defaults for the options are specified in brackets.
   1429 
   1430 Configuration:
   1431   -h, --help              display this help and exit
   1432       --help=short        display options specific to this package
   1433       --help=recursive    display the short help of all the included packages
   1434   -V, --version           display version information and exit
   1435   -q, --quiet, --silent   do not print \`checking ...' messages
   1436       --cache-file=FILE   cache test results in FILE [disabled]
   1437   -C, --config-cache      alias for \`--cache-file=config.cache'
   1438   -n, --no-create         do not create output files
   1439       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1440 
   1441 Installation directories:
   1442   --prefix=PREFIX         install architecture-independent files in PREFIX
   1443                           [$ac_default_prefix]
   1444   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1445                           [PREFIX]
   1446 
   1447 By default, \`make install' will install all the files in
   1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1450 for instance \`--prefix=\$HOME'.
   1451 
   1452 For better control, use the options below.
   1453 
   1454 Fine tuning of the installation directories:
   1455   --bindir=DIR            user executables [EPREFIX/bin]
   1456   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1457   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1458   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1459   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1460   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1461   --libdir=DIR            object code libraries [EPREFIX/lib]
   1462   --includedir=DIR        C header files [PREFIX/include]
   1463   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1464   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1465   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1466   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1467   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1468   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1469   --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre]
   1470   --htmldir=DIR           html documentation [DOCDIR]
   1471   --dvidir=DIR            dvi documentation [DOCDIR]
   1472   --pdfdir=DIR            pdf documentation [DOCDIR]
   1473   --psdir=DIR             ps documentation [DOCDIR]
   1474 _ACEOF
   1475 
   1476   cat <<\_ACEOF
   1477 
   1478 Program names:
   1479   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1480   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1481   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1482 
   1483 System types:
   1484   --build=BUILD     configure for building on BUILD [guessed]
   1485   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1486 _ACEOF
   1487 fi
   1488 
   1489 if test -n "$ac_init_help"; then
   1490   case $ac_init_help in
   1491      short | recursive ) echo "Configuration of PCRE 8.38:";;
   1492    esac
   1493   cat <<\_ACEOF
   1494 
   1495 Optional Features:
   1496   --disable-option-checking  ignore unrecognized --enable/--with options
   1497   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1498   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1499   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1500   --disable-silent-rules  verbose build output (undo: "make V=0")
   1501   --enable-dependency-tracking
   1502                           do not reject slow dependency extractors
   1503   --disable-dependency-tracking
   1504                           speeds up one-time build
   1505   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1506   --enable-static[=PKGS]  build static libraries [default=yes]
   1507   --enable-fast-install[=PKGS]
   1508                           optimize for fast installation [default=yes]
   1509   --disable-libtool-lock  avoid locking (might break parallel builds)
   1510   --disable-pcre8         disable 8 bit character support
   1511   --enable-pcre16         enable 16 bit character support
   1512   --enable-pcre32         enable 32 bit character support
   1513   --disable-cpp           disable C++ support
   1514   --enable-jit            enable Just-In-Time compiling support
   1515   --disable-pcregrep-jit  disable JIT support in pcregrep
   1516   --enable-rebuild-chartables
   1517                           rebuild character tables in current locale
   1518   --enable-utf8           another name for --enable-utf. Kept only for
   1519                           compatibility reasons
   1520   --enable-utf            enable UTF-8/16/32 support (incompatible with
   1521                           --enable-ebcdic)
   1522   --enable-unicode-properties
   1523                           enable Unicode properties support (implies
   1524                           --enable-utf)
   1525   --enable-newline-is-cr  use CR as newline character
   1526   --enable-newline-is-lf  use LF as newline character (default)
   1527   --enable-newline-is-crlf
   1528                           use CRLF as newline sequence
   1529   --enable-newline-is-anycrlf
   1530                           use CR, LF, or CRLF as newline sequence
   1531   --enable-newline-is-any use any valid Unicode newline sequence
   1532   --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
   1533   --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
   1534                           with --enable-utf; use only in (uncommon) EBCDIC
   1535                           environments; it implies --enable-rebuild-chartables
   1536   --enable-ebcdic-nl25    set EBCDIC code for NL to 0x25 instead of 0x15; it
   1537                           implies --enable-ebcdic
   1538   --disable-stack-for-recursion
   1539                           don't use stack recursion when matching
   1540   --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
   1541   --enable-pcregrep-libbz2
   1542                           link pcregrep with libbz2 to handle .bz2 files
   1543   --enable-pcretest-libedit
   1544                           link pcretest with libedit
   1545   --enable-pcretest-libreadline
   1546                           link pcretest with libreadline
   1547   --enable-valgrind       valgrind support
   1548   --enable-coverage       enable code coverage reports using gcov
   1549 
   1550 Optional Packages:
   1551   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1552   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1553   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1554                           both]
   1555   --with-aix-soname=aix|svr4|both
   1556                           shared library versioning (aka "SONAME") variant to
   1557                           provide on AIX, [default=aix].
   1558   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1559   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1560                           compiler's sysroot if not specified).
   1561   --with-pcregrep-bufsize=N
   1562                           pcregrep buffer size (default=20480, minimum=8192)
   1563   --with-posix-malloc-threshold=NBYTES
   1564                           threshold for POSIX malloc usage (default=10)
   1565   --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
   1566   --with-parens-nest-limit=N
   1567                           nested parentheses limit (default=250)
   1568   --with-match-limit=N    default limit on internal looping (default=10000000)
   1569   --with-match-limit-recursion=N
   1570                           default limit on internal recursion
   1571                           (default=MATCH_LIMIT)
   1572 
   1573 Some influential environment variables:
   1574   CC          C compiler command
   1575   CFLAGS      C compiler flags
   1576   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1577               nonstandard directory <lib dir>
   1578   LIBS        libraries to pass to the linker, e.g. -l<library>
   1579   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1580               you have headers in a nonstandard directory <include dir>
   1581   CXX         C++ compiler command
   1582   CXXFLAGS    C++ compiler flags
   1583   CPP         C preprocessor
   1584   LT_SYS_LIBRARY_PATH
   1585               User-defined run-time library search path.
   1586   CXXCPP      C++ preprocessor
   1587   PKG_CONFIG  path to pkg-config utility
   1588   PKG_CONFIG_PATH
   1589               directories to add to pkg-config's search path
   1590   PKG_CONFIG_LIBDIR
   1591               path overriding pkg-config's built-in search path
   1592   VALGRIND_CFLAGS
   1593               C compiler flags for VALGRIND, overriding pkg-config
   1594   VALGRIND_LIBS
   1595               linker flags for VALGRIND, overriding pkg-config
   1596   LCOV        the ltp lcov program
   1597   GENHTML     the ltp genhtml program
   1598 
   1599 Use these variables to override the choices made by `configure' or to help
   1600 it to find libraries and programs with nonstandard names/locations.
   1601 
   1602 Report bugs to the package provider.
   1603 _ACEOF
   1604 ac_status=$?
   1605 fi
   1606 
   1607 if test "$ac_init_help" = "recursive"; then
   1608   # If there are subdirs, report their specific --help.
   1609   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1610     test -d "$ac_dir" ||
   1611       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1612       continue
   1613     ac_builddir=.
   1614 
   1615 case "$ac_dir" in
   1616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1617 *)
   1618   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1619   # A ".." for each directory in $ac_dir_suffix.
   1620   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1621   case $ac_top_builddir_sub in
   1622   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1623   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1624   esac ;;
   1625 esac
   1626 ac_abs_top_builddir=$ac_pwd
   1627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1628 # for backward compatibility:
   1629 ac_top_builddir=$ac_top_build_prefix
   1630 
   1631 case $srcdir in
   1632   .)  # We are building in place.
   1633     ac_srcdir=.
   1634     ac_top_srcdir=$ac_top_builddir_sub
   1635     ac_abs_top_srcdir=$ac_pwd ;;
   1636   [\\/]* | ?:[\\/]* )  # Absolute name.
   1637     ac_srcdir=$srcdir$ac_dir_suffix;
   1638     ac_top_srcdir=$srcdir
   1639     ac_abs_top_srcdir=$srcdir ;;
   1640   *) # Relative name.
   1641     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1642     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1643     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1644 esac
   1645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1646 
   1647     cd "$ac_dir" || { ac_status=$?; continue; }
   1648     # Check for guested configure.
   1649     if test -f "$ac_srcdir/configure.gnu"; then
   1650       echo &&
   1651       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1652     elif test -f "$ac_srcdir/configure"; then
   1653       echo &&
   1654       $SHELL "$ac_srcdir/configure" --help=recursive
   1655     else
   1656       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1657     fi || ac_status=$?
   1658     cd "$ac_pwd" || { ac_status=$?; break; }
   1659   done
   1660 fi
   1661 
   1662 test -n "$ac_init_help" && exit $ac_status
   1663 if $ac_init_version; then
   1664   cat <<\_ACEOF
   1665 PCRE configure 8.38
   1666 generated by GNU Autoconf 2.69
   1667 
   1668 Copyright (C) 2012 Free Software Foundation, Inc.
   1669 This configure script is free software; the Free Software Foundation
   1670 gives unlimited permission to copy, distribute and modify it.
   1671 _ACEOF
   1672   exit
   1673 fi
   1674 
   1675 ## ------------------------ ##
   1676 ## Autoconf initialization. ##
   1677 ## ------------------------ ##
   1678 
   1679 # ac_fn_c_try_compile LINENO
   1680 # --------------------------
   1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1682 ac_fn_c_try_compile ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   rm -f conftest.$ac_objext
   1686   if { { ac_try="$ac_compile"
   1687 case "(($ac_try" in
   1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1689   *) ac_try_echo=$ac_try;;
   1690 esac
   1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1692 $as_echo "$ac_try_echo"; } >&5
   1693   (eval "$ac_compile") 2>conftest.err
   1694   ac_status=$?
   1695   if test -s conftest.err; then
   1696     grep -v '^ *+' conftest.err >conftest.er1
   1697     cat conftest.er1 >&5
   1698     mv -f conftest.er1 conftest.err
   1699   fi
   1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } && {
   1702 	 test -z "$ac_c_werror_flag" ||
   1703 	 test ! -s conftest.err
   1704        } && test -s conftest.$ac_objext; then :
   1705   ac_retval=0
   1706 else
   1707   $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710 	ac_retval=1
   1711 fi
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_compile
   1716 
   1717 # ac_fn_cxx_try_compile LINENO
   1718 # ----------------------------
   1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1720 ac_fn_cxx_try_compile ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   rm -f conftest.$ac_objext
   1724   if { { ac_try="$ac_compile"
   1725 case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 $as_echo "$ac_try_echo"; } >&5
   1731   (eval "$ac_compile") 2>conftest.err
   1732   ac_status=$?
   1733   if test -s conftest.err; then
   1734     grep -v '^ *+' conftest.err >conftest.er1
   1735     cat conftest.er1 >&5
   1736     mv -f conftest.er1 conftest.err
   1737   fi
   1738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1739   test $ac_status = 0; } && {
   1740 	 test -z "$ac_cxx_werror_flag" ||
   1741 	 test ! -s conftest.err
   1742        } && test -s conftest.$ac_objext; then :
   1743   ac_retval=0
   1744 else
   1745   $as_echo "$as_me: failed program was:" >&5
   1746 sed 's/^/| /' conftest.$ac_ext >&5
   1747 
   1748 	ac_retval=1
   1749 fi
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751   as_fn_set_status $ac_retval
   1752 
   1753 } # ac_fn_cxx_try_compile
   1754 
   1755 # ac_fn_c_try_cpp LINENO
   1756 # ----------------------
   1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1758 ac_fn_c_try_cpp ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1762 case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1769   ac_status=$?
   1770   if test -s conftest.err; then
   1771     grep -v '^ *+' conftest.err >conftest.er1
   1772     cat conftest.er1 >&5
   1773     mv -f conftest.er1 conftest.err
   1774   fi
   1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1776   test $ac_status = 0; } > conftest.i && {
   1777 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1778 	 test ! -s conftest.err
   1779        }; then :
   1780   ac_retval=0
   1781 else
   1782   $as_echo "$as_me: failed program was:" >&5
   1783 sed 's/^/| /' conftest.$ac_ext >&5
   1784 
   1785     ac_retval=1
   1786 fi
   1787   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1788   as_fn_set_status $ac_retval
   1789 
   1790 } # ac_fn_c_try_cpp
   1791 
   1792 # ac_fn_c_try_run LINENO
   1793 # ----------------------
   1794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1795 # that executables *can* be run.
   1796 ac_fn_c_try_run ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   if { { ac_try="$ac_link"
   1800 case "(($ac_try" in
   1801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1802   *) ac_try_echo=$ac_try;;
   1803 esac
   1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1805 $as_echo "$ac_try_echo"; } >&5
   1806   (eval "$ac_link") 2>&5
   1807   ac_status=$?
   1808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1809   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1810   { { case "(($ac_try" in
   1811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1812   *) ac_try_echo=$ac_try;;
   1813 esac
   1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1815 $as_echo "$ac_try_echo"; } >&5
   1816   (eval "$ac_try") 2>&5
   1817   ac_status=$?
   1818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1819   test $ac_status = 0; }; }; then :
   1820   ac_retval=0
   1821 else
   1822   $as_echo "$as_me: program exited with status $ac_status" >&5
   1823        $as_echo "$as_me: failed program was:" >&5
   1824 sed 's/^/| /' conftest.$ac_ext >&5
   1825 
   1826        ac_retval=$ac_status
   1827 fi
   1828   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1829   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1830   as_fn_set_status $ac_retval
   1831 
   1832 } # ac_fn_c_try_run
   1833 
   1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1835 # -------------------------------------------------------
   1836 # Tests whether HEADER exists and can be compiled using the include files in
   1837 # INCLUDES, setting the cache variable VAR accordingly.
   1838 ac_fn_c_check_header_compile ()
   1839 {
   1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1842 $as_echo_n "checking for $2... " >&6; }
   1843 if eval \${$3+:} false; then :
   1844   $as_echo_n "(cached) " >&6
   1845 else
   1846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1847 /* end confdefs.h.  */
   1848 $4
   1849 #include <$2>
   1850 _ACEOF
   1851 if ac_fn_c_try_compile "$LINENO"; then :
   1852   eval "$3=yes"
   1853 else
   1854   eval "$3=no"
   1855 fi
   1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1857 fi
   1858 eval ac_res=\$$3
   1859 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1860 $as_echo "$ac_res" >&6; }
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_c_check_header_compile
   1864 
   1865 # ac_fn_c_find_intX_t LINENO BITS VAR
   1866 # -----------------------------------
   1867 # Finds a signed integer type with width BITS, setting cache variable VAR
   1868 # accordingly.
   1869 ac_fn_c_find_intX_t ()
   1870 {
   1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   1873 $as_echo_n "checking for int$2_t... " >&6; }
   1874 if eval \${$3+:} false; then :
   1875   $as_echo_n "(cached) " >&6
   1876 else
   1877   eval "$3=no"
   1878      # Order is important - never check a type that is potentially smaller
   1879      # than half of the expected target width.
   1880      for ac_type in int$2_t 'int' 'long int' \
   1881 	 'long long int' 'short int' 'signed char'; do
   1882        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1883 /* end confdefs.h.  */
   1884 $ac_includes_default
   1885 	     enum { N = $2 / 2 - 1 };
   1886 int
   1887 main ()
   1888 {
   1889 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   1890 test_array [0] = 0;
   1891 return test_array [0];
   1892 
   1893   ;
   1894   return 0;
   1895 }
   1896 _ACEOF
   1897 if ac_fn_c_try_compile "$LINENO"; then :
   1898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1899 /* end confdefs.h.  */
   1900 $ac_includes_default
   1901 	        enum { N = $2 / 2 - 1 };
   1902 int
   1903 main ()
   1904 {
   1905 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   1906 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   1907 test_array [0] = 0;
   1908 return test_array [0];
   1909 
   1910   ;
   1911   return 0;
   1912 }
   1913 _ACEOF
   1914 if ac_fn_c_try_compile "$LINENO"; then :
   1915 
   1916 else
   1917   case $ac_type in #(
   1918   int$2_t) :
   1919     eval "$3=yes" ;; #(
   1920   *) :
   1921     eval "$3=\$ac_type" ;;
   1922 esac
   1923 fi
   1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1925 fi
   1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1927        if eval test \"x\$"$3"\" = x"no"; then :
   1928 
   1929 else
   1930   break
   1931 fi
   1932      done
   1933 fi
   1934 eval ac_res=\$$3
   1935 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1936 $as_echo "$ac_res" >&6; }
   1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1938 
   1939 } # ac_fn_c_find_intX_t
   1940 
   1941 # ac_fn_c_try_link LINENO
   1942 # -----------------------
   1943 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1944 ac_fn_c_try_link ()
   1945 {
   1946   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1947   rm -f conftest.$ac_objext conftest$ac_exeext
   1948   if { { ac_try="$ac_link"
   1949 case "(($ac_try" in
   1950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1951   *) ac_try_echo=$ac_try;;
   1952 esac
   1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1954 $as_echo "$ac_try_echo"; } >&5
   1955   (eval "$ac_link") 2>conftest.err
   1956   ac_status=$?
   1957   if test -s conftest.err; then
   1958     grep -v '^ *+' conftest.err >conftest.er1
   1959     cat conftest.er1 >&5
   1960     mv -f conftest.er1 conftest.err
   1961   fi
   1962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1963   test $ac_status = 0; } && {
   1964 	 test -z "$ac_c_werror_flag" ||
   1965 	 test ! -s conftest.err
   1966        } && test -s conftest$ac_exeext && {
   1967 	 test "$cross_compiling" = yes ||
   1968 	 test -x conftest$ac_exeext
   1969        }; then :
   1970   ac_retval=0
   1971 else
   1972   $as_echo "$as_me: failed program was:" >&5
   1973 sed 's/^/| /' conftest.$ac_ext >&5
   1974 
   1975 	ac_retval=1
   1976 fi
   1977   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1978   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1979   # interfere with the next link command; also delete a directory that is
   1980   # left behind by Apple's compiler.  We do this before executing the actions.
   1981   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1982   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1983   as_fn_set_status $ac_retval
   1984 
   1985 } # ac_fn_c_try_link
   1986 
   1987 # ac_fn_c_check_func LINENO FUNC VAR
   1988 # ----------------------------------
   1989 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1990 ac_fn_c_check_func ()
   1991 {
   1992   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1994 $as_echo_n "checking for $2... " >&6; }
   1995 if eval \${$3+:} false; then :
   1996   $as_echo_n "(cached) " >&6
   1997 else
   1998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1999 /* end confdefs.h.  */
   2000 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2002 #define $2 innocuous_$2
   2003 
   2004 /* System header to define __stub macros and hopefully few prototypes,
   2005     which can conflict with char $2 (); below.
   2006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2007     <limits.h> exists even on freestanding compilers.  */
   2008 
   2009 #ifdef __STDC__
   2010 # include <limits.h>
   2011 #else
   2012 # include <assert.h>
   2013 #endif
   2014 
   2015 #undef $2
   2016 
   2017 /* Override any GCC internal prototype to avoid an error.
   2018    Use char because int might match the return type of a GCC
   2019    builtin and then its argument prototype would still apply.  */
   2020 #ifdef __cplusplus
   2021 extern "C"
   2022 #endif
   2023 char $2 ();
   2024 /* The GNU C library defines this for functions which it implements
   2025     to always fail with ENOSYS.  Some functions are actually named
   2026     something starting with __ and the normal name is an alias.  */
   2027 #if defined __stub_$2 || defined __stub___$2
   2028 choke me
   2029 #endif
   2030 
   2031 int
   2032 main ()
   2033 {
   2034 return $2 ();
   2035   ;
   2036   return 0;
   2037 }
   2038 _ACEOF
   2039 if ac_fn_c_try_link "$LINENO"; then :
   2040   eval "$3=yes"
   2041 else
   2042   eval "$3=no"
   2043 fi
   2044 rm -f core conftest.err conftest.$ac_objext \
   2045     conftest$ac_exeext conftest.$ac_ext
   2046 fi
   2047 eval ac_res=\$$3
   2048 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2049 $as_echo "$ac_res" >&6; }
   2050   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2051 
   2052 } # ac_fn_c_check_func
   2053 
   2054 # ac_fn_cxx_try_cpp LINENO
   2055 # ------------------------
   2056 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2057 ac_fn_cxx_try_cpp ()
   2058 {
   2059   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2060   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2061 case "(($ac_try" in
   2062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2063   *) ac_try_echo=$ac_try;;
   2064 esac
   2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2066 $as_echo "$ac_try_echo"; } >&5
   2067   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2068   ac_status=$?
   2069   if test -s conftest.err; then
   2070     grep -v '^ *+' conftest.err >conftest.er1
   2071     cat conftest.er1 >&5
   2072     mv -f conftest.er1 conftest.err
   2073   fi
   2074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2075   test $ac_status = 0; } > conftest.i && {
   2076 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   2077 	 test ! -s conftest.err
   2078        }; then :
   2079   ac_retval=0
   2080 else
   2081   $as_echo "$as_me: failed program was:" >&5
   2082 sed 's/^/| /' conftest.$ac_ext >&5
   2083 
   2084     ac_retval=1
   2085 fi
   2086   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2087   as_fn_set_status $ac_retval
   2088 
   2089 } # ac_fn_cxx_try_cpp
   2090 
   2091 # ac_fn_cxx_try_link LINENO
   2092 # -------------------------
   2093 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2094 ac_fn_cxx_try_link ()
   2095 {
   2096   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2097   rm -f conftest.$ac_objext conftest$ac_exeext
   2098   if { { ac_try="$ac_link"
   2099 case "(($ac_try" in
   2100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2101   *) ac_try_echo=$ac_try;;
   2102 esac
   2103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2104 $as_echo "$ac_try_echo"; } >&5
   2105   (eval "$ac_link") 2>conftest.err
   2106   ac_status=$?
   2107   if test -s conftest.err; then
   2108     grep -v '^ *+' conftest.err >conftest.er1
   2109     cat conftest.er1 >&5
   2110     mv -f conftest.er1 conftest.err
   2111   fi
   2112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2113   test $ac_status = 0; } && {
   2114 	 test -z "$ac_cxx_werror_flag" ||
   2115 	 test ! -s conftest.err
   2116        } && test -s conftest$ac_exeext && {
   2117 	 test "$cross_compiling" = yes ||
   2118 	 test -x conftest$ac_exeext
   2119        }; then :
   2120   ac_retval=0
   2121 else
   2122   $as_echo "$as_me: failed program was:" >&5
   2123 sed 's/^/| /' conftest.$ac_ext >&5
   2124 
   2125 	ac_retval=1
   2126 fi
   2127   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2128   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2129   # interfere with the next link command; also delete a directory that is
   2130   # left behind by Apple's compiler.  We do this before executing the actions.
   2131   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2132   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2133   as_fn_set_status $ac_retval
   2134 
   2135 } # ac_fn_cxx_try_link
   2136 
   2137 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   2138 # -------------------------------------------------------
   2139 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2140 # the include files in INCLUDES and setting the cache variable VAR
   2141 # accordingly.
   2142 ac_fn_c_check_header_mongrel ()
   2143 {
   2144   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2145   if eval \${$3+:} false; then :
   2146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2147 $as_echo_n "checking for $2... " >&6; }
   2148 if eval \${$3+:} false; then :
   2149   $as_echo_n "(cached) " >&6
   2150 fi
   2151 eval ac_res=\$$3
   2152 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2153 $as_echo "$ac_res" >&6; }
   2154 else
   2155   # Is the header compilable?
   2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2157 $as_echo_n "checking $2 usability... " >&6; }
   2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2159 /* end confdefs.h.  */
   2160 $4
   2161 #include <$2>
   2162 _ACEOF
   2163 if ac_fn_c_try_compile "$LINENO"; then :
   2164   ac_header_compiler=yes
   2165 else
   2166   ac_header_compiler=no
   2167 fi
   2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2170 $as_echo "$ac_header_compiler" >&6; }
   2171 
   2172 # Is the header present?
   2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2174 $as_echo_n "checking $2 presence... " >&6; }
   2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2176 /* end confdefs.h.  */
   2177 #include <$2>
   2178 _ACEOF
   2179 if ac_fn_c_try_cpp "$LINENO"; then :
   2180   ac_header_preproc=yes
   2181 else
   2182   ac_header_preproc=no
   2183 fi
   2184 rm -f conftest.err conftest.i conftest.$ac_ext
   2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2186 $as_echo "$ac_header_preproc" >&6; }
   2187 
   2188 # So?  What about this header?
   2189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2190   yes:no: )
   2191     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2192 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2193     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2194 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2195     ;;
   2196   no:yes:* )
   2197     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2198 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2199     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2200 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2201     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2202 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2203     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2204 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2205     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2206 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2207     ;;
   2208 esac
   2209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2210 $as_echo_n "checking for $2... " >&6; }
   2211 if eval \${$3+:} false; then :
   2212   $as_echo_n "(cached) " >&6
   2213 else
   2214   eval "$3=\$ac_header_compiler"
   2215 fi
   2216 eval ac_res=\$$3
   2217 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2218 $as_echo "$ac_res" >&6; }
   2219 fi
   2220   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2221 
   2222 } # ac_fn_c_check_header_mongrel
   2223 
   2224 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
   2225 # ---------------------------------------------------------
   2226 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2227 # the include files in INCLUDES and setting the cache variable VAR
   2228 # accordingly.
   2229 ac_fn_cxx_check_header_mongrel ()
   2230 {
   2231   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2232   if eval \${$3+:} false; then :
   2233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2234 $as_echo_n "checking for $2... " >&6; }
   2235 if eval \${$3+:} false; then :
   2236   $as_echo_n "(cached) " >&6
   2237 fi
   2238 eval ac_res=\$$3
   2239 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2240 $as_echo "$ac_res" >&6; }
   2241 else
   2242   # Is the header compilable?
   2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2244 $as_echo_n "checking $2 usability... " >&6; }
   2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2246 /* end confdefs.h.  */
   2247 $4
   2248 #include <$2>
   2249 _ACEOF
   2250 if ac_fn_cxx_try_compile "$LINENO"; then :
   2251   ac_header_compiler=yes
   2252 else
   2253   ac_header_compiler=no
   2254 fi
   2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2257 $as_echo "$ac_header_compiler" >&6; }
   2258 
   2259 # Is the header present?
   2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2261 $as_echo_n "checking $2 presence... " >&6; }
   2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2263 /* end confdefs.h.  */
   2264 #include <$2>
   2265 _ACEOF
   2266 if ac_fn_cxx_try_cpp "$LINENO"; then :
   2267   ac_header_preproc=yes
   2268 else
   2269   ac_header_preproc=no
   2270 fi
   2271 rm -f conftest.err conftest.i conftest.$ac_ext
   2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2273 $as_echo "$ac_header_preproc" >&6; }
   2274 
   2275 # So?  What about this header?
   2276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
   2277   yes:no: )
   2278     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2279 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2280     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2281 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2282     ;;
   2283   no:yes:* )
   2284     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2285 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2286     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2287 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2288     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2289 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2290     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2291 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2292     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2293 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2294     ;;
   2295 esac
   2296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2297 $as_echo_n "checking for $2... " >&6; }
   2298 if eval \${$3+:} false; then :
   2299   $as_echo_n "(cached) " >&6
   2300 else
   2301   eval "$3=\$ac_header_compiler"
   2302 fi
   2303 eval ac_res=\$$3
   2304 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2305 $as_echo "$ac_res" >&6; }
   2306 fi
   2307   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2308 
   2309 } # ac_fn_cxx_check_header_mongrel
   2310 
   2311 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
   2312 # ---------------------------------------------
   2313 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2314 # variable VAR accordingly.
   2315 ac_fn_cxx_check_type ()
   2316 {
   2317   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2319 $as_echo_n "checking for $2... " >&6; }
   2320 if eval \${$3+:} false; then :
   2321   $as_echo_n "(cached) " >&6
   2322 else
   2323   eval "$3=no"
   2324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2325 /* end confdefs.h.  */
   2326 $4
   2327 int
   2328 main ()
   2329 {
   2330 if (sizeof ($2))
   2331 	 return 0;
   2332   ;
   2333   return 0;
   2334 }
   2335 _ACEOF
   2336 if ac_fn_cxx_try_compile "$LINENO"; then :
   2337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2338 /* end confdefs.h.  */
   2339 $4
   2340 int
   2341 main ()
   2342 {
   2343 if (sizeof (($2)))
   2344 	    return 0;
   2345   ;
   2346   return 0;
   2347 }
   2348 _ACEOF
   2349 if ac_fn_cxx_try_compile "$LINENO"; then :
   2350 
   2351 else
   2352   eval "$3=yes"
   2353 fi
   2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2355 fi
   2356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2357 fi
   2358 eval ac_res=\$$3
   2359 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2360 $as_echo "$ac_res" >&6; }
   2361   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2362 
   2363 } # ac_fn_cxx_check_type
   2364 
   2365 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2366 # -------------------------------------------
   2367 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2368 # variable VAR accordingly.
   2369 ac_fn_c_check_type ()
   2370 {
   2371   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2373 $as_echo_n "checking for $2... " >&6; }
   2374 if eval \${$3+:} false; then :
   2375   $as_echo_n "(cached) " >&6
   2376 else
   2377   eval "$3=no"
   2378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2379 /* end confdefs.h.  */
   2380 $4
   2381 int
   2382 main ()
   2383 {
   2384 if (sizeof ($2))
   2385 	 return 0;
   2386   ;
   2387   return 0;
   2388 }
   2389 _ACEOF
   2390 if ac_fn_c_try_compile "$LINENO"; then :
   2391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2392 /* end confdefs.h.  */
   2393 $4
   2394 int
   2395 main ()
   2396 {
   2397 if (sizeof (($2)))
   2398 	    return 0;
   2399   ;
   2400   return 0;
   2401 }
   2402 _ACEOF
   2403 if ac_fn_c_try_compile "$LINENO"; then :
   2404 
   2405 else
   2406   eval "$3=yes"
   2407 fi
   2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2409 fi
   2410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2411 fi
   2412 eval ac_res=\$$3
   2413 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2414 $as_echo "$ac_res" >&6; }
   2415   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2416 
   2417 } # ac_fn_c_check_type
   2418 cat >config.log <<_ACEOF
   2419 This file contains any messages produced by compilers while
   2420 running configure, to aid debugging if configure makes a mistake.
   2421 
   2422 It was created by PCRE $as_me 8.38, which was
   2423 generated by GNU Autoconf 2.69.  Invocation command line was
   2424 
   2425   $ $0 $@
   2426 
   2427 _ACEOF
   2428 exec 5>>config.log
   2429 {
   2430 cat <<_ASUNAME
   2431 ## --------- ##
   2432 ## Platform. ##
   2433 ## --------- ##
   2434 
   2435 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2436 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2437 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2438 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2439 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2440 
   2441 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2442 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2443 
   2444 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2445 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2446 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2447 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2448 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2449 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2450 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2451 
   2452 _ASUNAME
   2453 
   2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2455 for as_dir in $PATH
   2456 do
   2457   IFS=$as_save_IFS
   2458   test -z "$as_dir" && as_dir=.
   2459     $as_echo "PATH: $as_dir"
   2460   done
   2461 IFS=$as_save_IFS
   2462 
   2463 } >&5
   2464 
   2465 cat >&5 <<_ACEOF
   2466 
   2467 
   2468 ## ----------- ##
   2469 ## Core tests. ##
   2470 ## ----------- ##
   2471 
   2472 _ACEOF
   2473 
   2474 
   2475 # Keep a trace of the command line.
   2476 # Strip out --no-create and --no-recursion so they do not pile up.
   2477 # Strip out --silent because we don't want to record it for future runs.
   2478 # Also quote any args containing shell meta-characters.
   2479 # Make two passes to allow for proper duplicate-argument suppression.
   2480 ac_configure_args=
   2481 ac_configure_args0=
   2482 ac_configure_args1=
   2483 ac_must_keep_next=false
   2484 for ac_pass in 1 2
   2485 do
   2486   for ac_arg
   2487   do
   2488     case $ac_arg in
   2489     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2490     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2491     | -silent | --silent | --silen | --sile | --sil)
   2492       continue ;;
   2493     *\'*)
   2494       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2495     esac
   2496     case $ac_pass in
   2497     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2498     2)
   2499       as_fn_append ac_configure_args1 " '$ac_arg'"
   2500       if test $ac_must_keep_next = true; then
   2501 	ac_must_keep_next=false # Got value, back to normal.
   2502       else
   2503 	case $ac_arg in
   2504 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2505 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2506 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2507 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2508 	    case "$ac_configure_args0 " in
   2509 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2510 	    esac
   2511 	    ;;
   2512 	  -* ) ac_must_keep_next=true ;;
   2513 	esac
   2514       fi
   2515       as_fn_append ac_configure_args " '$ac_arg'"
   2516       ;;
   2517     esac
   2518   done
   2519 done
   2520 { ac_configure_args0=; unset ac_configure_args0;}
   2521 { ac_configure_args1=; unset ac_configure_args1;}
   2522 
   2523 # When interrupted or exit'd, cleanup temporary files, and complete
   2524 # config.log.  We remove comments because anyway the quotes in there
   2525 # would cause problems or look ugly.
   2526 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2527 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2528 trap 'exit_status=$?
   2529   # Save into config.log some information that might help in debugging.
   2530   {
   2531     echo
   2532 
   2533     $as_echo "## ---------------- ##
   2534 ## Cache variables. ##
   2535 ## ---------------- ##"
   2536     echo
   2537     # The following way of writing the cache mishandles newlines in values,
   2538 (
   2539   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2540     eval ac_val=\$$ac_var
   2541     case $ac_val in #(
   2542     *${as_nl}*)
   2543       case $ac_var in #(
   2544       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2545 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2546       esac
   2547       case $ac_var in #(
   2548       _ | IFS | as_nl) ;; #(
   2549       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2550       *) { eval $ac_var=; unset $ac_var;} ;;
   2551       esac ;;
   2552     esac
   2553   done
   2554   (set) 2>&1 |
   2555     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2556     *${as_nl}ac_space=\ *)
   2557       sed -n \
   2558 	"s/'\''/'\''\\\\'\'''\''/g;
   2559 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2560       ;; #(
   2561     *)
   2562       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2563       ;;
   2564     esac |
   2565     sort
   2566 )
   2567     echo
   2568 
   2569     $as_echo "## ----------------- ##
   2570 ## Output variables. ##
   2571 ## ----------------- ##"
   2572     echo
   2573     for ac_var in $ac_subst_vars
   2574     do
   2575       eval ac_val=\$$ac_var
   2576       case $ac_val in
   2577       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2578       esac
   2579       $as_echo "$ac_var='\''$ac_val'\''"
   2580     done | sort
   2581     echo
   2582 
   2583     if test -n "$ac_subst_files"; then
   2584       $as_echo "## ------------------- ##
   2585 ## File substitutions. ##
   2586 ## ------------------- ##"
   2587       echo
   2588       for ac_var in $ac_subst_files
   2589       do
   2590 	eval ac_val=\$$ac_var
   2591 	case $ac_val in
   2592 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2593 	esac
   2594 	$as_echo "$ac_var='\''$ac_val'\''"
   2595       done | sort
   2596       echo
   2597     fi
   2598 
   2599     if test -s confdefs.h; then
   2600       $as_echo "## ----------- ##
   2601 ## confdefs.h. ##
   2602 ## ----------- ##"
   2603       echo
   2604       cat confdefs.h
   2605       echo
   2606     fi
   2607     test "$ac_signal" != 0 &&
   2608       $as_echo "$as_me: caught signal $ac_signal"
   2609     $as_echo "$as_me: exit $exit_status"
   2610   } >&5
   2611   rm -f core *.core core.conftest.* &&
   2612     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2613     exit $exit_status
   2614 ' 0
   2615 for ac_signal in 1 2 13 15; do
   2616   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2617 done
   2618 ac_signal=0
   2619 
   2620 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2621 rm -f -r conftest* confdefs.h
   2622 
   2623 $as_echo "/* confdefs.h */" > confdefs.h
   2624 
   2625 # Predefined preprocessor variables.
   2626 
   2627 cat >>confdefs.h <<_ACEOF
   2628 #define PACKAGE_NAME "$PACKAGE_NAME"
   2629 _ACEOF
   2630 
   2631 cat >>confdefs.h <<_ACEOF
   2632 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2633 _ACEOF
   2634 
   2635 cat >>confdefs.h <<_ACEOF
   2636 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2637 _ACEOF
   2638 
   2639 cat >>confdefs.h <<_ACEOF
   2640 #define PACKAGE_STRING "$PACKAGE_STRING"
   2641 _ACEOF
   2642 
   2643 cat >>confdefs.h <<_ACEOF
   2644 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2645 _ACEOF
   2646 
   2647 cat >>confdefs.h <<_ACEOF
   2648 #define PACKAGE_URL "$PACKAGE_URL"
   2649 _ACEOF
   2650 
   2651 
   2652 # Let the site file select an alternate cache file if it wants to.
   2653 # Prefer an explicitly selected file to automatically selected ones.
   2654 ac_site_file1=NONE
   2655 ac_site_file2=NONE
   2656 if test -n "$CONFIG_SITE"; then
   2657   # We do not want a PATH search for config.site.
   2658   case $CONFIG_SITE in #((
   2659     -*)  ac_site_file1=./$CONFIG_SITE;;
   2660     */*) ac_site_file1=$CONFIG_SITE;;
   2661     *)   ac_site_file1=./$CONFIG_SITE;;
   2662   esac
   2663 elif test "x$prefix" != xNONE; then
   2664   ac_site_file1=$prefix/share/config.site
   2665   ac_site_file2=$prefix/etc/config.site
   2666 else
   2667   ac_site_file1=$ac_default_prefix/share/config.site
   2668   ac_site_file2=$ac_default_prefix/etc/config.site
   2669 fi
   2670 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2671 do
   2672   test "x$ac_site_file" = xNONE && continue
   2673   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2674     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2675 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2676     sed 's/^/| /' "$ac_site_file" >&5
   2677     . "$ac_site_file" \
   2678       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2680 as_fn_error $? "failed to load site script $ac_site_file
   2681 See \`config.log' for more details" "$LINENO" 5; }
   2682   fi
   2683 done
   2684 
   2685 if test -r "$cache_file"; then
   2686   # Some versions of bash will fail to source /dev/null (special files
   2687   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2688   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2689     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2690 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2691     case $cache_file in
   2692       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2693       *)                      . "./$cache_file";;
   2694     esac
   2695   fi
   2696 else
   2697   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2698 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2699   >$cache_file
   2700 fi
   2701 
   2702 # Check that the precious variables saved in the cache have kept the same
   2703 # value.
   2704 ac_cache_corrupted=false
   2705 for ac_var in $ac_precious_vars; do
   2706   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2707   eval ac_new_set=\$ac_env_${ac_var}_set
   2708   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2709   eval ac_new_val=\$ac_env_${ac_var}_value
   2710   case $ac_old_set,$ac_new_set in
   2711     set,)
   2712       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2713 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2714       ac_cache_corrupted=: ;;
   2715     ,set)
   2716       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2717 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2718       ac_cache_corrupted=: ;;
   2719     ,);;
   2720     *)
   2721       if test "x$ac_old_val" != "x$ac_new_val"; then
   2722 	# differences in whitespace do not lead to failure.
   2723 	ac_old_val_w=`echo x $ac_old_val`
   2724 	ac_new_val_w=`echo x $ac_new_val`
   2725 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2726 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2727 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2728 	  ac_cache_corrupted=:
   2729 	else
   2730 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2731 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2732 	  eval $ac_var=\$ac_old_val
   2733 	fi
   2734 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2735 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2736 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2737 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2738       fi;;
   2739   esac
   2740   # Pass precious variables to config.status.
   2741   if test "$ac_new_set" = set; then
   2742     case $ac_new_val in
   2743     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2744     *) ac_arg=$ac_var=$ac_new_val ;;
   2745     esac
   2746     case " $ac_configure_args " in
   2747       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2748       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2749     esac
   2750   fi
   2751 done
   2752 if $ac_cache_corrupted; then
   2753   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2755   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2756 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2757   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2758 fi
   2759 ## -------------------- ##
   2760 ## Main body of script. ##
   2761 ## -------------------- ##
   2762 
   2763 ac_ext=c
   2764 ac_cpp='$CPP $CPPFLAGS'
   2765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2768 
   2769 
   2770 
   2771 am__api_version='1.15'
   2772 
   2773 ac_aux_dir=
   2774 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2775   if test -f "$ac_dir/install-sh"; then
   2776     ac_aux_dir=$ac_dir
   2777     ac_install_sh="$ac_aux_dir/install-sh -c"
   2778     break
   2779   elif test -f "$ac_dir/install.sh"; then
   2780     ac_aux_dir=$ac_dir
   2781     ac_install_sh="$ac_aux_dir/install.sh -c"
   2782     break
   2783   elif test -f "$ac_dir/shtool"; then
   2784     ac_aux_dir=$ac_dir
   2785     ac_install_sh="$ac_aux_dir/shtool install -c"
   2786     break
   2787   fi
   2788 done
   2789 if test -z "$ac_aux_dir"; then
   2790   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2791 fi
   2792 
   2793 # These three variables are undocumented and unsupported,
   2794 # and are intended to be withdrawn in a future Autoconf release.
   2795 # They can cause serious problems if a builder's source tree is in a directory
   2796 # whose full name contains unusual characters.
   2797 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2798 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2799 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2800 
   2801 
   2802 # Find a good install program.  We prefer a C program (faster),
   2803 # so one script is as good as another.  But avoid the broken or
   2804 # incompatible versions:
   2805 # SysV /etc/install, /usr/sbin/install
   2806 # SunOS /usr/etc/install
   2807 # IRIX /sbin/install
   2808 # AIX /bin/install
   2809 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2813 # OS/2's system install, which has a completely different semantic
   2814 # ./install, which can be erroneously created by make from ./install.sh.
   2815 # Reject install programs that cannot install multiple files.
   2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2817 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2818 if test -z "$INSTALL"; then
   2819 if ${ac_cv_path_install+:} false; then :
   2820   $as_echo_n "(cached) " >&6
   2821 else
   2822   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2823 for as_dir in $PATH
   2824 do
   2825   IFS=$as_save_IFS
   2826   test -z "$as_dir" && as_dir=.
   2827     # Account for people who put trailing slashes in PATH elements.
   2828 case $as_dir/ in #((
   2829   ./ | .// | /[cC]/* | \
   2830   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2831   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2832   /usr/ucb/* ) ;;
   2833   *)
   2834     # OSF1 and SCO ODT 3.0 have their own names for install.
   2835     # Don't use installbsd from OSF since it installs stuff as root
   2836     # by default.
   2837     for ac_prog in ginstall scoinst install; do
   2838       for ac_exec_ext in '' $ac_executable_extensions; do
   2839 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2840 	  if test $ac_prog = install &&
   2841 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2842 	    # AIX install.  It has an incompatible calling convention.
   2843 	    :
   2844 	  elif test $ac_prog = install &&
   2845 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2846 	    # program-specific install script used by HP pwplus--don't use.
   2847 	    :
   2848 	  else
   2849 	    rm -rf conftest.one conftest.two conftest.dir
   2850 	    echo one > conftest.one
   2851 	    echo two > conftest.two
   2852 	    mkdir conftest.dir
   2853 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2854 	      test -s conftest.one && test -s conftest.two &&
   2855 	      test -s conftest.dir/conftest.one &&
   2856 	      test -s conftest.dir/conftest.two
   2857 	    then
   2858 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2859 	      break 3
   2860 	    fi
   2861 	  fi
   2862 	fi
   2863       done
   2864     done
   2865     ;;
   2866 esac
   2867 
   2868   done
   2869 IFS=$as_save_IFS
   2870 
   2871 rm -rf conftest.one conftest.two conftest.dir
   2872 
   2873 fi
   2874   if test "${ac_cv_path_install+set}" = set; then
   2875     INSTALL=$ac_cv_path_install
   2876   else
   2877     # As a last resort, use the slow shell script.  Don't cache a
   2878     # value for INSTALL within a source directory, because that will
   2879     # break other packages using the cache if that directory is
   2880     # removed, or if the value is a relative name.
   2881     INSTALL=$ac_install_sh
   2882   fi
   2883 fi
   2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2885 $as_echo "$INSTALL" >&6; }
   2886 
   2887 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2888 # It thinks the first close brace ends the variable substitution.
   2889 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2890 
   2891 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2892 
   2893 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2894 
   2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2896 $as_echo_n "checking whether build environment is sane... " >&6; }
   2897 # Reject unsafe characters in $srcdir or the absolute working directory
   2898 # name.  Accept space and tab only in the latter.
   2899 am_lf='
   2900 '
   2901 case `pwd` in
   2902   *[\\\"\#\$\&\'\`$am_lf]*)
   2903     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2904 esac
   2905 case $srcdir in
   2906   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2907     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2908 esac
   2909 
   2910 # Do 'set' in a subshell so we don't clobber the current shell's
   2911 # arguments.  Must try -L first in case configure is actually a
   2912 # symlink; some systems play weird games with the mod time of symlinks
   2913 # (eg FreeBSD returns the mod time of the symlink's containing
   2914 # directory).
   2915 if (
   2916    am_has_slept=no
   2917    for am_try in 1 2; do
   2918      echo "timestamp, slept: $am_has_slept" > conftest.file
   2919      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2920      if test "$*" = "X"; then
   2921 	# -L didn't work.
   2922 	set X `ls -t "$srcdir/configure" conftest.file`
   2923      fi
   2924      if test "$*" != "X $srcdir/configure conftest.file" \
   2925 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2926 
   2927 	# If neither matched, then we have a broken ls.  This can happen
   2928 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2929 	# broken ls alias from the environment.  This has actually
   2930 	# happened.  Such a system could not be considered "sane".
   2931 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2932   alias in your environment" "$LINENO" 5
   2933      fi
   2934      if test "$2" = conftest.file || test $am_try -eq 2; then
   2935        break
   2936      fi
   2937      # Just in case.
   2938      sleep 1
   2939      am_has_slept=yes
   2940    done
   2941    test "$2" = conftest.file
   2942    )
   2943 then
   2944    # Ok.
   2945    :
   2946 else
   2947    as_fn_error $? "newly created file is older than distributed files!
   2948 Check your system clock" "$LINENO" 5
   2949 fi
   2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2951 $as_echo "yes" >&6; }
   2952 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2953 # generated files are strictly newer.
   2954 am_sleep_pid=
   2955 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2956   ( sleep 1 ) &
   2957   am_sleep_pid=$!
   2958 fi
   2959 
   2960 rm -f conftest.file
   2961 
   2962 test "$program_prefix" != NONE &&
   2963   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2964 # Use a double $ so make ignores it.
   2965 test "$program_suffix" != NONE &&
   2966   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2967 # Double any \ or $.
   2968 # By default was `s,x,x', remove it if useless.
   2969 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2970 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2971 
   2972 # Expand $ac_aux_dir to an absolute path.
   2973 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2974 
   2975 if test x"${MISSING+set}" != xset; then
   2976   case $am_aux_dir in
   2977   *\ * | *\	*)
   2978     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2979   *)
   2980     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2981   esac
   2982 fi
   2983 # Use eval to expand $SHELL
   2984 if eval "$MISSING --is-lightweight"; then
   2985   am_missing_run="$MISSING "
   2986 else
   2987   am_missing_run=
   2988   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2989 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2990 fi
   2991 
   2992 if test x"${install_sh+set}" != xset; then
   2993   case $am_aux_dir in
   2994   *\ * | *\	*)
   2995     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2996   *)
   2997     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2998   esac
   2999 fi
   3000 
   3001 # Installed binaries are usually stripped using 'strip' when the user
   3002 # run "make install-strip".  However 'strip' might not be the right
   3003 # tool to use in cross-compilation environments, therefore Automake
   3004 # will honor the 'STRIP' environment variable to overrule this program.
   3005 if test "$cross_compiling" != no; then
   3006   if test -n "$ac_tool_prefix"; then
   3007   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3008 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3010 $as_echo_n "checking for $ac_word... " >&6; }
   3011 if ${ac_cv_prog_STRIP+:} false; then :
   3012   $as_echo_n "(cached) " >&6
   3013 else
   3014   if test -n "$STRIP"; then
   3015   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3016 else
   3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   test -z "$as_dir" && as_dir=.
   3022     for ac_exec_ext in '' $ac_executable_extensions; do
   3023   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3024     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3026     break 2
   3027   fi
   3028 done
   3029   done
   3030 IFS=$as_save_IFS
   3031 
   3032 fi
   3033 fi
   3034 STRIP=$ac_cv_prog_STRIP
   3035 if test -n "$STRIP"; then
   3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3037 $as_echo "$STRIP" >&6; }
   3038 else
   3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3040 $as_echo "no" >&6; }
   3041 fi
   3042 
   3043 
   3044 fi
   3045 if test -z "$ac_cv_prog_STRIP"; then
   3046   ac_ct_STRIP=$STRIP
   3047   # Extract the first word of "strip", so it can be a program name with args.
   3048 set dummy strip; ac_word=$2
   3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3050 $as_echo_n "checking for $ac_word... " >&6; }
   3051 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3052   $as_echo_n "(cached) " >&6
   3053 else
   3054   if test -n "$ac_ct_STRIP"; then
   3055   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3056 else
   3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3058 for as_dir in $PATH
   3059 do
   3060   IFS=$as_save_IFS
   3061   test -z "$as_dir" && as_dir=.
   3062     for ac_exec_ext in '' $ac_executable_extensions; do
   3063   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3064     ac_cv_prog_ac_ct_STRIP="strip"
   3065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3066     break 2
   3067   fi
   3068 done
   3069   done
   3070 IFS=$as_save_IFS
   3071 
   3072 fi
   3073 fi
   3074 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3075 if test -n "$ac_ct_STRIP"; then
   3076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3077 $as_echo "$ac_ct_STRIP" >&6; }
   3078 else
   3079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3080 $as_echo "no" >&6; }
   3081 fi
   3082 
   3083   if test "x$ac_ct_STRIP" = x; then
   3084     STRIP=":"
   3085   else
   3086     case $cross_compiling:$ac_tool_warned in
   3087 yes:)
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3090 ac_tool_warned=yes ;;
   3091 esac
   3092     STRIP=$ac_ct_STRIP
   3093   fi
   3094 else
   3095   STRIP="$ac_cv_prog_STRIP"
   3096 fi
   3097 
   3098 fi
   3099 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3100 
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3102 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3103 if test -z "$MKDIR_P"; then
   3104   if ${ac_cv_path_mkdir+:} false; then :
   3105   $as_echo_n "(cached) " >&6
   3106 else
   3107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3108 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3109 do
   3110   IFS=$as_save_IFS
   3111   test -z "$as_dir" && as_dir=.
   3112     for ac_prog in mkdir gmkdir; do
   3113 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3114 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3115 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3116 	     'mkdir (GNU coreutils) '* | \
   3117 	     'mkdir (coreutils) '* | \
   3118 	     'mkdir (fileutils) '4.1*)
   3119 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3120 	       break 3;;
   3121 	   esac
   3122 	 done
   3123        done
   3124   done
   3125 IFS=$as_save_IFS
   3126 
   3127 fi
   3128 
   3129   test -d ./--version && rmdir ./--version
   3130   if test "${ac_cv_path_mkdir+set}" = set; then
   3131     MKDIR_P="$ac_cv_path_mkdir -p"
   3132   else
   3133     # As a last resort, use the slow shell script.  Don't cache a
   3134     # value for MKDIR_P within a source directory, because that will
   3135     # break other packages using the cache if that directory is
   3136     # removed, or if the value is a relative name.
   3137     MKDIR_P="$ac_install_sh -d"
   3138   fi
   3139 fi
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3141 $as_echo "$MKDIR_P" >&6; }
   3142 
   3143 for ac_prog in gawk mawk nawk awk
   3144 do
   3145   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3146 set dummy $ac_prog; ac_word=$2
   3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3148 $as_echo_n "checking for $ac_word... " >&6; }
   3149 if ${ac_cv_prog_AWK+:} false; then :
   3150   $as_echo_n "(cached) " >&6
   3151 else
   3152   if test -n "$AWK"; then
   3153   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3154 else
   3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3156 for as_dir in $PATH
   3157 do
   3158   IFS=$as_save_IFS
   3159   test -z "$as_dir" && as_dir=.
   3160     for ac_exec_ext in '' $ac_executable_extensions; do
   3161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3162     ac_cv_prog_AWK="$ac_prog"
   3163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3164     break 2
   3165   fi
   3166 done
   3167   done
   3168 IFS=$as_save_IFS
   3169 
   3170 fi
   3171 fi
   3172 AWK=$ac_cv_prog_AWK
   3173 if test -n "$AWK"; then
   3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3175 $as_echo "$AWK" >&6; }
   3176 else
   3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3178 $as_echo "no" >&6; }
   3179 fi
   3180 
   3181 
   3182   test -n "$AWK" && break
   3183 done
   3184 
   3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3186 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3187 set x ${MAKE-make}
   3188 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3189 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3190   $as_echo_n "(cached) " >&6
   3191 else
   3192   cat >conftest.make <<\_ACEOF
   3193 SHELL = /bin/sh
   3194 all:
   3195 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3196 _ACEOF
   3197 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3198 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3199   *@@@%%%=?*=@@@%%%*)
   3200     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3201   *)
   3202     eval ac_cv_prog_make_${ac_make}_set=no;;
   3203 esac
   3204 rm -f conftest.make
   3205 fi
   3206 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3208 $as_echo "yes" >&6; }
   3209   SET_MAKE=
   3210 else
   3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3212 $as_echo "no" >&6; }
   3213   SET_MAKE="MAKE=${MAKE-make}"
   3214 fi
   3215 
   3216 rm -rf .tst 2>/dev/null
   3217 mkdir .tst 2>/dev/null
   3218 if test -d .tst; then
   3219   am__leading_dot=.
   3220 else
   3221   am__leading_dot=_
   3222 fi
   3223 rmdir .tst 2>/dev/null
   3224 
   3225 # Check whether --enable-silent-rules was given.
   3226 if test "${enable_silent_rules+set}" = set; then :
   3227   enableval=$enable_silent_rules;
   3228 fi
   3229 
   3230 case $enable_silent_rules in # (((
   3231   yes) AM_DEFAULT_VERBOSITY=0;;
   3232    no) AM_DEFAULT_VERBOSITY=1;;
   3233     *) AM_DEFAULT_VERBOSITY=1;;
   3234 esac
   3235 am_make=${MAKE-make}
   3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3237 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3238 if ${am_cv_make_support_nested_variables+:} false; then :
   3239   $as_echo_n "(cached) " >&6
   3240 else
   3241   if $as_echo 'TRUE=$(BAR$(V))
   3242 BAR0=false
   3243 BAR1=true
   3244 V=1
   3245 am__doit:
   3246 	@$(TRUE)
   3247 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3248   am_cv_make_support_nested_variables=yes
   3249 else
   3250   am_cv_make_support_nested_variables=no
   3251 fi
   3252 fi
   3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3254 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3255 if test $am_cv_make_support_nested_variables = yes; then
   3256     AM_V='$(V)'
   3257   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3258 else
   3259   AM_V=$AM_DEFAULT_VERBOSITY
   3260   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3261 fi
   3262 AM_BACKSLASH='\'
   3263 
   3264 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3265   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3266   # is not polluted with repeated "-I."
   3267   am__isrc=' -I$(srcdir)'
   3268   # test to see if srcdir already configured
   3269   if test -f $srcdir/config.status; then
   3270     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3271   fi
   3272 fi
   3273 
   3274 # test whether we have cygpath
   3275 if test -z "$CYGPATH_W"; then
   3276   if (cygpath --version) >/dev/null 2>/dev/null; then
   3277     CYGPATH_W='cygpath -w'
   3278   else
   3279     CYGPATH_W=echo
   3280   fi
   3281 fi
   3282 
   3283 
   3284 # Define the identity of the package.
   3285  PACKAGE='pcre'
   3286  VERSION='8.38'
   3287 
   3288 
   3289 cat >>confdefs.h <<_ACEOF
   3290 #define PACKAGE "$PACKAGE"
   3291 _ACEOF
   3292 
   3293 
   3294 cat >>confdefs.h <<_ACEOF
   3295 #define VERSION "$VERSION"
   3296 _ACEOF
   3297 
   3298 # Some tools Automake needs.
   3299 
   3300 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3301 
   3302 
   3303 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3304 
   3305 
   3306 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3307 
   3308 
   3309 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3310 
   3311 
   3312 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3313 
   3314 # For better backward compatibility.  To be removed once Automake 1.9.x
   3315 # dies out for good.  For more background, see:
   3316 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3317 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3318 mkdir_p='$(MKDIR_P)'
   3319 
   3320 # We need awk for the "check" target (and possibly the TAP driver).  The
   3321 # system "awk" is bad on some platforms.
   3322 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3323 # in the wild :-(  We should find a proper way to deprecate it ...
   3324 AMTAR='$${TAR-tar}'
   3325 
   3326 
   3327 # We'll loop over all known methods to create a tar archive until one works.
   3328 _am_tools='gnutar  pax cpio none'
   3329 
   3330 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3331 
   3332 
   3333 
   3334 
   3335 
   3336 
   3337 # POSIX will say in a future version that running "rm -f" with no argument
   3338 # is OK; and we want to be able to make that assumption in our Makefile
   3339 # recipes.  So use an aggressive probe to check that the usage we want is
   3340 # actually supported "in the wild" to an acceptable degree.
   3341 # See automake bug#10828.
   3342 # To make any issue more visible, cause the running configure to be aborted
   3343 # by default if the 'rm' program in use doesn't match our expectations; the
   3344 # user can still override this though.
   3345 if rm -f && rm -fr && rm -rf; then : OK; else
   3346   cat >&2 <<'END'
   3347 Oops!
   3348 
   3349 Your 'rm' program seems unable to run without file operands specified
   3350 on the command line, even when the '-f' option is present.  This is contrary
   3351 to the behaviour of most rm programs out there, and not conforming with
   3352 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3353 
   3354 Please tell bug-automake@gnu.org about your system, including the value
   3355 of your $PATH and any error possibly output before this message.  This
   3356 can help us improve future automake versions.
   3357 
   3358 END
   3359   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3360     echo 'Configuration will proceed anyway, since you have set the' >&2
   3361     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3362     echo >&2
   3363   else
   3364     cat >&2 <<'END'
   3365 Aborting the configuration process, to ensure you take notice of the issue.
   3366 
   3367 You can download and install GNU coreutils to get an 'rm' implementation
   3368 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3369 
   3370 If you want to complete the configuration process using your problematic
   3371 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3372 to "yes", and re-run configure.
   3373 
   3374 END
   3375     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3376   fi
   3377 fi
   3378 
   3379 # Check whether --enable-silent-rules was given.
   3380 if test "${enable_silent_rules+set}" = set; then :
   3381   enableval=$enable_silent_rules;
   3382 fi
   3383 
   3384 case $enable_silent_rules in # (((
   3385   yes) AM_DEFAULT_VERBOSITY=0;;
   3386    no) AM_DEFAULT_VERBOSITY=1;;
   3387     *) AM_DEFAULT_VERBOSITY=0;;
   3388 esac
   3389 am_make=${MAKE-make}
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3391 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3392 if ${am_cv_make_support_nested_variables+:} false; then :
   3393   $as_echo_n "(cached) " >&6
   3394 else
   3395   if $as_echo 'TRUE=$(BAR$(V))
   3396 BAR0=false
   3397 BAR1=true
   3398 V=1
   3399 am__doit:
   3400 	@$(TRUE)
   3401 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3402   am_cv_make_support_nested_variables=yes
   3403 else
   3404   am_cv_make_support_nested_variables=no
   3405 fi
   3406 fi
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3408 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3409 if test $am_cv_make_support_nested_variables = yes; then
   3410     AM_V='$(V)'
   3411   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3412 else
   3413   AM_V=$AM_DEFAULT_VERBOSITY
   3414   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3415 fi
   3416 AM_BACKSLASH='\'
   3417 
   3418 ac_config_headers="$ac_config_headers config.h"
   3419 
   3420 
   3421 # This is a new thing required to stop a warning from automake 1.12
   3422 DEPDIR="${am__leading_dot}deps"
   3423 
   3424 ac_config_commands="$ac_config_commands depfiles"
   3425 
   3426 
   3427 am_make=${MAKE-make}
   3428 cat > confinc << 'END'
   3429 am__doit:
   3430 	@echo this is the am__doit target
   3431 .PHONY: am__doit
   3432 END
   3433 # If we don't find an include directive, just comment out the code.
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3435 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3436 am__include="#"
   3437 am__quote=
   3438 _am_result=none
   3439 # First try GNU make style include.
   3440 echo "include confinc" > confmf
   3441 # Ignore all kinds of additional output from 'make'.
   3442 case `$am_make -s -f confmf 2> /dev/null` in #(
   3443 *the\ am__doit\ target*)
   3444   am__include=include
   3445   am__quote=
   3446   _am_result=GNU
   3447   ;;
   3448 esac
   3449 # Now try BSD make style include.
   3450 if test "$am__include" = "#"; then
   3451    echo '.include "confinc"' > confmf
   3452    case `$am_make -s -f confmf 2> /dev/null` in #(
   3453    *the\ am__doit\ target*)
   3454      am__include=.include
   3455      am__quote="\""
   3456      _am_result=BSD
   3457      ;;
   3458    esac
   3459 fi
   3460 
   3461 
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3463 $as_echo "$_am_result" >&6; }
   3464 rm -f confinc confmf
   3465 
   3466 # Check whether --enable-dependency-tracking was given.
   3467 if test "${enable_dependency_tracking+set}" = set; then :
   3468   enableval=$enable_dependency_tracking;
   3469 fi
   3470 
   3471 if test "x$enable_dependency_tracking" != xno; then
   3472   am_depcomp="$ac_aux_dir/depcomp"
   3473   AMDEPBACKSLASH='\'
   3474   am__nodep='_no'
   3475 fi
   3476  if test "x$enable_dependency_tracking" != xno; then
   3477   AMDEP_TRUE=
   3478   AMDEP_FALSE='#'
   3479 else
   3480   AMDEP_TRUE='#'
   3481   AMDEP_FALSE=
   3482 fi
   3483 
   3484 
   3485 ac_ext=c
   3486 ac_cpp='$CPP $CPPFLAGS'
   3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3490 if test -n "$ac_tool_prefix"; then
   3491   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3492 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3494 $as_echo_n "checking for $ac_word... " >&6; }
   3495 if ${ac_cv_prog_CC+:} false; then :
   3496   $as_echo_n "(cached) " >&6
   3497 else
   3498   if test -n "$CC"; then
   3499   ac_cv_prog_CC="$CC" # Let the user override the test.
   3500 else
   3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3502 for as_dir in $PATH
   3503 do
   3504   IFS=$as_save_IFS
   3505   test -z "$as_dir" && as_dir=.
   3506     for ac_exec_ext in '' $ac_executable_extensions; do
   3507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3508     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3510     break 2
   3511   fi
   3512 done
   3513   done
   3514 IFS=$as_save_IFS
   3515 
   3516 fi
   3517 fi
   3518 CC=$ac_cv_prog_CC
   3519 if test -n "$CC"; then
   3520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3521 $as_echo "$CC" >&6; }
   3522 else
   3523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3524 $as_echo "no" >&6; }
   3525 fi
   3526 
   3527 
   3528 fi
   3529 if test -z "$ac_cv_prog_CC"; then
   3530   ac_ct_CC=$CC
   3531   # Extract the first word of "gcc", so it can be a program name with args.
   3532 set dummy gcc; ac_word=$2
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3534 $as_echo_n "checking for $ac_word... " >&6; }
   3535 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3536   $as_echo_n "(cached) " >&6
   3537 else
   3538   if test -n "$ac_ct_CC"; then
   3539   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3540 else
   3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3542 for as_dir in $PATH
   3543 do
   3544   IFS=$as_save_IFS
   3545   test -z "$as_dir" && as_dir=.
   3546     for ac_exec_ext in '' $ac_executable_extensions; do
   3547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3548     ac_cv_prog_ac_ct_CC="gcc"
   3549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3550     break 2
   3551   fi
   3552 done
   3553   done
   3554 IFS=$as_save_IFS
   3555 
   3556 fi
   3557 fi
   3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3559 if test -n "$ac_ct_CC"; then
   3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3561 $as_echo "$ac_ct_CC" >&6; }
   3562 else
   3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3564 $as_echo "no" >&6; }
   3565 fi
   3566 
   3567   if test "x$ac_ct_CC" = x; then
   3568     CC=""
   3569   else
   3570     case $cross_compiling:$ac_tool_warned in
   3571 yes:)
   3572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3574 ac_tool_warned=yes ;;
   3575 esac
   3576     CC=$ac_ct_CC
   3577   fi
   3578 else
   3579   CC="$ac_cv_prog_CC"
   3580 fi
   3581 
   3582 if test -z "$CC"; then
   3583           if test -n "$ac_tool_prefix"; then
   3584     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3585 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3587 $as_echo_n "checking for $ac_word... " >&6; }
   3588 if ${ac_cv_prog_CC+:} false; then :
   3589   $as_echo_n "(cached) " >&6
   3590 else
   3591   if test -n "$CC"; then
   3592   ac_cv_prog_CC="$CC" # Let the user override the test.
   3593 else
   3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3595 for as_dir in $PATH
   3596 do
   3597   IFS=$as_save_IFS
   3598   test -z "$as_dir" && as_dir=.
   3599     for ac_exec_ext in '' $ac_executable_extensions; do
   3600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3601     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3603     break 2
   3604   fi
   3605 done
   3606   done
   3607 IFS=$as_save_IFS
   3608 
   3609 fi
   3610 fi
   3611 CC=$ac_cv_prog_CC
   3612 if test -n "$CC"; then
   3613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3614 $as_echo "$CC" >&6; }
   3615 else
   3616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3617 $as_echo "no" >&6; }
   3618 fi
   3619 
   3620 
   3621   fi
   3622 fi
   3623 if test -z "$CC"; then
   3624   # Extract the first word of "cc", so it can be a program name with args.
   3625 set dummy cc; ac_word=$2
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3627 $as_echo_n "checking for $ac_word... " >&6; }
   3628 if ${ac_cv_prog_CC+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   if test -n "$CC"; then
   3632   ac_cv_prog_CC="$CC" # Let the user override the test.
   3633 else
   3634   ac_prog_rejected=no
   3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3636 for as_dir in $PATH
   3637 do
   3638   IFS=$as_save_IFS
   3639   test -z "$as_dir" && as_dir=.
   3640     for ac_exec_ext in '' $ac_executable_extensions; do
   3641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3642     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3643        ac_prog_rejected=yes
   3644        continue
   3645      fi
   3646     ac_cv_prog_CC="cc"
   3647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3648     break 2
   3649   fi
   3650 done
   3651   done
   3652 IFS=$as_save_IFS
   3653 
   3654 if test $ac_prog_rejected = yes; then
   3655   # We found a bogon in the path, so make sure we never use it.
   3656   set dummy $ac_cv_prog_CC
   3657   shift
   3658   if test $# != 0; then
   3659     # We chose a different compiler from the bogus one.
   3660     # However, it has the same basename, so the bogon will be chosen
   3661     # first if we set CC to just the basename; use the full file name.
   3662     shift
   3663     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3664   fi
   3665 fi
   3666 fi
   3667 fi
   3668 CC=$ac_cv_prog_CC
   3669 if test -n "$CC"; then
   3670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3671 $as_echo "$CC" >&6; }
   3672 else
   3673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3674 $as_echo "no" >&6; }
   3675 fi
   3676 
   3677 
   3678 fi
   3679 if test -z "$CC"; then
   3680   if test -n "$ac_tool_prefix"; then
   3681   for ac_prog in cl.exe
   3682   do
   3683     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3686 $as_echo_n "checking for $ac_word... " >&6; }
   3687 if ${ac_cv_prog_CC+:} false; then :
   3688   $as_echo_n "(cached) " >&6
   3689 else
   3690   if test -n "$CC"; then
   3691   ac_cv_prog_CC="$CC" # Let the user override the test.
   3692 else
   3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3694 for as_dir in $PATH
   3695 do
   3696   IFS=$as_save_IFS
   3697   test -z "$as_dir" && as_dir=.
   3698     for ac_exec_ext in '' $ac_executable_extensions; do
   3699   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3700     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3702     break 2
   3703   fi
   3704 done
   3705   done
   3706 IFS=$as_save_IFS
   3707 
   3708 fi
   3709 fi
   3710 CC=$ac_cv_prog_CC
   3711 if test -n "$CC"; then
   3712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3713 $as_echo "$CC" >&6; }
   3714 else
   3715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3716 $as_echo "no" >&6; }
   3717 fi
   3718 
   3719 
   3720     test -n "$CC" && break
   3721   done
   3722 fi
   3723 if test -z "$CC"; then
   3724   ac_ct_CC=$CC
   3725   for ac_prog in cl.exe
   3726 do
   3727   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3728 set dummy $ac_prog; ac_word=$2
   3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3730 $as_echo_n "checking for $ac_word... " >&6; }
   3731 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3732   $as_echo_n "(cached) " >&6
   3733 else
   3734   if test -n "$ac_ct_CC"; then
   3735   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3736 else
   3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3738 for as_dir in $PATH
   3739 do
   3740   IFS=$as_save_IFS
   3741   test -z "$as_dir" && as_dir=.
   3742     for ac_exec_ext in '' $ac_executable_extensions; do
   3743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3744     ac_cv_prog_ac_ct_CC="$ac_prog"
   3745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3746     break 2
   3747   fi
   3748 done
   3749   done
   3750 IFS=$as_save_IFS
   3751 
   3752 fi
   3753 fi
   3754 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3755 if test -n "$ac_ct_CC"; then
   3756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3757 $as_echo "$ac_ct_CC" >&6; }
   3758 else
   3759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3760 $as_echo "no" >&6; }
   3761 fi
   3762 
   3763 
   3764   test -n "$ac_ct_CC" && break
   3765 done
   3766 
   3767   if test "x$ac_ct_CC" = x; then
   3768     CC=""
   3769   else
   3770     case $cross_compiling:$ac_tool_warned in
   3771 yes:)
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3774 ac_tool_warned=yes ;;
   3775 esac
   3776     CC=$ac_ct_CC
   3777   fi
   3778 fi
   3779 
   3780 fi
   3781 
   3782 
   3783 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3785 as_fn_error $? "no acceptable C compiler found in \$PATH
   3786 See \`config.log' for more details" "$LINENO" 5; }
   3787 
   3788 # Provide some information about the compiler.
   3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3790 set X $ac_compile
   3791 ac_compiler=$2
   3792 for ac_option in --version -v -V -qversion; do
   3793   { { ac_try="$ac_compiler $ac_option >&5"
   3794 case "(($ac_try" in
   3795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3796   *) ac_try_echo=$ac_try;;
   3797 esac
   3798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3799 $as_echo "$ac_try_echo"; } >&5
   3800   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3801   ac_status=$?
   3802   if test -s conftest.err; then
   3803     sed '10a\
   3804 ... rest of stderr output deleted ...
   3805          10q' conftest.err >conftest.er1
   3806     cat conftest.er1 >&5
   3807   fi
   3808   rm -f conftest.er1 conftest.err
   3809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3810   test $ac_status = 0; }
   3811 done
   3812 
   3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3814 /* end confdefs.h.  */
   3815 
   3816 int
   3817 main ()
   3818 {
   3819 
   3820   ;
   3821   return 0;
   3822 }
   3823 _ACEOF
   3824 ac_clean_files_save=$ac_clean_files
   3825 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3826 # Try to create an executable without -o first, disregard a.out.
   3827 # It will help us diagnose broken compilers, and finding out an intuition
   3828 # of exeext.
   3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3830 $as_echo_n "checking whether the C compiler works... " >&6; }
   3831 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3832 
   3833 # The possible output files:
   3834 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3835 
   3836 ac_rmfiles=
   3837 for ac_file in $ac_files
   3838 do
   3839   case $ac_file in
   3840     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3841     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3842   esac
   3843 done
   3844 rm -f $ac_rmfiles
   3845 
   3846 if { { ac_try="$ac_link_default"
   3847 case "(($ac_try" in
   3848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3849   *) ac_try_echo=$ac_try;;
   3850 esac
   3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3852 $as_echo "$ac_try_echo"; } >&5
   3853   (eval "$ac_link_default") 2>&5
   3854   ac_status=$?
   3855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3856   test $ac_status = 0; }; then :
   3857   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3858 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3859 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3860 # so that the user can short-circuit this test for compilers unknown to
   3861 # Autoconf.
   3862 for ac_file in $ac_files ''
   3863 do
   3864   test -f "$ac_file" || continue
   3865   case $ac_file in
   3866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3867 	;;
   3868     [ab].out )
   3869 	# We found the default executable, but exeext='' is most
   3870 	# certainly right.
   3871 	break;;
   3872     *.* )
   3873 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3874 	then :; else
   3875 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3876 	fi
   3877 	# We set ac_cv_exeext here because the later test for it is not
   3878 	# safe: cross compilers may not add the suffix if given an `-o'
   3879 	# argument, so we may need to know it at that point already.
   3880 	# Even if this section looks crufty: it has the advantage of
   3881 	# actually working.
   3882 	break;;
   3883     * )
   3884 	break;;
   3885   esac
   3886 done
   3887 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3888 
   3889 else
   3890   ac_file=''
   3891 fi
   3892 if test -z "$ac_file"; then :
   3893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3894 $as_echo "no" >&6; }
   3895 $as_echo "$as_me: failed program was:" >&5
   3896 sed 's/^/| /' conftest.$ac_ext >&5
   3897 
   3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3900 as_fn_error 77 "C compiler cannot create executables
   3901 See \`config.log' for more details" "$LINENO" 5; }
   3902 else
   3903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3904 $as_echo "yes" >&6; }
   3905 fi
   3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3909 $as_echo "$ac_file" >&6; }
   3910 ac_exeext=$ac_cv_exeext
   3911 
   3912 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3913 ac_clean_files=$ac_clean_files_save
   3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3915 $as_echo_n "checking for suffix of executables... " >&6; }
   3916 if { { ac_try="$ac_link"
   3917 case "(($ac_try" in
   3918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3919   *) ac_try_echo=$ac_try;;
   3920 esac
   3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3922 $as_echo "$ac_try_echo"; } >&5
   3923   (eval "$ac_link") 2>&5
   3924   ac_status=$?
   3925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3926   test $ac_status = 0; }; then :
   3927   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3928 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3929 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3930 # `rm'.
   3931 for ac_file in conftest.exe conftest conftest.*; do
   3932   test -f "$ac_file" || continue
   3933   case $ac_file in
   3934     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3935     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3936 	  break;;
   3937     * ) break;;
   3938   esac
   3939 done
   3940 else
   3941   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3943 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3944 See \`config.log' for more details" "$LINENO" 5; }
   3945 fi
   3946 rm -f conftest conftest$ac_cv_exeext
   3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3948 $as_echo "$ac_cv_exeext" >&6; }
   3949 
   3950 rm -f conftest.$ac_ext
   3951 EXEEXT=$ac_cv_exeext
   3952 ac_exeext=$EXEEXT
   3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3954 /* end confdefs.h.  */
   3955 #include <stdio.h>
   3956 int
   3957 main ()
   3958 {
   3959 FILE *f = fopen ("conftest.out", "w");
   3960  return ferror (f) || fclose (f) != 0;
   3961 
   3962   ;
   3963   return 0;
   3964 }
   3965 _ACEOF
   3966 ac_clean_files="$ac_clean_files conftest.out"
   3967 # Check that the compiler produces executables we can run.  If not, either
   3968 # the compiler is broken, or we cross compile.
   3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3970 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3971 if test "$cross_compiling" != yes; then
   3972   { { ac_try="$ac_link"
   3973 case "(($ac_try" in
   3974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3975   *) ac_try_echo=$ac_try;;
   3976 esac
   3977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3978 $as_echo "$ac_try_echo"; } >&5
   3979   (eval "$ac_link") 2>&5
   3980   ac_status=$?
   3981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3982   test $ac_status = 0; }
   3983   if { ac_try='./conftest$ac_cv_exeext'
   3984   { { case "(($ac_try" in
   3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3986   *) ac_try_echo=$ac_try;;
   3987 esac
   3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3989 $as_echo "$ac_try_echo"; } >&5
   3990   (eval "$ac_try") 2>&5
   3991   ac_status=$?
   3992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3993   test $ac_status = 0; }; }; then
   3994     cross_compiling=no
   3995   else
   3996     if test "$cross_compiling" = maybe; then
   3997 	cross_compiling=yes
   3998     else
   3999 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4001 as_fn_error $? "cannot run C compiled programs.
   4002 If you meant to cross compile, use \`--host'.
   4003 See \`config.log' for more details" "$LINENO" 5; }
   4004     fi
   4005   fi
   4006 fi
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4008 $as_echo "$cross_compiling" >&6; }
   4009 
   4010 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4011 ac_clean_files=$ac_clean_files_save
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4013 $as_echo_n "checking for suffix of object files... " >&6; }
   4014 if ${ac_cv_objext+:} false; then :
   4015   $as_echo_n "(cached) " >&6
   4016 else
   4017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4018 /* end confdefs.h.  */
   4019 
   4020 int
   4021 main ()
   4022 {
   4023 
   4024   ;
   4025   return 0;
   4026 }
   4027 _ACEOF
   4028 rm -f conftest.o conftest.obj
   4029 if { { ac_try="$ac_compile"
   4030 case "(($ac_try" in
   4031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4032   *) ac_try_echo=$ac_try;;
   4033 esac
   4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4035 $as_echo "$ac_try_echo"; } >&5
   4036   (eval "$ac_compile") 2>&5
   4037   ac_status=$?
   4038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4039   test $ac_status = 0; }; then :
   4040   for ac_file in conftest.o conftest.obj conftest.*; do
   4041   test -f "$ac_file" || continue;
   4042   case $ac_file in
   4043     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4044     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4045        break;;
   4046   esac
   4047 done
   4048 else
   4049   $as_echo "$as_me: failed program was:" >&5
   4050 sed 's/^/| /' conftest.$ac_ext >&5
   4051 
   4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4054 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4055 See \`config.log' for more details" "$LINENO" 5; }
   4056 fi
   4057 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4058 fi
   4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4060 $as_echo "$ac_cv_objext" >&6; }
   4061 OBJEXT=$ac_cv_objext
   4062 ac_objext=$OBJEXT
   4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4064 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4065 if ${ac_cv_c_compiler_gnu+:} false; then :
   4066   $as_echo_n "(cached) " >&6
   4067 else
   4068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4069 /* end confdefs.h.  */
   4070 
   4071 int
   4072 main ()
   4073 {
   4074 #ifndef __GNUC__
   4075        choke me
   4076 #endif
   4077 
   4078   ;
   4079   return 0;
   4080 }
   4081 _ACEOF
   4082 if ac_fn_c_try_compile "$LINENO"; then :
   4083   ac_compiler_gnu=yes
   4084 else
   4085   ac_compiler_gnu=no
   4086 fi
   4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4088 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4089 
   4090 fi
   4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4092 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4093 if test $ac_compiler_gnu = yes; then
   4094   GCC=yes
   4095 else
   4096   GCC=
   4097 fi
   4098 ac_test_CFLAGS=${CFLAGS+set}
   4099 ac_save_CFLAGS=$CFLAGS
   4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4101 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4102 if ${ac_cv_prog_cc_g+:} false; then :
   4103   $as_echo_n "(cached) " >&6
   4104 else
   4105   ac_save_c_werror_flag=$ac_c_werror_flag
   4106    ac_c_werror_flag=yes
   4107    ac_cv_prog_cc_g=no
   4108    CFLAGS="-g"
   4109    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4110 /* end confdefs.h.  */
   4111 
   4112 int
   4113 main ()
   4114 {
   4115 
   4116   ;
   4117   return 0;
   4118 }
   4119 _ACEOF
   4120 if ac_fn_c_try_compile "$LINENO"; then :
   4121   ac_cv_prog_cc_g=yes
   4122 else
   4123   CFLAGS=""
   4124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4125 /* end confdefs.h.  */
   4126 
   4127 int
   4128 main ()
   4129 {
   4130 
   4131   ;
   4132   return 0;
   4133 }
   4134 _ACEOF
   4135 if ac_fn_c_try_compile "$LINENO"; then :
   4136 
   4137 else
   4138   ac_c_werror_flag=$ac_save_c_werror_flag
   4139 	 CFLAGS="-g"
   4140 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4141 /* end confdefs.h.  */
   4142 
   4143 int
   4144 main ()
   4145 {
   4146 
   4147   ;
   4148   return 0;
   4149 }
   4150 _ACEOF
   4151 if ac_fn_c_try_compile "$LINENO"; then :
   4152   ac_cv_prog_cc_g=yes
   4153 fi
   4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4155 fi
   4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4157 fi
   4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4159    ac_c_werror_flag=$ac_save_c_werror_flag
   4160 fi
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4162 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4163 if test "$ac_test_CFLAGS" = set; then
   4164   CFLAGS=$ac_save_CFLAGS
   4165 elif test $ac_cv_prog_cc_g = yes; then
   4166   if test "$GCC" = yes; then
   4167     CFLAGS="-g -O2"
   4168   else
   4169     CFLAGS="-g"
   4170   fi
   4171 else
   4172   if test "$GCC" = yes; then
   4173     CFLAGS="-O2"
   4174   else
   4175     CFLAGS=
   4176   fi
   4177 fi
   4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4179 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4180 if ${ac_cv_prog_cc_c89+:} false; then :
   4181   $as_echo_n "(cached) " >&6
   4182 else
   4183   ac_cv_prog_cc_c89=no
   4184 ac_save_CC=$CC
   4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4186 /* end confdefs.h.  */
   4187 #include <stdarg.h>
   4188 #include <stdio.h>
   4189 struct stat;
   4190 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4191 struct buf { int x; };
   4192 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4193 static char *e (p, i)
   4194      char **p;
   4195      int i;
   4196 {
   4197   return p[i];
   4198 }
   4199 static char *f (char * (*g) (char **, int), char **p, ...)
   4200 {
   4201   char *s;
   4202   va_list v;
   4203   va_start (v,p);
   4204   s = g (p, va_arg (v,int));
   4205   va_end (v);
   4206   return s;
   4207 }
   4208 
   4209 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4210    function prototypes and stuff, but not '\xHH' hex character constants.
   4211    These don't provoke an error unfortunately, instead are silently treated
   4212    as 'x'.  The following induces an error, until -std is added to get
   4213    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4214    array size at least.  It's necessary to write '\x00'==0 to get something
   4215    that's true only with -std.  */
   4216 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4217 
   4218 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4219    inside strings and character constants.  */
   4220 #define FOO(x) 'x'
   4221 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4222 
   4223 int test (int i, double x);
   4224 struct s1 {int (*f) (int a);};
   4225 struct s2 {int (*f) (double a);};
   4226 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4227 int argc;
   4228 char **argv;
   4229 int
   4230 main ()
   4231 {
   4232 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4233   ;
   4234   return 0;
   4235 }
   4236 _ACEOF
   4237 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4238 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4239 do
   4240   CC="$ac_save_CC $ac_arg"
   4241   if ac_fn_c_try_compile "$LINENO"; then :
   4242   ac_cv_prog_cc_c89=$ac_arg
   4243 fi
   4244 rm -f core conftest.err conftest.$ac_objext
   4245   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4246 done
   4247 rm -f conftest.$ac_ext
   4248 CC=$ac_save_CC
   4249 
   4250 fi
   4251 # AC_CACHE_VAL
   4252 case "x$ac_cv_prog_cc_c89" in
   4253   x)
   4254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4255 $as_echo "none needed" >&6; } ;;
   4256   xno)
   4257     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4258 $as_echo "unsupported" >&6; } ;;
   4259   *)
   4260     CC="$CC $ac_cv_prog_cc_c89"
   4261     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4262 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4263 esac
   4264 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4265 
   4266 fi
   4267 
   4268 ac_ext=c
   4269 ac_cpp='$CPP $CPPFLAGS'
   4270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4273 
   4274 ac_ext=c
   4275 ac_cpp='$CPP $CPPFLAGS'
   4276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4280 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4281 if ${am_cv_prog_cc_c_o+:} false; then :
   4282   $as_echo_n "(cached) " >&6
   4283 else
   4284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4285 /* end confdefs.h.  */
   4286 
   4287 int
   4288 main ()
   4289 {
   4290 
   4291   ;
   4292   return 0;
   4293 }
   4294 _ACEOF
   4295   # Make sure it works both with $CC and with simple cc.
   4296   # Following AC_PROG_CC_C_O, we do the test twice because some
   4297   # compilers refuse to overwrite an existing .o file with -o,
   4298   # though they will create one.
   4299   am_cv_prog_cc_c_o=yes
   4300   for am_i in 1 2; do
   4301     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4302    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4303    ac_status=$?
   4304    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4305    (exit $ac_status); } \
   4306          && test -f conftest2.$ac_objext; then
   4307       : OK
   4308     else
   4309       am_cv_prog_cc_c_o=no
   4310       break
   4311     fi
   4312   done
   4313   rm -f core conftest*
   4314   unset am_i
   4315 fi
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4317 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4318 if test "$am_cv_prog_cc_c_o" != yes; then
   4319    # Losing compiler, so override with the script.
   4320    # FIXME: It is wrong to rewrite CC.
   4321    # But if we don't then we get into trouble of one sort or another.
   4322    # A longer-term fix would be to have automake use am__CC in this case,
   4323    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4324    CC="$am_aux_dir/compile $CC"
   4325 fi
   4326 ac_ext=c
   4327 ac_cpp='$CPP $CPPFLAGS'
   4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4331 
   4332 
   4333 depcc="$CC"   am_compiler_list=
   4334 
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4336 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4337 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4338   $as_echo_n "(cached) " >&6
   4339 else
   4340   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4341   # We make a subdir and do the tests there.  Otherwise we can end up
   4342   # making bogus files that we don't know about and never remove.  For
   4343   # instance it was reported that on HP-UX the gcc test will end up
   4344   # making a dummy file named 'D' -- because '-MD' means "put the output
   4345   # in D".
   4346   rm -rf conftest.dir
   4347   mkdir conftest.dir
   4348   # Copy depcomp to subdir because otherwise we won't find it if we're
   4349   # using a relative directory.
   4350   cp "$am_depcomp" conftest.dir
   4351   cd conftest.dir
   4352   # We will build objects and dependencies in a subdirectory because
   4353   # it helps to detect inapplicable dependency modes.  For instance
   4354   # both Tru64's cc and ICC support -MD to output dependencies as a
   4355   # side effect of compilation, but ICC will put the dependencies in
   4356   # the current directory while Tru64 will put them in the object
   4357   # directory.
   4358   mkdir sub
   4359 
   4360   am_cv_CC_dependencies_compiler_type=none
   4361   if test "$am_compiler_list" = ""; then
   4362      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4363   fi
   4364   am__universal=false
   4365   case " $depcc " in #(
   4366      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4367      esac
   4368 
   4369   for depmode in $am_compiler_list; do
   4370     # Setup a source with many dependencies, because some compilers
   4371     # like to wrap large dependency lists on column 80 (with \), and
   4372     # we should not choose a depcomp mode which is confused by this.
   4373     #
   4374     # We need to recreate these files for each test, as the compiler may
   4375     # overwrite some of them when testing with obscure command lines.
   4376     # This happens at least with the AIX C compiler.
   4377     : > sub/conftest.c
   4378     for i in 1 2 3 4 5 6; do
   4379       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4380       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4381       # Solaris 10 /bin/sh.
   4382       echo '/* dummy */' > sub/conftst$i.h
   4383     done
   4384     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4385 
   4386     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4387     # mode.  It turns out that the SunPro C++ compiler does not properly
   4388     # handle '-M -o', and we need to detect this.  Also, some Intel
   4389     # versions had trouble with output in subdirs.
   4390     am__obj=sub/conftest.${OBJEXT-o}
   4391     am__minus_obj="-o $am__obj"
   4392     case $depmode in
   4393     gcc)
   4394       # This depmode causes a compiler race in universal mode.
   4395       test "$am__universal" = false || continue
   4396       ;;
   4397     nosideeffect)
   4398       # After this tag, mechanisms are not by side-effect, so they'll
   4399       # only be used when explicitly requested.
   4400       if test "x$enable_dependency_tracking" = xyes; then
   4401 	continue
   4402       else
   4403 	break
   4404       fi
   4405       ;;
   4406     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4407       # This compiler won't grok '-c -o', but also, the minuso test has
   4408       # not run yet.  These depmodes are late enough in the game, and
   4409       # so weak that their functioning should not be impacted.
   4410       am__obj=conftest.${OBJEXT-o}
   4411       am__minus_obj=
   4412       ;;
   4413     none) break ;;
   4414     esac
   4415     if depmode=$depmode \
   4416        source=sub/conftest.c object=$am__obj \
   4417        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4418        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4419          >/dev/null 2>conftest.err &&
   4420        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4421        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4422        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4423        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4424       # icc doesn't choke on unknown options, it will just issue warnings
   4425       # or remarks (even with -Werror).  So we grep stderr for any message
   4426       # that says an option was ignored or not supported.
   4427       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4428       #   icc: Command line warning: ignoring option '-M'; no argument required
   4429       # The diagnosis changed in icc 8.0:
   4430       #   icc: Command line remark: option '-MP' not supported
   4431       if (grep 'ignoring option' conftest.err ||
   4432           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4433         am_cv_CC_dependencies_compiler_type=$depmode
   4434         break
   4435       fi
   4436     fi
   4437   done
   4438 
   4439   cd ..
   4440   rm -rf conftest.dir
   4441 else
   4442   am_cv_CC_dependencies_compiler_type=none
   4443 fi
   4444 
   4445 fi
   4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4449 
   4450  if
   4451   test "x$enable_dependency_tracking" != xno \
   4452   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4453   am__fastdepCC_TRUE=
   4454   am__fastdepCC_FALSE='#'
   4455 else
   4456   am__fastdepCC_TRUE='#'
   4457   am__fastdepCC_FALSE=
   4458 fi
   4459 
   4460 
   4461 
   4462 if test -n "$ac_tool_prefix"; then
   4463   for ac_prog in ar lib "link -lib"
   4464   do
   4465     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4468 $as_echo_n "checking for $ac_word... " >&6; }
   4469 if ${ac_cv_prog_AR+:} false; then :
   4470   $as_echo_n "(cached) " >&6
   4471 else
   4472   if test -n "$AR"; then
   4473   ac_cv_prog_AR="$AR" # Let the user override the test.
   4474 else
   4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4476 for as_dir in $PATH
   4477 do
   4478   IFS=$as_save_IFS
   4479   test -z "$as_dir" && as_dir=.
   4480     for ac_exec_ext in '' $ac_executable_extensions; do
   4481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4482     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   4483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4484     break 2
   4485   fi
   4486 done
   4487   done
   4488 IFS=$as_save_IFS
   4489 
   4490 fi
   4491 fi
   4492 AR=$ac_cv_prog_AR
   4493 if test -n "$AR"; then
   4494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4495 $as_echo "$AR" >&6; }
   4496 else
   4497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4498 $as_echo "no" >&6; }
   4499 fi
   4500 
   4501 
   4502     test -n "$AR" && break
   4503   done
   4504 fi
   4505 if test -z "$AR"; then
   4506   ac_ct_AR=$AR
   4507   for ac_prog in ar lib "link -lib"
   4508 do
   4509   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4510 set dummy $ac_prog; ac_word=$2
   4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4512 $as_echo_n "checking for $ac_word... " >&6; }
   4513 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4514   $as_echo_n "(cached) " >&6
   4515 else
   4516   if test -n "$ac_ct_AR"; then
   4517   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4518 else
   4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4520 for as_dir in $PATH
   4521 do
   4522   IFS=$as_save_IFS
   4523   test -z "$as_dir" && as_dir=.
   4524     for ac_exec_ext in '' $ac_executable_extensions; do
   4525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4526     ac_cv_prog_ac_ct_AR="$ac_prog"
   4527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4528     break 2
   4529   fi
   4530 done
   4531   done
   4532 IFS=$as_save_IFS
   4533 
   4534 fi
   4535 fi
   4536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4537 if test -n "$ac_ct_AR"; then
   4538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4539 $as_echo "$ac_ct_AR" >&6; }
   4540 else
   4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4542 $as_echo "no" >&6; }
   4543 fi
   4544 
   4545 
   4546   test -n "$ac_ct_AR" && break
   4547 done
   4548 
   4549   if test "x$ac_ct_AR" = x; then
   4550     AR="false"
   4551   else
   4552     case $cross_compiling:$ac_tool_warned in
   4553 yes:)
   4554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4556 ac_tool_warned=yes ;;
   4557 esac
   4558     AR=$ac_ct_AR
   4559   fi
   4560 fi
   4561 
   4562 : ${AR=ar}
   4563 
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   4565 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   4566 if ${am_cv_ar_interface+:} false; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   ac_ext=c
   4570 ac_cpp='$CPP $CPPFLAGS'
   4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4574 
   4575    am_cv_ar_interface=ar
   4576    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4577 /* end confdefs.h.  */
   4578 int some_variable = 0;
   4579 _ACEOF
   4580 if ac_fn_c_try_compile "$LINENO"; then :
   4581   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   4582       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4583   (eval $am_ar_try) 2>&5
   4584   ac_status=$?
   4585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4586   test $ac_status = 0; }
   4587       if test "$ac_status" -eq 0; then
   4588         am_cv_ar_interface=ar
   4589       else
   4590         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   4591         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4592   (eval $am_ar_try) 2>&5
   4593   ac_status=$?
   4594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4595   test $ac_status = 0; }
   4596         if test "$ac_status" -eq 0; then
   4597           am_cv_ar_interface=lib
   4598         else
   4599           am_cv_ar_interface=unknown
   4600         fi
   4601       fi
   4602       rm -f conftest.lib libconftest.a
   4603 
   4604 fi
   4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4606    ac_ext=c
   4607 ac_cpp='$CPP $CPPFLAGS'
   4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4611 
   4612 fi
   4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   4614 $as_echo "$am_cv_ar_interface" >&6; }
   4615 
   4616 case $am_cv_ar_interface in
   4617 ar)
   4618   ;;
   4619 lib)
   4620   # Microsoft lib, so override with the ar-lib wrapper script.
   4621   # FIXME: It is wrong to rewrite AR.
   4622   # But if we don't then we get into trouble of one sort or another.
   4623   # A longer-term fix would be to have automake use am__AR in this case,
   4624   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   4625   # similar.
   4626   AR="$am_aux_dir/ar-lib $AR"
   4627   ;;
   4628 unknown)
   4629   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   4630   ;;
   4631 esac
   4632 
   4633 
   4634 # This was added at the suggestion of libtoolize (03-Jan-10)
   4635 
   4636 
   4637 # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
   4638 # "-g" for any other compiler. There doesn't seem to be a standard way of
   4639 # getting rid of the -g (which I don't think is needed for a production
   4640 # library). This fudge seems to achieve the necessary. First, we remember the
   4641 # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
   4642 # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
   4643 # set, they will be set to Autoconf's defaults. Afterwards, if the original
   4644 # values were not set, remove the -g from the Autoconf defaults.
   4645 # (PH 02-May-07)
   4646 
   4647 remember_set_CFLAGS="$CFLAGS"
   4648 remember_set_CXXFLAGS="$CXXFLAGS"
   4649 
   4650 ac_ext=c
   4651 ac_cpp='$CPP $CPPFLAGS'
   4652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4655 if test -n "$ac_tool_prefix"; then
   4656   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4659 $as_echo_n "checking for $ac_word... " >&6; }
   4660 if ${ac_cv_prog_CC+:} false; then :
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663   if test -n "$CC"; then
   4664   ac_cv_prog_CC="$CC" # Let the user override the test.
   4665 else
   4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4667 for as_dir in $PATH
   4668 do
   4669   IFS=$as_save_IFS
   4670   test -z "$as_dir" && as_dir=.
   4671     for ac_exec_ext in '' $ac_executable_extensions; do
   4672   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4673     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4675     break 2
   4676   fi
   4677 done
   4678   done
   4679 IFS=$as_save_IFS
   4680 
   4681 fi
   4682 fi
   4683 CC=$ac_cv_prog_CC
   4684 if test -n "$CC"; then
   4685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4686 $as_echo "$CC" >&6; }
   4687 else
   4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4689 $as_echo "no" >&6; }
   4690 fi
   4691 
   4692 
   4693 fi
   4694 if test -z "$ac_cv_prog_CC"; then
   4695   ac_ct_CC=$CC
   4696   # Extract the first word of "gcc", so it can be a program name with args.
   4697 set dummy gcc; ac_word=$2
   4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4699 $as_echo_n "checking for $ac_word... " >&6; }
   4700 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4701   $as_echo_n "(cached) " >&6
   4702 else
   4703   if test -n "$ac_ct_CC"; then
   4704   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4705 else
   4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4707 for as_dir in $PATH
   4708 do
   4709   IFS=$as_save_IFS
   4710   test -z "$as_dir" && as_dir=.
   4711     for ac_exec_ext in '' $ac_executable_extensions; do
   4712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4713     ac_cv_prog_ac_ct_CC="gcc"
   4714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4715     break 2
   4716   fi
   4717 done
   4718   done
   4719 IFS=$as_save_IFS
   4720 
   4721 fi
   4722 fi
   4723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4724 if test -n "$ac_ct_CC"; then
   4725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4726 $as_echo "$ac_ct_CC" >&6; }
   4727 else
   4728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4729 $as_echo "no" >&6; }
   4730 fi
   4731 
   4732   if test "x$ac_ct_CC" = x; then
   4733     CC=""
   4734   else
   4735     case $cross_compiling:$ac_tool_warned in
   4736 yes:)
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4739 ac_tool_warned=yes ;;
   4740 esac
   4741     CC=$ac_ct_CC
   4742   fi
   4743 else
   4744   CC="$ac_cv_prog_CC"
   4745 fi
   4746 
   4747 if test -z "$CC"; then
   4748           if test -n "$ac_tool_prefix"; then
   4749     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4750 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4752 $as_echo_n "checking for $ac_word... " >&6; }
   4753 if ${ac_cv_prog_CC+:} false; then :
   4754   $as_echo_n "(cached) " >&6
   4755 else
   4756   if test -n "$CC"; then
   4757   ac_cv_prog_CC="$CC" # Let the user override the test.
   4758 else
   4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4760 for as_dir in $PATH
   4761 do
   4762   IFS=$as_save_IFS
   4763   test -z "$as_dir" && as_dir=.
   4764     for ac_exec_ext in '' $ac_executable_extensions; do
   4765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4766     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4768     break 2
   4769   fi
   4770 done
   4771   done
   4772 IFS=$as_save_IFS
   4773 
   4774 fi
   4775 fi
   4776 CC=$ac_cv_prog_CC
   4777 if test -n "$CC"; then
   4778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4779 $as_echo "$CC" >&6; }
   4780 else
   4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4782 $as_echo "no" >&6; }
   4783 fi
   4784 
   4785 
   4786   fi
   4787 fi
   4788 if test -z "$CC"; then
   4789   # Extract the first word of "cc", so it can be a program name with args.
   4790 set dummy cc; ac_word=$2
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4792 $as_echo_n "checking for $ac_word... " >&6; }
   4793 if ${ac_cv_prog_CC+:} false; then :
   4794   $as_echo_n "(cached) " >&6
   4795 else
   4796   if test -n "$CC"; then
   4797   ac_cv_prog_CC="$CC" # Let the user override the test.
   4798 else
   4799   ac_prog_rejected=no
   4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4801 for as_dir in $PATH
   4802 do
   4803   IFS=$as_save_IFS
   4804   test -z "$as_dir" && as_dir=.
   4805     for ac_exec_ext in '' $ac_executable_extensions; do
   4806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4807     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4808        ac_prog_rejected=yes
   4809        continue
   4810      fi
   4811     ac_cv_prog_CC="cc"
   4812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4813     break 2
   4814   fi
   4815 done
   4816   done
   4817 IFS=$as_save_IFS
   4818 
   4819 if test $ac_prog_rejected = yes; then
   4820   # We found a bogon in the path, so make sure we never use it.
   4821   set dummy $ac_cv_prog_CC
   4822   shift
   4823   if test $# != 0; then
   4824     # We chose a different compiler from the bogus one.
   4825     # However, it has the same basename, so the bogon will be chosen
   4826     # first if we set CC to just the basename; use the full file name.
   4827     shift
   4828     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4829   fi
   4830 fi
   4831 fi
   4832 fi
   4833 CC=$ac_cv_prog_CC
   4834 if test -n "$CC"; then
   4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4836 $as_echo "$CC" >&6; }
   4837 else
   4838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4839 $as_echo "no" >&6; }
   4840 fi
   4841 
   4842 
   4843 fi
   4844 if test -z "$CC"; then
   4845   if test -n "$ac_tool_prefix"; then
   4846   for ac_prog in cl.exe
   4847   do
   4848     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4851 $as_echo_n "checking for $ac_word... " >&6; }
   4852 if ${ac_cv_prog_CC+:} false; then :
   4853   $as_echo_n "(cached) " >&6
   4854 else
   4855   if test -n "$CC"; then
   4856   ac_cv_prog_CC="$CC" # Let the user override the test.
   4857 else
   4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4859 for as_dir in $PATH
   4860 do
   4861   IFS=$as_save_IFS
   4862   test -z "$as_dir" && as_dir=.
   4863     for ac_exec_ext in '' $ac_executable_extensions; do
   4864   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4865     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4867     break 2
   4868   fi
   4869 done
   4870   done
   4871 IFS=$as_save_IFS
   4872 
   4873 fi
   4874 fi
   4875 CC=$ac_cv_prog_CC
   4876 if test -n "$CC"; then
   4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4878 $as_echo "$CC" >&6; }
   4879 else
   4880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4881 $as_echo "no" >&6; }
   4882 fi
   4883 
   4884 
   4885     test -n "$CC" && break
   4886   done
   4887 fi
   4888 if test -z "$CC"; then
   4889   ac_ct_CC=$CC
   4890   for ac_prog in cl.exe
   4891 do
   4892   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4893 set dummy $ac_prog; ac_word=$2
   4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4895 $as_echo_n "checking for $ac_word... " >&6; }
   4896 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4897   $as_echo_n "(cached) " >&6
   4898 else
   4899   if test -n "$ac_ct_CC"; then
   4900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4901 else
   4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4903 for as_dir in $PATH
   4904 do
   4905   IFS=$as_save_IFS
   4906   test -z "$as_dir" && as_dir=.
   4907     for ac_exec_ext in '' $ac_executable_extensions; do
   4908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4909     ac_cv_prog_ac_ct_CC="$ac_prog"
   4910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4911     break 2
   4912   fi
   4913 done
   4914   done
   4915 IFS=$as_save_IFS
   4916 
   4917 fi
   4918 fi
   4919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4920 if test -n "$ac_ct_CC"; then
   4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4922 $as_echo "$ac_ct_CC" >&6; }
   4923 else
   4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4925 $as_echo "no" >&6; }
   4926 fi
   4927 
   4928 
   4929   test -n "$ac_ct_CC" && break
   4930 done
   4931 
   4932   if test "x$ac_ct_CC" = x; then
   4933     CC=""
   4934   else
   4935     case $cross_compiling:$ac_tool_warned in
   4936 yes:)
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4939 ac_tool_warned=yes ;;
   4940 esac
   4941     CC=$ac_ct_CC
   4942   fi
   4943 fi
   4944 
   4945 fi
   4946 
   4947 
   4948 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4950 as_fn_error $? "no acceptable C compiler found in \$PATH
   4951 See \`config.log' for more details" "$LINENO" 5; }
   4952 
   4953 # Provide some information about the compiler.
   4954 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4955 set X $ac_compile
   4956 ac_compiler=$2
   4957 for ac_option in --version -v -V -qversion; do
   4958   { { ac_try="$ac_compiler $ac_option >&5"
   4959 case "(($ac_try" in
   4960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4961   *) ac_try_echo=$ac_try;;
   4962 esac
   4963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4964 $as_echo "$ac_try_echo"; } >&5
   4965   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4966   ac_status=$?
   4967   if test -s conftest.err; then
   4968     sed '10a\
   4969 ... rest of stderr output deleted ...
   4970          10q' conftest.err >conftest.er1
   4971     cat conftest.er1 >&5
   4972   fi
   4973   rm -f conftest.er1 conftest.err
   4974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4975   test $ac_status = 0; }
   4976 done
   4977 
   4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4980 if ${ac_cv_c_compiler_gnu+:} false; then :
   4981   $as_echo_n "(cached) " >&6
   4982 else
   4983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4984 /* end confdefs.h.  */
   4985 
   4986 int
   4987 main ()
   4988 {
   4989 #ifndef __GNUC__
   4990        choke me
   4991 #endif
   4992 
   4993   ;
   4994   return 0;
   4995 }
   4996 _ACEOF
   4997 if ac_fn_c_try_compile "$LINENO"; then :
   4998   ac_compiler_gnu=yes
   4999 else
   5000   ac_compiler_gnu=no
   5001 fi
   5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5003 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5004 
   5005 fi
   5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5007 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5008 if test $ac_compiler_gnu = yes; then
   5009   GCC=yes
   5010 else
   5011   GCC=
   5012 fi
   5013 ac_test_CFLAGS=${CFLAGS+set}
   5014 ac_save_CFLAGS=$CFLAGS
   5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5016 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5017 if ${ac_cv_prog_cc_g+:} false; then :
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   ac_save_c_werror_flag=$ac_c_werror_flag
   5021    ac_c_werror_flag=yes
   5022    ac_cv_prog_cc_g=no
   5023    CFLAGS="-g"
   5024    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5025 /* end confdefs.h.  */
   5026 
   5027 int
   5028 main ()
   5029 {
   5030 
   5031   ;
   5032   return 0;
   5033 }
   5034 _ACEOF
   5035 if ac_fn_c_try_compile "$LINENO"; then :
   5036   ac_cv_prog_cc_g=yes
   5037 else
   5038   CFLAGS=""
   5039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5040 /* end confdefs.h.  */
   5041 
   5042 int
   5043 main ()
   5044 {
   5045 
   5046   ;
   5047   return 0;
   5048 }
   5049 _ACEOF
   5050 if ac_fn_c_try_compile "$LINENO"; then :
   5051 
   5052 else
   5053   ac_c_werror_flag=$ac_save_c_werror_flag
   5054 	 CFLAGS="-g"
   5055 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5056 /* end confdefs.h.  */
   5057 
   5058 int
   5059 main ()
   5060 {
   5061 
   5062   ;
   5063   return 0;
   5064 }
   5065 _ACEOF
   5066 if ac_fn_c_try_compile "$LINENO"; then :
   5067   ac_cv_prog_cc_g=yes
   5068 fi
   5069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5070 fi
   5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5072 fi
   5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5074    ac_c_werror_flag=$ac_save_c_werror_flag
   5075 fi
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5077 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5078 if test "$ac_test_CFLAGS" = set; then
   5079   CFLAGS=$ac_save_CFLAGS
   5080 elif test $ac_cv_prog_cc_g = yes; then
   5081   if test "$GCC" = yes; then
   5082     CFLAGS="-g -O2"
   5083   else
   5084     CFLAGS="-g"
   5085   fi
   5086 else
   5087   if test "$GCC" = yes; then
   5088     CFLAGS="-O2"
   5089   else
   5090     CFLAGS=
   5091   fi
   5092 fi
   5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5095 if ${ac_cv_prog_cc_c89+:} false; then :
   5096   $as_echo_n "(cached) " >&6
   5097 else
   5098   ac_cv_prog_cc_c89=no
   5099 ac_save_CC=$CC
   5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5101 /* end confdefs.h.  */
   5102 #include <stdarg.h>
   5103 #include <stdio.h>
   5104 struct stat;
   5105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5106 struct buf { int x; };
   5107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5108 static char *e (p, i)
   5109      char **p;
   5110      int i;
   5111 {
   5112   return p[i];
   5113 }
   5114 static char *f (char * (*g) (char **, int), char **p, ...)
   5115 {
   5116   char *s;
   5117   va_list v;
   5118   va_start (v,p);
   5119   s = g (p, va_arg (v,int));
   5120   va_end (v);
   5121   return s;
   5122 }
   5123 
   5124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5125    function prototypes and stuff, but not '\xHH' hex character constants.
   5126    These don't provoke an error unfortunately, instead are silently treated
   5127    as 'x'.  The following induces an error, until -std is added to get
   5128    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5129    array size at least.  It's necessary to write '\x00'==0 to get something
   5130    that's true only with -std.  */
   5131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5132 
   5133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5134    inside strings and character constants.  */
   5135 #define FOO(x) 'x'
   5136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5137 
   5138 int test (int i, double x);
   5139 struct s1 {int (*f) (int a);};
   5140 struct s2 {int (*f) (double a);};
   5141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5142 int argc;
   5143 char **argv;
   5144 int
   5145 main ()
   5146 {
   5147 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5148   ;
   5149   return 0;
   5150 }
   5151 _ACEOF
   5152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5153 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5154 do
   5155   CC="$ac_save_CC $ac_arg"
   5156   if ac_fn_c_try_compile "$LINENO"; then :
   5157   ac_cv_prog_cc_c89=$ac_arg
   5158 fi
   5159 rm -f core conftest.err conftest.$ac_objext
   5160   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5161 done
   5162 rm -f conftest.$ac_ext
   5163 CC=$ac_save_CC
   5164 
   5165 fi
   5166 # AC_CACHE_VAL
   5167 case "x$ac_cv_prog_cc_c89" in
   5168   x)
   5169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5170 $as_echo "none needed" >&6; } ;;
   5171   xno)
   5172     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5173 $as_echo "unsupported" >&6; } ;;
   5174   *)
   5175     CC="$CC $ac_cv_prog_cc_c89"
   5176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5177 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5178 esac
   5179 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5180 
   5181 fi
   5182 
   5183 ac_ext=c
   5184 ac_cpp='$CPP $CPPFLAGS'
   5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5188 
   5189 ac_ext=c
   5190 ac_cpp='$CPP $CPPFLAGS'
   5191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5195 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5196 if ${am_cv_prog_cc_c_o+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 
   5202 int
   5203 main ()
   5204 {
   5205 
   5206   ;
   5207   return 0;
   5208 }
   5209 _ACEOF
   5210   # Make sure it works both with $CC and with simple cc.
   5211   # Following AC_PROG_CC_C_O, we do the test twice because some
   5212   # compilers refuse to overwrite an existing .o file with -o,
   5213   # though they will create one.
   5214   am_cv_prog_cc_c_o=yes
   5215   for am_i in 1 2; do
   5216     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5217    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5218    ac_status=$?
   5219    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5220    (exit $ac_status); } \
   5221          && test -f conftest2.$ac_objext; then
   5222       : OK
   5223     else
   5224       am_cv_prog_cc_c_o=no
   5225       break
   5226     fi
   5227   done
   5228   rm -f core conftest*
   5229   unset am_i
   5230 fi
   5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5232 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5233 if test "$am_cv_prog_cc_c_o" != yes; then
   5234    # Losing compiler, so override with the script.
   5235    # FIXME: It is wrong to rewrite CC.
   5236    # But if we don't then we get into trouble of one sort or another.
   5237    # A longer-term fix would be to have automake use am__CC in this case,
   5238    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5239    CC="$am_aux_dir/compile $CC"
   5240 fi
   5241 ac_ext=c
   5242 ac_cpp='$CPP $CPPFLAGS'
   5243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5246 
   5247 
   5248 depcc="$CC"   am_compiler_list=
   5249 
   5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5251 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5252 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5253   $as_echo_n "(cached) " >&6
   5254 else
   5255   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5256   # We make a subdir and do the tests there.  Otherwise we can end up
   5257   # making bogus files that we don't know about and never remove.  For
   5258   # instance it was reported that on HP-UX the gcc test will end up
   5259   # making a dummy file named 'D' -- because '-MD' means "put the output
   5260   # in D".
   5261   rm -rf conftest.dir
   5262   mkdir conftest.dir
   5263   # Copy depcomp to subdir because otherwise we won't find it if we're
   5264   # using a relative directory.
   5265   cp "$am_depcomp" conftest.dir
   5266   cd conftest.dir
   5267   # We will build objects and dependencies in a subdirectory because
   5268   # it helps to detect inapplicable dependency modes.  For instance
   5269   # both Tru64's cc and ICC support -MD to output dependencies as a
   5270   # side effect of compilation, but ICC will put the dependencies in
   5271   # the current directory while Tru64 will put them in the object
   5272   # directory.
   5273   mkdir sub
   5274 
   5275   am_cv_CC_dependencies_compiler_type=none
   5276   if test "$am_compiler_list" = ""; then
   5277      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5278   fi
   5279   am__universal=false
   5280   case " $depcc " in #(
   5281      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5282      esac
   5283 
   5284   for depmode in $am_compiler_list; do
   5285     # Setup a source with many dependencies, because some compilers
   5286     # like to wrap large dependency lists on column 80 (with \), and
   5287     # we should not choose a depcomp mode which is confused by this.
   5288     #
   5289     # We need to recreate these files for each test, as the compiler may
   5290     # overwrite some of them when testing with obscure command lines.
   5291     # This happens at least with the AIX C compiler.
   5292     : > sub/conftest.c
   5293     for i in 1 2 3 4 5 6; do
   5294       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5295       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5296       # Solaris 10 /bin/sh.
   5297       echo '/* dummy */' > sub/conftst$i.h
   5298     done
   5299     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5300 
   5301     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5302     # mode.  It turns out that the SunPro C++ compiler does not properly
   5303     # handle '-M -o', and we need to detect this.  Also, some Intel
   5304     # versions had trouble with output in subdirs.
   5305     am__obj=sub/conftest.${OBJEXT-o}
   5306     am__minus_obj="-o $am__obj"
   5307     case $depmode in
   5308     gcc)
   5309       # This depmode causes a compiler race in universal mode.
   5310       test "$am__universal" = false || continue
   5311       ;;
   5312     nosideeffect)
   5313       # After this tag, mechanisms are not by side-effect, so they'll
   5314       # only be used when explicitly requested.
   5315       if test "x$enable_dependency_tracking" = xyes; then
   5316 	continue
   5317       else
   5318 	break
   5319       fi
   5320       ;;
   5321     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5322       # This compiler won't grok '-c -o', but also, the minuso test has
   5323       # not run yet.  These depmodes are late enough in the game, and
   5324       # so weak that their functioning should not be impacted.
   5325       am__obj=conftest.${OBJEXT-o}
   5326       am__minus_obj=
   5327       ;;
   5328     none) break ;;
   5329     esac
   5330     if depmode=$depmode \
   5331        source=sub/conftest.c object=$am__obj \
   5332        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5333        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5334          >/dev/null 2>conftest.err &&
   5335        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5336        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5337        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5338        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5339       # icc doesn't choke on unknown options, it will just issue warnings
   5340       # or remarks (even with -Werror).  So we grep stderr for any message
   5341       # that says an option was ignored or not supported.
   5342       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5343       #   icc: Command line warning: ignoring option '-M'; no argument required
   5344       # The diagnosis changed in icc 8.0:
   5345       #   icc: Command line remark: option '-MP' not supported
   5346       if (grep 'ignoring option' conftest.err ||
   5347           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5348         am_cv_CC_dependencies_compiler_type=$depmode
   5349         break
   5350       fi
   5351     fi
   5352   done
   5353 
   5354   cd ..
   5355   rm -rf conftest.dir
   5356 else
   5357   am_cv_CC_dependencies_compiler_type=none
   5358 fi
   5359 
   5360 fi
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5362 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5363 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5364 
   5365  if
   5366   test "x$enable_dependency_tracking" != xno \
   5367   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5368   am__fastdepCC_TRUE=
   5369   am__fastdepCC_FALSE='#'
   5370 else
   5371   am__fastdepCC_TRUE='#'
   5372   am__fastdepCC_FALSE=
   5373 fi
   5374 
   5375 
   5376 ac_ext=cpp
   5377 ac_cpp='$CXXCPP $CPPFLAGS'
   5378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5381 if test -z "$CXX"; then
   5382   if test -n "$CCC"; then
   5383     CXX=$CCC
   5384   else
   5385     if test -n "$ac_tool_prefix"; then
   5386   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5387   do
   5388     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5391 $as_echo_n "checking for $ac_word... " >&6; }
   5392 if ${ac_cv_prog_CXX+:} false; then :
   5393   $as_echo_n "(cached) " >&6
   5394 else
   5395   if test -n "$CXX"; then
   5396   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5397 else
   5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5399 for as_dir in $PATH
   5400 do
   5401   IFS=$as_save_IFS
   5402   test -z "$as_dir" && as_dir=.
   5403     for ac_exec_ext in '' $ac_executable_extensions; do
   5404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5405     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5407     break 2
   5408   fi
   5409 done
   5410   done
   5411 IFS=$as_save_IFS
   5412 
   5413 fi
   5414 fi
   5415 CXX=$ac_cv_prog_CXX
   5416 if test -n "$CXX"; then
   5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5418 $as_echo "$CXX" >&6; }
   5419 else
   5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5421 $as_echo "no" >&6; }
   5422 fi
   5423 
   5424 
   5425     test -n "$CXX" && break
   5426   done
   5427 fi
   5428 if test -z "$CXX"; then
   5429   ac_ct_CXX=$CXX
   5430   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5431 do
   5432   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5433 set dummy $ac_prog; ac_word=$2
   5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5435 $as_echo_n "checking for $ac_word... " >&6; }
   5436 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   if test -n "$ac_ct_CXX"; then
   5440   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5441 else
   5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5443 for as_dir in $PATH
   5444 do
   5445   IFS=$as_save_IFS
   5446   test -z "$as_dir" && as_dir=.
   5447     for ac_exec_ext in '' $ac_executable_extensions; do
   5448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5449     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5451     break 2
   5452   fi
   5453 done
   5454   done
   5455 IFS=$as_save_IFS
   5456 
   5457 fi
   5458 fi
   5459 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5460 if test -n "$ac_ct_CXX"; then
   5461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5462 $as_echo "$ac_ct_CXX" >&6; }
   5463 else
   5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5465 $as_echo "no" >&6; }
   5466 fi
   5467 
   5468 
   5469   test -n "$ac_ct_CXX" && break
   5470 done
   5471 
   5472   if test "x$ac_ct_CXX" = x; then
   5473     CXX="g++"
   5474   else
   5475     case $cross_compiling:$ac_tool_warned in
   5476 yes:)
   5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5479 ac_tool_warned=yes ;;
   5480 esac
   5481     CXX=$ac_ct_CXX
   5482   fi
   5483 fi
   5484 
   5485   fi
   5486 fi
   5487 # Provide some information about the compiler.
   5488 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5489 set X $ac_compile
   5490 ac_compiler=$2
   5491 for ac_option in --version -v -V -qversion; do
   5492   { { ac_try="$ac_compiler $ac_option >&5"
   5493 case "(($ac_try" in
   5494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5495   *) ac_try_echo=$ac_try;;
   5496 esac
   5497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5498 $as_echo "$ac_try_echo"; } >&5
   5499   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5500   ac_status=$?
   5501   if test -s conftest.err; then
   5502     sed '10a\
   5503 ... rest of stderr output deleted ...
   5504          10q' conftest.err >conftest.er1
   5505     cat conftest.er1 >&5
   5506   fi
   5507   rm -f conftest.er1 conftest.err
   5508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5509   test $ac_status = 0; }
   5510 done
   5511 
   5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5513 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5514 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5515   $as_echo_n "(cached) " >&6
   5516 else
   5517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5518 /* end confdefs.h.  */
   5519 
   5520 int
   5521 main ()
   5522 {
   5523 #ifndef __GNUC__
   5524        choke me
   5525 #endif
   5526 
   5527   ;
   5528   return 0;
   5529 }
   5530 _ACEOF
   5531 if ac_fn_cxx_try_compile "$LINENO"; then :
   5532   ac_compiler_gnu=yes
   5533 else
   5534   ac_compiler_gnu=no
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5537 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5538 
   5539 fi
   5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5541 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5542 if test $ac_compiler_gnu = yes; then
   5543   GXX=yes
   5544 else
   5545   GXX=
   5546 fi
   5547 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5548 ac_save_CXXFLAGS=$CXXFLAGS
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5550 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5551 if ${ac_cv_prog_cxx_g+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5555    ac_cxx_werror_flag=yes
   5556    ac_cv_prog_cxx_g=no
   5557    CXXFLAGS="-g"
   5558    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5559 /* end confdefs.h.  */
   5560 
   5561 int
   5562 main ()
   5563 {
   5564 
   5565   ;
   5566   return 0;
   5567 }
   5568 _ACEOF
   5569 if ac_fn_cxx_try_compile "$LINENO"; then :
   5570   ac_cv_prog_cxx_g=yes
   5571 else
   5572   CXXFLAGS=""
   5573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5574 /* end confdefs.h.  */
   5575 
   5576 int
   5577 main ()
   5578 {
   5579 
   5580   ;
   5581   return 0;
   5582 }
   5583 _ACEOF
   5584 if ac_fn_cxx_try_compile "$LINENO"; then :
   5585 
   5586 else
   5587   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5588 	 CXXFLAGS="-g"
   5589 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5590 /* end confdefs.h.  */
   5591 
   5592 int
   5593 main ()
   5594 {
   5595 
   5596   ;
   5597   return 0;
   5598 }
   5599 _ACEOF
   5600 if ac_fn_cxx_try_compile "$LINENO"; then :
   5601   ac_cv_prog_cxx_g=yes
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5606 fi
   5607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5608    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5609 fi
   5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5611 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5612 if test "$ac_test_CXXFLAGS" = set; then
   5613   CXXFLAGS=$ac_save_CXXFLAGS
   5614 elif test $ac_cv_prog_cxx_g = yes; then
   5615   if test "$GXX" = yes; then
   5616     CXXFLAGS="-g -O2"
   5617   else
   5618     CXXFLAGS="-g"
   5619   fi
   5620 else
   5621   if test "$GXX" = yes; then
   5622     CXXFLAGS="-O2"
   5623   else
   5624     CXXFLAGS=
   5625   fi
   5626 fi
   5627 ac_ext=c
   5628 ac_cpp='$CPP $CPPFLAGS'
   5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5632 
   5633 depcc="$CXX"  am_compiler_list=
   5634 
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5636 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5637 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5638   $as_echo_n "(cached) " >&6
   5639 else
   5640   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5641   # We make a subdir and do the tests there.  Otherwise we can end up
   5642   # making bogus files that we don't know about and never remove.  For
   5643   # instance it was reported that on HP-UX the gcc test will end up
   5644   # making a dummy file named 'D' -- because '-MD' means "put the output
   5645   # in D".
   5646   rm -rf conftest.dir
   5647   mkdir conftest.dir
   5648   # Copy depcomp to subdir because otherwise we won't find it if we're
   5649   # using a relative directory.
   5650   cp "$am_depcomp" conftest.dir
   5651   cd conftest.dir
   5652   # We will build objects and dependencies in a subdirectory because
   5653   # it helps to detect inapplicable dependency modes.  For instance
   5654   # both Tru64's cc and ICC support -MD to output dependencies as a
   5655   # side effect of compilation, but ICC will put the dependencies in
   5656   # the current directory while Tru64 will put them in the object
   5657   # directory.
   5658   mkdir sub
   5659 
   5660   am_cv_CXX_dependencies_compiler_type=none
   5661   if test "$am_compiler_list" = ""; then
   5662      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5663   fi
   5664   am__universal=false
   5665   case " $depcc " in #(
   5666      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5667      esac
   5668 
   5669   for depmode in $am_compiler_list; do
   5670     # Setup a source with many dependencies, because some compilers
   5671     # like to wrap large dependency lists on column 80 (with \), and
   5672     # we should not choose a depcomp mode which is confused by this.
   5673     #
   5674     # We need to recreate these files for each test, as the compiler may
   5675     # overwrite some of them when testing with obscure command lines.
   5676     # This happens at least with the AIX C compiler.
   5677     : > sub/conftest.c
   5678     for i in 1 2 3 4 5 6; do
   5679       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5680       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5681       # Solaris 10 /bin/sh.
   5682       echo '/* dummy */' > sub/conftst$i.h
   5683     done
   5684     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5685 
   5686     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5687     # mode.  It turns out that the SunPro C++ compiler does not properly
   5688     # handle '-M -o', and we need to detect this.  Also, some Intel
   5689     # versions had trouble with output in subdirs.
   5690     am__obj=sub/conftest.${OBJEXT-o}
   5691     am__minus_obj="-o $am__obj"
   5692     case $depmode in
   5693     gcc)
   5694       # This depmode causes a compiler race in universal mode.
   5695       test "$am__universal" = false || continue
   5696       ;;
   5697     nosideeffect)
   5698       # After this tag, mechanisms are not by side-effect, so they'll
   5699       # only be used when explicitly requested.
   5700       if test "x$enable_dependency_tracking" = xyes; then
   5701 	continue
   5702       else
   5703 	break
   5704       fi
   5705       ;;
   5706     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5707       # This compiler won't grok '-c -o', but also, the minuso test has
   5708       # not run yet.  These depmodes are late enough in the game, and
   5709       # so weak that their functioning should not be impacted.
   5710       am__obj=conftest.${OBJEXT-o}
   5711       am__minus_obj=
   5712       ;;
   5713     none) break ;;
   5714     esac
   5715     if depmode=$depmode \
   5716        source=sub/conftest.c object=$am__obj \
   5717        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5718        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5719          >/dev/null 2>conftest.err &&
   5720        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5721        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5722        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5723        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5724       # icc doesn't choke on unknown options, it will just issue warnings
   5725       # or remarks (even with -Werror).  So we grep stderr for any message
   5726       # that says an option was ignored or not supported.
   5727       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5728       #   icc: Command line warning: ignoring option '-M'; no argument required
   5729       # The diagnosis changed in icc 8.0:
   5730       #   icc: Command line remark: option '-MP' not supported
   5731       if (grep 'ignoring option' conftest.err ||
   5732           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5733         am_cv_CXX_dependencies_compiler_type=$depmode
   5734         break
   5735       fi
   5736     fi
   5737   done
   5738 
   5739   cd ..
   5740   rm -rf conftest.dir
   5741 else
   5742   am_cv_CXX_dependencies_compiler_type=none
   5743 fi
   5744 
   5745 fi
   5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5747 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5748 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5749 
   5750  if
   5751   test "x$enable_dependency_tracking" != xno \
   5752   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5753   am__fastdepCXX_TRUE=
   5754   am__fastdepCXX_FALSE='#'
   5755 else
   5756   am__fastdepCXX_TRUE='#'
   5757   am__fastdepCXX_FALSE=
   5758 fi
   5759 
   5760 
   5761 
   5762 
   5763 if test "x$remember_set_CFLAGS" = "x"
   5764 then
   5765   if test "$CFLAGS" = "-g -O2"
   5766   then
   5767     CFLAGS="-O2"
   5768   elif test "$CFLAGS" = "-g"
   5769   then
   5770     CFLAGS=""
   5771   fi
   5772 fi
   5773 
   5774 if test "x$remember_set_CXXFLAGS" = "x"
   5775 then
   5776   if test "$CXXFLAGS" = "-g -O2"
   5777   then
   5778     CXXFLAGS="-O2"
   5779   elif test "$CXXFLAGS" = "-g"
   5780   then
   5781     CXXFLAGS=""
   5782   fi
   5783 fi
   5784 
   5785 # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
   5786 # Check for that case, and just disable c++ code if g++ doesn't run.
   5787 ac_ext=cpp
   5788 ac_cpp='$CXXCPP $CPPFLAGS'
   5789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5792 
   5793 
   5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5795 /* end confdefs.h.  */
   5796 
   5797 int
   5798 main ()
   5799 {
   5800 
   5801   ;
   5802   return 0;
   5803 }
   5804 _ACEOF
   5805 if ac_fn_cxx_try_compile "$LINENO"; then :
   5806 
   5807 else
   5808   CXX=""; CXXCP=""; CXXFLAGS=""
   5809 fi
   5810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5811 ac_ext=c
   5812 ac_cpp='$CPP $CPPFLAGS'
   5813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5816 
   5817 
   5818 # Check for a 64-bit integer type
   5819 ac_ext=c
   5820 ac_cpp='$CPP $CPPFLAGS'
   5821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5825 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   5826 # On Suns, sometimes $CPP names a directory.
   5827 if test -n "$CPP" && test -d "$CPP"; then
   5828   CPP=
   5829 fi
   5830 if test -z "$CPP"; then
   5831   if ${ac_cv_prog_CPP+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834       # Double quotes because CPP needs to be expanded
   5835     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5836     do
   5837       ac_preproc_ok=false
   5838 for ac_c_preproc_warn_flag in '' yes
   5839 do
   5840   # Use a header file that comes with gcc, so configuring glibc
   5841   # with a fresh cross-compiler works.
   5842   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5843   # <limits.h> exists even on freestanding compilers.
   5844   # On the NeXT, cc -E runs the code through the compiler's parser,
   5845   # not just through cpp. "Syntax error" is here to catch this case.
   5846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5847 /* end confdefs.h.  */
   5848 #ifdef __STDC__
   5849 # include <limits.h>
   5850 #else
   5851 # include <assert.h>
   5852 #endif
   5853 		     Syntax error
   5854 _ACEOF
   5855 if ac_fn_c_try_cpp "$LINENO"; then :
   5856 
   5857 else
   5858   # Broken: fails on valid input.
   5859 continue
   5860 fi
   5861 rm -f conftest.err conftest.i conftest.$ac_ext
   5862 
   5863   # OK, works on sane cases.  Now check whether nonexistent headers
   5864   # can be detected and how.
   5865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5866 /* end confdefs.h.  */
   5867 #include <ac_nonexistent.h>
   5868 _ACEOF
   5869 if ac_fn_c_try_cpp "$LINENO"; then :
   5870   # Broken: success on invalid input.
   5871 continue
   5872 else
   5873   # Passes both tests.
   5874 ac_preproc_ok=:
   5875 break
   5876 fi
   5877 rm -f conftest.err conftest.i conftest.$ac_ext
   5878 
   5879 done
   5880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5881 rm -f conftest.i conftest.err conftest.$ac_ext
   5882 if $ac_preproc_ok; then :
   5883   break
   5884 fi
   5885 
   5886     done
   5887     ac_cv_prog_CPP=$CPP
   5888 
   5889 fi
   5890   CPP=$ac_cv_prog_CPP
   5891 else
   5892   ac_cv_prog_CPP=$CPP
   5893 fi
   5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5895 $as_echo "$CPP" >&6; }
   5896 ac_preproc_ok=false
   5897 for ac_c_preproc_warn_flag in '' yes
   5898 do
   5899   # Use a header file that comes with gcc, so configuring glibc
   5900   # with a fresh cross-compiler works.
   5901   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5902   # <limits.h> exists even on freestanding compilers.
   5903   # On the NeXT, cc -E runs the code through the compiler's parser,
   5904   # not just through cpp. "Syntax error" is here to catch this case.
   5905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5906 /* end confdefs.h.  */
   5907 #ifdef __STDC__
   5908 # include <limits.h>
   5909 #else
   5910 # include <assert.h>
   5911 #endif
   5912 		     Syntax error
   5913 _ACEOF
   5914 if ac_fn_c_try_cpp "$LINENO"; then :
   5915 
   5916 else
   5917   # Broken: fails on valid input.
   5918 continue
   5919 fi
   5920 rm -f conftest.err conftest.i conftest.$ac_ext
   5921 
   5922   # OK, works on sane cases.  Now check whether nonexistent headers
   5923   # can be detected and how.
   5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 #include <ac_nonexistent.h>
   5927 _ACEOF
   5928 if ac_fn_c_try_cpp "$LINENO"; then :
   5929   # Broken: success on invalid input.
   5930 continue
   5931 else
   5932   # Passes both tests.
   5933 ac_preproc_ok=:
   5934 break
   5935 fi
   5936 rm -f conftest.err conftest.i conftest.$ac_ext
   5937 
   5938 done
   5939 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5940 rm -f conftest.i conftest.err conftest.$ac_ext
   5941 if $ac_preproc_ok; then :
   5942 
   5943 else
   5944   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5946 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5947 See \`config.log' for more details" "$LINENO" 5; }
   5948 fi
   5949 
   5950 ac_ext=c
   5951 ac_cpp='$CPP $CPPFLAGS'
   5952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5955 
   5956 
   5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5958 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5959 if ${ac_cv_path_GREP+:} false; then :
   5960   $as_echo_n "(cached) " >&6
   5961 else
   5962   if test -z "$GREP"; then
   5963   ac_path_GREP_found=false
   5964   # Loop through the user's path and test for each of PROGNAME-LIST
   5965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5967 do
   5968   IFS=$as_save_IFS
   5969   test -z "$as_dir" && as_dir=.
   5970     for ac_prog in grep ggrep; do
   5971     for ac_exec_ext in '' $ac_executable_extensions; do
   5972       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5973       as_fn_executable_p "$ac_path_GREP" || continue
   5974 # Check for GNU ac_path_GREP and select it if it is found.
   5975   # Check for GNU $ac_path_GREP
   5976 case `"$ac_path_GREP" --version 2>&1` in
   5977 *GNU*)
   5978   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5979 *)
   5980   ac_count=0
   5981   $as_echo_n 0123456789 >"conftest.in"
   5982   while :
   5983   do
   5984     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5985     mv "conftest.tmp" "conftest.in"
   5986     cp "conftest.in" "conftest.nl"
   5987     $as_echo 'GREP' >> "conftest.nl"
   5988     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5989     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5990     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5991     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5992       # Best one so far, save it but keep looking for a better one
   5993       ac_cv_path_GREP="$ac_path_GREP"
   5994       ac_path_GREP_max=$ac_count
   5995     fi
   5996     # 10*(2^10) chars as input seems more than enough
   5997     test $ac_count -gt 10 && break
   5998   done
   5999   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6000 esac
   6001 
   6002       $ac_path_GREP_found && break 3
   6003     done
   6004   done
   6005   done
   6006 IFS=$as_save_IFS
   6007   if test -z "$ac_cv_path_GREP"; then
   6008     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6009   fi
   6010 else
   6011   ac_cv_path_GREP=$GREP
   6012 fi
   6013 
   6014 fi
   6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   6016 $as_echo "$ac_cv_path_GREP" >&6; }
   6017  GREP="$ac_cv_path_GREP"
   6018 
   6019 
   6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   6021 $as_echo_n "checking for egrep... " >&6; }
   6022 if ${ac_cv_path_EGREP+:} false; then :
   6023   $as_echo_n "(cached) " >&6
   6024 else
   6025   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   6026    then ac_cv_path_EGREP="$GREP -E"
   6027    else
   6028      if test -z "$EGREP"; then
   6029   ac_path_EGREP_found=false
   6030   # Loop through the user's path and test for each of PROGNAME-LIST
   6031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6032 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6033 do
   6034   IFS=$as_save_IFS
   6035   test -z "$as_dir" && as_dir=.
   6036     for ac_prog in egrep; do
   6037     for ac_exec_ext in '' $ac_executable_extensions; do
   6038       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   6039       as_fn_executable_p "$ac_path_EGREP" || continue
   6040 # Check for GNU ac_path_EGREP and select it if it is found.
   6041   # Check for GNU $ac_path_EGREP
   6042 case `"$ac_path_EGREP" --version 2>&1` in
   6043 *GNU*)
   6044   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   6045 *)
   6046   ac_count=0
   6047   $as_echo_n 0123456789 >"conftest.in"
   6048   while :
   6049   do
   6050     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6051     mv "conftest.tmp" "conftest.in"
   6052     cp "conftest.in" "conftest.nl"
   6053     $as_echo 'EGREP' >> "conftest.nl"
   6054     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6055     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6056     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6057     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   6058       # Best one so far, save it but keep looking for a better one
   6059       ac_cv_path_EGREP="$ac_path_EGREP"
   6060       ac_path_EGREP_max=$ac_count
   6061     fi
   6062     # 10*(2^10) chars as input seems more than enough
   6063     test $ac_count -gt 10 && break
   6064   done
   6065   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6066 esac
   6067 
   6068       $ac_path_EGREP_found && break 3
   6069     done
   6070   done
   6071   done
   6072 IFS=$as_save_IFS
   6073   if test -z "$ac_cv_path_EGREP"; then
   6074     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6075   fi
   6076 else
   6077   ac_cv_path_EGREP=$EGREP
   6078 fi
   6079 
   6080    fi
   6081 fi
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   6083 $as_echo "$ac_cv_path_EGREP" >&6; }
   6084  EGREP="$ac_cv_path_EGREP"
   6085 
   6086 
   6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6088 $as_echo_n "checking for ANSI C header files... " >&6; }
   6089 if ${ac_cv_header_stdc+:} false; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6093 /* end confdefs.h.  */
   6094 #include <stdlib.h>
   6095 #include <stdarg.h>
   6096 #include <string.h>
   6097 #include <float.h>
   6098 
   6099 int
   6100 main ()
   6101 {
   6102 
   6103   ;
   6104   return 0;
   6105 }
   6106 _ACEOF
   6107 if ac_fn_c_try_compile "$LINENO"; then :
   6108   ac_cv_header_stdc=yes
   6109 else
   6110   ac_cv_header_stdc=no
   6111 fi
   6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6113 
   6114 if test $ac_cv_header_stdc = yes; then
   6115   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6117 /* end confdefs.h.  */
   6118 #include <string.h>
   6119 
   6120 _ACEOF
   6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6122   $EGREP "memchr" >/dev/null 2>&1; then :
   6123 
   6124 else
   6125   ac_cv_header_stdc=no
   6126 fi
   6127 rm -f conftest*
   6128 
   6129 fi
   6130 
   6131 if test $ac_cv_header_stdc = yes; then
   6132   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6134 /* end confdefs.h.  */
   6135 #include <stdlib.h>
   6136 
   6137 _ACEOF
   6138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6139   $EGREP "free" >/dev/null 2>&1; then :
   6140 
   6141 else
   6142   ac_cv_header_stdc=no
   6143 fi
   6144 rm -f conftest*
   6145 
   6146 fi
   6147 
   6148 if test $ac_cv_header_stdc = yes; then
   6149   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6150   if test "$cross_compiling" = yes; then :
   6151   :
   6152 else
   6153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6154 /* end confdefs.h.  */
   6155 #include <ctype.h>
   6156 #include <stdlib.h>
   6157 #if ((' ' & 0x0FF) == 0x020)
   6158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6160 #else
   6161 # define ISLOWER(c) \
   6162 		   (('a' <= (c) && (c) <= 'i') \
   6163 		     || ('j' <= (c) && (c) <= 'r') \
   6164 		     || ('s' <= (c) && (c) <= 'z'))
   6165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6166 #endif
   6167 
   6168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6169 int
   6170 main ()
   6171 {
   6172   int i;
   6173   for (i = 0; i < 256; i++)
   6174     if (XOR (islower (i), ISLOWER (i))
   6175 	|| toupper (i) != TOUPPER (i))
   6176       return 2;
   6177   return 0;
   6178 }
   6179 _ACEOF
   6180 if ac_fn_c_try_run "$LINENO"; then :
   6181 
   6182 else
   6183   ac_cv_header_stdc=no
   6184 fi
   6185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6186   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6187 fi
   6188 
   6189 fi
   6190 fi
   6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6192 $as_echo "$ac_cv_header_stdc" >&6; }
   6193 if test $ac_cv_header_stdc = yes; then
   6194 
   6195 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6196 
   6197 fi
   6198 
   6199 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6200 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6201 		  inttypes.h stdint.h unistd.h
   6202 do :
   6203   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6204 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6205 "
   6206 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   6207   cat >>confdefs.h <<_ACEOF
   6208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6209 _ACEOF
   6210 
   6211 fi
   6212 
   6213 done
   6214 
   6215 
   6216 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   6217 case $ac_cv_c_int64_t in #(
   6218   no|yes) ;; #(
   6219   *)
   6220 
   6221 cat >>confdefs.h <<_ACEOF
   6222 #define int64_t $ac_cv_c_int64_t
   6223 _ACEOF
   6224 ;;
   6225 esac
   6226 
   6227 
   6228 
   6229 # Make sure we can run config.sub.
   6230 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   6231   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   6232 
   6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   6234 $as_echo_n "checking build system type... " >&6; }
   6235 if ${ac_cv_build+:} false; then :
   6236   $as_echo_n "(cached) " >&6
   6237 else
   6238   ac_build_alias=$build_alias
   6239 test "x$ac_build_alias" = x &&
   6240   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   6241 test "x$ac_build_alias" = x &&
   6242   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   6243 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   6244   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   6245 
   6246 fi
   6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   6248 $as_echo "$ac_cv_build" >&6; }
   6249 case $ac_cv_build in
   6250 *-*-*) ;;
   6251 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   6252 esac
   6253 build=$ac_cv_build
   6254 ac_save_IFS=$IFS; IFS='-'
   6255 set x $ac_cv_build
   6256 shift
   6257 build_cpu=$1
   6258 build_vendor=$2
   6259 shift; shift
   6260 # Remember, the first character of IFS is used to create $*,
   6261 # except with old shells:
   6262 build_os=$*
   6263 IFS=$ac_save_IFS
   6264 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   6265 
   6266 
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   6268 $as_echo_n "checking host system type... " >&6; }
   6269 if ${ac_cv_host+:} false; then :
   6270   $as_echo_n "(cached) " >&6
   6271 else
   6272   if test "x$host_alias" = x; then
   6273   ac_cv_host=$ac_cv_build
   6274 else
   6275   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   6276     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   6277 fi
   6278 
   6279 fi
   6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   6281 $as_echo "$ac_cv_host" >&6; }
   6282 case $ac_cv_host in
   6283 *-*-*) ;;
   6284 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   6285 esac
   6286 host=$ac_cv_host
   6287 ac_save_IFS=$IFS; IFS='-'
   6288 set x $ac_cv_host
   6289 shift
   6290 host_cpu=$1
   6291 host_vendor=$2
   6292 shift; shift
   6293 # Remember, the first character of IFS is used to create $*,
   6294 # except with old shells:
   6295 host_os=$*
   6296 IFS=$ac_save_IFS
   6297 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   6298 
   6299 
   6300 enable_win32_dll=yes
   6301 
   6302 case $host in
   6303 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   6304   if test -n "$ac_tool_prefix"; then
   6305   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   6306 set dummy ${ac_tool_prefix}as; ac_word=$2
   6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6308 $as_echo_n "checking for $ac_word... " >&6; }
   6309 if ${ac_cv_prog_AS+:} false; then :
   6310   $as_echo_n "(cached) " >&6
   6311 else
   6312   if test -n "$AS"; then
   6313   ac_cv_prog_AS="$AS" # Let the user override the test.
   6314 else
   6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6316 for as_dir in $PATH
   6317 do
   6318   IFS=$as_save_IFS
   6319   test -z "$as_dir" && as_dir=.
   6320     for ac_exec_ext in '' $ac_executable_extensions; do
   6321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6322     ac_cv_prog_AS="${ac_tool_prefix}as"
   6323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6324     break 2
   6325   fi
   6326 done
   6327   done
   6328 IFS=$as_save_IFS
   6329 
   6330 fi
   6331 fi
   6332 AS=$ac_cv_prog_AS
   6333 if test -n "$AS"; then
   6334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   6335 $as_echo "$AS" >&6; }
   6336 else
   6337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6338 $as_echo "no" >&6; }
   6339 fi
   6340 
   6341 
   6342 fi
   6343 if test -z "$ac_cv_prog_AS"; then
   6344   ac_ct_AS=$AS
   6345   # Extract the first word of "as", so it can be a program name with args.
   6346 set dummy as; ac_word=$2
   6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6348 $as_echo_n "checking for $ac_word... " >&6; }
   6349 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   6350   $as_echo_n "(cached) " >&6
   6351 else
   6352   if test -n "$ac_ct_AS"; then
   6353   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   6354 else
   6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6356 for as_dir in $PATH
   6357 do
   6358   IFS=$as_save_IFS
   6359   test -z "$as_dir" && as_dir=.
   6360     for ac_exec_ext in '' $ac_executable_extensions; do
   6361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6362     ac_cv_prog_ac_ct_AS="as"
   6363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6364     break 2
   6365   fi
   6366 done
   6367   done
   6368 IFS=$as_save_IFS
   6369 
   6370 fi
   6371 fi
   6372 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   6373 if test -n "$ac_ct_AS"; then
   6374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   6375 $as_echo "$ac_ct_AS" >&6; }
   6376 else
   6377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6378 $as_echo "no" >&6; }
   6379 fi
   6380 
   6381   if test "x$ac_ct_AS" = x; then
   6382     AS="false"
   6383   else
   6384     case $cross_compiling:$ac_tool_warned in
   6385 yes:)
   6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6388 ac_tool_warned=yes ;;
   6389 esac
   6390     AS=$ac_ct_AS
   6391   fi
   6392 else
   6393   AS="$ac_cv_prog_AS"
   6394 fi
   6395 
   6396   if test -n "$ac_tool_prefix"; then
   6397   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6398 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6400 $as_echo_n "checking for $ac_word... " >&6; }
   6401 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6402   $as_echo_n "(cached) " >&6
   6403 else
   6404   if test -n "$DLLTOOL"; then
   6405   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6406 else
   6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6408 for as_dir in $PATH
   6409 do
   6410   IFS=$as_save_IFS
   6411   test -z "$as_dir" && as_dir=.
   6412     for ac_exec_ext in '' $ac_executable_extensions; do
   6413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6414     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6416     break 2
   6417   fi
   6418 done
   6419   done
   6420 IFS=$as_save_IFS
   6421 
   6422 fi
   6423 fi
   6424 DLLTOOL=$ac_cv_prog_DLLTOOL
   6425 if test -n "$DLLTOOL"; then
   6426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6427 $as_echo "$DLLTOOL" >&6; }
   6428 else
   6429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6430 $as_echo "no" >&6; }
   6431 fi
   6432 
   6433 
   6434 fi
   6435 if test -z "$ac_cv_prog_DLLTOOL"; then
   6436   ac_ct_DLLTOOL=$DLLTOOL
   6437   # Extract the first word of "dlltool", so it can be a program name with args.
   6438 set dummy dlltool; ac_word=$2
   6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6440 $as_echo_n "checking for $ac_word... " >&6; }
   6441 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6442   $as_echo_n "(cached) " >&6
   6443 else
   6444   if test -n "$ac_ct_DLLTOOL"; then
   6445   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6446 else
   6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6448 for as_dir in $PATH
   6449 do
   6450   IFS=$as_save_IFS
   6451   test -z "$as_dir" && as_dir=.
   6452     for ac_exec_ext in '' $ac_executable_extensions; do
   6453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6454     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6456     break 2
   6457   fi
   6458 done
   6459   done
   6460 IFS=$as_save_IFS
   6461 
   6462 fi
   6463 fi
   6464 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6465 if test -n "$ac_ct_DLLTOOL"; then
   6466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6467 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6468 else
   6469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6470 $as_echo "no" >&6; }
   6471 fi
   6472 
   6473   if test "x$ac_ct_DLLTOOL" = x; then
   6474     DLLTOOL="false"
   6475   else
   6476     case $cross_compiling:$ac_tool_warned in
   6477 yes:)
   6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6480 ac_tool_warned=yes ;;
   6481 esac
   6482     DLLTOOL=$ac_ct_DLLTOOL
   6483   fi
   6484 else
   6485   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6486 fi
   6487 
   6488   if test -n "$ac_tool_prefix"; then
   6489   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6490 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6492 $as_echo_n "checking for $ac_word... " >&6; }
   6493 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6494   $as_echo_n "(cached) " >&6
   6495 else
   6496   if test -n "$OBJDUMP"; then
   6497   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6498 else
   6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6500 for as_dir in $PATH
   6501 do
   6502   IFS=$as_save_IFS
   6503   test -z "$as_dir" && as_dir=.
   6504     for ac_exec_ext in '' $ac_executable_extensions; do
   6505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6506     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6508     break 2
   6509   fi
   6510 done
   6511   done
   6512 IFS=$as_save_IFS
   6513 
   6514 fi
   6515 fi
   6516 OBJDUMP=$ac_cv_prog_OBJDUMP
   6517 if test -n "$OBJDUMP"; then
   6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6519 $as_echo "$OBJDUMP" >&6; }
   6520 else
   6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6522 $as_echo "no" >&6; }
   6523 fi
   6524 
   6525 
   6526 fi
   6527 if test -z "$ac_cv_prog_OBJDUMP"; then
   6528   ac_ct_OBJDUMP=$OBJDUMP
   6529   # Extract the first word of "objdump", so it can be a program name with args.
   6530 set dummy objdump; ac_word=$2
   6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6532 $as_echo_n "checking for $ac_word... " >&6; }
   6533 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6534   $as_echo_n "(cached) " >&6
   6535 else
   6536   if test -n "$ac_ct_OBJDUMP"; then
   6537   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6538 else
   6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6540 for as_dir in $PATH
   6541 do
   6542   IFS=$as_save_IFS
   6543   test -z "$as_dir" && as_dir=.
   6544     for ac_exec_ext in '' $ac_executable_extensions; do
   6545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6546     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6548     break 2
   6549   fi
   6550 done
   6551   done
   6552 IFS=$as_save_IFS
   6553 
   6554 fi
   6555 fi
   6556 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6557 if test -n "$ac_ct_OBJDUMP"; then
   6558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6559 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6560 else
   6561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6562 $as_echo "no" >&6; }
   6563 fi
   6564 
   6565   if test "x$ac_ct_OBJDUMP" = x; then
   6566     OBJDUMP="false"
   6567   else
   6568     case $cross_compiling:$ac_tool_warned in
   6569 yes:)
   6570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6572 ac_tool_warned=yes ;;
   6573 esac
   6574     OBJDUMP=$ac_ct_OBJDUMP
   6575   fi
   6576 else
   6577   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6578 fi
   6579 
   6580   ;;
   6581 esac
   6582 
   6583 test -z "$AS" && AS=as
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 test -z "$OBJDUMP" && OBJDUMP=objdump
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 case `pwd` in
   6604   *\ * | *\	*)
   6605     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6606 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6607 esac
   6608 
   6609 
   6610 
   6611 macro_version='2.4.6'
   6612 macro_revision='2.4.6'
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 ltmain=$ac_aux_dir/ltmain.sh
   6627 
   6628 # Backslashify metacharacters that are still active within
   6629 # double-quoted strings.
   6630 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6631 
   6632 # Same as above, but do not quote variable references.
   6633 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6634 
   6635 # Sed substitution to delay expansion of an escaped shell variable in a
   6636 # double_quote_subst'ed string.
   6637 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6638 
   6639 # Sed substitution to delay expansion of an escaped single quote.
   6640 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6641 
   6642 # Sed substitution to avoid accidental globbing in evaled expressions
   6643 no_glob_subst='s/\*/\\\*/g'
   6644 
   6645 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6646 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6647 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6648 
   6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6650 $as_echo_n "checking how to print strings... " >&6; }
   6651 # Test print first, because it will be a builtin if present.
   6652 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   6653    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6654   ECHO='print -r --'
   6655 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6656   ECHO='printf %s\n'
   6657 else
   6658   # Use this function as a fallback that always works.
   6659   func_fallback_echo ()
   6660   {
   6661     eval 'cat <<_LTECHO_EOF
   6662 $1
   6663 _LTECHO_EOF'
   6664   }
   6665   ECHO='func_fallback_echo'
   6666 fi
   6667 
   6668 # func_echo_all arg...
   6669 # Invoke $ECHO with all args, space-separated.
   6670 func_echo_all ()
   6671 {
   6672     $ECHO ""
   6673 }
   6674 
   6675 case $ECHO in
   6676   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6677 $as_echo "printf" >&6; } ;;
   6678   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6679 $as_echo "print -r" >&6; } ;;
   6680   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6681 $as_echo "cat" >&6; } ;;
   6682 esac
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6698 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6699 if ${ac_cv_path_SED+:} false; then :
   6700   $as_echo_n "(cached) " >&6
   6701 else
   6702             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6703      for ac_i in 1 2 3 4 5 6 7; do
   6704        ac_script="$ac_script$as_nl$ac_script"
   6705      done
   6706      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6707      { ac_script=; unset ac_script;}
   6708      if test -z "$SED"; then
   6709   ac_path_SED_found=false
   6710   # Loop through the user's path and test for each of PROGNAME-LIST
   6711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6712 for as_dir in $PATH
   6713 do
   6714   IFS=$as_save_IFS
   6715   test -z "$as_dir" && as_dir=.
   6716     for ac_prog in sed gsed; do
   6717     for ac_exec_ext in '' $ac_executable_extensions; do
   6718       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6719       as_fn_executable_p "$ac_path_SED" || continue
   6720 # Check for GNU ac_path_SED and select it if it is found.
   6721   # Check for GNU $ac_path_SED
   6722 case `"$ac_path_SED" --version 2>&1` in
   6723 *GNU*)
   6724   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6725 *)
   6726   ac_count=0
   6727   $as_echo_n 0123456789 >"conftest.in"
   6728   while :
   6729   do
   6730     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6731     mv "conftest.tmp" "conftest.in"
   6732     cp "conftest.in" "conftest.nl"
   6733     $as_echo '' >> "conftest.nl"
   6734     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6735     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6736     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6737     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6738       # Best one so far, save it but keep looking for a better one
   6739       ac_cv_path_SED="$ac_path_SED"
   6740       ac_path_SED_max=$ac_count
   6741     fi
   6742     # 10*(2^10) chars as input seems more than enough
   6743     test $ac_count -gt 10 && break
   6744   done
   6745   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6746 esac
   6747 
   6748       $ac_path_SED_found && break 3
   6749     done
   6750   done
   6751   done
   6752 IFS=$as_save_IFS
   6753   if test -z "$ac_cv_path_SED"; then
   6754     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6755   fi
   6756 else
   6757   ac_cv_path_SED=$SED
   6758 fi
   6759 
   6760 fi
   6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6762 $as_echo "$ac_cv_path_SED" >&6; }
   6763  SED="$ac_cv_path_SED"
   6764   rm -f conftest.sed
   6765 
   6766 test -z "$SED" && SED=sed
   6767 Xsed="$SED -e 1s/^X//"
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6780 $as_echo_n "checking for fgrep... " >&6; }
   6781 if ${ac_cv_path_FGREP+:} false; then :
   6782   $as_echo_n "(cached) " >&6
   6783 else
   6784   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6785    then ac_cv_path_FGREP="$GREP -F"
   6786    else
   6787      if test -z "$FGREP"; then
   6788   ac_path_FGREP_found=false
   6789   # Loop through the user's path and test for each of PROGNAME-LIST
   6790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6791 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6792 do
   6793   IFS=$as_save_IFS
   6794   test -z "$as_dir" && as_dir=.
   6795     for ac_prog in fgrep; do
   6796     for ac_exec_ext in '' $ac_executable_extensions; do
   6797       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6798       as_fn_executable_p "$ac_path_FGREP" || continue
   6799 # Check for GNU ac_path_FGREP and select it if it is found.
   6800   # Check for GNU $ac_path_FGREP
   6801 case `"$ac_path_FGREP" --version 2>&1` in
   6802 *GNU*)
   6803   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6804 *)
   6805   ac_count=0
   6806   $as_echo_n 0123456789 >"conftest.in"
   6807   while :
   6808   do
   6809     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6810     mv "conftest.tmp" "conftest.in"
   6811     cp "conftest.in" "conftest.nl"
   6812     $as_echo 'FGREP' >> "conftest.nl"
   6813     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6814     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6815     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6816     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6817       # Best one so far, save it but keep looking for a better one
   6818       ac_cv_path_FGREP="$ac_path_FGREP"
   6819       ac_path_FGREP_max=$ac_count
   6820     fi
   6821     # 10*(2^10) chars as input seems more than enough
   6822     test $ac_count -gt 10 && break
   6823   done
   6824   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6825 esac
   6826 
   6827       $ac_path_FGREP_found && break 3
   6828     done
   6829   done
   6830   done
   6831 IFS=$as_save_IFS
   6832   if test -z "$ac_cv_path_FGREP"; then
   6833     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6834   fi
   6835 else
   6836   ac_cv_path_FGREP=$FGREP
   6837 fi
   6838 
   6839    fi
   6840 fi
   6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6842 $as_echo "$ac_cv_path_FGREP" >&6; }
   6843  FGREP="$ac_cv_path_FGREP"
   6844 
   6845 
   6846 test -z "$GREP" && GREP=grep
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 # Check whether --with-gnu-ld was given.
   6867 if test "${with_gnu_ld+set}" = set; then :
   6868   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6869 else
   6870   with_gnu_ld=no
   6871 fi
   6872 
   6873 ac_prog=ld
   6874 if test yes = "$GCC"; then
   6875   # Check if gcc -print-prog-name=ld gives a path.
   6876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6877 $as_echo_n "checking for ld used by $CC... " >&6; }
   6878   case $host in
   6879   *-*-mingw*)
   6880     # gcc leaves a trailing carriage return, which upsets mingw
   6881     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6882   *)
   6883     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6884   esac
   6885   case $ac_prog in
   6886     # Accept absolute paths.
   6887     [\\/]* | ?:[\\/]*)
   6888       re_direlt='/[^/][^/]*/\.\./'
   6889       # Canonicalize the pathname of ld
   6890       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6891       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6892 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6893       done
   6894       test -z "$LD" && LD=$ac_prog
   6895       ;;
   6896   "")
   6897     # If it fails, then pretend we aren't using GCC.
   6898     ac_prog=ld
   6899     ;;
   6900   *)
   6901     # If it is relative, then search for the first ld in PATH.
   6902     with_gnu_ld=unknown
   6903     ;;
   6904   esac
   6905 elif test yes = "$with_gnu_ld"; then
   6906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6907 $as_echo_n "checking for GNU ld... " >&6; }
   6908 else
   6909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6910 $as_echo_n "checking for non-GNU ld... " >&6; }
   6911 fi
   6912 if ${lt_cv_path_LD+:} false; then :
   6913   $as_echo_n "(cached) " >&6
   6914 else
   6915   if test -z "$LD"; then
   6916   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6917   for ac_dir in $PATH; do
   6918     IFS=$lt_save_ifs
   6919     test -z "$ac_dir" && ac_dir=.
   6920     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6921       lt_cv_path_LD=$ac_dir/$ac_prog
   6922       # Check to see if the program is GNU ld.  I'd rather use --version,
   6923       # but apparently some variants of GNU ld only accept -v.
   6924       # Break only if it was the GNU/non-GNU ld that we prefer.
   6925       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6926       *GNU* | *'with BFD'*)
   6927 	test no != "$with_gnu_ld" && break
   6928 	;;
   6929       *)
   6930 	test yes != "$with_gnu_ld" && break
   6931 	;;
   6932       esac
   6933     fi
   6934   done
   6935   IFS=$lt_save_ifs
   6936 else
   6937   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6938 fi
   6939 fi
   6940 
   6941 LD=$lt_cv_path_LD
   6942 if test -n "$LD"; then
   6943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6944 $as_echo "$LD" >&6; }
   6945 else
   6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6947 $as_echo "no" >&6; }
   6948 fi
   6949 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6951 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6952 if ${lt_cv_prog_gnu_ld+:} false; then :
   6953   $as_echo_n "(cached) " >&6
   6954 else
   6955   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6956 case `$LD -v 2>&1 </dev/null` in
   6957 *GNU* | *'with BFD'*)
   6958   lt_cv_prog_gnu_ld=yes
   6959   ;;
   6960 *)
   6961   lt_cv_prog_gnu_ld=no
   6962   ;;
   6963 esac
   6964 fi
   6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6966 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6967 with_gnu_ld=$lt_cv_prog_gnu_ld
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6978 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6979 if ${lt_cv_path_NM+:} false; then :
   6980   $as_echo_n "(cached) " >&6
   6981 else
   6982   if test -n "$NM"; then
   6983   # Let the user override the test.
   6984   lt_cv_path_NM=$NM
   6985 else
   6986   lt_nm_to_check=${ac_tool_prefix}nm
   6987   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6988     lt_nm_to_check="$lt_nm_to_check nm"
   6989   fi
   6990   for lt_tmp_nm in $lt_nm_to_check; do
   6991     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6992     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6993       IFS=$lt_save_ifs
   6994       test -z "$ac_dir" && ac_dir=.
   6995       tmp_nm=$ac_dir/$lt_tmp_nm
   6996       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6997 	# Check to see if the nm accepts a BSD-compat flag.
   6998 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6999 	#   nm: unknown option "B" ignored
   7000 	# Tru64's nm complains that /dev/null is an invalid object file
   7001 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   7002 	case $build_os in
   7003 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   7004 	*) lt_bad_file=/dev/null ;;
   7005 	esac
   7006 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   7007 	*$lt_bad_file* | *'Invalid file or object type'*)
   7008 	  lt_cv_path_NM="$tmp_nm -B"
   7009 	  break 2
   7010 	  ;;
   7011 	*)
   7012 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   7013 	  */dev/null*)
   7014 	    lt_cv_path_NM="$tmp_nm -p"
   7015 	    break 2
   7016 	    ;;
   7017 	  *)
   7018 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   7019 	    continue # so that we can try to find one that supports BSD flags
   7020 	    ;;
   7021 	  esac
   7022 	  ;;
   7023 	esac
   7024       fi
   7025     done
   7026     IFS=$lt_save_ifs
   7027   done
   7028   : ${lt_cv_path_NM=no}
   7029 fi
   7030 fi
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   7032 $as_echo "$lt_cv_path_NM" >&6; }
   7033 if test no != "$lt_cv_path_NM"; then
   7034   NM=$lt_cv_path_NM
   7035 else
   7036   # Didn't find any BSD compatible name lister, look for dumpbin.
   7037   if test -n "$DUMPBIN"; then :
   7038     # Let the user override the test.
   7039   else
   7040     if test -n "$ac_tool_prefix"; then
   7041   for ac_prog in dumpbin "link -dump"
   7042   do
   7043     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7046 $as_echo_n "checking for $ac_word... " >&6; }
   7047 if ${ac_cv_prog_DUMPBIN+:} false; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050   if test -n "$DUMPBIN"; then
   7051   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   7052 else
   7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7054 for as_dir in $PATH
   7055 do
   7056   IFS=$as_save_IFS
   7057   test -z "$as_dir" && as_dir=.
   7058     for ac_exec_ext in '' $ac_executable_extensions; do
   7059   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7060     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   7061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7062     break 2
   7063   fi
   7064 done
   7065   done
   7066 IFS=$as_save_IFS
   7067 
   7068 fi
   7069 fi
   7070 DUMPBIN=$ac_cv_prog_DUMPBIN
   7071 if test -n "$DUMPBIN"; then
   7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   7073 $as_echo "$DUMPBIN" >&6; }
   7074 else
   7075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7076 $as_echo "no" >&6; }
   7077 fi
   7078 
   7079 
   7080     test -n "$DUMPBIN" && break
   7081   done
   7082 fi
   7083 if test -z "$DUMPBIN"; then
   7084   ac_ct_DUMPBIN=$DUMPBIN
   7085   for ac_prog in dumpbin "link -dump"
   7086 do
   7087   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7088 set dummy $ac_prog; ac_word=$2
   7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7090 $as_echo_n "checking for $ac_word... " >&6; }
   7091 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   7092   $as_echo_n "(cached) " >&6
   7093 else
   7094   if test -n "$ac_ct_DUMPBIN"; then
   7095   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   7096 else
   7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7098 for as_dir in $PATH
   7099 do
   7100   IFS=$as_save_IFS
   7101   test -z "$as_dir" && as_dir=.
   7102     for ac_exec_ext in '' $ac_executable_extensions; do
   7103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7104     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   7105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7106     break 2
   7107   fi
   7108 done
   7109   done
   7110 IFS=$as_save_IFS
   7111 
   7112 fi
   7113 fi
   7114 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   7115 if test -n "$ac_ct_DUMPBIN"; then
   7116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   7117 $as_echo "$ac_ct_DUMPBIN" >&6; }
   7118 else
   7119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7120 $as_echo "no" >&6; }
   7121 fi
   7122 
   7123 
   7124   test -n "$ac_ct_DUMPBIN" && break
   7125 done
   7126 
   7127   if test "x$ac_ct_DUMPBIN" = x; then
   7128     DUMPBIN=":"
   7129   else
   7130     case $cross_compiling:$ac_tool_warned in
   7131 yes:)
   7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7134 ac_tool_warned=yes ;;
   7135 esac
   7136     DUMPBIN=$ac_ct_DUMPBIN
   7137   fi
   7138 fi
   7139 
   7140     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   7141     *COFF*)
   7142       DUMPBIN="$DUMPBIN -symbols -headers"
   7143       ;;
   7144     *)
   7145       DUMPBIN=:
   7146       ;;
   7147     esac
   7148   fi
   7149 
   7150   if test : != "$DUMPBIN"; then
   7151     NM=$DUMPBIN
   7152   fi
   7153 fi
   7154 test -z "$NM" && NM=nm
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   7162 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   7163 if ${lt_cv_nm_interface+:} false; then :
   7164   $as_echo_n "(cached) " >&6
   7165 else
   7166   lt_cv_nm_interface="BSD nm"
   7167   echo "int some_variable = 0;" > conftest.$ac_ext
   7168   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   7169   (eval "$ac_compile" 2>conftest.err)
   7170   cat conftest.err >&5
   7171   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   7172   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   7173   cat conftest.err >&5
   7174   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   7175   cat conftest.out >&5
   7176   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   7177     lt_cv_nm_interface="MS dumpbin"
   7178   fi
   7179   rm -f conftest*
   7180 fi
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   7182 $as_echo "$lt_cv_nm_interface" >&6; }
   7183 
   7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   7185 $as_echo_n "checking whether ln -s works... " >&6; }
   7186 LN_S=$as_ln_s
   7187 if test "$LN_S" = "ln -s"; then
   7188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7189 $as_echo "yes" >&6; }
   7190 else
   7191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   7192 $as_echo "no, using $LN_S" >&6; }
   7193 fi
   7194 
   7195 # find the maximum length of command line arguments
   7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   7197 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   7198 if ${lt_cv_sys_max_cmd_len+:} false; then :
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201     i=0
   7202   teststring=ABCD
   7203 
   7204   case $build_os in
   7205   msdosdjgpp*)
   7206     # On DJGPP, this test can blow up pretty badly due to problems in libc
   7207     # (any single argument exceeding 2000 bytes causes a buffer overrun
   7208     # during glob expansion).  Even if it were fixed, the result of this
   7209     # check would be larger than it should be.
   7210     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   7211     ;;
   7212 
   7213   gnu*)
   7214     # Under GNU Hurd, this test is not required because there is
   7215     # no limit to the length of command line arguments.
   7216     # Libtool will interpret -1 as no limit whatsoever
   7217     lt_cv_sys_max_cmd_len=-1;
   7218     ;;
   7219 
   7220   cygwin* | mingw* | cegcc*)
   7221     # On Win9x/ME, this test blows up -- it succeeds, but takes
   7222     # about 5 minutes as the teststring grows exponentially.
   7223     # Worse, since 9x/ME are not pre-emptively multitasking,
   7224     # you end up with a "frozen" computer, even though with patience
   7225     # the test eventually succeeds (with a max line length of 256k).
   7226     # Instead, let's just punt: use the minimum linelength reported by
   7227     # all of the supported platforms: 8192 (on NT/2K/XP).
   7228     lt_cv_sys_max_cmd_len=8192;
   7229     ;;
   7230 
   7231   mint*)
   7232     # On MiNT this can take a long time and run out of memory.
   7233     lt_cv_sys_max_cmd_len=8192;
   7234     ;;
   7235 
   7236   amigaos*)
   7237     # On AmigaOS with pdksh, this test takes hours, literally.
   7238     # So we just punt and use a minimum line length of 8192.
   7239     lt_cv_sys_max_cmd_len=8192;
   7240     ;;
   7241 
   7242   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   7243     # This has been around since 386BSD, at least.  Likely further.
   7244     if test -x /sbin/sysctl; then
   7245       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   7246     elif test -x /usr/sbin/sysctl; then
   7247       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   7248     else
   7249       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   7250     fi
   7251     # And add a safety zone
   7252     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7253     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7254     ;;
   7255 
   7256   interix*)
   7257     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   7258     lt_cv_sys_max_cmd_len=196608
   7259     ;;
   7260 
   7261   os2*)
   7262     # The test takes a long time on OS/2.
   7263     lt_cv_sys_max_cmd_len=8192
   7264     ;;
   7265 
   7266   osf*)
   7267     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   7268     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   7269     # nice to cause kernel panics so lets avoid the loop below.
   7270     # First set a reasonable default.
   7271     lt_cv_sys_max_cmd_len=16384
   7272     #
   7273     if test -x /sbin/sysconfig; then
   7274       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   7275         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   7276       esac
   7277     fi
   7278     ;;
   7279   sco3.2v5*)
   7280     lt_cv_sys_max_cmd_len=102400
   7281     ;;
   7282   sysv5* | sco5v6* | sysv4.2uw2*)
   7283     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7284     if test -n "$kargmax"; then
   7285       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   7286     else
   7287       lt_cv_sys_max_cmd_len=32768
   7288     fi
   7289     ;;
   7290   *)
   7291     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7292     if test -n "$lt_cv_sys_max_cmd_len" && \
   7293        test undefined != "$lt_cv_sys_max_cmd_len"; then
   7294       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7295       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7296     else
   7297       # Make teststring a little bigger before we do anything with it.
   7298       # a 1K string should be a reasonable start.
   7299       for i in 1 2 3 4 5 6 7 8; do
   7300         teststring=$teststring$teststring
   7301       done
   7302       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7303       # If test is not a shell built-in, we'll probably end up computing a
   7304       # maximum length that is only half of the actual maximum length, but
   7305       # we can't tell.
   7306       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   7307 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   7308 	      test 17 != "$i" # 1/2 MB should be enough
   7309       do
   7310         i=`expr $i + 1`
   7311         teststring=$teststring$teststring
   7312       done
   7313       # Only check the string length outside the loop.
   7314       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7315       teststring=
   7316       # Add a significant safety factor because C++ compilers can tack on
   7317       # massive amounts of additional arguments before passing them to the
   7318       # linker.  It appears as though 1/2 is a usable value.
   7319       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7320     fi
   7321     ;;
   7322   esac
   7323 
   7324 fi
   7325 
   7326 if test -n "$lt_cv_sys_max_cmd_len"; then
   7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7328 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   7329 else
   7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7331 $as_echo "none" >&6; }
   7332 fi
   7333 max_cmd_len=$lt_cv_sys_max_cmd_len
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 : ${CP="cp -f"}
   7341 : ${MV="mv -f"}
   7342 : ${RM="rm -f"}
   7343 
   7344 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7345   lt_unset=unset
   7346 else
   7347   lt_unset=false
   7348 fi
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 # test EBCDIC or ASCII
   7355 case `echo X|tr X '\101'` in
   7356  A) # ASCII based system
   7357     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7358   lt_SP2NL='tr \040 \012'
   7359   lt_NL2SP='tr \015\012 \040\040'
   7360   ;;
   7361  *) # EBCDIC based system
   7362   lt_SP2NL='tr \100 \n'
   7363   lt_NL2SP='tr \r\n \100\100'
   7364   ;;
   7365 esac
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   7376 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   7377 if ${lt_cv_to_host_file_cmd+:} false; then :
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   case $host in
   7381   *-*-mingw* )
   7382     case $build in
   7383       *-*-mingw* ) # actually msys
   7384         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   7385         ;;
   7386       *-*-cygwin* )
   7387         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   7388         ;;
   7389       * ) # otherwise, assume *nix
   7390         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   7391         ;;
   7392     esac
   7393     ;;
   7394   *-*-cygwin* )
   7395     case $build in
   7396       *-*-mingw* ) # actually msys
   7397         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   7398         ;;
   7399       *-*-cygwin* )
   7400         lt_cv_to_host_file_cmd=func_convert_file_noop
   7401         ;;
   7402       * ) # otherwise, assume *nix
   7403         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   7404         ;;
   7405     esac
   7406     ;;
   7407   * ) # unhandled hosts (and "normal" native builds)
   7408     lt_cv_to_host_file_cmd=func_convert_file_noop
   7409     ;;
   7410 esac
   7411 
   7412 fi
   7413 
   7414 to_host_file_cmd=$lt_cv_to_host_file_cmd
   7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   7416 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   7423 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   7424 if ${lt_cv_to_tool_file_cmd+:} false; then :
   7425   $as_echo_n "(cached) " >&6
   7426 else
   7427   #assume ordinary cross tools, or native build.
   7428 lt_cv_to_tool_file_cmd=func_convert_file_noop
   7429 case $host in
   7430   *-*-mingw* )
   7431     case $build in
   7432       *-*-mingw* ) # actually msys
   7433         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   7434         ;;
   7435     esac
   7436     ;;
   7437 esac
   7438 
   7439 fi
   7440 
   7441 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   7443 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7450 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   7451 if ${lt_cv_ld_reload_flag+:} false; then :
   7452   $as_echo_n "(cached) " >&6
   7453 else
   7454   lt_cv_ld_reload_flag='-r'
   7455 fi
   7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7457 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   7458 reload_flag=$lt_cv_ld_reload_flag
   7459 case $reload_flag in
   7460 "" | " "*) ;;
   7461 *) reload_flag=" $reload_flag" ;;
   7462 esac
   7463 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7464 case $host_os in
   7465   cygwin* | mingw* | pw32* | cegcc*)
   7466     if test yes != "$GCC"; then
   7467       reload_cmds=false
   7468     fi
   7469     ;;
   7470   darwin*)
   7471     if test yes = "$GCC"; then
   7472       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   7473     else
   7474       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7475     fi
   7476     ;;
   7477 esac
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 if test -n "$ac_tool_prefix"; then
   7488   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7489 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7491 $as_echo_n "checking for $ac_word... " >&6; }
   7492 if ${ac_cv_prog_OBJDUMP+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   if test -n "$OBJDUMP"; then
   7496   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7497 else
   7498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7499 for as_dir in $PATH
   7500 do
   7501   IFS=$as_save_IFS
   7502   test -z "$as_dir" && as_dir=.
   7503     for ac_exec_ext in '' $ac_executable_extensions; do
   7504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7505     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7507     break 2
   7508   fi
   7509 done
   7510   done
   7511 IFS=$as_save_IFS
   7512 
   7513 fi
   7514 fi
   7515 OBJDUMP=$ac_cv_prog_OBJDUMP
   7516 if test -n "$OBJDUMP"; then
   7517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7518 $as_echo "$OBJDUMP" >&6; }
   7519 else
   7520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7521 $as_echo "no" >&6; }
   7522 fi
   7523 
   7524 
   7525 fi
   7526 if test -z "$ac_cv_prog_OBJDUMP"; then
   7527   ac_ct_OBJDUMP=$OBJDUMP
   7528   # Extract the first word of "objdump", so it can be a program name with args.
   7529 set dummy objdump; ac_word=$2
   7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7531 $as_echo_n "checking for $ac_word... " >&6; }
   7532 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7533   $as_echo_n "(cached) " >&6
   7534 else
   7535   if test -n "$ac_ct_OBJDUMP"; then
   7536   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7537 else
   7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7539 for as_dir in $PATH
   7540 do
   7541   IFS=$as_save_IFS
   7542   test -z "$as_dir" && as_dir=.
   7543     for ac_exec_ext in '' $ac_executable_extensions; do
   7544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7545     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7547     break 2
   7548   fi
   7549 done
   7550   done
   7551 IFS=$as_save_IFS
   7552 
   7553 fi
   7554 fi
   7555 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7556 if test -n "$ac_ct_OBJDUMP"; then
   7557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7558 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7559 else
   7560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7561 $as_echo "no" >&6; }
   7562 fi
   7563 
   7564   if test "x$ac_ct_OBJDUMP" = x; then
   7565     OBJDUMP="false"
   7566   else
   7567     case $cross_compiling:$ac_tool_warned in
   7568 yes:)
   7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7571 ac_tool_warned=yes ;;
   7572 esac
   7573     OBJDUMP=$ac_ct_OBJDUMP
   7574   fi
   7575 else
   7576   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7577 fi
   7578 
   7579 test -z "$OBJDUMP" && OBJDUMP=objdump
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7587 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7588 if ${lt_cv_deplibs_check_method+:} false; then :
   7589   $as_echo_n "(cached) " >&6
   7590 else
   7591   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7592 lt_cv_file_magic_test_file=
   7593 lt_cv_deplibs_check_method='unknown'
   7594 # Need to set the preceding variable on all platforms that support
   7595 # interlibrary dependencies.
   7596 # 'none' -- dependencies not supported.
   7597 # 'unknown' -- same as none, but documents that we really don't know.
   7598 # 'pass_all' -- all dependencies passed with no checks.
   7599 # 'test_compile' -- check by making test program.
   7600 # 'file_magic [[regex]]' -- check by looking for files in library path
   7601 # that responds to the $file_magic_cmd with a given extended regex.
   7602 # If you have 'file' or equivalent on your system and you're not sure
   7603 # whether 'pass_all' will *always* work, you probably want this one.
   7604 
   7605 case $host_os in
   7606 aix[4-9]*)
   7607   lt_cv_deplibs_check_method=pass_all
   7608   ;;
   7609 
   7610 beos*)
   7611   lt_cv_deplibs_check_method=pass_all
   7612   ;;
   7613 
   7614 bsdi[45]*)
   7615   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7616   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7617   lt_cv_file_magic_test_file=/shlib/libc.so
   7618   ;;
   7619 
   7620 cygwin*)
   7621   # func_win32_libid is a shell function defined in ltmain.sh
   7622   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7623   lt_cv_file_magic_cmd='func_win32_libid'
   7624   ;;
   7625 
   7626 mingw* | pw32*)
   7627   # Base MSYS/MinGW do not provide the 'file' command needed by
   7628   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7629   # unless we find 'file', for example because we are cross-compiling.
   7630   if ( file / ) >/dev/null 2>&1; then
   7631     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7632     lt_cv_file_magic_cmd='func_win32_libid'
   7633   else
   7634     # Keep this pattern in sync with the one in func_win32_libid.
   7635     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   7636     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7637   fi
   7638   ;;
   7639 
   7640 cegcc*)
   7641   # use the weaker test based on 'objdump'. See mingw*.
   7642   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7643   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7644   ;;
   7645 
   7646 darwin* | rhapsody*)
   7647   lt_cv_deplibs_check_method=pass_all
   7648   ;;
   7649 
   7650 freebsd* | dragonfly*)
   7651   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7652     case $host_cpu in
   7653     i*86 )
   7654       # Not sure whether the presence of OpenBSD here was a mistake.
   7655       # Let's accept both of them until this is cleared up.
   7656       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7657       lt_cv_file_magic_cmd=/usr/bin/file
   7658       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7659       ;;
   7660     esac
   7661   else
   7662     lt_cv_deplibs_check_method=pass_all
   7663   fi
   7664   ;;
   7665 
   7666 haiku*)
   7667   lt_cv_deplibs_check_method=pass_all
   7668   ;;
   7669 
   7670 hpux10.20* | hpux11*)
   7671   lt_cv_file_magic_cmd=/usr/bin/file
   7672   case $host_cpu in
   7673   ia64*)
   7674     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7675     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7676     ;;
   7677   hppa*64*)
   7678     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]'
   7679     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7680     ;;
   7681   *)
   7682     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7683     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7684     ;;
   7685   esac
   7686   ;;
   7687 
   7688 interix[3-9]*)
   7689   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7690   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7691   ;;
   7692 
   7693 irix5* | irix6* | nonstopux*)
   7694   case $LD in
   7695   *-32|*"-32 ") libmagic=32-bit;;
   7696   *-n32|*"-n32 ") libmagic=N32;;
   7697   *-64|*"-64 ") libmagic=64-bit;;
   7698   *) libmagic=never-match;;
   7699   esac
   7700   lt_cv_deplibs_check_method=pass_all
   7701   ;;
   7702 
   7703 # This must be glibc/ELF.
   7704 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7705   lt_cv_deplibs_check_method=pass_all
   7706   ;;
   7707 
   7708 netbsd*)
   7709   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7710     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7711   else
   7712     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7713   fi
   7714   ;;
   7715 
   7716 newos6*)
   7717   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7718   lt_cv_file_magic_cmd=/usr/bin/file
   7719   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7720   ;;
   7721 
   7722 *nto* | *qnx*)
   7723   lt_cv_deplibs_check_method=pass_all
   7724   ;;
   7725 
   7726 openbsd* | bitrig*)
   7727   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7728     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7729   else
   7730     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7731   fi
   7732   ;;
   7733 
   7734 osf3* | osf4* | osf5*)
   7735   lt_cv_deplibs_check_method=pass_all
   7736   ;;
   7737 
   7738 rdos*)
   7739   lt_cv_deplibs_check_method=pass_all
   7740   ;;
   7741 
   7742 solaris*)
   7743   lt_cv_deplibs_check_method=pass_all
   7744   ;;
   7745 
   7746 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7747   lt_cv_deplibs_check_method=pass_all
   7748   ;;
   7749 
   7750 sysv4 | sysv4.3*)
   7751   case $host_vendor in
   7752   motorola)
   7753     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]'
   7754     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7755     ;;
   7756   ncr)
   7757     lt_cv_deplibs_check_method=pass_all
   7758     ;;
   7759   sequent)
   7760     lt_cv_file_magic_cmd='/bin/file'
   7761     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7762     ;;
   7763   sni)
   7764     lt_cv_file_magic_cmd='/bin/file'
   7765     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7766     lt_cv_file_magic_test_file=/lib/libc.so
   7767     ;;
   7768   siemens)
   7769     lt_cv_deplibs_check_method=pass_all
   7770     ;;
   7771   pc)
   7772     lt_cv_deplibs_check_method=pass_all
   7773     ;;
   7774   esac
   7775   ;;
   7776 
   7777 tpf*)
   7778   lt_cv_deplibs_check_method=pass_all
   7779   ;;
   7780 os2*)
   7781   lt_cv_deplibs_check_method=pass_all
   7782   ;;
   7783 esac
   7784 
   7785 fi
   7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7787 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7788 
   7789 file_magic_glob=
   7790 want_nocaseglob=no
   7791 if test "$build" = "$host"; then
   7792   case $host_os in
   7793   mingw* | pw32*)
   7794     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7795       want_nocaseglob=yes
   7796     else
   7797       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7798     fi
   7799     ;;
   7800   esac
   7801 fi
   7802 
   7803 file_magic_cmd=$lt_cv_file_magic_cmd
   7804 deplibs_check_method=$lt_cv_deplibs_check_method
   7805 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 if test -n "$ac_tool_prefix"; then
   7829   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7830 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7832 $as_echo_n "checking for $ac_word... " >&6; }
   7833 if ${ac_cv_prog_DLLTOOL+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   if test -n "$DLLTOOL"; then
   7837   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7838 else
   7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7840 for as_dir in $PATH
   7841 do
   7842   IFS=$as_save_IFS
   7843   test -z "$as_dir" && as_dir=.
   7844     for ac_exec_ext in '' $ac_executable_extensions; do
   7845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7846     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7848     break 2
   7849   fi
   7850 done
   7851   done
   7852 IFS=$as_save_IFS
   7853 
   7854 fi
   7855 fi
   7856 DLLTOOL=$ac_cv_prog_DLLTOOL
   7857 if test -n "$DLLTOOL"; then
   7858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7859 $as_echo "$DLLTOOL" >&6; }
   7860 else
   7861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7862 $as_echo "no" >&6; }
   7863 fi
   7864 
   7865 
   7866 fi
   7867 if test -z "$ac_cv_prog_DLLTOOL"; then
   7868   ac_ct_DLLTOOL=$DLLTOOL
   7869   # Extract the first word of "dlltool", so it can be a program name with args.
   7870 set dummy dlltool; ac_word=$2
   7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7872 $as_echo_n "checking for $ac_word... " >&6; }
   7873 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   7874   $as_echo_n "(cached) " >&6
   7875 else
   7876   if test -n "$ac_ct_DLLTOOL"; then
   7877   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7878 else
   7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7880 for as_dir in $PATH
   7881 do
   7882   IFS=$as_save_IFS
   7883   test -z "$as_dir" && as_dir=.
   7884     for ac_exec_ext in '' $ac_executable_extensions; do
   7885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7886     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7888     break 2
   7889   fi
   7890 done
   7891   done
   7892 IFS=$as_save_IFS
   7893 
   7894 fi
   7895 fi
   7896 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7897 if test -n "$ac_ct_DLLTOOL"; then
   7898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7899 $as_echo "$ac_ct_DLLTOOL" >&6; }
   7900 else
   7901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7902 $as_echo "no" >&6; }
   7903 fi
   7904 
   7905   if test "x$ac_ct_DLLTOOL" = x; then
   7906     DLLTOOL="false"
   7907   else
   7908     case $cross_compiling:$ac_tool_warned in
   7909 yes:)
   7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7912 ac_tool_warned=yes ;;
   7913 esac
   7914     DLLTOOL=$ac_ct_DLLTOOL
   7915   fi
   7916 else
   7917   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7918 fi
   7919 
   7920 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7929 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   7930 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   7931   $as_echo_n "(cached) " >&6
   7932 else
   7933   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7934 
   7935 case $host_os in
   7936 cygwin* | mingw* | pw32* | cegcc*)
   7937   # two different shell functions defined in ltmain.sh;
   7938   # decide which one to use based on capabilities of $DLLTOOL
   7939   case `$DLLTOOL --help 2>&1` in
   7940   *--identify-strict*)
   7941     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7942     ;;
   7943   *)
   7944     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7945     ;;
   7946   esac
   7947   ;;
   7948 *)
   7949   # fallback: assume linklib IS sharedlib
   7950   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7951   ;;
   7952 esac
   7953 
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7956 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7957 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7958 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 if test -n "$ac_tool_prefix"; then
   7967   for ac_prog in ar
   7968   do
   7969     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7972 $as_echo_n "checking for $ac_word... " >&6; }
   7973 if ${ac_cv_prog_AR+:} false; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   if test -n "$AR"; then
   7977   ac_cv_prog_AR="$AR" # Let the user override the test.
   7978 else
   7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7980 for as_dir in $PATH
   7981 do
   7982   IFS=$as_save_IFS
   7983   test -z "$as_dir" && as_dir=.
   7984     for ac_exec_ext in '' $ac_executable_extensions; do
   7985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7986     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7988     break 2
   7989   fi
   7990 done
   7991   done
   7992 IFS=$as_save_IFS
   7993 
   7994 fi
   7995 fi
   7996 AR=$ac_cv_prog_AR
   7997 if test -n "$AR"; then
   7998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7999 $as_echo "$AR" >&6; }
   8000 else
   8001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8002 $as_echo "no" >&6; }
   8003 fi
   8004 
   8005 
   8006     test -n "$AR" && break
   8007   done
   8008 fi
   8009 if test -z "$AR"; then
   8010   ac_ct_AR=$AR
   8011   for ac_prog in ar
   8012 do
   8013   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8014 set dummy $ac_prog; ac_word=$2
   8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8016 $as_echo_n "checking for $ac_word... " >&6; }
   8017 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   8018   $as_echo_n "(cached) " >&6
   8019 else
   8020   if test -n "$ac_ct_AR"; then
   8021   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   8022 else
   8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8024 for as_dir in $PATH
   8025 do
   8026   IFS=$as_save_IFS
   8027   test -z "$as_dir" && as_dir=.
   8028     for ac_exec_ext in '' $ac_executable_extensions; do
   8029   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8030     ac_cv_prog_ac_ct_AR="$ac_prog"
   8031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8032     break 2
   8033   fi
   8034 done
   8035   done
   8036 IFS=$as_save_IFS
   8037 
   8038 fi
   8039 fi
   8040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   8041 if test -n "$ac_ct_AR"; then
   8042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   8043 $as_echo "$ac_ct_AR" >&6; }
   8044 else
   8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8046 $as_echo "no" >&6; }
   8047 fi
   8048 
   8049 
   8050   test -n "$ac_ct_AR" && break
   8051 done
   8052 
   8053   if test "x$ac_ct_AR" = x; then
   8054     AR="false"
   8055   else
   8056     case $cross_compiling:$ac_tool_warned in
   8057 yes:)
   8058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8060 ac_tool_warned=yes ;;
   8061 esac
   8062     AR=$ac_ct_AR
   8063   fi
   8064 fi
   8065 
   8066 : ${AR=ar}
   8067 : ${AR_FLAGS=cru}
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   8080 $as_echo_n "checking for archiver @FILE support... " >&6; }
   8081 if ${lt_cv_ar_at_file+:} false; then :
   8082   $as_echo_n "(cached) " >&6
   8083 else
   8084   lt_cv_ar_at_file=no
   8085    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8086 /* end confdefs.h.  */
   8087 
   8088 int
   8089 main ()
   8090 {
   8091 
   8092   ;
   8093   return 0;
   8094 }
   8095 _ACEOF
   8096 if ac_fn_c_try_compile "$LINENO"; then :
   8097   echo conftest.$ac_objext > conftest.lst
   8098       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   8099       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8100   (eval $lt_ar_try) 2>&5
   8101   ac_status=$?
   8102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8103   test $ac_status = 0; }
   8104       if test 0 -eq "$ac_status"; then
   8105 	# Ensure the archiver fails upon bogus file names.
   8106 	rm -f conftest.$ac_objext libconftest.a
   8107 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8108   (eval $lt_ar_try) 2>&5
   8109   ac_status=$?
   8110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8111   test $ac_status = 0; }
   8112 	if test 0 -ne "$ac_status"; then
   8113           lt_cv_ar_at_file=@
   8114         fi
   8115       fi
   8116       rm -f conftest.* libconftest.a
   8117 
   8118 fi
   8119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8120 
   8121 fi
   8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   8123 $as_echo "$lt_cv_ar_at_file" >&6; }
   8124 
   8125 if test no = "$lt_cv_ar_at_file"; then
   8126   archiver_list_spec=
   8127 else
   8128   archiver_list_spec=$lt_cv_ar_at_file
   8129 fi
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 if test -n "$ac_tool_prefix"; then
   8138   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   8139 set dummy ${ac_tool_prefix}strip; ac_word=$2
   8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8141 $as_echo_n "checking for $ac_word... " >&6; }
   8142 if ${ac_cv_prog_STRIP+:} false; then :
   8143   $as_echo_n "(cached) " >&6
   8144 else
   8145   if test -n "$STRIP"; then
   8146   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   8147 else
   8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8149 for as_dir in $PATH
   8150 do
   8151   IFS=$as_save_IFS
   8152   test -z "$as_dir" && as_dir=.
   8153     for ac_exec_ext in '' $ac_executable_extensions; do
   8154   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8155     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   8156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8157     break 2
   8158   fi
   8159 done
   8160   done
   8161 IFS=$as_save_IFS
   8162 
   8163 fi
   8164 fi
   8165 STRIP=$ac_cv_prog_STRIP
   8166 if test -n "$STRIP"; then
   8167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   8168 $as_echo "$STRIP" >&6; }
   8169 else
   8170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8171 $as_echo "no" >&6; }
   8172 fi
   8173 
   8174 
   8175 fi
   8176 if test -z "$ac_cv_prog_STRIP"; then
   8177   ac_ct_STRIP=$STRIP
   8178   # Extract the first word of "strip", so it can be a program name with args.
   8179 set dummy strip; ac_word=$2
   8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8181 $as_echo_n "checking for $ac_word... " >&6; }
   8182 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   8183   $as_echo_n "(cached) " >&6
   8184 else
   8185   if test -n "$ac_ct_STRIP"; then
   8186   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   8187 else
   8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8189 for as_dir in $PATH
   8190 do
   8191   IFS=$as_save_IFS
   8192   test -z "$as_dir" && as_dir=.
   8193     for ac_exec_ext in '' $ac_executable_extensions; do
   8194   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8195     ac_cv_prog_ac_ct_STRIP="strip"
   8196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8197     break 2
   8198   fi
   8199 done
   8200   done
   8201 IFS=$as_save_IFS
   8202 
   8203 fi
   8204 fi
   8205 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   8206 if test -n "$ac_ct_STRIP"; then
   8207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   8208 $as_echo "$ac_ct_STRIP" >&6; }
   8209 else
   8210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8211 $as_echo "no" >&6; }
   8212 fi
   8213 
   8214   if test "x$ac_ct_STRIP" = x; then
   8215     STRIP=":"
   8216   else
   8217     case $cross_compiling:$ac_tool_warned in
   8218 yes:)
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8221 ac_tool_warned=yes ;;
   8222 esac
   8223     STRIP=$ac_ct_STRIP
   8224   fi
   8225 else
   8226   STRIP="$ac_cv_prog_STRIP"
   8227 fi
   8228 
   8229 test -z "$STRIP" && STRIP=:
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 if test -n "$ac_tool_prefix"; then
   8237   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   8238 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8240 $as_echo_n "checking for $ac_word... " >&6; }
   8241 if ${ac_cv_prog_RANLIB+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   if test -n "$RANLIB"; then
   8245   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8246 else
   8247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8248 for as_dir in $PATH
   8249 do
   8250   IFS=$as_save_IFS
   8251   test -z "$as_dir" && as_dir=.
   8252     for ac_exec_ext in '' $ac_executable_extensions; do
   8253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8254     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   8255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8256     break 2
   8257   fi
   8258 done
   8259   done
   8260 IFS=$as_save_IFS
   8261 
   8262 fi
   8263 fi
   8264 RANLIB=$ac_cv_prog_RANLIB
   8265 if test -n "$RANLIB"; then
   8266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   8267 $as_echo "$RANLIB" >&6; }
   8268 else
   8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8270 $as_echo "no" >&6; }
   8271 fi
   8272 
   8273 
   8274 fi
   8275 if test -z "$ac_cv_prog_RANLIB"; then
   8276   ac_ct_RANLIB=$RANLIB
   8277   # Extract the first word of "ranlib", so it can be a program name with args.
   8278 set dummy ranlib; ac_word=$2
   8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8280 $as_echo_n "checking for $ac_word... " >&6; }
   8281 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   if test -n "$ac_ct_RANLIB"; then
   8285   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8286 else
   8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8288 for as_dir in $PATH
   8289 do
   8290   IFS=$as_save_IFS
   8291   test -z "$as_dir" && as_dir=.
   8292     for ac_exec_ext in '' $ac_executable_extensions; do
   8293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8294     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8296     break 2
   8297   fi
   8298 done
   8299   done
   8300 IFS=$as_save_IFS
   8301 
   8302 fi
   8303 fi
   8304 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8305 if test -n "$ac_ct_RANLIB"; then
   8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8307 $as_echo "$ac_ct_RANLIB" >&6; }
   8308 else
   8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8310 $as_echo "no" >&6; }
   8311 fi
   8312 
   8313   if test "x$ac_ct_RANLIB" = x; then
   8314     RANLIB=":"
   8315   else
   8316     case $cross_compiling:$ac_tool_warned in
   8317 yes:)
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8320 ac_tool_warned=yes ;;
   8321 esac
   8322     RANLIB=$ac_ct_RANLIB
   8323   fi
   8324 else
   8325   RANLIB="$ac_cv_prog_RANLIB"
   8326 fi
   8327 
   8328 test -z "$RANLIB" && RANLIB=:
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 # Determine commands to create old-style static archives.
   8336 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8337 old_postinstall_cmds='chmod 644 $oldlib'
   8338 old_postuninstall_cmds=
   8339 
   8340 if test -n "$RANLIB"; then
   8341   case $host_os in
   8342   bitrig* | openbsd*)
   8343     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   8344     ;;
   8345   *)
   8346     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   8347     ;;
   8348   esac
   8349   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   8350 fi
   8351 
   8352 case $host_os in
   8353   darwin*)
   8354     lock_old_archive_extraction=yes ;;
   8355   *)
   8356     lock_old_archive_extraction=no ;;
   8357 esac
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 # If no C compiler was specified, use CC.
   8398 LTCC=${LTCC-"$CC"}
   8399 
   8400 # If no C compiler flags were specified, use CFLAGS.
   8401 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8402 
   8403 # Allow CC to be a program name with arguments.
   8404 compiler=$CC
   8405 
   8406 
   8407 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8409 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   8410 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   8411   $as_echo_n "(cached) " >&6
   8412 else
   8413 
   8414 # These are sane defaults that work on at least a few old systems.
   8415 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8416 
   8417 # Character class describing NM global symbol codes.
   8418 symcode='[BCDEGRST]'
   8419 
   8420 # Regexp to match symbols that can be accessed directly from C.
   8421 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8422 
   8423 # Define system-specific variables.
   8424 case $host_os in
   8425 aix*)
   8426   symcode='[BCDT]'
   8427   ;;
   8428 cygwin* | mingw* | pw32* | cegcc*)
   8429   symcode='[ABCDGISTW]'
   8430   ;;
   8431 hpux*)
   8432   if test ia64 = "$host_cpu"; then
   8433     symcode='[ABCDEGRST]'
   8434   fi
   8435   ;;
   8436 irix* | nonstopux*)
   8437   symcode='[BCDEGRST]'
   8438   ;;
   8439 osf*)
   8440   symcode='[BCDEGQRST]'
   8441   ;;
   8442 solaris*)
   8443   symcode='[BDRT]'
   8444   ;;
   8445 sco3.2v5*)
   8446   symcode='[DT]'
   8447   ;;
   8448 sysv4.2uw2*)
   8449   symcode='[DT]'
   8450   ;;
   8451 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8452   symcode='[ABDT]'
   8453   ;;
   8454 sysv4)
   8455   symcode='[DFNSTU]'
   8456   ;;
   8457 esac
   8458 
   8459 # If we're using GNU nm, then use its standard symbol codes.
   8460 case `$NM -V 2>&1` in
   8461 *GNU* | *'with BFD'*)
   8462   symcode='[ABCDGIRSTW]' ;;
   8463 esac
   8464 
   8465 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8466   # Gets list of data symbols to import.
   8467   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   8468   # Adjust the below global symbol transforms to fixup imported variables.
   8469   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   8470   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   8471   lt_c_name_lib_hook="\
   8472   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   8473   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   8474 else
   8475   # Disable hooks by default.
   8476   lt_cv_sys_global_symbol_to_import=
   8477   lt_cdecl_hook=
   8478   lt_c_name_hook=
   8479   lt_c_name_lib_hook=
   8480 fi
   8481 
   8482 # Transform an extracted symbol line into a proper C declaration.
   8483 # Some systems (esp. on ia64) link data and code symbols differently,
   8484 # so use this general approach.
   8485 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   8486 $lt_cdecl_hook\
   8487 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   8488 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   8489 
   8490 # Transform an extracted symbol line into symbol name and symbol address
   8491 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   8492 $lt_c_name_hook\
   8493 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8494 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   8495 
   8496 # Transform an extracted symbol line into symbol name with lib prefix and
   8497 # symbol address.
   8498 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   8499 $lt_c_name_lib_hook\
   8500 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8501 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   8502 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   8503 
   8504 # Handle CRLF in mingw tool chain
   8505 opt_cr=
   8506 case $build_os in
   8507 mingw*)
   8508   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8509   ;;
   8510 esac
   8511 
   8512 # Try without a prefix underscore, then with it.
   8513 for ac_symprfx in "" "_"; do
   8514 
   8515   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8516   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8517 
   8518   # Write the raw and C identifiers.
   8519   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8520     # Fake it for dumpbin and say T for any non-static function,
   8521     # D for any global variable and I for any imported variable.
   8522     # Also find C++ and __fastcall symbols from MSVC++,
   8523     # which start with @ or ?.
   8524     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8525 "     {last_section=section; section=\$ 3};"\
   8526 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   8527 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8528 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   8529 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   8530 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   8531 "     \$ 0!~/External *\|/{next};"\
   8532 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8533 "     {if(hide[section]) next};"\
   8534 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   8535 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   8536 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   8537 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   8538 "     ' prfx=^$ac_symprfx"
   8539   else
   8540     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8541   fi
   8542   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   8543 
   8544   # Check to see that the pipe works correctly.
   8545   pipe_works=no
   8546 
   8547   rm -f conftest*
   8548   cat > conftest.$ac_ext <<_LT_EOF
   8549 #ifdef __cplusplus
   8550 extern "C" {
   8551 #endif
   8552 char nm_test_var;
   8553 void nm_test_func(void);
   8554 void nm_test_func(void){}
   8555 #ifdef __cplusplus
   8556 }
   8557 #endif
   8558 int main(){nm_test_var='a';nm_test_func();return(0);}
   8559 _LT_EOF
   8560 
   8561   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8562   (eval $ac_compile) 2>&5
   8563   ac_status=$?
   8564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8565   test $ac_status = 0; }; then
   8566     # Now try to grab the symbols.
   8567     nlist=conftest.nm
   8568     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   8569   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   8570   ac_status=$?
   8571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8572   test $ac_status = 0; } && test -s "$nlist"; then
   8573       # Try sorting and uniquifying the output.
   8574       if sort "$nlist" | uniq > "$nlist"T; then
   8575 	mv -f "$nlist"T "$nlist"
   8576       else
   8577 	rm -f "$nlist"T
   8578       fi
   8579 
   8580       # Make sure that we snagged all the symbols we need.
   8581       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8582 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8583 	  cat <<_LT_EOF > conftest.$ac_ext
   8584 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8585 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   8586 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   8587    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8588 # define LT_DLSYM_CONST
   8589 #elif defined __osf__
   8590 /* This system does not cope well with relocations in const data.  */
   8591 # define LT_DLSYM_CONST
   8592 #else
   8593 # define LT_DLSYM_CONST const
   8594 #endif
   8595 
   8596 #ifdef __cplusplus
   8597 extern "C" {
   8598 #endif
   8599 
   8600 _LT_EOF
   8601 	  # Now generate the symbol file.
   8602 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8603 
   8604 	  cat <<_LT_EOF >> conftest.$ac_ext
   8605 
   8606 /* The mapping between symbol names and symbols.  */
   8607 LT_DLSYM_CONST struct {
   8608   const char *name;
   8609   void       *address;
   8610 }
   8611 lt__PROGRAM__LTX_preloaded_symbols[] =
   8612 {
   8613   { "@PROGRAM@", (void *) 0 },
   8614 _LT_EOF
   8615 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8616 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8617   {0, (void *) 0}
   8618 };
   8619 
   8620 /* This works around a problem in FreeBSD linker */
   8621 #ifdef FREEBSD_WORKAROUND
   8622 static const void *lt_preloaded_setup() {
   8623   return lt__PROGRAM__LTX_preloaded_symbols;
   8624 }
   8625 #endif
   8626 
   8627 #ifdef __cplusplus
   8628 }
   8629 #endif
   8630 _LT_EOF
   8631 	  # Now try linking the two files.
   8632 	  mv conftest.$ac_objext conftstm.$ac_objext
   8633 	  lt_globsym_save_LIBS=$LIBS
   8634 	  lt_globsym_save_CFLAGS=$CFLAGS
   8635 	  LIBS=conftstm.$ac_objext
   8636 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8637 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8638   (eval $ac_link) 2>&5
   8639   ac_status=$?
   8640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8641   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   8642 	    pipe_works=yes
   8643 	  fi
   8644 	  LIBS=$lt_globsym_save_LIBS
   8645 	  CFLAGS=$lt_globsym_save_CFLAGS
   8646 	else
   8647 	  echo "cannot find nm_test_func in $nlist" >&5
   8648 	fi
   8649       else
   8650 	echo "cannot find nm_test_var in $nlist" >&5
   8651       fi
   8652     else
   8653       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8654     fi
   8655   else
   8656     echo "$progname: failed program was:" >&5
   8657     cat conftest.$ac_ext >&5
   8658   fi
   8659   rm -rf conftest* conftst*
   8660 
   8661   # Do not use the global_symbol_pipe unless it works.
   8662   if test yes = "$pipe_works"; then
   8663     break
   8664   else
   8665     lt_cv_sys_global_symbol_pipe=
   8666   fi
   8667 done
   8668 
   8669 fi
   8670 
   8671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8672   lt_cv_sys_global_symbol_to_cdecl=
   8673 fi
   8674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8676 $as_echo "failed" >&6; }
   8677 else
   8678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8679 $as_echo "ok" >&6; }
   8680 fi
   8681 
   8682 # Response file support.
   8683 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8684   nm_file_list_spec='@'
   8685 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8686   nm_file_list_spec='@'
   8687 fi
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8726 $as_echo_n "checking for sysroot... " >&6; }
   8727 
   8728 # Check whether --with-sysroot was given.
   8729 if test "${with_sysroot+set}" = set; then :
   8730   withval=$with_sysroot;
   8731 else
   8732   with_sysroot=no
   8733 fi
   8734 
   8735 
   8736 lt_sysroot=
   8737 case $with_sysroot in #(
   8738  yes)
   8739    if test yes = "$GCC"; then
   8740      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8741    fi
   8742    ;; #(
   8743  /*)
   8744    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   8745    ;; #(
   8746  no|'')
   8747    ;; #(
   8748  *)
   8749    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   8750 $as_echo "$with_sysroot" >&6; }
   8751    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8752    ;;
   8753 esac
   8754 
   8755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8756 $as_echo "${lt_sysroot:-no}" >&6; }
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8763 $as_echo_n "checking for a working dd... " >&6; }
   8764 if ${ac_cv_path_lt_DD+:} false; then :
   8765   $as_echo_n "(cached) " >&6
   8766 else
   8767   printf 0123456789abcdef0123456789abcdef >conftest.i
   8768 cat conftest.i conftest.i >conftest2.i
   8769 : ${lt_DD:=$DD}
   8770 if test -z "$lt_DD"; then
   8771   ac_path_lt_DD_found=false
   8772   # Loop through the user's path and test for each of PROGNAME-LIST
   8773   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8774 for as_dir in $PATH
   8775 do
   8776   IFS=$as_save_IFS
   8777   test -z "$as_dir" && as_dir=.
   8778     for ac_prog in dd; do
   8779     for ac_exec_ext in '' $ac_executable_extensions; do
   8780       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   8781       as_fn_executable_p "$ac_path_lt_DD" || continue
   8782 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8783   cmp -s conftest.i conftest.out \
   8784   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8785 fi
   8786       $ac_path_lt_DD_found && break 3
   8787     done
   8788   done
   8789   done
   8790 IFS=$as_save_IFS
   8791   if test -z "$ac_cv_path_lt_DD"; then
   8792     :
   8793   fi
   8794 else
   8795   ac_cv_path_lt_DD=$lt_DD
   8796 fi
   8797 
   8798 rm -f conftest.i conftest2.i conftest.out
   8799 fi
   8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8801 $as_echo "$ac_cv_path_lt_DD" >&6; }
   8802 
   8803 
   8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8805 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   8806 if ${lt_cv_truncate_bin+:} false; then :
   8807   $as_echo_n "(cached) " >&6
   8808 else
   8809   printf 0123456789abcdef0123456789abcdef >conftest.i
   8810 cat conftest.i conftest.i >conftest2.i
   8811 lt_cv_truncate_bin=
   8812 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8813   cmp -s conftest.i conftest.out \
   8814   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8815 fi
   8816 rm -f conftest.i conftest2.i conftest.out
   8817 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   8818 fi
   8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8820 $as_echo "$lt_cv_truncate_bin" >&6; }
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8829 func_cc_basename ()
   8830 {
   8831     for cc_temp in $*""; do
   8832       case $cc_temp in
   8833         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8834         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8835         \-*) ;;
   8836         *) break;;
   8837       esac
   8838     done
   8839     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8840 }
   8841 
   8842 # Check whether --enable-libtool-lock was given.
   8843 if test "${enable_libtool_lock+set}" = set; then :
   8844   enableval=$enable_libtool_lock;
   8845 fi
   8846 
   8847 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8848 
   8849 # Some flags need to be propagated to the compiler or linker for good
   8850 # libtool support.
   8851 case $host in
   8852 ia64-*-hpux*)
   8853   # Find out what ABI is being produced by ac_compile, and set mode
   8854   # options accordingly.
   8855   echo 'int i;' > conftest.$ac_ext
   8856   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8857   (eval $ac_compile) 2>&5
   8858   ac_status=$?
   8859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8860   test $ac_status = 0; }; then
   8861     case `/usr/bin/file conftest.$ac_objext` in
   8862       *ELF-32*)
   8863 	HPUX_IA64_MODE=32
   8864 	;;
   8865       *ELF-64*)
   8866 	HPUX_IA64_MODE=64
   8867 	;;
   8868     esac
   8869   fi
   8870   rm -rf conftest*
   8871   ;;
   8872 *-*-irix6*)
   8873   # Find out what ABI is being produced by ac_compile, and set linker
   8874   # options accordingly.
   8875   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8876   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8877   (eval $ac_compile) 2>&5
   8878   ac_status=$?
   8879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8880   test $ac_status = 0; }; then
   8881     if test yes = "$lt_cv_prog_gnu_ld"; then
   8882       case `/usr/bin/file conftest.$ac_objext` in
   8883 	*32-bit*)
   8884 	  LD="${LD-ld} -melf32bsmip"
   8885 	  ;;
   8886 	*N32*)
   8887 	  LD="${LD-ld} -melf32bmipn32"
   8888 	  ;;
   8889 	*64-bit*)
   8890 	  LD="${LD-ld} -melf64bmip"
   8891 	;;
   8892       esac
   8893     else
   8894       case `/usr/bin/file conftest.$ac_objext` in
   8895 	*32-bit*)
   8896 	  LD="${LD-ld} -32"
   8897 	  ;;
   8898 	*N32*)
   8899 	  LD="${LD-ld} -n32"
   8900 	  ;;
   8901 	*64-bit*)
   8902 	  LD="${LD-ld} -64"
   8903 	  ;;
   8904       esac
   8905     fi
   8906   fi
   8907   rm -rf conftest*
   8908   ;;
   8909 
   8910 mips64*-*linux*)
   8911   # Find out what ABI is being produced by ac_compile, and set linker
   8912   # options accordingly.
   8913   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8914   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8915   (eval $ac_compile) 2>&5
   8916   ac_status=$?
   8917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8918   test $ac_status = 0; }; then
   8919     emul=elf
   8920     case `/usr/bin/file conftest.$ac_objext` in
   8921       *32-bit*)
   8922 	emul="${emul}32"
   8923 	;;
   8924       *64-bit*)
   8925 	emul="${emul}64"
   8926 	;;
   8927     esac
   8928     case `/usr/bin/file conftest.$ac_objext` in
   8929       *MSB*)
   8930 	emul="${emul}btsmip"
   8931 	;;
   8932       *LSB*)
   8933 	emul="${emul}ltsmip"
   8934 	;;
   8935     esac
   8936     case `/usr/bin/file conftest.$ac_objext` in
   8937       *N32*)
   8938 	emul="${emul}n32"
   8939 	;;
   8940     esac
   8941     LD="${LD-ld} -m $emul"
   8942   fi
   8943   rm -rf conftest*
   8944   ;;
   8945 
   8946 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8947 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8948   # Find out what ABI is being produced by ac_compile, and set linker
   8949   # options accordingly.  Note that the listed cases only cover the
   8950   # situations where additional linker options are needed (such as when
   8951   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8952   # vice versa); the common cases where no linker options are needed do
   8953   # not appear in the list.
   8954   echo 'int i;' > conftest.$ac_ext
   8955   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8956   (eval $ac_compile) 2>&5
   8957   ac_status=$?
   8958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8959   test $ac_status = 0; }; then
   8960     case `/usr/bin/file conftest.o` in
   8961       *32-bit*)
   8962 	case $host in
   8963 	  x86_64-*kfreebsd*-gnu)
   8964 	    LD="${LD-ld} -m elf_i386_fbsd"
   8965 	    ;;
   8966 	  x86_64-*linux*)
   8967 	    case `/usr/bin/file conftest.o` in
   8968 	      *x86-64*)
   8969 		LD="${LD-ld} -m elf32_x86_64"
   8970 		;;
   8971 	      *)
   8972 		LD="${LD-ld} -m elf_i386"
   8973 		;;
   8974 	    esac
   8975 	    ;;
   8976 	  powerpc64le-*linux*)
   8977 	    LD="${LD-ld} -m elf32lppclinux"
   8978 	    ;;
   8979 	  powerpc64-*linux*)
   8980 	    LD="${LD-ld} -m elf32ppclinux"
   8981 	    ;;
   8982 	  s390x-*linux*)
   8983 	    LD="${LD-ld} -m elf_s390"
   8984 	    ;;
   8985 	  sparc64-*linux*)
   8986 	    LD="${LD-ld} -m elf32_sparc"
   8987 	    ;;
   8988 	esac
   8989 	;;
   8990       *64-bit*)
   8991 	case $host in
   8992 	  x86_64-*kfreebsd*-gnu)
   8993 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8994 	    ;;
   8995 	  x86_64-*linux*)
   8996 	    LD="${LD-ld} -m elf_x86_64"
   8997 	    ;;
   8998 	  powerpcle-*linux*)
   8999 	    LD="${LD-ld} -m elf64lppc"
   9000 	    ;;
   9001 	  powerpc-*linux*)
   9002 	    LD="${LD-ld} -m elf64ppc"
   9003 	    ;;
   9004 	  s390*-*linux*|s390*-*tpf*)
   9005 	    LD="${LD-ld} -m elf64_s390"
   9006 	    ;;
   9007 	  sparc*-*linux*)
   9008 	    LD="${LD-ld} -m elf64_sparc"
   9009 	    ;;
   9010 	esac
   9011 	;;
   9012     esac
   9013   fi
   9014   rm -rf conftest*
   9015   ;;
   9016 
   9017 *-*-sco3.2v5*)
   9018   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   9019   SAVE_CFLAGS=$CFLAGS
   9020   CFLAGS="$CFLAGS -belf"
   9021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   9022 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   9023 if ${lt_cv_cc_needs_belf+:} false; then :
   9024   $as_echo_n "(cached) " >&6
   9025 else
   9026   ac_ext=c
   9027 ac_cpp='$CPP $CPPFLAGS'
   9028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9031 
   9032      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9033 /* end confdefs.h.  */
   9034 
   9035 int
   9036 main ()
   9037 {
   9038 
   9039   ;
   9040   return 0;
   9041 }
   9042 _ACEOF
   9043 if ac_fn_c_try_link "$LINENO"; then :
   9044   lt_cv_cc_needs_belf=yes
   9045 else
   9046   lt_cv_cc_needs_belf=no
   9047 fi
   9048 rm -f core conftest.err conftest.$ac_objext \
   9049     conftest$ac_exeext conftest.$ac_ext
   9050      ac_ext=c
   9051 ac_cpp='$CPP $CPPFLAGS'
   9052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9055 
   9056 fi
   9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   9058 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   9059   if test yes != "$lt_cv_cc_needs_belf"; then
   9060     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   9061     CFLAGS=$SAVE_CFLAGS
   9062   fi
   9063   ;;
   9064 *-*solaris*)
   9065   # Find out what ABI is being produced by ac_compile, and set linker
   9066   # options accordingly.
   9067   echo 'int i;' > conftest.$ac_ext
   9068   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9069   (eval $ac_compile) 2>&5
   9070   ac_status=$?
   9071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9072   test $ac_status = 0; }; then
   9073     case `/usr/bin/file conftest.o` in
   9074     *64-bit*)
   9075       case $lt_cv_prog_gnu_ld in
   9076       yes*)
   9077         case $host in
   9078         i?86-*-solaris*|x86_64-*-solaris*)
   9079           LD="${LD-ld} -m elf_x86_64"
   9080           ;;
   9081         sparc*-*-solaris*)
   9082           LD="${LD-ld} -m elf64_sparc"
   9083           ;;
   9084         esac
   9085         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   9086         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   9087           LD=${LD-ld}_sol2
   9088         fi
   9089         ;;
   9090       *)
   9091 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   9092 	  LD="${LD-ld} -64"
   9093 	fi
   9094 	;;
   9095       esac
   9096       ;;
   9097     esac
   9098   fi
   9099   rm -rf conftest*
   9100   ;;
   9101 esac
   9102 
   9103 need_locks=$enable_libtool_lock
   9104 
   9105 if test -n "$ac_tool_prefix"; then
   9106   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   9107 set dummy ${ac_tool_prefix}mt; ac_word=$2
   9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9109 $as_echo_n "checking for $ac_word... " >&6; }
   9110 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   9111   $as_echo_n "(cached) " >&6
   9112 else
   9113   if test -n "$MANIFEST_TOOL"; then
   9114   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   9115 else
   9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9117 for as_dir in $PATH
   9118 do
   9119   IFS=$as_save_IFS
   9120   test -z "$as_dir" && as_dir=.
   9121     for ac_exec_ext in '' $ac_executable_extensions; do
   9122   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9123     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   9124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9125     break 2
   9126   fi
   9127 done
   9128   done
   9129 IFS=$as_save_IFS
   9130 
   9131 fi
   9132 fi
   9133 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   9134 if test -n "$MANIFEST_TOOL"; then
   9135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   9136 $as_echo "$MANIFEST_TOOL" >&6; }
   9137 else
   9138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9139 $as_echo "no" >&6; }
   9140 fi
   9141 
   9142 
   9143 fi
   9144 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   9145   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   9146   # Extract the first word of "mt", so it can be a program name with args.
   9147 set dummy mt; ac_word=$2
   9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9149 $as_echo_n "checking for $ac_word... " >&6; }
   9150 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   9151   $as_echo_n "(cached) " >&6
   9152 else
   9153   if test -n "$ac_ct_MANIFEST_TOOL"; then
   9154   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   9155 else
   9156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9157 for as_dir in $PATH
   9158 do
   9159   IFS=$as_save_IFS
   9160   test -z "$as_dir" && as_dir=.
   9161     for ac_exec_ext in '' $ac_executable_extensions; do
   9162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9163     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   9164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9165     break 2
   9166   fi
   9167 done
   9168   done
   9169 IFS=$as_save_IFS
   9170 
   9171 fi
   9172 fi
   9173 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   9174 if test -n "$ac_ct_MANIFEST_TOOL"; then
   9175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   9176 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   9177 else
   9178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9179 $as_echo "no" >&6; }
   9180 fi
   9181 
   9182   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   9183     MANIFEST_TOOL=":"
   9184   else
   9185     case $cross_compiling:$ac_tool_warned in
   9186 yes:)
   9187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9189 ac_tool_warned=yes ;;
   9190 esac
   9191     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   9192   fi
   9193 else
   9194   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   9195 fi
   9196 
   9197 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   9199 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   9200 if ${lt_cv_path_mainfest_tool+:} false; then :
   9201   $as_echo_n "(cached) " >&6
   9202 else
   9203   lt_cv_path_mainfest_tool=no
   9204   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   9205   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   9206   cat conftest.err >&5
   9207   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   9208     lt_cv_path_mainfest_tool=yes
   9209   fi
   9210   rm -f conftest*
   9211 fi
   9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   9213 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   9214 if test yes != "$lt_cv_path_mainfest_tool"; then
   9215   MANIFEST_TOOL=:
   9216 fi
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223   case $host_os in
   9224     rhapsody* | darwin*)
   9225     if test -n "$ac_tool_prefix"; then
   9226   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   9227 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9229 $as_echo_n "checking for $ac_word... " >&6; }
   9230 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   9231   $as_echo_n "(cached) " >&6
   9232 else
   9233   if test -n "$DSYMUTIL"; then
   9234   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   9235 else
   9236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9237 for as_dir in $PATH
   9238 do
   9239   IFS=$as_save_IFS
   9240   test -z "$as_dir" && as_dir=.
   9241     for ac_exec_ext in '' $ac_executable_extensions; do
   9242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9243     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   9244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9245     break 2
   9246   fi
   9247 done
   9248   done
   9249 IFS=$as_save_IFS
   9250 
   9251 fi
   9252 fi
   9253 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   9254 if test -n "$DSYMUTIL"; then
   9255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   9256 $as_echo "$DSYMUTIL" >&6; }
   9257 else
   9258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9259 $as_echo "no" >&6; }
   9260 fi
   9261 
   9262 
   9263 fi
   9264 if test -z "$ac_cv_prog_DSYMUTIL"; then
   9265   ac_ct_DSYMUTIL=$DSYMUTIL
   9266   # Extract the first word of "dsymutil", so it can be a program name with args.
   9267 set dummy dsymutil; ac_word=$2
   9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9269 $as_echo_n "checking for $ac_word... " >&6; }
   9270 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   9271   $as_echo_n "(cached) " >&6
   9272 else
   9273   if test -n "$ac_ct_DSYMUTIL"; then
   9274   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   9275 else
   9276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9277 for as_dir in $PATH
   9278 do
   9279   IFS=$as_save_IFS
   9280   test -z "$as_dir" && as_dir=.
   9281     for ac_exec_ext in '' $ac_executable_extensions; do
   9282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9283     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9285     break 2
   9286   fi
   9287 done
   9288   done
   9289 IFS=$as_save_IFS
   9290 
   9291 fi
   9292 fi
   9293 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9294 if test -n "$ac_ct_DSYMUTIL"; then
   9295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9296 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   9297 else
   9298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9299 $as_echo "no" >&6; }
   9300 fi
   9301 
   9302   if test "x$ac_ct_DSYMUTIL" = x; then
   9303     DSYMUTIL=":"
   9304   else
   9305     case $cross_compiling:$ac_tool_warned in
   9306 yes:)
   9307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9309 ac_tool_warned=yes ;;
   9310 esac
   9311     DSYMUTIL=$ac_ct_DSYMUTIL
   9312   fi
   9313 else
   9314   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9315 fi
   9316 
   9317     if test -n "$ac_tool_prefix"; then
   9318   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9319 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9321 $as_echo_n "checking for $ac_word... " >&6; }
   9322 if ${ac_cv_prog_NMEDIT+:} false; then :
   9323   $as_echo_n "(cached) " >&6
   9324 else
   9325   if test -n "$NMEDIT"; then
   9326   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9327 else
   9328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9329 for as_dir in $PATH
   9330 do
   9331   IFS=$as_save_IFS
   9332   test -z "$as_dir" && as_dir=.
   9333     for ac_exec_ext in '' $ac_executable_extensions; do
   9334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9335     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9337     break 2
   9338   fi
   9339 done
   9340   done
   9341 IFS=$as_save_IFS
   9342 
   9343 fi
   9344 fi
   9345 NMEDIT=$ac_cv_prog_NMEDIT
   9346 if test -n "$NMEDIT"; then
   9347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9348 $as_echo "$NMEDIT" >&6; }
   9349 else
   9350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9351 $as_echo "no" >&6; }
   9352 fi
   9353 
   9354 
   9355 fi
   9356 if test -z "$ac_cv_prog_NMEDIT"; then
   9357   ac_ct_NMEDIT=$NMEDIT
   9358   # Extract the first word of "nmedit", so it can be a program name with args.
   9359 set dummy nmedit; ac_word=$2
   9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9361 $as_echo_n "checking for $ac_word... " >&6; }
   9362 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   9363   $as_echo_n "(cached) " >&6
   9364 else
   9365   if test -n "$ac_ct_NMEDIT"; then
   9366   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9367 else
   9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9369 for as_dir in $PATH
   9370 do
   9371   IFS=$as_save_IFS
   9372   test -z "$as_dir" && as_dir=.
   9373     for ac_exec_ext in '' $ac_executable_extensions; do
   9374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9375     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9377     break 2
   9378   fi
   9379 done
   9380   done
   9381 IFS=$as_save_IFS
   9382 
   9383 fi
   9384 fi
   9385 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9386 if test -n "$ac_ct_NMEDIT"; then
   9387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9388 $as_echo "$ac_ct_NMEDIT" >&6; }
   9389 else
   9390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9391 $as_echo "no" >&6; }
   9392 fi
   9393 
   9394   if test "x$ac_ct_NMEDIT" = x; then
   9395     NMEDIT=":"
   9396   else
   9397     case $cross_compiling:$ac_tool_warned in
   9398 yes:)
   9399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9401 ac_tool_warned=yes ;;
   9402 esac
   9403     NMEDIT=$ac_ct_NMEDIT
   9404   fi
   9405 else
   9406   NMEDIT="$ac_cv_prog_NMEDIT"
   9407 fi
   9408 
   9409     if test -n "$ac_tool_prefix"; then
   9410   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9411 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9413 $as_echo_n "checking for $ac_word... " >&6; }
   9414 if ${ac_cv_prog_LIPO+:} false; then :
   9415   $as_echo_n "(cached) " >&6
   9416 else
   9417   if test -n "$LIPO"; then
   9418   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9419 else
   9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9421 for as_dir in $PATH
   9422 do
   9423   IFS=$as_save_IFS
   9424   test -z "$as_dir" && as_dir=.
   9425     for ac_exec_ext in '' $ac_executable_extensions; do
   9426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9427     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9429     break 2
   9430   fi
   9431 done
   9432   done
   9433 IFS=$as_save_IFS
   9434 
   9435 fi
   9436 fi
   9437 LIPO=$ac_cv_prog_LIPO
   9438 if test -n "$LIPO"; then
   9439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9440 $as_echo "$LIPO" >&6; }
   9441 else
   9442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9443 $as_echo "no" >&6; }
   9444 fi
   9445 
   9446 
   9447 fi
   9448 if test -z "$ac_cv_prog_LIPO"; then
   9449   ac_ct_LIPO=$LIPO
   9450   # Extract the first word of "lipo", so it can be a program name with args.
   9451 set dummy lipo; ac_word=$2
   9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9453 $as_echo_n "checking for $ac_word... " >&6; }
   9454 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   9455   $as_echo_n "(cached) " >&6
   9456 else
   9457   if test -n "$ac_ct_LIPO"; then
   9458   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9459 else
   9460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9461 for as_dir in $PATH
   9462 do
   9463   IFS=$as_save_IFS
   9464   test -z "$as_dir" && as_dir=.
   9465     for ac_exec_ext in '' $ac_executable_extensions; do
   9466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9467     ac_cv_prog_ac_ct_LIPO="lipo"
   9468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9469     break 2
   9470   fi
   9471 done
   9472   done
   9473 IFS=$as_save_IFS
   9474 
   9475 fi
   9476 fi
   9477 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9478 if test -n "$ac_ct_LIPO"; then
   9479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9480 $as_echo "$ac_ct_LIPO" >&6; }
   9481 else
   9482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9483 $as_echo "no" >&6; }
   9484 fi
   9485 
   9486   if test "x$ac_ct_LIPO" = x; then
   9487     LIPO=":"
   9488   else
   9489     case $cross_compiling:$ac_tool_warned in
   9490 yes:)
   9491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9493 ac_tool_warned=yes ;;
   9494 esac
   9495     LIPO=$ac_ct_LIPO
   9496   fi
   9497 else
   9498   LIPO="$ac_cv_prog_LIPO"
   9499 fi
   9500 
   9501     if test -n "$ac_tool_prefix"; then
   9502   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9503 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9505 $as_echo_n "checking for $ac_word... " >&6; }
   9506 if ${ac_cv_prog_OTOOL+:} false; then :
   9507   $as_echo_n "(cached) " >&6
   9508 else
   9509   if test -n "$OTOOL"; then
   9510   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9511 else
   9512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9513 for as_dir in $PATH
   9514 do
   9515   IFS=$as_save_IFS
   9516   test -z "$as_dir" && as_dir=.
   9517     for ac_exec_ext in '' $ac_executable_extensions; do
   9518   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9519     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9521     break 2
   9522   fi
   9523 done
   9524   done
   9525 IFS=$as_save_IFS
   9526 
   9527 fi
   9528 fi
   9529 OTOOL=$ac_cv_prog_OTOOL
   9530 if test -n "$OTOOL"; then
   9531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9532 $as_echo "$OTOOL" >&6; }
   9533 else
   9534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9535 $as_echo "no" >&6; }
   9536 fi
   9537 
   9538 
   9539 fi
   9540 if test -z "$ac_cv_prog_OTOOL"; then
   9541   ac_ct_OTOOL=$OTOOL
   9542   # Extract the first word of "otool", so it can be a program name with args.
   9543 set dummy otool; ac_word=$2
   9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9545 $as_echo_n "checking for $ac_word... " >&6; }
   9546 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   9547   $as_echo_n "(cached) " >&6
   9548 else
   9549   if test -n "$ac_ct_OTOOL"; then
   9550   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9551 else
   9552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9553 for as_dir in $PATH
   9554 do
   9555   IFS=$as_save_IFS
   9556   test -z "$as_dir" && as_dir=.
   9557     for ac_exec_ext in '' $ac_executable_extensions; do
   9558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9559     ac_cv_prog_ac_ct_OTOOL="otool"
   9560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9561     break 2
   9562   fi
   9563 done
   9564   done
   9565 IFS=$as_save_IFS
   9566 
   9567 fi
   9568 fi
   9569 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9570 if test -n "$ac_ct_OTOOL"; then
   9571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9572 $as_echo "$ac_ct_OTOOL" >&6; }
   9573 else
   9574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9575 $as_echo "no" >&6; }
   9576 fi
   9577 
   9578   if test "x$ac_ct_OTOOL" = x; then
   9579     OTOOL=":"
   9580   else
   9581     case $cross_compiling:$ac_tool_warned in
   9582 yes:)
   9583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9585 ac_tool_warned=yes ;;
   9586 esac
   9587     OTOOL=$ac_ct_OTOOL
   9588   fi
   9589 else
   9590   OTOOL="$ac_cv_prog_OTOOL"
   9591 fi
   9592 
   9593     if test -n "$ac_tool_prefix"; then
   9594   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9595 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9597 $as_echo_n "checking for $ac_word... " >&6; }
   9598 if ${ac_cv_prog_OTOOL64+:} false; then :
   9599   $as_echo_n "(cached) " >&6
   9600 else
   9601   if test -n "$OTOOL64"; then
   9602   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9603 else
   9604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9605 for as_dir in $PATH
   9606 do
   9607   IFS=$as_save_IFS
   9608   test -z "$as_dir" && as_dir=.
   9609     for ac_exec_ext in '' $ac_executable_extensions; do
   9610   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9611     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9612     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9613     break 2
   9614   fi
   9615 done
   9616   done
   9617 IFS=$as_save_IFS
   9618 
   9619 fi
   9620 fi
   9621 OTOOL64=$ac_cv_prog_OTOOL64
   9622 if test -n "$OTOOL64"; then
   9623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9624 $as_echo "$OTOOL64" >&6; }
   9625 else
   9626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9627 $as_echo "no" >&6; }
   9628 fi
   9629 
   9630 
   9631 fi
   9632 if test -z "$ac_cv_prog_OTOOL64"; then
   9633   ac_ct_OTOOL64=$OTOOL64
   9634   # Extract the first word of "otool64", so it can be a program name with args.
   9635 set dummy otool64; ac_word=$2
   9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9637 $as_echo_n "checking for $ac_word... " >&6; }
   9638 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   9639   $as_echo_n "(cached) " >&6
   9640 else
   9641   if test -n "$ac_ct_OTOOL64"; then
   9642   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9643 else
   9644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9645 for as_dir in $PATH
   9646 do
   9647   IFS=$as_save_IFS
   9648   test -z "$as_dir" && as_dir=.
   9649     for ac_exec_ext in '' $ac_executable_extensions; do
   9650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9651     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9653     break 2
   9654   fi
   9655 done
   9656   done
   9657 IFS=$as_save_IFS
   9658 
   9659 fi
   9660 fi
   9661 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9662 if test -n "$ac_ct_OTOOL64"; then
   9663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9664 $as_echo "$ac_ct_OTOOL64" >&6; }
   9665 else
   9666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9667 $as_echo "no" >&6; }
   9668 fi
   9669 
   9670   if test "x$ac_ct_OTOOL64" = x; then
   9671     OTOOL64=":"
   9672   else
   9673     case $cross_compiling:$ac_tool_warned in
   9674 yes:)
   9675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9677 ac_tool_warned=yes ;;
   9678 esac
   9679     OTOOL64=$ac_ct_OTOOL64
   9680   fi
   9681 else
   9682   OTOOL64="$ac_cv_prog_OTOOL64"
   9683 fi
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9712 $as_echo_n "checking for -single_module linker flag... " >&6; }
   9713 if ${lt_cv_apple_cc_single_mod+:} false; then :
   9714   $as_echo_n "(cached) " >&6
   9715 else
   9716   lt_cv_apple_cc_single_mod=no
   9717       if test -z "$LT_MULTI_MODULE"; then
   9718 	# By default we will add the -single_module flag. You can override
   9719 	# by either setting the environment variable LT_MULTI_MODULE
   9720 	# non-empty at configure time, or by adding -multi_module to the
   9721 	# link flags.
   9722 	rm -rf libconftest.dylib*
   9723 	echo "int foo(void){return 1;}" > conftest.c
   9724 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9725 -dynamiclib -Wl,-single_module conftest.c" >&5
   9726 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9727 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9728         _lt_result=$?
   9729 	# If there is a non-empty error log, and "single_module"
   9730 	# appears in it, assume the flag caused a linker warning
   9731         if test -s conftest.err && $GREP single_module conftest.err; then
   9732 	  cat conftest.err >&5
   9733 	# Otherwise, if the output was created with a 0 exit code from
   9734 	# the compiler, it worked.
   9735 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9736 	  lt_cv_apple_cc_single_mod=yes
   9737 	else
   9738 	  cat conftest.err >&5
   9739 	fi
   9740 	rm -rf libconftest.dylib*
   9741 	rm -f conftest.*
   9742       fi
   9743 fi
   9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9745 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9746 
   9747     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9748 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9749 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   9750   $as_echo_n "(cached) " >&6
   9751 else
   9752   lt_cv_ld_exported_symbols_list=no
   9753       save_LDFLAGS=$LDFLAGS
   9754       echo "_main" > conftest.sym
   9755       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9757 /* end confdefs.h.  */
   9758 
   9759 int
   9760 main ()
   9761 {
   9762 
   9763   ;
   9764   return 0;
   9765 }
   9766 _ACEOF
   9767 if ac_fn_c_try_link "$LINENO"; then :
   9768   lt_cv_ld_exported_symbols_list=yes
   9769 else
   9770   lt_cv_ld_exported_symbols_list=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext \
   9773     conftest$ac_exeext conftest.$ac_ext
   9774 	LDFLAGS=$save_LDFLAGS
   9775 
   9776 fi
   9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9778 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9779 
   9780     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9781 $as_echo_n "checking for -force_load linker flag... " >&6; }
   9782 if ${lt_cv_ld_force_load+:} false; then :
   9783   $as_echo_n "(cached) " >&6
   9784 else
   9785   lt_cv_ld_force_load=no
   9786       cat > conftest.c << _LT_EOF
   9787 int forced_loaded() { return 2;}
   9788 _LT_EOF
   9789       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9790       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9791       echo "$AR cru libconftest.a conftest.o" >&5
   9792       $AR cru libconftest.a conftest.o 2>&5
   9793       echo "$RANLIB libconftest.a" >&5
   9794       $RANLIB libconftest.a 2>&5
   9795       cat > conftest.c << _LT_EOF
   9796 int main() { return 0;}
   9797 _LT_EOF
   9798       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9799       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9800       _lt_result=$?
   9801       if test -s conftest.err && $GREP force_load conftest.err; then
   9802 	cat conftest.err >&5
   9803       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9804 	lt_cv_ld_force_load=yes
   9805       else
   9806 	cat conftest.err >&5
   9807       fi
   9808         rm -f conftest.err libconftest.a conftest conftest.c
   9809         rm -rf conftest.dSYM
   9810 
   9811 fi
   9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9813 $as_echo "$lt_cv_ld_force_load" >&6; }
   9814     case $host_os in
   9815     rhapsody* | darwin1.[012])
   9816       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9817     darwin1.*)
   9818       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9819     darwin*) # darwin 5.x on
   9820       # if running on 10.5 or later, the deployment target defaults
   9821       # to the OS version, if on x86, and 10.4, the deployment
   9822       # target defaults to 10.4. Don't you love it?
   9823       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9824 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9825 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9826 	10.[012][,.]*)
   9827 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9828 	10.*)
   9829 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9830       esac
   9831     ;;
   9832   esac
   9833     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9834       _lt_dar_single_mod='$single_module'
   9835     fi
   9836     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9837       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9838     else
   9839       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9840     fi
   9841     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9842       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9843     else
   9844       _lt_dsymutil=
   9845     fi
   9846     ;;
   9847   esac
   9848 
   9849 # func_munge_path_list VARIABLE PATH
   9850 # -----------------------------------
   9851 # VARIABLE is name of variable containing _space_ separated list of
   9852 # directories to be munged by the contents of PATH, which is string
   9853 # having a format:
   9854 # "DIR[:DIR]:"
   9855 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9856 # ":DIR[:DIR]"
   9857 #       string "DIR[ DIR]" will be appended to VARIABLE
   9858 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9859 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9860 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9861 # "DIR[:DIR]"
   9862 #       VARIABLE will be replaced by "DIR[ DIR]"
   9863 func_munge_path_list ()
   9864 {
   9865     case x$2 in
   9866     x)
   9867         ;;
   9868     *:)
   9869         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9870         ;;
   9871     x:*)
   9872         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9873         ;;
   9874     *::*)
   9875         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9876         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9877         ;;
   9878     *)
   9879         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9880         ;;
   9881     esac
   9882 }
   9883 
   9884 for ac_header in dlfcn.h
   9885 do :
   9886   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9887 "
   9888 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9889   cat >>confdefs.h <<_ACEOF
   9890 #define HAVE_DLFCN_H 1
   9891 _ACEOF
   9892 
   9893 fi
   9894 
   9895 done
   9896 
   9897 
   9898 
   9899 func_stripname_cnf ()
   9900 {
   9901   case $2 in
   9902   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   9903   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   9904   esac
   9905 } # func_stripname_cnf
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 # Set options
   9912 
   9913 
   9914 
   9915         enable_dlopen=no
   9916 
   9917 
   9918 
   9919             # Check whether --enable-shared was given.
   9920 if test "${enable_shared+set}" = set; then :
   9921   enableval=$enable_shared; p=${PACKAGE-default}
   9922     case $enableval in
   9923     yes) enable_shared=yes ;;
   9924     no) enable_shared=no ;;
   9925     *)
   9926       enable_shared=no
   9927       # Look at the argument we got.  We use all the common list separators.
   9928       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9929       for pkg in $enableval; do
   9930 	IFS=$lt_save_ifs
   9931 	if test "X$pkg" = "X$p"; then
   9932 	  enable_shared=yes
   9933 	fi
   9934       done
   9935       IFS=$lt_save_ifs
   9936       ;;
   9937     esac
   9938 else
   9939   enable_shared=yes
   9940 fi
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950   # Check whether --enable-static was given.
   9951 if test "${enable_static+set}" = set; then :
   9952   enableval=$enable_static; p=${PACKAGE-default}
   9953     case $enableval in
   9954     yes) enable_static=yes ;;
   9955     no) enable_static=no ;;
   9956     *)
   9957      enable_static=no
   9958       # Look at the argument we got.  We use all the common list separators.
   9959       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9960       for pkg in $enableval; do
   9961 	IFS=$lt_save_ifs
   9962 	if test "X$pkg" = "X$p"; then
   9963 	  enable_static=yes
   9964 	fi
   9965       done
   9966       IFS=$lt_save_ifs
   9967       ;;
   9968     esac
   9969 else
   9970   enable_static=yes
   9971 fi
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 # Check whether --with-pic was given.
   9983 if test "${with_pic+set}" = set; then :
   9984   withval=$with_pic; lt_p=${PACKAGE-default}
   9985     case $withval in
   9986     yes|no) pic_mode=$withval ;;
   9987     *)
   9988       pic_mode=default
   9989       # Look at the argument we got.  We use all the common list separators.
   9990       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9991       for lt_pkg in $withval; do
   9992 	IFS=$lt_save_ifs
   9993 	if test "X$lt_pkg" = "X$lt_p"; then
   9994 	  pic_mode=yes
   9995 	fi
   9996       done
   9997       IFS=$lt_save_ifs
   9998       ;;
   9999     esac
   10000 else
   10001   pic_mode=default
   10002 fi
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011   # Check whether --enable-fast-install was given.
   10012 if test "${enable_fast_install+set}" = set; then :
   10013   enableval=$enable_fast_install; p=${PACKAGE-default}
   10014     case $enableval in
   10015     yes) enable_fast_install=yes ;;
   10016     no) enable_fast_install=no ;;
   10017     *)
   10018       enable_fast_install=no
   10019       # Look at the argument we got.  We use all the common list separators.
   10020       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10021       for pkg in $enableval; do
   10022 	IFS=$lt_save_ifs
   10023 	if test "X$pkg" = "X$p"; then
   10024 	  enable_fast_install=yes
   10025 	fi
   10026       done
   10027       IFS=$lt_save_ifs
   10028       ;;
   10029     esac
   10030 else
   10031   enable_fast_install=yes
   10032 fi
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041   shared_archive_member_spec=
   10042 case $host,$enable_shared in
   10043 power*-*-aix[5-9]*,yes)
   10044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10045 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   10046 
   10047 # Check whether --with-aix-soname was given.
   10048 if test "${with_aix_soname+set}" = set; then :
   10049   withval=$with_aix_soname; case $withval in
   10050     aix|svr4|both)
   10051       ;;
   10052     *)
   10053       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   10054       ;;
   10055     esac
   10056     lt_cv_with_aix_soname=$with_aix_soname
   10057 else
   10058   if ${lt_cv_with_aix_soname+:} false; then :
   10059   $as_echo_n "(cached) " >&6
   10060 else
   10061   lt_cv_with_aix_soname=aix
   10062 fi
   10063 
   10064     with_aix_soname=$lt_cv_with_aix_soname
   10065 fi
   10066 
   10067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   10068 $as_echo "$with_aix_soname" >&6; }
   10069   if test aix != "$with_aix_soname"; then
   10070     # For the AIX way of multilib, we name the shared archive member
   10071     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   10072     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   10073     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   10074     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   10075     if test 64 = "${OBJECT_MODE-32}"; then
   10076       shared_archive_member_spec=shr_64
   10077     else
   10078       shared_archive_member_spec=shr
   10079     fi
   10080   fi
   10081   ;;
   10082 *)
   10083   with_aix_soname=aix
   10084   ;;
   10085 esac
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 # This can be used to rebuild libtool when needed
   10097 LIBTOOL_DEPS=$ltmain
   10098 
   10099 # Always use our own libtool.
   10100 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 test -z "$LN_S" && LN_S="ln -s"
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 if test -n "${ZSH_VERSION+set}"; then
   10147    setopt NO_GLOB_SUBST
   10148 fi
   10149 
   10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   10151 $as_echo_n "checking for objdir... " >&6; }
   10152 if ${lt_cv_objdir+:} false; then :
   10153   $as_echo_n "(cached) " >&6
   10154 else
   10155   rm -f .libs 2>/dev/null
   10156 mkdir .libs 2>/dev/null
   10157 if test -d .libs; then
   10158   lt_cv_objdir=.libs
   10159 else
   10160   # MS-DOS does not allow filenames that begin with a dot.
   10161   lt_cv_objdir=_libs
   10162 fi
   10163 rmdir .libs 2>/dev/null
   10164 fi
   10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   10166 $as_echo "$lt_cv_objdir" >&6; }
   10167 objdir=$lt_cv_objdir
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 cat >>confdefs.h <<_ACEOF
   10174 #define LT_OBJDIR "$lt_cv_objdir/"
   10175 _ACEOF
   10176 
   10177 
   10178 
   10179 
   10180 case $host_os in
   10181 aix3*)
   10182   # AIX sometimes has problems with the GCC collect2 program.  For some
   10183   # reason, if we set the COLLECT_NAMES environment variable, the problems
   10184   # vanish in a puff of smoke.
   10185   if test set != "${COLLECT_NAMES+set}"; then
   10186     COLLECT_NAMES=
   10187     export COLLECT_NAMES
   10188   fi
   10189   ;;
   10190 esac
   10191 
   10192 # Global variables:
   10193 ofile=libtool
   10194 can_build_shared=yes
   10195 
   10196 # All known linkers require a '.a' archive for static linking (except MSVC,
   10197 # which needs '.lib').
   10198 libext=a
   10199 
   10200 with_gnu_ld=$lt_cv_prog_gnu_ld
   10201 
   10202 old_CC=$CC
   10203 old_CFLAGS=$CFLAGS
   10204 
   10205 # Set sane defaults for various variables
   10206 test -z "$CC" && CC=cc
   10207 test -z "$LTCC" && LTCC=$CC
   10208 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   10209 test -z "$LD" && LD=ld
   10210 test -z "$ac_objext" && ac_objext=o
   10211 
   10212 func_cc_basename $compiler
   10213 cc_basename=$func_cc_basename_result
   10214 
   10215 
   10216 # Only perform the check for file, if the check method requires it
   10217 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10218 case $deplibs_check_method in
   10219 file_magic*)
   10220   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   10221     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   10222 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   10223 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   case $MAGIC_CMD in
   10227 [\\/*] |  ?:[\\/]*)
   10228   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10229   ;;
   10230 *)
   10231   lt_save_MAGIC_CMD=$MAGIC_CMD
   10232   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10233   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10234   for ac_dir in $ac_dummy; do
   10235     IFS=$lt_save_ifs
   10236     test -z "$ac_dir" && ac_dir=.
   10237     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   10238       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   10239       if test -n "$file_magic_test_file"; then
   10240 	case $deplibs_check_method in
   10241 	"file_magic "*)
   10242 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10243 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10244 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10245 	    $EGREP "$file_magic_regex" > /dev/null; then
   10246 	    :
   10247 	  else
   10248 	    cat <<_LT_EOF 1>&2
   10249 
   10250 *** Warning: the command libtool uses to detect shared libraries,
   10251 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10252 *** The result is that libtool may fail to recognize shared libraries
   10253 *** as such.  This will affect the creation of libtool libraries that
   10254 *** depend on shared libraries, but programs linked with such libtool
   10255 *** libraries will work regardless of this problem.  Nevertheless, you
   10256 *** may want to report the problem to your system manager and/or to
   10257 *** bug-libtool (at] gnu.org
   10258 
   10259 _LT_EOF
   10260 	  fi ;;
   10261 	esac
   10262       fi
   10263       break
   10264     fi
   10265   done
   10266   IFS=$lt_save_ifs
   10267   MAGIC_CMD=$lt_save_MAGIC_CMD
   10268   ;;
   10269 esac
   10270 fi
   10271 
   10272 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10273 if test -n "$MAGIC_CMD"; then
   10274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10275 $as_echo "$MAGIC_CMD" >&6; }
   10276 else
   10277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10278 $as_echo "no" >&6; }
   10279 fi
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10286   if test -n "$ac_tool_prefix"; then
   10287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10288 $as_echo_n "checking for file... " >&6; }
   10289 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   10290   $as_echo_n "(cached) " >&6
   10291 else
   10292   case $MAGIC_CMD in
   10293 [\\/*] |  ?:[\\/]*)
   10294   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10295   ;;
   10296 *)
   10297   lt_save_MAGIC_CMD=$MAGIC_CMD
   10298   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10299   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10300   for ac_dir in $ac_dummy; do
   10301     IFS=$lt_save_ifs
   10302     test -z "$ac_dir" && ac_dir=.
   10303     if test -f "$ac_dir/file"; then
   10304       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   10305       if test -n "$file_magic_test_file"; then
   10306 	case $deplibs_check_method in
   10307 	"file_magic "*)
   10308 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10309 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10310 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10311 	    $EGREP "$file_magic_regex" > /dev/null; then
   10312 	    :
   10313 	  else
   10314 	    cat <<_LT_EOF 1>&2
   10315 
   10316 *** Warning: the command libtool uses to detect shared libraries,
   10317 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10318 *** The result is that libtool may fail to recognize shared libraries
   10319 *** as such.  This will affect the creation of libtool libraries that
   10320 *** depend on shared libraries, but programs linked with such libtool
   10321 *** libraries will work regardless of this problem.  Nevertheless, you
   10322 *** may want to report the problem to your system manager and/or to
   10323 *** bug-libtool (at] gnu.org
   10324 
   10325 _LT_EOF
   10326 	  fi ;;
   10327 	esac
   10328       fi
   10329       break
   10330     fi
   10331   done
   10332   IFS=$lt_save_ifs
   10333   MAGIC_CMD=$lt_save_MAGIC_CMD
   10334   ;;
   10335 esac
   10336 fi
   10337 
   10338 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10339 if test -n "$MAGIC_CMD"; then
   10340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10341 $as_echo "$MAGIC_CMD" >&6; }
   10342 else
   10343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10344 $as_echo "no" >&6; }
   10345 fi
   10346 
   10347 
   10348   else
   10349     MAGIC_CMD=:
   10350   fi
   10351 fi
   10352 
   10353   fi
   10354   ;;
   10355 esac
   10356 
   10357 # Use C for the default configuration in the libtool script
   10358 
   10359 lt_save_CC=$CC
   10360 ac_ext=c
   10361 ac_cpp='$CPP $CPPFLAGS'
   10362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10365 
   10366 
   10367 # Source file extension for C test sources.
   10368 ac_ext=c
   10369 
   10370 # Object file extension for compiled C test sources.
   10371 objext=o
   10372 objext=$objext
   10373 
   10374 # Code to be used in simple compile tests
   10375 lt_simple_compile_test_code="int some_variable = 0;"
   10376 
   10377 # Code to be used in simple link tests
   10378 lt_simple_link_test_code='int main(){return(0);}'
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 # If no C compiler was specified, use CC.
   10387 LTCC=${LTCC-"$CC"}
   10388 
   10389 # If no C compiler flags were specified, use CFLAGS.
   10390 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10391 
   10392 # Allow CC to be a program name with arguments.
   10393 compiler=$CC
   10394 
   10395 # Save the default compiler, since it gets overwritten when the other
   10396 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10397 compiler_DEFAULT=$CC
   10398 
   10399 # save warnings/boilerplate of simple test code
   10400 ac_outfile=conftest.$ac_objext
   10401 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10402 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10403 _lt_compiler_boilerplate=`cat conftest.err`
   10404 $RM conftest*
   10405 
   10406 ac_outfile=conftest.$ac_objext
   10407 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10408 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10409 _lt_linker_boilerplate=`cat conftest.err`
   10410 $RM -r conftest*
   10411 
   10412 
   10413 ## CAVEAT EMPTOR:
   10414 ## There is no encapsulation within the following macros, do not change
   10415 ## the running order or otherwise move them around unless you know exactly
   10416 ## what you are doing...
   10417 if test -n "$compiler"; then
   10418 
   10419 lt_prog_compiler_no_builtin_flag=
   10420 
   10421 if test yes = "$GCC"; then
   10422   case $cc_basename in
   10423   nvcc*)
   10424     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10425   *)
   10426     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10427   esac
   10428 
   10429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10430 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10431 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   10432   $as_echo_n "(cached) " >&6
   10433 else
   10434   lt_cv_prog_compiler_rtti_exceptions=no
   10435    ac_outfile=conftest.$ac_objext
   10436    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10437    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   10438    # Insert the option either (1) after the last *FLAGS variable, or
   10439    # (2) before a word containing "conftest.", or (3) at the end.
   10440    # Note that $ac_compile itself does not contain backslashes and begins
   10441    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10442    # The option is referenced via a variable to avoid confusing sed.
   10443    lt_compile=`echo "$ac_compile" | $SED \
   10444    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10445    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10446    -e 's:$: $lt_compiler_flag:'`
   10447    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10448    (eval "$lt_compile" 2>conftest.err)
   10449    ac_status=$?
   10450    cat conftest.err >&5
   10451    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10452    if (exit $ac_status) && test -s "$ac_outfile"; then
   10453      # The compiler can only warn and ignore the option if not recognized
   10454      # So say no if there are warnings other than the usual output.
   10455      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10456      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10457      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10458        lt_cv_prog_compiler_rtti_exceptions=yes
   10459      fi
   10460    fi
   10461    $RM conftest*
   10462 
   10463 fi
   10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10465 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10466 
   10467 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   10468     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10469 else
   10470     :
   10471 fi
   10472 
   10473 fi
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480   lt_prog_compiler_wl=
   10481 lt_prog_compiler_pic=
   10482 lt_prog_compiler_static=
   10483 
   10484 
   10485   if test yes = "$GCC"; then
   10486     lt_prog_compiler_wl='-Wl,'
   10487     lt_prog_compiler_static='-static'
   10488 
   10489     case $host_os in
   10490       aix*)
   10491       # All AIX code is PIC.
   10492       if test ia64 = "$host_cpu"; then
   10493 	# AIX 5 now supports IA64 processor
   10494 	lt_prog_compiler_static='-Bstatic'
   10495       fi
   10496       lt_prog_compiler_pic='-fPIC'
   10497       ;;
   10498 
   10499     amigaos*)
   10500       case $host_cpu in
   10501       powerpc)
   10502             # see comment about AmigaOS4 .so support
   10503             lt_prog_compiler_pic='-fPIC'
   10504         ;;
   10505       m68k)
   10506             # FIXME: we need at least 68020 code to build shared libraries, but
   10507             # adding the '-m68020' flag to GCC prevents building anything better,
   10508             # like '-m68040'.
   10509             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10510         ;;
   10511       esac
   10512       ;;
   10513 
   10514     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10515       # PIC is the default for these OSes.
   10516       ;;
   10517 
   10518     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10519       # This hack is so that the source file can tell whether it is being
   10520       # built for inclusion in a dll (and should export symbols for example).
   10521       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10522       # (--disable-auto-import) libraries
   10523       lt_prog_compiler_pic='-DDLL_EXPORT'
   10524       case $host_os in
   10525       os2*)
   10526 	lt_prog_compiler_static='$wl-static'
   10527 	;;
   10528       esac
   10529       ;;
   10530 
   10531     darwin* | rhapsody*)
   10532       # PIC is the default on this platform
   10533       # Common symbols not allowed in MH_DYLIB files
   10534       lt_prog_compiler_pic='-fno-common'
   10535       ;;
   10536 
   10537     haiku*)
   10538       # PIC is the default for Haiku.
   10539       # The "-static" flag exists, but is broken.
   10540       lt_prog_compiler_static=
   10541       ;;
   10542 
   10543     hpux*)
   10544       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10545       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10546       # sets the default TLS model and affects inlining.
   10547       case $host_cpu in
   10548       hppa*64*)
   10549 	# +Z the default
   10550 	;;
   10551       *)
   10552 	lt_prog_compiler_pic='-fPIC'
   10553 	;;
   10554       esac
   10555       ;;
   10556 
   10557     interix[3-9]*)
   10558       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10559       # Instead, we relocate shared libraries at runtime.
   10560       ;;
   10561 
   10562     msdosdjgpp*)
   10563       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10564       # on systems that don't support them.
   10565       lt_prog_compiler_can_build_shared=no
   10566       enable_shared=no
   10567       ;;
   10568 
   10569     *nto* | *qnx*)
   10570       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10571       # it will coredump.
   10572       lt_prog_compiler_pic='-fPIC -shared'
   10573       ;;
   10574 
   10575     sysv4*MP*)
   10576       if test -d /usr/nec; then
   10577 	lt_prog_compiler_pic=-Kconform_pic
   10578       fi
   10579       ;;
   10580 
   10581     *)
   10582       lt_prog_compiler_pic='-fPIC'
   10583       ;;
   10584     esac
   10585 
   10586     case $cc_basename in
   10587     nvcc*) # Cuda Compiler Driver 2.2
   10588       lt_prog_compiler_wl='-Xlinker '
   10589       if test -n "$lt_prog_compiler_pic"; then
   10590         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10591       fi
   10592       ;;
   10593     esac
   10594   else
   10595     # PORTME Check for flag to pass linker flags through the system compiler.
   10596     case $host_os in
   10597     aix*)
   10598       lt_prog_compiler_wl='-Wl,'
   10599       if test ia64 = "$host_cpu"; then
   10600 	# AIX 5 now supports IA64 processor
   10601 	lt_prog_compiler_static='-Bstatic'
   10602       else
   10603 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10604       fi
   10605       ;;
   10606 
   10607     darwin* | rhapsody*)
   10608       # PIC is the default on this platform
   10609       # Common symbols not allowed in MH_DYLIB files
   10610       lt_prog_compiler_pic='-fno-common'
   10611       case $cc_basename in
   10612       nagfor*)
   10613         # NAG Fortran compiler
   10614         lt_prog_compiler_wl='-Wl,-Wl,,'
   10615         lt_prog_compiler_pic='-PIC'
   10616         lt_prog_compiler_static='-Bstatic'
   10617         ;;
   10618       esac
   10619       ;;
   10620 
   10621     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10622       # This hack is so that the source file can tell whether it is being
   10623       # built for inclusion in a dll (and should export symbols for example).
   10624       lt_prog_compiler_pic='-DDLL_EXPORT'
   10625       case $host_os in
   10626       os2*)
   10627 	lt_prog_compiler_static='$wl-static'
   10628 	;;
   10629       esac
   10630       ;;
   10631 
   10632     hpux9* | hpux10* | hpux11*)
   10633       lt_prog_compiler_wl='-Wl,'
   10634       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10635       # not for PA HP-UX.
   10636       case $host_cpu in
   10637       hppa*64*|ia64*)
   10638 	# +Z the default
   10639 	;;
   10640       *)
   10641 	lt_prog_compiler_pic='+Z'
   10642 	;;
   10643       esac
   10644       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10645       lt_prog_compiler_static='$wl-a ${wl}archive'
   10646       ;;
   10647 
   10648     irix5* | irix6* | nonstopux*)
   10649       lt_prog_compiler_wl='-Wl,'
   10650       # PIC (with -KPIC) is the default.
   10651       lt_prog_compiler_static='-non_shared'
   10652       ;;
   10653 
   10654     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10655       case $cc_basename in
   10656       # old Intel for x86_64, which still supported -KPIC.
   10657       ecc*)
   10658 	lt_prog_compiler_wl='-Wl,'
   10659 	lt_prog_compiler_pic='-KPIC'
   10660 	lt_prog_compiler_static='-static'
   10661         ;;
   10662       # icc used to be incompatible with GCC.
   10663       # ICC 10 doesn't accept -KPIC any more.
   10664       icc* | ifort*)
   10665 	lt_prog_compiler_wl='-Wl,'
   10666 	lt_prog_compiler_pic='-fPIC'
   10667 	lt_prog_compiler_static='-static'
   10668         ;;
   10669       # Lahey Fortran 8.1.
   10670       lf95*)
   10671 	lt_prog_compiler_wl='-Wl,'
   10672 	lt_prog_compiler_pic='--shared'
   10673 	lt_prog_compiler_static='--static'
   10674 	;;
   10675       nagfor*)
   10676 	# NAG Fortran compiler
   10677 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10678 	lt_prog_compiler_pic='-PIC'
   10679 	lt_prog_compiler_static='-Bstatic'
   10680 	;;
   10681       tcc*)
   10682 	# Fabrice Bellard et al's Tiny C Compiler
   10683 	lt_prog_compiler_wl='-Wl,'
   10684 	lt_prog_compiler_pic='-fPIC'
   10685 	lt_prog_compiler_static='-static'
   10686 	;;
   10687       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10688         # Portland Group compilers (*not* the Pentium gcc compiler,
   10689 	# which looks to be a dead project)
   10690 	lt_prog_compiler_wl='-Wl,'
   10691 	lt_prog_compiler_pic='-fpic'
   10692 	lt_prog_compiler_static='-Bstatic'
   10693         ;;
   10694       ccc*)
   10695         lt_prog_compiler_wl='-Wl,'
   10696         # All Alpha code is PIC.
   10697         lt_prog_compiler_static='-non_shared'
   10698         ;;
   10699       xl* | bgxl* | bgf* | mpixl*)
   10700 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10701 	lt_prog_compiler_wl='-Wl,'
   10702 	lt_prog_compiler_pic='-qpic'
   10703 	lt_prog_compiler_static='-qstaticlink'
   10704 	;;
   10705       *)
   10706 	case `$CC -V 2>&1 | sed 5q` in
   10707 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10708 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10709 	  lt_prog_compiler_pic='-KPIC'
   10710 	  lt_prog_compiler_static='-Bstatic'
   10711 	  lt_prog_compiler_wl=''
   10712 	  ;;
   10713 	*Sun\ F* | *Sun*Fortran*)
   10714 	  lt_prog_compiler_pic='-KPIC'
   10715 	  lt_prog_compiler_static='-Bstatic'
   10716 	  lt_prog_compiler_wl='-Qoption ld '
   10717 	  ;;
   10718 	*Sun\ C*)
   10719 	  # Sun C 5.9
   10720 	  lt_prog_compiler_pic='-KPIC'
   10721 	  lt_prog_compiler_static='-Bstatic'
   10722 	  lt_prog_compiler_wl='-Wl,'
   10723 	  ;;
   10724         *Intel*\ [CF]*Compiler*)
   10725 	  lt_prog_compiler_wl='-Wl,'
   10726 	  lt_prog_compiler_pic='-fPIC'
   10727 	  lt_prog_compiler_static='-static'
   10728 	  ;;
   10729 	*Portland\ Group*)
   10730 	  lt_prog_compiler_wl='-Wl,'
   10731 	  lt_prog_compiler_pic='-fpic'
   10732 	  lt_prog_compiler_static='-Bstatic'
   10733 	  ;;
   10734 	esac
   10735 	;;
   10736       esac
   10737       ;;
   10738 
   10739     newsos6)
   10740       lt_prog_compiler_pic='-KPIC'
   10741       lt_prog_compiler_static='-Bstatic'
   10742       ;;
   10743 
   10744     *nto* | *qnx*)
   10745       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10746       # it will coredump.
   10747       lt_prog_compiler_pic='-fPIC -shared'
   10748       ;;
   10749 
   10750     osf3* | osf4* | osf5*)
   10751       lt_prog_compiler_wl='-Wl,'
   10752       # All OSF/1 code is PIC.
   10753       lt_prog_compiler_static='-non_shared'
   10754       ;;
   10755 
   10756     rdos*)
   10757       lt_prog_compiler_static='-non_shared'
   10758       ;;
   10759 
   10760     solaris*)
   10761       lt_prog_compiler_pic='-KPIC'
   10762       lt_prog_compiler_static='-Bstatic'
   10763       case $cc_basename in
   10764       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10765 	lt_prog_compiler_wl='-Qoption ld ';;
   10766       *)
   10767 	lt_prog_compiler_wl='-Wl,';;
   10768       esac
   10769       ;;
   10770 
   10771     sunos4*)
   10772       lt_prog_compiler_wl='-Qoption ld '
   10773       lt_prog_compiler_pic='-PIC'
   10774       lt_prog_compiler_static='-Bstatic'
   10775       ;;
   10776 
   10777     sysv4 | sysv4.2uw2* | sysv4.3*)
   10778       lt_prog_compiler_wl='-Wl,'
   10779       lt_prog_compiler_pic='-KPIC'
   10780       lt_prog_compiler_static='-Bstatic'
   10781       ;;
   10782 
   10783     sysv4*MP*)
   10784       if test -d /usr/nec; then
   10785 	lt_prog_compiler_pic='-Kconform_pic'
   10786 	lt_prog_compiler_static='-Bstatic'
   10787       fi
   10788       ;;
   10789 
   10790     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10791       lt_prog_compiler_wl='-Wl,'
   10792       lt_prog_compiler_pic='-KPIC'
   10793       lt_prog_compiler_static='-Bstatic'
   10794       ;;
   10795 
   10796     unicos*)
   10797       lt_prog_compiler_wl='-Wl,'
   10798       lt_prog_compiler_can_build_shared=no
   10799       ;;
   10800 
   10801     uts4*)
   10802       lt_prog_compiler_pic='-pic'
   10803       lt_prog_compiler_static='-Bstatic'
   10804       ;;
   10805 
   10806     *)
   10807       lt_prog_compiler_can_build_shared=no
   10808       ;;
   10809     esac
   10810   fi
   10811 
   10812 case $host_os in
   10813   # For platforms that do not support PIC, -DPIC is meaningless:
   10814   *djgpp*)
   10815     lt_prog_compiler_pic=
   10816     ;;
   10817   *)
   10818     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10819     ;;
   10820 esac
   10821 
   10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10823 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   10824 if ${lt_cv_prog_compiler_pic+:} false; then :
   10825   $as_echo_n "(cached) " >&6
   10826 else
   10827   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   10828 fi
   10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10830 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   10831 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10832 
   10833 #
   10834 # Check to make sure the PIC flag actually works.
   10835 #
   10836 if test -n "$lt_prog_compiler_pic"; then
   10837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10838 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10839 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   10840   $as_echo_n "(cached) " >&6
   10841 else
   10842   lt_cv_prog_compiler_pic_works=no
   10843    ac_outfile=conftest.$ac_objext
   10844    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10845    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10846    # Insert the option either (1) after the last *FLAGS variable, or
   10847    # (2) before a word containing "conftest.", or (3) at the end.
   10848    # Note that $ac_compile itself does not contain backslashes and begins
   10849    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10850    # The option is referenced via a variable to avoid confusing sed.
   10851    lt_compile=`echo "$ac_compile" | $SED \
   10852    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10853    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10854    -e 's:$: $lt_compiler_flag:'`
   10855    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10856    (eval "$lt_compile" 2>conftest.err)
   10857    ac_status=$?
   10858    cat conftest.err >&5
   10859    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10860    if (exit $ac_status) && test -s "$ac_outfile"; then
   10861      # The compiler can only warn and ignore the option if not recognized
   10862      # So say no if there are warnings other than the usual output.
   10863      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10864      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10865      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10866        lt_cv_prog_compiler_pic_works=yes
   10867      fi
   10868    fi
   10869    $RM conftest*
   10870 
   10871 fi
   10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10873 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   10874 
   10875 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10876     case $lt_prog_compiler_pic in
   10877      "" | " "*) ;;
   10878      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10879      esac
   10880 else
   10881     lt_prog_compiler_pic=
   10882      lt_prog_compiler_can_build_shared=no
   10883 fi
   10884 
   10885 fi
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 #
   10898 # Check to make sure the static flag actually works.
   10899 #
   10900 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10902 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10903 if ${lt_cv_prog_compiler_static_works+:} false; then :
   10904   $as_echo_n "(cached) " >&6
   10905 else
   10906   lt_cv_prog_compiler_static_works=no
   10907    save_LDFLAGS=$LDFLAGS
   10908    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10909    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10910    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10911      # The linker can only warn and ignore the option if not recognized
   10912      # So say no if there are warnings
   10913      if test -s conftest.err; then
   10914        # Append any errors to the config.log.
   10915        cat conftest.err 1>&5
   10916        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10917        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10918        if diff conftest.exp conftest.er2 >/dev/null; then
   10919          lt_cv_prog_compiler_static_works=yes
   10920        fi
   10921      else
   10922        lt_cv_prog_compiler_static_works=yes
   10923      fi
   10924    fi
   10925    $RM -r conftest*
   10926    LDFLAGS=$save_LDFLAGS
   10927 
   10928 fi
   10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10930 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10931 
   10932 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10933     :
   10934 else
   10935     lt_prog_compiler_static=
   10936 fi
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10945 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10946 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10947   $as_echo_n "(cached) " >&6
   10948 else
   10949   lt_cv_prog_compiler_c_o=no
   10950    $RM -r conftest 2>/dev/null
   10951    mkdir conftest
   10952    cd conftest
   10953    mkdir out
   10954    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10955 
   10956    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10957    # Insert the option either (1) after the last *FLAGS variable, or
   10958    # (2) before a word containing "conftest.", or (3) at the end.
   10959    # Note that $ac_compile itself does not contain backslashes and begins
   10960    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10961    lt_compile=`echo "$ac_compile" | $SED \
   10962    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10963    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10964    -e 's:$: $lt_compiler_flag:'`
   10965    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10966    (eval "$lt_compile" 2>out/conftest.err)
   10967    ac_status=$?
   10968    cat out/conftest.err >&5
   10969    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10970    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10971    then
   10972      # The compiler can only warn and ignore the option if not recognized
   10973      # So say no if there are warnings
   10974      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10975      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10976      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10977        lt_cv_prog_compiler_c_o=yes
   10978      fi
   10979    fi
   10980    chmod u+w . 2>&5
   10981    $RM conftest*
   10982    # SGI C++ compiler will create directory out/ii_files/ for
   10983    # template instantiation
   10984    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10985    $RM out/* && rmdir out
   10986    cd ..
   10987    $RM -r conftest
   10988    $RM conftest*
   10989 
   10990 fi
   10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10992 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11000 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11001 if ${lt_cv_prog_compiler_c_o+:} false; then :
   11002   $as_echo_n "(cached) " >&6
   11003 else
   11004   lt_cv_prog_compiler_c_o=no
   11005    $RM -r conftest 2>/dev/null
   11006    mkdir conftest
   11007    cd conftest
   11008    mkdir out
   11009    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11010 
   11011    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11012    # Insert the option either (1) after the last *FLAGS variable, or
   11013    # (2) before a word containing "conftest.", or (3) at the end.
   11014    # Note that $ac_compile itself does not contain backslashes and begins
   11015    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11016    lt_compile=`echo "$ac_compile" | $SED \
   11017    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11018    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11019    -e 's:$: $lt_compiler_flag:'`
   11020    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11021    (eval "$lt_compile" 2>out/conftest.err)
   11022    ac_status=$?
   11023    cat out/conftest.err >&5
   11024    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11025    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11026    then
   11027      # The compiler can only warn and ignore the option if not recognized
   11028      # So say no if there are warnings
   11029      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11030      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11031      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11032        lt_cv_prog_compiler_c_o=yes
   11033      fi
   11034    fi
   11035    chmod u+w . 2>&5
   11036    $RM conftest*
   11037    # SGI C++ compiler will create directory out/ii_files/ for
   11038    # template instantiation
   11039    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11040    $RM out/* && rmdir out
   11041    cd ..
   11042    $RM -r conftest
   11043    $RM conftest*
   11044 
   11045 fi
   11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11047 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   11048 
   11049 
   11050 
   11051 
   11052 hard_links=nottested
   11053 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   11054   # do not overwrite the value of need_locks provided by the user
   11055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   11056 $as_echo_n "checking if we can lock with hard links... " >&6; }
   11057   hard_links=yes
   11058   $RM conftest*
   11059   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11060   touch conftest.a
   11061   ln conftest.a conftest.b 2>&5 || hard_links=no
   11062   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   11064 $as_echo "$hard_links" >&6; }
   11065   if test no = "$hard_links"; then
   11066     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   11067 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   11068     need_locks=warn
   11069   fi
   11070 else
   11071   need_locks=no
   11072 fi
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11080 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11081 
   11082   runpath_var=
   11083   allow_undefined_flag=
   11084   always_export_symbols=no
   11085   archive_cmds=
   11086   archive_expsym_cmds=
   11087   compiler_needs_object=no
   11088   enable_shared_with_static_runtimes=no
   11089   export_dynamic_flag_spec=
   11090   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11091   hardcode_automatic=no
   11092   hardcode_direct=no
   11093   hardcode_direct_absolute=no
   11094   hardcode_libdir_flag_spec=
   11095   hardcode_libdir_separator=
   11096   hardcode_minus_L=no
   11097   hardcode_shlibpath_var=unsupported
   11098   inherit_rpath=no
   11099   link_all_deplibs=unknown
   11100   module_cmds=
   11101   module_expsym_cmds=
   11102   old_archive_from_new_cmds=
   11103   old_archive_from_expsyms_cmds=
   11104   thread_safe_flag_spec=
   11105   whole_archive_flag_spec=
   11106   # include_expsyms should be a list of space-separated symbols to be *always*
   11107   # included in the symbol list
   11108   include_expsyms=
   11109   # exclude_expsyms can be an extended regexp of symbols to exclude
   11110   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   11111   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   11112   # as well as any symbol that contains 'd'.
   11113   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   11114   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   11115   # platforms (ab)use it in PIC code, but their linkers get confused if
   11116   # the symbol is explicitly referenced.  Since portable code cannot
   11117   # rely on this symbol name, it's probably fine to never include it in
   11118   # preloaded symbol tables.
   11119   # Exclude shared library initialization/finalization symbols.
   11120   extract_expsyms_cmds=
   11121 
   11122   case $host_os in
   11123   cygwin* | mingw* | pw32* | cegcc*)
   11124     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   11125     # When not using gcc, we currently assume that we are using
   11126     # Microsoft Visual C++.
   11127     if test yes != "$GCC"; then
   11128       with_gnu_ld=no
   11129     fi
   11130     ;;
   11131   interix*)
   11132     # we just hope/assume this is gcc and not c89 (= MSVC++)
   11133     with_gnu_ld=yes
   11134     ;;
   11135   openbsd* | bitrig*)
   11136     with_gnu_ld=no
   11137     ;;
   11138   esac
   11139 
   11140   ld_shlibs=yes
   11141 
   11142   # On some targets, GNU ld is compatible enough with the native linker
   11143   # that we're better off using the native interface for both.
   11144   lt_use_gnu_ld_interface=no
   11145   if test yes = "$with_gnu_ld"; then
   11146     case $host_os in
   11147       aix*)
   11148 	# The AIX port of GNU ld has always aspired to compatibility
   11149 	# with the native linker.  However, as the warning in the GNU ld
   11150 	# block says, versions before 2.19.5* couldn't really create working
   11151 	# shared libraries, regardless of the interface used.
   11152 	case `$LD -v 2>&1` in
   11153 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   11154 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   11155 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   11156 	  *)
   11157 	    lt_use_gnu_ld_interface=yes
   11158 	    ;;
   11159 	esac
   11160 	;;
   11161       *)
   11162 	lt_use_gnu_ld_interface=yes
   11163 	;;
   11164     esac
   11165   fi
   11166 
   11167   if test yes = "$lt_use_gnu_ld_interface"; then
   11168     # If archive_cmds runs LD, not CC, wlarc should be empty
   11169     wlarc='$wl'
   11170 
   11171     # Set some defaults for GNU ld with shared library support. These
   11172     # are reset later if shared libraries are not supported. Putting them
   11173     # here allows them to be overridden if necessary.
   11174     runpath_var=LD_RUN_PATH
   11175     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11176     export_dynamic_flag_spec='$wl--export-dynamic'
   11177     # ancient GNU ld didn't support --whole-archive et. al.
   11178     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   11179       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   11180     else
   11181       whole_archive_flag_spec=
   11182     fi
   11183     supports_anon_versioning=no
   11184     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   11185       *GNU\ gold*) supports_anon_versioning=yes ;;
   11186       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   11187       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   11188       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   11189       *\ 2.11.*) ;; # other 2.11 versions
   11190       *) supports_anon_versioning=yes ;;
   11191     esac
   11192 
   11193     # See if GNU ld supports shared libraries.
   11194     case $host_os in
   11195     aix[3-9]*)
   11196       # On AIX/PPC, the GNU linker is very broken
   11197       if test ia64 != "$host_cpu"; then
   11198 	ld_shlibs=no
   11199 	cat <<_LT_EOF 1>&2
   11200 
   11201 *** Warning: the GNU linker, at least up to release 2.19, is reported
   11202 *** to be unable to reliably create shared libraries on AIX.
   11203 *** Therefore, libtool is disabling shared libraries support.  If you
   11204 *** really care for shared libraries, you may want to install binutils
   11205 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   11206 *** You will then need to restart the configuration process.
   11207 
   11208 _LT_EOF
   11209       fi
   11210       ;;
   11211 
   11212     amigaos*)
   11213       case $host_cpu in
   11214       powerpc)
   11215             # see comment about AmigaOS4 .so support
   11216             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11217             archive_expsym_cmds=''
   11218         ;;
   11219       m68k)
   11220             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)'
   11221             hardcode_libdir_flag_spec='-L$libdir'
   11222             hardcode_minus_L=yes
   11223         ;;
   11224       esac
   11225       ;;
   11226 
   11227     beos*)
   11228       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11229 	allow_undefined_flag=unsupported
   11230 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11231 	# support --undefined.  This deserves some investigation.  FIXME
   11232 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11233       else
   11234 	ld_shlibs=no
   11235       fi
   11236       ;;
   11237 
   11238     cygwin* | mingw* | pw32* | cegcc*)
   11239       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   11240       # as there is no search path for DLLs.
   11241       hardcode_libdir_flag_spec='-L$libdir'
   11242       export_dynamic_flag_spec='$wl--export-all-symbols'
   11243       allow_undefined_flag=unsupported
   11244       always_export_symbols=no
   11245       enable_shared_with_static_runtimes=yes
   11246       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   11247       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   11248 
   11249       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11250         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11251 	# If the export-symbols file already is a .def file, use it as
   11252 	# is; otherwise, prepend EXPORTS...
   11253 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11254           cp $export_symbols $output_objdir/$soname.def;
   11255         else
   11256           echo EXPORTS > $output_objdir/$soname.def;
   11257           cat $export_symbols >> $output_objdir/$soname.def;
   11258         fi~
   11259         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11260       else
   11261 	ld_shlibs=no
   11262       fi
   11263       ;;
   11264 
   11265     haiku*)
   11266       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11267       link_all_deplibs=yes
   11268       ;;
   11269 
   11270     os2*)
   11271       hardcode_libdir_flag_spec='-L$libdir'
   11272       hardcode_minus_L=yes
   11273       allow_undefined_flag=unsupported
   11274       shrext_cmds=.dll
   11275       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11276 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11277 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11278 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11279 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11280 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11281 	emximp -o $lib $output_objdir/$libname.def'
   11282       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11283 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11284 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11285 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11286 	prefix_cmds="$SED"~
   11287 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11288 	  prefix_cmds="$prefix_cmds -e 1d";
   11289 	fi~
   11290 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11291 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11292 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11293 	emximp -o $lib $output_objdir/$libname.def'
   11294       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11295       enable_shared_with_static_runtimes=yes
   11296       ;;
   11297 
   11298     interix[3-9]*)
   11299       hardcode_direct=no
   11300       hardcode_shlibpath_var=no
   11301       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11302       export_dynamic_flag_spec='$wl-E'
   11303       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11304       # Instead, shared libraries are loaded at an image base (0x10000000 by
   11305       # default) and relocated if they conflict, which is a slow very memory
   11306       # consuming and fragmenting process.  To avoid this, we pick a random,
   11307       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11308       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11309       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11310       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'
   11311       ;;
   11312 
   11313     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   11314       tmp_diet=no
   11315       if test linux-dietlibc = "$host_os"; then
   11316 	case $cc_basename in
   11317 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   11318 	esac
   11319       fi
   11320       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   11321 	 && test no = "$tmp_diet"
   11322       then
   11323 	tmp_addflag=' $pic_flag'
   11324 	tmp_sharedflag='-shared'
   11325 	case $cc_basename,$host_cpu in
   11326         pgcc*)				# Portland Group C compiler
   11327 	  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'
   11328 	  tmp_addflag=' $pic_flag'
   11329 	  ;;
   11330 	pgf77* | pgf90* | pgf95* | pgfortran*)
   11331 					# Portland Group f77 and f90 compilers
   11332 	  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'
   11333 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11334 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11335 	  tmp_addflag=' -i_dynamic' ;;
   11336 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11337 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11338 	ifc* | ifort*)			# Intel Fortran compiler
   11339 	  tmp_addflag=' -nofor_main' ;;
   11340 	lf95*)				# Lahey Fortran 8.1
   11341 	  whole_archive_flag_spec=
   11342 	  tmp_sharedflag='--shared' ;;
   11343         nagfor*)                        # NAGFOR 5.3
   11344           tmp_sharedflag='-Wl,-shared' ;;
   11345 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11346 	  tmp_sharedflag='-qmkshrobj'
   11347 	  tmp_addflag= ;;
   11348 	nvcc*)	# Cuda Compiler Driver 2.2
   11349 	  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'
   11350 	  compiler_needs_object=yes
   11351 	  ;;
   11352 	esac
   11353 	case `$CC -V 2>&1 | sed 5q` in
   11354 	*Sun\ C*)			# Sun C 5.9
   11355 	  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'
   11356 	  compiler_needs_object=yes
   11357 	  tmp_sharedflag='-G' ;;
   11358 	*Sun\ F*)			# Sun Fortran 8.3
   11359 	  tmp_sharedflag='-G' ;;
   11360 	esac
   11361 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11362 
   11363         if test yes = "$supports_anon_versioning"; then
   11364           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11365             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11366             echo "local: *; };" >> $output_objdir/$libname.ver~
   11367             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   11368         fi
   11369 
   11370 	case $cc_basename in
   11371 	tcc*)
   11372 	  export_dynamic_flag_spec='-rdynamic'
   11373 	  ;;
   11374 	xlf* | bgf* | bgxlf* | mpixlf*)
   11375 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11376 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11377 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11378 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11379 	  if test yes = "$supports_anon_versioning"; then
   11380 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11381               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11382               echo "local: *; };" >> $output_objdir/$libname.ver~
   11383               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11384 	  fi
   11385 	  ;;
   11386 	esac
   11387       else
   11388         ld_shlibs=no
   11389       fi
   11390       ;;
   11391 
   11392     netbsd*)
   11393       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11394 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11395 	wlarc=
   11396       else
   11397 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11398 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11399       fi
   11400       ;;
   11401 
   11402     solaris*)
   11403       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11404 	ld_shlibs=no
   11405 	cat <<_LT_EOF 1>&2
   11406 
   11407 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11408 *** create shared libraries on Solaris systems.  Therefore, libtool
   11409 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11410 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11411 *** your PATH or compiler configuration so that the native linker is
   11412 *** used, and then restart.
   11413 
   11414 _LT_EOF
   11415       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11416 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11417 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11418       else
   11419 	ld_shlibs=no
   11420       fi
   11421       ;;
   11422 
   11423     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11424       case `$LD -v 2>&1` in
   11425         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11426 	ld_shlibs=no
   11427 	cat <<_LT_EOF 1>&2
   11428 
   11429 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   11430 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11431 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11432 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11433 *** your PATH or compiler configuration so that the native linker is
   11434 *** used, and then restart.
   11435 
   11436 _LT_EOF
   11437 	;;
   11438 	*)
   11439 	  # For security reasons, it is highly recommended that you always
   11440 	  # use absolute paths for naming shared libraries, and exclude the
   11441 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11442 	  # requires that you compile everything twice, which is a pain.
   11443 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11444 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11445 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11446 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11447 	  else
   11448 	    ld_shlibs=no
   11449 	  fi
   11450 	;;
   11451       esac
   11452       ;;
   11453 
   11454     sunos4*)
   11455       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11456       wlarc=
   11457       hardcode_direct=yes
   11458       hardcode_shlibpath_var=no
   11459       ;;
   11460 
   11461     *)
   11462       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11463 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11464 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11465       else
   11466 	ld_shlibs=no
   11467       fi
   11468       ;;
   11469     esac
   11470 
   11471     if test no = "$ld_shlibs"; then
   11472       runpath_var=
   11473       hardcode_libdir_flag_spec=
   11474       export_dynamic_flag_spec=
   11475       whole_archive_flag_spec=
   11476     fi
   11477   else
   11478     # PORTME fill in a description of your system's linker (not GNU ld)
   11479     case $host_os in
   11480     aix3*)
   11481       allow_undefined_flag=unsupported
   11482       always_export_symbols=yes
   11483       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'
   11484       # Note: this linker hardcodes the directories in LIBPATH if there
   11485       # are no directories specified by -L.
   11486       hardcode_minus_L=yes
   11487       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   11488 	# Neither direct hardcoding nor static linking is supported with a
   11489 	# broken collect2.
   11490 	hardcode_direct=unsupported
   11491       fi
   11492       ;;
   11493 
   11494     aix[4-9]*)
   11495       if test ia64 = "$host_cpu"; then
   11496 	# On IA64, the linker does run time linking by default, so we don't
   11497 	# have to do anything special.
   11498 	aix_use_runtimelinking=no
   11499 	exp_sym_flag='-Bexport'
   11500 	no_entry_flag=
   11501       else
   11502 	# If we're using GNU nm, then we don't want the "-C" option.
   11503 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   11504 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   11505 	# weak defined symbols like other global defined symbols, whereas
   11506 	# GNU nm marks them as "W".
   11507 	# While the 'weak' keyword is ignored in the Export File, we need
   11508 	# it in the Import File for the 'aix-soname' feature, so we have
   11509 	# to replace the "-B" option with "-P" for AIX nm.
   11510 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11511 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   11512 	else
   11513 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   11514 	fi
   11515 	aix_use_runtimelinking=no
   11516 
   11517 	# Test if we are trying to use run time linking or normal
   11518 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11519 	# have runtime linking enabled, and use it for executables.
   11520 	# For shared libraries, we enable/disable runtime linking
   11521 	# depending on the kind of the shared library created -
   11522 	# when "with_aix_soname,aix_use_runtimelinking" is:
   11523 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   11524 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   11525 	#            lib.a           static archive
   11526 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   11527 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   11528 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   11529 	#            lib.a(lib.so.V) shared, rtl:no
   11530 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   11531 	#            lib.a           static archive
   11532 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11533 	  for ld_flag in $LDFLAGS; do
   11534 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   11535 	    aix_use_runtimelinking=yes
   11536 	    break
   11537 	  fi
   11538 	  done
   11539 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   11540 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   11541 	    # so we don't have lib.a shared libs to link our executables.
   11542 	    # We have to force runtime linking in this case.
   11543 	    aix_use_runtimelinking=yes
   11544 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11545 	  fi
   11546 	  ;;
   11547 	esac
   11548 
   11549 	exp_sym_flag='-bexport'
   11550 	no_entry_flag='-bnoentry'
   11551       fi
   11552 
   11553       # When large executables or shared objects are built, AIX ld can
   11554       # have problems creating the table of contents.  If linking a library
   11555       # or program results in "error TOC overflow" add -mminimal-toc to
   11556       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11557       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11558 
   11559       archive_cmds=''
   11560       hardcode_direct=yes
   11561       hardcode_direct_absolute=yes
   11562       hardcode_libdir_separator=':'
   11563       link_all_deplibs=yes
   11564       file_list_spec='$wl-f,'
   11565       case $with_aix_soname,$aix_use_runtimelinking in
   11566       aix,*) ;; # traditional, no import file
   11567       svr4,* | *,yes) # use import file
   11568 	# The Import File defines what to hardcode.
   11569 	hardcode_direct=no
   11570 	hardcode_direct_absolute=no
   11571 	;;
   11572       esac
   11573 
   11574       if test yes = "$GCC"; then
   11575 	case $host_os in aix4.[012]|aix4.[012].*)
   11576 	# We only want to do this on AIX 4.2 and lower, the check
   11577 	# below for broken collect2 doesn't work under 4.3+
   11578 	  collect2name=`$CC -print-prog-name=collect2`
   11579 	  if test -f "$collect2name" &&
   11580 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11581 	  then
   11582 	  # We have reworked collect2
   11583 	  :
   11584 	  else
   11585 	  # We have old collect2
   11586 	  hardcode_direct=unsupported
   11587 	  # It fails to find uninstalled libraries when the uninstalled
   11588 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11589 	  # to unsupported forces relinking
   11590 	  hardcode_minus_L=yes
   11591 	  hardcode_libdir_flag_spec='-L$libdir'
   11592 	  hardcode_libdir_separator=
   11593 	  fi
   11594 	  ;;
   11595 	esac
   11596 	shared_flag='-shared'
   11597 	if test yes = "$aix_use_runtimelinking"; then
   11598 	  shared_flag="$shared_flag "'$wl-G'
   11599 	fi
   11600 	# Need to ensure runtime linking is disabled for the traditional
   11601 	# shared library, or the linker may eventually find shared libraries
   11602 	# /with/ Import File - we do not want to mix them.
   11603 	shared_flag_aix='-shared'
   11604 	shared_flag_svr4='-shared $wl-G'
   11605       else
   11606 	# not using gcc
   11607 	if test ia64 = "$host_cpu"; then
   11608 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11609 	# chokes on -Wl,-G. The following line is correct:
   11610 	  shared_flag='-G'
   11611 	else
   11612 	  if test yes = "$aix_use_runtimelinking"; then
   11613 	    shared_flag='$wl-G'
   11614 	  else
   11615 	    shared_flag='$wl-bM:SRE'
   11616 	  fi
   11617 	  shared_flag_aix='$wl-bM:SRE'
   11618 	  shared_flag_svr4='$wl-G'
   11619 	fi
   11620       fi
   11621 
   11622       export_dynamic_flag_spec='$wl-bexpall'
   11623       # It seems that -bexpall does not export symbols beginning with
   11624       # underscore (_), so it is better to generate a list of symbols to export.
   11625       always_export_symbols=yes
   11626       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11627 	# Warning - without using the other runtime loading flags (-brtl),
   11628 	# -berok will link without error, but may produce a broken library.
   11629 	allow_undefined_flag='-berok'
   11630         # Determine the default libpath from the value encoded in an
   11631         # empty executable.
   11632         if test set = "${lt_cv_aix_libpath+set}"; then
   11633   aix_libpath=$lt_cv_aix_libpath
   11634 else
   11635   if ${lt_cv_aix_libpath_+:} false; then :
   11636   $as_echo_n "(cached) " >&6
   11637 else
   11638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11639 /* end confdefs.h.  */
   11640 
   11641 int
   11642 main ()
   11643 {
   11644 
   11645   ;
   11646   return 0;
   11647 }
   11648 _ACEOF
   11649 if ac_fn_c_try_link "$LINENO"; then :
   11650 
   11651   lt_aix_libpath_sed='
   11652       /Import File Strings/,/^$/ {
   11653 	  /^0/ {
   11654 	      s/^0  *\([^ ]*\) *$/\1/
   11655 	      p
   11656 	  }
   11657       }'
   11658   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11659   # Check for a 64-bit object if we didn't find anything.
   11660   if test -z "$lt_cv_aix_libpath_"; then
   11661     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11662   fi
   11663 fi
   11664 rm -f core conftest.err conftest.$ac_objext \
   11665     conftest$ac_exeext conftest.$ac_ext
   11666   if test -z "$lt_cv_aix_libpath_"; then
   11667     lt_cv_aix_libpath_=/usr/lib:/lib
   11668   fi
   11669 
   11670 fi
   11671 
   11672   aix_libpath=$lt_cv_aix_libpath_
   11673 fi
   11674 
   11675         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11676         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   11677       else
   11678 	if test ia64 = "$host_cpu"; then
   11679 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11680 	  allow_undefined_flag="-z nodefs"
   11681 	  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"
   11682 	else
   11683 	 # Determine the default libpath from the value encoded in an
   11684 	 # empty executable.
   11685 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11686   aix_libpath=$lt_cv_aix_libpath
   11687 else
   11688   if ${lt_cv_aix_libpath_+:} false; then :
   11689   $as_echo_n "(cached) " >&6
   11690 else
   11691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11692 /* end confdefs.h.  */
   11693 
   11694 int
   11695 main ()
   11696 {
   11697 
   11698   ;
   11699   return 0;
   11700 }
   11701 _ACEOF
   11702 if ac_fn_c_try_link "$LINENO"; then :
   11703 
   11704   lt_aix_libpath_sed='
   11705       /Import File Strings/,/^$/ {
   11706 	  /^0/ {
   11707 	      s/^0  *\([^ ]*\) *$/\1/
   11708 	      p
   11709 	  }
   11710       }'
   11711   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11712   # Check for a 64-bit object if we didn't find anything.
   11713   if test -z "$lt_cv_aix_libpath_"; then
   11714     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11715   fi
   11716 fi
   11717 rm -f core conftest.err conftest.$ac_objext \
   11718     conftest$ac_exeext conftest.$ac_ext
   11719   if test -z "$lt_cv_aix_libpath_"; then
   11720     lt_cv_aix_libpath_=/usr/lib:/lib
   11721   fi
   11722 
   11723 fi
   11724 
   11725   aix_libpath=$lt_cv_aix_libpath_
   11726 fi
   11727 
   11728 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11729 	  # Warning - without using the other run time loading flags,
   11730 	  # -berok will link without error, but may produce a broken library.
   11731 	  no_undefined_flag=' $wl-bernotok'
   11732 	  allow_undefined_flag=' $wl-berok'
   11733 	  if test yes = "$with_gnu_ld"; then
   11734 	    # We only use this code for GNU lds that support --whole-archive.
   11735 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11736 	  else
   11737 	    # Exported symbols can be pulled into shared objects from archives
   11738 	    whole_archive_flag_spec='$convenience'
   11739 	  fi
   11740 	  archive_cmds_need_lc=yes
   11741 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11742 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11743 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11744 	  if test svr4 != "$with_aix_soname"; then
   11745 	    # This is similar to how AIX traditionally builds its shared libraries.
   11746 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   11747 	  fi
   11748 	  if test aix != "$with_aix_soname"; then
   11749 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   11750 	  else
   11751 	    # used by -dlpreopen to get the symbols
   11752 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11753 	  fi
   11754 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11755 	fi
   11756       fi
   11757       ;;
   11758 
   11759     amigaos*)
   11760       case $host_cpu in
   11761       powerpc)
   11762             # see comment about AmigaOS4 .so support
   11763             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11764             archive_expsym_cmds=''
   11765         ;;
   11766       m68k)
   11767             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)'
   11768             hardcode_libdir_flag_spec='-L$libdir'
   11769             hardcode_minus_L=yes
   11770         ;;
   11771       esac
   11772       ;;
   11773 
   11774     bsdi[45]*)
   11775       export_dynamic_flag_spec=-rdynamic
   11776       ;;
   11777 
   11778     cygwin* | mingw* | pw32* | cegcc*)
   11779       # When not using gcc, we currently assume that we are using
   11780       # Microsoft Visual C++.
   11781       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11782       # no search path for DLLs.
   11783       case $cc_basename in
   11784       cl*)
   11785 	# Native MSVC
   11786 	hardcode_libdir_flag_spec=' '
   11787 	allow_undefined_flag=unsupported
   11788 	always_export_symbols=yes
   11789 	file_list_spec='@'
   11790 	# Tell ltmain to make .lib files, not .a files.
   11791 	libext=lib
   11792 	# Tell ltmain to make .dll files, not .so files.
   11793 	shrext_cmds=.dll
   11794 	# FIXME: Setting linknames here is a bad hack.
   11795 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11796 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11797             cp "$export_symbols" "$output_objdir/$soname.def";
   11798             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11799           else
   11800             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11801           fi~
   11802           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11803           linknames='
   11804 	# The linker will not automatically build a static lib if we build a DLL.
   11805 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11806 	enable_shared_with_static_runtimes=yes
   11807 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11808 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11809 	# Don't use ranlib
   11810 	old_postinstall_cmds='chmod 644 $oldlib'
   11811 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11812           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11813           case $lt_outputfile in
   11814             *.exe|*.EXE) ;;
   11815             *)
   11816               lt_outputfile=$lt_outputfile.exe
   11817               lt_tool_outputfile=$lt_tool_outputfile.exe
   11818               ;;
   11819           esac~
   11820           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11821             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11822             $RM "$lt_outputfile.manifest";
   11823           fi'
   11824 	;;
   11825       *)
   11826 	# Assume MSVC wrapper
   11827 	hardcode_libdir_flag_spec=' '
   11828 	allow_undefined_flag=unsupported
   11829 	# Tell ltmain to make .lib files, not .a files.
   11830 	libext=lib
   11831 	# Tell ltmain to make .dll files, not .so files.
   11832 	shrext_cmds=.dll
   11833 	# FIXME: Setting linknames here is a bad hack.
   11834 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11835 	# The linker will automatically build a .lib file if we build a DLL.
   11836 	old_archive_from_new_cmds='true'
   11837 	# FIXME: Should let the user specify the lib program.
   11838 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11839 	enable_shared_with_static_runtimes=yes
   11840 	;;
   11841       esac
   11842       ;;
   11843 
   11844     darwin* | rhapsody*)
   11845 
   11846 
   11847   archive_cmds_need_lc=no
   11848   hardcode_direct=no
   11849   hardcode_automatic=yes
   11850   hardcode_shlibpath_var=unsupported
   11851   if test yes = "$lt_cv_ld_force_load"; then
   11852     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\"`'
   11853 
   11854   else
   11855     whole_archive_flag_spec=''
   11856   fi
   11857   link_all_deplibs=yes
   11858   allow_undefined_flag=$_lt_dar_allow_undefined
   11859   case $cc_basename in
   11860      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11861      *) _lt_dar_can_shared=$GCC ;;
   11862   esac
   11863   if test yes = "$_lt_dar_can_shared"; then
   11864     output_verbose_link_cmd=func_echo_all
   11865     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11866     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11867     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"
   11868     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"
   11869 
   11870   else
   11871   ld_shlibs=no
   11872   fi
   11873 
   11874       ;;
   11875 
   11876     dgux*)
   11877       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11878       hardcode_libdir_flag_spec='-L$libdir'
   11879       hardcode_shlibpath_var=no
   11880       ;;
   11881 
   11882     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11883     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11884     # does not break anything, and helps significantly (at the cost of a little
   11885     # extra space).
   11886     freebsd2.2*)
   11887       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11888       hardcode_libdir_flag_spec='-R$libdir'
   11889       hardcode_direct=yes
   11890       hardcode_shlibpath_var=no
   11891       ;;
   11892 
   11893     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11894     freebsd2.*)
   11895       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11896       hardcode_direct=yes
   11897       hardcode_minus_L=yes
   11898       hardcode_shlibpath_var=no
   11899       ;;
   11900 
   11901     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11902     freebsd* | dragonfly*)
   11903       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11904       hardcode_libdir_flag_spec='-R$libdir'
   11905       hardcode_direct=yes
   11906       hardcode_shlibpath_var=no
   11907       ;;
   11908 
   11909     hpux9*)
   11910       if test yes = "$GCC"; then
   11911 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   11912       else
   11913 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   11914       fi
   11915       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11916       hardcode_libdir_separator=:
   11917       hardcode_direct=yes
   11918 
   11919       # hardcode_minus_L: Not really in the search PATH,
   11920       # but as the default location of the library.
   11921       hardcode_minus_L=yes
   11922       export_dynamic_flag_spec='$wl-E'
   11923       ;;
   11924 
   11925     hpux10*)
   11926       if test yes,no = "$GCC,$with_gnu_ld"; then
   11927 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11928       else
   11929 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11930       fi
   11931       if test no = "$with_gnu_ld"; then
   11932 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11933 	hardcode_libdir_separator=:
   11934 	hardcode_direct=yes
   11935 	hardcode_direct_absolute=yes
   11936 	export_dynamic_flag_spec='$wl-E'
   11937 	# hardcode_minus_L: Not really in the search PATH,
   11938 	# but as the default location of the library.
   11939 	hardcode_minus_L=yes
   11940       fi
   11941       ;;
   11942 
   11943     hpux11*)
   11944       if test yes,no = "$GCC,$with_gnu_ld"; then
   11945 	case $host_cpu in
   11946 	hppa*64*)
   11947 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11948 	  ;;
   11949 	ia64*)
   11950 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11951 	  ;;
   11952 	*)
   11953 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11954 	  ;;
   11955 	esac
   11956       else
   11957 	case $host_cpu in
   11958 	hppa*64*)
   11959 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11960 	  ;;
   11961 	ia64*)
   11962 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11963 	  ;;
   11964 	*)
   11965 
   11966 	  # Older versions of the 11.00 compiler do not understand -b yet
   11967 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11968 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11969 $as_echo_n "checking if $CC understands -b... " >&6; }
   11970 if ${lt_cv_prog_compiler__b+:} false; then :
   11971   $as_echo_n "(cached) " >&6
   11972 else
   11973   lt_cv_prog_compiler__b=no
   11974    save_LDFLAGS=$LDFLAGS
   11975    LDFLAGS="$LDFLAGS -b"
   11976    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11977    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11978      # The linker can only warn and ignore the option if not recognized
   11979      # So say no if there are warnings
   11980      if test -s conftest.err; then
   11981        # Append any errors to the config.log.
   11982        cat conftest.err 1>&5
   11983        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11984        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11985        if diff conftest.exp conftest.er2 >/dev/null; then
   11986          lt_cv_prog_compiler__b=yes
   11987        fi
   11988      else
   11989        lt_cv_prog_compiler__b=yes
   11990      fi
   11991    fi
   11992    $RM -r conftest*
   11993    LDFLAGS=$save_LDFLAGS
   11994 
   11995 fi
   11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11997 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   11998 
   11999 if test yes = "$lt_cv_prog_compiler__b"; then
   12000     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12001 else
   12002     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12003 fi
   12004 
   12005 	  ;;
   12006 	esac
   12007       fi
   12008       if test no = "$with_gnu_ld"; then
   12009 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12010 	hardcode_libdir_separator=:
   12011 
   12012 	case $host_cpu in
   12013 	hppa*64*|ia64*)
   12014 	  hardcode_direct=no
   12015 	  hardcode_shlibpath_var=no
   12016 	  ;;
   12017 	*)
   12018 	  hardcode_direct=yes
   12019 	  hardcode_direct_absolute=yes
   12020 	  export_dynamic_flag_spec='$wl-E'
   12021 
   12022 	  # hardcode_minus_L: Not really in the search PATH,
   12023 	  # but as the default location of the library.
   12024 	  hardcode_minus_L=yes
   12025 	  ;;
   12026 	esac
   12027       fi
   12028       ;;
   12029 
   12030     irix5* | irix6* | nonstopux*)
   12031       if test yes = "$GCC"; then
   12032 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   12033 	# Try to use the -exported_symbol ld option, if it does not
   12034 	# work, assume that -exports_file does not work either and
   12035 	# implicitly export all symbols.
   12036 	# This should be the same for all languages, so no per-tag cache variable.
   12037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   12038 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   12039 if ${lt_cv_irix_exported_symbol+:} false; then :
   12040   $as_echo_n "(cached) " >&6
   12041 else
   12042   save_LDFLAGS=$LDFLAGS
   12043 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   12044 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12045 /* end confdefs.h.  */
   12046 int foo (void) { return 0; }
   12047 _ACEOF
   12048 if ac_fn_c_try_link "$LINENO"; then :
   12049   lt_cv_irix_exported_symbol=yes
   12050 else
   12051   lt_cv_irix_exported_symbol=no
   12052 fi
   12053 rm -f core conftest.err conftest.$ac_objext \
   12054     conftest$ac_exeext conftest.$ac_ext
   12055            LDFLAGS=$save_LDFLAGS
   12056 fi
   12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   12058 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   12059 	if test yes = "$lt_cv_irix_exported_symbol"; then
   12060           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
   12061 	fi
   12062       else
   12063 	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'
   12064 	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'
   12065       fi
   12066       archive_cmds_need_lc='no'
   12067       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12068       hardcode_libdir_separator=:
   12069       inherit_rpath=yes
   12070       link_all_deplibs=yes
   12071       ;;
   12072 
   12073     linux*)
   12074       case $cc_basename in
   12075       tcc*)
   12076 	# Fabrice Bellard et al's Tiny C Compiler
   12077 	ld_shlibs=yes
   12078 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12079 	;;
   12080       esac
   12081       ;;
   12082 
   12083     netbsd*)
   12084       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12085 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   12086       else
   12087 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   12088       fi
   12089       hardcode_libdir_flag_spec='-R$libdir'
   12090       hardcode_direct=yes
   12091       hardcode_shlibpath_var=no
   12092       ;;
   12093 
   12094     newsos6)
   12095       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12096       hardcode_direct=yes
   12097       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12098       hardcode_libdir_separator=:
   12099       hardcode_shlibpath_var=no
   12100       ;;
   12101 
   12102     *nto* | *qnx*)
   12103       ;;
   12104 
   12105     openbsd* | bitrig*)
   12106       if test -f /usr/libexec/ld.so; then
   12107 	hardcode_direct=yes
   12108 	hardcode_shlibpath_var=no
   12109 	hardcode_direct_absolute=yes
   12110 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12111 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12112 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   12113 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12114 	  export_dynamic_flag_spec='$wl-E'
   12115 	else
   12116 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12117 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12118 	fi
   12119       else
   12120 	ld_shlibs=no
   12121       fi
   12122       ;;
   12123 
   12124     os2*)
   12125       hardcode_libdir_flag_spec='-L$libdir'
   12126       hardcode_minus_L=yes
   12127       allow_undefined_flag=unsupported
   12128       shrext_cmds=.dll
   12129       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12130 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12131 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12132 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12133 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   12134 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12135 	emximp -o $lib $output_objdir/$libname.def'
   12136       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12137 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12138 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12139 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12140 	prefix_cmds="$SED"~
   12141 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   12142 	  prefix_cmds="$prefix_cmds -e 1d";
   12143 	fi~
   12144 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   12145 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   12146 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12147 	emximp -o $lib $output_objdir/$libname.def'
   12148       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   12149       enable_shared_with_static_runtimes=yes
   12150       ;;
   12151 
   12152     osf3*)
   12153       if test yes = "$GCC"; then
   12154 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12155 	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'
   12156       else
   12157 	allow_undefined_flag=' -expect_unresolved \*'
   12158 	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'
   12159       fi
   12160       archive_cmds_need_lc='no'
   12161       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12162       hardcode_libdir_separator=:
   12163       ;;
   12164 
   12165     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   12166       if test yes = "$GCC"; then
   12167 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12168 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   12169 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12170       else
   12171 	allow_undefined_flag=' -expect_unresolved \*'
   12172 	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'
   12173 	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~
   12174           $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'
   12175 
   12176 	# Both c and cxx compiler support -rpath directly
   12177 	hardcode_libdir_flag_spec='-rpath $libdir'
   12178       fi
   12179       archive_cmds_need_lc='no'
   12180       hardcode_libdir_separator=:
   12181       ;;
   12182 
   12183     solaris*)
   12184       no_undefined_flag=' -z defs'
   12185       if test yes = "$GCC"; then
   12186 	wlarc='$wl'
   12187 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12188 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12189           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   12190       else
   12191 	case `$CC -V 2>&1` in
   12192 	*"Compilers 5.0"*)
   12193 	  wlarc=''
   12194 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12195 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12196             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   12197 	  ;;
   12198 	*)
   12199 	  wlarc='$wl'
   12200 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12201 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12202             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   12203 	  ;;
   12204 	esac
   12205       fi
   12206       hardcode_libdir_flag_spec='-R$libdir'
   12207       hardcode_shlibpath_var=no
   12208       case $host_os in
   12209       solaris2.[0-5] | solaris2.[0-5].*) ;;
   12210       *)
   12211 	# The compiler driver will combine and reorder linker options,
   12212 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   12213 	# but is careful enough not to reorder.
   12214 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   12215 	if test yes = "$GCC"; then
   12216 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   12217 	else
   12218 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   12219 	fi
   12220 	;;
   12221       esac
   12222       link_all_deplibs=yes
   12223       ;;
   12224 
   12225     sunos4*)
   12226       if test sequent = "$host_vendor"; then
   12227 	# Use $CC to link under sequent, because it throws in some extra .o
   12228 	# files that make .init and .fini sections work.
   12229 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12230       else
   12231 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   12232       fi
   12233       hardcode_libdir_flag_spec='-L$libdir'
   12234       hardcode_direct=yes
   12235       hardcode_minus_L=yes
   12236       hardcode_shlibpath_var=no
   12237       ;;
   12238 
   12239     sysv4)
   12240       case $host_vendor in
   12241 	sni)
   12242 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12243 	  hardcode_direct=yes # is this really true???
   12244 	;;
   12245 	siemens)
   12246 	  ## LD is ld it makes a PLAMLIB
   12247 	  ## CC just makes a GrossModule.
   12248 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   12249 	  reload_cmds='$CC -r -o $output$reload_objs'
   12250 	  hardcode_direct=no
   12251         ;;
   12252 	motorola)
   12253 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12254 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   12255 	;;
   12256       esac
   12257       runpath_var='LD_RUN_PATH'
   12258       hardcode_shlibpath_var=no
   12259       ;;
   12260 
   12261     sysv4.3*)
   12262       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12263       hardcode_shlibpath_var=no
   12264       export_dynamic_flag_spec='-Bexport'
   12265       ;;
   12266 
   12267     sysv4*MP*)
   12268       if test -d /usr/nec; then
   12269 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12270 	hardcode_shlibpath_var=no
   12271 	runpath_var=LD_RUN_PATH
   12272 	hardcode_runpath_var=yes
   12273 	ld_shlibs=yes
   12274       fi
   12275       ;;
   12276 
   12277     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12278       no_undefined_flag='$wl-z,text'
   12279       archive_cmds_need_lc=no
   12280       hardcode_shlibpath_var=no
   12281       runpath_var='LD_RUN_PATH'
   12282 
   12283       if test yes = "$GCC"; then
   12284 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12285 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12286       else
   12287 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12288 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12289       fi
   12290       ;;
   12291 
   12292     sysv5* | sco3.2v5* | sco5v6*)
   12293       # Note: We CANNOT use -z defs as we might desire, because we do not
   12294       # link with -lc, and that would cause any symbols used from libc to
   12295       # always be unresolved, which means just about no library would
   12296       # ever link correctly.  If we're not using GNU ld we use -z text
   12297       # though, which does catch some bad symbols but isn't as heavy-handed
   12298       # as -z defs.
   12299       no_undefined_flag='$wl-z,text'
   12300       allow_undefined_flag='$wl-z,nodefs'
   12301       archive_cmds_need_lc=no
   12302       hardcode_shlibpath_var=no
   12303       hardcode_libdir_flag_spec='$wl-R,$libdir'
   12304       hardcode_libdir_separator=':'
   12305       link_all_deplibs=yes
   12306       export_dynamic_flag_spec='$wl-Bexport'
   12307       runpath_var='LD_RUN_PATH'
   12308 
   12309       if test yes = "$GCC"; then
   12310 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12311 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12312       else
   12313 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12314 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12315       fi
   12316       ;;
   12317 
   12318     uts4*)
   12319       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12320       hardcode_libdir_flag_spec='-L$libdir'
   12321       hardcode_shlibpath_var=no
   12322       ;;
   12323 
   12324     *)
   12325       ld_shlibs=no
   12326       ;;
   12327     esac
   12328 
   12329     if test sni = "$host_vendor"; then
   12330       case $host in
   12331       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   12332 	export_dynamic_flag_spec='$wl-Blargedynsym'
   12333 	;;
   12334       esac
   12335     fi
   12336   fi
   12337 
   12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   12339 $as_echo "$ld_shlibs" >&6; }
   12340 test no = "$ld_shlibs" && can_build_shared=no
   12341 
   12342 with_gnu_ld=$with_gnu_ld
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 #
   12359 # Do we need to explicitly link libc?
   12360 #
   12361 case "x$archive_cmds_need_lc" in
   12362 x|xyes)
   12363   # Assume -lc should be added
   12364   archive_cmds_need_lc=yes
   12365 
   12366   if test yes,yes = "$GCC,$enable_shared"; then
   12367     case $archive_cmds in
   12368     *'~'*)
   12369       # FIXME: we may have to deal with multi-command sequences.
   12370       ;;
   12371     '$CC '*)
   12372       # Test whether the compiler implicitly links with -lc since on some
   12373       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12374       # to ld, don't add -lc before -lgcc.
   12375       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12376 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   12377 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   12378   $as_echo_n "(cached) " >&6
   12379 else
   12380   $RM conftest*
   12381 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12382 
   12383 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12384   (eval $ac_compile) 2>&5
   12385   ac_status=$?
   12386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12387   test $ac_status = 0; } 2>conftest.err; then
   12388 	  soname=conftest
   12389 	  lib=conftest
   12390 	  libobjs=conftest.$ac_objext
   12391 	  deplibs=
   12392 	  wl=$lt_prog_compiler_wl
   12393 	  pic_flag=$lt_prog_compiler_pic
   12394 	  compiler_flags=-v
   12395 	  linker_flags=-v
   12396 	  verstring=
   12397 	  output_objdir=.
   12398 	  libname=conftest
   12399 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12400 	  allow_undefined_flag=
   12401 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12402   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12403   ac_status=$?
   12404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12405   test $ac_status = 0; }
   12406 	  then
   12407 	    lt_cv_archive_cmds_need_lc=no
   12408 	  else
   12409 	    lt_cv_archive_cmds_need_lc=yes
   12410 	  fi
   12411 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12412 	else
   12413 	  cat conftest.err 1>&5
   12414 	fi
   12415 	$RM conftest*
   12416 
   12417 fi
   12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12419 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   12420       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12421       ;;
   12422     esac
   12423   fi
   12424   ;;
   12425 esac
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12579 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   12580 
   12581 if test yes = "$GCC"; then
   12582   case $host_os in
   12583     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12584     *) lt_awk_arg='/^libraries:/' ;;
   12585   esac
   12586   case $host_os in
   12587     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12588     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12589   esac
   12590   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12591   case $lt_search_path_spec in
   12592   *\;*)
   12593     # if the path contains ";" then we assume it to be the separator
   12594     # otherwise default to the standard path separator (i.e. ":") - it is
   12595     # assumed that no part of a normal pathname contains ";" but that should
   12596     # okay in the real world where ";" in dirpaths is itself problematic.
   12597     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12598     ;;
   12599   *)
   12600     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12601     ;;
   12602   esac
   12603   # Ok, now we have the path, separated by spaces, we can step through it
   12604   # and add multilib dir if necessary...
   12605   lt_tmp_lt_search_path_spec=
   12606   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12607   # ...but if some path component already ends with the multilib dir we assume
   12608   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12609   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12610   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12611     lt_multi_os_dir=
   12612     ;;
   12613   esac
   12614   for lt_sys_path in $lt_search_path_spec; do
   12615     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12616       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12617     elif test -n "$lt_multi_os_dir"; then
   12618       test -d "$lt_sys_path" && \
   12619 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12620     fi
   12621   done
   12622   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12623 BEGIN {RS = " "; FS = "/|\n";} {
   12624   lt_foo = "";
   12625   lt_count = 0;
   12626   for (lt_i = NF; lt_i > 0; lt_i--) {
   12627     if ($lt_i != "" && $lt_i != ".") {
   12628       if ($lt_i == "..") {
   12629         lt_count++;
   12630       } else {
   12631         if (lt_count == 0) {
   12632           lt_foo = "/" $lt_i lt_foo;
   12633         } else {
   12634           lt_count--;
   12635         }
   12636       }
   12637     }
   12638   }
   12639   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12640   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12641 }'`
   12642   # AWK program above erroneously prepends '/' to C:/dos/paths
   12643   # for these hosts.
   12644   case $host_os in
   12645     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12646       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12647   esac
   12648   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12649 else
   12650   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12651 fi
   12652 library_names_spec=
   12653 libname_spec='lib$name'
   12654 soname_spec=
   12655 shrext_cmds=.so
   12656 postinstall_cmds=
   12657 postuninstall_cmds=
   12658 finish_cmds=
   12659 finish_eval=
   12660 shlibpath_var=
   12661 shlibpath_overrides_runpath=unknown
   12662 version_type=none
   12663 dynamic_linker="$host_os ld.so"
   12664 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12665 need_lib_prefix=unknown
   12666 hardcode_into_libs=no
   12667 
   12668 # when you set need_version to no, make sure it does not cause -set_version
   12669 # flags to be left without arguments
   12670 need_version=unknown
   12671 
   12672 
   12673 
   12674 case $host_os in
   12675 aix3*)
   12676   version_type=linux # correct to gnu/linux during the next big refactor
   12677   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12678   shlibpath_var=LIBPATH
   12679 
   12680   # AIX 3 has no versioning support, so we append a major version to the name.
   12681   soname_spec='$libname$release$shared_ext$major'
   12682   ;;
   12683 
   12684 aix[4-9]*)
   12685   version_type=linux # correct to gnu/linux during the next big refactor
   12686   need_lib_prefix=no
   12687   need_version=no
   12688   hardcode_into_libs=yes
   12689   if test ia64 = "$host_cpu"; then
   12690     # AIX 5 supports IA64
   12691     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12692     shlibpath_var=LD_LIBRARY_PATH
   12693   else
   12694     # With GCC up to 2.95.x, collect2 would create an import file
   12695     # for dependence libraries.  The import file would start with
   12696     # the line '#! .'.  This would cause the generated library to
   12697     # depend on '.', always an invalid library.  This was fixed in
   12698     # development snapshots of GCC prior to 3.0.
   12699     case $host_os in
   12700       aix4 | aix4.[01] | aix4.[01].*)
   12701       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12702 	   echo ' yes '
   12703 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12704 	:
   12705       else
   12706 	can_build_shared=no
   12707       fi
   12708       ;;
   12709     esac
   12710     # Using Import Files as archive members, it is possible to support
   12711     # filename-based versioning of shared library archives on AIX. While
   12712     # this would work for both with and without runtime linking, it will
   12713     # prevent static linking of such archives. So we do filename-based
   12714     # shared library versioning with .so extension only, which is used
   12715     # when both runtime linking and shared linking is enabled.
   12716     # Unfortunately, runtime linking may impact performance, so we do
   12717     # not want this to be the default eventually. Also, we use the
   12718     # versioned .so libs for executables only if there is the -brtl
   12719     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   12720     # To allow for filename-based versioning support, we need to create
   12721     # libNAME.so.V as an archive file, containing:
   12722     # *) an Import File, referring to the versioned filename of the
   12723     #    archive as well as the shared archive member, telling the
   12724     #    bitwidth (32 or 64) of that shared object, and providing the
   12725     #    list of exported symbols of that shared object, eventually
   12726     #    decorated with the 'weak' keyword
   12727     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12728     #    it being seen by the linker.
   12729     # At run time we better use the real file rather than another symlink,
   12730     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12731 
   12732     case $with_aix_soname,$aix_use_runtimelinking in
   12733     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12734     # soname into executable. Probably we can add versioning support to
   12735     # collect2, so additional links can be useful in future.
   12736     aix,yes) # traditional libtool
   12737       dynamic_linker='AIX unversionable lib.so'
   12738       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12739       # instead of lib<name>.a to let people know that these are not
   12740       # typical AIX shared libraries.
   12741       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12742       ;;
   12743     aix,no) # traditional AIX only
   12744       dynamic_linker='AIX lib.a(lib.so.V)'
   12745       # We preserve .a as extension for shared libraries through AIX4.2
   12746       # and later when we are not doing run time linking.
   12747       library_names_spec='$libname$release.a $libname.a'
   12748       soname_spec='$libname$release$shared_ext$major'
   12749       ;;
   12750     svr4,*) # full svr4 only
   12751       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12752       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12753       # We do not specify a path in Import Files, so LIBPATH fires.
   12754       shlibpath_overrides_runpath=yes
   12755       ;;
   12756     *,yes) # both, prefer svr4
   12757       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12758       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12759       # unpreferred sharedlib libNAME.a needs extra handling
   12760       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   12761       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   12762       # We do not specify a path in Import Files, so LIBPATH fires.
   12763       shlibpath_overrides_runpath=yes
   12764       ;;
   12765     *,no) # both, prefer aix
   12766       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12767       library_names_spec='$libname$release.a $libname.a'
   12768       soname_spec='$libname$release$shared_ext$major'
   12769       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12770       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   12771       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   12772       ;;
   12773     esac
   12774     shlibpath_var=LIBPATH
   12775   fi
   12776   ;;
   12777 
   12778 amigaos*)
   12779   case $host_cpu in
   12780   powerpc)
   12781     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12782     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12783     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12784     ;;
   12785   m68k)
   12786     library_names_spec='$libname.ixlibrary $libname.a'
   12787     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12788     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   12789     ;;
   12790   esac
   12791   ;;
   12792 
   12793 beos*)
   12794   library_names_spec='$libname$shared_ext'
   12795   dynamic_linker="$host_os ld.so"
   12796   shlibpath_var=LIBRARY_PATH
   12797   ;;
   12798 
   12799 bsdi[45]*)
   12800   version_type=linux # correct to gnu/linux during the next big refactor
   12801   need_version=no
   12802   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12803   soname_spec='$libname$release$shared_ext$major'
   12804   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12805   shlibpath_var=LD_LIBRARY_PATH
   12806   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12807   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12808   # the default ld.so.conf also contains /usr/contrib/lib and
   12809   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12810   # libtool to hard-code these into programs
   12811   ;;
   12812 
   12813 cygwin* | mingw* | pw32* | cegcc*)
   12814   version_type=windows
   12815   shrext_cmds=.dll
   12816   need_version=no
   12817   need_lib_prefix=no
   12818 
   12819   case $GCC,$cc_basename in
   12820   yes,*)
   12821     # gcc
   12822     library_names_spec='$libname.dll.a'
   12823     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12824     postinstall_cmds='base_file=`basename \$file`~
   12825       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12826       dldir=$destdir/`dirname \$dlpath`~
   12827       test -d \$dldir || mkdir -p \$dldir~
   12828       $install_prog $dir/$dlname \$dldir/$dlname~
   12829       chmod a+x \$dldir/$dlname~
   12830       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12831         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12832       fi'
   12833     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12834       dlpath=$dir/\$dldll~
   12835        $RM \$dlpath'
   12836     shlibpath_overrides_runpath=yes
   12837 
   12838     case $host_os in
   12839     cygwin*)
   12840       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12841       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12842 
   12843       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12844       ;;
   12845     mingw* | cegcc*)
   12846       # MinGW DLLs use traditional 'lib' prefix
   12847       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12848       ;;
   12849     pw32*)
   12850       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12851       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12852       ;;
   12853     esac
   12854     dynamic_linker='Win32 ld.exe'
   12855     ;;
   12856 
   12857   *,cl*)
   12858     # Native MSVC
   12859     libname_spec='$name'
   12860     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12861     library_names_spec='$libname.dll.lib'
   12862 
   12863     case $build_os in
   12864     mingw*)
   12865       sys_lib_search_path_spec=
   12866       lt_save_ifs=$IFS
   12867       IFS=';'
   12868       for lt_path in $LIB
   12869       do
   12870         IFS=$lt_save_ifs
   12871         # Let DOS variable expansion print the short 8.3 style file name.
   12872         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12873         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12874       done
   12875       IFS=$lt_save_ifs
   12876       # Convert to MSYS style.
   12877       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12878       ;;
   12879     cygwin*)
   12880       # Convert to unix form, then to dos form, then back to unix form
   12881       # but this time dos style (no spaces!) so that the unix form looks
   12882       # like /cygdrive/c/PROGRA~1:/cygdr...
   12883       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12884       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12885       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12886       ;;
   12887     *)
   12888       sys_lib_search_path_spec=$LIB
   12889       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12890         # It is most probably a Windows format PATH.
   12891         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12892       else
   12893         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12894       fi
   12895       # FIXME: find the short name or the path components, as spaces are
   12896       # common. (e.g. "Program Files" -> "PROGRA~1")
   12897       ;;
   12898     esac
   12899 
   12900     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12901     postinstall_cmds='base_file=`basename \$file`~
   12902       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12903       dldir=$destdir/`dirname \$dlpath`~
   12904       test -d \$dldir || mkdir -p \$dldir~
   12905       $install_prog $dir/$dlname \$dldir/$dlname'
   12906     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12907       dlpath=$dir/\$dldll~
   12908        $RM \$dlpath'
   12909     shlibpath_overrides_runpath=yes
   12910     dynamic_linker='Win32 link.exe'
   12911     ;;
   12912 
   12913   *)
   12914     # Assume MSVC wrapper
   12915     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12916     dynamic_linker='Win32 ld.exe'
   12917     ;;
   12918   esac
   12919   # FIXME: first we should search . and the directory the executable is in
   12920   shlibpath_var=PATH
   12921   ;;
   12922 
   12923 darwin* | rhapsody*)
   12924   dynamic_linker="$host_os dyld"
   12925   version_type=darwin
   12926   need_lib_prefix=no
   12927   need_version=no
   12928   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12929   soname_spec='$libname$release$major$shared_ext'
   12930   shlibpath_overrides_runpath=yes
   12931   shlibpath_var=DYLD_LIBRARY_PATH
   12932   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12933 
   12934   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12935   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12936   ;;
   12937 
   12938 dgux*)
   12939   version_type=linux # correct to gnu/linux during the next big refactor
   12940   need_lib_prefix=no
   12941   need_version=no
   12942   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12943   soname_spec='$libname$release$shared_ext$major'
   12944   shlibpath_var=LD_LIBRARY_PATH
   12945   ;;
   12946 
   12947 freebsd* | dragonfly*)
   12948   # DragonFly does not have aout.  When/if they implement a new
   12949   # versioning mechanism, adjust this.
   12950   if test -x /usr/bin/objformat; then
   12951     objformat=`/usr/bin/objformat`
   12952   else
   12953     case $host_os in
   12954     freebsd[23].*) objformat=aout ;;
   12955     *) objformat=elf ;;
   12956     esac
   12957   fi
   12958   version_type=freebsd-$objformat
   12959   case $version_type in
   12960     freebsd-elf*)
   12961       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12962       soname_spec='$libname$release$shared_ext$major'
   12963       need_version=no
   12964       need_lib_prefix=no
   12965       ;;
   12966     freebsd-*)
   12967       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12968       need_version=yes
   12969       ;;
   12970   esac
   12971   shlibpath_var=LD_LIBRARY_PATH
   12972   case $host_os in
   12973   freebsd2.*)
   12974     shlibpath_overrides_runpath=yes
   12975     ;;
   12976   freebsd3.[01]* | freebsdelf3.[01]*)
   12977     shlibpath_overrides_runpath=yes
   12978     hardcode_into_libs=yes
   12979     ;;
   12980   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12981   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12982     shlibpath_overrides_runpath=no
   12983     hardcode_into_libs=yes
   12984     ;;
   12985   *) # from 4.6 on, and DragonFly
   12986     shlibpath_overrides_runpath=yes
   12987     hardcode_into_libs=yes
   12988     ;;
   12989   esac
   12990   ;;
   12991 
   12992 haiku*)
   12993   version_type=linux # correct to gnu/linux during the next big refactor
   12994   need_lib_prefix=no
   12995   need_version=no
   12996   dynamic_linker="$host_os runtime_loader"
   12997   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12998   soname_spec='$libname$release$shared_ext$major'
   12999   shlibpath_var=LIBRARY_PATH
   13000   shlibpath_overrides_runpath=no
   13001   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   13002   hardcode_into_libs=yes
   13003   ;;
   13004 
   13005 hpux9* | hpux10* | hpux11*)
   13006   # Give a soname corresponding to the major version so that dld.sl refuses to
   13007   # link against other versions.
   13008   version_type=sunos
   13009   need_lib_prefix=no
   13010   need_version=no
   13011   case $host_cpu in
   13012   ia64*)
   13013     shrext_cmds='.so'
   13014     hardcode_into_libs=yes
   13015     dynamic_linker="$host_os dld.so"
   13016     shlibpath_var=LD_LIBRARY_PATH
   13017     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13018     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13019     soname_spec='$libname$release$shared_ext$major'
   13020     if test 32 = "$HPUX_IA64_MODE"; then
   13021       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13022       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   13023     else
   13024       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13025       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   13026     fi
   13027     ;;
   13028   hppa*64*)
   13029     shrext_cmds='.sl'
   13030     hardcode_into_libs=yes
   13031     dynamic_linker="$host_os dld.sl"
   13032     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13033     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13034     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13035     soname_spec='$libname$release$shared_ext$major'
   13036     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13037     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13038     ;;
   13039   *)
   13040     shrext_cmds='.sl'
   13041     dynamic_linker="$host_os dld.sl"
   13042     shlibpath_var=SHLIB_PATH
   13043     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13044     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13045     soname_spec='$libname$release$shared_ext$major'
   13046     ;;
   13047   esac
   13048   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   13049   postinstall_cmds='chmod 555 $lib'
   13050   # or fails outright, so override atomically:
   13051   install_override_mode=555
   13052   ;;
   13053 
   13054 interix[3-9]*)
   13055   version_type=linux # correct to gnu/linux during the next big refactor
   13056   need_lib_prefix=no
   13057   need_version=no
   13058   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13059   soname_spec='$libname$release$shared_ext$major'
   13060   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13061   shlibpath_var=LD_LIBRARY_PATH
   13062   shlibpath_overrides_runpath=no
   13063   hardcode_into_libs=yes
   13064   ;;
   13065 
   13066 irix5* | irix6* | nonstopux*)
   13067   case $host_os in
   13068     nonstopux*) version_type=nonstopux ;;
   13069     *)
   13070 	if test yes = "$lt_cv_prog_gnu_ld"; then
   13071 		version_type=linux # correct to gnu/linux during the next big refactor
   13072 	else
   13073 		version_type=irix
   13074 	fi ;;
   13075   esac
   13076   need_lib_prefix=no
   13077   need_version=no
   13078   soname_spec='$libname$release$shared_ext$major'
   13079   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   13080   case $host_os in
   13081   irix5* | nonstopux*)
   13082     libsuff= shlibsuff=
   13083     ;;
   13084   *)
   13085     case $LD in # libtool.m4 will add one of these switches to LD
   13086     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13087       libsuff= shlibsuff= libmagic=32-bit;;
   13088     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13089       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13090     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13091       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13092     *) libsuff= shlibsuff= libmagic=never-match;;
   13093     esac
   13094     ;;
   13095   esac
   13096   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13097   shlibpath_overrides_runpath=no
   13098   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   13099   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   13100   hardcode_into_libs=yes
   13101   ;;
   13102 
   13103 # No shared lib support for Linux oldld, aout, or coff.
   13104 linux*oldld* | linux*aout* | linux*coff*)
   13105   dynamic_linker=no
   13106   ;;
   13107 
   13108 linux*android*)
   13109   version_type=none # Android doesn't support versioned libraries.
   13110   need_lib_prefix=no
   13111   need_version=no
   13112   library_names_spec='$libname$release$shared_ext'
   13113   soname_spec='$libname$release$shared_ext'
   13114   finish_cmds=
   13115   shlibpath_var=LD_LIBRARY_PATH
   13116   shlibpath_overrides_runpath=yes
   13117 
   13118   # This implies no fast_install, which is unacceptable.
   13119   # Some rework will be needed to allow for fast_install
   13120   # before this can be enabled.
   13121   hardcode_into_libs=yes
   13122 
   13123   dynamic_linker='Android linker'
   13124   # Don't embed -rpath directories since the linker doesn't support them.
   13125   hardcode_libdir_flag_spec='-L$libdir'
   13126   ;;
   13127 
   13128 # This must be glibc/ELF.
   13129 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13130   version_type=linux # correct to gnu/linux during the next big refactor
   13131   need_lib_prefix=no
   13132   need_version=no
   13133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13134   soname_spec='$libname$release$shared_ext$major'
   13135   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13136   shlibpath_var=LD_LIBRARY_PATH
   13137   shlibpath_overrides_runpath=no
   13138 
   13139   # Some binutils ld are patched to set DT_RUNPATH
   13140   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   13141   $as_echo_n "(cached) " >&6
   13142 else
   13143   lt_cv_shlibpath_overrides_runpath=no
   13144     save_LDFLAGS=$LDFLAGS
   13145     save_libdir=$libdir
   13146     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   13147 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   13148     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13149 /* end confdefs.h.  */
   13150 
   13151 int
   13152 main ()
   13153 {
   13154 
   13155   ;
   13156   return 0;
   13157 }
   13158 _ACEOF
   13159 if ac_fn_c_try_link "$LINENO"; then :
   13160   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   13161   lt_cv_shlibpath_overrides_runpath=yes
   13162 fi
   13163 fi
   13164 rm -f core conftest.err conftest.$ac_objext \
   13165     conftest$ac_exeext conftest.$ac_ext
   13166     LDFLAGS=$save_LDFLAGS
   13167     libdir=$save_libdir
   13168 
   13169 fi
   13170 
   13171   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   13172 
   13173   # This implies no fast_install, which is unacceptable.
   13174   # Some rework will be needed to allow for fast_install
   13175   # before this can be enabled.
   13176   hardcode_into_libs=yes
   13177 
   13178   # Ideally, we could use ldconfig to report *all* directores which are
   13179   # searched for libraries, however this is still not possible.  Aside from not
   13180   # being certain /sbin/ldconfig is available, command
   13181   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   13182   # even though it is searched at run-time.  Try to do the best guess by
   13183   # appending ld.so.conf contents (and includes) to the search path.
   13184   if test -f /etc/ld.so.conf; then
   13185     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' ' '`
   13186     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13187   fi
   13188 
   13189   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13190   # powerpc, because MkLinux only supported shared libraries with the
   13191   # GNU dynamic linker.  Since this was broken with cross compilers,
   13192   # most powerpc-linux boxes support dynamic linking these days and
   13193   # people can always --disable-shared, the test was removed, and we
   13194   # assume the GNU/Linux dynamic linker is in use.
   13195   dynamic_linker='GNU/Linux ld.so'
   13196   ;;
   13197 
   13198 netbsd*)
   13199   version_type=sunos
   13200   need_lib_prefix=no
   13201   need_version=no
   13202   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13203     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13204     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13205     dynamic_linker='NetBSD (a.out) ld.so'
   13206   else
   13207     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13208     soname_spec='$libname$release$shared_ext$major'
   13209     dynamic_linker='NetBSD ld.elf_so'
   13210   fi
   13211   shlibpath_var=LD_LIBRARY_PATH
   13212   shlibpath_overrides_runpath=yes
   13213   hardcode_into_libs=yes
   13214   ;;
   13215 
   13216 newsos6)
   13217   version_type=linux # correct to gnu/linux during the next big refactor
   13218   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13219   shlibpath_var=LD_LIBRARY_PATH
   13220   shlibpath_overrides_runpath=yes
   13221   ;;
   13222 
   13223 *nto* | *qnx*)
   13224   version_type=qnx
   13225   need_lib_prefix=no
   13226   need_version=no
   13227   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13228   soname_spec='$libname$release$shared_ext$major'
   13229   shlibpath_var=LD_LIBRARY_PATH
   13230   shlibpath_overrides_runpath=no
   13231   hardcode_into_libs=yes
   13232   dynamic_linker='ldqnx.so'
   13233   ;;
   13234 
   13235 openbsd* | bitrig*)
   13236   version_type=sunos
   13237   sys_lib_dlsearch_path_spec=/usr/lib
   13238   need_lib_prefix=no
   13239   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13240     need_version=no
   13241   else
   13242     need_version=yes
   13243   fi
   13244   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13245   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13246   shlibpath_var=LD_LIBRARY_PATH
   13247   shlibpath_overrides_runpath=yes
   13248   ;;
   13249 
   13250 os2*)
   13251   libname_spec='$name'
   13252   version_type=windows
   13253   shrext_cmds=.dll
   13254   need_version=no
   13255   need_lib_prefix=no
   13256   # OS/2 can only load a DLL with a base name of 8 characters or less.
   13257   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   13258     v=$($ECHO $release$versuffix | tr -d .-);
   13259     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   13260     $ECHO $n$v`$shared_ext'
   13261   library_names_spec='${libname}_dll.$libext'
   13262   dynamic_linker='OS/2 ld.exe'
   13263   shlibpath_var=BEGINLIBPATH
   13264   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13265   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13266   postinstall_cmds='base_file=`basename \$file`~
   13267     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   13268     dldir=$destdir/`dirname \$dlpath`~
   13269     test -d \$dldir || mkdir -p \$dldir~
   13270     $install_prog $dir/$dlname \$dldir/$dlname~
   13271     chmod a+x \$dldir/$dlname~
   13272     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13273       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13274     fi'
   13275   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   13276     dlpath=$dir/\$dldll~
   13277     $RM \$dlpath'
   13278   ;;
   13279 
   13280 osf3* | osf4* | osf5*)
   13281   version_type=osf
   13282   need_lib_prefix=no
   13283   need_version=no
   13284   soname_spec='$libname$release$shared_ext$major'
   13285   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13286   shlibpath_var=LD_LIBRARY_PATH
   13287   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13288   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13289   ;;
   13290 
   13291 rdos*)
   13292   dynamic_linker=no
   13293   ;;
   13294 
   13295 solaris*)
   13296   version_type=linux # correct to gnu/linux during the next big refactor
   13297   need_lib_prefix=no
   13298   need_version=no
   13299   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13300   soname_spec='$libname$release$shared_ext$major'
   13301   shlibpath_var=LD_LIBRARY_PATH
   13302   shlibpath_overrides_runpath=yes
   13303   hardcode_into_libs=yes
   13304   # ldd complains unless libraries are executable
   13305   postinstall_cmds='chmod +x $lib'
   13306   ;;
   13307 
   13308 sunos4*)
   13309   version_type=sunos
   13310   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13311   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13312   shlibpath_var=LD_LIBRARY_PATH
   13313   shlibpath_overrides_runpath=yes
   13314   if test yes = "$with_gnu_ld"; then
   13315     need_lib_prefix=no
   13316   fi
   13317   need_version=yes
   13318   ;;
   13319 
   13320 sysv4 | sysv4.3*)
   13321   version_type=linux # correct to gnu/linux during the next big refactor
   13322   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13323   soname_spec='$libname$release$shared_ext$major'
   13324   shlibpath_var=LD_LIBRARY_PATH
   13325   case $host_vendor in
   13326     sni)
   13327       shlibpath_overrides_runpath=no
   13328       need_lib_prefix=no
   13329       runpath_var=LD_RUN_PATH
   13330       ;;
   13331     siemens)
   13332       need_lib_prefix=no
   13333       ;;
   13334     motorola)
   13335       need_lib_prefix=no
   13336       need_version=no
   13337       shlibpath_overrides_runpath=no
   13338       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13339       ;;
   13340   esac
   13341   ;;
   13342 
   13343 sysv4*MP*)
   13344   if test -d /usr/nec; then
   13345     version_type=linux # correct to gnu/linux during the next big refactor
   13346     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   13347     soname_spec='$libname$shared_ext.$major'
   13348     shlibpath_var=LD_LIBRARY_PATH
   13349   fi
   13350   ;;
   13351 
   13352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13353   version_type=sco
   13354   need_lib_prefix=no
   13355   need_version=no
   13356   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   13357   soname_spec='$libname$release$shared_ext$major'
   13358   shlibpath_var=LD_LIBRARY_PATH
   13359   shlibpath_overrides_runpath=yes
   13360   hardcode_into_libs=yes
   13361   if test yes = "$with_gnu_ld"; then
   13362     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13363   else
   13364     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13365     case $host_os in
   13366       sco3.2v5*)
   13367         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13368 	;;
   13369     esac
   13370   fi
   13371   sys_lib_dlsearch_path_spec='/usr/lib'
   13372   ;;
   13373 
   13374 tpf*)
   13375   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   13376   version_type=linux # correct to gnu/linux during the next big refactor
   13377   need_lib_prefix=no
   13378   need_version=no
   13379   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13380   shlibpath_var=LD_LIBRARY_PATH
   13381   shlibpath_overrides_runpath=no
   13382   hardcode_into_libs=yes
   13383   ;;
   13384 
   13385 uts4*)
   13386   version_type=linux # correct to gnu/linux during the next big refactor
   13387   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13388   soname_spec='$libname$release$shared_ext$major'
   13389   shlibpath_var=LD_LIBRARY_PATH
   13390   ;;
   13391 
   13392 *)
   13393   dynamic_linker=no
   13394   ;;
   13395 esac
   13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13397 $as_echo "$dynamic_linker" >&6; }
   13398 test no = "$dynamic_linker" && can_build_shared=no
   13399 
   13400 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13401 if test yes = "$GCC"; then
   13402   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13403 fi
   13404 
   13405 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13406   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13407 fi
   13408 
   13409 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13410   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13411 fi
   13412 
   13413 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13414 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13415 
   13416 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13417 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13418 
   13419 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13420 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13519 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13520 hardcode_action=
   13521 if test -n "$hardcode_libdir_flag_spec" ||
   13522    test -n "$runpath_var" ||
   13523    test yes = "$hardcode_automatic"; then
   13524 
   13525   # We can hardcode non-existent directories.
   13526   if test no != "$hardcode_direct" &&
   13527      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13528      # have to relink, otherwise we might link with an installed library
   13529      # when we should be linking with a yet-to-be-installed one
   13530      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13531      test no != "$hardcode_minus_L"; then
   13532     # Linking always hardcodes the temporary library directory.
   13533     hardcode_action=relink
   13534   else
   13535     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13536     hardcode_action=immediate
   13537   fi
   13538 else
   13539   # We cannot hardcode anything, or else we can only hardcode existing
   13540   # directories.
   13541   hardcode_action=unsupported
   13542 fi
   13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13544 $as_echo "$hardcode_action" >&6; }
   13545 
   13546 if test relink = "$hardcode_action" ||
   13547    test yes = "$inherit_rpath"; then
   13548   # Fast installation is not supported
   13549   enable_fast_install=no
   13550 elif test yes = "$shlibpath_overrides_runpath" ||
   13551      test no = "$enable_shared"; then
   13552   # Fast installation is not necessary
   13553   enable_fast_install=needless
   13554 fi
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 
   13561   if test yes != "$enable_dlopen"; then
   13562   enable_dlopen=unknown
   13563   enable_dlopen_self=unknown
   13564   enable_dlopen_self_static=unknown
   13565 else
   13566   lt_cv_dlopen=no
   13567   lt_cv_dlopen_libs=
   13568 
   13569   case $host_os in
   13570   beos*)
   13571     lt_cv_dlopen=load_add_on
   13572     lt_cv_dlopen_libs=
   13573     lt_cv_dlopen_self=yes
   13574     ;;
   13575 
   13576   mingw* | pw32* | cegcc*)
   13577     lt_cv_dlopen=LoadLibrary
   13578     lt_cv_dlopen_libs=
   13579     ;;
   13580 
   13581   cygwin*)
   13582     lt_cv_dlopen=dlopen
   13583     lt_cv_dlopen_libs=
   13584     ;;
   13585 
   13586   darwin*)
   13587     # if libdl is installed we need to link against it
   13588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13589 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   13590 if ${ac_cv_lib_dl_dlopen+:} false; then :
   13591   $as_echo_n "(cached) " >&6
   13592 else
   13593   ac_check_lib_save_LIBS=$LIBS
   13594 LIBS="-ldl  $LIBS"
   13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13596 /* end confdefs.h.  */
   13597 
   13598 /* Override any GCC internal prototype to avoid an error.
   13599    Use char because int might match the return type of a GCC
   13600    builtin and then its argument prototype would still apply.  */
   13601 #ifdef __cplusplus
   13602 extern "C"
   13603 #endif
   13604 char dlopen ();
   13605 int
   13606 main ()
   13607 {
   13608 return dlopen ();
   13609   ;
   13610   return 0;
   13611 }
   13612 _ACEOF
   13613 if ac_fn_c_try_link "$LINENO"; then :
   13614   ac_cv_lib_dl_dlopen=yes
   13615 else
   13616   ac_cv_lib_dl_dlopen=no
   13617 fi
   13618 rm -f core conftest.err conftest.$ac_objext \
   13619     conftest$ac_exeext conftest.$ac_ext
   13620 LIBS=$ac_check_lib_save_LIBS
   13621 fi
   13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13623 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   13624 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   13625   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13626 else
   13627 
   13628     lt_cv_dlopen=dyld
   13629     lt_cv_dlopen_libs=
   13630     lt_cv_dlopen_self=yes
   13631 
   13632 fi
   13633 
   13634     ;;
   13635 
   13636   tpf*)
   13637     # Don't try to run any link tests for TPF.  We know it's impossible
   13638     # because TPF is a cross-compiler, and we know how we open DSOs.
   13639     lt_cv_dlopen=dlopen
   13640     lt_cv_dlopen_libs=
   13641     lt_cv_dlopen_self=no
   13642     ;;
   13643 
   13644   *)
   13645     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13646 if test "x$ac_cv_func_shl_load" = xyes; then :
   13647   lt_cv_dlopen=shl_load
   13648 else
   13649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13650 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   13651 if ${ac_cv_lib_dld_shl_load+:} false; then :
   13652   $as_echo_n "(cached) " >&6
   13653 else
   13654   ac_check_lib_save_LIBS=$LIBS
   13655 LIBS="-ldld  $LIBS"
   13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13657 /* end confdefs.h.  */
   13658 
   13659 /* Override any GCC internal prototype to avoid an error.
   13660    Use char because int might match the return type of a GCC
   13661    builtin and then its argument prototype would still apply.  */
   13662 #ifdef __cplusplus
   13663 extern "C"
   13664 #endif
   13665 char shl_load ();
   13666 int
   13667 main ()
   13668 {
   13669 return shl_load ();
   13670   ;
   13671   return 0;
   13672 }
   13673 _ACEOF
   13674 if ac_fn_c_try_link "$LINENO"; then :
   13675   ac_cv_lib_dld_shl_load=yes
   13676 else
   13677   ac_cv_lib_dld_shl_load=no
   13678 fi
   13679 rm -f core conftest.err conftest.$ac_objext \
   13680     conftest$ac_exeext conftest.$ac_ext
   13681 LIBS=$ac_check_lib_save_LIBS
   13682 fi
   13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13684 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   13685 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   13686   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13687 else
   13688   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13689 if test "x$ac_cv_func_dlopen" = xyes; then :
   13690   lt_cv_dlopen=dlopen
   13691 else
   13692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13693 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   13694 if ${ac_cv_lib_dl_dlopen+:} false; then :
   13695   $as_echo_n "(cached) " >&6
   13696 else
   13697   ac_check_lib_save_LIBS=$LIBS
   13698 LIBS="-ldl  $LIBS"
   13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13700 /* end confdefs.h.  */
   13701 
   13702 /* Override any GCC internal prototype to avoid an error.
   13703    Use char because int might match the return type of a GCC
   13704    builtin and then its argument prototype would still apply.  */
   13705 #ifdef __cplusplus
   13706 extern "C"
   13707 #endif
   13708 char dlopen ();
   13709 int
   13710 main ()
   13711 {
   13712 return dlopen ();
   13713   ;
   13714   return 0;
   13715 }
   13716 _ACEOF
   13717 if ac_fn_c_try_link "$LINENO"; then :
   13718   ac_cv_lib_dl_dlopen=yes
   13719 else
   13720   ac_cv_lib_dl_dlopen=no
   13721 fi
   13722 rm -f core conftest.err conftest.$ac_objext \
   13723     conftest$ac_exeext conftest.$ac_ext
   13724 LIBS=$ac_check_lib_save_LIBS
   13725 fi
   13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13727 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   13728 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   13729   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13730 else
   13731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13732 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   13733 if ${ac_cv_lib_svld_dlopen+:} false; then :
   13734   $as_echo_n "(cached) " >&6
   13735 else
   13736   ac_check_lib_save_LIBS=$LIBS
   13737 LIBS="-lsvld  $LIBS"
   13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13739 /* end confdefs.h.  */
   13740 
   13741 /* Override any GCC internal prototype to avoid an error.
   13742    Use char because int might match the return type of a GCC
   13743    builtin and then its argument prototype would still apply.  */
   13744 #ifdef __cplusplus
   13745 extern "C"
   13746 #endif
   13747 char dlopen ();
   13748 int
   13749 main ()
   13750 {
   13751 return dlopen ();
   13752   ;
   13753   return 0;
   13754 }
   13755 _ACEOF
   13756 if ac_fn_c_try_link "$LINENO"; then :
   13757   ac_cv_lib_svld_dlopen=yes
   13758 else
   13759   ac_cv_lib_svld_dlopen=no
   13760 fi
   13761 rm -f core conftest.err conftest.$ac_objext \
   13762     conftest$ac_exeext conftest.$ac_ext
   13763 LIBS=$ac_check_lib_save_LIBS
   13764 fi
   13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13766 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   13767 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   13768   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13769 else
   13770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13771 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   13772 if ${ac_cv_lib_dld_dld_link+:} false; then :
   13773   $as_echo_n "(cached) " >&6
   13774 else
   13775   ac_check_lib_save_LIBS=$LIBS
   13776 LIBS="-ldld  $LIBS"
   13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13778 /* end confdefs.h.  */
   13779 
   13780 /* Override any GCC internal prototype to avoid an error.
   13781    Use char because int might match the return type of a GCC
   13782    builtin and then its argument prototype would still apply.  */
   13783 #ifdef __cplusplus
   13784 extern "C"
   13785 #endif
   13786 char dld_link ();
   13787 int
   13788 main ()
   13789 {
   13790 return dld_link ();
   13791   ;
   13792   return 0;
   13793 }
   13794 _ACEOF
   13795 if ac_fn_c_try_link "$LINENO"; then :
   13796   ac_cv_lib_dld_dld_link=yes
   13797 else
   13798   ac_cv_lib_dld_dld_link=no
   13799 fi
   13800 rm -f core conftest.err conftest.$ac_objext \
   13801     conftest$ac_exeext conftest.$ac_ext
   13802 LIBS=$ac_check_lib_save_LIBS
   13803 fi
   13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13805 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   13806 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   13807   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13808 fi
   13809 
   13810 
   13811 fi
   13812 
   13813 
   13814 fi
   13815 
   13816 
   13817 fi
   13818 
   13819 
   13820 fi
   13821 
   13822 
   13823 fi
   13824 
   13825     ;;
   13826   esac
   13827 
   13828   if test no = "$lt_cv_dlopen"; then
   13829     enable_dlopen=no
   13830   else
   13831     enable_dlopen=yes
   13832   fi
   13833 
   13834   case $lt_cv_dlopen in
   13835   dlopen)
   13836     save_CPPFLAGS=$CPPFLAGS
   13837     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13838 
   13839     save_LDFLAGS=$LDFLAGS
   13840     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13841 
   13842     save_LIBS=$LIBS
   13843     LIBS="$lt_cv_dlopen_libs $LIBS"
   13844 
   13845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13846 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   13847 if ${lt_cv_dlopen_self+:} false; then :
   13848   $as_echo_n "(cached) " >&6
   13849 else
   13850   	  if test yes = "$cross_compiling"; then :
   13851   lt_cv_dlopen_self=cross
   13852 else
   13853   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13854   lt_status=$lt_dlunknown
   13855   cat > conftest.$ac_ext <<_LT_EOF
   13856 #line $LINENO "configure"
   13857 #include "confdefs.h"
   13858 
   13859 #if HAVE_DLFCN_H
   13860 #include <dlfcn.h>
   13861 #endif
   13862 
   13863 #include <stdio.h>
   13864 
   13865 #ifdef RTLD_GLOBAL
   13866 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13867 #else
   13868 #  ifdef DL_GLOBAL
   13869 #    define LT_DLGLOBAL		DL_GLOBAL
   13870 #  else
   13871 #    define LT_DLGLOBAL		0
   13872 #  endif
   13873 #endif
   13874 
   13875 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13876    find out it does not work in some platform. */
   13877 #ifndef LT_DLLAZY_OR_NOW
   13878 #  ifdef RTLD_LAZY
   13879 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13880 #  else
   13881 #    ifdef DL_LAZY
   13882 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13883 #    else
   13884 #      ifdef RTLD_NOW
   13885 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13886 #      else
   13887 #        ifdef DL_NOW
   13888 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13889 #        else
   13890 #          define LT_DLLAZY_OR_NOW	0
   13891 #        endif
   13892 #      endif
   13893 #    endif
   13894 #  endif
   13895 #endif
   13896 
   13897 /* When -fvisibility=hidden is used, assume the code has been annotated
   13898    correspondingly for the symbols needed.  */
   13899 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13900 int fnord () __attribute__((visibility("default")));
   13901 #endif
   13902 
   13903 int fnord () { return 42; }
   13904 int main ()
   13905 {
   13906   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13907   int status = $lt_dlunknown;
   13908 
   13909   if (self)
   13910     {
   13911       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13912       else
   13913         {
   13914 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13915           else puts (dlerror ());
   13916 	}
   13917       /* dlclose (self); */
   13918     }
   13919   else
   13920     puts (dlerror ());
   13921 
   13922   return status;
   13923 }
   13924 _LT_EOF
   13925   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13926   (eval $ac_link) 2>&5
   13927   ac_status=$?
   13928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13929   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13930     (./conftest; exit; ) >&5 2>/dev/null
   13931     lt_status=$?
   13932     case x$lt_status in
   13933       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13934       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13935       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13936     esac
   13937   else :
   13938     # compilation failed
   13939     lt_cv_dlopen_self=no
   13940   fi
   13941 fi
   13942 rm -fr conftest*
   13943 
   13944 
   13945 fi
   13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13947 $as_echo "$lt_cv_dlopen_self" >&6; }
   13948 
   13949     if test yes = "$lt_cv_dlopen_self"; then
   13950       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13951       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13952 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   13953 if ${lt_cv_dlopen_self_static+:} false; then :
   13954   $as_echo_n "(cached) " >&6
   13955 else
   13956   	  if test yes = "$cross_compiling"; then :
   13957   lt_cv_dlopen_self_static=cross
   13958 else
   13959   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13960   lt_status=$lt_dlunknown
   13961   cat > conftest.$ac_ext <<_LT_EOF
   13962 #line $LINENO "configure"
   13963 #include "confdefs.h"
   13964 
   13965 #if HAVE_DLFCN_H
   13966 #include <dlfcn.h>
   13967 #endif
   13968 
   13969 #include <stdio.h>
   13970 
   13971 #ifdef RTLD_GLOBAL
   13972 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13973 #else
   13974 #  ifdef DL_GLOBAL
   13975 #    define LT_DLGLOBAL		DL_GLOBAL
   13976 #  else
   13977 #    define LT_DLGLOBAL		0
   13978 #  endif
   13979 #endif
   13980 
   13981 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13982    find out it does not work in some platform. */
   13983 #ifndef LT_DLLAZY_OR_NOW
   13984 #  ifdef RTLD_LAZY
   13985 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13986 #  else
   13987 #    ifdef DL_LAZY
   13988 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13989 #    else
   13990 #      ifdef RTLD_NOW
   13991 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13992 #      else
   13993 #        ifdef DL_NOW
   13994 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13995 #        else
   13996 #          define LT_DLLAZY_OR_NOW	0
   13997 #        endif
   13998 #      endif
   13999 #    endif
   14000 #  endif
   14001 #endif
   14002 
   14003 /* When -fvisibility=hidden is used, assume the code has been annotated
   14004    correspondingly for the symbols needed.  */
   14005 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14006 int fnord () __attribute__((visibility("default")));
   14007 #endif
   14008 
   14009 int fnord () { return 42; }
   14010 int main ()
   14011 {
   14012   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14013   int status = $lt_dlunknown;
   14014 
   14015   if (self)
   14016     {
   14017       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14018       else
   14019         {
   14020 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14021           else puts (dlerror ());
   14022 	}
   14023       /* dlclose (self); */
   14024     }
   14025   else
   14026     puts (dlerror ());
   14027 
   14028   return status;
   14029 }
   14030 _LT_EOF
   14031   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14032   (eval $ac_link) 2>&5
   14033   ac_status=$?
   14034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14035   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14036     (./conftest; exit; ) >&5 2>/dev/null
   14037     lt_status=$?
   14038     case x$lt_status in
   14039       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14040       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14041       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14042     esac
   14043   else :
   14044     # compilation failed
   14045     lt_cv_dlopen_self_static=no
   14046   fi
   14047 fi
   14048 rm -fr conftest*
   14049 
   14050 
   14051 fi
   14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14053 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   14054     fi
   14055 
   14056     CPPFLAGS=$save_CPPFLAGS
   14057     LDFLAGS=$save_LDFLAGS
   14058     LIBS=$save_LIBS
   14059     ;;
   14060   esac
   14061 
   14062   case $lt_cv_dlopen_self in
   14063   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14064   *) enable_dlopen_self=unknown ;;
   14065   esac
   14066 
   14067   case $lt_cv_dlopen_self_static in
   14068   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14069   *) enable_dlopen_self_static=unknown ;;
   14070   esac
   14071 fi
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 striplib=
   14090 old_striplib=
   14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14092 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   14093 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14094   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   14095   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   14096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14097 $as_echo "yes" >&6; }
   14098 else
   14099 # FIXME - insert some real tests, host_os isn't really good enough
   14100   case $host_os in
   14101   darwin*)
   14102     if test -n "$STRIP"; then
   14103       striplib="$STRIP -x"
   14104       old_striplib="$STRIP -S"
   14105       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14106 $as_echo "yes" >&6; }
   14107     else
   14108       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14109 $as_echo "no" >&6; }
   14110     fi
   14111     ;;
   14112   *)
   14113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14114 $as_echo "no" >&6; }
   14115     ;;
   14116   esac
   14117 fi
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130   # Report what library types will actually be built
   14131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14132 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14134 $as_echo "$can_build_shared" >&6; }
   14135 
   14136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14137 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14138   test no = "$can_build_shared" && enable_shared=no
   14139 
   14140   # On AIX, shared libraries and static libraries use the same namespace, and
   14141   # are all built from PIC.
   14142   case $host_os in
   14143   aix3*)
   14144     test yes = "$enable_shared" && enable_static=no
   14145     if test -n "$RANLIB"; then
   14146       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14147       postinstall_cmds='$RANLIB $lib'
   14148     fi
   14149     ;;
   14150 
   14151   aix[4-9]*)
   14152     if test ia64 != "$host_cpu"; then
   14153       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14154       yes,aix,yes) ;;			# shared object as lib.so file only
   14155       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14156       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14157       esac
   14158     fi
   14159     ;;
   14160   esac
   14161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14162 $as_echo "$enable_shared" >&6; }
   14163 
   14164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14165 $as_echo_n "checking whether to build static libraries... " >&6; }
   14166   # Make sure either enable_shared or enable_static is yes.
   14167   test yes = "$enable_shared" || enable_static=yes
   14168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14169 $as_echo "$enable_static" >&6; }
   14170 
   14171 
   14172 
   14173 
   14174 fi
   14175 ac_ext=c
   14176 ac_cpp='$CPP $CPPFLAGS'
   14177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14180 
   14181 CC=$lt_save_CC
   14182 
   14183       if test -n "$CXX" && ( test no != "$CXX" &&
   14184     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   14185     (test g++ != "$CXX"))); then
   14186   ac_ext=cpp
   14187 ac_cpp='$CXXCPP $CPPFLAGS'
   14188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   14192 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   14193 if test -z "$CXXCPP"; then
   14194   if ${ac_cv_prog_CXXCPP+:} false; then :
   14195   $as_echo_n "(cached) " >&6
   14196 else
   14197       # Double quotes because CXXCPP needs to be expanded
   14198     for CXXCPP in "$CXX -E" "/lib/cpp"
   14199     do
   14200       ac_preproc_ok=false
   14201 for ac_cxx_preproc_warn_flag in '' yes
   14202 do
   14203   # Use a header file that comes with gcc, so configuring glibc
   14204   # with a fresh cross-compiler works.
   14205   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14206   # <limits.h> exists even on freestanding compilers.
   14207   # On the NeXT, cc -E runs the code through the compiler's parser,
   14208   # not just through cpp. "Syntax error" is here to catch this case.
   14209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14210 /* end confdefs.h.  */
   14211 #ifdef __STDC__
   14212 # include <limits.h>
   14213 #else
   14214 # include <assert.h>
   14215 #endif
   14216 		     Syntax error
   14217 _ACEOF
   14218 if ac_fn_cxx_try_cpp "$LINENO"; then :
   14219 
   14220 else
   14221   # Broken: fails on valid input.
   14222 continue
   14223 fi
   14224 rm -f conftest.err conftest.i conftest.$ac_ext
   14225 
   14226   # OK, works on sane cases.  Now check whether nonexistent headers
   14227   # can be detected and how.
   14228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14229 /* end confdefs.h.  */
   14230 #include <ac_nonexistent.h>
   14231 _ACEOF
   14232 if ac_fn_cxx_try_cpp "$LINENO"; then :
   14233   # Broken: success on invalid input.
   14234 continue
   14235 else
   14236   # Passes both tests.
   14237 ac_preproc_ok=:
   14238 break
   14239 fi
   14240 rm -f conftest.err conftest.i conftest.$ac_ext
   14241 
   14242 done
   14243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   14244 rm -f conftest.i conftest.err conftest.$ac_ext
   14245 if $ac_preproc_ok; then :
   14246   break
   14247 fi
   14248 
   14249     done
   14250     ac_cv_prog_CXXCPP=$CXXCPP
   14251 
   14252 fi
   14253   CXXCPP=$ac_cv_prog_CXXCPP
   14254 else
   14255   ac_cv_prog_CXXCPP=$CXXCPP
   14256 fi
   14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   14258 $as_echo "$CXXCPP" >&6; }
   14259 ac_preproc_ok=false
   14260 for ac_cxx_preproc_warn_flag in '' yes
   14261 do
   14262   # Use a header file that comes with gcc, so configuring glibc
   14263   # with a fresh cross-compiler works.
   14264   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14265   # <limits.h> exists even on freestanding compilers.
   14266   # On the NeXT, cc -E runs the code through the compiler's parser,
   14267   # not just through cpp. "Syntax error" is here to catch this case.
   14268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14269 /* end confdefs.h.  */
   14270 #ifdef __STDC__
   14271 # include <limits.h>
   14272 #else
   14273 # include <assert.h>
   14274 #endif
   14275 		     Syntax error
   14276 _ACEOF
   14277 if ac_fn_cxx_try_cpp "$LINENO"; then :
   14278 
   14279 else
   14280   # Broken: fails on valid input.
   14281 continue
   14282 fi
   14283 rm -f conftest.err conftest.i conftest.$ac_ext
   14284 
   14285   # OK, works on sane cases.  Now check whether nonexistent headers
   14286   # can be detected and how.
   14287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 #include <ac_nonexistent.h>
   14290 _ACEOF
   14291 if ac_fn_cxx_try_cpp "$LINENO"; then :
   14292   # Broken: success on invalid input.
   14293 continue
   14294 else
   14295   # Passes both tests.
   14296 ac_preproc_ok=:
   14297 break
   14298 fi
   14299 rm -f conftest.err conftest.i conftest.$ac_ext
   14300 
   14301 done
   14302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   14303 rm -f conftest.i conftest.err conftest.$ac_ext
   14304 if $ac_preproc_ok; then :
   14305 
   14306 else
   14307   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14309 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   14310 See \`config.log' for more details" "$LINENO" 5; }
   14311 fi
   14312 
   14313 ac_ext=c
   14314 ac_cpp='$CPP $CPPFLAGS'
   14315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14318 
   14319 else
   14320   _lt_caught_CXX_error=yes
   14321 fi
   14322 
   14323 ac_ext=cpp
   14324 ac_cpp='$CXXCPP $CPPFLAGS'
   14325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   14328 
   14329 archive_cmds_need_lc_CXX=no
   14330 allow_undefined_flag_CXX=
   14331 always_export_symbols_CXX=no
   14332 archive_expsym_cmds_CXX=
   14333 compiler_needs_object_CXX=no
   14334 export_dynamic_flag_spec_CXX=
   14335 hardcode_direct_CXX=no
   14336 hardcode_direct_absolute_CXX=no
   14337 hardcode_libdir_flag_spec_CXX=
   14338 hardcode_libdir_separator_CXX=
   14339 hardcode_minus_L_CXX=no
   14340 hardcode_shlibpath_var_CXX=unsupported
   14341 hardcode_automatic_CXX=no
   14342 inherit_rpath_CXX=no
   14343 module_cmds_CXX=
   14344 module_expsym_cmds_CXX=
   14345 link_all_deplibs_CXX=unknown
   14346 old_archive_cmds_CXX=$old_archive_cmds
   14347 reload_flag_CXX=$reload_flag
   14348 reload_cmds_CXX=$reload_cmds
   14349 no_undefined_flag_CXX=
   14350 whole_archive_flag_spec_CXX=
   14351 enable_shared_with_static_runtimes_CXX=no
   14352 
   14353 # Source file extension for C++ test sources.
   14354 ac_ext=cpp
   14355 
   14356 # Object file extension for compiled C++ test sources.
   14357 objext=o
   14358 objext_CXX=$objext
   14359 
   14360 # No sense in running all these tests if we already determined that
   14361 # the CXX compiler isn't working.  Some variables (like enable_shared)
   14362 # are currently assumed to apply to all compilers on this platform,
   14363 # and will be corrupted by setting them based on a non-working compiler.
   14364 if test yes != "$_lt_caught_CXX_error"; then
   14365   # Code to be used in simple compile tests
   14366   lt_simple_compile_test_code="int some_variable = 0;"
   14367 
   14368   # Code to be used in simple link tests
   14369   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   14370 
   14371   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 # If no C compiler was specified, use CC.
   14379 LTCC=${LTCC-"$CC"}
   14380 
   14381 # If no C compiler flags were specified, use CFLAGS.
   14382 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14383 
   14384 # Allow CC to be a program name with arguments.
   14385 compiler=$CC
   14386 
   14387 
   14388   # save warnings/boilerplate of simple test code
   14389   ac_outfile=conftest.$ac_objext
   14390 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14391 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14392 _lt_compiler_boilerplate=`cat conftest.err`
   14393 $RM conftest*
   14394 
   14395   ac_outfile=conftest.$ac_objext
   14396 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14397 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14398 _lt_linker_boilerplate=`cat conftest.err`
   14399 $RM -r conftest*
   14400 
   14401 
   14402   # Allow CC to be a program name with arguments.
   14403   lt_save_CC=$CC
   14404   lt_save_CFLAGS=$CFLAGS
   14405   lt_save_LD=$LD
   14406   lt_save_GCC=$GCC
   14407   GCC=$GXX
   14408   lt_save_with_gnu_ld=$with_gnu_ld
   14409   lt_save_path_LD=$lt_cv_path_LD
   14410   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   14411     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   14412   else
   14413     $as_unset lt_cv_prog_gnu_ld
   14414   fi
   14415   if test -n "${lt_cv_path_LDCXX+set}"; then
   14416     lt_cv_path_LD=$lt_cv_path_LDCXX
   14417   else
   14418     $as_unset lt_cv_path_LD
   14419   fi
   14420   test -z "${LDCXX+set}" || LD=$LDCXX
   14421   CC=${CXX-"c++"}
   14422   CFLAGS=$CXXFLAGS
   14423   compiler=$CC
   14424   compiler_CXX=$CC
   14425   func_cc_basename $compiler
   14426 cc_basename=$func_cc_basename_result
   14427 
   14428 
   14429   if test -n "$compiler"; then
   14430     # We don't want -fno-exception when compiling C++ code, so set the
   14431     # no_builtin_flag separately
   14432     if test yes = "$GXX"; then
   14433       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   14434     else
   14435       lt_prog_compiler_no_builtin_flag_CXX=
   14436     fi
   14437 
   14438     if test yes = "$GXX"; then
   14439       # Set up default GNU C++ configuration
   14440 
   14441 
   14442 
   14443 # Check whether --with-gnu-ld was given.
   14444 if test "${with_gnu_ld+set}" = set; then :
   14445   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   14446 else
   14447   with_gnu_ld=no
   14448 fi
   14449 
   14450 ac_prog=ld
   14451 if test yes = "$GCC"; then
   14452   # Check if gcc -print-prog-name=ld gives a path.
   14453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   14454 $as_echo_n "checking for ld used by $CC... " >&6; }
   14455   case $host in
   14456   *-*-mingw*)
   14457     # gcc leaves a trailing carriage return, which upsets mingw
   14458     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   14459   *)
   14460     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   14461   esac
   14462   case $ac_prog in
   14463     # Accept absolute paths.
   14464     [\\/]* | ?:[\\/]*)
   14465       re_direlt='/[^/][^/]*/\.\./'
   14466       # Canonicalize the pathname of ld
   14467       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   14468       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   14469 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   14470       done
   14471       test -z "$LD" && LD=$ac_prog
   14472       ;;
   14473   "")
   14474     # If it fails, then pretend we aren't using GCC.
   14475     ac_prog=ld
   14476     ;;
   14477   *)
   14478     # If it is relative, then search for the first ld in PATH.
   14479     with_gnu_ld=unknown
   14480     ;;
   14481   esac
   14482 elif test yes = "$with_gnu_ld"; then
   14483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   14484 $as_echo_n "checking for GNU ld... " >&6; }
   14485 else
   14486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   14487 $as_echo_n "checking for non-GNU ld... " >&6; }
   14488 fi
   14489 if ${lt_cv_path_LD+:} false; then :
   14490   $as_echo_n "(cached) " >&6
   14491 else
   14492   if test -z "$LD"; then
   14493   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14494   for ac_dir in $PATH; do
   14495     IFS=$lt_save_ifs
   14496     test -z "$ac_dir" && ac_dir=.
   14497     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   14498       lt_cv_path_LD=$ac_dir/$ac_prog
   14499       # Check to see if the program is GNU ld.  I'd rather use --version,
   14500       # but apparently some variants of GNU ld only accept -v.
   14501       # Break only if it was the GNU/non-GNU ld that we prefer.
   14502       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   14503       *GNU* | *'with BFD'*)
   14504 	test no != "$with_gnu_ld" && break
   14505 	;;
   14506       *)
   14507 	test yes != "$with_gnu_ld" && break
   14508 	;;
   14509       esac
   14510     fi
   14511   done
   14512   IFS=$lt_save_ifs
   14513 else
   14514   lt_cv_path_LD=$LD # Let the user override the test with a path.
   14515 fi
   14516 fi
   14517 
   14518 LD=$lt_cv_path_LD
   14519 if test -n "$LD"; then
   14520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   14521 $as_echo "$LD" >&6; }
   14522 else
   14523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14524 $as_echo "no" >&6; }
   14525 fi
   14526 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   14528 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   14529 if ${lt_cv_prog_gnu_ld+:} false; then :
   14530   $as_echo_n "(cached) " >&6
   14531 else
   14532   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   14533 case `$LD -v 2>&1 </dev/null` in
   14534 *GNU* | *'with BFD'*)
   14535   lt_cv_prog_gnu_ld=yes
   14536   ;;
   14537 *)
   14538   lt_cv_prog_gnu_ld=no
   14539   ;;
   14540 esac
   14541 fi
   14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   14543 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   14544 with_gnu_ld=$lt_cv_prog_gnu_ld
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   14553       # archiving commands below assume that GNU ld is being used.
   14554       if test yes = "$with_gnu_ld"; then
   14555         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   14556         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14557 
   14558         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   14559         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   14560 
   14561         # If archive_cmds runs LD, not CC, wlarc should be empty
   14562         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   14563         #     investigate it a little bit more. (MM)
   14564         wlarc='$wl'
   14565 
   14566         # ancient GNU ld didn't support --whole-archive et. al.
   14567         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   14568 	  $GREP 'no-whole-archive' > /dev/null; then
   14569           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   14570         else
   14571           whole_archive_flag_spec_CXX=
   14572         fi
   14573       else
   14574         with_gnu_ld=no
   14575         wlarc=
   14576 
   14577         # A generic and very simple default shared library creation
   14578         # command for GNU C++ for the case where it uses the native
   14579         # linker, instead of GNU ld.  If possible, this setting should
   14580         # overridden to take advantage of the native linker features on
   14581         # the platform it is being used on.
   14582         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   14583       fi
   14584 
   14585       # Commands to make compiler produce verbose output that lists
   14586       # what "hidden" libraries, object files and flags are used when
   14587       # linking a shared library.
   14588       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14589 
   14590     else
   14591       GXX=no
   14592       with_gnu_ld=no
   14593       wlarc=
   14594     fi
   14595 
   14596     # PORTME: fill in a description of your system's C++ link characteristics
   14597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14598 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14599     ld_shlibs_CXX=yes
   14600     case $host_os in
   14601       aix3*)
   14602         # FIXME: insert proper C++ library support
   14603         ld_shlibs_CXX=no
   14604         ;;
   14605       aix[4-9]*)
   14606         if test ia64 = "$host_cpu"; then
   14607           # On IA64, the linker does run time linking by default, so we don't
   14608           # have to do anything special.
   14609           aix_use_runtimelinking=no
   14610           exp_sym_flag='-Bexport'
   14611           no_entry_flag=
   14612         else
   14613           aix_use_runtimelinking=no
   14614 
   14615           # Test if we are trying to use run time linking or normal
   14616           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14617           # have runtime linking enabled, and use it for executables.
   14618           # For shared libraries, we enable/disable runtime linking
   14619           # depending on the kind of the shared library created -
   14620           # when "with_aix_soname,aix_use_runtimelinking" is:
   14621           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   14622           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   14623           #            lib.a           static archive
   14624           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   14625           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   14626           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   14627           #            lib.a(lib.so.V) shared, rtl:no
   14628           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   14629           #            lib.a           static archive
   14630           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14631 	    for ld_flag in $LDFLAGS; do
   14632 	      case $ld_flag in
   14633 	      *-brtl*)
   14634 	        aix_use_runtimelinking=yes
   14635 	        break
   14636 	        ;;
   14637 	      esac
   14638 	    done
   14639 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   14640 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   14641 	      # so we don't have lib.a shared libs to link our executables.
   14642 	      # We have to force runtime linking in this case.
   14643 	      aix_use_runtimelinking=yes
   14644 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   14645 	    fi
   14646 	    ;;
   14647           esac
   14648 
   14649           exp_sym_flag='-bexport'
   14650           no_entry_flag='-bnoentry'
   14651         fi
   14652 
   14653         # When large executables or shared objects are built, AIX ld can
   14654         # have problems creating the table of contents.  If linking a library
   14655         # or program results in "error TOC overflow" add -mminimal-toc to
   14656         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14657         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14658 
   14659         archive_cmds_CXX=''
   14660         hardcode_direct_CXX=yes
   14661         hardcode_direct_absolute_CXX=yes
   14662         hardcode_libdir_separator_CXX=':'
   14663         link_all_deplibs_CXX=yes
   14664         file_list_spec_CXX='$wl-f,'
   14665         case $with_aix_soname,$aix_use_runtimelinking in
   14666         aix,*) ;;	# no import file
   14667         svr4,* | *,yes) # use import file
   14668           # The Import File defines what to hardcode.
   14669           hardcode_direct_CXX=no
   14670           hardcode_direct_absolute_CXX=no
   14671           ;;
   14672         esac
   14673 
   14674         if test yes = "$GXX"; then
   14675           case $host_os in aix4.[012]|aix4.[012].*)
   14676           # We only want to do this on AIX 4.2 and lower, the check
   14677           # below for broken collect2 doesn't work under 4.3+
   14678 	  collect2name=`$CC -print-prog-name=collect2`
   14679 	  if test -f "$collect2name" &&
   14680 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   14681 	  then
   14682 	    # We have reworked collect2
   14683 	    :
   14684 	  else
   14685 	    # We have old collect2
   14686 	    hardcode_direct_CXX=unsupported
   14687 	    # It fails to find uninstalled libraries when the uninstalled
   14688 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   14689 	    # to unsupported forces relinking
   14690 	    hardcode_minus_L_CXX=yes
   14691 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   14692 	    hardcode_libdir_separator_CXX=
   14693 	  fi
   14694           esac
   14695           shared_flag='-shared'
   14696 	  if test yes = "$aix_use_runtimelinking"; then
   14697 	    shared_flag=$shared_flag' $wl-G'
   14698 	  fi
   14699 	  # Need to ensure runtime linking is disabled for the traditional
   14700 	  # shared library, or the linker may eventually find shared libraries
   14701 	  # /with/ Import File - we do not want to mix them.
   14702 	  shared_flag_aix='-shared'
   14703 	  shared_flag_svr4='-shared $wl-G'
   14704         else
   14705           # not using gcc
   14706           if test ia64 = "$host_cpu"; then
   14707 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14708 	  # chokes on -Wl,-G. The following line is correct:
   14709 	  shared_flag='-G'
   14710           else
   14711 	    if test yes = "$aix_use_runtimelinking"; then
   14712 	      shared_flag='$wl-G'
   14713 	    else
   14714 	      shared_flag='$wl-bM:SRE'
   14715 	    fi
   14716 	    shared_flag_aix='$wl-bM:SRE'
   14717 	    shared_flag_svr4='$wl-G'
   14718           fi
   14719         fi
   14720 
   14721         export_dynamic_flag_spec_CXX='$wl-bexpall'
   14722         # It seems that -bexpall does not export symbols beginning with
   14723         # underscore (_), so it is better to generate a list of symbols to
   14724 	# export.
   14725         always_export_symbols_CXX=yes
   14726 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   14727           # Warning - without using the other runtime loading flags (-brtl),
   14728           # -berok will link without error, but may produce a broken library.
   14729           # The "-G" linker flag allows undefined symbols.
   14730           no_undefined_flag_CXX='-bernotok'
   14731           # Determine the default libpath from the value encoded in an empty
   14732           # executable.
   14733           if test set = "${lt_cv_aix_libpath+set}"; then
   14734   aix_libpath=$lt_cv_aix_libpath
   14735 else
   14736   if ${lt_cv_aix_libpath__CXX+:} false; then :
   14737   $as_echo_n "(cached) " >&6
   14738 else
   14739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14740 /* end confdefs.h.  */
   14741 
   14742 int
   14743 main ()
   14744 {
   14745 
   14746   ;
   14747   return 0;
   14748 }
   14749 _ACEOF
   14750 if ac_fn_cxx_try_link "$LINENO"; then :
   14751 
   14752   lt_aix_libpath_sed='
   14753       /Import File Strings/,/^$/ {
   14754 	  /^0/ {
   14755 	      s/^0  *\([^ ]*\) *$/\1/
   14756 	      p
   14757 	  }
   14758       }'
   14759   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14760   # Check for a 64-bit object if we didn't find anything.
   14761   if test -z "$lt_cv_aix_libpath__CXX"; then
   14762     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14763   fi
   14764 fi
   14765 rm -f core conftest.err conftest.$ac_objext \
   14766     conftest$ac_exeext conftest.$ac_ext
   14767   if test -z "$lt_cv_aix_libpath__CXX"; then
   14768     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   14769   fi
   14770 
   14771 fi
   14772 
   14773   aix_libpath=$lt_cv_aix_libpath__CXX
   14774 fi
   14775 
   14776           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   14777 
   14778           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   14779         else
   14780           if test ia64 = "$host_cpu"; then
   14781 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   14782 	    allow_undefined_flag_CXX="-z nodefs"
   14783 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
   14784           else
   14785 	    # Determine the default libpath from the value encoded in an
   14786 	    # empty executable.
   14787 	    if test set = "${lt_cv_aix_libpath+set}"; then
   14788   aix_libpath=$lt_cv_aix_libpath
   14789 else
   14790   if ${lt_cv_aix_libpath__CXX+:} false; then :
   14791   $as_echo_n "(cached) " >&6
   14792 else
   14793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14794 /* end confdefs.h.  */
   14795 
   14796 int
   14797 main ()
   14798 {
   14799 
   14800   ;
   14801   return 0;
   14802 }
   14803 _ACEOF
   14804 if ac_fn_cxx_try_link "$LINENO"; then :
   14805 
   14806   lt_aix_libpath_sed='
   14807       /Import File Strings/,/^$/ {
   14808 	  /^0/ {
   14809 	      s/^0  *\([^ ]*\) *$/\1/
   14810 	      p
   14811 	  }
   14812       }'
   14813   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14814   # Check for a 64-bit object if we didn't find anything.
   14815   if test -z "$lt_cv_aix_libpath__CXX"; then
   14816     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14817   fi
   14818 fi
   14819 rm -f core conftest.err conftest.$ac_objext \
   14820     conftest$ac_exeext conftest.$ac_ext
   14821   if test -z "$lt_cv_aix_libpath__CXX"; then
   14822     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   14823   fi
   14824 
   14825 fi
   14826 
   14827   aix_libpath=$lt_cv_aix_libpath__CXX
   14828 fi
   14829 
   14830 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   14831 	    # Warning - without using the other run time loading flags,
   14832 	    # -berok will link without error, but may produce a broken library.
   14833 	    no_undefined_flag_CXX=' $wl-bernotok'
   14834 	    allow_undefined_flag_CXX=' $wl-berok'
   14835 	    if test yes = "$with_gnu_ld"; then
   14836 	      # We only use this code for GNU lds that support --whole-archive.
   14837 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   14838 	    else
   14839 	      # Exported symbols can be pulled into shared objects from archives
   14840 	      whole_archive_flag_spec_CXX='$convenience'
   14841 	    fi
   14842 	    archive_cmds_need_lc_CXX=yes
   14843 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   14844 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   14845 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   14846 	    if test svr4 != "$with_aix_soname"; then
   14847 	      # This is similar to how AIX traditionally builds its shared
   14848 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   14849 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   14850 	    fi
   14851 	    if test aix != "$with_aix_soname"; then
   14852 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   14853 	    else
   14854 	      # used by -dlpreopen to get the symbols
   14855 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   14856 	    fi
   14857 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   14858           fi
   14859         fi
   14860         ;;
   14861 
   14862       beos*)
   14863 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14864 	  allow_undefined_flag_CXX=unsupported
   14865 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14866 	  # support --undefined.  This deserves some investigation.  FIXME
   14867 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14868 	else
   14869 	  ld_shlibs_CXX=no
   14870 	fi
   14871 	;;
   14872 
   14873       chorus*)
   14874         case $cc_basename in
   14875           *)
   14876 	  # FIXME: insert proper C++ library support
   14877 	  ld_shlibs_CXX=no
   14878 	  ;;
   14879         esac
   14880         ;;
   14881 
   14882       cygwin* | mingw* | pw32* | cegcc*)
   14883 	case $GXX,$cc_basename in
   14884 	,cl* | no,cl*)
   14885 	  # Native MSVC
   14886 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   14887 	  # no search path for DLLs.
   14888 	  hardcode_libdir_flag_spec_CXX=' '
   14889 	  allow_undefined_flag_CXX=unsupported
   14890 	  always_export_symbols_CXX=yes
   14891 	  file_list_spec_CXX='@'
   14892 	  # Tell ltmain to make .lib files, not .a files.
   14893 	  libext=lib
   14894 	  # Tell ltmain to make .dll files, not .so files.
   14895 	  shrext_cmds=.dll
   14896 	  # FIXME: Setting linknames here is a bad hack.
   14897 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   14898 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14899               cp "$export_symbols" "$output_objdir/$soname.def";
   14900               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   14901             else
   14902               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   14903             fi~
   14904             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   14905             linknames='
   14906 	  # The linker will not automatically build a static lib if we build a DLL.
   14907 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   14908 	  enable_shared_with_static_runtimes_CXX=yes
   14909 	  # Don't use ranlib
   14910 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   14911 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   14912             lt_tool_outputfile="@TOOL_OUTPUT@"~
   14913             case $lt_outputfile in
   14914               *.exe|*.EXE) ;;
   14915               *)
   14916                 lt_outputfile=$lt_outputfile.exe
   14917                 lt_tool_outputfile=$lt_tool_outputfile.exe
   14918                 ;;
   14919             esac~
   14920             func_to_tool_file "$lt_outputfile"~
   14921             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   14922               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   14923               $RM "$lt_outputfile.manifest";
   14924             fi'
   14925 	  ;;
   14926 	*)
   14927 	  # g++
   14928 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   14929 	  # as there is no search path for DLLs.
   14930 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   14931 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   14932 	  allow_undefined_flag_CXX=unsupported
   14933 	  always_export_symbols_CXX=no
   14934 	  enable_shared_with_static_runtimes_CXX=yes
   14935 
   14936 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   14937 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14938 	    # If the export-symbols file already is a .def file, use it as
   14939 	    # is; otherwise, prepend EXPORTS...
   14940 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14941               cp $export_symbols $output_objdir/$soname.def;
   14942             else
   14943               echo EXPORTS > $output_objdir/$soname.def;
   14944               cat $export_symbols >> $output_objdir/$soname.def;
   14945             fi~
   14946             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14947 	  else
   14948 	    ld_shlibs_CXX=no
   14949 	  fi
   14950 	  ;;
   14951 	esac
   14952 	;;
   14953       darwin* | rhapsody*)
   14954 
   14955 
   14956   archive_cmds_need_lc_CXX=no
   14957   hardcode_direct_CXX=no
   14958   hardcode_automatic_CXX=yes
   14959   hardcode_shlibpath_var_CXX=unsupported
   14960   if test yes = "$lt_cv_ld_force_load"; then
   14961     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   14962 
   14963   else
   14964     whole_archive_flag_spec_CXX=''
   14965   fi
   14966   link_all_deplibs_CXX=yes
   14967   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   14968   case $cc_basename in
   14969      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   14970      *) _lt_dar_can_shared=$GCC ;;
   14971   esac
   14972   if test yes = "$_lt_dar_can_shared"; then
   14973     output_verbose_link_cmd=func_echo_all
   14974     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   14975     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   14976     archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
   14977     module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
   14978        if test yes != "$lt_cv_apple_cc_single_mod"; then
   14979       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
   14980       archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
   14981     fi
   14982 
   14983   else
   14984   ld_shlibs_CXX=no
   14985   fi
   14986 
   14987 	;;
   14988 
   14989       os2*)
   14990 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   14991 	hardcode_minus_L_CXX=yes
   14992 	allow_undefined_flag_CXX=unsupported
   14993 	shrext_cmds=.dll
   14994 	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14995 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14996 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14997 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   14998 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   14999 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15000 	  emximp -o $lib $output_objdir/$libname.def'
   15001 	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15002 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15003 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15004 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   15005 	  prefix_cmds="$SED"~
   15006 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15007 	    prefix_cmds="$prefix_cmds -e 1d";
   15008 	  fi~
   15009 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15010 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15011 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15012 	  emximp -o $lib $output_objdir/$libname.def'
   15013 	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15014 	enable_shared_with_static_runtimes_CXX=yes
   15015 	;;
   15016 
   15017       dgux*)
   15018         case $cc_basename in
   15019           ec++*)
   15020 	    # FIXME: insert proper C++ library support
   15021 	    ld_shlibs_CXX=no
   15022 	    ;;
   15023           ghcx*)
   15024 	    # Green Hills C++ Compiler
   15025 	    # FIXME: insert proper C++ library support
   15026 	    ld_shlibs_CXX=no
   15027 	    ;;
   15028           *)
   15029 	    # FIXME: insert proper C++ library support
   15030 	    ld_shlibs_CXX=no
   15031 	    ;;
   15032         esac
   15033         ;;
   15034 
   15035       freebsd2.*)
   15036         # C++ shared libraries reported to be fairly broken before
   15037 	# switch to ELF
   15038         ld_shlibs_CXX=no
   15039         ;;
   15040 
   15041       freebsd-elf*)
   15042         archive_cmds_need_lc_CXX=no
   15043         ;;
   15044 
   15045       freebsd* | dragonfly*)
   15046         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   15047         # conventions
   15048         ld_shlibs_CXX=yes
   15049         ;;
   15050 
   15051       haiku*)
   15052         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15053         link_all_deplibs_CXX=yes
   15054         ;;
   15055 
   15056       hpux9*)
   15057         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   15058         hardcode_libdir_separator_CXX=:
   15059         export_dynamic_flag_spec_CXX='$wl-E'
   15060         hardcode_direct_CXX=yes
   15061         hardcode_minus_L_CXX=yes # Not in the search PATH,
   15062 				             # but as the default
   15063 				             # location of the library.
   15064 
   15065         case $cc_basename in
   15066           CC*)
   15067             # FIXME: insert proper C++ library support
   15068             ld_shlibs_CXX=no
   15069             ;;
   15070           aCC*)
   15071             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   15072             # Commands to make compiler produce verbose output that lists
   15073             # what "hidden" libraries, object files and flags are used when
   15074             # linking a shared library.
   15075             #
   15076             # There doesn't appear to be a way to prevent this compiler from
   15077             # explicitly linking system object files so we need to strip them
   15078             # from the output so that they don't get included in the library
   15079             # dependencies.
   15080             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   15081             ;;
   15082           *)
   15083             if test yes = "$GXX"; then
   15084               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   15085             else
   15086               # FIXME: insert proper C++ library support
   15087               ld_shlibs_CXX=no
   15088             fi
   15089             ;;
   15090         esac
   15091         ;;
   15092 
   15093       hpux10*|hpux11*)
   15094         if test no = "$with_gnu_ld"; then
   15095 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   15096 	  hardcode_libdir_separator_CXX=:
   15097 
   15098           case $host_cpu in
   15099             hppa*64*|ia64*)
   15100               ;;
   15101             *)
   15102 	      export_dynamic_flag_spec_CXX='$wl-E'
   15103               ;;
   15104           esac
   15105         fi
   15106         case $host_cpu in
   15107           hppa*64*|ia64*)
   15108             hardcode_direct_CXX=no
   15109             hardcode_shlibpath_var_CXX=no
   15110             ;;
   15111           *)
   15112             hardcode_direct_CXX=yes
   15113             hardcode_direct_absolute_CXX=yes
   15114             hardcode_minus_L_CXX=yes # Not in the search PATH,
   15115 					         # but as the default
   15116 					         # location of the library.
   15117             ;;
   15118         esac
   15119 
   15120         case $cc_basename in
   15121           CC*)
   15122 	    # FIXME: insert proper C++ library support
   15123 	    ld_shlibs_CXX=no
   15124 	    ;;
   15125           aCC*)
   15126 	    case $host_cpu in
   15127 	      hppa*64*)
   15128 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15129 	        ;;
   15130 	      ia64*)
   15131 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15132 	        ;;
   15133 	      *)
   15134 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15135 	        ;;
   15136 	    esac
   15137 	    # Commands to make compiler produce verbose output that lists
   15138 	    # what "hidden" libraries, object files and flags are used when
   15139 	    # linking a shared library.
   15140 	    #
   15141 	    # There doesn't appear to be a way to prevent this compiler from
   15142 	    # explicitly linking system object files so we need to strip them
   15143 	    # from the output so that they don't get included in the library
   15144 	    # dependencies.
   15145 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   15146 	    ;;
   15147           *)
   15148 	    if test yes = "$GXX"; then
   15149 	      if test no = "$with_gnu_ld"; then
   15150 	        case $host_cpu in
   15151 	          hppa*64*)
   15152 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15153 	            ;;
   15154 	          ia64*)
   15155 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15156 	            ;;
   15157 	          *)
   15158 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15159 	            ;;
   15160 	        esac
   15161 	      fi
   15162 	    else
   15163 	      # FIXME: insert proper C++ library support
   15164 	      ld_shlibs_CXX=no
   15165 	    fi
   15166 	    ;;
   15167         esac
   15168         ;;
   15169 
   15170       interix[3-9]*)
   15171 	hardcode_direct_CXX=no
   15172 	hardcode_shlibpath_var_CXX=no
   15173 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   15174 	export_dynamic_flag_spec_CXX='$wl-E'
   15175 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15176 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   15177 	# default) and relocated if they conflict, which is a slow very memory
   15178 	# consuming and fragmenting process.  To avoid this, we pick a random,
   15179 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15180 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15181 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15182 	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15183 	;;
   15184       irix5* | irix6*)
   15185         case $cc_basename in
   15186           CC*)
   15187 	    # SGI C++
   15188 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   15189 
   15190 	    # Archives containing C++ object files must be created using
   15191 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   15192 	    # necessary to make sure instantiated templates are included
   15193 	    # in the archive.
   15194 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   15195 	    ;;
   15196           *)
   15197 	    if test yes = "$GXX"; then
   15198 	      if test no = "$with_gnu_ld"; then
   15199 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
   15200 	      else
   15201 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
   15202 	      fi
   15203 	    fi
   15204 	    link_all_deplibs_CXX=yes
   15205 	    ;;
   15206         esac
   15207         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   15208         hardcode_libdir_separator_CXX=:
   15209         inherit_rpath_CXX=yes
   15210         ;;
   15211 
   15212       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15213         case $cc_basename in
   15214           KCC*)
   15215 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   15216 
   15217 	    # KCC will only create a shared library if the output file
   15218 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   15219 	    # to its proper name (with version) after linking.
   15220 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   15221 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
   15222 	    # Commands to make compiler produce verbose output that lists
   15223 	    # what "hidden" libraries, object files and flags are used when
   15224 	    # linking a shared library.
   15225 	    #
   15226 	    # There doesn't appear to be a way to prevent this compiler from
   15227 	    # explicitly linking system object files so we need to strip them
   15228 	    # from the output so that they don't get included in the library
   15229 	    # dependencies.
   15230 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   15231 
   15232 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   15233 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   15234 
   15235 	    # Archives containing C++ object files must be created using
   15236 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   15237 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   15238 	    ;;
   15239 	  icpc* | ecpc* )
   15240 	    # Intel C++
   15241 	    with_gnu_ld=yes
   15242 	    # version 8.0 and above of icpc choke on multiply defined symbols
   15243 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   15244 	    # earlier do not add the objects themselves.
   15245 	    case `$CC -V 2>&1` in
   15246 	      *"Version 7."*)
   15247 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   15248 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15249 		;;
   15250 	      *)  # Version 8.0 or newer
   15251 	        tmp_idyn=
   15252 	        case $host_cpu in
   15253 		  ia64*) tmp_idyn=' -i_dynamic';;
   15254 		esac
   15255 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15256 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15257 		;;
   15258 	    esac
   15259 	    archive_cmds_need_lc_CXX=no
   15260 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   15261 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   15262 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   15263 	    ;;
   15264           pgCC* | pgcpp*)
   15265             # Portland Group C++ compiler
   15266 	    case `$CC -V` in
   15267 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   15268 	      prelink_cmds_CXX='tpldir=Template.dir~
   15269                rm -rf $tpldir~
   15270                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   15271                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   15272 	      old_archive_cmds_CXX='tpldir=Template.dir~
   15273                 rm -rf $tpldir~
   15274                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   15275                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   15276                 $RANLIB $oldlib'
   15277 	      archive_cmds_CXX='tpldir=Template.dir~
   15278                 rm -rf $tpldir~
   15279                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   15280                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   15281 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   15282                 rm -rf $tpldir~
   15283                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   15284                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15285 	      ;;
   15286 	    *) # Version 6 and above use weak symbols
   15287 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   15288 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15289 	      ;;
   15290 	    esac
   15291 
   15292 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   15293 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   15294 	    whole_archive_flag_spec_CXX='$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'
   15295             ;;
   15296 	  cxx*)
   15297 	    # Compaq C++
   15298 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   15299 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
   15300 
   15301 	    runpath_var=LD_RUN_PATH
   15302 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   15303 	    hardcode_libdir_separator_CXX=:
   15304 
   15305 	    # Commands to make compiler produce verbose output that lists
   15306 	    # what "hidden" libraries, object files and flags are used when
   15307 	    # linking a shared library.
   15308 	    #
   15309 	    # There doesn't appear to be a way to prevent this compiler from
   15310 	    # explicitly linking system object files so we need to strip them
   15311 	    # from the output so that they don't get included in the library
   15312 	    # dependencies.
   15313 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   15314 	    ;;
   15315 	  xl* | mpixl* | bgxl*)
   15316 	    # IBM XL 8.0 on PPC, with GNU ld
   15317 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   15318 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   15319 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15320 	    if test yes = "$supports_anon_versioning"; then
   15321 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   15322                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15323                 echo "local: *; };" >> $output_objdir/$libname.ver~
   15324                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15325 	    fi
   15326 	    ;;
   15327 	  *)
   15328 	    case `$CC -V 2>&1 | sed 5q` in
   15329 	    *Sun\ C*)
   15330 	      # Sun C++ 5.9
   15331 	      no_undefined_flag_CXX=' -zdefs'
   15332 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15333 	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
   15334 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   15335 	      whole_archive_flag_spec_CXX='$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'
   15336 	      compiler_needs_object_CXX=yes
   15337 
   15338 	      # Not sure whether something based on
   15339 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   15340 	      # would be better.
   15341 	      output_verbose_link_cmd='func_echo_all'
   15342 
   15343 	      # Archives containing C++ object files must be created using
   15344 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   15345 	      # necessary to make sure instantiated templates are included
   15346 	      # in the archive.
   15347 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   15348 	      ;;
   15349 	    esac
   15350 	    ;;
   15351 	esac
   15352 	;;
   15353 
   15354       lynxos*)
   15355         # FIXME: insert proper C++ library support
   15356 	ld_shlibs_CXX=no
   15357 	;;
   15358 
   15359       m88k*)
   15360         # FIXME: insert proper C++ library support
   15361         ld_shlibs_CXX=no
   15362 	;;
   15363 
   15364       mvs*)
   15365         case $cc_basename in
   15366           cxx*)
   15367 	    # FIXME: insert proper C++ library support
   15368 	    ld_shlibs_CXX=no
   15369 	    ;;
   15370 	  *)
   15371 	    # FIXME: insert proper C++ library support
   15372 	    ld_shlibs_CXX=no
   15373 	    ;;
   15374 	esac
   15375 	;;
   15376 
   15377       netbsd*)
   15378         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15379 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   15380 	  wlarc=
   15381 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   15382 	  hardcode_direct_CXX=yes
   15383 	  hardcode_shlibpath_var_CXX=no
   15384 	fi
   15385 	# Workaround some broken pre-1.5 toolchains
   15386 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   15387 	;;
   15388 
   15389       *nto* | *qnx*)
   15390         ld_shlibs_CXX=yes
   15391 	;;
   15392 
   15393       openbsd* | bitrig*)
   15394 	if test -f /usr/libexec/ld.so; then
   15395 	  hardcode_direct_CXX=yes
   15396 	  hardcode_shlibpath_var_CXX=no
   15397 	  hardcode_direct_absolute_CXX=yes
   15398 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   15399 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   15400 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   15401 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   15402 	    export_dynamic_flag_spec_CXX='$wl-E'
   15403 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15404 	  fi
   15405 	  output_verbose_link_cmd=func_echo_all
   15406 	else
   15407 	  ld_shlibs_CXX=no
   15408 	fi
   15409 	;;
   15410 
   15411       osf3* | osf4* | osf5*)
   15412         case $cc_basename in
   15413           KCC*)
   15414 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   15415 
   15416 	    # KCC will only create a shared library if the output file
   15417 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   15418 	    # to its proper name (with version) after linking.
   15419 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   15420 
   15421 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   15422 	    hardcode_libdir_separator_CXX=:
   15423 
   15424 	    # Archives containing C++ object files must be created using
   15425 	    # the KAI C++ compiler.
   15426 	    case $host in
   15427 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   15428 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   15429 	    esac
   15430 	    ;;
   15431           RCC*)
   15432 	    # Rational C++ 2.4.1
   15433 	    # FIXME: insert proper C++ library support
   15434 	    ld_shlibs_CXX=no
   15435 	    ;;
   15436           cxx*)
   15437 	    case $host in
   15438 	      osf3*)
   15439 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   15440 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   15441 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   15442 		;;
   15443 	      *)
   15444 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   15445 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   15446 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   15447                   echo "-hidden">> $lib.exp~
   15448                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
   15449                   $RM $lib.exp'
   15450 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   15451 		;;
   15452 	    esac
   15453 
   15454 	    hardcode_libdir_separator_CXX=:
   15455 
   15456 	    # Commands to make compiler produce verbose output that lists
   15457 	    # what "hidden" libraries, object files and flags are used when
   15458 	    # linking a shared library.
   15459 	    #
   15460 	    # There doesn't appear to be a way to prevent this compiler from
   15461 	    # explicitly linking system object files so we need to strip them
   15462 	    # from the output so that they don't get included in the library
   15463 	    # dependencies.
   15464 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   15465 	    ;;
   15466 	  *)
   15467 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   15468 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   15469 	      case $host in
   15470 	        osf3*)
   15471 	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
   15472 		  ;;
   15473 	        *)
   15474 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
   15475 		  ;;
   15476 	      esac
   15477 
   15478 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   15479 	      hardcode_libdir_separator_CXX=:
   15480 
   15481 	      # Commands to make compiler produce verbose output that lists
   15482 	      # what "hidden" libraries, object files and flags are used when
   15483 	      # linking a shared library.
   15484 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   15485 
   15486 	    else
   15487 	      # FIXME: insert proper C++ library support
   15488 	      ld_shlibs_CXX=no
   15489 	    fi
   15490 	    ;;
   15491         esac
   15492         ;;
   15493 
   15494       psos*)
   15495         # FIXME: insert proper C++ library support
   15496         ld_shlibs_CXX=no
   15497         ;;
   15498 
   15499       sunos4*)
   15500         case $cc_basename in
   15501           CC*)
   15502 	    # Sun C++ 4.x
   15503 	    # FIXME: insert proper C++ library support
   15504 	    ld_shlibs_CXX=no
   15505 	    ;;
   15506           lcc*)
   15507 	    # Lucid
   15508 	    # FIXME: insert proper C++ library support
   15509 	    ld_shlibs_CXX=no
   15510 	    ;;
   15511           *)
   15512 	    # FIXME: insert proper C++ library support
   15513 	    ld_shlibs_CXX=no
   15514 	    ;;
   15515         esac
   15516         ;;
   15517 
   15518       solaris*)
   15519         case $cc_basename in
   15520           CC* | sunCC*)
   15521 	    # Sun C++ 4.2, 5.x and Centerline C++
   15522             archive_cmds_need_lc_CXX=yes
   15523 	    no_undefined_flag_CXX=' -zdefs'
   15524 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   15525 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15526               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   15527 
   15528 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   15529 	    hardcode_shlibpath_var_CXX=no
   15530 	    case $host_os in
   15531 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   15532 	      *)
   15533 		# The compiler driver will combine and reorder linker options,
   15534 		# but understands '-z linker_flag'.
   15535 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   15536 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   15537 	        ;;
   15538 	    esac
   15539 	    link_all_deplibs_CXX=yes
   15540 
   15541 	    output_verbose_link_cmd='func_echo_all'
   15542 
   15543 	    # Archives containing C++ object files must be created using
   15544 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   15545 	    # necessary to make sure instantiated templates are included
   15546 	    # in the archive.
   15547 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   15548 	    ;;
   15549           gcx*)
   15550 	    # Green Hills C++ Compiler
   15551 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   15552 
   15553 	    # The C++ compiler must be used to create the archive.
   15554 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   15555 	    ;;
   15556           *)
   15557 	    # GNU C++ compiler with Solaris linker
   15558 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   15559 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   15560 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   15561 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   15562 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15563                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   15564 
   15565 	        # Commands to make compiler produce verbose output that lists
   15566 	        # what "hidden" libraries, object files and flags are used when
   15567 	        # linking a shared library.
   15568 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   15569 	      else
   15570 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   15571 	        # platform.
   15572 	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   15573 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15574                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   15575 
   15576 	        # Commands to make compiler produce verbose output that lists
   15577 	        # what "hidden" libraries, object files and flags are used when
   15578 	        # linking a shared library.
   15579 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   15580 	      fi
   15581 
   15582 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   15583 	      case $host_os in
   15584 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   15585 		*)
   15586 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   15587 		  ;;
   15588 	      esac
   15589 	    fi
   15590 	    ;;
   15591         esac
   15592         ;;
   15593 
   15594     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15595       no_undefined_flag_CXX='$wl-z,text'
   15596       archive_cmds_need_lc_CXX=no
   15597       hardcode_shlibpath_var_CXX=no
   15598       runpath_var='LD_RUN_PATH'
   15599 
   15600       case $cc_basename in
   15601         CC*)
   15602 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15603 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15604 	  ;;
   15605 	*)
   15606 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15607 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15608 	  ;;
   15609       esac
   15610       ;;
   15611 
   15612       sysv5* | sco3.2v5* | sco5v6*)
   15613 	# Note: We CANNOT use -z defs as we might desire, because we do not
   15614 	# link with -lc, and that would cause any symbols used from libc to
   15615 	# always be unresolved, which means just about no library would
   15616 	# ever link correctly.  If we're not using GNU ld we use -z text
   15617 	# though, which does catch some bad symbols but isn't as heavy-handed
   15618 	# as -z defs.
   15619 	no_undefined_flag_CXX='$wl-z,text'
   15620 	allow_undefined_flag_CXX='$wl-z,nodefs'
   15621 	archive_cmds_need_lc_CXX=no
   15622 	hardcode_shlibpath_var_CXX=no
   15623 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   15624 	hardcode_libdir_separator_CXX=':'
   15625 	link_all_deplibs_CXX=yes
   15626 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   15627 	runpath_var='LD_RUN_PATH'
   15628 
   15629 	case $cc_basename in
   15630           CC*)
   15631 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15632 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15633 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   15634               '"$old_archive_cmds_CXX"
   15635 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   15636               '"$reload_cmds_CXX"
   15637 	    ;;
   15638 	  *)
   15639 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15640 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15641 	    ;;
   15642 	esac
   15643       ;;
   15644 
   15645       tandem*)
   15646         case $cc_basename in
   15647           NCC*)
   15648 	    # NonStop-UX NCC 3.20
   15649 	    # FIXME: insert proper C++ library support
   15650 	    ld_shlibs_CXX=no
   15651 	    ;;
   15652           *)
   15653 	    # FIXME: insert proper C++ library support
   15654 	    ld_shlibs_CXX=no
   15655 	    ;;
   15656         esac
   15657         ;;
   15658 
   15659       vxworks*)
   15660         # FIXME: insert proper C++ library support
   15661         ld_shlibs_CXX=no
   15662         ;;
   15663 
   15664       *)
   15665         # FIXME: insert proper C++ library support
   15666         ld_shlibs_CXX=no
   15667         ;;
   15668     esac
   15669 
   15670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   15671 $as_echo "$ld_shlibs_CXX" >&6; }
   15672     test no = "$ld_shlibs_CXX" && can_build_shared=no
   15673 
   15674     GCC_CXX=$GXX
   15675     LD_CXX=$LD
   15676 
   15677     ## CAVEAT EMPTOR:
   15678     ## There is no encapsulation within the following macros, do not change
   15679     ## the running order or otherwise move them around unless you know exactly
   15680     ## what you are doing...
   15681     # Dependencies to place before and after the object being linked:
   15682 predep_objects_CXX=
   15683 postdep_objects_CXX=
   15684 predeps_CXX=
   15685 postdeps_CXX=
   15686 compiler_lib_search_path_CXX=
   15687 
   15688 cat > conftest.$ac_ext <<_LT_EOF
   15689 class Foo
   15690 {
   15691 public:
   15692   Foo (void) { a = 0; }
   15693 private:
   15694   int a;
   15695 };
   15696 _LT_EOF
   15697 
   15698 
   15699 _lt_libdeps_save_CFLAGS=$CFLAGS
   15700 case "$CC $CFLAGS " in #(
   15701 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   15702 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   15703 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   15704 esac
   15705 
   15706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15707   (eval $ac_compile) 2>&5
   15708   ac_status=$?
   15709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15710   test $ac_status = 0; }; then
   15711   # Parse the compiler output and extract the necessary
   15712   # objects, libraries and library flags.
   15713 
   15714   # Sentinel used to keep track of whether or not we are before
   15715   # the conftest object file.
   15716   pre_test_object_deps_done=no
   15717 
   15718   for p in `eval "$output_verbose_link_cmd"`; do
   15719     case $prev$p in
   15720 
   15721     -L* | -R* | -l*)
   15722        # Some compilers place space between "-{L,R}" and the path.
   15723        # Remove the space.
   15724        if test x-L = "$p" ||
   15725           test x-R = "$p"; then
   15726 	 prev=$p
   15727 	 continue
   15728        fi
   15729 
   15730        # Expand the sysroot to ease extracting the directories later.
   15731        if test -z "$prev"; then
   15732          case $p in
   15733          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   15734          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   15735          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   15736          esac
   15737        fi
   15738        case $p in
   15739        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   15740        esac
   15741        if test no = "$pre_test_object_deps_done"; then
   15742 	 case $prev in
   15743 	 -L | -R)
   15744 	   # Internal compiler library paths should come after those
   15745 	   # provided the user.  The postdeps already come after the
   15746 	   # user supplied libs so there is no need to process them.
   15747 	   if test -z "$compiler_lib_search_path_CXX"; then
   15748 	     compiler_lib_search_path_CXX=$prev$p
   15749 	   else
   15750 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   15751 	   fi
   15752 	   ;;
   15753 	 # The "-l" case would never come before the object being
   15754 	 # linked, so don't bother handling this case.
   15755 	 esac
   15756        else
   15757 	 if test -z "$postdeps_CXX"; then
   15758 	   postdeps_CXX=$prev$p
   15759 	 else
   15760 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   15761 	 fi
   15762        fi
   15763        prev=
   15764        ;;
   15765 
   15766     *.lto.$objext) ;; # Ignore GCC LTO objects
   15767     *.$objext)
   15768        # This assumes that the test object file only shows up
   15769        # once in the compiler output.
   15770        if test "$p" = "conftest.$objext"; then
   15771 	 pre_test_object_deps_done=yes
   15772 	 continue
   15773        fi
   15774 
   15775        if test no = "$pre_test_object_deps_done"; then
   15776 	 if test -z "$predep_objects_CXX"; then
   15777 	   predep_objects_CXX=$p
   15778 	 else
   15779 	   predep_objects_CXX="$predep_objects_CXX $p"
   15780 	 fi
   15781        else
   15782 	 if test -z "$postdep_objects_CXX"; then
   15783 	   postdep_objects_CXX=$p
   15784 	 else
   15785 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   15786 	 fi
   15787        fi
   15788        ;;
   15789 
   15790     *) ;; # Ignore the rest.
   15791 
   15792     esac
   15793   done
   15794 
   15795   # Clean up.
   15796   rm -f a.out a.exe
   15797 else
   15798   echo "libtool.m4: error: problem compiling CXX test program"
   15799 fi
   15800 
   15801 $RM -f confest.$objext
   15802 CFLAGS=$_lt_libdeps_save_CFLAGS
   15803 
   15804 # PORTME: override above test on systems where it is broken
   15805 case $host_os in
   15806 interix[3-9]*)
   15807   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   15808   # hack all around it, let's just trust "g++" to DTRT.
   15809   predep_objects_CXX=
   15810   postdep_objects_CXX=
   15811   postdeps_CXX=
   15812   ;;
   15813 esac
   15814 
   15815 
   15816 case " $postdeps_CXX " in
   15817 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   15818 esac
   15819  compiler_lib_search_dirs_CXX=
   15820 if test -n "${compiler_lib_search_path_CXX}"; then
   15821  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   15822 fi
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854     lt_prog_compiler_wl_CXX=
   15855 lt_prog_compiler_pic_CXX=
   15856 lt_prog_compiler_static_CXX=
   15857 
   15858 
   15859   # C++ specific cases for pic, static, wl, etc.
   15860   if test yes = "$GXX"; then
   15861     lt_prog_compiler_wl_CXX='-Wl,'
   15862     lt_prog_compiler_static_CXX='-static'
   15863 
   15864     case $host_os in
   15865     aix*)
   15866       # All AIX code is PIC.
   15867       if test ia64 = "$host_cpu"; then
   15868 	# AIX 5 now supports IA64 processor
   15869 	lt_prog_compiler_static_CXX='-Bstatic'
   15870       fi
   15871       lt_prog_compiler_pic_CXX='-fPIC'
   15872       ;;
   15873 
   15874     amigaos*)
   15875       case $host_cpu in
   15876       powerpc)
   15877             # see comment about AmigaOS4 .so support
   15878             lt_prog_compiler_pic_CXX='-fPIC'
   15879         ;;
   15880       m68k)
   15881             # FIXME: we need at least 68020 code to build shared libraries, but
   15882             # adding the '-m68020' flag to GCC prevents building anything better,
   15883             # like '-m68040'.
   15884             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   15885         ;;
   15886       esac
   15887       ;;
   15888 
   15889     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15890       # PIC is the default for these OSes.
   15891       ;;
   15892     mingw* | cygwin* | os2* | pw32* | cegcc*)
   15893       # This hack is so that the source file can tell whether it is being
   15894       # built for inclusion in a dll (and should export symbols for example).
   15895       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15896       # (--disable-auto-import) libraries
   15897       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   15898       case $host_os in
   15899       os2*)
   15900 	lt_prog_compiler_static_CXX='$wl-static'
   15901 	;;
   15902       esac
   15903       ;;
   15904     darwin* | rhapsody*)
   15905       # PIC is the default on this platform
   15906       # Common symbols not allowed in MH_DYLIB files
   15907       lt_prog_compiler_pic_CXX='-fno-common'
   15908       ;;
   15909     *djgpp*)
   15910       # DJGPP does not support shared libraries at all
   15911       lt_prog_compiler_pic_CXX=
   15912       ;;
   15913     haiku*)
   15914       # PIC is the default for Haiku.
   15915       # The "-static" flag exists, but is broken.
   15916       lt_prog_compiler_static_CXX=
   15917       ;;
   15918     interix[3-9]*)
   15919       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15920       # Instead, we relocate shared libraries at runtime.
   15921       ;;
   15922     sysv4*MP*)
   15923       if test -d /usr/nec; then
   15924 	lt_prog_compiler_pic_CXX=-Kconform_pic
   15925       fi
   15926       ;;
   15927     hpux*)
   15928       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15929       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15930       # sets the default TLS model and affects inlining.
   15931       case $host_cpu in
   15932       hppa*64*)
   15933 	;;
   15934       *)
   15935 	lt_prog_compiler_pic_CXX='-fPIC'
   15936 	;;
   15937       esac
   15938       ;;
   15939     *qnx* | *nto*)
   15940       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15941       # it will coredump.
   15942       lt_prog_compiler_pic_CXX='-fPIC -shared'
   15943       ;;
   15944     *)
   15945       lt_prog_compiler_pic_CXX='-fPIC'
   15946       ;;
   15947     esac
   15948   else
   15949     case $host_os in
   15950       aix[4-9]*)
   15951 	# All AIX code is PIC.
   15952 	if test ia64 = "$host_cpu"; then
   15953 	  # AIX 5 now supports IA64 processor
   15954 	  lt_prog_compiler_static_CXX='-Bstatic'
   15955 	else
   15956 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   15957 	fi
   15958 	;;
   15959       chorus*)
   15960 	case $cc_basename in
   15961 	cxch68*)
   15962 	  # Green Hills C++ Compiler
   15963 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   15964 	  ;;
   15965 	esac
   15966 	;;
   15967       mingw* | cygwin* | os2* | pw32* | cegcc*)
   15968 	# This hack is so that the source file can tell whether it is being
   15969 	# built for inclusion in a dll (and should export symbols for example).
   15970 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   15971 	;;
   15972       dgux*)
   15973 	case $cc_basename in
   15974 	  ec++*)
   15975 	    lt_prog_compiler_pic_CXX='-KPIC'
   15976 	    ;;
   15977 	  ghcx*)
   15978 	    # Green Hills C++ Compiler
   15979 	    lt_prog_compiler_pic_CXX='-pic'
   15980 	    ;;
   15981 	  *)
   15982 	    ;;
   15983 	esac
   15984 	;;
   15985       freebsd* | dragonfly*)
   15986 	# FreeBSD uses GNU C++
   15987 	;;
   15988       hpux9* | hpux10* | hpux11*)
   15989 	case $cc_basename in
   15990 	  CC*)
   15991 	    lt_prog_compiler_wl_CXX='-Wl,'
   15992 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   15993 	    if test ia64 != "$host_cpu"; then
   15994 	      lt_prog_compiler_pic_CXX='+Z'
   15995 	    fi
   15996 	    ;;
   15997 	  aCC*)
   15998 	    lt_prog_compiler_wl_CXX='-Wl,'
   15999 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   16000 	    case $host_cpu in
   16001 	    hppa*64*|ia64*)
   16002 	      # +Z the default
   16003 	      ;;
   16004 	    *)
   16005 	      lt_prog_compiler_pic_CXX='+Z'
   16006 	      ;;
   16007 	    esac
   16008 	    ;;
   16009 	  *)
   16010 	    ;;
   16011 	esac
   16012 	;;
   16013       interix*)
   16014 	# This is c89, which is MS Visual C++ (no shared libs)
   16015 	# Anyone wants to do a port?
   16016 	;;
   16017       irix5* | irix6* | nonstopux*)
   16018 	case $cc_basename in
   16019 	  CC*)
   16020 	    lt_prog_compiler_wl_CXX='-Wl,'
   16021 	    lt_prog_compiler_static_CXX='-non_shared'
   16022 	    # CC pic flag -KPIC is the default.
   16023 	    ;;
   16024 	  *)
   16025 	    ;;
   16026 	esac
   16027 	;;
   16028       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16029 	case $cc_basename in
   16030 	  KCC*)
   16031 	    # KAI C++ Compiler
   16032 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   16033 	    lt_prog_compiler_pic_CXX='-fPIC'
   16034 	    ;;
   16035 	  ecpc* )
   16036 	    # old Intel C++ for x86_64, which still supported -KPIC.
   16037 	    lt_prog_compiler_wl_CXX='-Wl,'
   16038 	    lt_prog_compiler_pic_CXX='-KPIC'
   16039 	    lt_prog_compiler_static_CXX='-static'
   16040 	    ;;
   16041 	  icpc* )
   16042 	    # Intel C++, used to be incompatible with GCC.
   16043 	    # ICC 10 doesn't accept -KPIC any more.
   16044 	    lt_prog_compiler_wl_CXX='-Wl,'
   16045 	    lt_prog_compiler_pic_CXX='-fPIC'
   16046 	    lt_prog_compiler_static_CXX='-static'
   16047 	    ;;
   16048 	  pgCC* | pgcpp*)
   16049 	    # Portland Group C++ compiler
   16050 	    lt_prog_compiler_wl_CXX='-Wl,'
   16051 	    lt_prog_compiler_pic_CXX='-fpic'
   16052 	    lt_prog_compiler_static_CXX='-Bstatic'
   16053 	    ;;
   16054 	  cxx*)
   16055 	    # Compaq C++
   16056 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   16057 	    # Linux and Compaq Tru64 Unix objects are PIC.
   16058 	    lt_prog_compiler_pic_CXX=
   16059 	    lt_prog_compiler_static_CXX='-non_shared'
   16060 	    ;;
   16061 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   16062 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   16063 	    lt_prog_compiler_wl_CXX='-Wl,'
   16064 	    lt_prog_compiler_pic_CXX='-qpic'
   16065 	    lt_prog_compiler_static_CXX='-qstaticlink'
   16066 	    ;;
   16067 	  *)
   16068 	    case `$CC -V 2>&1 | sed 5q` in
   16069 	    *Sun\ C*)
   16070 	      # Sun C++ 5.9
   16071 	      lt_prog_compiler_pic_CXX='-KPIC'
   16072 	      lt_prog_compiler_static_CXX='-Bstatic'
   16073 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   16074 	      ;;
   16075 	    esac
   16076 	    ;;
   16077 	esac
   16078 	;;
   16079       lynxos*)
   16080 	;;
   16081       m88k*)
   16082 	;;
   16083       mvs*)
   16084 	case $cc_basename in
   16085 	  cxx*)
   16086 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   16087 	    ;;
   16088 	  *)
   16089 	    ;;
   16090 	esac
   16091 	;;
   16092       netbsd*)
   16093 	;;
   16094       *qnx* | *nto*)
   16095         # QNX uses GNU C++, but need to define -shared option too, otherwise
   16096         # it will coredump.
   16097         lt_prog_compiler_pic_CXX='-fPIC -shared'
   16098         ;;
   16099       osf3* | osf4* | osf5*)
   16100 	case $cc_basename in
   16101 	  KCC*)
   16102 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   16103 	    ;;
   16104 	  RCC*)
   16105 	    # Rational C++ 2.4.1
   16106 	    lt_prog_compiler_pic_CXX='-pic'
   16107 	    ;;
   16108 	  cxx*)
   16109 	    # Digital/Compaq C++
   16110 	    lt_prog_compiler_wl_CXX='-Wl,'
   16111 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   16112 	    # Linux and Compaq Tru64 Unix objects are PIC.
   16113 	    lt_prog_compiler_pic_CXX=
   16114 	    lt_prog_compiler_static_CXX='-non_shared'
   16115 	    ;;
   16116 	  *)
   16117 	    ;;
   16118 	esac
   16119 	;;
   16120       psos*)
   16121 	;;
   16122       solaris*)
   16123 	case $cc_basename in
   16124 	  CC* | sunCC*)
   16125 	    # Sun C++ 4.2, 5.x and Centerline C++
   16126 	    lt_prog_compiler_pic_CXX='-KPIC'
   16127 	    lt_prog_compiler_static_CXX='-Bstatic'
   16128 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   16129 	    ;;
   16130 	  gcx*)
   16131 	    # Green Hills C++ Compiler
   16132 	    lt_prog_compiler_pic_CXX='-PIC'
   16133 	    ;;
   16134 	  *)
   16135 	    ;;
   16136 	esac
   16137 	;;
   16138       sunos4*)
   16139 	case $cc_basename in
   16140 	  CC*)
   16141 	    # Sun C++ 4.x
   16142 	    lt_prog_compiler_pic_CXX='-pic'
   16143 	    lt_prog_compiler_static_CXX='-Bstatic'
   16144 	    ;;
   16145 	  lcc*)
   16146 	    # Lucid
   16147 	    lt_prog_compiler_pic_CXX='-pic'
   16148 	    ;;
   16149 	  *)
   16150 	    ;;
   16151 	esac
   16152 	;;
   16153       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16154 	case $cc_basename in
   16155 	  CC*)
   16156 	    lt_prog_compiler_wl_CXX='-Wl,'
   16157 	    lt_prog_compiler_pic_CXX='-KPIC'
   16158 	    lt_prog_compiler_static_CXX='-Bstatic'
   16159 	    ;;
   16160 	esac
   16161 	;;
   16162       tandem*)
   16163 	case $cc_basename in
   16164 	  NCC*)
   16165 	    # NonStop-UX NCC 3.20
   16166 	    lt_prog_compiler_pic_CXX='-KPIC'
   16167 	    ;;
   16168 	  *)
   16169 	    ;;
   16170 	esac
   16171 	;;
   16172       vxworks*)
   16173 	;;
   16174       *)
   16175 	lt_prog_compiler_can_build_shared_CXX=no
   16176 	;;
   16177     esac
   16178   fi
   16179 
   16180 case $host_os in
   16181   # For platforms that do not support PIC, -DPIC is meaningless:
   16182   *djgpp*)
   16183     lt_prog_compiler_pic_CXX=
   16184     ;;
   16185   *)
   16186     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   16187     ;;
   16188 esac
   16189 
   16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16191 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16192 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   16196 fi
   16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   16198 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
   16199 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   16200 
   16201 #
   16202 # Check to make sure the PIC flag actually works.
   16203 #
   16204 if test -n "$lt_prog_compiler_pic_CXX"; then
   16205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   16206 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   16207 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   16208   $as_echo_n "(cached) " >&6
   16209 else
   16210   lt_cv_prog_compiler_pic_works_CXX=no
   16211    ac_outfile=conftest.$ac_objext
   16212    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16213    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16214    # Insert the option either (1) after the last *FLAGS variable, or
   16215    # (2) before a word containing "conftest.", or (3) at the end.
   16216    # Note that $ac_compile itself does not contain backslashes and begins
   16217    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16218    # The option is referenced via a variable to avoid confusing sed.
   16219    lt_compile=`echo "$ac_compile" | $SED \
   16220    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16221    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16222    -e 's:$: $lt_compiler_flag:'`
   16223    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16224    (eval "$lt_compile" 2>conftest.err)
   16225    ac_status=$?
   16226    cat conftest.err >&5
   16227    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16228    if (exit $ac_status) && test -s "$ac_outfile"; then
   16229      # The compiler can only warn and ignore the option if not recognized
   16230      # So say no if there are warnings other than the usual output.
   16231      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16232      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16233      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16234        lt_cv_prog_compiler_pic_works_CXX=yes
   16235      fi
   16236    fi
   16237    $RM conftest*
   16238 
   16239 fi
   16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   16241 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   16242 
   16243 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   16244     case $lt_prog_compiler_pic_CXX in
   16245      "" | " "*) ;;
   16246      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   16247      esac
   16248 else
   16249     lt_prog_compiler_pic_CXX=
   16250      lt_prog_compiler_can_build_shared_CXX=no
   16251 fi
   16252 
   16253 fi
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 #
   16260 # Check to make sure the static flag actually works.
   16261 #
   16262 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16264 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16265 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   16266   $as_echo_n "(cached) " >&6
   16267 else
   16268   lt_cv_prog_compiler_static_works_CXX=no
   16269    save_LDFLAGS=$LDFLAGS
   16270    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16271    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16272    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16273      # The linker can only warn and ignore the option if not recognized
   16274      # So say no if there are warnings
   16275      if test -s conftest.err; then
   16276        # Append any errors to the config.log.
   16277        cat conftest.err 1>&5
   16278        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16279        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16280        if diff conftest.exp conftest.er2 >/dev/null; then
   16281          lt_cv_prog_compiler_static_works_CXX=yes
   16282        fi
   16283      else
   16284        lt_cv_prog_compiler_static_works_CXX=yes
   16285      fi
   16286    fi
   16287    $RM -r conftest*
   16288    LDFLAGS=$save_LDFLAGS
   16289 
   16290 fi
   16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   16292 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   16293 
   16294 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   16295     :
   16296 else
   16297     lt_prog_compiler_static_CXX=
   16298 fi
   16299 
   16300 
   16301 
   16302 
   16303     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16304 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16305 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   16306   $as_echo_n "(cached) " >&6
   16307 else
   16308   lt_cv_prog_compiler_c_o_CXX=no
   16309    $RM -r conftest 2>/dev/null
   16310    mkdir conftest
   16311    cd conftest
   16312    mkdir out
   16313    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16314 
   16315    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16316    # Insert the option either (1) after the last *FLAGS variable, or
   16317    # (2) before a word containing "conftest.", or (3) at the end.
   16318    # Note that $ac_compile itself does not contain backslashes and begins
   16319    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16320    lt_compile=`echo "$ac_compile" | $SED \
   16321    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16322    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16323    -e 's:$: $lt_compiler_flag:'`
   16324    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16325    (eval "$lt_compile" 2>out/conftest.err)
   16326    ac_status=$?
   16327    cat out/conftest.err >&5
   16328    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16329    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16330    then
   16331      # The compiler can only warn and ignore the option if not recognized
   16332      # So say no if there are warnings
   16333      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16334      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16335      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16336        lt_cv_prog_compiler_c_o_CXX=yes
   16337      fi
   16338    fi
   16339    chmod u+w . 2>&5
   16340    $RM conftest*
   16341    # SGI C++ compiler will create directory out/ii_files/ for
   16342    # template instantiation
   16343    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16344    $RM out/* && rmdir out
   16345    cd ..
   16346    $RM -r conftest
   16347    $RM conftest*
   16348 
   16349 fi
   16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   16351 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   16352 
   16353 
   16354 
   16355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16356 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16357 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   16358   $as_echo_n "(cached) " >&6
   16359 else
   16360   lt_cv_prog_compiler_c_o_CXX=no
   16361    $RM -r conftest 2>/dev/null
   16362    mkdir conftest
   16363    cd conftest
   16364    mkdir out
   16365    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16366 
   16367    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16368    # Insert the option either (1) after the last *FLAGS variable, or
   16369    # (2) before a word containing "conftest.", or (3) at the end.
   16370    # Note that $ac_compile itself does not contain backslashes and begins
   16371    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16372    lt_compile=`echo "$ac_compile" | $SED \
   16373    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16374    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16375    -e 's:$: $lt_compiler_flag:'`
   16376    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16377    (eval "$lt_compile" 2>out/conftest.err)
   16378    ac_status=$?
   16379    cat out/conftest.err >&5
   16380    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16381    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16382    then
   16383      # The compiler can only warn and ignore the option if not recognized
   16384      # So say no if there are warnings
   16385      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16386      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16387      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16388        lt_cv_prog_compiler_c_o_CXX=yes
   16389      fi
   16390    fi
   16391    chmod u+w . 2>&5
   16392    $RM conftest*
   16393    # SGI C++ compiler will create directory out/ii_files/ for
   16394    # template instantiation
   16395    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16396    $RM out/* && rmdir out
   16397    cd ..
   16398    $RM -r conftest
   16399    $RM conftest*
   16400 
   16401 fi
   16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   16403 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   16404 
   16405 
   16406 
   16407 
   16408 hard_links=nottested
   16409 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   16410   # do not overwrite the value of need_locks provided by the user
   16411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16412 $as_echo_n "checking if we can lock with hard links... " >&6; }
   16413   hard_links=yes
   16414   $RM conftest*
   16415   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16416   touch conftest.a
   16417   ln conftest.a conftest.b 2>&5 || hard_links=no
   16418   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16420 $as_echo "$hard_links" >&6; }
   16421   if test no = "$hard_links"; then
   16422     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16423 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16424     need_locks=warn
   16425   fi
   16426 else
   16427   need_locks=no
   16428 fi
   16429 
   16430 
   16431 
   16432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16433 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16434 
   16435   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16436   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16437   case $host_os in
   16438   aix[4-9]*)
   16439     # If we're using GNU nm, then we don't want the "-C" option.
   16440     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16441     # Without the "-l" option, or with the "-B" option, AIX nm treats
   16442     # weak defined symbols like other global defined symbols, whereas
   16443     # GNU nm marks them as "W".
   16444     # While the 'weak' keyword is ignored in the Export File, we need
   16445     # it in the Import File for the 'aix-soname' feature, so we have
   16446     # to replace the "-B" option with "-P" for AIX nm.
   16447     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16448       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   16449     else
   16450       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   16451     fi
   16452     ;;
   16453   pw32*)
   16454     export_symbols_cmds_CXX=$ltdll_cmds
   16455     ;;
   16456   cygwin* | mingw* | cegcc*)
   16457     case $cc_basename in
   16458     cl*)
   16459       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16460       ;;
   16461     *)
   16462       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   16463       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16464       ;;
   16465     esac
   16466     ;;
   16467   *)
   16468     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16469     ;;
   16470   esac
   16471 
   16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   16473 $as_echo "$ld_shlibs_CXX" >&6; }
   16474 test no = "$ld_shlibs_CXX" && can_build_shared=no
   16475 
   16476 with_gnu_ld_CXX=$with_gnu_ld
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 #
   16484 # Do we need to explicitly link libc?
   16485 #
   16486 case "x$archive_cmds_need_lc_CXX" in
   16487 x|xyes)
   16488   # Assume -lc should be added
   16489   archive_cmds_need_lc_CXX=yes
   16490 
   16491   if test yes,yes = "$GCC,$enable_shared"; then
   16492     case $archive_cmds_CXX in
   16493     *'~'*)
   16494       # FIXME: we may have to deal with multi-command sequences.
   16495       ;;
   16496     '$CC '*)
   16497       # Test whether the compiler implicitly links with -lc since on some
   16498       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16499       # to ld, don't add -lc before -lgcc.
   16500       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16501 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16502 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   16503   $as_echo_n "(cached) " >&6
   16504 else
   16505   $RM conftest*
   16506 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16507 
   16508 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16509   (eval $ac_compile) 2>&5
   16510   ac_status=$?
   16511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16512   test $ac_status = 0; } 2>conftest.err; then
   16513 	  soname=conftest
   16514 	  lib=conftest
   16515 	  libobjs=conftest.$ac_objext
   16516 	  deplibs=
   16517 	  wl=$lt_prog_compiler_wl_CXX
   16518 	  pic_flag=$lt_prog_compiler_pic_CXX
   16519 	  compiler_flags=-v
   16520 	  linker_flags=-v
   16521 	  verstring=
   16522 	  output_objdir=.
   16523 	  libname=conftest
   16524 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   16525 	  allow_undefined_flag_CXX=
   16526 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16527   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16528   ac_status=$?
   16529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16530   test $ac_status = 0; }
   16531 	  then
   16532 	    lt_cv_archive_cmds_need_lc_CXX=no
   16533 	  else
   16534 	    lt_cv_archive_cmds_need_lc_CXX=yes
   16535 	  fi
   16536 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   16537 	else
   16538 	  cat conftest.err 1>&5
   16539 	fi
   16540 	$RM conftest*
   16541 
   16542 fi
   16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   16544 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   16545       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   16546       ;;
   16547     esac
   16548   fi
   16549   ;;
   16550 esac
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16614 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16615 
   16616 library_names_spec=
   16617 libname_spec='lib$name'
   16618 soname_spec=
   16619 shrext_cmds=.so
   16620 postinstall_cmds=
   16621 postuninstall_cmds=
   16622 finish_cmds=
   16623 finish_eval=
   16624 shlibpath_var=
   16625 shlibpath_overrides_runpath=unknown
   16626 version_type=none
   16627 dynamic_linker="$host_os ld.so"
   16628 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16629 need_lib_prefix=unknown
   16630 hardcode_into_libs=no
   16631 
   16632 # when you set need_version to no, make sure it does not cause -set_version
   16633 # flags to be left without arguments
   16634 need_version=unknown
   16635 
   16636 
   16637 
   16638 case $host_os in
   16639 aix3*)
   16640   version_type=linux # correct to gnu/linux during the next big refactor
   16641   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16642   shlibpath_var=LIBPATH
   16643 
   16644   # AIX 3 has no versioning support, so we append a major version to the name.
   16645   soname_spec='$libname$release$shared_ext$major'
   16646   ;;
   16647 
   16648 aix[4-9]*)
   16649   version_type=linux # correct to gnu/linux during the next big refactor
   16650   need_lib_prefix=no
   16651   need_version=no
   16652   hardcode_into_libs=yes
   16653   if test ia64 = "$host_cpu"; then
   16654     # AIX 5 supports IA64
   16655     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16656     shlibpath_var=LD_LIBRARY_PATH
   16657   else
   16658     # With GCC up to 2.95.x, collect2 would create an import file
   16659     # for dependence libraries.  The import file would start with
   16660     # the line '#! .'.  This would cause the generated library to
   16661     # depend on '.', always an invalid library.  This was fixed in
   16662     # development snapshots of GCC prior to 3.0.
   16663     case $host_os in
   16664       aix4 | aix4.[01] | aix4.[01].*)
   16665       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16666 	   echo ' yes '
   16667 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16668 	:
   16669       else
   16670 	can_build_shared=no
   16671       fi
   16672       ;;
   16673     esac
   16674     # Using Import Files as archive members, it is possible to support
   16675     # filename-based versioning of shared library archives on AIX. While
   16676     # this would work for both with and without runtime linking, it will
   16677     # prevent static linking of such archives. So we do filename-based
   16678     # shared library versioning with .so extension only, which is used
   16679     # when both runtime linking and shared linking is enabled.
   16680     # Unfortunately, runtime linking may impact performance, so we do
   16681     # not want this to be the default eventually. Also, we use the
   16682     # versioned .so libs for executables only if there is the -brtl
   16683     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16684     # To allow for filename-based versioning support, we need to create
   16685     # libNAME.so.V as an archive file, containing:
   16686     # *) an Import File, referring to the versioned filename of the
   16687     #    archive as well as the shared archive member, telling the
   16688     #    bitwidth (32 or 64) of that shared object, and providing the
   16689     #    list of exported symbols of that shared object, eventually
   16690     #    decorated with the 'weak' keyword
   16691     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16692     #    it being seen by the linker.
   16693     # At run time we better use the real file rather than another symlink,
   16694     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16695 
   16696     case $with_aix_soname,$aix_use_runtimelinking in
   16697     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16698     # soname into executable. Probably we can add versioning support to
   16699     # collect2, so additional links can be useful in future.
   16700     aix,yes) # traditional libtool
   16701       dynamic_linker='AIX unversionable lib.so'
   16702       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16703       # instead of lib<name>.a to let people know that these are not
   16704       # typical AIX shared libraries.
   16705       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16706       ;;
   16707     aix,no) # traditional AIX only
   16708       dynamic_linker='AIX lib.a(lib.so.V)'
   16709       # We preserve .a as extension for shared libraries through AIX4.2
   16710       # and later when we are not doing run time linking.
   16711       library_names_spec='$libname$release.a $libname.a'
   16712       soname_spec='$libname$release$shared_ext$major'
   16713       ;;
   16714     svr4,*) # full svr4 only
   16715       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   16716       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   16717       # We do not specify a path in Import Files, so LIBPATH fires.
   16718       shlibpath_overrides_runpath=yes
   16719       ;;
   16720     *,yes) # both, prefer svr4
   16721       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   16722       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   16723       # unpreferred sharedlib libNAME.a needs extra handling
   16724       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   16725       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   16726       # We do not specify a path in Import Files, so LIBPATH fires.
   16727       shlibpath_overrides_runpath=yes
   16728       ;;
   16729     *,no) # both, prefer aix
   16730       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   16731       library_names_spec='$libname$release.a $libname.a'
   16732       soname_spec='$libname$release$shared_ext$major'
   16733       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   16734       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   16735       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   16736       ;;
   16737     esac
   16738     shlibpath_var=LIBPATH
   16739   fi
   16740   ;;
   16741 
   16742 amigaos*)
   16743   case $host_cpu in
   16744   powerpc)
   16745     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16746     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16747     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16748     ;;
   16749   m68k)
   16750     library_names_spec='$libname.ixlibrary $libname.a'
   16751     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16752     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   16753     ;;
   16754   esac
   16755   ;;
   16756 
   16757 beos*)
   16758   library_names_spec='$libname$shared_ext'
   16759   dynamic_linker="$host_os ld.so"
   16760   shlibpath_var=LIBRARY_PATH
   16761   ;;
   16762 
   16763 bsdi[45]*)
   16764   version_type=linux # correct to gnu/linux during the next big refactor
   16765   need_version=no
   16766   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16767   soname_spec='$libname$release$shared_ext$major'
   16768   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16769   shlibpath_var=LD_LIBRARY_PATH
   16770   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16771   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16772   # the default ld.so.conf also contains /usr/contrib/lib and
   16773   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16774   # libtool to hard-code these into programs
   16775   ;;
   16776 
   16777 cygwin* | mingw* | pw32* | cegcc*)
   16778   version_type=windows
   16779   shrext_cmds=.dll
   16780   need_version=no
   16781   need_lib_prefix=no
   16782 
   16783   case $GCC,$cc_basename in
   16784   yes,*)
   16785     # gcc
   16786     library_names_spec='$libname.dll.a'
   16787     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16788     postinstall_cmds='base_file=`basename \$file`~
   16789       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16790       dldir=$destdir/`dirname \$dlpath`~
   16791       test -d \$dldir || mkdir -p \$dldir~
   16792       $install_prog $dir/$dlname \$dldir/$dlname~
   16793       chmod a+x \$dldir/$dlname~
   16794       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16795         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16796       fi'
   16797     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16798       dlpath=$dir/\$dldll~
   16799        $RM \$dlpath'
   16800     shlibpath_overrides_runpath=yes
   16801 
   16802     case $host_os in
   16803     cygwin*)
   16804       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16805       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16806 
   16807       ;;
   16808     mingw* | cegcc*)
   16809       # MinGW DLLs use traditional 'lib' prefix
   16810       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16811       ;;
   16812     pw32*)
   16813       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16814       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16815       ;;
   16816     esac
   16817     dynamic_linker='Win32 ld.exe'
   16818     ;;
   16819 
   16820   *,cl*)
   16821     # Native MSVC
   16822     libname_spec='$name'
   16823     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16824     library_names_spec='$libname.dll.lib'
   16825 
   16826     case $build_os in
   16827     mingw*)
   16828       sys_lib_search_path_spec=
   16829       lt_save_ifs=$IFS
   16830       IFS=';'
   16831       for lt_path in $LIB
   16832       do
   16833         IFS=$lt_save_ifs
   16834         # Let DOS variable expansion print the short 8.3 style file name.
   16835         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16836         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16837       done
   16838       IFS=$lt_save_ifs
   16839       # Convert to MSYS style.
   16840       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16841       ;;
   16842     cygwin*)
   16843       # Convert to unix form, then to dos form, then back to unix form
   16844       # but this time dos style (no spaces!) so that the unix form looks
   16845       # like /cygdrive/c/PROGRA~1:/cygdr...
   16846       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16847       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16848       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16849       ;;
   16850     *)
   16851       sys_lib_search_path_spec=$LIB
   16852       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16853         # It is most probably a Windows format PATH.
   16854         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16855       else
   16856         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16857       fi
   16858       # FIXME: find the short name or the path components, as spaces are
   16859       # common. (e.g. "Program Files" -> "PROGRA~1")
   16860       ;;
   16861     esac
   16862 
   16863     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16864     postinstall_cmds='base_file=`basename \$file`~
   16865       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16866       dldir=$destdir/`dirname \$dlpath`~
   16867       test -d \$dldir || mkdir -p \$dldir~
   16868       $install_prog $dir/$dlname \$dldir/$dlname'
   16869     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16870       dlpath=$dir/\$dldll~
   16871        $RM \$dlpath'
   16872     shlibpath_overrides_runpath=yes
   16873     dynamic_linker='Win32 link.exe'
   16874     ;;
   16875 
   16876   *)
   16877     # Assume MSVC wrapper
   16878     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   16879     dynamic_linker='Win32 ld.exe'
   16880     ;;
   16881   esac
   16882   # FIXME: first we should search . and the directory the executable is in
   16883   shlibpath_var=PATH
   16884   ;;
   16885 
   16886 darwin* | rhapsody*)
   16887   dynamic_linker="$host_os dyld"
   16888   version_type=darwin
   16889   need_lib_prefix=no
   16890   need_version=no
   16891   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   16892   soname_spec='$libname$release$major$shared_ext'
   16893   shlibpath_overrides_runpath=yes
   16894   shlibpath_var=DYLD_LIBRARY_PATH
   16895   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16896 
   16897   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16898   ;;
   16899 
   16900 dgux*)
   16901   version_type=linux # correct to gnu/linux during the next big refactor
   16902   need_lib_prefix=no
   16903   need_version=no
   16904   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16905   soname_spec='$libname$release$shared_ext$major'
   16906   shlibpath_var=LD_LIBRARY_PATH
   16907   ;;
   16908 
   16909 freebsd* | dragonfly*)
   16910   # DragonFly does not have aout.  When/if they implement a new
   16911   # versioning mechanism, adjust this.
   16912   if test -x /usr/bin/objformat; then
   16913     objformat=`/usr/bin/objformat`
   16914   else
   16915     case $host_os in
   16916     freebsd[23].*) objformat=aout ;;
   16917     *) objformat=elf ;;
   16918     esac
   16919   fi
   16920   version_type=freebsd-$objformat
   16921   case $version_type in
   16922     freebsd-elf*)
   16923       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16924       soname_spec='$libname$release$shared_ext$major'
   16925       need_version=no
   16926       need_lib_prefix=no
   16927       ;;
   16928     freebsd-*)
   16929       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16930       need_version=yes
   16931       ;;
   16932   esac
   16933   shlibpath_var=LD_LIBRARY_PATH
   16934   case $host_os in
   16935   freebsd2.*)
   16936     shlibpath_overrides_runpath=yes
   16937     ;;
   16938   freebsd3.[01]* | freebsdelf3.[01]*)
   16939     shlibpath_overrides_runpath=yes
   16940     hardcode_into_libs=yes
   16941     ;;
   16942   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16943   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16944     shlibpath_overrides_runpath=no
   16945     hardcode_into_libs=yes
   16946     ;;
   16947   *) # from 4.6 on, and DragonFly
   16948     shlibpath_overrides_runpath=yes
   16949     hardcode_into_libs=yes
   16950     ;;
   16951   esac
   16952   ;;
   16953 
   16954 haiku*)
   16955   version_type=linux # correct to gnu/linux during the next big refactor
   16956   need_lib_prefix=no
   16957   need_version=no
   16958   dynamic_linker="$host_os runtime_loader"
   16959   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16960   soname_spec='$libname$release$shared_ext$major'
   16961   shlibpath_var=LIBRARY_PATH
   16962   shlibpath_overrides_runpath=no
   16963   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16964   hardcode_into_libs=yes
   16965   ;;
   16966 
   16967 hpux9* | hpux10* | hpux11*)
   16968   # Give a soname corresponding to the major version so that dld.sl refuses to
   16969   # link against other versions.
   16970   version_type=sunos
   16971   need_lib_prefix=no
   16972   need_version=no
   16973   case $host_cpu in
   16974   ia64*)
   16975     shrext_cmds='.so'
   16976     hardcode_into_libs=yes
   16977     dynamic_linker="$host_os dld.so"
   16978     shlibpath_var=LD_LIBRARY_PATH
   16979     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16980     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16981     soname_spec='$libname$release$shared_ext$major'
   16982     if test 32 = "$HPUX_IA64_MODE"; then
   16983       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16984       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   16985     else
   16986       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16987       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   16988     fi
   16989     ;;
   16990   hppa*64*)
   16991     shrext_cmds='.sl'
   16992     hardcode_into_libs=yes
   16993     dynamic_linker="$host_os dld.sl"
   16994     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16995     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16996     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16997     soname_spec='$libname$release$shared_ext$major'
   16998     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16999     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17000     ;;
   17001   *)
   17002     shrext_cmds='.sl'
   17003     dynamic_linker="$host_os dld.sl"
   17004     shlibpath_var=SHLIB_PATH
   17005     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17006     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17007     soname_spec='$libname$release$shared_ext$major'
   17008     ;;
   17009   esac
   17010   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17011   postinstall_cmds='chmod 555 $lib'
   17012   # or fails outright, so override atomically:
   17013   install_override_mode=555
   17014   ;;
   17015 
   17016 interix[3-9]*)
   17017   version_type=linux # correct to gnu/linux during the next big refactor
   17018   need_lib_prefix=no
   17019   need_version=no
   17020   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17021   soname_spec='$libname$release$shared_ext$major'
   17022   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17023   shlibpath_var=LD_LIBRARY_PATH
   17024   shlibpath_overrides_runpath=no
   17025   hardcode_into_libs=yes
   17026   ;;
   17027 
   17028 irix5* | irix6* | nonstopux*)
   17029   case $host_os in
   17030     nonstopux*) version_type=nonstopux ;;
   17031     *)
   17032 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17033 		version_type=linux # correct to gnu/linux during the next big refactor
   17034 	else
   17035 		version_type=irix
   17036 	fi ;;
   17037   esac
   17038   need_lib_prefix=no
   17039   need_version=no
   17040   soname_spec='$libname$release$shared_ext$major'
   17041   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17042   case $host_os in
   17043   irix5* | nonstopux*)
   17044     libsuff= shlibsuff=
   17045     ;;
   17046   *)
   17047     case $LD in # libtool.m4 will add one of these switches to LD
   17048     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17049       libsuff= shlibsuff= libmagic=32-bit;;
   17050     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17051       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17052     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17053       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17054     *) libsuff= shlibsuff= libmagic=never-match;;
   17055     esac
   17056     ;;
   17057   esac
   17058   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17059   shlibpath_overrides_runpath=no
   17060   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17061   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17062   hardcode_into_libs=yes
   17063   ;;
   17064 
   17065 # No shared lib support for Linux oldld, aout, or coff.
   17066 linux*oldld* | linux*aout* | linux*coff*)
   17067   dynamic_linker=no
   17068   ;;
   17069 
   17070 linux*android*)
   17071   version_type=none # Android doesn't support versioned libraries.
   17072   need_lib_prefix=no
   17073   need_version=no
   17074   library_names_spec='$libname$release$shared_ext'
   17075   soname_spec='$libname$release$shared_ext'
   17076   finish_cmds=
   17077   shlibpath_var=LD_LIBRARY_PATH
   17078   shlibpath_overrides_runpath=yes
   17079 
   17080   # This implies no fast_install, which is unacceptable.
   17081   # Some rework will be needed to allow for fast_install
   17082   # before this can be enabled.
   17083   hardcode_into_libs=yes
   17084 
   17085   dynamic_linker='Android linker'
   17086   # Don't embed -rpath directories since the linker doesn't support them.
   17087   hardcode_libdir_flag_spec_CXX='-L$libdir'
   17088   ;;
   17089 
   17090 # This must be glibc/ELF.
   17091 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17092   version_type=linux # correct to gnu/linux during the next big refactor
   17093   need_lib_prefix=no
   17094   need_version=no
   17095   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17096   soname_spec='$libname$release$shared_ext$major'
   17097   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17098   shlibpath_var=LD_LIBRARY_PATH
   17099   shlibpath_overrides_runpath=no
   17100 
   17101   # Some binutils ld are patched to set DT_RUNPATH
   17102   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17103   $as_echo_n "(cached) " >&6
   17104 else
   17105   lt_cv_shlibpath_overrides_runpath=no
   17106     save_LDFLAGS=$LDFLAGS
   17107     save_libdir=$libdir
   17108     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   17109 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   17110     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17111 /* end confdefs.h.  */
   17112 
   17113 int
   17114 main ()
   17115 {
   17116 
   17117   ;
   17118   return 0;
   17119 }
   17120 _ACEOF
   17121 if ac_fn_cxx_try_link "$LINENO"; then :
   17122   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17123   lt_cv_shlibpath_overrides_runpath=yes
   17124 fi
   17125 fi
   17126 rm -f core conftest.err conftest.$ac_objext \
   17127     conftest$ac_exeext conftest.$ac_ext
   17128     LDFLAGS=$save_LDFLAGS
   17129     libdir=$save_libdir
   17130 
   17131 fi
   17132 
   17133   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17134 
   17135   # This implies no fast_install, which is unacceptable.
   17136   # Some rework will be needed to allow for fast_install
   17137   # before this can be enabled.
   17138   hardcode_into_libs=yes
   17139 
   17140   # Ideally, we could use ldconfig to report *all* directores which are
   17141   # searched for libraries, however this is still not possible.  Aside from not
   17142   # being certain /sbin/ldconfig is available, command
   17143   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17144   # even though it is searched at run-time.  Try to do the best guess by
   17145   # appending ld.so.conf contents (and includes) to the search path.
   17146   if test -f /etc/ld.so.conf; then
   17147     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' ' '`
   17148     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17149   fi
   17150 
   17151   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17152   # powerpc, because MkLinux only supported shared libraries with the
   17153   # GNU dynamic linker.  Since this was broken with cross compilers,
   17154   # most powerpc-linux boxes support dynamic linking these days and
   17155   # people can always --disable-shared, the test was removed, and we
   17156   # assume the GNU/Linux dynamic linker is in use.
   17157   dynamic_linker='GNU/Linux ld.so'
   17158   ;;
   17159 
   17160 netbsd*)
   17161   version_type=sunos
   17162   need_lib_prefix=no
   17163   need_version=no
   17164   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17165     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17166     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17167     dynamic_linker='NetBSD (a.out) ld.so'
   17168   else
   17169     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17170     soname_spec='$libname$release$shared_ext$major'
   17171     dynamic_linker='NetBSD ld.elf_so'
   17172   fi
   17173   shlibpath_var=LD_LIBRARY_PATH
   17174   shlibpath_overrides_runpath=yes
   17175   hardcode_into_libs=yes
   17176   ;;
   17177 
   17178 newsos6)
   17179   version_type=linux # correct to gnu/linux during the next big refactor
   17180   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17181   shlibpath_var=LD_LIBRARY_PATH
   17182   shlibpath_overrides_runpath=yes
   17183   ;;
   17184 
   17185 *nto* | *qnx*)
   17186   version_type=qnx
   17187   need_lib_prefix=no
   17188   need_version=no
   17189   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17190   soname_spec='$libname$release$shared_ext$major'
   17191   shlibpath_var=LD_LIBRARY_PATH
   17192   shlibpath_overrides_runpath=no
   17193   hardcode_into_libs=yes
   17194   dynamic_linker='ldqnx.so'
   17195   ;;
   17196 
   17197 openbsd* | bitrig*)
   17198   version_type=sunos
   17199   sys_lib_dlsearch_path_spec=/usr/lib
   17200   need_lib_prefix=no
   17201   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17202     need_version=no
   17203   else
   17204     need_version=yes
   17205   fi
   17206   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17207   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17208   shlibpath_var=LD_LIBRARY_PATH
   17209   shlibpath_overrides_runpath=yes
   17210   ;;
   17211 
   17212 os2*)
   17213   libname_spec='$name'
   17214   version_type=windows
   17215   shrext_cmds=.dll
   17216   need_version=no
   17217   need_lib_prefix=no
   17218   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17219   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17220     v=$($ECHO $release$versuffix | tr -d .-);
   17221     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17222     $ECHO $n$v`$shared_ext'
   17223   library_names_spec='${libname}_dll.$libext'
   17224   dynamic_linker='OS/2 ld.exe'
   17225   shlibpath_var=BEGINLIBPATH
   17226   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17227   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17228   postinstall_cmds='base_file=`basename \$file`~
   17229     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17230     dldir=$destdir/`dirname \$dlpath`~
   17231     test -d \$dldir || mkdir -p \$dldir~
   17232     $install_prog $dir/$dlname \$dldir/$dlname~
   17233     chmod a+x \$dldir/$dlname~
   17234     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17235       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17236     fi'
   17237   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17238     dlpath=$dir/\$dldll~
   17239     $RM \$dlpath'
   17240   ;;
   17241 
   17242 osf3* | osf4* | osf5*)
   17243   version_type=osf
   17244   need_lib_prefix=no
   17245   need_version=no
   17246   soname_spec='$libname$release$shared_ext$major'
   17247   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17248   shlibpath_var=LD_LIBRARY_PATH
   17249   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17250   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17251   ;;
   17252 
   17253 rdos*)
   17254   dynamic_linker=no
   17255   ;;
   17256 
   17257 solaris*)
   17258   version_type=linux # correct to gnu/linux during the next big refactor
   17259   need_lib_prefix=no
   17260   need_version=no
   17261   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17262   soname_spec='$libname$release$shared_ext$major'
   17263   shlibpath_var=LD_LIBRARY_PATH
   17264   shlibpath_overrides_runpath=yes
   17265   hardcode_into_libs=yes
   17266   # ldd complains unless libraries are executable
   17267   postinstall_cmds='chmod +x $lib'
   17268   ;;
   17269 
   17270 sunos4*)
   17271   version_type=sunos
   17272   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17273   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17274   shlibpath_var=LD_LIBRARY_PATH
   17275   shlibpath_overrides_runpath=yes
   17276   if test yes = "$with_gnu_ld"; then
   17277     need_lib_prefix=no
   17278   fi
   17279   need_version=yes
   17280   ;;
   17281 
   17282 sysv4 | sysv4.3*)
   17283   version_type=linux # correct to gnu/linux during the next big refactor
   17284   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17285   soname_spec='$libname$release$shared_ext$major'
   17286   shlibpath_var=LD_LIBRARY_PATH
   17287   case $host_vendor in
   17288     sni)
   17289       shlibpath_overrides_runpath=no
   17290       need_lib_prefix=no
   17291       runpath_var=LD_RUN_PATH
   17292       ;;
   17293     siemens)
   17294       need_lib_prefix=no
   17295       ;;
   17296     motorola)
   17297       need_lib_prefix=no
   17298       need_version=no
   17299       shlibpath_overrides_runpath=no
   17300       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17301       ;;
   17302   esac
   17303   ;;
   17304 
   17305 sysv4*MP*)
   17306   if test -d /usr/nec; then
   17307     version_type=linux # correct to gnu/linux during the next big refactor
   17308     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17309     soname_spec='$libname$shared_ext.$major'
   17310     shlibpath_var=LD_LIBRARY_PATH
   17311   fi
   17312   ;;
   17313 
   17314 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17315   version_type=sco
   17316   need_lib_prefix=no
   17317   need_version=no
   17318   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17319   soname_spec='$libname$release$shared_ext$major'
   17320   shlibpath_var=LD_LIBRARY_PATH
   17321   shlibpath_overrides_runpath=yes
   17322   hardcode_into_libs=yes
   17323   if test yes = "$with_gnu_ld"; then
   17324     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17325   else
   17326     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17327     case $host_os in
   17328       sco3.2v5*)
   17329         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17330 	;;
   17331     esac
   17332   fi
   17333   sys_lib_dlsearch_path_spec='/usr/lib'
   17334   ;;
   17335 
   17336 tpf*)
   17337   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17338   version_type=linux # correct to gnu/linux during the next big refactor
   17339   need_lib_prefix=no
   17340   need_version=no
   17341   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17342   shlibpath_var=LD_LIBRARY_PATH
   17343   shlibpath_overrides_runpath=no
   17344   hardcode_into_libs=yes
   17345   ;;
   17346 
   17347 uts4*)
   17348   version_type=linux # correct to gnu/linux during the next big refactor
   17349   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17350   soname_spec='$libname$release$shared_ext$major'
   17351   shlibpath_var=LD_LIBRARY_PATH
   17352   ;;
   17353 
   17354 *)
   17355   dynamic_linker=no
   17356   ;;
   17357 esac
   17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17359 $as_echo "$dynamic_linker" >&6; }
   17360 test no = "$dynamic_linker" && can_build_shared=no
   17361 
   17362 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17363 if test yes = "$GCC"; then
   17364   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17365 fi
   17366 
   17367 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17368   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17369 fi
   17370 
   17371 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17372   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17373 fi
   17374 
   17375 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17376 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17377 
   17378 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17379 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17380 
   17381 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17382 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 
   17413 
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17425 hardcode_action_CXX=
   17426 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   17427    test -n "$runpath_var_CXX" ||
   17428    test yes = "$hardcode_automatic_CXX"; then
   17429 
   17430   # We can hardcode non-existent directories.
   17431   if test no != "$hardcode_direct_CXX" &&
   17432      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17433      # have to relink, otherwise we might link with an installed library
   17434      # when we should be linking with a yet-to-be-installed one
   17435      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   17436      test no != "$hardcode_minus_L_CXX"; then
   17437     # Linking always hardcodes the temporary library directory.
   17438     hardcode_action_CXX=relink
   17439   else
   17440     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17441     hardcode_action_CXX=immediate
   17442   fi
   17443 else
   17444   # We cannot hardcode anything, or else we can only hardcode existing
   17445   # directories.
   17446   hardcode_action_CXX=unsupported
   17447 fi
   17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   17449 $as_echo "$hardcode_action_CXX" >&6; }
   17450 
   17451 if test relink = "$hardcode_action_CXX" ||
   17452    test yes = "$inherit_rpath_CXX"; then
   17453   # Fast installation is not supported
   17454   enable_fast_install=no
   17455 elif test yes = "$shlibpath_overrides_runpath" ||
   17456      test no = "$enable_shared"; then
   17457   # Fast installation is not necessary
   17458   enable_fast_install=needless
   17459 fi
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467   fi # test -n "$compiler"
   17468 
   17469   CC=$lt_save_CC
   17470   CFLAGS=$lt_save_CFLAGS
   17471   LDCXX=$LD
   17472   LD=$lt_save_LD
   17473   GCC=$lt_save_GCC
   17474   with_gnu_ld=$lt_save_with_gnu_ld
   17475   lt_cv_path_LDCXX=$lt_cv_path_LD
   17476   lt_cv_path_LD=$lt_save_path_LD
   17477   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   17478   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   17479 fi # test yes != "$_lt_caught_CXX_error"
   17480 
   17481 ac_ext=c
   17482 ac_cpp='$CPP $CPPFLAGS'
   17483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 
   17496 
   17497 
   17498 
   17499 
   17500 
   17501         ac_config_commands="$ac_config_commands libtool"
   17502 
   17503 
   17504 
   17505 
   17506 # Only expand once:
   17507 
   17508 
   17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   17510 $as_echo_n "checking whether ln -s works... " >&6; }
   17511 LN_S=$as_ln_s
   17512 if test "$LN_S" = "ln -s"; then
   17513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17514 $as_echo "yes" >&6; }
   17515 else
   17516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   17517 $as_echo "no, using $LN_S" >&6; }
   17518 fi
   17519 
   17520 
   17521 # Check for GCC visibility feature
   17522 
   17523 
   17524 
   17525   VISIBILITY_CFLAGS=
   17526   VISIBILITY_CXXFLAGS=
   17527   HAVE_VISIBILITY=0
   17528   if test -n "$GCC"; then
   17529                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
   17530 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
   17531     if ${pcre_cv_cc_vis_werror+:} false; then :
   17532   $as_echo_n "(cached) " >&6
   17533 else
   17534 
   17535       pcre_save_CFLAGS="$CFLAGS"
   17536       CFLAGS="$CFLAGS -Werror"
   17537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17538 /* end confdefs.h.  */
   17539 
   17540 int
   17541 main ()
   17542 {
   17543 
   17544   ;
   17545   return 0;
   17546 }
   17547 _ACEOF
   17548 if ac_fn_c_try_compile "$LINENO"; then :
   17549   pcre_cv_cc_vis_werror=yes
   17550 else
   17551   pcre_cv_cc_vis_werror=no
   17552 fi
   17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17554       CFLAGS="$pcre_save_CFLAGS"
   17555 fi
   17556 
   17557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_vis_werror" >&5
   17558 $as_echo "$pcre_cv_cc_vis_werror" >&6; }
   17559         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
   17560 $as_echo_n "checking for simple visibility declarations... " >&6; }
   17561     if ${pcre_cv_cc_visibility+:} false; then :
   17562   $as_echo_n "(cached) " >&6
   17563 else
   17564 
   17565       pcre_save_CFLAGS="$CFLAGS"
   17566       CFLAGS="$CFLAGS -fvisibility=hidden"
   17567                                     if test $pcre_cv_cc_vis_werror = yes; then
   17568         CFLAGS="$CFLAGS -Werror"
   17569       fi
   17570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17571 /* end confdefs.h.  */
   17572 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
   17573              extern __attribute__((__visibility__("default"))) int exportedvar;
   17574              extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
   17575              extern __attribute__((__visibility__("default"))) int exportedfunc (void);
   17576              void dummyfunc (void) {}
   17577 
   17578 int
   17579 main ()
   17580 {
   17581 
   17582   ;
   17583   return 0;
   17584 }
   17585 _ACEOF
   17586 if ac_fn_c_try_compile "$LINENO"; then :
   17587   pcre_cv_cc_visibility=yes
   17588 else
   17589   pcre_cv_cc_visibility=no
   17590 fi
   17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17592       CFLAGS="$pcre_save_CFLAGS"
   17593 fi
   17594 
   17595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_visibility" >&5
   17596 $as_echo "$pcre_cv_cc_visibility" >&6; }
   17597     if test $pcre_cv_cc_visibility = yes; then
   17598       VISIBILITY_CFLAGS="-fvisibility=hidden"
   17599       VISIBILITY_CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden"
   17600       HAVE_VISIBILITY=1
   17601 
   17602 $as_echo "#define PCRE_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17603 
   17604 
   17605 $as_echo "#define PCRE_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17606 
   17607 
   17608 $as_echo "#define PCRE_EXP_DATA_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17609 
   17610 
   17611 $as_echo "#define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17612 
   17613 
   17614 $as_echo "#define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17615 
   17616 
   17617 $as_echo "#define PCRECPP_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17618 
   17619 
   17620 $as_echo "#define PCRECPP_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
   17621 
   17622     fi
   17623   fi
   17624 
   17625 
   17626 
   17627 
   17628 cat >>confdefs.h <<_ACEOF
   17629 #define HAVE_VISIBILITY $HAVE_VISIBILITY
   17630 _ACEOF
   17631 
   17632 
   17633 
   17634 # Versioning
   17635 
   17636 PCRE_MAJOR="8"
   17637 PCRE_MINOR="38"
   17638 PCRE_PRERELEASE=""
   17639 PCRE_DATE="2015-11-23"
   17640 
   17641 if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09"
   17642 then
   17643   echo "***"
   17644   echo "*** Minor version number $PCRE_MINOR must not be used. ***"
   17645   echo "*** Use only 01 to 07 or 10 onwards, to avoid octal issues. ***"
   17646   echo "***"
   17647   exit 1
   17648 fi
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 # Set a more sensible default value for $(htmldir).
   17656 if test "x$htmldir" = 'x${docdir}'
   17657 then
   17658   htmldir='${docdir}/html'
   17659 fi
   17660 
   17661 # Handle --disable-pcre8 (enabled by default)
   17662 # Check whether --enable-pcre8 was given.
   17663 if test "${enable_pcre8+set}" = set; then :
   17664   enableval=$enable_pcre8;
   17665 else
   17666   enable_pcre8=unset
   17667 fi
   17668 
   17669 
   17670 
   17671 # Handle --enable-pcre16 (disabled by default)
   17672 # Check whether --enable-pcre16 was given.
   17673 if test "${enable_pcre16+set}" = set; then :
   17674   enableval=$enable_pcre16;
   17675 else
   17676   enable_pcre16=unset
   17677 fi
   17678 
   17679 
   17680 
   17681 # Handle --enable-pcre32 (disabled by default)
   17682 # Check whether --enable-pcre32 was given.
   17683 if test "${enable_pcre32+set}" = set; then :
   17684   enableval=$enable_pcre32;
   17685 else
   17686   enable_pcre32=unset
   17687 fi
   17688 
   17689 
   17690 
   17691 # Handle --disable-cpp. The substitution of enable_cpp is needed for use in
   17692 # pcre-config.
   17693 # Check whether --enable-cpp was given.
   17694 if test "${enable_cpp+set}" = set; then :
   17695   enableval=$enable_cpp;
   17696 else
   17697   enable_cpp=unset
   17698 fi
   17699 
   17700 
   17701 
   17702 # Handle --enable-jit (disabled by default)
   17703 # Check whether --enable-jit was given.
   17704 if test "${enable_jit+set}" = set; then :
   17705   enableval=$enable_jit;
   17706 else
   17707   enable_jit=no
   17708 fi
   17709 
   17710 
   17711 # Handle --disable-pcregrep-jit (enabled by default)
   17712 # Check whether --enable-pcregrep-jit was given.
   17713 if test "${enable_pcregrep_jit+set}" = set; then :
   17714   enableval=$enable_pcregrep_jit;
   17715 else
   17716   enable_pcregrep_jit=yes
   17717 fi
   17718 
   17719 
   17720 # Handle --enable-rebuild-chartables
   17721 # Check whether --enable-rebuild-chartables was given.
   17722 if test "${enable_rebuild_chartables+set}" = set; then :
   17723   enableval=$enable_rebuild_chartables;
   17724 else
   17725   enable_rebuild_chartables=no
   17726 fi
   17727 
   17728 
   17729 # Handle --enable-utf8 (disabled by default)
   17730 # Check whether --enable-utf8 was given.
   17731 if test "${enable_utf8+set}" = set; then :
   17732   enableval=$enable_utf8;
   17733 else
   17734   enable_utf8=unset
   17735 fi
   17736 
   17737 
   17738 # Handle --enable-utf (disabled by default)
   17739 # Check whether --enable-utf was given.
   17740 if test "${enable_utf+set}" = set; then :
   17741   enableval=$enable_utf;
   17742 else
   17743   enable_utf=unset
   17744 fi
   17745 
   17746 
   17747 # Handle --enable-unicode-properties
   17748 # Check whether --enable-unicode-properties was given.
   17749 if test "${enable_unicode_properties+set}" = set; then :
   17750   enableval=$enable_unicode_properties;
   17751 else
   17752   enable_unicode_properties=no
   17753 fi
   17754 
   17755 
   17756 # Handle newline options
   17757 ac_pcre_newline=lf
   17758 # Check whether --enable-newline-is-cr was given.
   17759 if test "${enable_newline_is_cr+set}" = set; then :
   17760   enableval=$enable_newline_is_cr; ac_pcre_newline=cr
   17761 fi
   17762 
   17763 # Check whether --enable-newline-is-lf was given.
   17764 if test "${enable_newline_is_lf+set}" = set; then :
   17765   enableval=$enable_newline_is_lf; ac_pcre_newline=lf
   17766 fi
   17767 
   17768 # Check whether --enable-newline-is-crlf was given.
   17769 if test "${enable_newline_is_crlf+set}" = set; then :
   17770   enableval=$enable_newline_is_crlf; ac_pcre_newline=crlf
   17771 fi
   17772 
   17773 # Check whether --enable-newline-is-anycrlf was given.
   17774 if test "${enable_newline_is_anycrlf+set}" = set; then :
   17775   enableval=$enable_newline_is_anycrlf; ac_pcre_newline=anycrlf
   17776 fi
   17777 
   17778 # Check whether --enable-newline-is-any was given.
   17779 if test "${enable_newline_is_any+set}" = set; then :
   17780   enableval=$enable_newline_is_any; ac_pcre_newline=any
   17781 fi
   17782 
   17783 enable_newline="$ac_pcre_newline"
   17784 
   17785 # Handle --enable-bsr-anycrlf
   17786 # Check whether --enable-bsr-anycrlf was given.
   17787 if test "${enable_bsr_anycrlf+set}" = set; then :
   17788   enableval=$enable_bsr_anycrlf;
   17789 else
   17790   enable_bsr_anycrlf=no
   17791 fi
   17792 
   17793 
   17794 # Handle --enable-ebcdic
   17795 # Check whether --enable-ebcdic was given.
   17796 if test "${enable_ebcdic+set}" = set; then :
   17797   enableval=$enable_ebcdic;
   17798 else
   17799   enable_ebcdic=no
   17800 fi
   17801 
   17802 
   17803 # Handle --enable-ebcdic-nl25
   17804 # Check whether --enable-ebcdic-nl25 was given.
   17805 if test "${enable_ebcdic_nl25+set}" = set; then :
   17806   enableval=$enable_ebcdic_nl25;
   17807 else
   17808   enable_ebcdic_nl25=no
   17809 fi
   17810 
   17811 
   17812 # Handle --disable-stack-for-recursion
   17813 # Check whether --enable-stack-for-recursion was given.
   17814 if test "${enable_stack_for_recursion+set}" = set; then :
   17815   enableval=$enable_stack_for_recursion;
   17816 else
   17817   enable_stack_for_recursion=yes
   17818 fi
   17819 
   17820 
   17821 # Handle --enable-pcregrep-libz
   17822 # Check whether --enable-pcregrep-libz was given.
   17823 if test "${enable_pcregrep_libz+set}" = set; then :
   17824   enableval=$enable_pcregrep_libz;
   17825 else
   17826   enable_pcregrep_libz=no
   17827 fi
   17828 
   17829 
   17830 # Handle --enable-pcregrep-libbz2
   17831 # Check whether --enable-pcregrep-libbz2 was given.
   17832 if test "${enable_pcregrep_libbz2+set}" = set; then :
   17833   enableval=$enable_pcregrep_libbz2;
   17834 else
   17835   enable_pcregrep_libbz2=no
   17836 fi
   17837 
   17838 
   17839 # Handle --with-pcregrep-bufsize=N
   17840 
   17841 # Check whether --with-pcregrep-bufsize was given.
   17842 if test "${with_pcregrep_bufsize+set}" = set; then :
   17843   withval=$with_pcregrep_bufsize;
   17844 else
   17845   with_pcregrep_bufsize=20480
   17846 fi
   17847 
   17848 
   17849 # Handle --enable-pcretest-libedit
   17850 # Check whether --enable-pcretest-libedit was given.
   17851 if test "${enable_pcretest_libedit+set}" = set; then :
   17852   enableval=$enable_pcretest_libedit;
   17853 else
   17854   enable_pcretest_libedit=no
   17855 fi
   17856 
   17857 
   17858 # Handle --enable-pcretest-libreadline
   17859 # Check whether --enable-pcretest-libreadline was given.
   17860 if test "${enable_pcretest_libreadline+set}" = set; then :
   17861   enableval=$enable_pcretest_libreadline;
   17862 else
   17863   enable_pcretest_libreadline=no
   17864 fi
   17865 
   17866 
   17867 # Handle --with-posix-malloc-threshold=NBYTES
   17868 
   17869 # Check whether --with-posix-malloc-threshold was given.
   17870 if test "${with_posix_malloc_threshold+set}" = set; then :
   17871   withval=$with_posix_malloc_threshold;
   17872 else
   17873   with_posix_malloc_threshold=10
   17874 fi
   17875 
   17876 
   17877 # Handle --with-link-size=N
   17878 
   17879 # Check whether --with-link-size was given.
   17880 if test "${with_link_size+set}" = set; then :
   17881   withval=$with_link_size;
   17882 else
   17883   with_link_size=2
   17884 fi
   17885 
   17886 
   17887 # Handle --with-parens-nest-limit=N
   17888 
   17889 # Check whether --with-parens-nest-limit was given.
   17890 if test "${with_parens_nest_limit+set}" = set; then :
   17891   withval=$with_parens_nest_limit;
   17892 else
   17893   with_parens_nest_limit=250
   17894 fi
   17895 
   17896 
   17897 # Handle --with-match-limit=N
   17898 
   17899 # Check whether --with-match-limit was given.
   17900 if test "${with_match_limit+set}" = set; then :
   17901   withval=$with_match_limit;
   17902 else
   17903   with_match_limit=10000000
   17904 fi
   17905 
   17906 
   17907 # Handle --with-match-limit_recursion=N
   17908 #
   17909 # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
   17910 # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
   17911 # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
   17912 # different numeric value (or even the same numeric value as MATCH_LIMIT,
   17913 # though no longer defined in terms of the latter).
   17914 #
   17915 
   17916 # Check whether --with-match-limit-recursion was given.
   17917 if test "${with_match_limit_recursion+set}" = set; then :
   17918   withval=$with_match_limit_recursion;
   17919 else
   17920   with_match_limit_recursion=MATCH_LIMIT
   17921 fi
   17922 
   17923 
   17924 # Handle --enable-valgrind
   17925 # Check whether --enable-valgrind was given.
   17926 if test "${enable_valgrind+set}" = set; then :
   17927   enableval=$enable_valgrind;
   17928 else
   17929   enable_valgrind=no
   17930 fi
   17931 
   17932 
   17933 # Enable code coverage reports using gcov
   17934 # Check whether --enable-coverage was given.
   17935 if test "${enable_coverage+set}" = set; then :
   17936   enableval=$enable_coverage;
   17937 else
   17938   enable_coverage=no
   17939 fi
   17940 
   17941 
   17942 # Copy enable_utf8 value to enable_utf for compatibility reasons
   17943 if test "x$enable_utf8" != "xunset"
   17944 then
   17945   if test "x$enable_utf" != "xunset"
   17946   then
   17947     as_fn_error $? "--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone." "$LINENO" 5
   17948   fi
   17949   enable_utf=$enable_utf8
   17950 fi
   17951 
   17952 # Set the default value for pcre8
   17953 if test "x$enable_pcre8" = "xunset"
   17954 then
   17955   enable_pcre8=yes
   17956 fi
   17957 
   17958 # Set the default value for pcre16
   17959 if test "x$enable_pcre16" = "xunset"
   17960 then
   17961   enable_pcre16=no
   17962 fi
   17963 
   17964 # Set the default value for pcre32
   17965 if test "x$enable_pcre32" = "xunset"
   17966 then
   17967   enable_pcre32=no
   17968 fi
   17969 
   17970 # Make sure enable_pcre8 or enable_pcre16 was set
   17971 if test "x$enable_pcre8$enable_pcre16$enable_pcre32" = "xnonono"
   17972 then
   17973   as_fn_error $? "At least one of 8, 16 or 32 bit pcre library must be enabled" "$LINENO" 5
   17974 fi
   17975 
   17976 # Make sure that if enable_unicode_properties was set, that UTF support is enabled.
   17977 if test "x$enable_unicode_properties" = "xyes"
   17978 then
   17979   if test "x$enable_utf" = "xno"
   17980   then
   17981     as_fn_error $? "support for Unicode properties requires UTF-8/16/32 support" "$LINENO" 5
   17982   fi
   17983   enable_utf=yes
   17984 fi
   17985 
   17986 # enable_utf is disabled by default.
   17987 if test "x$enable_utf" = "xunset"
   17988 then
   17989   enable_utf=no
   17990 fi
   17991 
   17992 # enable_cpp copies the value of enable_pcre8 by default
   17993 if test "x$enable_cpp" = "xunset"
   17994 then
   17995   enable_cpp=$enable_pcre8
   17996 fi
   17997 
   17998 # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled
   17999 if test "x$enable_cpp" = "xyes"
   18000 then
   18001   if test "x$enable_pcre8" = "xno"
   18002   then
   18003     as_fn_error $? "C++ library requires pcre library with 8 bit characters" "$LINENO" 5
   18004   fi
   18005 fi
   18006 
   18007 # Convert the newline identifier into the appropriate integer value. The first
   18008 # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they
   18009 # are changed below.
   18010 
   18011 case "$enable_newline" in
   18012   lf)      ac_pcre_newline_value=10   ;;
   18013   cr)      ac_pcre_newline_value=13   ;;
   18014   crlf)    ac_pcre_newline_value=3338 ;;
   18015   anycrlf) ac_pcre_newline_value=-2   ;;
   18016   any)     ac_pcre_newline_value=-1   ;;
   18017   *)
   18018   as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
   18019   ;;
   18020 esac
   18021 
   18022 # --enable-ebcdic-nl25 implies --enable-ebcdic
   18023 if test "x$enable_ebcdic_nl25" = "xyes"; then
   18024   enable_ebcdic=yes
   18025 fi
   18026 
   18027 # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled,
   18028 # and the newline value is adjusted appropriately (CR is still 13, but LF is
   18029 # 21 or 37). Also check that UTF support is not requested, because PCRE cannot
   18030 # handle EBCDIC and UTF in the same build. To do so it would need to use
   18031 # different character constants depending on the mode.
   18032 #
   18033 if test "x$enable_ebcdic" = "xyes"; then
   18034   enable_rebuild_chartables=yes
   18035 
   18036   if test "x$enable_utf" = "xyes"; then
   18037     as_fn_error $? "support for EBCDIC and UTF-8/16/32 cannot be enabled at the same time" "$LINENO" 5
   18038   fi
   18039 
   18040   if test "x$enable_ebcdic_nl25" = "xno"; then
   18041     case "$ac_pcre_newline_value" in
   18042       10)   ac_pcre_newline_value=21 ;;
   18043       3338) ac_pcre_newline_value=3349 ;;
   18044     esac
   18045   else
   18046     case "$ac_pcre_newline_value" in
   18047       10)   ac_pcre_newline_value=37 ;;
   18048       3338) ac_pcre_newline_value=3365 ;;
   18049     esac
   18050   fi
   18051 fi
   18052 
   18053 # Check argument to --with-link-size
   18054 case "$with_link_size" in
   18055   2|3|4) ;;
   18056   *)
   18057   as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
   18058   ;;
   18059 esac
   18060 
   18061 
   18062 
   18063 # Checks for header files.
   18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   18065 $as_echo_n "checking for ANSI C header files... " >&6; }
   18066 if ${ac_cv_header_stdc+:} false; then :
   18067   $as_echo_n "(cached) " >&6
   18068 else
   18069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18070 /* end confdefs.h.  */
   18071 #include <stdlib.h>
   18072 #include <stdarg.h>
   18073 #include <string.h>
   18074 #include <float.h>
   18075 
   18076 int
   18077 main ()
   18078 {
   18079 
   18080   ;
   18081   return 0;
   18082 }
   18083 _ACEOF
   18084 if ac_fn_c_try_compile "$LINENO"; then :
   18085   ac_cv_header_stdc=yes
   18086 else
   18087   ac_cv_header_stdc=no
   18088 fi
   18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18090 
   18091 if test $ac_cv_header_stdc = yes; then
   18092   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   18093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18094 /* end confdefs.h.  */
   18095 #include <string.h>
   18096 
   18097 _ACEOF
   18098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   18099   $EGREP "memchr" >/dev/null 2>&1; then :
   18100 
   18101 else
   18102   ac_cv_header_stdc=no
   18103 fi
   18104 rm -f conftest*
   18105 
   18106 fi
   18107 
   18108 if test $ac_cv_header_stdc = yes; then
   18109   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   18110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18111 /* end confdefs.h.  */
   18112 #include <stdlib.h>
   18113 
   18114 _ACEOF
   18115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   18116   $EGREP "free" >/dev/null 2>&1; then :
   18117 
   18118 else
   18119   ac_cv_header_stdc=no
   18120 fi
   18121 rm -f conftest*
   18122 
   18123 fi
   18124 
   18125 if test $ac_cv_header_stdc = yes; then
   18126   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   18127   if test "$cross_compiling" = yes; then :
   18128   :
   18129 else
   18130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18131 /* end confdefs.h.  */
   18132 #include <ctype.h>
   18133 #include <stdlib.h>
   18134 #if ((' ' & 0x0FF) == 0x020)
   18135 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   18136 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   18137 #else
   18138 # define ISLOWER(c) \
   18139 		   (('a' <= (c) && (c) <= 'i') \
   18140 		     || ('j' <= (c) && (c) <= 'r') \
   18141 		     || ('s' <= (c) && (c) <= 'z'))
   18142 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   18143 #endif
   18144 
   18145 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   18146 int
   18147 main ()
   18148 {
   18149   int i;
   18150   for (i = 0; i < 256; i++)
   18151     if (XOR (islower (i), ISLOWER (i))
   18152 	|| toupper (i) != TOUPPER (i))
   18153       return 2;
   18154   return 0;
   18155 }
   18156 _ACEOF
   18157 if ac_fn_c_try_run "$LINENO"; then :
   18158 
   18159 else
   18160   ac_cv_header_stdc=no
   18161 fi
   18162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18163   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18164 fi
   18165 
   18166 fi
   18167 fi
   18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   18169 $as_echo "$ac_cv_header_stdc" >&6; }
   18170 if test $ac_cv_header_stdc = yes; then
   18171 
   18172 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   18173 
   18174 fi
   18175 
   18176 for ac_header in limits.h sys/types.h sys/stat.h dirent.h
   18177 do :
   18178   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   18179 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   18180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   18181   cat >>confdefs.h <<_ACEOF
   18182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   18183 _ACEOF
   18184 
   18185 fi
   18186 
   18187 done
   18188 
   18189 for ac_header in windows.h
   18190 do :
   18191   ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
   18192 if test "x$ac_cv_header_windows_h" = xyes; then :
   18193   cat >>confdefs.h <<_ACEOF
   18194 #define HAVE_WINDOWS_H 1
   18195 _ACEOF
   18196  HAVE_WINDOWS_H=1
   18197 fi
   18198 
   18199 done
   18200 
   18201 
   18202 # The files below are C++ header files.
   18203 pcre_have_type_traits="0"
   18204 pcre_have_bits_type_traits="0"
   18205 
   18206 if test "x$enable_cpp" = "xyes" -a -z "$CXX"; then
   18207    as_fn_error $? "You need a C++ compiler for C++ support." "$LINENO" 5
   18208 fi
   18209 
   18210 if test "x$enable_cpp" = "xyes" -a -n "$CXX"
   18211 then
   18212 ac_ext=cpp
   18213 ac_cpp='$CXXCPP $CPPFLAGS'
   18214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   18217 
   18218 
   18219 # Older versions of pcre defined pcrecpp::no_arg, but in new versions
   18220 # it's called pcrecpp::RE::no_arg.  For backwards ABI compatibility,
   18221 # we want to make one an alias for the other.  Different systems do
   18222 # this in different ways.  Some systems, for instance, can do it via
   18223 # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
   18224 OLD_LDFLAGS="$LDFLAGS"
   18225 for flag in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
   18226             "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
   18227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alias support in the linker" >&5
   18228 $as_echo_n "checking for alias support in the linker... " >&6; }
   18229   LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
   18230   # We try to run the linker with this new ld flag.  If the link fails,
   18231   # we give up and remove the new flag from LDFLAGS.
   18232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18233 /* end confdefs.h.  */
   18234 namespace pcrecpp {
   18235                                     class RE { static int no_arg; };
   18236                                     int RE::no_arg;
   18237                                   }
   18238 int
   18239 main ()
   18240 {
   18241 
   18242   ;
   18243   return 0;
   18244 }
   18245 _ACEOF
   18246 if ac_fn_cxx_try_link "$LINENO"; then :
   18247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18248 $as_echo "yes" >&6; };
   18249                   EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
   18250                   break;
   18251 else
   18252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18253 $as_echo "no" >&6; }
   18254 fi
   18255 rm -f core conftest.err conftest.$ac_objext \
   18256     conftest$ac_exeext conftest.$ac_ext
   18257 done
   18258 LDFLAGS="$OLD_LDFLAGS"
   18259 
   18260 # We could be more clever here, given we're doing AC_SUBST with this
   18261 # (eg set a var to be the name of the include file we want). But we're not
   18262 # so it's easy to change back to 'regular' autoconf vars if we needed to.
   18263 
   18264 for ac_header in string
   18265 do :
   18266   ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
   18267 if test "x$ac_cv_header_string" = xyes; then :
   18268   cat >>confdefs.h <<_ACEOF
   18269 #define HAVE_STRING 1
   18270 _ACEOF
   18271  pcre_have_cpp_headers="1"
   18272 else
   18273   pcre_have_cpp_headers="0"
   18274 fi
   18275 
   18276 done
   18277 
   18278 for ac_header in bits/type_traits.h
   18279 do :
   18280   ac_fn_cxx_check_header_mongrel "$LINENO" "bits/type_traits.h" "ac_cv_header_bits_type_traits_h" "$ac_includes_default"
   18281 if test "x$ac_cv_header_bits_type_traits_h" = xyes; then :
   18282   cat >>confdefs.h <<_ACEOF
   18283 #define HAVE_BITS_TYPE_TRAITS_H 1
   18284 _ACEOF
   18285  pcre_have_bits_type_traits="1"
   18286 else
   18287   pcre_have_bits_type_traits="0"
   18288 fi
   18289 
   18290 done
   18291 
   18292 for ac_header in type_traits.h
   18293 do :
   18294   ac_fn_cxx_check_header_mongrel "$LINENO" "type_traits.h" "ac_cv_header_type_traits_h" "$ac_includes_default"
   18295 if test "x$ac_cv_header_type_traits_h" = xyes; then :
   18296   cat >>confdefs.h <<_ACEOF
   18297 #define HAVE_TYPE_TRAITS_H 1
   18298 _ACEOF
   18299  pcre_have_type_traits="1"
   18300 else
   18301   pcre_have_type_traits="0"
   18302 fi
   18303 
   18304 done
   18305 
   18306 
   18307 # (This isn't c++-specific, but is only used in pcrecpp.cc, so try this
   18308 # in a c++ context.  This matters becuase strtoimax is C99 and may not
   18309 # be supported by the C++ compiler.)
   18310 # Figure out how to create a longlong from a string: strtoll and
   18311 # equiv.  It's not enough to call AC_CHECK_FUNCS: hpux has a
   18312 # strtoll, for instance, but it only takes 2 args instead of 3!
   18313 # We have to call AH_TEMPLATE since AC_DEFINE_UNQUOTED below is complex.
   18314 
   18315 
   18316 
   18317 
   18318 have_strto_fn=0
   18319 for fn in strtoq strtoll _strtoi64 strtoimax; do
   18320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $fn" >&5
   18321 $as_echo_n "checking for $fn... " >&6; }
   18322   if test "$fn" = strtoimax; then
   18323     include=stdint.h
   18324   else
   18325     include=stdlib.h
   18326   fi
   18327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18328 /* end confdefs.h.  */
   18329 #include <$include>
   18330 int
   18331 main ()
   18332 {
   18333 char* e; return $fn("100", &e, 10)
   18334   ;
   18335   return 0;
   18336 }
   18337 _ACEOF
   18338 if ac_fn_cxx_try_compile "$LINENO"; then :
   18339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18340 $as_echo "yes" >&6; }
   18341 
   18342 cat >>confdefs.h <<_ACEOF
   18343 #define HAVE_`echo $fn | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ` 1
   18344 _ACEOF
   18345 
   18346                      have_strto_fn=1
   18347                      break
   18348 else
   18349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18350 $as_echo "no" >&6; }
   18351 fi
   18352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18353 done
   18354 
   18355 if test "$have_strto_fn" = 1; then
   18356   ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
   18357 if test "x$ac_cv_type_long_long" = xyes; then :
   18358 
   18359 cat >>confdefs.h <<_ACEOF
   18360 #define HAVE_LONG_LONG 1
   18361 _ACEOF
   18362 
   18363 pcre_have_long_long="1"
   18364 else
   18365   pcre_have_long_long="0"
   18366 fi
   18367 
   18368   ac_fn_cxx_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
   18369 if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
   18370 
   18371 cat >>confdefs.h <<_ACEOF
   18372 #define HAVE_UNSIGNED_LONG_LONG 1
   18373 _ACEOF
   18374 
   18375 pcre_have_ulong_long="1"
   18376 else
   18377   pcre_have_ulong_long="0"
   18378 fi
   18379 
   18380 else
   18381   pcre_have_long_long="0"
   18382   pcre_have_ulong_long="0"
   18383 fi
   18384 
   18385 
   18386 
   18387 ac_ext=c
   18388 ac_cpp='$CPP $CPPFLAGS'
   18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18392 
   18393 fi
   18394 # Using AC_SUBST eliminates the need to include config.h in a public .h file
   18395 
   18396 
   18397 
   18398 # Conditional compilation
   18399  if test "x$enable_pcre8" = "xyes"; then
   18400   WITH_PCRE8_TRUE=
   18401   WITH_PCRE8_FALSE='#'
   18402 else
   18403   WITH_PCRE8_TRUE='#'
   18404   WITH_PCRE8_FALSE=
   18405 fi
   18406 
   18407  if test "x$enable_pcre16" = "xyes"; then
   18408   WITH_PCRE16_TRUE=
   18409   WITH_PCRE16_FALSE='#'
   18410 else
   18411   WITH_PCRE16_TRUE='#'
   18412   WITH_PCRE16_FALSE=
   18413 fi
   18414 
   18415  if test "x$enable_pcre32" = "xyes"; then
   18416   WITH_PCRE32_TRUE=
   18417   WITH_PCRE32_FALSE='#'
   18418 else
   18419   WITH_PCRE32_TRUE='#'
   18420   WITH_PCRE32_FALSE=
   18421 fi
   18422 
   18423  if test "x$enable_cpp" = "xyes"; then
   18424   WITH_PCRE_CPP_TRUE=
   18425   WITH_PCRE_CPP_FALSE='#'
   18426 else
   18427   WITH_PCRE_CPP_TRUE='#'
   18428   WITH_PCRE_CPP_FALSE=
   18429 fi
   18430 
   18431  if test "x$enable_rebuild_chartables" = "xyes"; then
   18432   WITH_REBUILD_CHARTABLES_TRUE=
   18433   WITH_REBUILD_CHARTABLES_FALSE='#'
   18434 else
   18435   WITH_REBUILD_CHARTABLES_TRUE='#'
   18436   WITH_REBUILD_CHARTABLES_FALSE=
   18437 fi
   18438 
   18439  if test "x$enable_jit" = "xyes"; then
   18440   WITH_JIT_TRUE=
   18441   WITH_JIT_FALSE='#'
   18442 else
   18443   WITH_JIT_TRUE='#'
   18444   WITH_JIT_FALSE=
   18445 fi
   18446 
   18447  if test "x$enable_utf" = "xyes"; then
   18448   WITH_UTF_TRUE=
   18449   WITH_UTF_FALSE='#'
   18450 else
   18451   WITH_UTF_TRUE='#'
   18452   WITH_UTF_FALSE=
   18453 fi
   18454 
   18455  if test "x$enable_valgrind" = "xyes"; then
   18456   WITH_VALGRIND_TRUE=
   18457   WITH_VALGRIND_FALSE='#'
   18458 else
   18459   WITH_VALGRIND_TRUE='#'
   18460   WITH_VALGRIND_FALSE=
   18461 fi
   18462 
   18463 
   18464 # Checks for typedefs, structures, and compiler characteristics.
   18465 
   18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   18467 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   18468 if ${ac_cv_c_const+:} false; then :
   18469   $as_echo_n "(cached) " >&6
   18470 else
   18471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18472 /* end confdefs.h.  */
   18473 
   18474 int
   18475 main ()
   18476 {
   18477 
   18478 #ifndef __cplusplus
   18479   /* Ultrix mips cc rejects this sort of thing.  */
   18480   typedef int charset[2];
   18481   const charset cs = { 0, 0 };
   18482   /* SunOS 4.1.1 cc rejects this.  */
   18483   char const *const *pcpcc;
   18484   char **ppc;
   18485   /* NEC SVR4.0.2 mips cc rejects this.  */
   18486   struct point {int x, y;};
   18487   static struct point const zero = {0,0};
   18488   /* AIX XL C 1.02.0.0 rejects this.
   18489      It does not let you subtract one const X* pointer from another in
   18490      an arm of an if-expression whose if-part is not a constant
   18491      expression */
   18492   const char *g = "string";
   18493   pcpcc = &g + (g ? g-g : 0);
   18494   /* HPUX 7.0 cc rejects these. */
   18495   ++pcpcc;
   18496   ppc = (char**) pcpcc;
   18497   pcpcc = (char const *const *) ppc;
   18498   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   18499     char tx;
   18500     char *t = &tx;
   18501     char const *s = 0 ? (char *) 0 : (char const *) 0;
   18502 
   18503     *t++ = 0;
   18504     if (s) return 0;
   18505   }
   18506   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   18507     int x[] = {25, 17};
   18508     const int *foo = &x[0];
   18509     ++foo;
   18510   }
   18511   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   18512     typedef const int *iptr;
   18513     iptr p = 0;
   18514     ++p;
   18515   }
   18516   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   18517        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   18518     struct s { int j; const int *ap[3]; } bx;
   18519     struct s *b = &bx; b->j = 5;
   18520   }
   18521   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   18522     const int foo = 10;
   18523     if (!foo) return 0;
   18524   }
   18525   return !cs[0] && !zero.x;
   18526 #endif
   18527 
   18528   ;
   18529   return 0;
   18530 }
   18531 _ACEOF
   18532 if ac_fn_c_try_compile "$LINENO"; then :
   18533   ac_cv_c_const=yes
   18534 else
   18535   ac_cv_c_const=no
   18536 fi
   18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18538 fi
   18539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   18540 $as_echo "$ac_cv_c_const" >&6; }
   18541 if test $ac_cv_c_const = no; then
   18542 
   18543 $as_echo "#define const /**/" >>confdefs.h
   18544 
   18545 fi
   18546 
   18547 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   18548 if test "x$ac_cv_type_size_t" = xyes; then :
   18549 
   18550 else
   18551 
   18552 cat >>confdefs.h <<_ACEOF
   18553 #define size_t unsigned int
   18554 _ACEOF
   18555 
   18556 fi
   18557 
   18558 
   18559 # Checks for library functions.
   18560 
   18561 for ac_func in bcopy memmove strerror
   18562 do :
   18563   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18566   cat >>confdefs.h <<_ACEOF
   18567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18568 _ACEOF
   18569 
   18570 fi
   18571 done
   18572 
   18573 
   18574 # Check for the availability of libz (aka zlib)
   18575 
   18576 for ac_header in zlib.h
   18577 do :
   18578   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   18579 if test "x$ac_cv_header_zlib_h" = xyes; then :
   18580   cat >>confdefs.h <<_ACEOF
   18581 #define HAVE_ZLIB_H 1
   18582 _ACEOF
   18583  HAVE_ZLIB_H=1
   18584 fi
   18585 
   18586 done
   18587 
   18588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   18589 $as_echo_n "checking for gzopen in -lz... " >&6; }
   18590 if ${ac_cv_lib_z_gzopen+:} false; then :
   18591   $as_echo_n "(cached) " >&6
   18592 else
   18593   ac_check_lib_save_LIBS=$LIBS
   18594 LIBS="-lz  $LIBS"
   18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18596 /* end confdefs.h.  */
   18597 
   18598 /* Override any GCC internal prototype to avoid an error.
   18599    Use char because int might match the return type of a GCC
   18600    builtin and then its argument prototype would still apply.  */
   18601 #ifdef __cplusplus
   18602 extern "C"
   18603 #endif
   18604 char gzopen ();
   18605 int
   18606 main ()
   18607 {
   18608 return gzopen ();
   18609   ;
   18610   return 0;
   18611 }
   18612 _ACEOF
   18613 if ac_fn_c_try_link "$LINENO"; then :
   18614   ac_cv_lib_z_gzopen=yes
   18615 else
   18616   ac_cv_lib_z_gzopen=no
   18617 fi
   18618 rm -f core conftest.err conftest.$ac_objext \
   18619     conftest$ac_exeext conftest.$ac_ext
   18620 LIBS=$ac_check_lib_save_LIBS
   18621 fi
   18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   18623 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   18624 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   18625   HAVE_LIBZ=1
   18626 fi
   18627 
   18628 
   18629 # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
   18630 # as for libz. However, this had the following problem, diagnosed and fixed by
   18631 # a user:
   18632 #
   18633 #   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
   18634 #     under Win32.
   18635 #   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
   18636 #     therefore missing the function definition.
   18637 #   - The compiler thus generates a "C" signature for the test function.
   18638 #   - The linker fails to find the "C" function.
   18639 #   - PCRE fails to configure if asked to do so against libbz2.
   18640 #
   18641 # Solution:
   18642 #
   18643 #   - Replace the AC_CHECK_LIB test with a custom test.
   18644 
   18645 for ac_header in bzlib.h
   18646 do :
   18647   ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
   18648 if test "x$ac_cv_header_bzlib_h" = xyes; then :
   18649   cat >>confdefs.h <<_ACEOF
   18650 #define HAVE_BZLIB_H 1
   18651 _ACEOF
   18652  HAVE_BZLIB_H=1
   18653 fi
   18654 
   18655 done
   18656 
   18657 # Original test
   18658 # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
   18659 #
   18660 # Custom test follows
   18661 
   18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
   18663 $as_echo_n "checking for libbz2... " >&6; }
   18664 OLD_LIBS="$LIBS"
   18665 LIBS="$LIBS -lbz2"
   18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18667 /* end confdefs.h.  */
   18668 
   18669 #ifdef HAVE_BZLIB_H
   18670 #include <bzlib.h>
   18671 #endif
   18672 int
   18673 main ()
   18674 {
   18675 return (int)BZ2_bzopen("conftest", "rb");
   18676   ;
   18677   return 0;
   18678 }
   18679 _ACEOF
   18680 if ac_fn_c_try_link "$LINENO"; then :
   18681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18682 $as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
   18683 else
   18684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18685 $as_echo "no" >&6; }
   18686 fi
   18687 rm -f core conftest.err conftest.$ac_objext \
   18688     conftest$ac_exeext conftest.$ac_ext
   18689 LIBS="$OLD_LIBS"
   18690 
   18691 # Check for the availabiity of libreadline
   18692 
   18693 if test "$enable_pcretest_libreadline" = "yes"; then
   18694  for ac_header in readline/readline.h
   18695 do :
   18696   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
   18697 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
   18698   cat >>confdefs.h <<_ACEOF
   18699 #define HAVE_READLINE_READLINE_H 1
   18700 _ACEOF
   18701  HAVE_READLINE_H=1
   18702 fi
   18703 
   18704 done
   18705 
   18706  for ac_header in readline/history.h
   18707 do :
   18708   ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
   18709 if test "x$ac_cv_header_readline_history_h" = xyes; then :
   18710   cat >>confdefs.h <<_ACEOF
   18711 #define HAVE_READLINE_HISTORY_H 1
   18712 _ACEOF
   18713  HAVE_HISTORY_H=1
   18714 fi
   18715 
   18716 done
   18717 
   18718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   18719 $as_echo_n "checking for readline in -lreadline... " >&6; }
   18720 if ${ac_cv_lib_readline_readline+:} false; then :
   18721   $as_echo_n "(cached) " >&6
   18722 else
   18723   ac_check_lib_save_LIBS=$LIBS
   18724 LIBS="-lreadline  $LIBS"
   18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18726 /* end confdefs.h.  */
   18727 
   18728 /* Override any GCC internal prototype to avoid an error.
   18729    Use char because int might match the return type of a GCC
   18730    builtin and then its argument prototype would still apply.  */
   18731 #ifdef __cplusplus
   18732 extern "C"
   18733 #endif
   18734 char readline ();
   18735 int
   18736 main ()
   18737 {
   18738 return readline ();
   18739   ;
   18740   return 0;
   18741 }
   18742 _ACEOF
   18743 if ac_fn_c_try_link "$LINENO"; then :
   18744   ac_cv_lib_readline_readline=yes
   18745 else
   18746   ac_cv_lib_readline_readline=no
   18747 fi
   18748 rm -f core conftest.err conftest.$ac_objext \
   18749     conftest$ac_exeext conftest.$ac_ext
   18750 LIBS=$ac_check_lib_save_LIBS
   18751 fi
   18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   18753 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   18754 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   18755   LIBREADLINE="-lreadline"
   18756 else
   18757   unset ac_cv_lib_readline_readline;
   18758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   18759 $as_echo_n "checking for readline in -lreadline... " >&6; }
   18760 if ${ac_cv_lib_readline_readline+:} false; then :
   18761   $as_echo_n "(cached) " >&6
   18762 else
   18763   ac_check_lib_save_LIBS=$LIBS
   18764 LIBS="-lreadline -ltinfo $LIBS"
   18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18766 /* end confdefs.h.  */
   18767 
   18768 /* Override any GCC internal prototype to avoid an error.
   18769    Use char because int might match the return type of a GCC
   18770    builtin and then its argument prototype would still apply.  */
   18771 #ifdef __cplusplus
   18772 extern "C"
   18773 #endif
   18774 char readline ();
   18775 int
   18776 main ()
   18777 {
   18778 return readline ();
   18779   ;
   18780   return 0;
   18781 }
   18782 _ACEOF
   18783 if ac_fn_c_try_link "$LINENO"; then :
   18784   ac_cv_lib_readline_readline=yes
   18785 else
   18786   ac_cv_lib_readline_readline=no
   18787 fi
   18788 rm -f core conftest.err conftest.$ac_objext \
   18789     conftest$ac_exeext conftest.$ac_ext
   18790 LIBS=$ac_check_lib_save_LIBS
   18791 fi
   18792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   18793 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   18794 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   18795   LIBREADLINE="-ltinfo"
   18796 else
   18797   unset ac_cv_lib_readline_readline;
   18798       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   18799 $as_echo_n "checking for readline in -lreadline... " >&6; }
   18800 if ${ac_cv_lib_readline_readline+:} false; then :
   18801   $as_echo_n "(cached) " >&6
   18802 else
   18803   ac_check_lib_save_LIBS=$LIBS
   18804 LIBS="-lreadline -lcurses $LIBS"
   18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18806 /* end confdefs.h.  */
   18807 
   18808 /* Override any GCC internal prototype to avoid an error.
   18809    Use char because int might match the return type of a GCC
   18810    builtin and then its argument prototype would still apply.  */
   18811 #ifdef __cplusplus
   18812 extern "C"
   18813 #endif
   18814 char readline ();
   18815 int
   18816 main ()
   18817 {
   18818 return readline ();
   18819   ;
   18820   return 0;
   18821 }
   18822 _ACEOF
   18823 if ac_fn_c_try_link "$LINENO"; then :
   18824   ac_cv_lib_readline_readline=yes
   18825 else
   18826   ac_cv_lib_readline_readline=no
   18827 fi
   18828 rm -f core conftest.err conftest.$ac_objext \
   18829     conftest$ac_exeext conftest.$ac_ext
   18830 LIBS=$ac_check_lib_save_LIBS
   18831 fi
   18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   18833 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   18834 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   18835   LIBREADLINE="-lcurses"
   18836 else
   18837   unset ac_cv_lib_readline_readline;
   18838         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   18839 $as_echo_n "checking for readline in -lreadline... " >&6; }
   18840 if ${ac_cv_lib_readline_readline+:} false; then :
   18841   $as_echo_n "(cached) " >&6
   18842 else
   18843   ac_check_lib_save_LIBS=$LIBS
   18844 LIBS="-lreadline -lncurses $LIBS"
   18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18846 /* end confdefs.h.  */
   18847 
   18848 /* Override any GCC internal prototype to avoid an error.
   18849    Use char because int might match the return type of a GCC
   18850    builtin and then its argument prototype would still apply.  */
   18851 #ifdef __cplusplus
   18852 extern "C"
   18853 #endif
   18854 char readline ();
   18855 int
   18856 main ()
   18857 {
   18858 return readline ();
   18859   ;
   18860   return 0;
   18861 }
   18862 _ACEOF
   18863 if ac_fn_c_try_link "$LINENO"; then :
   18864   ac_cv_lib_readline_readline=yes
   18865 else
   18866   ac_cv_lib_readline_readline=no
   18867 fi
   18868 rm -f core conftest.err conftest.$ac_objext \
   18869     conftest$ac_exeext conftest.$ac_ext
   18870 LIBS=$ac_check_lib_save_LIBS
   18871 fi
   18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   18873 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   18874 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   18875   LIBREADLINE="-lncurses"
   18876 else
   18877   unset ac_cv_lib_readline_readline;
   18878 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   18879 $as_echo_n "checking for readline in -lreadline... " >&6; }
   18880 if ${ac_cv_lib_readline_readline+:} false; then :
   18881   $as_echo_n "(cached) " >&6
   18882 else
   18883   ac_check_lib_save_LIBS=$LIBS
   18884 LIBS="-lreadline -lncursesw $LIBS"
   18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18886 /* end confdefs.h.  */
   18887 
   18888 /* Override any GCC internal prototype to avoid an error.
   18889    Use char because int might match the return type of a GCC
   18890    builtin and then its argument prototype would still apply.  */
   18891 #ifdef __cplusplus
   18892 extern "C"
   18893 #endif
   18894 char readline ();
   18895 int
   18896 main ()
   18897 {
   18898 return readline ();
   18899   ;
   18900   return 0;
   18901 }
   18902 _ACEOF
   18903 if ac_fn_c_try_link "$LINENO"; then :
   18904   ac_cv_lib_readline_readline=yes
   18905 else
   18906   ac_cv_lib_readline_readline=no
   18907 fi
   18908 rm -f core conftest.err conftest.$ac_objext \
   18909     conftest$ac_exeext conftest.$ac_ext
   18910 LIBS=$ac_check_lib_save_LIBS
   18911 fi
   18912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   18913 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   18914 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   18915   LIBREADLINE="-lncursesw"
   18916 else
   18917   unset ac_cv_lib_readline_readline;
   18918 	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   18919 $as_echo_n "checking for readline in -lreadline... " >&6; }
   18920 if ${ac_cv_lib_readline_readline+:} false; then :
   18921   $as_echo_n "(cached) " >&6
   18922 else
   18923   ac_check_lib_save_LIBS=$LIBS
   18924 LIBS="-lreadline -ltermcap $LIBS"
   18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18926 /* end confdefs.h.  */
   18927 
   18928 /* Override any GCC internal prototype to avoid an error.
   18929    Use char because int might match the return type of a GCC
   18930    builtin and then its argument prototype would still apply.  */
   18931 #ifdef __cplusplus
   18932 extern "C"
   18933 #endif
   18934 char readline ();
   18935 int
   18936 main ()
   18937 {
   18938 return readline ();
   18939   ;
   18940   return 0;
   18941 }
   18942 _ACEOF
   18943 if ac_fn_c_try_link "$LINENO"; then :
   18944   ac_cv_lib_readline_readline=yes
   18945 else
   18946   ac_cv_lib_readline_readline=no
   18947 fi
   18948 rm -f core conftest.err conftest.$ac_objext \
   18949     conftest$ac_exeext conftest.$ac_ext
   18950 LIBS=$ac_check_lib_save_LIBS
   18951 fi
   18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   18953 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   18954 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   18955   LIBREADLINE="-ltermcap"
   18956 else
   18957   LIBREADLINE=""
   18958 fi
   18959 
   18960 fi
   18961 
   18962 fi
   18963 
   18964 fi
   18965 
   18966 fi
   18967 
   18968 fi
   18969 
   18970 
   18971  if test -n "$LIBREADLINE"; then
   18972    if test "$LIBREADLINE" != "-lreadline"; then
   18973      echo "-lreadline needs $LIBREADLINE"
   18974      LIBREADLINE="-lreadline $LIBREADLINE"
   18975    fi
   18976  fi
   18977 fi
   18978 
   18979 
   18980 # Check for the availability of libedit. Different distributions put its
   18981 # headers in different places. Try to cover the most common ones.
   18982 
   18983 if test "$enable_pcretest_libedit" = "yes"; then
   18984   for ac_header in editline/readline.h
   18985 do :
   18986   ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
   18987 if test "x$ac_cv_header_editline_readline_h" = xyes; then :
   18988   cat >>confdefs.h <<_ACEOF
   18989 #define HAVE_EDITLINE_READLINE_H 1
   18990 _ACEOF
   18991  HAVE_EDITLINE_READLINE_H=1
   18992 else
   18993   for ac_header in edit/readline/readline.h
   18994 do :
   18995   ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
   18996 if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then :
   18997   cat >>confdefs.h <<_ACEOF
   18998 #define HAVE_EDIT_READLINE_READLINE_H 1
   18999 _ACEOF
   19000  HAVE_READLINE_READLINE_H=1
   19001 else
   19002   for ac_header in readline/readline.h
   19003 do :
   19004   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
   19005 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
   19006   cat >>confdefs.h <<_ACEOF
   19007 #define HAVE_READLINE_READLINE_H 1
   19008 _ACEOF
   19009  HAVE_READLINE_READLINE_H=1
   19010 fi
   19011 
   19012 done
   19013 
   19014 fi
   19015 
   19016 done
   19017 
   19018 fi
   19019 
   19020 done
   19021 
   19022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
   19023 $as_echo_n "checking for readline in -ledit... " >&6; }
   19024 if ${ac_cv_lib_edit_readline+:} false; then :
   19025   $as_echo_n "(cached) " >&6
   19026 else
   19027   ac_check_lib_save_LIBS=$LIBS
   19028 LIBS="-ledit  $LIBS"
   19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19030 /* end confdefs.h.  */
   19031 
   19032 /* Override any GCC internal prototype to avoid an error.
   19033    Use char because int might match the return type of a GCC
   19034    builtin and then its argument prototype would still apply.  */
   19035 #ifdef __cplusplus
   19036 extern "C"
   19037 #endif
   19038 char readline ();
   19039 int
   19040 main ()
   19041 {
   19042 return readline ();
   19043   ;
   19044   return 0;
   19045 }
   19046 _ACEOF
   19047 if ac_fn_c_try_link "$LINENO"; then :
   19048   ac_cv_lib_edit_readline=yes
   19049 else
   19050   ac_cv_lib_edit_readline=no
   19051 fi
   19052 rm -f core conftest.err conftest.$ac_objext \
   19053     conftest$ac_exeext conftest.$ac_ext
   19054 LIBS=$ac_check_lib_save_LIBS
   19055 fi
   19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
   19057 $as_echo "$ac_cv_lib_edit_readline" >&6; }
   19058 if test "x$ac_cv_lib_edit_readline" = xyes; then :
   19059   LIBEDIT="-ledit"
   19060 fi
   19061 
   19062 fi
   19063 
   19064 # This facilitates -ansi builds under Linux
   19065 
   19066 PCRE_STATIC_CFLAG=""
   19067 if test "x$enable_shared" = "xno" ; then
   19068 
   19069 $as_echo "#define PCRE_STATIC 1" >>confdefs.h
   19070 
   19071   PCRE_STATIC_CFLAG="-DPCRE_STATIC"
   19072 fi
   19073 
   19074 
   19075 # Here is where pcre specific defines are handled
   19076 
   19077 if test "$enable_pcre8" = "yes"; then
   19078 
   19079 $as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h
   19080 
   19081 fi
   19082 
   19083 if test "$enable_pcre16" = "yes"; then
   19084 
   19085 $as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h
   19086 
   19087 fi
   19088 
   19089 if test "$enable_pcre32" = "yes"; then
   19090 
   19091 $as_echo "#define SUPPORT_PCRE32 /**/" >>confdefs.h
   19092 
   19093 fi
   19094 
   19095 # Unless running under Windows, JIT support requires pthreads.
   19096 
   19097 if test "$enable_jit" = "yes"; then
   19098   if test "$HAVE_WINDOWS_H" != "1"; then
   19099 
   19100 
   19101 ac_ext=c
   19102 ac_cpp='$CPP $CPPFLAGS'
   19103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19106 
   19107 ax_pthread_ok=no
   19108 
   19109 # We used to check for pthread.h first, but this fails if pthread.h
   19110 # requires special compiler flags (e.g. on True64 or Sequent).
   19111 # It gets checked for in the link test anyway.
   19112 
   19113 # First of all, check if the user has set any of the PTHREAD_LIBS,
   19114 # etcetera environment variables, and if threads linking works using
   19115 # them:
   19116 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   19117         save_CFLAGS="$CFLAGS"
   19118         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19119         save_LIBS="$LIBS"
   19120         LIBS="$PTHREAD_LIBS $LIBS"
   19121         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   19122 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   19123         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19124 /* end confdefs.h.  */
   19125 
   19126 /* Override any GCC internal prototype to avoid an error.
   19127    Use char because int might match the return type of a GCC
   19128    builtin and then its argument prototype would still apply.  */
   19129 #ifdef __cplusplus
   19130 extern "C"
   19131 #endif
   19132 char pthread_join ();
   19133 int
   19134 main ()
   19135 {
   19136 return pthread_join ();
   19137   ;
   19138   return 0;
   19139 }
   19140 _ACEOF
   19141 if ac_fn_c_try_link "$LINENO"; then :
   19142   ax_pthread_ok=yes
   19143 fi
   19144 rm -f core conftest.err conftest.$ac_objext \
   19145     conftest$ac_exeext conftest.$ac_ext
   19146         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19147 $as_echo "$ax_pthread_ok" >&6; }
   19148         if test x"$ax_pthread_ok" = xno; then
   19149                 PTHREAD_LIBS=""
   19150                 PTHREAD_CFLAGS=""
   19151         fi
   19152         LIBS="$save_LIBS"
   19153         CFLAGS="$save_CFLAGS"
   19154 fi
   19155 
   19156 # We must check for the threads library under a number of different
   19157 # names; the ordering is very important because some systems
   19158 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   19159 # libraries is broken (non-POSIX).
   19160 
   19161 # Create a list of thread flags to try.  Items starting with a "-" are
   19162 # C compiler flags, and other items are library names, except for "none"
   19163 # which indicates that we try without any flags at all, and "pthread-config"
   19164 # which is a program returning the flags for the Pth emulation library.
   19165 
   19166 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   19167 
   19168 # The ordering *is* (sometimes) important.  Some notes on the
   19169 # individual items follow:
   19170 
   19171 # pthreads: AIX (must check this before -lpthread)
   19172 # none: in case threads are in libc; should be tried before -Kthread and
   19173 #       other compiler flags to prevent continual compiler warnings
   19174 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   19175 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   19176 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   19177 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   19178 # -pthreads: Solaris/gcc
   19179 # -mthreads: Mingw32/gcc, Lynx/gcc
   19180 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   19181 #      doesn't hurt to check since this sometimes defines pthreads too;
   19182 #      also defines -D_REENTRANT)
   19183 #      ... -mt is also the pthreads flag for HP/aCC
   19184 # pthread: Linux, etcetera
   19185 # --thread-safe: KAI C++
   19186 # pthread-config: use pthread-config program (for GNU Pth library)
   19187 
   19188 case ${host_os} in
   19189         solaris*)
   19190 
   19191         # On Solaris (at least, for some versions), libc contains stubbed
   19192         # (non-functional) versions of the pthreads routines, so link-based
   19193         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   19194         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   19195         # a function called by this macro, so we could check for that, but
   19196         # who knows whether they'll stub that too in a future libc.)  So,
   19197         # we'll just look for -pthreads and -lpthread first:
   19198 
   19199         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
   19200         ;;
   19201 
   19202         darwin*)
   19203         ax_pthread_flags="-pthread $ax_pthread_flags"
   19204         ;;
   19205 esac
   19206 
   19207 if test x"$ax_pthread_ok" = xno; then
   19208 for flag in $ax_pthread_flags; do
   19209 
   19210         case $flag in
   19211                 none)
   19212                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   19213 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   19214                 ;;
   19215 
   19216                 -*)
   19217                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   19218 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
   19219                 PTHREAD_CFLAGS="$flag"
   19220                 ;;
   19221 
   19222                 pthread-config)
   19223                 # Extract the first word of "pthread-config", so it can be a program name with args.
   19224 set dummy pthread-config; ac_word=$2
   19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19226 $as_echo_n "checking for $ac_word... " >&6; }
   19227 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   19228   $as_echo_n "(cached) " >&6
   19229 else
   19230   if test -n "$ax_pthread_config"; then
   19231   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   19232 else
   19233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19234 for as_dir in $PATH
   19235 do
   19236   IFS=$as_save_IFS
   19237   test -z "$as_dir" && as_dir=.
   19238     for ac_exec_ext in '' $ac_executable_extensions; do
   19239   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19240     ac_cv_prog_ax_pthread_config="yes"
   19241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19242     break 2
   19243   fi
   19244 done
   19245   done
   19246 IFS=$as_save_IFS
   19247 
   19248   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   19249 fi
   19250 fi
   19251 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   19252 if test -n "$ax_pthread_config"; then
   19253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   19254 $as_echo "$ax_pthread_config" >&6; }
   19255 else
   19256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19257 $as_echo "no" >&6; }
   19258 fi
   19259 
   19260 
   19261                 if test x"$ax_pthread_config" = xno; then continue; fi
   19262                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   19263                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   19264                 ;;
   19265 
   19266                 *)
   19267                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   19268 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
   19269                 PTHREAD_LIBS="-l$flag"
   19270                 ;;
   19271         esac
   19272 
   19273         save_LIBS="$LIBS"
   19274         save_CFLAGS="$CFLAGS"
   19275         LIBS="$PTHREAD_LIBS $LIBS"
   19276         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19277 
   19278         # Check for various functions.  We must include pthread.h,
   19279         # since some functions may be macros.  (On the Sequent, we
   19280         # need a special flag -Kthread to make this header compile.)
   19281         # We check for pthread_join because it is in -lpthread on IRIX
   19282         # while pthread_create is in libc.  We check for pthread_attr_init
   19283         # due to DEC craziness with -lpthreads.  We check for
   19284         # pthread_cleanup_push because it is one of the few pthread
   19285         # functions on Solaris that doesn't have a non-functional libc stub.
   19286         # We try pthread_create on general principles.
   19287         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19288 /* end confdefs.h.  */
   19289 #include <pthread.h>
   19290                         static void routine(void *a) { a = 0; }
   19291                         static void *start_routine(void *a) { return a; }
   19292 int
   19293 main ()
   19294 {
   19295 pthread_t th; pthread_attr_t attr;
   19296                         pthread_create(&th, 0, start_routine, 0);
   19297                         pthread_join(th, 0);
   19298                         pthread_attr_init(&attr);
   19299                         pthread_cleanup_push(routine, 0);
   19300                         pthread_cleanup_pop(0) /* ; */
   19301   ;
   19302   return 0;
   19303 }
   19304 _ACEOF
   19305 if ac_fn_c_try_link "$LINENO"; then :
   19306   ax_pthread_ok=yes
   19307 fi
   19308 rm -f core conftest.err conftest.$ac_objext \
   19309     conftest$ac_exeext conftest.$ac_ext
   19310 
   19311         LIBS="$save_LIBS"
   19312         CFLAGS="$save_CFLAGS"
   19313 
   19314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19315 $as_echo "$ax_pthread_ok" >&6; }
   19316         if test "x$ax_pthread_ok" = xyes; then
   19317                 break;
   19318         fi
   19319 
   19320         PTHREAD_LIBS=""
   19321         PTHREAD_CFLAGS=""
   19322 done
   19323 fi
   19324 
   19325 # Various other checks:
   19326 if test "x$ax_pthread_ok" = xyes; then
   19327         save_LIBS="$LIBS"
   19328         LIBS="$PTHREAD_LIBS $LIBS"
   19329         save_CFLAGS="$CFLAGS"
   19330         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19331 
   19332         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   19333         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   19334 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   19335         attr_name=unknown
   19336         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   19337             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19338 /* end confdefs.h.  */
   19339 #include <pthread.h>
   19340 int
   19341 main ()
   19342 {
   19343 int attr = $attr; return attr /* ; */
   19344   ;
   19345   return 0;
   19346 }
   19347 _ACEOF
   19348 if ac_fn_c_try_link "$LINENO"; then :
   19349   attr_name=$attr; break
   19350 fi
   19351 rm -f core conftest.err conftest.$ac_objext \
   19352     conftest$ac_exeext conftest.$ac_ext
   19353         done
   19354         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   19355 $as_echo "$attr_name" >&6; }
   19356         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   19357 
   19358 cat >>confdefs.h <<_ACEOF
   19359 #define PTHREAD_CREATE_JOINABLE $attr_name
   19360 _ACEOF
   19361 
   19362         fi
   19363 
   19364         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   19365 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
   19366         flag=no
   19367         case ${host_os} in
   19368             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
   19369             osf* | hpux*) flag="-D_REENTRANT";;
   19370             solaris*)
   19371             if test "$GCC" = "yes"; then
   19372                 flag="-D_REENTRANT"
   19373             else
   19374                 flag="-mt -D_REENTRANT"
   19375             fi
   19376             ;;
   19377         esac
   19378         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
   19379 $as_echo "${flag}" >&6; }
   19380         if test "x$flag" != xno; then
   19381             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   19382         fi
   19383 
   19384         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   19385 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   19386 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   19387   $as_echo_n "(cached) " >&6
   19388 else
   19389 
   19390                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19391 /* end confdefs.h.  */
   19392 
   19393                     #include <pthread.h>
   19394 int
   19395 main ()
   19396 {
   19397 int i = PTHREAD_PRIO_INHERIT;
   19398   ;
   19399   return 0;
   19400 }
   19401 _ACEOF
   19402 if ac_fn_c_try_link "$LINENO"; then :
   19403   ax_cv_PTHREAD_PRIO_INHERIT=yes
   19404 else
   19405   ax_cv_PTHREAD_PRIO_INHERIT=no
   19406 fi
   19407 rm -f core conftest.err conftest.$ac_objext \
   19408     conftest$ac_exeext conftest.$ac_ext
   19409 
   19410 fi
   19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   19412 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   19413         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
   19414 
   19415 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   19416 
   19417 fi
   19418 
   19419         LIBS="$save_LIBS"
   19420         CFLAGS="$save_CFLAGS"
   19421 
   19422         # More AIX lossage: must compile with xlc_r or cc_r
   19423         if test x"$GCC" != xyes; then
   19424           for ac_prog in xlc_r cc_r
   19425 do
   19426   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19427 set dummy $ac_prog; ac_word=$2
   19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19429 $as_echo_n "checking for $ac_word... " >&6; }
   19430 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   19431   $as_echo_n "(cached) " >&6
   19432 else
   19433   if test -n "$PTHREAD_CC"; then
   19434   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   19435 else
   19436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19437 for as_dir in $PATH
   19438 do
   19439   IFS=$as_save_IFS
   19440   test -z "$as_dir" && as_dir=.
   19441     for ac_exec_ext in '' $ac_executable_extensions; do
   19442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19443     ac_cv_prog_PTHREAD_CC="$ac_prog"
   19444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19445     break 2
   19446   fi
   19447 done
   19448   done
   19449 IFS=$as_save_IFS
   19450 
   19451 fi
   19452 fi
   19453 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   19454 if test -n "$PTHREAD_CC"; then
   19455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   19456 $as_echo "$PTHREAD_CC" >&6; }
   19457 else
   19458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19459 $as_echo "no" >&6; }
   19460 fi
   19461 
   19462 
   19463   test -n "$PTHREAD_CC" && break
   19464 done
   19465 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
   19466 
   19467         else
   19468           PTHREAD_CC=$CC
   19469         fi
   19470 else
   19471         PTHREAD_CC="$CC"
   19472 fi
   19473 
   19474 
   19475 
   19476 
   19477 
   19478 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   19479 if test x"$ax_pthread_ok" = xyes; then
   19480 
   19481 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   19482 
   19483         :
   19484 else
   19485         ax_pthread_ok=no
   19486         as_fn_error $? "JIT support requires pthreads" "$LINENO" 5
   19487 fi
   19488 ac_ext=c
   19489 ac_cpp='$CPP $CPPFLAGS'
   19490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19493 
   19494 
   19495     CC="$PTHREAD_CC"
   19496     CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
   19497     LIBS="$PTHREAD_LIBS $LIBS"
   19498   fi
   19499 
   19500 $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
   19501 
   19502 else
   19503   enable_pcregrep_jit="no"
   19504 fi
   19505 
   19506 if test "$enable_pcregrep_jit" = "yes"; then
   19507 
   19508 $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdefs.h
   19509 
   19510 fi
   19511 
   19512 if test "$enable_utf" = "yes"; then
   19513 
   19514 $as_echo "#define SUPPORT_UTF /**/" >>confdefs.h
   19515 
   19516 fi
   19517 
   19518 if test "$enable_unicode_properties" = "yes"; then
   19519 
   19520 $as_echo "#define SUPPORT_UCP /**/" >>confdefs.h
   19521 
   19522 fi
   19523 
   19524 if test "$enable_stack_for_recursion" = "no"; then
   19525 
   19526 $as_echo "#define NO_RECURSE /**/" >>confdefs.h
   19527 
   19528 fi
   19529 
   19530 if test "$enable_pcregrep_libz" = "yes"; then
   19531 
   19532 $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
   19533 
   19534 fi
   19535 
   19536 if test "$enable_pcregrep_libbz2" = "yes"; then
   19537 
   19538 $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
   19539 
   19540 fi
   19541 
   19542 if test $with_pcregrep_bufsize -lt 8192 ; then
   19543   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $with_pcregrep_bufsize is too small for --with-pcregrep-bufsize; using 8192" >&5
   19544 $as_echo "$as_me: WARNING: $with_pcregrep_bufsize is too small for --with-pcregrep-bufsize; using 8192" >&2;}
   19545   with_pcregrep_bufsize="8192"
   19546 else
   19547   if test $? -gt 1 ; then
   19548   as_fn_error $? "Bad value for  --with-pcregrep-bufsize" "$LINENO" 5
   19549   fi
   19550 fi
   19551 
   19552 
   19553 cat >>confdefs.h <<_ACEOF
   19554 #define PCREGREP_BUFSIZE $with_pcregrep_bufsize
   19555 _ACEOF
   19556 
   19557 
   19558 if test "$enable_pcretest_libedit" = "yes"; then
   19559 
   19560 $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
   19561 
   19562   LIBREADLINE="$LIBEDIT"
   19563 elif test "$enable_pcretest_libreadline" = "yes"; then
   19564 
   19565 $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
   19566 
   19567 fi
   19568 
   19569 
   19570 cat >>confdefs.h <<_ACEOF
   19571 #define NEWLINE $ac_pcre_newline_value
   19572 _ACEOF
   19573 
   19574 
   19575 if test "$enable_bsr_anycrlf" = "yes"; then
   19576 
   19577 $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
   19578 
   19579 fi
   19580 
   19581 
   19582 cat >>confdefs.h <<_ACEOF
   19583 #define LINK_SIZE $with_link_size
   19584 _ACEOF
   19585 
   19586 
   19587 
   19588 cat >>confdefs.h <<_ACEOF
   19589 #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
   19590 _ACEOF
   19591 
   19592 
   19593 
   19594 cat >>confdefs.h <<_ACEOF
   19595 #define PARENS_NEST_LIMIT $with_parens_nest_limit
   19596 _ACEOF
   19597 
   19598 
   19599 
   19600 cat >>confdefs.h <<_ACEOF
   19601 #define MATCH_LIMIT $with_match_limit
   19602 _ACEOF
   19603 
   19604 
   19605 
   19606 cat >>confdefs.h <<_ACEOF
   19607 #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
   19608 _ACEOF
   19609 
   19610 
   19611 
   19612 $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
   19613 
   19614 
   19615 
   19616 $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
   19617 
   19618 
   19619 
   19620 
   19621 if test "$enable_ebcdic" = "yes"; then
   19622 
   19623 cat >>confdefs.h <<_ACEOF
   19624 #define EBCDIC /**/
   19625 _ACEOF
   19626 
   19627 fi
   19628 
   19629 if test "$enable_ebcdic_nl25" = "yes"; then
   19630 
   19631 cat >>confdefs.h <<_ACEOF
   19632 #define EBCDIC_NL25 /**/
   19633 _ACEOF
   19634 
   19635 fi
   19636 
   19637 if test "$enable_valgrind" = "yes"; then
   19638 
   19639 cat >>confdefs.h <<_ACEOF
   19640 #define SUPPORT_VALGRIND /**/
   19641 _ACEOF
   19642 
   19643 fi
   19644 
   19645 # Platform specific issues
   19646 NO_UNDEFINED=
   19647 EXPORT_ALL_SYMBOLS=
   19648 case $host_os in
   19649   cygwin* | mingw* )
   19650     if test X"$enable_shared" = Xyes; then
   19651       NO_UNDEFINED="-no-undefined"
   19652       EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
   19653     fi
   19654     ;;
   19655 esac
   19656 
   19657 # The extra LDFLAGS for each particular library
   19658 # (Note: The libpcre*_version bits are m4 variables, assigned above)
   19659 
   19660 EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
   19661                        $NO_UNDEFINED -version-info 3:6:2"
   19662 
   19663 EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \
   19664                        $NO_UNDEFINED -version-info 2:6:2"
   19665 
   19666 EXTRA_LIBPCRE32_LDFLAGS="$EXTRA_LIBPCRE32_LDFLAGS \
   19667                        $NO_UNDEFINED -version-info 0:6:0"
   19668 
   19669 EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
   19670                             $NO_UNDEFINED -version-info 0:3:0"
   19671 
   19672 EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
   19673                           $NO_UNDEFINED -version-info 0:1:0 \
   19674                           $EXPORT_ALL_SYMBOLS"
   19675 
   19676 
   19677 
   19678 
   19679 
   19680 
   19681 
   19682 # When we run 'make distcheck', use these arguments. Turning off compiler
   19683 # optimization makes it run faster.
   19684 DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-pcre32 --enable-jit --enable-cpp --enable-unicode-properties"
   19685 
   19686 
   19687 # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
   19688 # specified, the relevant library is available.
   19689 
   19690 if test "$enable_pcregrep_libz" = "yes"; then
   19691   if test "$HAVE_ZLIB_H" != "1"; then
   19692     echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
   19693     exit 1
   19694   fi
   19695   if test "$HAVE_LIBZ" != "1"; then
   19696     echo "** Cannot --enable-pcregrep-libz because libz was not found"
   19697     exit 1
   19698   fi
   19699   LIBZ="-lz"
   19700 fi
   19701 
   19702 
   19703 if test "$enable_pcregrep_libbz2" = "yes"; then
   19704   if test "$HAVE_BZLIB_H" != "1"; then
   19705     echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
   19706     exit 1
   19707   fi
   19708   if test "$HAVE_LIBBZ2" != "1"; then
   19709     echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
   19710     exit 1
   19711   fi
   19712   LIBBZ2="-lbz2"
   19713 fi
   19714 
   19715 
   19716 # Similarly for --enable-pcretest-readline
   19717 
   19718 if test "$enable_pcretest_libedit" = "yes"; then
   19719   if test "$enable_pcretest_libreadline" = "yes"; then
   19720     echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline"
   19721     exit 1
   19722   fi
   19723   if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
   19724           "$HAVE_READLINE_READLINE_H" != "1"; then
   19725     echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h"
   19726     echo "** nor readline/readline.h was found."
   19727     exit 1
   19728   fi
   19729   if test -z "$LIBEDIT"; then
   19730     echo "** Cannot --enable-pcretest-libedit because libedit library was not found."
   19731     exit 1
   19732   fi
   19733 fi
   19734 
   19735 if test "$enable_pcretest_libreadline" = "yes"; then
   19736   if test "$HAVE_READLINE_H" != "1"; then
   19737     echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
   19738     exit 1
   19739   fi
   19740   if test "$HAVE_HISTORY_H" != "1"; then
   19741     echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
   19742     exit 1
   19743   fi
   19744   if test -z "$LIBREADLINE"; then
   19745     echo "** Cannot --enable-pcretest-readline because readline library was not found."
   19746     exit 1
   19747   fi
   19748 fi
   19749 
   19750 # Handle valgrind support
   19751 
   19752 if test "$enable_valgrind" = "yes"; then
   19753 
   19754 
   19755 
   19756 
   19757 
   19758 
   19759 
   19760 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19761 	if test -n "$ac_tool_prefix"; then
   19762   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19763 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19765 $as_echo_n "checking for $ac_word... " >&6; }
   19766 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   19767   $as_echo_n "(cached) " >&6
   19768 else
   19769   case $PKG_CONFIG in
   19770   [\\/]* | ?:[\\/]*)
   19771   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19772   ;;
   19773   *)
   19774   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19775 for as_dir in $PATH
   19776 do
   19777   IFS=$as_save_IFS
   19778   test -z "$as_dir" && as_dir=.
   19779     for ac_exec_ext in '' $ac_executable_extensions; do
   19780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19781     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19783     break 2
   19784   fi
   19785 done
   19786   done
   19787 IFS=$as_save_IFS
   19788 
   19789   ;;
   19790 esac
   19791 fi
   19792 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19793 if test -n "$PKG_CONFIG"; then
   19794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19795 $as_echo "$PKG_CONFIG" >&6; }
   19796 else
   19797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19798 $as_echo "no" >&6; }
   19799 fi
   19800 
   19801 
   19802 fi
   19803 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19804   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19805   # Extract the first word of "pkg-config", so it can be a program name with args.
   19806 set dummy pkg-config; ac_word=$2
   19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19808 $as_echo_n "checking for $ac_word... " >&6; }
   19809 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   19810   $as_echo_n "(cached) " >&6
   19811 else
   19812   case $ac_pt_PKG_CONFIG in
   19813   [\\/]* | ?:[\\/]*)
   19814   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19815   ;;
   19816   *)
   19817   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19818 for as_dir in $PATH
   19819 do
   19820   IFS=$as_save_IFS
   19821   test -z "$as_dir" && as_dir=.
   19822     for ac_exec_ext in '' $ac_executable_extensions; do
   19823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19824     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   19825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19826     break 2
   19827   fi
   19828 done
   19829   done
   19830 IFS=$as_save_IFS
   19831 
   19832   ;;
   19833 esac
   19834 fi
   19835 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   19836 if test -n "$ac_pt_PKG_CONFIG"; then
   19837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   19838 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   19839 else
   19840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19841 $as_echo "no" >&6; }
   19842 fi
   19843 
   19844   if test "x$ac_pt_PKG_CONFIG" = x; then
   19845     PKG_CONFIG=""
   19846   else
   19847     case $cross_compiling:$ac_tool_warned in
   19848 yes:)
   19849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19851 ac_tool_warned=yes ;;
   19852 esac
   19853     PKG_CONFIG=$ac_pt_PKG_CONFIG
   19854   fi
   19855 else
   19856   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   19857 fi
   19858 
   19859 fi
   19860 if test -n "$PKG_CONFIG"; then
   19861 	_pkg_min_version=0.9.0
   19862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   19863 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   19864 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   19865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19866 $as_echo "yes" >&6; }
   19867 	else
   19868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19869 $as_echo "no" >&6; }
   19870 		PKG_CONFIG=""
   19871 	fi
   19872 fi
   19873 
   19874 pkg_failed=no
   19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
   19876 $as_echo_n "checking for VALGRIND... " >&6; }
   19877 
   19878 if test -n "$VALGRIND_CFLAGS"; then
   19879     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
   19880  elif test -n "$PKG_CONFIG"; then
   19881     if test -n "$PKG_CONFIG" && \
   19882     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
   19883   ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
   19884   ac_status=$?
   19885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19886   test $ac_status = 0; }; then
   19887   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
   19888 		      test "x$?" != "x0" && pkg_failed=yes
   19889 else
   19890   pkg_failed=yes
   19891 fi
   19892  else
   19893     pkg_failed=untried
   19894 fi
   19895 if test -n "$VALGRIND_LIBS"; then
   19896     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
   19897  elif test -n "$PKG_CONFIG"; then
   19898     if test -n "$PKG_CONFIG" && \
   19899     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
   19900   ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
   19901   ac_status=$?
   19902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19903   test $ac_status = 0; }; then
   19904   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
   19905 		      test "x$?" != "x0" && pkg_failed=yes
   19906 else
   19907   pkg_failed=yes
   19908 fi
   19909  else
   19910     pkg_failed=untried
   19911 fi
   19912 
   19913 
   19914 
   19915 if test $pkg_failed = yes; then
   19916    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19917 $as_echo "no" >&6; }
   19918 
   19919 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19920         _pkg_short_errors_supported=yes
   19921 else
   19922         _pkg_short_errors_supported=no
   19923 fi
   19924         if test $_pkg_short_errors_supported = yes; then
   19925 	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
   19926         else
   19927 	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
   19928         fi
   19929 	# Put the nasty error message in config.log where it belongs
   19930 	echo "$VALGRIND_PKG_ERRORS" >&5
   19931 
   19932 	as_fn_error $? "Package requirements (valgrind) were not met:
   19933 
   19934 $VALGRIND_PKG_ERRORS
   19935 
   19936 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19937 installed software in a non-standard prefix.
   19938 
   19939 Alternatively, you may set the environment variables VALGRIND_CFLAGS
   19940 and VALGRIND_LIBS to avoid the need to call pkg-config.
   19941 See the pkg-config man page for more details." "$LINENO" 5
   19942 elif test $pkg_failed = untried; then
   19943      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19944 $as_echo "no" >&6; }
   19945 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19947 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19948 is in your PATH or set the PKG_CONFIG environment variable to the full
   19949 path to pkg-config.
   19950 
   19951 Alternatively, you may set the environment variables VALGRIND_CFLAGS
   19952 and VALGRIND_LIBS to avoid the need to call pkg-config.
   19953 See the pkg-config man page for more details.
   19954 
   19955 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19956 See \`config.log' for more details" "$LINENO" 5; }
   19957 else
   19958 	VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
   19959 	VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
   19960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19961 $as_echo "yes" >&6; }
   19962 
   19963 fi
   19964 fi
   19965 
   19966 # Handle code coverage reporting support
   19967 if test "$enable_coverage" = "yes"; then
   19968   if test "x$GCC" != "xyes"; then
   19969     as_fn_error $? "Code coverage reports can only be generated when using GCC" "$LINENO" 5
   19970   fi
   19971 
   19972   # ccache is incompatible with gcov
   19973   # Extract the first word of "shtool", so it can be a program name with args.
   19974 set dummy shtool; ac_word=$2
   19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19976 $as_echo_n "checking for $ac_word... " >&6; }
   19977 if ${ac_cv_path_SHTOOL+:} false; then :
   19978   $as_echo_n "(cached) " >&6
   19979 else
   19980   case $SHTOOL in
   19981   [\\/]* | ?:[\\/]*)
   19982   ac_cv_path_SHTOOL="$SHTOOL" # Let the user override the test with a path.
   19983   ;;
   19984   *)
   19985   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19986 for as_dir in $PATH
   19987 do
   19988   IFS=$as_save_IFS
   19989   test -z "$as_dir" && as_dir=.
   19990     for ac_exec_ext in '' $ac_executable_extensions; do
   19991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19992     ac_cv_path_SHTOOL="$as_dir/$ac_word$ac_exec_ext"
   19993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19994     break 2
   19995   fi
   19996 done
   19997   done
   19998 IFS=$as_save_IFS
   19999 
   20000   test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL="false"
   20001   ;;
   20002 esac
   20003 fi
   20004 SHTOOL=$ac_cv_path_SHTOOL
   20005 if test -n "$SHTOOL"; then
   20006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
   20007 $as_echo "$SHTOOL" >&6; }
   20008 else
   20009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20010 $as_echo "no" >&6; }
   20011 fi
   20012 
   20013 
   20014   case `$SHTOOL path $CC` in
   20015     *ccache*) cc_ccache=yes;;
   20016     *) cc_ccache=no;;
   20017   esac
   20018 
   20019   if test "$cc_ccache" = "yes"; then
   20020     if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then
   20021       as_fn_error $? "must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5
   20022     fi
   20023   fi
   20024 
   20025 
   20026   # Extract the first word of "lcov", so it can be a program name with args.
   20027 set dummy lcov; ac_word=$2
   20028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20029 $as_echo_n "checking for $ac_word... " >&6; }
   20030 if ${ac_cv_path_LCOV+:} false; then :
   20031   $as_echo_n "(cached) " >&6
   20032 else
   20033   case $LCOV in
   20034   [\\/]* | ?:[\\/]*)
   20035   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
   20036   ;;
   20037   *)
   20038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20039 for as_dir in $PATH
   20040 do
   20041   IFS=$as_save_IFS
   20042   test -z "$as_dir" && as_dir=.
   20043     for ac_exec_ext in '' $ac_executable_extensions; do
   20044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   20045     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
   20046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   20047     break 2
   20048   fi
   20049 done
   20050   done
   20051 IFS=$as_save_IFS
   20052 
   20053   test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="false"
   20054   ;;
   20055 esac
   20056 fi
   20057 LCOV=$ac_cv_path_LCOV
   20058 if test -n "$LCOV"; then
   20059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
   20060 $as_echo "$LCOV" >&6; }
   20061 else
   20062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20063 $as_echo "no" >&6; }
   20064 fi
   20065 
   20066 
   20067   if test "x$LCOV" = "xfalse"; then
   20068     as_fn_error $? "lcov not found" "$LINENO" 5
   20069   fi
   20070 
   20071 
   20072   # Extract the first word of "genhtml", so it can be a program name with args.
   20073 set dummy genhtml; ac_word=$2
   20074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20075 $as_echo_n "checking for $ac_word... " >&6; }
   20076 if ${ac_cv_path_GENHTML+:} false; then :
   20077   $as_echo_n "(cached) " >&6
   20078 else
   20079   case $GENHTML in
   20080   [\\/]* | ?:[\\/]*)
   20081   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
   20082   ;;
   20083   *)
   20084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20085 for as_dir in $PATH
   20086 do
   20087   IFS=$as_save_IFS
   20088   test -z "$as_dir" && as_dir=.
   20089     for ac_exec_ext in '' $ac_executable_extensions; do
   20090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   20091     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
   20092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   20093     break 2
   20094   fi
   20095 done
   20096   done
   20097 IFS=$as_save_IFS
   20098 
   20099   test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="false"
   20100   ;;
   20101 esac
   20102 fi
   20103 GENHTML=$ac_cv_path_GENHTML
   20104 if test -n "$GENHTML"; then
   20105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
   20106 $as_echo "$GENHTML" >&6; }
   20107 else
   20108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20109 $as_echo "no" >&6; }
   20110 fi
   20111 
   20112 
   20113   if test "x$GENHTML" = "xfalse"; then
   20114     as_fn_error $? "genhtml not found" "$LINENO" 5
   20115   fi
   20116 
   20117   # Set flags needed for gcov
   20118   GCOV_CFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
   20119   GCOV_CXXFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
   20120   GCOV_LIBS="-lgcov"
   20121 
   20122 
   20123 
   20124 fi # enable_coverage
   20125 
   20126  if test "x$enable_coverage" = "xyes"; then
   20127   WITH_GCOV_TRUE=
   20128   WITH_GCOV_FALSE='#'
   20129 else
   20130   WITH_GCOV_TRUE='#'
   20131   WITH_GCOV_FALSE=
   20132 fi
   20133 
   20134 
   20135 # Produce these files, in addition to config.h.
   20136 ac_config_files="$ac_config_files Makefile libpcre.pc libpcre16.pc libpcre32.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
   20137 
   20138 
   20139 # Make the generated script files executable.
   20140 ac_config_commands="$ac_config_commands script-chmod"
   20141 
   20142 
   20143 # Make sure that pcre_chartables.c is removed in case the method for
   20144 # creating it was changed by reconfiguration.
   20145 ac_config_commands="$ac_config_commands delete-old-chartables"
   20146 
   20147 
   20148 cat >confcache <<\_ACEOF
   20149 # This file is a shell script that caches the results of configure
   20150 # tests run on this system so they can be shared between configure
   20151 # scripts and configure runs, see configure's option --config-cache.
   20152 # It is not useful on other systems.  If it contains results you don't
   20153 # want to keep, you may remove or edit it.
   20154 #
   20155 # config.status only pays attention to the cache file if you give it
   20156 # the --recheck option to rerun configure.
   20157 #
   20158 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20159 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20160 # following values.
   20161 
   20162 _ACEOF
   20163 
   20164 # The following way of writing the cache mishandles newlines in values,
   20165 # but we know of no workaround that is simple, portable, and efficient.
   20166 # So, we kill variables containing newlines.
   20167 # Ultrix sh set writes to stderr and can't be redirected directly,
   20168 # and sets the high bit in the cache file unless we assign to the vars.
   20169 (
   20170   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20171     eval ac_val=\$$ac_var
   20172     case $ac_val in #(
   20173     *${as_nl}*)
   20174       case $ac_var in #(
   20175       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20176 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20177       esac
   20178       case $ac_var in #(
   20179       _ | IFS | as_nl) ;; #(
   20180       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20181       *) { eval $ac_var=; unset $ac_var;} ;;
   20182       esac ;;
   20183     esac
   20184   done
   20185 
   20186   (set) 2>&1 |
   20187     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20188     *${as_nl}ac_space=\ *)
   20189       # `set' does not quote correctly, so add quotes: double-quote
   20190       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20191       sed -n \
   20192 	"s/'/'\\\\''/g;
   20193 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20194       ;; #(
   20195     *)
   20196       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20197       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20198       ;;
   20199     esac |
   20200     sort
   20201 ) |
   20202   sed '
   20203      /^ac_cv_env_/b end
   20204      t clear
   20205      :clear
   20206      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20207      t end
   20208      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20209      :end' >>confcache
   20210 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20211   if test -w "$cache_file"; then
   20212     if test "x$cache_file" != "x/dev/null"; then
   20213       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20214 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20215       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20216 	cat confcache >"$cache_file"
   20217       else
   20218         case $cache_file in #(
   20219         */* | ?:*)
   20220 	  mv -f confcache "$cache_file"$$ &&
   20221 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20222         *)
   20223 	  mv -f confcache "$cache_file" ;;
   20224 	esac
   20225       fi
   20226     fi
   20227   else
   20228     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20229 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20230   fi
   20231 fi
   20232 rm -f confcache
   20233 
   20234 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20235 # Let make expand exec_prefix.
   20236 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20237 
   20238 DEFS=-DHAVE_CONFIG_H
   20239 
   20240 ac_libobjs=
   20241 ac_ltlibobjs=
   20242 U=
   20243 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20244   # 1. Remove the extension, and $U if already installed.
   20245   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20246   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20247   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20248   #    will be set to the directory where LIBOBJS objects are built.
   20249   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20250   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20251 done
   20252 LIBOBJS=$ac_libobjs
   20253 
   20254 LTLIBOBJS=$ac_ltlibobjs
   20255 
   20256 
   20257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20258 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   20259    if test -n "$am_sleep_pid"; then
   20260      # Hide warnings about reused PIDs.
   20261      wait $am_sleep_pid 2>/dev/null
   20262    fi
   20263    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20264 $as_echo "done" >&6; }
   20265  if test -n "$EXEEXT"; then
   20266   am__EXEEXT_TRUE=
   20267   am__EXEEXT_FALSE='#'
   20268 else
   20269   am__EXEEXT_TRUE='#'
   20270   am__EXEEXT_FALSE=
   20271 fi
   20272 
   20273 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20274   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20276 fi
   20277 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20278   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20280 fi
   20281 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20282   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20284 fi
   20285 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20286   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   20287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20288 fi
   20289 if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then
   20290   as_fn_error $? "conditional \"WITH_PCRE8\" was never defined.
   20291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20292 fi
   20293 if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then
   20294   as_fn_error $? "conditional \"WITH_PCRE16\" was never defined.
   20295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20296 fi
   20297 if test -z "${WITH_PCRE32_TRUE}" && test -z "${WITH_PCRE32_FALSE}"; then
   20298   as_fn_error $? "conditional \"WITH_PCRE32\" was never defined.
   20299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20300 fi
   20301 if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
   20302   as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined.
   20303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20304 fi
   20305 if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
   20306   as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
   20307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20308 fi
   20309 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
   20310   as_fn_error $? "conditional \"WITH_JIT\" was never defined.
   20311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20312 fi
   20313 if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then
   20314   as_fn_error $? "conditional \"WITH_UTF\" was never defined.
   20315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20316 fi
   20317 if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then
   20318   as_fn_error $? "conditional \"WITH_VALGRIND\" was never defined.
   20319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20320 fi
   20321 if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then
   20322   as_fn_error $? "conditional \"WITH_GCOV\" was never defined.
   20323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20324 fi
   20325 
   20326 : "${CONFIG_STATUS=./config.status}"
   20327 ac_write_fail=0
   20328 ac_clean_files_save=$ac_clean_files
   20329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20331 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20332 as_write_fail=0
   20333 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20334 #! $SHELL
   20335 # Generated by $as_me.
   20336 # Run this file to recreate the current configuration.
   20337 # Compiler output produced by configure, useful for debugging
   20338 # configure, is in config.log if it exists.
   20339 
   20340 debug=false
   20341 ac_cs_recheck=false
   20342 ac_cs_silent=false
   20343 
   20344 SHELL=\${CONFIG_SHELL-$SHELL}
   20345 export SHELL
   20346 _ASEOF
   20347 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20348 ## -------------------- ##
   20349 ## M4sh Initialization. ##
   20350 ## -------------------- ##
   20351 
   20352 # Be more Bourne compatible
   20353 DUALCASE=1; export DUALCASE # for MKS sh
   20354 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   20355   emulate sh
   20356   NULLCMD=:
   20357   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20358   # is contrary to our usage.  Disable this feature.
   20359   alias -g '${1+"$@"}'='"$@"'
   20360   setopt NO_GLOB_SUBST
   20361 else
   20362   case `(set -o) 2>/dev/null` in #(
   20363   *posix*) :
   20364     set -o posix ;; #(
   20365   *) :
   20366      ;;
   20367 esac
   20368 fi
   20369 
   20370 
   20371 as_nl='
   20372 '
   20373 export as_nl
   20374 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   20375 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   20376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   20377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   20378 # Prefer a ksh shell builtin over an external printf program on Solaris,
   20379 # but without wasting forks for bash or zsh.
   20380 if test -z "$BASH_VERSION$ZSH_VERSION" \
   20381     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   20382   as_echo='print -r --'
   20383   as_echo_n='print -rn --'
   20384 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   20385   as_echo='printf %s\n'
   20386   as_echo_n='printf %s'
   20387 else
   20388   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   20389     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   20390     as_echo_n='/usr/ucb/echo -n'
   20391   else
   20392     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   20393     as_echo_n_body='eval
   20394       arg=$1;
   20395       case $arg in #(
   20396       *"$as_nl"*)
   20397 	expr "X$arg" : "X\\(.*\\)$as_nl";
   20398 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   20399       esac;
   20400       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   20401     '
   20402     export as_echo_n_body
   20403     as_echo_n='sh -c $as_echo_n_body as_echo'
   20404   fi
   20405   export as_echo_body
   20406   as_echo='sh -c $as_echo_body as_echo'
   20407 fi
   20408 
   20409 # The user is always right.
   20410 if test "${PATH_SEPARATOR+set}" != set; then
   20411   PATH_SEPARATOR=:
   20412   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20413     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20414       PATH_SEPARATOR=';'
   20415   }
   20416 fi
   20417 
   20418 
   20419 # IFS
   20420 # We need space, tab and new line, in precisely that order.  Quoting is
   20421 # there to prevent editors from complaining about space-tab.
   20422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   20423 # splitting by setting IFS to empty value.)
   20424 IFS=" ""	$as_nl"
   20425 
   20426 # Find who we are.  Look in the path if we contain no directory separator.
   20427 as_myself=
   20428 case $0 in #((
   20429   *[\\/]* ) as_myself=$0 ;;
   20430   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20431 for as_dir in $PATH
   20432 do
   20433   IFS=$as_save_IFS
   20434   test -z "$as_dir" && as_dir=.
   20435     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   20436   done
   20437 IFS=$as_save_IFS
   20438 
   20439      ;;
   20440 esac
   20441 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20442 # in which case we are not to be found in the path.
   20443 if test "x$as_myself" = x; then
   20444   as_myself=$0
   20445 fi
   20446 if test ! -f "$as_myself"; then
   20447   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20448   exit 1
   20449 fi
   20450 
   20451 # Unset variables that we do not need and which cause bugs (e.g. in
   20452 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   20453 # suppresses any "Segmentation fault" message there.  '((' could
   20454 # trigger a bug in pdksh 5.2.14.
   20455 for as_var in BASH_ENV ENV MAIL MAILPATH
   20456 do eval test x\${$as_var+set} = xset \
   20457   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20458 done
   20459 PS1='$ '
   20460 PS2='> '
   20461 PS4='+ '
   20462 
   20463 # NLS nuisances.
   20464 LC_ALL=C
   20465 export LC_ALL
   20466 LANGUAGE=C
   20467 export LANGUAGE
   20468 
   20469 # CDPATH.
   20470 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20471 
   20472 
   20473 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20474 # ----------------------------------------
   20475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20477 # script with STATUS, using 1 if that was 0.
   20478 as_fn_error ()
   20479 {
   20480   as_status=$1; test $as_status -eq 0 && as_status=1
   20481   if test "$4"; then
   20482     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20483     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20484   fi
   20485   $as_echo "$as_me: error: $2" >&2
   20486   as_fn_exit $as_status
   20487 } # as_fn_error
   20488 
   20489 
   20490 # as_fn_set_status STATUS
   20491 # -----------------------
   20492 # Set $? to STATUS, without forking.
   20493 as_fn_set_status ()
   20494 {
   20495   return $1
   20496 } # as_fn_set_status
   20497 
   20498 # as_fn_exit STATUS
   20499 # -----------------
   20500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20501 as_fn_exit ()
   20502 {
   20503   set +e
   20504   as_fn_set_status $1
   20505   exit $1
   20506 } # as_fn_exit
   20507 
   20508 # as_fn_unset VAR
   20509 # ---------------
   20510 # Portably unset VAR.
   20511 as_fn_unset ()
   20512 {
   20513   { eval $1=; unset $1;}
   20514 }
   20515 as_unset=as_fn_unset
   20516 # as_fn_append VAR VALUE
   20517 # ----------------------
   20518 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20519 # advantage of any shell optimizations that allow amortized linear growth over
   20520 # repeated appends, instead of the typical quadratic growth present in naive
   20521 # implementations.
   20522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   20523   eval 'as_fn_append ()
   20524   {
   20525     eval $1+=\$2
   20526   }'
   20527 else
   20528   as_fn_append ()
   20529   {
   20530     eval $1=\$$1\$2
   20531   }
   20532 fi # as_fn_append
   20533 
   20534 # as_fn_arith ARG...
   20535 # ------------------
   20536 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20538 # must be portable across $(()) and expr.
   20539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   20540   eval 'as_fn_arith ()
   20541   {
   20542     as_val=$(( $* ))
   20543   }'
   20544 else
   20545   as_fn_arith ()
   20546   {
   20547     as_val=`expr "$@" || test $? -eq 1`
   20548   }
   20549 fi # as_fn_arith
   20550 
   20551 
   20552 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20553    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20554   as_expr=expr
   20555 else
   20556   as_expr=false
   20557 fi
   20558 
   20559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20560   as_basename=basename
   20561 else
   20562   as_basename=false
   20563 fi
   20564 
   20565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20566   as_dirname=dirname
   20567 else
   20568   as_dirname=false
   20569 fi
   20570 
   20571 as_me=`$as_basename -- "$0" ||
   20572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20573 	 X"$0" : 'X\(//\)$' \| \
   20574 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20575 $as_echo X/"$0" |
   20576     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20577 	    s//\1/
   20578 	    q
   20579 	  }
   20580 	  /^X\/\(\/\/\)$/{
   20581 	    s//\1/
   20582 	    q
   20583 	  }
   20584 	  /^X\/\(\/\).*/{
   20585 	    s//\1/
   20586 	    q
   20587 	  }
   20588 	  s/.*/./; q'`
   20589 
   20590 # Avoid depending upon Character Ranges.
   20591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20594 as_cr_digits='0123456789'
   20595 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20596 
   20597 ECHO_C= ECHO_N= ECHO_T=
   20598 case `echo -n x` in #(((((
   20599 -n*)
   20600   case `echo 'xy\c'` in
   20601   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20602   xy)  ECHO_C='\c';;
   20603   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20604        ECHO_T='	';;
   20605   esac;;
   20606 *)
   20607   ECHO_N='-n';;
   20608 esac
   20609 
   20610 rm -f conf$$ conf$$.exe conf$$.file
   20611 if test -d conf$$.dir; then
   20612   rm -f conf$$.dir/conf$$.file
   20613 else
   20614   rm -f conf$$.dir
   20615   mkdir conf$$.dir 2>/dev/null
   20616 fi
   20617 if (echo >conf$$.file) 2>/dev/null; then
   20618   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20619     as_ln_s='ln -s'
   20620     # ... but there are two gotchas:
   20621     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20622     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20623     # In both cases, we have to default to `cp -pR'.
   20624     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20625       as_ln_s='cp -pR'
   20626   elif ln conf$$.file conf$$ 2>/dev/null; then
   20627     as_ln_s=ln
   20628   else
   20629     as_ln_s='cp -pR'
   20630   fi
   20631 else
   20632   as_ln_s='cp -pR'
   20633 fi
   20634 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20635 rmdir conf$$.dir 2>/dev/null
   20636 
   20637 
   20638 # as_fn_mkdir_p
   20639 # -------------
   20640 # Create "$as_dir" as a directory, including parents if necessary.
   20641 as_fn_mkdir_p ()
   20642 {
   20643 
   20644   case $as_dir in #(
   20645   -*) as_dir=./$as_dir;;
   20646   esac
   20647   test -d "$as_dir" || eval $as_mkdir_p || {
   20648     as_dirs=
   20649     while :; do
   20650       case $as_dir in #(
   20651       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20652       *) as_qdir=$as_dir;;
   20653       esac
   20654       as_dirs="'$as_qdir' $as_dirs"
   20655       as_dir=`$as_dirname -- "$as_dir" ||
   20656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20657 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20658 	 X"$as_dir" : 'X\(//\)$' \| \
   20659 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20660 $as_echo X"$as_dir" |
   20661     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20662 	    s//\1/
   20663 	    q
   20664 	  }
   20665 	  /^X\(\/\/\)[^/].*/{
   20666 	    s//\1/
   20667 	    q
   20668 	  }
   20669 	  /^X\(\/\/\)$/{
   20670 	    s//\1/
   20671 	    q
   20672 	  }
   20673 	  /^X\(\/\).*/{
   20674 	    s//\1/
   20675 	    q
   20676 	  }
   20677 	  s/.*/./; q'`
   20678       test -d "$as_dir" && break
   20679     done
   20680     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20681   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20682 
   20683 
   20684 } # as_fn_mkdir_p
   20685 if mkdir -p . 2>/dev/null; then
   20686   as_mkdir_p='mkdir -p "$as_dir"'
   20687 else
   20688   test -d ./-p && rmdir ./-p
   20689   as_mkdir_p=false
   20690 fi
   20691 
   20692 
   20693 # as_fn_executable_p FILE
   20694 # -----------------------
   20695 # Test if FILE is an executable regular file.
   20696 as_fn_executable_p ()
   20697 {
   20698   test -f "$1" && test -x "$1"
   20699 } # as_fn_executable_p
   20700 as_test_x='test -x'
   20701 as_executable_p=as_fn_executable_p
   20702 
   20703 # Sed expression to map a string onto a valid CPP name.
   20704 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20705 
   20706 # Sed expression to map a string onto a valid variable name.
   20707 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20708 
   20709 
   20710 exec 6>&1
   20711 ## ----------------------------------- ##
   20712 ## Main body of $CONFIG_STATUS script. ##
   20713 ## ----------------------------------- ##
   20714 _ASEOF
   20715 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20716 
   20717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20718 # Save the log message, to keep $0 and so on meaningful, and to
   20719 # report actual input values of CONFIG_FILES etc. instead of their
   20720 # values after options handling.
   20721 ac_log="
   20722 This file was extended by PCRE $as_me 8.38, which was
   20723 generated by GNU Autoconf 2.69.  Invocation command line was
   20724 
   20725   CONFIG_FILES    = $CONFIG_FILES
   20726   CONFIG_HEADERS  = $CONFIG_HEADERS
   20727   CONFIG_LINKS    = $CONFIG_LINKS
   20728   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20729   $ $0 $@
   20730 
   20731 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20732 "
   20733 
   20734 _ACEOF
   20735 
   20736 case $ac_config_files in *"
   20737 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20738 esac
   20739 
   20740 case $ac_config_headers in *"
   20741 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20742 esac
   20743 
   20744 
   20745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20746 # Files that config.status was made for.
   20747 config_files="$ac_config_files"
   20748 config_headers="$ac_config_headers"
   20749 config_commands="$ac_config_commands"
   20750 
   20751 _ACEOF
   20752 
   20753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20754 ac_cs_usage="\
   20755 \`$as_me' instantiates files and other configuration actions
   20756 from templates according to the current configuration.  Unless the files
   20757 and actions are specified as TAGs, all are instantiated by default.
   20758 
   20759 Usage: $0 [OPTION]... [TAG]...
   20760 
   20761   -h, --help       print this help, then exit
   20762   -V, --version    print version number and configuration settings, then exit
   20763       --config     print configuration, then exit
   20764   -q, --quiet, --silent
   20765                    do not print progress messages
   20766   -d, --debug      don't remove temporary files
   20767       --recheck    update $as_me by reconfiguring in the same conditions
   20768       --file=FILE[:TEMPLATE]
   20769                    instantiate the configuration file FILE
   20770       --header=FILE[:TEMPLATE]
   20771                    instantiate the configuration header FILE
   20772 
   20773 Configuration files:
   20774 $config_files
   20775 
   20776 Configuration headers:
   20777 $config_headers
   20778 
   20779 Configuration commands:
   20780 $config_commands
   20781 
   20782 Report bugs to the package provider."
   20783 
   20784 _ACEOF
   20785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20786 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   20787 ac_cs_version="\\
   20788 PCRE config.status 8.38
   20789 configured by $0, generated by GNU Autoconf 2.69,
   20790   with options \\"\$ac_cs_config\\"
   20791 
   20792 Copyright (C) 2012 Free Software Foundation, Inc.
   20793 This config.status script is free software; the Free Software Foundation
   20794 gives unlimited permission to copy, distribute and modify it."
   20795 
   20796 ac_pwd='$ac_pwd'
   20797 srcdir='$srcdir'
   20798 INSTALL='$INSTALL'
   20799 MKDIR_P='$MKDIR_P'
   20800 AWK='$AWK'
   20801 test -n "\$AWK" || AWK=awk
   20802 _ACEOF
   20803 
   20804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20805 # The default lists apply if the user does not specify any file.
   20806 ac_need_defaults=:
   20807 while test $# != 0
   20808 do
   20809   case $1 in
   20810   --*=?*)
   20811     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20812     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20813     ac_shift=:
   20814     ;;
   20815   --*=)
   20816     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20817     ac_optarg=
   20818     ac_shift=:
   20819     ;;
   20820   *)
   20821     ac_option=$1
   20822     ac_optarg=$2
   20823     ac_shift=shift
   20824     ;;
   20825   esac
   20826 
   20827   case $ac_option in
   20828   # Handling of the options.
   20829   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20830     ac_cs_recheck=: ;;
   20831   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20832     $as_echo "$ac_cs_version"; exit ;;
   20833   --config | --confi | --conf | --con | --co | --c )
   20834     $as_echo "$ac_cs_config"; exit ;;
   20835   --debug | --debu | --deb | --de | --d | -d )
   20836     debug=: ;;
   20837   --file | --fil | --fi | --f )
   20838     $ac_shift
   20839     case $ac_optarg in
   20840     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20841     '') as_fn_error $? "missing file argument" ;;
   20842     esac
   20843     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20844     ac_need_defaults=false;;
   20845   --header | --heade | --head | --hea )
   20846     $ac_shift
   20847     case $ac_optarg in
   20848     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20849     esac
   20850     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20851     ac_need_defaults=false;;
   20852   --he | --h)
   20853     # Conflict between --help and --header
   20854     as_fn_error $? "ambiguous option: \`$1'
   20855 Try \`$0 --help' for more information.";;
   20856   --help | --hel | -h )
   20857     $as_echo "$ac_cs_usage"; exit ;;
   20858   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20859   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20860     ac_cs_silent=: ;;
   20861 
   20862   # This is an error.
   20863   -*) as_fn_error $? "unrecognized option: \`$1'
   20864 Try \`$0 --help' for more information." ;;
   20865 
   20866   *) as_fn_append ac_config_targets " $1"
   20867      ac_need_defaults=false ;;
   20868 
   20869   esac
   20870   shift
   20871 done
   20872 
   20873 ac_configure_extra_args=
   20874 
   20875 if $ac_cs_silent; then
   20876   exec 6>/dev/null
   20877   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20878 fi
   20879 
   20880 _ACEOF
   20881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20882 if \$ac_cs_recheck; then
   20883   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20884   shift
   20885   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   20886   CONFIG_SHELL='$SHELL'
   20887   export CONFIG_SHELL
   20888   exec "\$@"
   20889 fi
   20890 
   20891 _ACEOF
   20892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20893 exec 5>>config.log
   20894 {
   20895   echo
   20896   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20897 ## Running $as_me. ##
   20898 _ASBOX
   20899   $as_echo "$ac_log"
   20900 } >&5
   20901 
   20902 _ACEOF
   20903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20904 #
   20905 # INIT-COMMANDS
   20906 #
   20907 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   20908 
   20909 
   20910 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20911 # if CDPATH is set.
   20912 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20913 
   20914 sed_quote_subst='$sed_quote_subst'
   20915 double_quote_subst='$double_quote_subst'
   20916 delay_variable_subst='$delay_variable_subst'
   20917 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   20918 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20919 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20920 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20921 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20922 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20923 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20924 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20925 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20926 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20927 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20928 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20929 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20930 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20931 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20932 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20933 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20934 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20935 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20936 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20937 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20938 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20939 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20940 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20941 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20942 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20943 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20944 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20945 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20946 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20947 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20948 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20949 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20950 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20951 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20952 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20953 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20954 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20955 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20956 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20957 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20958 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20959 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20960 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20961 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20962 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20963 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20964 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20965 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20966 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20967 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20968 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20969 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20970 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20971 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20972 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20973 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20974 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20975 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20976 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"`'
   20977 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20978 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20979 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20980 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20981 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20982 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20983 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20984 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20985 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20986 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20987 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20988 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20989 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20990 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20991 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20992 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20993 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20994 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20995 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20996 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20997 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20998 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20999 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21000 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21001 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21002 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21003 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21004 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21005 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21006 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21007 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21008 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21009 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21010 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21011 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21012 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21013 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21014 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21015 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21016 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21017 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21018 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21019 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21020 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21021 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21022 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21023 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21024 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21025 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21026 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21027 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21028 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21029 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21030 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21031 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21032 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21033 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21034 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21035 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21036 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21037 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21038 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21039 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21040 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21041 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21042 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21043 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21044 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21045 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21046 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21047 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21048 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21049 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21050 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21051 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21052 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21053 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   21054 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   21055 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   21056 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   21057 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   21058 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   21059 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   21060 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21061 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21062 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21063 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   21064 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   21065 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21066 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   21067 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   21068 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   21069 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   21070 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   21071 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   21072 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21073 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21074 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   21075 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21076 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21077 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21078 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21079 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21080 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21081 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   21082 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21083 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   21084 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21085 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   21086 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   21087 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   21088 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   21089 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   21090 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   21091 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   21092 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   21093 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   21094 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21095 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   21096 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   21097 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21098 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   21099 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   21100 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   21101 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   21102 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   21103 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   21104 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   21105 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   21106 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   21107 
   21108 LTCC='$LTCC'
   21109 LTCFLAGS='$LTCFLAGS'
   21110 compiler='$compiler_DEFAULT'
   21111 
   21112 # A function that is used when there is no print builtin or printf.
   21113 func_fallback_echo ()
   21114 {
   21115   eval 'cat <<_LTECHO_EOF
   21116 \$1
   21117 _LTECHO_EOF'
   21118 }
   21119 
   21120 # Quote evaled strings.
   21121 for var in AS \
   21122 DLLTOOL \
   21123 OBJDUMP \
   21124 SHELL \
   21125 ECHO \
   21126 PATH_SEPARATOR \
   21127 SED \
   21128 GREP \
   21129 EGREP \
   21130 FGREP \
   21131 LD \
   21132 NM \
   21133 LN_S \
   21134 lt_SP2NL \
   21135 lt_NL2SP \
   21136 reload_flag \
   21137 deplibs_check_method \
   21138 file_magic_cmd \
   21139 file_magic_glob \
   21140 want_nocaseglob \
   21141 sharedlib_from_linklib_cmd \
   21142 AR \
   21143 AR_FLAGS \
   21144 archiver_list_spec \
   21145 STRIP \
   21146 RANLIB \
   21147 CC \
   21148 CFLAGS \
   21149 compiler \
   21150 lt_cv_sys_global_symbol_pipe \
   21151 lt_cv_sys_global_symbol_to_cdecl \
   21152 lt_cv_sys_global_symbol_to_import \
   21153 lt_cv_sys_global_symbol_to_c_name_address \
   21154 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21155 lt_cv_nm_interface \
   21156 nm_file_list_spec \
   21157 lt_cv_truncate_bin \
   21158 lt_prog_compiler_no_builtin_flag \
   21159 lt_prog_compiler_pic \
   21160 lt_prog_compiler_wl \
   21161 lt_prog_compiler_static \
   21162 lt_cv_prog_compiler_c_o \
   21163 need_locks \
   21164 MANIFEST_TOOL \
   21165 DSYMUTIL \
   21166 NMEDIT \
   21167 LIPO \
   21168 OTOOL \
   21169 OTOOL64 \
   21170 shrext_cmds \
   21171 export_dynamic_flag_spec \
   21172 whole_archive_flag_spec \
   21173 compiler_needs_object \
   21174 with_gnu_ld \
   21175 allow_undefined_flag \
   21176 no_undefined_flag \
   21177 hardcode_libdir_flag_spec \
   21178 hardcode_libdir_separator \
   21179 exclude_expsyms \
   21180 include_expsyms \
   21181 file_list_spec \
   21182 variables_saved_for_relink \
   21183 libname_spec \
   21184 library_names_spec \
   21185 soname_spec \
   21186 install_override_mode \
   21187 finish_eval \
   21188 old_striplib \
   21189 striplib \
   21190 compiler_lib_search_dirs \
   21191 predep_objects \
   21192 postdep_objects \
   21193 predeps \
   21194 postdeps \
   21195 compiler_lib_search_path \
   21196 LD_CXX \
   21197 reload_flag_CXX \
   21198 compiler_CXX \
   21199 lt_prog_compiler_no_builtin_flag_CXX \
   21200 lt_prog_compiler_pic_CXX \
   21201 lt_prog_compiler_wl_CXX \
   21202 lt_prog_compiler_static_CXX \
   21203 lt_cv_prog_compiler_c_o_CXX \
   21204 export_dynamic_flag_spec_CXX \
   21205 whole_archive_flag_spec_CXX \
   21206 compiler_needs_object_CXX \
   21207 with_gnu_ld_CXX \
   21208 allow_undefined_flag_CXX \
   21209 no_undefined_flag_CXX \
   21210 hardcode_libdir_flag_spec_CXX \
   21211 hardcode_libdir_separator_CXX \
   21212 exclude_expsyms_CXX \
   21213 include_expsyms_CXX \
   21214 file_list_spec_CXX \
   21215 compiler_lib_search_dirs_CXX \
   21216 predep_objects_CXX \
   21217 postdep_objects_CXX \
   21218 predeps_CXX \
   21219 postdeps_CXX \
   21220 compiler_lib_search_path_CXX; do
   21221     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21222     *[\\\\\\\`\\"\\\$]*)
   21223       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21224       ;;
   21225     *)
   21226       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21227       ;;
   21228     esac
   21229 done
   21230 
   21231 # Double-quote double-evaled strings.
   21232 for var in reload_cmds \
   21233 old_postinstall_cmds \
   21234 old_postuninstall_cmds \
   21235 old_archive_cmds \
   21236 extract_expsyms_cmds \
   21237 old_archive_from_new_cmds \
   21238 old_archive_from_expsyms_cmds \
   21239 archive_cmds \
   21240 archive_expsym_cmds \
   21241 module_cmds \
   21242 module_expsym_cmds \
   21243 export_symbols_cmds \
   21244 prelink_cmds \
   21245 postlink_cmds \
   21246 postinstall_cmds \
   21247 postuninstall_cmds \
   21248 finish_cmds \
   21249 sys_lib_search_path_spec \
   21250 configure_time_dlsearch_path \
   21251 configure_time_lt_sys_library_path \
   21252 reload_cmds_CXX \
   21253 old_archive_cmds_CXX \
   21254 old_archive_from_new_cmds_CXX \
   21255 old_archive_from_expsyms_cmds_CXX \
   21256 archive_cmds_CXX \
   21257 archive_expsym_cmds_CXX \
   21258 module_cmds_CXX \
   21259 module_expsym_cmds_CXX \
   21260 export_symbols_cmds_CXX \
   21261 prelink_cmds_CXX \
   21262 postlink_cmds_CXX; do
   21263     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21264     *[\\\\\\\`\\"\\\$]*)
   21265       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21266       ;;
   21267     *)
   21268       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21269       ;;
   21270     esac
   21271 done
   21272 
   21273 ac_aux_dir='$ac_aux_dir'
   21274 
   21275 # See if we are running on zsh, and set the options that allow our
   21276 # commands through without removal of \ escapes INIT.
   21277 if test -n "\${ZSH_VERSION+set}"; then
   21278    setopt NO_GLOB_SUBST
   21279 fi
   21280 
   21281 
   21282     PACKAGE='$PACKAGE'
   21283     VERSION='$VERSION'
   21284     RM='$RM'
   21285     ofile='$ofile'
   21286 
   21287 
   21288 
   21289 
   21290 
   21291 
   21292 _ACEOF
   21293 
   21294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21295 
   21296 # Handling of arguments.
   21297 for ac_config_target in $ac_config_targets
   21298 do
   21299   case $ac_config_target in
   21300     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21301     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21302     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21303     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21304     "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
   21305     "libpcre16.pc") CONFIG_FILES="$CONFIG_FILES libpcre16.pc" ;;
   21306     "libpcre32.pc") CONFIG_FILES="$CONFIG_FILES libpcre32.pc" ;;
   21307     "libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;;
   21308     "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
   21309     "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
   21310     "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
   21311     "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
   21312     "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
   21313     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
   21314     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
   21315 
   21316   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21317   esac
   21318 done
   21319 
   21320 
   21321 # If the user did not use the arguments to specify the items to instantiate,
   21322 # then the envvar interface is used.  Set only those that are not.
   21323 # We use the long form for the default assignment because of an extremely
   21324 # bizarre bug on SunOS 4.1.3.
   21325 if $ac_need_defaults; then
   21326   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21327   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21328   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21329 fi
   21330 
   21331 # Have a temporary directory for convenience.  Make it in the build tree
   21332 # simply because there is no reason against having it here, and in addition,
   21333 # creating and moving files from /tmp can sometimes cause problems.
   21334 # Hook for its removal unless debugging.
   21335 # Note that there is a small window in which the directory will not be cleaned:
   21336 # after its creation but before its name has been assigned to `$tmp'.
   21337 $debug ||
   21338 {
   21339   tmp= ac_tmp=
   21340   trap 'exit_status=$?
   21341   : "${ac_tmp:=$tmp}"
   21342   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21343 ' 0
   21344   trap 'as_fn_exit 1' 1 2 13 15
   21345 }
   21346 # Create a (secure) tmp directory for tmp files.
   21347 
   21348 {
   21349   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21350   test -d "$tmp"
   21351 }  ||
   21352 {
   21353   tmp=./conf$$-$RANDOM
   21354   (umask 077 && mkdir "$tmp")
   21355 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21356 ac_tmp=$tmp
   21357 
   21358 # Set up the scripts for CONFIG_FILES section.
   21359 # No need to generate them if there are no CONFIG_FILES.
   21360 # This happens for instance with `./config.status config.h'.
   21361 if test -n "$CONFIG_FILES"; then
   21362 
   21363 
   21364 ac_cr=`echo X | tr X '\015'`
   21365 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21366 # But we know of no other shell where ac_cr would be empty at this
   21367 # point, so we can use a bashism as a fallback.
   21368 if test "x$ac_cr" = x; then
   21369   eval ac_cr=\$\'\\r\'
   21370 fi
   21371 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21372 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21373   ac_cs_awk_cr='\\r'
   21374 else
   21375   ac_cs_awk_cr=$ac_cr
   21376 fi
   21377 
   21378 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21379 _ACEOF
   21380 
   21381 
   21382 {
   21383   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21384   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21385   echo "_ACEOF"
   21386 } >conf$$subs.sh ||
   21387   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21389 ac_delim='%!_!# '
   21390 for ac_last_try in false false false false false :; do
   21391   . ./conf$$subs.sh ||
   21392     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21393 
   21394   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21395   if test $ac_delim_n = $ac_delim_num; then
   21396     break
   21397   elif $ac_last_try; then
   21398     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21399   else
   21400     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21401   fi
   21402 done
   21403 rm -f conf$$subs.sh
   21404 
   21405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21406 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21407 _ACEOF
   21408 sed -n '
   21409 h
   21410 s/^/S["/; s/!.*/"]=/
   21411 p
   21412 g
   21413 s/^[^!]*!//
   21414 :repl
   21415 t repl
   21416 s/'"$ac_delim"'$//
   21417 t delim
   21418 :nl
   21419 h
   21420 s/\(.\{148\}\)..*/\1/
   21421 t more1
   21422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21423 p
   21424 n
   21425 b repl
   21426 :more1
   21427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21428 p
   21429 g
   21430 s/.\{148\}//
   21431 t nl
   21432 :delim
   21433 h
   21434 s/\(.\{148\}\)..*/\1/
   21435 t more2
   21436 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21437 p
   21438 b
   21439 :more2
   21440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21441 p
   21442 g
   21443 s/.\{148\}//
   21444 t delim
   21445 ' <conf$$subs.awk | sed '
   21446 /^[^""]/{
   21447   N
   21448   s/\n//
   21449 }
   21450 ' >>$CONFIG_STATUS || ac_write_fail=1
   21451 rm -f conf$$subs.awk
   21452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21453 _ACAWK
   21454 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21455   for (key in S) S_is_set[key] = 1
   21456   FS = ""
   21457 
   21458 }
   21459 {
   21460   line = $ 0
   21461   nfields = split(line, field, "@")
   21462   substed = 0
   21463   len = length(field[1])
   21464   for (i = 2; i < nfields; i++) {
   21465     key = field[i]
   21466     keylen = length(key)
   21467     if (S_is_set[key]) {
   21468       value = S[key]
   21469       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21470       len += length(value) + length(field[++i])
   21471       substed = 1
   21472     } else
   21473       len += 1 + keylen
   21474   }
   21475 
   21476   print line
   21477 }
   21478 
   21479 _ACAWK
   21480 _ACEOF
   21481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21482 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21483   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21484 else
   21485   cat
   21486 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21487   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21488 _ACEOF
   21489 
   21490 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21491 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21492 # trailing colons and then remove the whole line if VPATH becomes empty
   21493 # (actually we leave an empty line to preserve line numbers).
   21494 if test "x$srcdir" = x.; then
   21495   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21496 h
   21497 s///
   21498 s/^/:/
   21499 s/[	 ]*$/:/
   21500 s/:\$(srcdir):/:/g
   21501 s/:\${srcdir}:/:/g
   21502 s/:@srcdir@:/:/g
   21503 s/^:*//
   21504 s/:*$//
   21505 x
   21506 s/\(=[	 ]*\).*/\1/
   21507 G
   21508 s/\n//
   21509 s/^[^=]*=[	 ]*$//
   21510 }'
   21511 fi
   21512 
   21513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21514 fi # test -n "$CONFIG_FILES"
   21515 
   21516 # Set up the scripts for CONFIG_HEADERS section.
   21517 # No need to generate them if there are no CONFIG_HEADERS.
   21518 # This happens for instance with `./config.status Makefile'.
   21519 if test -n "$CONFIG_HEADERS"; then
   21520 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21521 BEGIN {
   21522 _ACEOF
   21523 
   21524 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21525 # here-document in config.status, that substitutes the proper values into
   21526 # config.h.in to produce config.h.
   21527 
   21528 # Create a delimiter string that does not exist in confdefs.h, to ease
   21529 # handling of long lines.
   21530 ac_delim='%!_!# '
   21531 for ac_last_try in false false :; do
   21532   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21533   if test -z "$ac_tt"; then
   21534     break
   21535   elif $ac_last_try; then
   21536     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21537   else
   21538     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21539   fi
   21540 done
   21541 
   21542 # For the awk script, D is an array of macro values keyed by name,
   21543 # likewise P contains macro parameters if any.  Preserve backslash
   21544 # newline sequences.
   21545 
   21546 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21547 sed -n '
   21548 s/.\{148\}/&'"$ac_delim"'/g
   21549 t rset
   21550 :rset
   21551 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21552 t def
   21553 d
   21554 :def
   21555 s/\\$//
   21556 t bsnl
   21557 s/["\\]/\\&/g
   21558 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21559 D["\1"]=" \3"/p
   21560 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21561 d
   21562 :bsnl
   21563 s/["\\]/\\&/g
   21564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21565 D["\1"]=" \3\\\\\\n"\\/p
   21566 t cont
   21567 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21568 t cont
   21569 d
   21570 :cont
   21571 n
   21572 s/.\{148\}/&'"$ac_delim"'/g
   21573 t clear
   21574 :clear
   21575 s/\\$//
   21576 t bsnlc
   21577 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21578 d
   21579 :bsnlc
   21580 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21581 b cont
   21582 ' <confdefs.h | sed '
   21583 s/'"$ac_delim"'/"\\\
   21584 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21585 
   21586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21587   for (key in D) D_is_set[key] = 1
   21588   FS = ""
   21589 }
   21590 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21591   line = \$ 0
   21592   split(line, arg, " ")
   21593   if (arg[1] == "#") {
   21594     defundef = arg[2]
   21595     mac1 = arg[3]
   21596   } else {
   21597     defundef = substr(arg[1], 2)
   21598     mac1 = arg[2]
   21599   }
   21600   split(mac1, mac2, "(") #)
   21601   macro = mac2[1]
   21602   prefix = substr(line, 1, index(line, defundef) - 1)
   21603   if (D_is_set[macro]) {
   21604     # Preserve the white space surrounding the "#".
   21605     print prefix "define", macro P[macro] D[macro]
   21606     next
   21607   } else {
   21608     # Replace #undef with comments.  This is necessary, for example,
   21609     # in the case of _POSIX_SOURCE, which is predefined and required
   21610     # on some systems where configure will not decide to define it.
   21611     if (defundef == "undef") {
   21612       print "/*", prefix defundef, macro, "*/"
   21613       next
   21614     }
   21615   }
   21616 }
   21617 { print }
   21618 _ACAWK
   21619 _ACEOF
   21620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21621   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21622 fi # test -n "$CONFIG_HEADERS"
   21623 
   21624 
   21625 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21626 shift
   21627 for ac_tag
   21628 do
   21629   case $ac_tag in
   21630   :[FHLC]) ac_mode=$ac_tag; continue;;
   21631   esac
   21632   case $ac_mode$ac_tag in
   21633   :[FHL]*:*);;
   21634   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21635   :[FH]-) ac_tag=-:-;;
   21636   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21637   esac
   21638   ac_save_IFS=$IFS
   21639   IFS=:
   21640   set x $ac_tag
   21641   IFS=$ac_save_IFS
   21642   shift
   21643   ac_file=$1
   21644   shift
   21645 
   21646   case $ac_mode in
   21647   :L) ac_source=$1;;
   21648   :[FH])
   21649     ac_file_inputs=
   21650     for ac_f
   21651     do
   21652       case $ac_f in
   21653       -) ac_f="$ac_tmp/stdin";;
   21654       *) # Look for the file first in the build tree, then in the source tree
   21655 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21656 	 # because $ac_f cannot contain `:'.
   21657 	 test -f "$ac_f" ||
   21658 	   case $ac_f in
   21659 	   [\\/$]*) false;;
   21660 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21661 	   esac ||
   21662 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21663       esac
   21664       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21665       as_fn_append ac_file_inputs " '$ac_f'"
   21666     done
   21667 
   21668     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21669     # use $as_me), people would be surprised to read:
   21670     #    /* config.h.  Generated by config.status.  */
   21671     configure_input='Generated from '`
   21672 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21673 	`' by configure.'
   21674     if test x"$ac_file" != x-; then
   21675       configure_input="$ac_file.  $configure_input"
   21676       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21677 $as_echo "$as_me: creating $ac_file" >&6;}
   21678     fi
   21679     # Neutralize special characters interpreted by sed in replacement strings.
   21680     case $configure_input in #(
   21681     *\&* | *\|* | *\\* )
   21682        ac_sed_conf_input=`$as_echo "$configure_input" |
   21683        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21684     *) ac_sed_conf_input=$configure_input;;
   21685     esac
   21686 
   21687     case $ac_tag in
   21688     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21689       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21690     esac
   21691     ;;
   21692   esac
   21693 
   21694   ac_dir=`$as_dirname -- "$ac_file" ||
   21695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21696 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21697 	 X"$ac_file" : 'X\(//\)$' \| \
   21698 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21699 $as_echo X"$ac_file" |
   21700     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21701 	    s//\1/
   21702 	    q
   21703 	  }
   21704 	  /^X\(\/\/\)[^/].*/{
   21705 	    s//\1/
   21706 	    q
   21707 	  }
   21708 	  /^X\(\/\/\)$/{
   21709 	    s//\1/
   21710 	    q
   21711 	  }
   21712 	  /^X\(\/\).*/{
   21713 	    s//\1/
   21714 	    q
   21715 	  }
   21716 	  s/.*/./; q'`
   21717   as_dir="$ac_dir"; as_fn_mkdir_p
   21718   ac_builddir=.
   21719 
   21720 case "$ac_dir" in
   21721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21722 *)
   21723   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21724   # A ".." for each directory in $ac_dir_suffix.
   21725   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21726   case $ac_top_builddir_sub in
   21727   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21728   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21729   esac ;;
   21730 esac
   21731 ac_abs_top_builddir=$ac_pwd
   21732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21733 # for backward compatibility:
   21734 ac_top_builddir=$ac_top_build_prefix
   21735 
   21736 case $srcdir in
   21737   .)  # We are building in place.
   21738     ac_srcdir=.
   21739     ac_top_srcdir=$ac_top_builddir_sub
   21740     ac_abs_top_srcdir=$ac_pwd ;;
   21741   [\\/]* | ?:[\\/]* )  # Absolute name.
   21742     ac_srcdir=$srcdir$ac_dir_suffix;
   21743     ac_top_srcdir=$srcdir
   21744     ac_abs_top_srcdir=$srcdir ;;
   21745   *) # Relative name.
   21746     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21747     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21748     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21749 esac
   21750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21751 
   21752 
   21753   case $ac_mode in
   21754   :F)
   21755   #
   21756   # CONFIG_FILE
   21757   #
   21758 
   21759   case $INSTALL in
   21760   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21761   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21762   esac
   21763   ac_MKDIR_P=$MKDIR_P
   21764   case $MKDIR_P in
   21765   [\\/$]* | ?:[\\/]* ) ;;
   21766   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21767   esac
   21768 _ACEOF
   21769 
   21770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21771 # If the template does not know about datarootdir, expand it.
   21772 # FIXME: This hack should be removed a few years after 2.60.
   21773 ac_datarootdir_hack=; ac_datarootdir_seen=
   21774 ac_sed_dataroot='
   21775 /datarootdir/ {
   21776   p
   21777   q
   21778 }
   21779 /@datadir@/p
   21780 /@docdir@/p
   21781 /@infodir@/p
   21782 /@localedir@/p
   21783 /@mandir@/p'
   21784 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21785 *datarootdir*) ac_datarootdir_seen=yes;;
   21786 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21787   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21788 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21789 _ACEOF
   21790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21791   ac_datarootdir_hack='
   21792   s&@datadir@&$datadir&g
   21793   s&@docdir@&$docdir&g
   21794   s&@infodir@&$infodir&g
   21795   s&@localedir@&$localedir&g
   21796   s&@mandir@&$mandir&g
   21797   s&\\\${datarootdir}&$datarootdir&g' ;;
   21798 esac
   21799 _ACEOF
   21800 
   21801 # Neutralize VPATH when `$srcdir' = `.'.
   21802 # Shell code in configure.ac might set extrasub.
   21803 # FIXME: do we really want to maintain this feature?
   21804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21805 ac_sed_extra="$ac_vpsub
   21806 $extrasub
   21807 _ACEOF
   21808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21809 :t
   21810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21811 s|@configure_input@|$ac_sed_conf_input|;t t
   21812 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21813 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21814 s&@srcdir@&$ac_srcdir&;t t
   21815 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21816 s&@top_srcdir@&$ac_top_srcdir&;t t
   21817 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21818 s&@builddir@&$ac_builddir&;t t
   21819 s&@abs_builddir@&$ac_abs_builddir&;t t
   21820 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21821 s&@INSTALL@&$ac_INSTALL&;t t
   21822 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21823 $ac_datarootdir_hack
   21824 "
   21825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21826   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21827 
   21828 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21829   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21830   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21831       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21832   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21833 which seems to be undefined.  Please make sure it is defined" >&5
   21834 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21835 which seems to be undefined.  Please make sure it is defined" >&2;}
   21836 
   21837   rm -f "$ac_tmp/stdin"
   21838   case $ac_file in
   21839   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21840   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21841   esac \
   21842   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21843  ;;
   21844   :H)
   21845   #
   21846   # CONFIG_HEADER
   21847   #
   21848   if test x"$ac_file" != x-; then
   21849     {
   21850       $as_echo "/* $configure_input  */" \
   21851       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21852     } >"$ac_tmp/config.h" \
   21853       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21854     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21855       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21856 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   21857     else
   21858       rm -f "$ac_file"
   21859       mv "$ac_tmp/config.h" "$ac_file" \
   21860 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21861     fi
   21862   else
   21863     $as_echo "/* $configure_input  */" \
   21864       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21865       || as_fn_error $? "could not create -" "$LINENO" 5
   21866   fi
   21867 # Compute "$ac_file"'s index in $config_headers.
   21868 _am_arg="$ac_file"
   21869 _am_stamp_count=1
   21870 for _am_header in $config_headers :; do
   21871   case $_am_header in
   21872     $_am_arg | $_am_arg:* )
   21873       break ;;
   21874     * )
   21875       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21876   esac
   21877 done
   21878 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21879 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21880 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21881 	 X"$_am_arg" : 'X\(//\)$' \| \
   21882 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21883 $as_echo X"$_am_arg" |
   21884     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21885 	    s//\1/
   21886 	    q
   21887 	  }
   21888 	  /^X\(\/\/\)[^/].*/{
   21889 	    s//\1/
   21890 	    q
   21891 	  }
   21892 	  /^X\(\/\/\)$/{
   21893 	    s//\1/
   21894 	    q
   21895 	  }
   21896 	  /^X\(\/\).*/{
   21897 	    s//\1/
   21898 	    q
   21899 	  }
   21900 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21901  ;;
   21902 
   21903   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21904 $as_echo "$as_me: executing $ac_file commands" >&6;}
   21905  ;;
   21906   esac
   21907 
   21908 
   21909   case $ac_file$ac_mode in
   21910     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21911   # Older Autoconf quotes --file arguments for eval, but not when files
   21912   # are listed without --file.  Let's play safe and only enable the eval
   21913   # if we detect the quoting.
   21914   case $CONFIG_FILES in
   21915   *\'*) eval set x "$CONFIG_FILES" ;;
   21916   *)   set x $CONFIG_FILES ;;
   21917   esac
   21918   shift
   21919   for mf
   21920   do
   21921     # Strip MF so we end up with the name of the file.
   21922     mf=`echo "$mf" | sed -e 's/:.*$//'`
   21923     # Check whether this is an Automake generated Makefile or not.
   21924     # We used to match only the files named 'Makefile.in', but
   21925     # some people rename them; so instead we look at the file content.
   21926     # Grep'ing the first line is not enough: some people post-process
   21927     # each Makefile.in and add a new line on top of each file to say so.
   21928     # Grep'ing the whole file is not good either: AIX grep has a line
   21929     # limit of 2048, but all sed's we know have understand at least 4000.
   21930     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   21931       dirpart=`$as_dirname -- "$mf" ||
   21932 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21933 	 X"$mf" : 'X\(//\)[^/]' \| \
   21934 	 X"$mf" : 'X\(//\)$' \| \
   21935 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   21936 $as_echo X"$mf" |
   21937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21938 	    s//\1/
   21939 	    q
   21940 	  }
   21941 	  /^X\(\/\/\)[^/].*/{
   21942 	    s//\1/
   21943 	    q
   21944 	  }
   21945 	  /^X\(\/\/\)$/{
   21946 	    s//\1/
   21947 	    q
   21948 	  }
   21949 	  /^X\(\/\).*/{
   21950 	    s//\1/
   21951 	    q
   21952 	  }
   21953 	  s/.*/./; q'`
   21954     else
   21955       continue
   21956     fi
   21957     # Extract the definition of DEPDIR, am__include, and am__quote
   21958     # from the Makefile without running 'make'.
   21959     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   21960     test -z "$DEPDIR" && continue
   21961     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   21962     test -z "$am__include" && continue
   21963     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   21964     # Find all dependency output files, they are included files with
   21965     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   21966     # simplest approach to changing $(DEPDIR) to its actual value in the
   21967     # expansion.
   21968     for file in `sed -n "
   21969       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   21970 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   21971       # Make sure the directory exists.
   21972       test -f "$dirpart/$file" && continue
   21973       fdir=`$as_dirname -- "$file" ||
   21974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21975 	 X"$file" : 'X\(//\)[^/]' \| \
   21976 	 X"$file" : 'X\(//\)$' \| \
   21977 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   21978 $as_echo X"$file" |
   21979     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21980 	    s//\1/
   21981 	    q
   21982 	  }
   21983 	  /^X\(\/\/\)[^/].*/{
   21984 	    s//\1/
   21985 	    q
   21986 	  }
   21987 	  /^X\(\/\/\)$/{
   21988 	    s//\1/
   21989 	    q
   21990 	  }
   21991 	  /^X\(\/\).*/{
   21992 	    s//\1/
   21993 	    q
   21994 	  }
   21995 	  s/.*/./; q'`
   21996       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   21997       # echo "creating $dirpart/$file"
   21998       echo '# dummy' > "$dirpart/$file"
   21999     done
   22000   done
   22001 }
   22002  ;;
   22003     "libtool":C)
   22004 
   22005     # See if we are running on zsh, and set the options that allow our
   22006     # commands through without removal of \ escapes.
   22007     if test -n "${ZSH_VERSION+set}"; then
   22008       setopt NO_GLOB_SUBST
   22009     fi
   22010 
   22011     cfgfile=${ofile}T
   22012     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22013     $RM "$cfgfile"
   22014 
   22015     cat <<_LT_EOF >> "$cfgfile"
   22016 #! $SHELL
   22017 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22018 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22019 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22020 
   22021 # Provide generalized library-building support services.
   22022 # Written by Gordon Matzigkeit, 1996
   22023 
   22024 # Copyright (C) 2014 Free Software Foundation, Inc.
   22025 # This is free software; see the source for copying conditions.  There is NO
   22026 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22027 
   22028 # GNU Libtool is free software; you can redistribute it and/or modify
   22029 # it under the terms of the GNU General Public License as published by
   22030 # the Free Software Foundation; either version 2 of of the License, or
   22031 # (at your option) any later version.
   22032 #
   22033 # As a special exception to the GNU General Public License, if you
   22034 # distribute this file as part of a program or library that is built
   22035 # using GNU Libtool, you may include this file under the  same
   22036 # distribution terms that you use for the rest of that program.
   22037 #
   22038 # GNU Libtool is distributed in the hope that it will be useful, but
   22039 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22040 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22041 # GNU General Public License for more details.
   22042 #
   22043 # You should have received a copy of the GNU General Public License
   22044 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22045 
   22046 
   22047 # The names of the tagged configurations supported by this script.
   22048 available_tags='CXX '
   22049 
   22050 # Configured defaults for sys_lib_dlsearch_path munging.
   22051 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22052 
   22053 # ### BEGIN LIBTOOL CONFIG
   22054 
   22055 # Assembler program.
   22056 AS=$lt_AS
   22057 
   22058 # DLL creation program.
   22059 DLLTOOL=$lt_DLLTOOL
   22060 
   22061 # Object dumper program.
   22062 OBJDUMP=$lt_OBJDUMP
   22063 
   22064 # Which release of libtool.m4 was used?
   22065 macro_version=$macro_version
   22066 macro_revision=$macro_revision
   22067 
   22068 # Whether or not to build shared libraries.
   22069 build_libtool_libs=$enable_shared
   22070 
   22071 # Whether or not to build static libraries.
   22072 build_old_libs=$enable_static
   22073 
   22074 # What type of objects to build.
   22075 pic_mode=$pic_mode
   22076 
   22077 # Whether or not to optimize for fast installation.
   22078 fast_install=$enable_fast_install
   22079 
   22080 # Shared archive member basename,for filename based shared library versioning on AIX.
   22081 shared_archive_member_spec=$shared_archive_member_spec
   22082 
   22083 # Shell to use when invoking shell scripts.
   22084 SHELL=$lt_SHELL
   22085 
   22086 # An echo program that protects backslashes.
   22087 ECHO=$lt_ECHO
   22088 
   22089 # The PATH separator for the build system.
   22090 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22091 
   22092 # The host system.
   22093 host_alias=$host_alias
   22094 host=$host
   22095 host_os=$host_os
   22096 
   22097 # The build system.
   22098 build_alias=$build_alias
   22099 build=$build
   22100 build_os=$build_os
   22101 
   22102 # A sed program that does not truncate output.
   22103 SED=$lt_SED
   22104 
   22105 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22106 Xsed="\$SED -e 1s/^X//"
   22107 
   22108 # A grep program that handles long lines.
   22109 GREP=$lt_GREP
   22110 
   22111 # An ERE matcher.
   22112 EGREP=$lt_EGREP
   22113 
   22114 # A literal string matcher.
   22115 FGREP=$lt_FGREP
   22116 
   22117 # A BSD- or MS-compatible name lister.
   22118 NM=$lt_NM
   22119 
   22120 # Whether we need soft or hard links.
   22121 LN_S=$lt_LN_S
   22122 
   22123 # What is the maximum length of a command?
   22124 max_cmd_len=$max_cmd_len
   22125 
   22126 # Object file suffix (normally "o").
   22127 objext=$ac_objext
   22128 
   22129 # Executable file suffix (normally "").
   22130 exeext=$exeext
   22131 
   22132 # whether the shell understands "unset".
   22133 lt_unset=$lt_unset
   22134 
   22135 # turn spaces into newlines.
   22136 SP2NL=$lt_lt_SP2NL
   22137 
   22138 # turn newlines into spaces.
   22139 NL2SP=$lt_lt_NL2SP
   22140 
   22141 # convert \$build file names to \$host format.
   22142 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22143 
   22144 # convert \$build files to toolchain format.
   22145 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22146 
   22147 # Method to check whether dependent libraries are shared objects.
   22148 deplibs_check_method=$lt_deplibs_check_method
   22149 
   22150 # Command to use when deplibs_check_method = "file_magic".
   22151 file_magic_cmd=$lt_file_magic_cmd
   22152 
   22153 # How to find potential files when deplibs_check_method = "file_magic".
   22154 file_magic_glob=$lt_file_magic_glob
   22155 
   22156 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22157 want_nocaseglob=$lt_want_nocaseglob
   22158 
   22159 # Command to associate shared and link libraries.
   22160 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22161 
   22162 # The archiver.
   22163 AR=$lt_AR
   22164 
   22165 # Flags to create an archive.
   22166 AR_FLAGS=$lt_AR_FLAGS
   22167 
   22168 # How to feed a file listing to the archiver.
   22169 archiver_list_spec=$lt_archiver_list_spec
   22170 
   22171 # A symbol stripping program.
   22172 STRIP=$lt_STRIP
   22173 
   22174 # Commands used to install an old-style archive.
   22175 RANLIB=$lt_RANLIB
   22176 old_postinstall_cmds=$lt_old_postinstall_cmds
   22177 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22178 
   22179 # Whether to use a lock for old archive extraction.
   22180 lock_old_archive_extraction=$lock_old_archive_extraction
   22181 
   22182 # A C compiler.
   22183 LTCC=$lt_CC
   22184 
   22185 # LTCC compiler flags.
   22186 LTCFLAGS=$lt_CFLAGS
   22187 
   22188 # Take the output of nm and produce a listing of raw symbols and C names.
   22189 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22190 
   22191 # Transform the output of nm in a proper C declaration.
   22192 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22193 
   22194 # Transform the output of nm into a list of symbols to manually relocate.
   22195 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22196 
   22197 # Transform the output of nm in a C name address pair.
   22198 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22199 
   22200 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22201 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22202 
   22203 # The name lister interface.
   22204 nm_interface=$lt_lt_cv_nm_interface
   22205 
   22206 # Specify filename containing input files for \$NM.
   22207 nm_file_list_spec=$lt_nm_file_list_spec
   22208 
   22209 # The root where to search for dependent libraries,and where our libraries should be installed.
   22210 lt_sysroot=$lt_sysroot
   22211 
   22212 # Command to truncate a binary pipe.
   22213 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22214 
   22215 # The name of the directory that contains temporary libtool files.
   22216 objdir=$objdir
   22217 
   22218 # Used to examine libraries when file_magic_cmd begins with "file".
   22219 MAGIC_CMD=$MAGIC_CMD
   22220 
   22221 # Must we lock files when doing compilation?
   22222 need_locks=$lt_need_locks
   22223 
   22224 # Manifest tool.
   22225 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22226 
   22227 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22228 DSYMUTIL=$lt_DSYMUTIL
   22229 
   22230 # Tool to change global to local symbols on Mac OS X.
   22231 NMEDIT=$lt_NMEDIT
   22232 
   22233 # Tool to manipulate fat objects and archives on Mac OS X.
   22234 LIPO=$lt_LIPO
   22235 
   22236 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22237 OTOOL=$lt_OTOOL
   22238 
   22239 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22240 OTOOL64=$lt_OTOOL64
   22241 
   22242 # Old archive suffix (normally "a").
   22243 libext=$libext
   22244 
   22245 # Shared library suffix (normally ".so").
   22246 shrext_cmds=$lt_shrext_cmds
   22247 
   22248 # The commands to extract the exported symbol list from a shared archive.
   22249 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22250 
   22251 # Variables whose values should be saved in libtool wrapper scripts and
   22252 # restored at link time.
   22253 variables_saved_for_relink=$lt_variables_saved_for_relink
   22254 
   22255 # Do we need the "lib" prefix for modules?
   22256 need_lib_prefix=$need_lib_prefix
   22257 
   22258 # Do we need a version for libraries?
   22259 need_version=$need_version
   22260 
   22261 # Library versioning type.
   22262 version_type=$version_type
   22263 
   22264 # Shared library runtime path variable.
   22265 runpath_var=$runpath_var
   22266 
   22267 # Shared library path variable.
   22268 shlibpath_var=$shlibpath_var
   22269 
   22270 # Is shlibpath searched before the hard-coded library search path?
   22271 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22272 
   22273 # Format of library name prefix.
   22274 libname_spec=$lt_libname_spec
   22275 
   22276 # List of archive names.  First name is the real one, the rest are links.
   22277 # The last name is the one that the linker finds with -lNAME
   22278 library_names_spec=$lt_library_names_spec
   22279 
   22280 # The coded name of the library, if different from the real name.
   22281 soname_spec=$lt_soname_spec
   22282 
   22283 # Permission mode override for installation of shared libraries.
   22284 install_override_mode=$lt_install_override_mode
   22285 
   22286 # Command to use after installation of a shared archive.
   22287 postinstall_cmds=$lt_postinstall_cmds
   22288 
   22289 # Command to use after uninstallation of a shared archive.
   22290 postuninstall_cmds=$lt_postuninstall_cmds
   22291 
   22292 # Commands used to finish a libtool library installation in a directory.
   22293 finish_cmds=$lt_finish_cmds
   22294 
   22295 # As "finish_cmds", except a single script fragment to be evaled but
   22296 # not shown.
   22297 finish_eval=$lt_finish_eval
   22298 
   22299 # Whether we should hardcode library paths into libraries.
   22300 hardcode_into_libs=$hardcode_into_libs
   22301 
   22302 # Compile-time system search path for libraries.
   22303 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22304 
   22305 # Detected run-time system search path for libraries.
   22306 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22307 
   22308 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22309 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22310 
   22311 # Whether dlopen is supported.
   22312 dlopen_support=$enable_dlopen
   22313 
   22314 # Whether dlopen of programs is supported.
   22315 dlopen_self=$enable_dlopen_self
   22316 
   22317 # Whether dlopen of statically linked programs is supported.
   22318 dlopen_self_static=$enable_dlopen_self_static
   22319 
   22320 # Commands to strip libraries.
   22321 old_striplib=$lt_old_striplib
   22322 striplib=$lt_striplib
   22323 
   22324 
   22325 # The linker used to build libraries.
   22326 LD=$lt_LD
   22327 
   22328 # How to create reloadable object files.
   22329 reload_flag=$lt_reload_flag
   22330 reload_cmds=$lt_reload_cmds
   22331 
   22332 # Commands used to build an old-style archive.
   22333 old_archive_cmds=$lt_old_archive_cmds
   22334 
   22335 # A language specific compiler.
   22336 CC=$lt_compiler
   22337 
   22338 # Is the compiler the GNU compiler?
   22339 with_gcc=$GCC
   22340 
   22341 # Compiler flag to turn off builtin functions.
   22342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22343 
   22344 # Additional compiler flags for building library objects.
   22345 pic_flag=$lt_lt_prog_compiler_pic
   22346 
   22347 # How to pass a linker flag through the compiler.
   22348 wl=$lt_lt_prog_compiler_wl
   22349 
   22350 # Compiler flag to prevent dynamic linking.
   22351 link_static_flag=$lt_lt_prog_compiler_static
   22352 
   22353 # Does compiler simultaneously support -c and -o options?
   22354 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22355 
   22356 # Whether or not to add -lc for building shared libraries.
   22357 build_libtool_need_lc=$archive_cmds_need_lc
   22358 
   22359 # Whether or not to disallow shared libs when runtime libs are static.
   22360 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22361 
   22362 # Compiler flag to allow reflexive dlopens.
   22363 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22364 
   22365 # Compiler flag to generate shared objects directly from archives.
   22366 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22367 
   22368 # Whether the compiler copes with passing no objects directly.
   22369 compiler_needs_object=$lt_compiler_needs_object
   22370 
   22371 # Create an old-style archive from a shared archive.
   22372 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22373 
   22374 # Create a temporary old-style archive to link instead of a shared archive.
   22375 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22376 
   22377 # Commands used to build a shared archive.
   22378 archive_cmds=$lt_archive_cmds
   22379 archive_expsym_cmds=$lt_archive_expsym_cmds
   22380 
   22381 # Commands used to build a loadable module if different from building
   22382 # a shared archive.
   22383 module_cmds=$lt_module_cmds
   22384 module_expsym_cmds=$lt_module_expsym_cmds
   22385 
   22386 # Whether we are building with GNU ld or not.
   22387 with_gnu_ld=$lt_with_gnu_ld
   22388 
   22389 # Flag that allows shared libraries with undefined symbols to be built.
   22390 allow_undefined_flag=$lt_allow_undefined_flag
   22391 
   22392 # Flag that enforces no undefined symbols.
   22393 no_undefined_flag=$lt_no_undefined_flag
   22394 
   22395 # Flag to hardcode \$libdir into a binary during linking.
   22396 # This must work even if \$libdir does not exist
   22397 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22398 
   22399 # Whether we need a single "-rpath" flag with a separated argument.
   22400 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22401 
   22402 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22403 # DIR into the resulting binary.
   22404 hardcode_direct=$hardcode_direct
   22405 
   22406 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22407 # DIR into the resulting binary and the resulting library dependency is
   22408 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22409 # library is relocated.
   22410 hardcode_direct_absolute=$hardcode_direct_absolute
   22411 
   22412 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22413 # into the resulting binary.
   22414 hardcode_minus_L=$hardcode_minus_L
   22415 
   22416 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22417 # into the resulting binary.
   22418 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22419 
   22420 # Set to "yes" if building a shared library automatically hardcodes DIR
   22421 # into the library and all subsequent libraries and executables linked
   22422 # against it.
   22423 hardcode_automatic=$hardcode_automatic
   22424 
   22425 # Set to yes if linker adds runtime paths of dependent libraries
   22426 # to runtime path list.
   22427 inherit_rpath=$inherit_rpath
   22428 
   22429 # Whether libtool must link a program against all its dependency libraries.
   22430 link_all_deplibs=$link_all_deplibs
   22431 
   22432 # Set to "yes" if exported symbols are required.
   22433 always_export_symbols=$always_export_symbols
   22434 
   22435 # The commands to list exported symbols.
   22436 export_symbols_cmds=$lt_export_symbols_cmds
   22437 
   22438 # Symbols that should not be listed in the preloaded symbols.
   22439 exclude_expsyms=$lt_exclude_expsyms
   22440 
   22441 # Symbols that must always be exported.
   22442 include_expsyms=$lt_include_expsyms
   22443 
   22444 # Commands necessary for linking programs (against libraries) with templates.
   22445 prelink_cmds=$lt_prelink_cmds
   22446 
   22447 # Commands necessary for finishing linking programs.
   22448 postlink_cmds=$lt_postlink_cmds
   22449 
   22450 # Specify filename containing input files.
   22451 file_list_spec=$lt_file_list_spec
   22452 
   22453 # How to hardcode a shared library path into an executable.
   22454 hardcode_action=$hardcode_action
   22455 
   22456 # The directories searched by this compiler when creating a shared library.
   22457 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   22458 
   22459 # Dependencies to place before and after the objects being linked to
   22460 # create a shared library.
   22461 predep_objects=$lt_predep_objects
   22462 postdep_objects=$lt_postdep_objects
   22463 predeps=$lt_predeps
   22464 postdeps=$lt_postdeps
   22465 
   22466 # The library search path used internally by the compiler when linking
   22467 # a shared library.
   22468 compiler_lib_search_path=$lt_compiler_lib_search_path
   22469 
   22470 # ### END LIBTOOL CONFIG
   22471 
   22472 _LT_EOF
   22473 
   22474     cat <<'_LT_EOF' >> "$cfgfile"
   22475 
   22476 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22477 
   22478 # func_munge_path_list VARIABLE PATH
   22479 # -----------------------------------
   22480 # VARIABLE is name of variable containing _space_ separated list of
   22481 # directories to be munged by the contents of PATH, which is string
   22482 # having a format:
   22483 # "DIR[:DIR]:"
   22484 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22485 # ":DIR[:DIR]"
   22486 #       string "DIR[ DIR]" will be appended to VARIABLE
   22487 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22488 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22489 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22490 # "DIR[:DIR]"
   22491 #       VARIABLE will be replaced by "DIR[ DIR]"
   22492 func_munge_path_list ()
   22493 {
   22494     case x$2 in
   22495     x)
   22496         ;;
   22497     *:)
   22498         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22499         ;;
   22500     x:*)
   22501         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22502         ;;
   22503     *::*)
   22504         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22505         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22506         ;;
   22507     *)
   22508         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22509         ;;
   22510     esac
   22511 }
   22512 
   22513 
   22514 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22515 func_cc_basename ()
   22516 {
   22517     for cc_temp in $*""; do
   22518       case $cc_temp in
   22519         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22520         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22521         \-*) ;;
   22522         *) break;;
   22523       esac
   22524     done
   22525     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22526 }
   22527 
   22528 
   22529 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22530 
   22531 _LT_EOF
   22532 
   22533   case $host_os in
   22534   aix3*)
   22535     cat <<\_LT_EOF >> "$cfgfile"
   22536 # AIX sometimes has problems with the GCC collect2 program.  For some
   22537 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22538 # vanish in a puff of smoke.
   22539 if test set != "${COLLECT_NAMES+set}"; then
   22540   COLLECT_NAMES=
   22541   export COLLECT_NAMES
   22542 fi
   22543 _LT_EOF
   22544     ;;
   22545   esac
   22546 
   22547 
   22548 ltmain=$ac_aux_dir/ltmain.sh
   22549 
   22550 
   22551   # We use sed instead of cat because bash on DJGPP gets confused if
   22552   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22553   # text mode, it properly converts lines to CR/LF.  This bash problem
   22554   # is reportedly fixed, but why not run on old versions too?
   22555   sed '$q' "$ltmain" >> "$cfgfile" \
   22556      || (rm -f "$cfgfile"; exit 1)
   22557 
   22558    mv -f "$cfgfile" "$ofile" ||
   22559     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22560   chmod +x "$ofile"
   22561 
   22562 
   22563     cat <<_LT_EOF >> "$ofile"
   22564 
   22565 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   22566 
   22567 # The linker used to build libraries.
   22568 LD=$lt_LD_CXX
   22569 
   22570 # How to create reloadable object files.
   22571 reload_flag=$lt_reload_flag_CXX
   22572 reload_cmds=$lt_reload_cmds_CXX
   22573 
   22574 # Commands used to build an old-style archive.
   22575 old_archive_cmds=$lt_old_archive_cmds_CXX
   22576 
   22577 # A language specific compiler.
   22578 CC=$lt_compiler_CXX
   22579 
   22580 # Is the compiler the GNU compiler?
   22581 with_gcc=$GCC_CXX
   22582 
   22583 # Compiler flag to turn off builtin functions.
   22584 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   22585 
   22586 # Additional compiler flags for building library objects.
   22587 pic_flag=$lt_lt_prog_compiler_pic_CXX
   22588 
   22589 # How to pass a linker flag through the compiler.
   22590 wl=$lt_lt_prog_compiler_wl_CXX
   22591 
   22592 # Compiler flag to prevent dynamic linking.
   22593 link_static_flag=$lt_lt_prog_compiler_static_CXX
   22594 
   22595 # Does compiler simultaneously support -c and -o options?
   22596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   22597 
   22598 # Whether or not to add -lc for building shared libraries.
   22599 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   22600 
   22601 # Whether or not to disallow shared libs when runtime libs are static.
   22602 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   22603 
   22604 # Compiler flag to allow reflexive dlopens.
   22605 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   22606 
   22607 # Compiler flag to generate shared objects directly from archives.
   22608 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   22609 
   22610 # Whether the compiler copes with passing no objects directly.
   22611 compiler_needs_object=$lt_compiler_needs_object_CXX
   22612 
   22613 # Create an old-style archive from a shared archive.
   22614 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   22615 
   22616 # Create a temporary old-style archive to link instead of a shared archive.
   22617 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   22618 
   22619 # Commands used to build a shared archive.
   22620 archive_cmds=$lt_archive_cmds_CXX
   22621 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   22622 
   22623 # Commands used to build a loadable module if different from building
   22624 # a shared archive.
   22625 module_cmds=$lt_module_cmds_CXX
   22626 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   22627 
   22628 # Whether we are building with GNU ld or not.
   22629 with_gnu_ld=$lt_with_gnu_ld_CXX
   22630 
   22631 # Flag that allows shared libraries with undefined symbols to be built.
   22632 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   22633 
   22634 # Flag that enforces no undefined symbols.
   22635 no_undefined_flag=$lt_no_undefined_flag_CXX
   22636 
   22637 # Flag to hardcode \$libdir into a binary during linking.
   22638 # This must work even if \$libdir does not exist
   22639 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   22640 
   22641 # Whether we need a single "-rpath" flag with a separated argument.
   22642 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   22643 
   22644 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22645 # DIR into the resulting binary.
   22646 hardcode_direct=$hardcode_direct_CXX
   22647 
   22648 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22649 # DIR into the resulting binary and the resulting library dependency is
   22650 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22651 # library is relocated.
   22652 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   22653 
   22654 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22655 # into the resulting binary.
   22656 hardcode_minus_L=$hardcode_minus_L_CXX
   22657 
   22658 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22659 # into the resulting binary.
   22660 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   22661 
   22662 # Set to "yes" if building a shared library automatically hardcodes DIR
   22663 # into the library and all subsequent libraries and executables linked
   22664 # against it.
   22665 hardcode_automatic=$hardcode_automatic_CXX
   22666 
   22667 # Set to yes if linker adds runtime paths of dependent libraries
   22668 # to runtime path list.
   22669 inherit_rpath=$inherit_rpath_CXX
   22670 
   22671 # Whether libtool must link a program against all its dependency libraries.
   22672 link_all_deplibs=$link_all_deplibs_CXX
   22673 
   22674 # Set to "yes" if exported symbols are required.
   22675 always_export_symbols=$always_export_symbols_CXX
   22676 
   22677 # The commands to list exported symbols.
   22678 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   22679 
   22680 # Symbols that should not be listed in the preloaded symbols.
   22681 exclude_expsyms=$lt_exclude_expsyms_CXX
   22682 
   22683 # Symbols that must always be exported.
   22684 include_expsyms=$lt_include_expsyms_CXX
   22685 
   22686 # Commands necessary for linking programs (against libraries) with templates.
   22687 prelink_cmds=$lt_prelink_cmds_CXX
   22688 
   22689 # Commands necessary for finishing linking programs.
   22690 postlink_cmds=$lt_postlink_cmds_CXX
   22691 
   22692 # Specify filename containing input files.
   22693 file_list_spec=$lt_file_list_spec_CXX
   22694 
   22695 # How to hardcode a shared library path into an executable.
   22696 hardcode_action=$hardcode_action_CXX
   22697 
   22698 # The directories searched by this compiler when creating a shared library.
   22699 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   22700 
   22701 # Dependencies to place before and after the objects being linked to
   22702 # create a shared library.
   22703 predep_objects=$lt_predep_objects_CXX
   22704 postdep_objects=$lt_postdep_objects_CXX
   22705 predeps=$lt_predeps_CXX
   22706 postdeps=$lt_postdeps_CXX
   22707 
   22708 # The library search path used internally by the compiler when linking
   22709 # a shared library.
   22710 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   22711 
   22712 # ### END LIBTOOL TAG CONFIG: CXX
   22713 _LT_EOF
   22714 
   22715  ;;
   22716     "script-chmod":C) chmod a+x pcre-config ;;
   22717     "delete-old-chartables":C) rm -f pcre_chartables.c ;;
   22718 
   22719   esac
   22720 done # for ac_tag
   22721 
   22722 
   22723 as_fn_exit 0
   22724 _ACEOF
   22725 ac_clean_files=$ac_clean_files_save
   22726 
   22727 test $ac_write_fail = 0 ||
   22728   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22729 
   22730 
   22731 # configure is writing to config.log, and then calls config.status.
   22732 # config.status does its own redirection, appending to config.log.
   22733 # Unfortunately, on DOS this fails, as config.log is still kept open
   22734 # by configure, so config.status won't be able to write to it; its
   22735 # output is simply discarded.  So we exec the FD to /dev/null,
   22736 # effectively closing config.log, so it can be properly (re)opened and
   22737 # appended to by config.status.  When coming back to configure, we
   22738 # need to make the FD available again.
   22739 if test "$no_create" != yes; then
   22740   ac_cs_success=:
   22741   ac_config_status_args=
   22742   test "$silent" = yes &&
   22743     ac_config_status_args="$ac_config_status_args --quiet"
   22744   exec 5>/dev/null
   22745   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22746   exec 5>>config.log
   22747   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22748   # would make configure fail if this is the last instruction.
   22749   $ac_cs_success || as_fn_exit 1
   22750 fi
   22751 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22752   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22753 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22754 fi
   22755 
   22756 
   22757 # Print out a nice little message after configure is run displaying the
   22758 # chosen options.
   22759 
   22760 ebcdic_nl_code=n/a
   22761 if test "$enable_ebcdic_nl25" = "yes"; then
   22762   ebcdic_nl_code=0x25
   22763 elif test "$enable_ebcdic" = "yes"; then
   22764   ebcdic_nl_code=0x15
   22765 fi
   22766 
   22767 cat <<EOF
   22768 
   22769 $PACKAGE-$VERSION configuration summary:
   22770 
   22771     Install prefix .................. : ${prefix}
   22772     C preprocessor .................. : ${CPP}
   22773     C compiler ...................... : ${CC}
   22774     C++ preprocessor ................ : ${CXXCPP}
   22775     C++ compiler .................... : ${CXX}
   22776     Linker .......................... : ${LD}
   22777     C preprocessor flags ............ : ${CPPFLAGS}
   22778     C compiler flags ................ : ${CFLAGS} ${VISIBILITY_CFLAGS}
   22779     C++ compiler flags .............. : ${CXXFLAGS} ${VISIBILITY_CXXFLAGS}
   22780     Linker flags .................... : ${LDFLAGS}
   22781     Extra libraries ................. : ${LIBS}
   22782 
   22783     Build 8 bit pcre library ........ : ${enable_pcre8}
   22784     Build 16 bit pcre library ....... : ${enable_pcre16}
   22785     Build 32 bit pcre library ....... : ${enable_pcre32}
   22786     Build C++ library ............... : ${enable_cpp}
   22787     Enable JIT compiling support .... : ${enable_jit}
   22788     Enable UTF-8/16/32 support ...... : ${enable_utf}
   22789     Unicode properties .............. : ${enable_unicode_properties}
   22790     Newline char/sequence ........... : ${enable_newline}
   22791     \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
   22792     EBCDIC coding ................... : ${enable_ebcdic}
   22793     EBCDIC code for NL .............. : ${ebcdic_nl_code}
   22794     Rebuild char tables ............. : ${enable_rebuild_chartables}
   22795     Use stack recursion ............. : ${enable_stack_for_recursion}
   22796     POSIX mem threshold ............. : ${with_posix_malloc_threshold}
   22797     Internal link size .............. : ${with_link_size}
   22798     Nested parentheses limit ........ : ${with_parens_nest_limit}
   22799     Match limit ..................... : ${with_match_limit}
   22800     Match limit recursion ........... : ${with_match_limit_recursion}
   22801     Build shared libs ............... : ${enable_shared}
   22802     Build static libs ............... : ${enable_static}
   22803     Use JIT in pcregrep ............. : ${enable_pcregrep_jit}
   22804     Buffer size for pcregrep ........ : ${with_pcregrep_bufsize}
   22805     Link pcregrep with libz ......... : ${enable_pcregrep_libz}
   22806     Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
   22807     Link pcretest with libedit ...... : ${enable_pcretest_libedit}
   22808     Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
   22809     Valgrind support ................ : ${enable_valgrind}
   22810     Code coverage ................... : ${enable_coverage}
   22811 
   22812 EOF
   22813 
   22814