Home | History | Annotate | Download | only in dist2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for PCRE2 10.22.
      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='PCRE2'
    589 PACKAGE_TARNAME='pcre2'
    590 PACKAGE_VERSION='10.22'
    591 PACKAGE_STRING='PCRE2 10.22'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="src/pcre2.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_LIBPCRE2_POSIX_LDFLAGS
    653 EXTRA_LIBPCRE2_32_LDFLAGS
    654 EXTRA_LIBPCRE2_16_LDFLAGS
    655 EXTRA_LIBPCRE2_8_LDFLAGS
    656 PTHREAD_CFLAGS
    657 PTHREAD_LIBS
    658 PTHREAD_CC
    659 ax_pthread_config
    660 PCRE2_STATIC_CFLAG
    661 LIBREADLINE
    662 WITH_VALGRIND_FALSE
    663 WITH_VALGRIND_TRUE
    664 WITH_UNICODE_FALSE
    665 WITH_UNICODE_TRUE
    666 WITH_JIT_FALSE
    667 WITH_JIT_TRUE
    668 WITH_REBUILD_CHARTABLES_FALSE
    669 WITH_REBUILD_CHARTABLES_TRUE
    670 WITH_DEBUG_FALSE
    671 WITH_DEBUG_TRUE
    672 WITH_PCRE2_32_FALSE
    673 WITH_PCRE2_32_TRUE
    674 WITH_PCRE2_16_FALSE
    675 WITH_PCRE2_16_TRUE
    676 WITH_PCRE2_8_FALSE
    677 WITH_PCRE2_8_TRUE
    678 enable_pcre2_32
    679 enable_pcre2_16
    680 enable_pcre2_8
    681 PCRE2_DATE
    682 PCRE2_PRERELEASE
    683 PCRE2_MINOR
    684 PCRE2_MAJOR
    685 HAVE_VISIBILITY
    686 VISIBILITY_CXXFLAGS
    687 VISIBILITY_CFLAGS
    688 LT_SYS_LIBRARY_PATH
    689 OTOOL64
    690 OTOOL
    691 LIPO
    692 NMEDIT
    693 DSYMUTIL
    694 MANIFEST_TOOL
    695 RANLIB
    696 LN_S
    697 NM
    698 ac_ct_DUMPBIN
    699 DUMPBIN
    700 LD
    701 FGREP
    702 SED
    703 LIBTOOL
    704 OBJDUMP
    705 DLLTOOL
    706 AS
    707 host_os
    708 host_vendor
    709 host_cpu
    710 host
    711 build_os
    712 build_vendor
    713 build_cpu
    714 build
    715 EGREP
    716 GREP
    717 CPP
    718 am__fastdepCC_FALSE
    719 am__fastdepCC_TRUE
    720 CCDEPMODE
    721 am__nodep
    722 AMDEPBACKSLASH
    723 AMDEP_FALSE
    724 AMDEP_TRUE
    725 am__quote
    726 am__include
    727 DEPDIR
    728 OBJEXT
    729 EXEEXT
    730 ac_ct_CC
    731 CPPFLAGS
    732 LDFLAGS
    733 CFLAGS
    734 CC
    735 ac_ct_AR
    736 AR
    737 AM_BACKSLASH
    738 AM_DEFAULT_VERBOSITY
    739 AM_DEFAULT_V
    740 AM_V
    741 am__untar
    742 am__tar
    743 AMTAR
    744 am__leading_dot
    745 SET_MAKE
    746 AWK
    747 mkdir_p
    748 MKDIR_P
    749 INSTALL_STRIP_PROGRAM
    750 STRIP
    751 install_sh
    752 MAKEINFO
    753 AUTOHEADER
    754 AUTOMAKE
    755 AUTOCONF
    756 ACLOCAL
    757 VERSION
    758 PACKAGE
    759 CYGPATH_W
    760 am__isrc
    761 INSTALL_DATA
    762 INSTALL_SCRIPT
    763 INSTALL_PROGRAM
    764 target_alias
    765 host_alias
    766 build_alias
    767 LIBS
    768 ECHO_T
    769 ECHO_N
    770 ECHO_C
    771 DEFS
    772 mandir
    773 localedir
    774 libdir
    775 psdir
    776 pdfdir
    777 dvidir
    778 htmldir
    779 infodir
    780 docdir
    781 oldincludedir
    782 includedir
    783 localstatedir
    784 sharedstatedir
    785 sysconfdir
    786 datadir
    787 datarootdir
    788 libexecdir
    789 sbindir
    790 bindir
    791 program_transform_name
    792 prefix
    793 exec_prefix
    794 PACKAGE_URL
    795 PACKAGE_BUGREPORT
    796 PACKAGE_STRING
    797 PACKAGE_VERSION
    798 PACKAGE_TARNAME
    799 PACKAGE_NAME
    800 PATH_SEPARATOR
    801 SHELL'
    802 ac_subst_files=''
    803 ac_user_opts='
    804 enable_option_checking
    805 enable_silent_rules
    806 enable_dependency_tracking
    807 enable_shared
    808 enable_static
    809 with_pic
    810 enable_fast_install
    811 with_aix_soname
    812 with_gnu_ld
    813 with_sysroot
    814 enable_libtool_lock
    815 enable_pcre8
    816 enable_pcre16
    817 enable_pcre32
    818 enable_pcre2_8
    819 enable_pcre2_16
    820 enable_pcre2_32
    821 enable_debug
    822 enable_jit
    823 enable_pcre2grep_jit
    824 enable_pcre2grep_callout
    825 enable_rebuild_chartables
    826 enable_unicode
    827 enable_newline_is_cr
    828 enable_newline_is_lf
    829 enable_newline_is_crlf
    830 enable_newline_is_anycrlf
    831 enable_newline_is_any
    832 enable_bsr_anycrlf
    833 enable_never_backslash_C
    834 enable_ebcdic
    835 enable_ebcdic_nl25
    836 enable_stack_for_recursion
    837 enable_pcre2grep_libz
    838 enable_pcre2grep_libbz2
    839 with_pcre2grep_bufsize
    840 enable_pcre2test_libedit
    841 enable_pcre2test_libreadline
    842 with_link_size
    843 with_parens_nest_limit
    844 with_match_limit
    845 with_match_limit_recursion
    846 enable_valgrind
    847 enable_coverage
    848 '
    849       ac_precious_vars='build_alias
    850 host_alias
    851 target_alias
    852 CC
    853 CFLAGS
    854 LDFLAGS
    855 LIBS
    856 CPPFLAGS
    857 CPP
    858 LT_SYS_LIBRARY_PATH
    859 PKG_CONFIG
    860 PKG_CONFIG_PATH
    861 PKG_CONFIG_LIBDIR
    862 VALGRIND_CFLAGS
    863 VALGRIND_LIBS
    864 LCOV
    865 GENHTML'
    866 
    867 
    868 # Initialize some variables set by options.
    869 ac_init_help=
    870 ac_init_version=false
    871 ac_unrecognized_opts=
    872 ac_unrecognized_sep=
    873 # The variables have the same names as the options, with
    874 # dashes changed to underlines.
    875 cache_file=/dev/null
    876 exec_prefix=NONE
    877 no_create=
    878 no_recursion=
    879 prefix=NONE
    880 program_prefix=NONE
    881 program_suffix=NONE
    882 program_transform_name=s,x,x,
    883 silent=
    884 site=
    885 srcdir=
    886 verbose=
    887 x_includes=NONE
    888 x_libraries=NONE
    889 
    890 # Installation directory options.
    891 # These are left unexpanded so users can "make install exec_prefix=/foo"
    892 # and all the variables that are supposed to be based on exec_prefix
    893 # by default will actually change.
    894 # Use braces instead of parens because sh, perl, etc. also accept them.
    895 # (The list follows the same order as the GNU Coding Standards.)
    896 bindir='${exec_prefix}/bin'
    897 sbindir='${exec_prefix}/sbin'
    898 libexecdir='${exec_prefix}/libexec'
    899 datarootdir='${prefix}/share'
    900 datadir='${datarootdir}'
    901 sysconfdir='${prefix}/etc'
    902 sharedstatedir='${prefix}/com'
    903 localstatedir='${prefix}/var'
    904 includedir='${prefix}/include'
    905 oldincludedir='/usr/include'
    906 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    907 infodir='${datarootdir}/info'
    908 htmldir='${docdir}'
    909 dvidir='${docdir}'
    910 pdfdir='${docdir}'
    911 psdir='${docdir}'
    912 libdir='${exec_prefix}/lib'
    913 localedir='${datarootdir}/locale'
    914 mandir='${datarootdir}/man'
    915 
    916 ac_prev=
    917 ac_dashdash=
    918 for ac_option
    919 do
    920   # If the previous option needs an argument, assign it.
    921   if test -n "$ac_prev"; then
    922     eval $ac_prev=\$ac_option
    923     ac_prev=
    924     continue
    925   fi
    926 
    927   case $ac_option in
    928   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    929   *=)   ac_optarg= ;;
    930   *)    ac_optarg=yes ;;
    931   esac
    932 
    933   # Accept the important Cygnus configure options, so we can diagnose typos.
    934 
    935   case $ac_dashdash$ac_option in
    936   --)
    937     ac_dashdash=yes ;;
    938 
    939   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    940     ac_prev=bindir ;;
    941   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    942     bindir=$ac_optarg ;;
    943 
    944   -build | --build | --buil | --bui | --bu)
    945     ac_prev=build_alias ;;
    946   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    947     build_alias=$ac_optarg ;;
    948 
    949   -cache-file | --cache-file | --cache-fil | --cache-fi \
    950   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    951     ac_prev=cache_file ;;
    952   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    953   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    954     cache_file=$ac_optarg ;;
    955 
    956   --config-cache | -C)
    957     cache_file=config.cache ;;
    958 
    959   -datadir | --datadir | --datadi | --datad)
    960     ac_prev=datadir ;;
    961   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    962     datadir=$ac_optarg ;;
    963 
    964   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    965   | --dataroo | --dataro | --datar)
    966     ac_prev=datarootdir ;;
    967   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    968   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    969     datarootdir=$ac_optarg ;;
    970 
    971   -disable-* | --disable-*)
    972     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    973     # Reject names that are not valid shell variable names.
    974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    975       as_fn_error $? "invalid feature name: $ac_useropt"
    976     ac_useropt_orig=$ac_useropt
    977     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    978     case $ac_user_opts in
    979       *"
    980 "enable_$ac_useropt"
    981 "*) ;;
    982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    983 	 ac_unrecognized_sep=', ';;
    984     esac
    985     eval enable_$ac_useropt=no ;;
    986 
    987   -docdir | --docdir | --docdi | --doc | --do)
    988     ac_prev=docdir ;;
    989   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    990     docdir=$ac_optarg ;;
    991 
    992   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    993     ac_prev=dvidir ;;
    994   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    995     dvidir=$ac_optarg ;;
    996 
    997   -enable-* | --enable-*)
    998     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    999     # Reject names that are not valid shell variable names.
   1000     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1001       as_fn_error $? "invalid feature name: $ac_useropt"
   1002     ac_useropt_orig=$ac_useropt
   1003     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1004     case $ac_user_opts in
   1005       *"
   1006 "enable_$ac_useropt"
   1007 "*) ;;
   1008       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1009 	 ac_unrecognized_sep=', ';;
   1010     esac
   1011     eval enable_$ac_useropt=\$ac_optarg ;;
   1012 
   1013   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1014   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1015   | --exec | --exe | --ex)
   1016     ac_prev=exec_prefix ;;
   1017   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1018   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1019   | --exec=* | --exe=* | --ex=*)
   1020     exec_prefix=$ac_optarg ;;
   1021 
   1022   -gas | --gas | --ga | --g)
   1023     # Obsolete; use --with-gas.
   1024     with_gas=yes ;;
   1025 
   1026   -help | --help | --hel | --he | -h)
   1027     ac_init_help=long ;;
   1028   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1029     ac_init_help=recursive ;;
   1030   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1031     ac_init_help=short ;;
   1032 
   1033   -host | --host | --hos | --ho)
   1034     ac_prev=host_alias ;;
   1035   -host=* | --host=* | --hos=* | --ho=*)
   1036     host_alias=$ac_optarg ;;
   1037 
   1038   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1039     ac_prev=htmldir ;;
   1040   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1041   | --ht=*)
   1042     htmldir=$ac_optarg ;;
   1043 
   1044   -includedir | --includedir | --includedi | --included | --include \
   1045   | --includ | --inclu | --incl | --inc)
   1046     ac_prev=includedir ;;
   1047   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1048   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1049     includedir=$ac_optarg ;;
   1050 
   1051   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1052     ac_prev=infodir ;;
   1053   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1054     infodir=$ac_optarg ;;
   1055 
   1056   -libdir | --libdir | --libdi | --libd)
   1057     ac_prev=libdir ;;
   1058   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1059     libdir=$ac_optarg ;;
   1060 
   1061   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1062   | --libexe | --libex | --libe)
   1063     ac_prev=libexecdir ;;
   1064   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1065   | --libexe=* | --libex=* | --libe=*)
   1066     libexecdir=$ac_optarg ;;
   1067 
   1068   -localedir | --localedir | --localedi | --localed | --locale)
   1069     ac_prev=localedir ;;
   1070   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1071     localedir=$ac_optarg ;;
   1072 
   1073   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1074   | --localstate | --localstat | --localsta | --localst | --locals)
   1075     ac_prev=localstatedir ;;
   1076   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1077   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1078     localstatedir=$ac_optarg ;;
   1079 
   1080   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1081     ac_prev=mandir ;;
   1082   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1083     mandir=$ac_optarg ;;
   1084 
   1085   -nfp | --nfp | --nf)
   1086     # Obsolete; use --without-fp.
   1087     with_fp=no ;;
   1088 
   1089   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1090   | --no-cr | --no-c | -n)
   1091     no_create=yes ;;
   1092 
   1093   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1094   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1095     no_recursion=yes ;;
   1096 
   1097   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1098   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1099   | --oldin | --oldi | --old | --ol | --o)
   1100     ac_prev=oldincludedir ;;
   1101   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1102   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1103   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1104     oldincludedir=$ac_optarg ;;
   1105 
   1106   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1107     ac_prev=prefix ;;
   1108   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1109     prefix=$ac_optarg ;;
   1110 
   1111   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1112   | --program-pre | --program-pr | --program-p)
   1113     ac_prev=program_prefix ;;
   1114   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1115   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1116     program_prefix=$ac_optarg ;;
   1117 
   1118   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1119   | --program-suf | --program-su | --program-s)
   1120     ac_prev=program_suffix ;;
   1121   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1122   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1123     program_suffix=$ac_optarg ;;
   1124 
   1125   -program-transform-name | --program-transform-name \
   1126   | --program-transform-nam | --program-transform-na \
   1127   | --program-transform-n | --program-transform- \
   1128   | --program-transform | --program-transfor \
   1129   | --program-transfo | --program-transf \
   1130   | --program-trans | --program-tran \
   1131   | --progr-tra | --program-tr | --program-t)
   1132     ac_prev=program_transform_name ;;
   1133   -program-transform-name=* | --program-transform-name=* \
   1134   | --program-transform-nam=* | --program-transform-na=* \
   1135   | --program-transform-n=* | --program-transform-=* \
   1136   | --program-transform=* | --program-transfor=* \
   1137   | --program-transfo=* | --program-transf=* \
   1138   | --program-trans=* | --program-tran=* \
   1139   | --progr-tra=* | --program-tr=* | --program-t=*)
   1140     program_transform_name=$ac_optarg ;;
   1141 
   1142   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1143     ac_prev=pdfdir ;;
   1144   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1145     pdfdir=$ac_optarg ;;
   1146 
   1147   -psdir | --psdir | --psdi | --psd | --ps)
   1148     ac_prev=psdir ;;
   1149   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1150     psdir=$ac_optarg ;;
   1151 
   1152   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1153   | -silent | --silent | --silen | --sile | --sil)
   1154     silent=yes ;;
   1155 
   1156   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1157     ac_prev=sbindir ;;
   1158   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1159   | --sbi=* | --sb=*)
   1160     sbindir=$ac_optarg ;;
   1161 
   1162   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1163   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1164   | --sharedst | --shareds | --shared | --share | --shar \
   1165   | --sha | --sh)
   1166     ac_prev=sharedstatedir ;;
   1167   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1168   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1169   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1170   | --sha=* | --sh=*)
   1171     sharedstatedir=$ac_optarg ;;
   1172 
   1173   -site | --site | --sit)
   1174     ac_prev=site ;;
   1175   -site=* | --site=* | --sit=*)
   1176     site=$ac_optarg ;;
   1177 
   1178   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1179     ac_prev=srcdir ;;
   1180   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1181     srcdir=$ac_optarg ;;
   1182 
   1183   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1184   | --syscon | --sysco | --sysc | --sys | --sy)
   1185     ac_prev=sysconfdir ;;
   1186   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1187   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1188     sysconfdir=$ac_optarg ;;
   1189 
   1190   -target | --target | --targe | --targ | --tar | --ta | --t)
   1191     ac_prev=target_alias ;;
   1192   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1193     target_alias=$ac_optarg ;;
   1194 
   1195   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1196     verbose=yes ;;
   1197 
   1198   -version | --version | --versio | --versi | --vers | -V)
   1199     ac_init_version=: ;;
   1200 
   1201   -with-* | --with-*)
   1202     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1203     # Reject names that are not valid shell variable names.
   1204     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1205       as_fn_error $? "invalid package name: $ac_useropt"
   1206     ac_useropt_orig=$ac_useropt
   1207     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1208     case $ac_user_opts in
   1209       *"
   1210 "with_$ac_useropt"
   1211 "*) ;;
   1212       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1213 	 ac_unrecognized_sep=', ';;
   1214     esac
   1215     eval with_$ac_useropt=\$ac_optarg ;;
   1216 
   1217   -without-* | --without-*)
   1218     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1219     # Reject names that are not valid shell variable names.
   1220     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1221       as_fn_error $? "invalid package name: $ac_useropt"
   1222     ac_useropt_orig=$ac_useropt
   1223     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1224     case $ac_user_opts in
   1225       *"
   1226 "with_$ac_useropt"
   1227 "*) ;;
   1228       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1229 	 ac_unrecognized_sep=', ';;
   1230     esac
   1231     eval with_$ac_useropt=no ;;
   1232 
   1233   --x)
   1234     # Obsolete; use --with-x.
   1235     with_x=yes ;;
   1236 
   1237   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1238   | --x-incl | --x-inc | --x-in | --x-i)
   1239     ac_prev=x_includes ;;
   1240   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1241   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1242     x_includes=$ac_optarg ;;
   1243 
   1244   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1245   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1246     ac_prev=x_libraries ;;
   1247   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1248   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1249     x_libraries=$ac_optarg ;;
   1250 
   1251   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1252 Try \`$0 --help' for more information"
   1253     ;;
   1254 
   1255   *=*)
   1256     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1257     # Reject names that are not valid shell variable names.
   1258     case $ac_envvar in #(
   1259       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1260       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1261     esac
   1262     eval $ac_envvar=\$ac_optarg
   1263     export $ac_envvar ;;
   1264 
   1265   *)
   1266     # FIXME: should be removed in autoconf 3.0.
   1267     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1268     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1269       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1270     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1271     ;;
   1272 
   1273   esac
   1274 done
   1275 
   1276 if test -n "$ac_prev"; then
   1277   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1278   as_fn_error $? "missing argument to $ac_option"
   1279 fi
   1280 
   1281 if test -n "$ac_unrecognized_opts"; then
   1282   case $enable_option_checking in
   1283     no) ;;
   1284     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1285     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1286   esac
   1287 fi
   1288 
   1289 # Check all directory arguments for consistency.
   1290 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1291 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1292 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1293 		libdir localedir mandir
   1294 do
   1295   eval ac_val=\$$ac_var
   1296   # Remove trailing slashes.
   1297   case $ac_val in
   1298     */ )
   1299       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1300       eval $ac_var=\$ac_val;;
   1301   esac
   1302   # Be sure to have absolute directory names.
   1303   case $ac_val in
   1304     [\\/$]* | ?:[\\/]* )  continue;;
   1305     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1306   esac
   1307   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1308 done
   1309 
   1310 # There might be people who depend on the old broken behavior: `$host'
   1311 # used to hold the argument of --host etc.
   1312 # FIXME: To remove some day.
   1313 build=$build_alias
   1314 host=$host_alias
   1315 target=$target_alias
   1316 
   1317 # FIXME: To remove some day.
   1318 if test "x$host_alias" != x; then
   1319   if test "x$build_alias" = x; then
   1320     cross_compiling=maybe
   1321   elif test "x$build_alias" != "x$host_alias"; then
   1322     cross_compiling=yes
   1323   fi
   1324 fi
   1325 
   1326 ac_tool_prefix=
   1327 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1328 
   1329 test "$silent" = yes && exec 6>/dev/null
   1330 
   1331 
   1332 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1333 ac_ls_di=`ls -di .` &&
   1334 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1335   as_fn_error $? "working directory cannot be determined"
   1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1337   as_fn_error $? "pwd does not report name of working directory"
   1338 
   1339 
   1340 # Find the source files, if location was not specified.
   1341 if test -z "$srcdir"; then
   1342   ac_srcdir_defaulted=yes
   1343   # Try the directory containing this script, then the parent directory.
   1344   ac_confdir=`$as_dirname -- "$as_myself" ||
   1345 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1346 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1347 	 X"$as_myself" : 'X\(//\)$' \| \
   1348 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1349 $as_echo X"$as_myself" |
   1350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\/\)[^/].*/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\/\)$/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  /^X\(\/\).*/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  s/.*/./; q'`
   1367   srcdir=$ac_confdir
   1368   if test ! -r "$srcdir/$ac_unique_file"; then
   1369     srcdir=..
   1370   fi
   1371 else
   1372   ac_srcdir_defaulted=no
   1373 fi
   1374 if test ! -r "$srcdir/$ac_unique_file"; then
   1375   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1376   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1377 fi
   1378 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1379 ac_abs_confdir=`(
   1380 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1381 	pwd)`
   1382 # When building in place, set srcdir=.
   1383 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1384   srcdir=.
   1385 fi
   1386 # Remove unnecessary trailing slashes from srcdir.
   1387 # Double slashes in file names in object file debugging info
   1388 # mess up M-x gdb in Emacs.
   1389 case $srcdir in
   1390 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1391 esac
   1392 for ac_var in $ac_precious_vars; do
   1393   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1394   eval ac_env_${ac_var}_value=\$${ac_var}
   1395   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1396   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1397 done
   1398 
   1399 #
   1400 # Report the --help message.
   1401 #
   1402 if test "$ac_init_help" = "long"; then
   1403   # Omit some internal or obsolete options to make the list less imposing.
   1404   # This message is too long to be a string in the A/UX 3.1 sh.
   1405   cat <<_ACEOF
   1406 \`configure' configures PCRE2 10.22 to adapt to many kinds of systems.
   1407 
   1408 Usage: $0 [OPTION]... [VAR=VALUE]...
   1409 
   1410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1411 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1412 
   1413 Defaults for the options are specified in brackets.
   1414 
   1415 Configuration:
   1416   -h, --help              display this help and exit
   1417       --help=short        display options specific to this package
   1418       --help=recursive    display the short help of all the included packages
   1419   -V, --version           display version information and exit
   1420   -q, --quiet, --silent   do not print \`checking ...' messages
   1421       --cache-file=FILE   cache test results in FILE [disabled]
   1422   -C, --config-cache      alias for \`--cache-file=config.cache'
   1423   -n, --no-create         do not create output files
   1424       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1425 
   1426 Installation directories:
   1427   --prefix=PREFIX         install architecture-independent files in PREFIX
   1428                           [$ac_default_prefix]
   1429   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1430                           [PREFIX]
   1431 
   1432 By default, \`make install' will install all the files in
   1433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1435 for instance \`--prefix=\$HOME'.
   1436 
   1437 For better control, use the options below.
   1438 
   1439 Fine tuning of the installation directories:
   1440   --bindir=DIR            user executables [EPREFIX/bin]
   1441   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1442   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1443   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1444   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1445   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1446   --libdir=DIR            object code libraries [EPREFIX/lib]
   1447   --includedir=DIR        C header files [PREFIX/include]
   1448   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1449   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1450   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1451   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1452   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1453   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1454   --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre2]
   1455   --htmldir=DIR           html documentation [DOCDIR]
   1456   --dvidir=DIR            dvi documentation [DOCDIR]
   1457   --pdfdir=DIR            pdf documentation [DOCDIR]
   1458   --psdir=DIR             ps documentation [DOCDIR]
   1459 _ACEOF
   1460 
   1461   cat <<\_ACEOF
   1462 
   1463 Program names:
   1464   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1465   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1466   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1467 
   1468 System types:
   1469   --build=BUILD     configure for building on BUILD [guessed]
   1470   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1471 _ACEOF
   1472 fi
   1473 
   1474 if test -n "$ac_init_help"; then
   1475   case $ac_init_help in
   1476      short | recursive ) echo "Configuration of PCRE2 10.22:";;
   1477    esac
   1478   cat <<\_ACEOF
   1479 
   1480 Optional Features:
   1481   --disable-option-checking  ignore unrecognized --enable/--with options
   1482   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1483   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1484   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1485   --disable-silent-rules  verbose build output (undo: "make V=0")
   1486   --enable-dependency-tracking
   1487                           do not reject slow dependency extractors
   1488   --disable-dependency-tracking
   1489                           speeds up one-time build
   1490   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1491   --enable-static[=PKGS]  build static libraries [default=yes]
   1492   --enable-fast-install[=PKGS]
   1493                           optimize for fast installation [default=yes]
   1494   --disable-libtool-lock  avoid locking (might break parallel builds)
   1495 
   1496   --disable-pcre2-8       disable 8 bit character support
   1497   --enable-pcre2-16       enable 16 bit character support
   1498   --enable-pcre2-32       enable 32 bit character support
   1499   --enable-debug          enable debugging code
   1500   --enable-jit            enable Just-In-Time compiling support
   1501   --disable-pcre2grep-jit disable JIT support in pcre2grep
   1502   --disable-pcre2grep-callout
   1503                           disable callout script support in pcre2grep
   1504   --enable-rebuild-chartables
   1505                           rebuild character tables in current locale
   1506   --disable-unicode       disable Unicode support
   1507   --enable-newline-is-cr  use CR as newline character
   1508   --enable-newline-is-lf  use LF as newline character (default)
   1509   --enable-newline-is-crlf
   1510                           use CRLF as newline sequence
   1511   --enable-newline-is-anycrlf
   1512                           use CR, LF, or CRLF as newline sequence
   1513   --enable-newline-is-any use any valid Unicode newline sequence
   1514   --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
   1515   --enable-never-backslash-C
   1516                           use of \C causes an error
   1517   --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
   1518                           with --enable-utf; use only in (uncommon) EBCDIC
   1519                           environments; it implies --enable-rebuild-chartables
   1520   --enable-ebcdic-nl25    set EBCDIC code for NL to 0x25 instead of 0x15; it
   1521                           implies --enable-ebcdic
   1522   --disable-stack-for-recursion
   1523                           don't use stack recursion when matching
   1524   --enable-pcre2grep-libz link pcre2grep with libz to handle .gz files
   1525   --enable-pcre2grep-libbz2
   1526                           link pcre2grep with libbz2 to handle .bz2 files
   1527   --enable-pcre2test-libedit
   1528                           link pcre2test with libedit
   1529   --enable-pcre2test-libreadline
   1530                           link pcre2test with libreadline
   1531   --enable-valgrind       valgrind support
   1532   --enable-coverage       enable code coverage reports using gcov
   1533 
   1534 Optional Packages:
   1535   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1536   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1537   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1538                           both]
   1539   --with-aix-soname=aix|svr4|both
   1540                           shared library versioning (aka "SONAME") variant to
   1541                           provide on AIX, [default=aix].
   1542   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1543   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1544                           compiler's sysroot if not specified).
   1545   --with-pcre2grep-bufsize=N
   1546                           pcre2grep buffer size (default=20480, minimum=8192)
   1547   --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
   1548   --with-parens-nest-limit=N
   1549                           nested parentheses limit (default=250)
   1550   --with-match-limit=N    default limit on internal looping (default=10000000)
   1551   --with-match-limit-recursion=N
   1552                           default limit on internal recursion
   1553                           (default=MATCH_LIMIT)
   1554 
   1555 Some influential environment variables:
   1556   CC          C compiler command
   1557   CFLAGS      C compiler flags
   1558   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1559               nonstandard directory <lib dir>
   1560   LIBS        libraries to pass to the linker, e.g. -l<library>
   1561   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1562               you have headers in a nonstandard directory <include dir>
   1563   CPP         C preprocessor
   1564   LT_SYS_LIBRARY_PATH
   1565               User-defined run-time library search path.
   1566   PKG_CONFIG  path to pkg-config utility
   1567   PKG_CONFIG_PATH
   1568               directories to add to pkg-config's search path
   1569   PKG_CONFIG_LIBDIR
   1570               path overriding pkg-config's built-in search path
   1571   VALGRIND_CFLAGS
   1572               C compiler flags for VALGRIND, overriding pkg-config
   1573   VALGRIND_LIBS
   1574               linker flags for VALGRIND, overriding pkg-config
   1575   LCOV        the ltp lcov program
   1576   GENHTML     the ltp genhtml program
   1577 
   1578 Use these variables to override the choices made by `configure' or to help
   1579 it to find libraries and programs with nonstandard names/locations.
   1580 
   1581 Report bugs to the package provider.
   1582 _ACEOF
   1583 ac_status=$?
   1584 fi
   1585 
   1586 if test "$ac_init_help" = "recursive"; then
   1587   # If there are subdirs, report their specific --help.
   1588   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1589     test -d "$ac_dir" ||
   1590       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1591       continue
   1592     ac_builddir=.
   1593 
   1594 case "$ac_dir" in
   1595 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1596 *)
   1597   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1598   # A ".." for each directory in $ac_dir_suffix.
   1599   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1600   case $ac_top_builddir_sub in
   1601   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1602   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1603   esac ;;
   1604 esac
   1605 ac_abs_top_builddir=$ac_pwd
   1606 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1607 # for backward compatibility:
   1608 ac_top_builddir=$ac_top_build_prefix
   1609 
   1610 case $srcdir in
   1611   .)  # We are building in place.
   1612     ac_srcdir=.
   1613     ac_top_srcdir=$ac_top_builddir_sub
   1614     ac_abs_top_srcdir=$ac_pwd ;;
   1615   [\\/]* | ?:[\\/]* )  # Absolute name.
   1616     ac_srcdir=$srcdir$ac_dir_suffix;
   1617     ac_top_srcdir=$srcdir
   1618     ac_abs_top_srcdir=$srcdir ;;
   1619   *) # Relative name.
   1620     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1621     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1622     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1623 esac
   1624 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1625 
   1626     cd "$ac_dir" || { ac_status=$?; continue; }
   1627     # Check for guested configure.
   1628     if test -f "$ac_srcdir/configure.gnu"; then
   1629       echo &&
   1630       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1631     elif test -f "$ac_srcdir/configure"; then
   1632       echo &&
   1633       $SHELL "$ac_srcdir/configure" --help=recursive
   1634     else
   1635       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1636     fi || ac_status=$?
   1637     cd "$ac_pwd" || { ac_status=$?; break; }
   1638   done
   1639 fi
   1640 
   1641 test -n "$ac_init_help" && exit $ac_status
   1642 if $ac_init_version; then
   1643   cat <<\_ACEOF
   1644 PCRE2 configure 10.22
   1645 generated by GNU Autoconf 2.69
   1646 
   1647 Copyright (C) 2012 Free Software Foundation, Inc.
   1648 This configure script is free software; the Free Software Foundation
   1649 gives unlimited permission to copy, distribute and modify it.
   1650 _ACEOF
   1651   exit
   1652 fi
   1653 
   1654 ## ------------------------ ##
   1655 ## Autoconf initialization. ##
   1656 ## ------------------------ ##
   1657 
   1658 # ac_fn_c_try_compile LINENO
   1659 # --------------------------
   1660 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1661 ac_fn_c_try_compile ()
   1662 {
   1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1664   rm -f conftest.$ac_objext
   1665   if { { ac_try="$ac_compile"
   1666 case "(($ac_try" in
   1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1668   *) ac_try_echo=$ac_try;;
   1669 esac
   1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1671 $as_echo "$ac_try_echo"; } >&5
   1672   (eval "$ac_compile") 2>conftest.err
   1673   ac_status=$?
   1674   if test -s conftest.err; then
   1675     grep -v '^ *+' conftest.err >conftest.er1
   1676     cat conftest.er1 >&5
   1677     mv -f conftest.er1 conftest.err
   1678   fi
   1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1680   test $ac_status = 0; } && {
   1681 	 test -z "$ac_c_werror_flag" ||
   1682 	 test ! -s conftest.err
   1683        } && test -s conftest.$ac_objext; then :
   1684   ac_retval=0
   1685 else
   1686   $as_echo "$as_me: failed program was:" >&5
   1687 sed 's/^/| /' conftest.$ac_ext >&5
   1688 
   1689 	ac_retval=1
   1690 fi
   1691   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1692   as_fn_set_status $ac_retval
   1693 
   1694 } # ac_fn_c_try_compile
   1695 
   1696 # ac_fn_c_try_cpp LINENO
   1697 # ----------------------
   1698 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1699 ac_fn_c_try_cpp ()
   1700 {
   1701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1702   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1703 case "(($ac_try" in
   1704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1705   *) ac_try_echo=$ac_try;;
   1706 esac
   1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1708 $as_echo "$ac_try_echo"; } >&5
   1709   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1710   ac_status=$?
   1711   if test -s conftest.err; then
   1712     grep -v '^ *+' conftest.err >conftest.er1
   1713     cat conftest.er1 >&5
   1714     mv -f conftest.er1 conftest.err
   1715   fi
   1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1717   test $ac_status = 0; } > conftest.i && {
   1718 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1719 	 test ! -s conftest.err
   1720        }; then :
   1721   ac_retval=0
   1722 else
   1723   $as_echo "$as_me: failed program was:" >&5
   1724 sed 's/^/| /' conftest.$ac_ext >&5
   1725 
   1726     ac_retval=1
   1727 fi
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729   as_fn_set_status $ac_retval
   1730 
   1731 } # ac_fn_c_try_cpp
   1732 
   1733 # ac_fn_c_try_run LINENO
   1734 # ----------------------
   1735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1736 # that executables *can* be run.
   1737 ac_fn_c_try_run ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   if { { ac_try="$ac_link"
   1741 case "(($ac_try" in
   1742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1743   *) ac_try_echo=$ac_try;;
   1744 esac
   1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1746 $as_echo "$ac_try_echo"; } >&5
   1747   (eval "$ac_link") 2>&5
   1748   ac_status=$?
   1749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1750   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1751   { { case "(($ac_try" in
   1752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1753   *) ac_try_echo=$ac_try;;
   1754 esac
   1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1756 $as_echo "$ac_try_echo"; } >&5
   1757   (eval "$ac_try") 2>&5
   1758   ac_status=$?
   1759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1760   test $ac_status = 0; }; }; then :
   1761   ac_retval=0
   1762 else
   1763   $as_echo "$as_me: program exited with status $ac_status" >&5
   1764        $as_echo "$as_me: failed program was:" >&5
   1765 sed 's/^/| /' conftest.$ac_ext >&5
   1766 
   1767        ac_retval=$ac_status
   1768 fi
   1769   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1771   as_fn_set_status $ac_retval
   1772 
   1773 } # ac_fn_c_try_run
   1774 
   1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1776 # -------------------------------------------------------
   1777 # Tests whether HEADER exists and can be compiled using the include files in
   1778 # INCLUDES, setting the cache variable VAR accordingly.
   1779 ac_fn_c_check_header_compile ()
   1780 {
   1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1783 $as_echo_n "checking for $2... " >&6; }
   1784 if eval \${$3+:} false; then :
   1785   $as_echo_n "(cached) " >&6
   1786 else
   1787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1788 /* end confdefs.h.  */
   1789 $4
   1790 #include <$2>
   1791 _ACEOF
   1792 if ac_fn_c_try_compile "$LINENO"; then :
   1793   eval "$3=yes"
   1794 else
   1795   eval "$3=no"
   1796 fi
   1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1798 fi
   1799 eval ac_res=\$$3
   1800 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1801 $as_echo "$ac_res" >&6; }
   1802   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1803 
   1804 } # ac_fn_c_check_header_compile
   1805 
   1806 # ac_fn_c_find_intX_t LINENO BITS VAR
   1807 # -----------------------------------
   1808 # Finds a signed integer type with width BITS, setting cache variable VAR
   1809 # accordingly.
   1810 ac_fn_c_find_intX_t ()
   1811 {
   1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   1814 $as_echo_n "checking for int$2_t... " >&6; }
   1815 if eval \${$3+:} false; then :
   1816   $as_echo_n "(cached) " >&6
   1817 else
   1818   eval "$3=no"
   1819      # Order is important - never check a type that is potentially smaller
   1820      # than half of the expected target width.
   1821      for ac_type in int$2_t 'int' 'long int' \
   1822 	 'long long int' 'short int' 'signed char'; do
   1823        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1824 /* end confdefs.h.  */
   1825 $ac_includes_default
   1826 	     enum { N = $2 / 2 - 1 };
   1827 int
   1828 main ()
   1829 {
   1830 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   1831 test_array [0] = 0;
   1832 return test_array [0];
   1833 
   1834   ;
   1835   return 0;
   1836 }
   1837 _ACEOF
   1838 if ac_fn_c_try_compile "$LINENO"; then :
   1839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1840 /* end confdefs.h.  */
   1841 $ac_includes_default
   1842 	        enum { N = $2 / 2 - 1 };
   1843 int
   1844 main ()
   1845 {
   1846 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   1847 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   1848 test_array [0] = 0;
   1849 return test_array [0];
   1850 
   1851   ;
   1852   return 0;
   1853 }
   1854 _ACEOF
   1855 if ac_fn_c_try_compile "$LINENO"; then :
   1856 
   1857 else
   1858   case $ac_type in #(
   1859   int$2_t) :
   1860     eval "$3=yes" ;; #(
   1861   *) :
   1862     eval "$3=\$ac_type" ;;
   1863 esac
   1864 fi
   1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1866 fi
   1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1868        if eval test \"x\$"$3"\" = x"no"; then :
   1869 
   1870 else
   1871   break
   1872 fi
   1873      done
   1874 fi
   1875 eval ac_res=\$$3
   1876 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1877 $as_echo "$ac_res" >&6; }
   1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1879 
   1880 } # ac_fn_c_find_intX_t
   1881 
   1882 # ac_fn_c_try_link LINENO
   1883 # -----------------------
   1884 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1885 ac_fn_c_try_link ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   rm -f conftest.$ac_objext conftest$ac_exeext
   1889   if { { ac_try="$ac_link"
   1890 case "(($ac_try" in
   1891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1892   *) ac_try_echo=$ac_try;;
   1893 esac
   1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1895 $as_echo "$ac_try_echo"; } >&5
   1896   (eval "$ac_link") 2>conftest.err
   1897   ac_status=$?
   1898   if test -s conftest.err; then
   1899     grep -v '^ *+' conftest.err >conftest.er1
   1900     cat conftest.er1 >&5
   1901     mv -f conftest.er1 conftest.err
   1902   fi
   1903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1904   test $ac_status = 0; } && {
   1905 	 test -z "$ac_c_werror_flag" ||
   1906 	 test ! -s conftest.err
   1907        } && test -s conftest$ac_exeext && {
   1908 	 test "$cross_compiling" = yes ||
   1909 	 test -x conftest$ac_exeext
   1910        }; then :
   1911   ac_retval=0
   1912 else
   1913   $as_echo "$as_me: failed program was:" >&5
   1914 sed 's/^/| /' conftest.$ac_ext >&5
   1915 
   1916 	ac_retval=1
   1917 fi
   1918   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1919   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1920   # interfere with the next link command; also delete a directory that is
   1921   # left behind by Apple's compiler.  We do this before executing the actions.
   1922   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1923   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1924   as_fn_set_status $ac_retval
   1925 
   1926 } # ac_fn_c_try_link
   1927 
   1928 # ac_fn_c_check_func LINENO FUNC VAR
   1929 # ----------------------------------
   1930 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1931 ac_fn_c_check_func ()
   1932 {
   1933   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1935 $as_echo_n "checking for $2... " >&6; }
   1936 if eval \${$3+:} false; then :
   1937   $as_echo_n "(cached) " >&6
   1938 else
   1939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1940 /* end confdefs.h.  */
   1941 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1943 #define $2 innocuous_$2
   1944 
   1945 /* System header to define __stub macros and hopefully few prototypes,
   1946     which can conflict with char $2 (); below.
   1947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1948     <limits.h> exists even on freestanding compilers.  */
   1949 
   1950 #ifdef __STDC__
   1951 # include <limits.h>
   1952 #else
   1953 # include <assert.h>
   1954 #endif
   1955 
   1956 #undef $2
   1957 
   1958 /* Override any GCC internal prototype to avoid an error.
   1959    Use char because int might match the return type of a GCC
   1960    builtin and then its argument prototype would still apply.  */
   1961 #ifdef __cplusplus
   1962 extern "C"
   1963 #endif
   1964 char $2 ();
   1965 /* The GNU C library defines this for functions which it implements
   1966     to always fail with ENOSYS.  Some functions are actually named
   1967     something starting with __ and the normal name is an alias.  */
   1968 #if defined __stub_$2 || defined __stub___$2
   1969 choke me
   1970 #endif
   1971 
   1972 int
   1973 main ()
   1974 {
   1975 return $2 ();
   1976   ;
   1977   return 0;
   1978 }
   1979 _ACEOF
   1980 if ac_fn_c_try_link "$LINENO"; then :
   1981   eval "$3=yes"
   1982 else
   1983   eval "$3=no"
   1984 fi
   1985 rm -f core conftest.err conftest.$ac_objext \
   1986     conftest$ac_exeext conftest.$ac_ext
   1987 fi
   1988 eval ac_res=\$$3
   1989 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1990 $as_echo "$ac_res" >&6; }
   1991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1992 
   1993 } # ac_fn_c_check_func
   1994 
   1995 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1996 # -------------------------------------------------------
   1997 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1998 # the include files in INCLUDES and setting the cache variable VAR
   1999 # accordingly.
   2000 ac_fn_c_check_header_mongrel ()
   2001 {
   2002   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2003   if eval \${$3+:} false; then :
   2004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2005 $as_echo_n "checking for $2... " >&6; }
   2006 if eval \${$3+:} false; then :
   2007   $as_echo_n "(cached) " >&6
   2008 fi
   2009 eval ac_res=\$$3
   2010 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2011 $as_echo "$ac_res" >&6; }
   2012 else
   2013   # Is the header compilable?
   2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2015 $as_echo_n "checking $2 usability... " >&6; }
   2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2017 /* end confdefs.h.  */
   2018 $4
   2019 #include <$2>
   2020 _ACEOF
   2021 if ac_fn_c_try_compile "$LINENO"; then :
   2022   ac_header_compiler=yes
   2023 else
   2024   ac_header_compiler=no
   2025 fi
   2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2028 $as_echo "$ac_header_compiler" >&6; }
   2029 
   2030 # Is the header present?
   2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2032 $as_echo_n "checking $2 presence... " >&6; }
   2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2034 /* end confdefs.h.  */
   2035 #include <$2>
   2036 _ACEOF
   2037 if ac_fn_c_try_cpp "$LINENO"; then :
   2038   ac_header_preproc=yes
   2039 else
   2040   ac_header_preproc=no
   2041 fi
   2042 rm -f conftest.err conftest.i conftest.$ac_ext
   2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2044 $as_echo "$ac_header_preproc" >&6; }
   2045 
   2046 # So?  What about this header?
   2047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2048   yes:no: )
   2049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2050 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2052 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2053     ;;
   2054   no:yes:* )
   2055     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2056 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2058 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2059     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2060 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2061     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2062 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2065     ;;
   2066 esac
   2067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2068 $as_echo_n "checking for $2... " >&6; }
   2069 if eval \${$3+:} false; then :
   2070   $as_echo_n "(cached) " >&6
   2071 else
   2072   eval "$3=\$ac_header_compiler"
   2073 fi
   2074 eval ac_res=\$$3
   2075 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2076 $as_echo "$ac_res" >&6; }
   2077 fi
   2078   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2079 
   2080 } # ac_fn_c_check_header_mongrel
   2081 
   2082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2083 # -------------------------------------------
   2084 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2085 # variable VAR accordingly.
   2086 ac_fn_c_check_type ()
   2087 {
   2088   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2090 $as_echo_n "checking for $2... " >&6; }
   2091 if eval \${$3+:} false; then :
   2092   $as_echo_n "(cached) " >&6
   2093 else
   2094   eval "$3=no"
   2095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2096 /* end confdefs.h.  */
   2097 $4
   2098 int
   2099 main ()
   2100 {
   2101 if (sizeof ($2))
   2102 	 return 0;
   2103   ;
   2104   return 0;
   2105 }
   2106 _ACEOF
   2107 if ac_fn_c_try_compile "$LINENO"; then :
   2108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2109 /* end confdefs.h.  */
   2110 $4
   2111 int
   2112 main ()
   2113 {
   2114 if (sizeof (($2)))
   2115 	    return 0;
   2116   ;
   2117   return 0;
   2118 }
   2119 _ACEOF
   2120 if ac_fn_c_try_compile "$LINENO"; then :
   2121 
   2122 else
   2123   eval "$3=yes"
   2124 fi
   2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2126 fi
   2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2128 fi
   2129 eval ac_res=\$$3
   2130 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2131 $as_echo "$ac_res" >&6; }
   2132   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2133 
   2134 } # ac_fn_c_check_type
   2135 cat >config.log <<_ACEOF
   2136 This file contains any messages produced by compilers while
   2137 running configure, to aid debugging if configure makes a mistake.
   2138 
   2139 It was created by PCRE2 $as_me 10.22, which was
   2140 generated by GNU Autoconf 2.69.  Invocation command line was
   2141 
   2142   $ $0 $@
   2143 
   2144 _ACEOF
   2145 exec 5>>config.log
   2146 {
   2147 cat <<_ASUNAME
   2148 ## --------- ##
   2149 ## Platform. ##
   2150 ## --------- ##
   2151 
   2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2157 
   2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2159 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2160 
   2161 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2162 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2164 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2165 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2166 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2167 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2168 
   2169 _ASUNAME
   2170 
   2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2172 for as_dir in $PATH
   2173 do
   2174   IFS=$as_save_IFS
   2175   test -z "$as_dir" && as_dir=.
   2176     $as_echo "PATH: $as_dir"
   2177   done
   2178 IFS=$as_save_IFS
   2179 
   2180 } >&5
   2181 
   2182 cat >&5 <<_ACEOF
   2183 
   2184 
   2185 ## ----------- ##
   2186 ## Core tests. ##
   2187 ## ----------- ##
   2188 
   2189 _ACEOF
   2190 
   2191 
   2192 # Keep a trace of the command line.
   2193 # Strip out --no-create and --no-recursion so they do not pile up.
   2194 # Strip out --silent because we don't want to record it for future runs.
   2195 # Also quote any args containing shell meta-characters.
   2196 # Make two passes to allow for proper duplicate-argument suppression.
   2197 ac_configure_args=
   2198 ac_configure_args0=
   2199 ac_configure_args1=
   2200 ac_must_keep_next=false
   2201 for ac_pass in 1 2
   2202 do
   2203   for ac_arg
   2204   do
   2205     case $ac_arg in
   2206     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2207     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2208     | -silent | --silent | --silen | --sile | --sil)
   2209       continue ;;
   2210     *\'*)
   2211       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2212     esac
   2213     case $ac_pass in
   2214     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2215     2)
   2216       as_fn_append ac_configure_args1 " '$ac_arg'"
   2217       if test $ac_must_keep_next = true; then
   2218 	ac_must_keep_next=false # Got value, back to normal.
   2219       else
   2220 	case $ac_arg in
   2221 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2222 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2223 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2224 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2225 	    case "$ac_configure_args0 " in
   2226 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2227 	    esac
   2228 	    ;;
   2229 	  -* ) ac_must_keep_next=true ;;
   2230 	esac
   2231       fi
   2232       as_fn_append ac_configure_args " '$ac_arg'"
   2233       ;;
   2234     esac
   2235   done
   2236 done
   2237 { ac_configure_args0=; unset ac_configure_args0;}
   2238 { ac_configure_args1=; unset ac_configure_args1;}
   2239 
   2240 # When interrupted or exit'd, cleanup temporary files, and complete
   2241 # config.log.  We remove comments because anyway the quotes in there
   2242 # would cause problems or look ugly.
   2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2245 trap 'exit_status=$?
   2246   # Save into config.log some information that might help in debugging.
   2247   {
   2248     echo
   2249 
   2250     $as_echo "## ---------------- ##
   2251 ## Cache variables. ##
   2252 ## ---------------- ##"
   2253     echo
   2254     # The following way of writing the cache mishandles newlines in values,
   2255 (
   2256   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2257     eval ac_val=\$$ac_var
   2258     case $ac_val in #(
   2259     *${as_nl}*)
   2260       case $ac_var in #(
   2261       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2263       esac
   2264       case $ac_var in #(
   2265       _ | IFS | as_nl) ;; #(
   2266       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2267       *) { eval $ac_var=; unset $ac_var;} ;;
   2268       esac ;;
   2269     esac
   2270   done
   2271   (set) 2>&1 |
   2272     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2273     *${as_nl}ac_space=\ *)
   2274       sed -n \
   2275 	"s/'\''/'\''\\\\'\'''\''/g;
   2276 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2277       ;; #(
   2278     *)
   2279       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2280       ;;
   2281     esac |
   2282     sort
   2283 )
   2284     echo
   2285 
   2286     $as_echo "## ----------------- ##
   2287 ## Output variables. ##
   2288 ## ----------------- ##"
   2289     echo
   2290     for ac_var in $ac_subst_vars
   2291     do
   2292       eval ac_val=\$$ac_var
   2293       case $ac_val in
   2294       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2295       esac
   2296       $as_echo "$ac_var='\''$ac_val'\''"
   2297     done | sort
   2298     echo
   2299 
   2300     if test -n "$ac_subst_files"; then
   2301       $as_echo "## ------------------- ##
   2302 ## File substitutions. ##
   2303 ## ------------------- ##"
   2304       echo
   2305       for ac_var in $ac_subst_files
   2306       do
   2307 	eval ac_val=\$$ac_var
   2308 	case $ac_val in
   2309 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2310 	esac
   2311 	$as_echo "$ac_var='\''$ac_val'\''"
   2312       done | sort
   2313       echo
   2314     fi
   2315 
   2316     if test -s confdefs.h; then
   2317       $as_echo "## ----------- ##
   2318 ## confdefs.h. ##
   2319 ## ----------- ##"
   2320       echo
   2321       cat confdefs.h
   2322       echo
   2323     fi
   2324     test "$ac_signal" != 0 &&
   2325       $as_echo "$as_me: caught signal $ac_signal"
   2326     $as_echo "$as_me: exit $exit_status"
   2327   } >&5
   2328   rm -f core *.core core.conftest.* &&
   2329     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2330     exit $exit_status
   2331 ' 0
   2332 for ac_signal in 1 2 13 15; do
   2333   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2334 done
   2335 ac_signal=0
   2336 
   2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2338 rm -f -r conftest* confdefs.h
   2339 
   2340 $as_echo "/* confdefs.h */" > confdefs.h
   2341 
   2342 # Predefined preprocessor variables.
   2343 
   2344 cat >>confdefs.h <<_ACEOF
   2345 #define PACKAGE_NAME "$PACKAGE_NAME"
   2346 _ACEOF
   2347 
   2348 cat >>confdefs.h <<_ACEOF
   2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2350 _ACEOF
   2351 
   2352 cat >>confdefs.h <<_ACEOF
   2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2354 _ACEOF
   2355 
   2356 cat >>confdefs.h <<_ACEOF
   2357 #define PACKAGE_STRING "$PACKAGE_STRING"
   2358 _ACEOF
   2359 
   2360 cat >>confdefs.h <<_ACEOF
   2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2362 _ACEOF
   2363 
   2364 cat >>confdefs.h <<_ACEOF
   2365 #define PACKAGE_URL "$PACKAGE_URL"
   2366 _ACEOF
   2367 
   2368 
   2369 # Let the site file select an alternate cache file if it wants to.
   2370 # Prefer an explicitly selected file to automatically selected ones.
   2371 ac_site_file1=NONE
   2372 ac_site_file2=NONE
   2373 if test -n "$CONFIG_SITE"; then
   2374   # We do not want a PATH search for config.site.
   2375   case $CONFIG_SITE in #((
   2376     -*)  ac_site_file1=./$CONFIG_SITE;;
   2377     */*) ac_site_file1=$CONFIG_SITE;;
   2378     *)   ac_site_file1=./$CONFIG_SITE;;
   2379   esac
   2380 elif test "x$prefix" != xNONE; then
   2381   ac_site_file1=$prefix/share/config.site
   2382   ac_site_file2=$prefix/etc/config.site
   2383 else
   2384   ac_site_file1=$ac_default_prefix/share/config.site
   2385   ac_site_file2=$ac_default_prefix/etc/config.site
   2386 fi
   2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2388 do
   2389   test "x$ac_site_file" = xNONE && continue
   2390   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2391     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2393     sed 's/^/| /' "$ac_site_file" >&5
   2394     . "$ac_site_file" \
   2395       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2397 as_fn_error $? "failed to load site script $ac_site_file
   2398 See \`config.log' for more details" "$LINENO" 5; }
   2399   fi
   2400 done
   2401 
   2402 if test -r "$cache_file"; then
   2403   # Some versions of bash will fail to source /dev/null (special files
   2404   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2405   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2406     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2408     case $cache_file in
   2409       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2410       *)                      . "./$cache_file";;
   2411     esac
   2412   fi
   2413 else
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2416   >$cache_file
   2417 fi
   2418 
   2419 # Check that the precious variables saved in the cache have kept the same
   2420 # value.
   2421 ac_cache_corrupted=false
   2422 for ac_var in $ac_precious_vars; do
   2423   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2424   eval ac_new_set=\$ac_env_${ac_var}_set
   2425   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2426   eval ac_new_val=\$ac_env_${ac_var}_value
   2427   case $ac_old_set,$ac_new_set in
   2428     set,)
   2429       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2431       ac_cache_corrupted=: ;;
   2432     ,set)
   2433       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2435       ac_cache_corrupted=: ;;
   2436     ,);;
   2437     *)
   2438       if test "x$ac_old_val" != "x$ac_new_val"; then
   2439 	# differences in whitespace do not lead to failure.
   2440 	ac_old_val_w=`echo x $ac_old_val`
   2441 	ac_new_val_w=`echo x $ac_new_val`
   2442 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2443 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2445 	  ac_cache_corrupted=:
   2446 	else
   2447 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2449 	  eval $ac_var=\$ac_old_val
   2450 	fi
   2451 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2452 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2453 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2454 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2455       fi;;
   2456   esac
   2457   # Pass precious variables to config.status.
   2458   if test "$ac_new_set" = set; then
   2459     case $ac_new_val in
   2460     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2461     *) ac_arg=$ac_var=$ac_new_val ;;
   2462     esac
   2463     case " $ac_configure_args " in
   2464       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2465       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2466     esac
   2467   fi
   2468 done
   2469 if $ac_cache_corrupted; then
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2472   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2474   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2475 fi
   2476 ## -------------------- ##
   2477 ## Main body of script. ##
   2478 ## -------------------- ##
   2479 
   2480 ac_ext=c
   2481 ac_cpp='$CPP $CPPFLAGS'
   2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2485 
   2486 
   2487 
   2488 am__api_version='1.15'
   2489 
   2490 ac_aux_dir=
   2491 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2492   if test -f "$ac_dir/install-sh"; then
   2493     ac_aux_dir=$ac_dir
   2494     ac_install_sh="$ac_aux_dir/install-sh -c"
   2495     break
   2496   elif test -f "$ac_dir/install.sh"; then
   2497     ac_aux_dir=$ac_dir
   2498     ac_install_sh="$ac_aux_dir/install.sh -c"
   2499     break
   2500   elif test -f "$ac_dir/shtool"; then
   2501     ac_aux_dir=$ac_dir
   2502     ac_install_sh="$ac_aux_dir/shtool install -c"
   2503     break
   2504   fi
   2505 done
   2506 if test -z "$ac_aux_dir"; then
   2507   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2508 fi
   2509 
   2510 # These three variables are undocumented and unsupported,
   2511 # and are intended to be withdrawn in a future Autoconf release.
   2512 # They can cause serious problems if a builder's source tree is in a directory
   2513 # whose full name contains unusual characters.
   2514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2516 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2517 
   2518 
   2519 # Find a good install program.  We prefer a C program (faster),
   2520 # so one script is as good as another.  But avoid the broken or
   2521 # incompatible versions:
   2522 # SysV /etc/install, /usr/sbin/install
   2523 # SunOS /usr/etc/install
   2524 # IRIX /sbin/install
   2525 # AIX /bin/install
   2526 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2527 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2528 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2529 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2530 # OS/2's system install, which has a completely different semantic
   2531 # ./install, which can be erroneously created by make from ./install.sh.
   2532 # Reject install programs that cannot install multiple files.
   2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2534 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2535 if test -z "$INSTALL"; then
   2536 if ${ac_cv_path_install+:} false; then :
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2540 for as_dir in $PATH
   2541 do
   2542   IFS=$as_save_IFS
   2543   test -z "$as_dir" && as_dir=.
   2544     # Account for people who put trailing slashes in PATH elements.
   2545 case $as_dir/ in #((
   2546   ./ | .// | /[cC]/* | \
   2547   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2548   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2549   /usr/ucb/* ) ;;
   2550   *)
   2551     # OSF1 and SCO ODT 3.0 have their own names for install.
   2552     # Don't use installbsd from OSF since it installs stuff as root
   2553     # by default.
   2554     for ac_prog in ginstall scoinst install; do
   2555       for ac_exec_ext in '' $ac_executable_extensions; do
   2556 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2557 	  if test $ac_prog = install &&
   2558 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2559 	    # AIX install.  It has an incompatible calling convention.
   2560 	    :
   2561 	  elif test $ac_prog = install &&
   2562 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2563 	    # program-specific install script used by HP pwplus--don't use.
   2564 	    :
   2565 	  else
   2566 	    rm -rf conftest.one conftest.two conftest.dir
   2567 	    echo one > conftest.one
   2568 	    echo two > conftest.two
   2569 	    mkdir conftest.dir
   2570 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2571 	      test -s conftest.one && test -s conftest.two &&
   2572 	      test -s conftest.dir/conftest.one &&
   2573 	      test -s conftest.dir/conftest.two
   2574 	    then
   2575 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2576 	      break 3
   2577 	    fi
   2578 	  fi
   2579 	fi
   2580       done
   2581     done
   2582     ;;
   2583 esac
   2584 
   2585   done
   2586 IFS=$as_save_IFS
   2587 
   2588 rm -rf conftest.one conftest.two conftest.dir
   2589 
   2590 fi
   2591   if test "${ac_cv_path_install+set}" = set; then
   2592     INSTALL=$ac_cv_path_install
   2593   else
   2594     # As a last resort, use the slow shell script.  Don't cache a
   2595     # value for INSTALL within a source directory, because that will
   2596     # break other packages using the cache if that directory is
   2597     # removed, or if the value is a relative name.
   2598     INSTALL=$ac_install_sh
   2599   fi
   2600 fi
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2602 $as_echo "$INSTALL" >&6; }
   2603 
   2604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2605 # It thinks the first close brace ends the variable substitution.
   2606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2607 
   2608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2609 
   2610 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2611 
   2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2613 $as_echo_n "checking whether build environment is sane... " >&6; }
   2614 # Reject unsafe characters in $srcdir or the absolute working directory
   2615 # name.  Accept space and tab only in the latter.
   2616 am_lf='
   2617 '
   2618 case `pwd` in
   2619   *[\\\"\#\$\&\'\`$am_lf]*)
   2620     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2621 esac
   2622 case $srcdir in
   2623   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2624     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2625 esac
   2626 
   2627 # Do 'set' in a subshell so we don't clobber the current shell's
   2628 # arguments.  Must try -L first in case configure is actually a
   2629 # symlink; some systems play weird games with the mod time of symlinks
   2630 # (eg FreeBSD returns the mod time of the symlink's containing
   2631 # directory).
   2632 if (
   2633    am_has_slept=no
   2634    for am_try in 1 2; do
   2635      echo "timestamp, slept: $am_has_slept" > conftest.file
   2636      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2637      if test "$*" = "X"; then
   2638 	# -L didn't work.
   2639 	set X `ls -t "$srcdir/configure" conftest.file`
   2640      fi
   2641      if test "$*" != "X $srcdir/configure conftest.file" \
   2642 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2643 
   2644 	# If neither matched, then we have a broken ls.  This can happen
   2645 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2646 	# broken ls alias from the environment.  This has actually
   2647 	# happened.  Such a system could not be considered "sane".
   2648 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2649   alias in your environment" "$LINENO" 5
   2650      fi
   2651      if test "$2" = conftest.file || test $am_try -eq 2; then
   2652        break
   2653      fi
   2654      # Just in case.
   2655      sleep 1
   2656      am_has_slept=yes
   2657    done
   2658    test "$2" = conftest.file
   2659    )
   2660 then
   2661    # Ok.
   2662    :
   2663 else
   2664    as_fn_error $? "newly created file is older than distributed files!
   2665 Check your system clock" "$LINENO" 5
   2666 fi
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2668 $as_echo "yes" >&6; }
   2669 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2670 # generated files are strictly newer.
   2671 am_sleep_pid=
   2672 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2673   ( sleep 1 ) &
   2674   am_sleep_pid=$!
   2675 fi
   2676 
   2677 rm -f conftest.file
   2678 
   2679 test "$program_prefix" != NONE &&
   2680   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2681 # Use a double $ so make ignores it.
   2682 test "$program_suffix" != NONE &&
   2683   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2684 # Double any \ or $.
   2685 # By default was `s,x,x', remove it if useless.
   2686 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2687 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2688 
   2689 # Expand $ac_aux_dir to an absolute path.
   2690 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2691 
   2692 if test x"${MISSING+set}" != xset; then
   2693   case $am_aux_dir in
   2694   *\ * | *\	*)
   2695     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2696   *)
   2697     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2698   esac
   2699 fi
   2700 # Use eval to expand $SHELL
   2701 if eval "$MISSING --is-lightweight"; then
   2702   am_missing_run="$MISSING "
   2703 else
   2704   am_missing_run=
   2705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2706 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2707 fi
   2708 
   2709 if test x"${install_sh+set}" != xset; then
   2710   case $am_aux_dir in
   2711   *\ * | *\	*)
   2712     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2713   *)
   2714     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2715   esac
   2716 fi
   2717 
   2718 # Installed binaries are usually stripped using 'strip' when the user
   2719 # run "make install-strip".  However 'strip' might not be the right
   2720 # tool to use in cross-compilation environments, therefore Automake
   2721 # will honor the 'STRIP' environment variable to overrule this program.
   2722 if test "$cross_compiling" != no; then
   2723   if test -n "$ac_tool_prefix"; then
   2724   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2725 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2727 $as_echo_n "checking for $ac_word... " >&6; }
   2728 if ${ac_cv_prog_STRIP+:} false; then :
   2729   $as_echo_n "(cached) " >&6
   2730 else
   2731   if test -n "$STRIP"; then
   2732   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2733 else
   2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2735 for as_dir in $PATH
   2736 do
   2737   IFS=$as_save_IFS
   2738   test -z "$as_dir" && as_dir=.
   2739     for ac_exec_ext in '' $ac_executable_extensions; do
   2740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2741     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2743     break 2
   2744   fi
   2745 done
   2746   done
   2747 IFS=$as_save_IFS
   2748 
   2749 fi
   2750 fi
   2751 STRIP=$ac_cv_prog_STRIP
   2752 if test -n "$STRIP"; then
   2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2754 $as_echo "$STRIP" >&6; }
   2755 else
   2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2757 $as_echo "no" >&6; }
   2758 fi
   2759 
   2760 
   2761 fi
   2762 if test -z "$ac_cv_prog_STRIP"; then
   2763   ac_ct_STRIP=$STRIP
   2764   # Extract the first word of "strip", so it can be a program name with args.
   2765 set dummy strip; ac_word=$2
   2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2767 $as_echo_n "checking for $ac_word... " >&6; }
   2768 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2769   $as_echo_n "(cached) " >&6
   2770 else
   2771   if test -n "$ac_ct_STRIP"; then
   2772   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2773 else
   2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2775 for as_dir in $PATH
   2776 do
   2777   IFS=$as_save_IFS
   2778   test -z "$as_dir" && as_dir=.
   2779     for ac_exec_ext in '' $ac_executable_extensions; do
   2780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2781     ac_cv_prog_ac_ct_STRIP="strip"
   2782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2783     break 2
   2784   fi
   2785 done
   2786   done
   2787 IFS=$as_save_IFS
   2788 
   2789 fi
   2790 fi
   2791 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2792 if test -n "$ac_ct_STRIP"; then
   2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2794 $as_echo "$ac_ct_STRIP" >&6; }
   2795 else
   2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2797 $as_echo "no" >&6; }
   2798 fi
   2799 
   2800   if test "x$ac_ct_STRIP" = x; then
   2801     STRIP=":"
   2802   else
   2803     case $cross_compiling:$ac_tool_warned in
   2804 yes:)
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2807 ac_tool_warned=yes ;;
   2808 esac
   2809     STRIP=$ac_ct_STRIP
   2810   fi
   2811 else
   2812   STRIP="$ac_cv_prog_STRIP"
   2813 fi
   2814 
   2815 fi
   2816 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2817 
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2819 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2820 if test -z "$MKDIR_P"; then
   2821   if ${ac_cv_path_mkdir+:} false; then :
   2822   $as_echo_n "(cached) " >&6
   2823 else
   2824   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2825 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2826 do
   2827   IFS=$as_save_IFS
   2828   test -z "$as_dir" && as_dir=.
   2829     for ac_prog in mkdir gmkdir; do
   2830 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2831 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2832 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2833 	     'mkdir (GNU coreutils) '* | \
   2834 	     'mkdir (coreutils) '* | \
   2835 	     'mkdir (fileutils) '4.1*)
   2836 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2837 	       break 3;;
   2838 	   esac
   2839 	 done
   2840        done
   2841   done
   2842 IFS=$as_save_IFS
   2843 
   2844 fi
   2845 
   2846   test -d ./--version && rmdir ./--version
   2847   if test "${ac_cv_path_mkdir+set}" = set; then
   2848     MKDIR_P="$ac_cv_path_mkdir -p"
   2849   else
   2850     # As a last resort, use the slow shell script.  Don't cache a
   2851     # value for MKDIR_P within a source directory, because that will
   2852     # break other packages using the cache if that directory is
   2853     # removed, or if the value is a relative name.
   2854     MKDIR_P="$ac_install_sh -d"
   2855   fi
   2856 fi
   2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2858 $as_echo "$MKDIR_P" >&6; }
   2859 
   2860 for ac_prog in gawk mawk nawk awk
   2861 do
   2862   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2863 set dummy $ac_prog; ac_word=$2
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2865 $as_echo_n "checking for $ac_word... " >&6; }
   2866 if ${ac_cv_prog_AWK+:} false; then :
   2867   $as_echo_n "(cached) " >&6
   2868 else
   2869   if test -n "$AWK"; then
   2870   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   test -z "$as_dir" && as_dir=.
   2877     for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2879     ac_cv_prog_AWK="$ac_prog"
   2880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884   done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 fi
   2889 AWK=$ac_cv_prog_AWK
   2890 if test -n "$AWK"; then
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2892 $as_echo "$AWK" >&6; }
   2893 else
   2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2895 $as_echo "no" >&6; }
   2896 fi
   2897 
   2898 
   2899   test -n "$AWK" && break
   2900 done
   2901 
   2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2904 set x ${MAKE-make}
   2905 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2906 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2907   $as_echo_n "(cached) " >&6
   2908 else
   2909   cat >conftest.make <<\_ACEOF
   2910 SHELL = /bin/sh
   2911 all:
   2912 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2913 _ACEOF
   2914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2916   *@@@%%%=?*=@@@%%%*)
   2917     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2918   *)
   2919     eval ac_cv_prog_make_${ac_make}_set=no;;
   2920 esac
   2921 rm -f conftest.make
   2922 fi
   2923 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2925 $as_echo "yes" >&6; }
   2926   SET_MAKE=
   2927 else
   2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2929 $as_echo "no" >&6; }
   2930   SET_MAKE="MAKE=${MAKE-make}"
   2931 fi
   2932 
   2933 rm -rf .tst 2>/dev/null
   2934 mkdir .tst 2>/dev/null
   2935 if test -d .tst; then
   2936   am__leading_dot=.
   2937 else
   2938   am__leading_dot=_
   2939 fi
   2940 rmdir .tst 2>/dev/null
   2941 
   2942 # Check whether --enable-silent-rules was given.
   2943 if test "${enable_silent_rules+set}" = set; then :
   2944   enableval=$enable_silent_rules;
   2945 fi
   2946 
   2947 case $enable_silent_rules in # (((
   2948   yes) AM_DEFAULT_VERBOSITY=0;;
   2949    no) AM_DEFAULT_VERBOSITY=1;;
   2950     *) AM_DEFAULT_VERBOSITY=1;;
   2951 esac
   2952 am_make=${MAKE-make}
   2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2954 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2955 if ${am_cv_make_support_nested_variables+:} false; then :
   2956   $as_echo_n "(cached) " >&6
   2957 else
   2958   if $as_echo 'TRUE=$(BAR$(V))
   2959 BAR0=false
   2960 BAR1=true
   2961 V=1
   2962 am__doit:
   2963 	@$(TRUE)
   2964 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2965   am_cv_make_support_nested_variables=yes
   2966 else
   2967   am_cv_make_support_nested_variables=no
   2968 fi
   2969 fi
   2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2971 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2972 if test $am_cv_make_support_nested_variables = yes; then
   2973     AM_V='$(V)'
   2974   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2975 else
   2976   AM_V=$AM_DEFAULT_VERBOSITY
   2977   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2978 fi
   2979 AM_BACKSLASH='\'
   2980 
   2981 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2982   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2983   # is not polluted with repeated "-I."
   2984   am__isrc=' -I$(srcdir)'
   2985   # test to see if srcdir already configured
   2986   if test -f $srcdir/config.status; then
   2987     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2988   fi
   2989 fi
   2990 
   2991 # test whether we have cygpath
   2992 if test -z "$CYGPATH_W"; then
   2993   if (cygpath --version) >/dev/null 2>/dev/null; then
   2994     CYGPATH_W='cygpath -w'
   2995   else
   2996     CYGPATH_W=echo
   2997   fi
   2998 fi
   2999 
   3000 
   3001 # Define the identity of the package.
   3002  PACKAGE='pcre2'
   3003  VERSION='10.22'
   3004 
   3005 
   3006 cat >>confdefs.h <<_ACEOF
   3007 #define PACKAGE "$PACKAGE"
   3008 _ACEOF
   3009 
   3010 
   3011 cat >>confdefs.h <<_ACEOF
   3012 #define VERSION "$VERSION"
   3013 _ACEOF
   3014 
   3015 # Some tools Automake needs.
   3016 
   3017 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3018 
   3019 
   3020 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3021 
   3022 
   3023 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3024 
   3025 
   3026 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3027 
   3028 
   3029 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3030 
   3031 # For better backward compatibility.  To be removed once Automake 1.9.x
   3032 # dies out for good.  For more background, see:
   3033 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3034 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3035 mkdir_p='$(MKDIR_P)'
   3036 
   3037 # We need awk for the "check" target (and possibly the TAP driver).  The
   3038 # system "awk" is bad on some platforms.
   3039 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3040 # in the wild :-(  We should find a proper way to deprecate it ...
   3041 AMTAR='$${TAR-tar}'
   3042 
   3043 
   3044 # We'll loop over all known methods to create a tar archive until one works.
   3045 _am_tools='gnutar  pax cpio none'
   3046 
   3047 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3048 
   3049 
   3050 
   3051 
   3052 
   3053 
   3054 # POSIX will say in a future version that running "rm -f" with no argument
   3055 # is OK; and we want to be able to make that assumption in our Makefile
   3056 # recipes.  So use an aggressive probe to check that the usage we want is
   3057 # actually supported "in the wild" to an acceptable degree.
   3058 # See automake bug#10828.
   3059 # To make any issue more visible, cause the running configure to be aborted
   3060 # by default if the 'rm' program in use doesn't match our expectations; the
   3061 # user can still override this though.
   3062 if rm -f && rm -fr && rm -rf; then : OK; else
   3063   cat >&2 <<'END'
   3064 Oops!
   3065 
   3066 Your 'rm' program seems unable to run without file operands specified
   3067 on the command line, even when the '-f' option is present.  This is contrary
   3068 to the behaviour of most rm programs out there, and not conforming with
   3069 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3070 
   3071 Please tell bug-automake@gnu.org about your system, including the value
   3072 of your $PATH and any error possibly output before this message.  This
   3073 can help us improve future automake versions.
   3074 
   3075 END
   3076   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3077     echo 'Configuration will proceed anyway, since you have set the' >&2
   3078     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3079     echo >&2
   3080   else
   3081     cat >&2 <<'END'
   3082 Aborting the configuration process, to ensure you take notice of the issue.
   3083 
   3084 You can download and install GNU coreutils to get an 'rm' implementation
   3085 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3086 
   3087 If you want to complete the configuration process using your problematic
   3088 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3089 to "yes", and re-run configure.
   3090 
   3091 END
   3092     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3093   fi
   3094 fi
   3095 
   3096 # Check whether --enable-silent-rules was given.
   3097 if test "${enable_silent_rules+set}" = set; then :
   3098   enableval=$enable_silent_rules;
   3099 fi
   3100 
   3101 case $enable_silent_rules in # (((
   3102   yes) AM_DEFAULT_VERBOSITY=0;;
   3103    no) AM_DEFAULT_VERBOSITY=1;;
   3104     *) AM_DEFAULT_VERBOSITY=0;;
   3105 esac
   3106 am_make=${MAKE-make}
   3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3108 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3109 if ${am_cv_make_support_nested_variables+:} false; then :
   3110   $as_echo_n "(cached) " >&6
   3111 else
   3112   if $as_echo 'TRUE=$(BAR$(V))
   3113 BAR0=false
   3114 BAR1=true
   3115 V=1
   3116 am__doit:
   3117 	@$(TRUE)
   3118 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3119   am_cv_make_support_nested_variables=yes
   3120 else
   3121   am_cv_make_support_nested_variables=no
   3122 fi
   3123 fi
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3125 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3126 if test $am_cv_make_support_nested_variables = yes; then
   3127     AM_V='$(V)'
   3128   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3129 else
   3130   AM_V=$AM_DEFAULT_VERBOSITY
   3131   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3132 fi
   3133 AM_BACKSLASH='\'
   3134 
   3135 ac_config_headers="$ac_config_headers src/config.h"
   3136 
   3137 
   3138 # This is a new thing required to stop a warning from automake 1.12
   3139 DEPDIR="${am__leading_dot}deps"
   3140 
   3141 ac_config_commands="$ac_config_commands depfiles"
   3142 
   3143 
   3144 am_make=${MAKE-make}
   3145 cat > confinc << 'END'
   3146 am__doit:
   3147 	@echo this is the am__doit target
   3148 .PHONY: am__doit
   3149 END
   3150 # If we don't find an include directive, just comment out the code.
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3152 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3153 am__include="#"
   3154 am__quote=
   3155 _am_result=none
   3156 # First try GNU make style include.
   3157 echo "include confinc" > confmf
   3158 # Ignore all kinds of additional output from 'make'.
   3159 case `$am_make -s -f confmf 2> /dev/null` in #(
   3160 *the\ am__doit\ target*)
   3161   am__include=include
   3162   am__quote=
   3163   _am_result=GNU
   3164   ;;
   3165 esac
   3166 # Now try BSD make style include.
   3167 if test "$am__include" = "#"; then
   3168    echo '.include "confinc"' > confmf
   3169    case `$am_make -s -f confmf 2> /dev/null` in #(
   3170    *the\ am__doit\ target*)
   3171      am__include=.include
   3172      am__quote="\""
   3173      _am_result=BSD
   3174      ;;
   3175    esac
   3176 fi
   3177 
   3178 
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3180 $as_echo "$_am_result" >&6; }
   3181 rm -f confinc confmf
   3182 
   3183 # Check whether --enable-dependency-tracking was given.
   3184 if test "${enable_dependency_tracking+set}" = set; then :
   3185   enableval=$enable_dependency_tracking;
   3186 fi
   3187 
   3188 if test "x$enable_dependency_tracking" != xno; then
   3189   am_depcomp="$ac_aux_dir/depcomp"
   3190   AMDEPBACKSLASH='\'
   3191   am__nodep='_no'
   3192 fi
   3193  if test "x$enable_dependency_tracking" != xno; then
   3194   AMDEP_TRUE=
   3195   AMDEP_FALSE='#'
   3196 else
   3197   AMDEP_TRUE='#'
   3198   AMDEP_FALSE=
   3199 fi
   3200 
   3201 
   3202 ac_ext=c
   3203 ac_cpp='$CPP $CPPFLAGS'
   3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3207 if test -n "$ac_tool_prefix"; then
   3208   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3209 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3211 $as_echo_n "checking for $ac_word... " >&6; }
   3212 if ${ac_cv_prog_CC+:} false; then :
   3213   $as_echo_n "(cached) " >&6
   3214 else
   3215   if test -n "$CC"; then
   3216   ac_cv_prog_CC="$CC" # Let the user override the test.
   3217 else
   3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3219 for as_dir in $PATH
   3220 do
   3221   IFS=$as_save_IFS
   3222   test -z "$as_dir" && as_dir=.
   3223     for ac_exec_ext in '' $ac_executable_extensions; do
   3224   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3225     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3227     break 2
   3228   fi
   3229 done
   3230   done
   3231 IFS=$as_save_IFS
   3232 
   3233 fi
   3234 fi
   3235 CC=$ac_cv_prog_CC
   3236 if test -n "$CC"; then
   3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3238 $as_echo "$CC" >&6; }
   3239 else
   3240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3241 $as_echo "no" >&6; }
   3242 fi
   3243 
   3244 
   3245 fi
   3246 if test -z "$ac_cv_prog_CC"; then
   3247   ac_ct_CC=$CC
   3248   # Extract the first word of "gcc", so it can be a program name with args.
   3249 set dummy gcc; ac_word=$2
   3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3251 $as_echo_n "checking for $ac_word... " >&6; }
   3252 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3253   $as_echo_n "(cached) " >&6
   3254 else
   3255   if test -n "$ac_ct_CC"; then
   3256   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3257 else
   3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3259 for as_dir in $PATH
   3260 do
   3261   IFS=$as_save_IFS
   3262   test -z "$as_dir" && as_dir=.
   3263     for ac_exec_ext in '' $ac_executable_extensions; do
   3264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3265     ac_cv_prog_ac_ct_CC="gcc"
   3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3267     break 2
   3268   fi
   3269 done
   3270   done
   3271 IFS=$as_save_IFS
   3272 
   3273 fi
   3274 fi
   3275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3276 if test -n "$ac_ct_CC"; then
   3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3278 $as_echo "$ac_ct_CC" >&6; }
   3279 else
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3281 $as_echo "no" >&6; }
   3282 fi
   3283 
   3284   if test "x$ac_ct_CC" = x; then
   3285     CC=""
   3286   else
   3287     case $cross_compiling:$ac_tool_warned in
   3288 yes:)
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3291 ac_tool_warned=yes ;;
   3292 esac
   3293     CC=$ac_ct_CC
   3294   fi
   3295 else
   3296   CC="$ac_cv_prog_CC"
   3297 fi
   3298 
   3299 if test -z "$CC"; then
   3300           if test -n "$ac_tool_prefix"; then
   3301     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3302 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3304 $as_echo_n "checking for $ac_word... " >&6; }
   3305 if ${ac_cv_prog_CC+:} false; then :
   3306   $as_echo_n "(cached) " >&6
   3307 else
   3308   if test -n "$CC"; then
   3309   ac_cv_prog_CC="$CC" # Let the user override the test.
   3310 else
   3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3312 for as_dir in $PATH
   3313 do
   3314   IFS=$as_save_IFS
   3315   test -z "$as_dir" && as_dir=.
   3316     for ac_exec_ext in '' $ac_executable_extensions; do
   3317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3318     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3320     break 2
   3321   fi
   3322 done
   3323   done
   3324 IFS=$as_save_IFS
   3325 
   3326 fi
   3327 fi
   3328 CC=$ac_cv_prog_CC
   3329 if test -n "$CC"; then
   3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3331 $as_echo "$CC" >&6; }
   3332 else
   3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3334 $as_echo "no" >&6; }
   3335 fi
   3336 
   3337 
   3338   fi
   3339 fi
   3340 if test -z "$CC"; then
   3341   # Extract the first word of "cc", so it can be a program name with args.
   3342 set dummy cc; ac_word=$2
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3344 $as_echo_n "checking for $ac_word... " >&6; }
   3345 if ${ac_cv_prog_CC+:} false; then :
   3346   $as_echo_n "(cached) " >&6
   3347 else
   3348   if test -n "$CC"; then
   3349   ac_cv_prog_CC="$CC" # Let the user override the test.
   3350 else
   3351   ac_prog_rejected=no
   3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3353 for as_dir in $PATH
   3354 do
   3355   IFS=$as_save_IFS
   3356   test -z "$as_dir" && as_dir=.
   3357     for ac_exec_ext in '' $ac_executable_extensions; do
   3358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3359     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3360        ac_prog_rejected=yes
   3361        continue
   3362      fi
   3363     ac_cv_prog_CC="cc"
   3364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3365     break 2
   3366   fi
   3367 done
   3368   done
   3369 IFS=$as_save_IFS
   3370 
   3371 if test $ac_prog_rejected = yes; then
   3372   # We found a bogon in the path, so make sure we never use it.
   3373   set dummy $ac_cv_prog_CC
   3374   shift
   3375   if test $# != 0; then
   3376     # We chose a different compiler from the bogus one.
   3377     # However, it has the same basename, so the bogon will be chosen
   3378     # first if we set CC to just the basename; use the full file name.
   3379     shift
   3380     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3381   fi
   3382 fi
   3383 fi
   3384 fi
   3385 CC=$ac_cv_prog_CC
   3386 if test -n "$CC"; then
   3387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3388 $as_echo "$CC" >&6; }
   3389 else
   3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3391 $as_echo "no" >&6; }
   3392 fi
   3393 
   3394 
   3395 fi
   3396 if test -z "$CC"; then
   3397   if test -n "$ac_tool_prefix"; then
   3398   for ac_prog in cl.exe
   3399   do
   3400     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3403 $as_echo_n "checking for $ac_word... " >&6; }
   3404 if ${ac_cv_prog_CC+:} false; then :
   3405   $as_echo_n "(cached) " >&6
   3406 else
   3407   if test -n "$CC"; then
   3408   ac_cv_prog_CC="$CC" # Let the user override the test.
   3409 else
   3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3411 for as_dir in $PATH
   3412 do
   3413   IFS=$as_save_IFS
   3414   test -z "$as_dir" && as_dir=.
   3415     for ac_exec_ext in '' $ac_executable_extensions; do
   3416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3417     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3419     break 2
   3420   fi
   3421 done
   3422   done
   3423 IFS=$as_save_IFS
   3424 
   3425 fi
   3426 fi
   3427 CC=$ac_cv_prog_CC
   3428 if test -n "$CC"; then
   3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3430 $as_echo "$CC" >&6; }
   3431 else
   3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3433 $as_echo "no" >&6; }
   3434 fi
   3435 
   3436 
   3437     test -n "$CC" && break
   3438   done
   3439 fi
   3440 if test -z "$CC"; then
   3441   ac_ct_CC=$CC
   3442   for ac_prog in cl.exe
   3443 do
   3444   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3445 set dummy $ac_prog; ac_word=$2
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3447 $as_echo_n "checking for $ac_word... " >&6; }
   3448 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3449   $as_echo_n "(cached) " >&6
   3450 else
   3451   if test -n "$ac_ct_CC"; then
   3452   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3453 else
   3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3455 for as_dir in $PATH
   3456 do
   3457   IFS=$as_save_IFS
   3458   test -z "$as_dir" && as_dir=.
   3459     for ac_exec_ext in '' $ac_executable_extensions; do
   3460   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3461     ac_cv_prog_ac_ct_CC="$ac_prog"
   3462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3463     break 2
   3464   fi
   3465 done
   3466   done
   3467 IFS=$as_save_IFS
   3468 
   3469 fi
   3470 fi
   3471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3472 if test -n "$ac_ct_CC"; then
   3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3474 $as_echo "$ac_ct_CC" >&6; }
   3475 else
   3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3477 $as_echo "no" >&6; }
   3478 fi
   3479 
   3480 
   3481   test -n "$ac_ct_CC" && break
   3482 done
   3483 
   3484   if test "x$ac_ct_CC" = x; then
   3485     CC=""
   3486   else
   3487     case $cross_compiling:$ac_tool_warned in
   3488 yes:)
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3491 ac_tool_warned=yes ;;
   3492 esac
   3493     CC=$ac_ct_CC
   3494   fi
   3495 fi
   3496 
   3497 fi
   3498 
   3499 
   3500 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3502 as_fn_error $? "no acceptable C compiler found in \$PATH
   3503 See \`config.log' for more details" "$LINENO" 5; }
   3504 
   3505 # Provide some information about the compiler.
   3506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3507 set X $ac_compile
   3508 ac_compiler=$2
   3509 for ac_option in --version -v -V -qversion; do
   3510   { { ac_try="$ac_compiler $ac_option >&5"
   3511 case "(($ac_try" in
   3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3513   *) ac_try_echo=$ac_try;;
   3514 esac
   3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3516 $as_echo "$ac_try_echo"; } >&5
   3517   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3518   ac_status=$?
   3519   if test -s conftest.err; then
   3520     sed '10a\
   3521 ... rest of stderr output deleted ...
   3522          10q' conftest.err >conftest.er1
   3523     cat conftest.er1 >&5
   3524   fi
   3525   rm -f conftest.er1 conftest.err
   3526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3527   test $ac_status = 0; }
   3528 done
   3529 
   3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3531 /* end confdefs.h.  */
   3532 
   3533 int
   3534 main ()
   3535 {
   3536 
   3537   ;
   3538   return 0;
   3539 }
   3540 _ACEOF
   3541 ac_clean_files_save=$ac_clean_files
   3542 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3543 # Try to create an executable without -o first, disregard a.out.
   3544 # It will help us diagnose broken compilers, and finding out an intuition
   3545 # of exeext.
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3547 $as_echo_n "checking whether the C compiler works... " >&6; }
   3548 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3549 
   3550 # The possible output files:
   3551 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3552 
   3553 ac_rmfiles=
   3554 for ac_file in $ac_files
   3555 do
   3556   case $ac_file in
   3557     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3558     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3559   esac
   3560 done
   3561 rm -f $ac_rmfiles
   3562 
   3563 if { { ac_try="$ac_link_default"
   3564 case "(($ac_try" in
   3565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3566   *) ac_try_echo=$ac_try;;
   3567 esac
   3568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3569 $as_echo "$ac_try_echo"; } >&5
   3570   (eval "$ac_link_default") 2>&5
   3571   ac_status=$?
   3572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3573   test $ac_status = 0; }; then :
   3574   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3575 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3576 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3577 # so that the user can short-circuit this test for compilers unknown to
   3578 # Autoconf.
   3579 for ac_file in $ac_files ''
   3580 do
   3581   test -f "$ac_file" || continue
   3582   case $ac_file in
   3583     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3584 	;;
   3585     [ab].out )
   3586 	# We found the default executable, but exeext='' is most
   3587 	# certainly right.
   3588 	break;;
   3589     *.* )
   3590 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3591 	then :; else
   3592 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3593 	fi
   3594 	# We set ac_cv_exeext here because the later test for it is not
   3595 	# safe: cross compilers may not add the suffix if given an `-o'
   3596 	# argument, so we may need to know it at that point already.
   3597 	# Even if this section looks crufty: it has the advantage of
   3598 	# actually working.
   3599 	break;;
   3600     * )
   3601 	break;;
   3602   esac
   3603 done
   3604 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3605 
   3606 else
   3607   ac_file=''
   3608 fi
   3609 if test -z "$ac_file"; then :
   3610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3611 $as_echo "no" >&6; }
   3612 $as_echo "$as_me: failed program was:" >&5
   3613 sed 's/^/| /' conftest.$ac_ext >&5
   3614 
   3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3617 as_fn_error 77 "C compiler cannot create executables
   3618 See \`config.log' for more details" "$LINENO" 5; }
   3619 else
   3620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3621 $as_echo "yes" >&6; }
   3622 fi
   3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3624 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3626 $as_echo "$ac_file" >&6; }
   3627 ac_exeext=$ac_cv_exeext
   3628 
   3629 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3630 ac_clean_files=$ac_clean_files_save
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3632 $as_echo_n "checking for suffix of executables... " >&6; }
   3633 if { { ac_try="$ac_link"
   3634 case "(($ac_try" in
   3635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3636   *) ac_try_echo=$ac_try;;
   3637 esac
   3638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3639 $as_echo "$ac_try_echo"; } >&5
   3640   (eval "$ac_link") 2>&5
   3641   ac_status=$?
   3642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3643   test $ac_status = 0; }; then :
   3644   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3645 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3646 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3647 # `rm'.
   3648 for ac_file in conftest.exe conftest conftest.*; do
   3649   test -f "$ac_file" || continue
   3650   case $ac_file in
   3651     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3652     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3653 	  break;;
   3654     * ) break;;
   3655   esac
   3656 done
   3657 else
   3658   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3660 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3661 See \`config.log' for more details" "$LINENO" 5; }
   3662 fi
   3663 rm -f conftest conftest$ac_cv_exeext
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3665 $as_echo "$ac_cv_exeext" >&6; }
   3666 
   3667 rm -f conftest.$ac_ext
   3668 EXEEXT=$ac_cv_exeext
   3669 ac_exeext=$EXEEXT
   3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3671 /* end confdefs.h.  */
   3672 #include <stdio.h>
   3673 int
   3674 main ()
   3675 {
   3676 FILE *f = fopen ("conftest.out", "w");
   3677  return ferror (f) || fclose (f) != 0;
   3678 
   3679   ;
   3680   return 0;
   3681 }
   3682 _ACEOF
   3683 ac_clean_files="$ac_clean_files conftest.out"
   3684 # Check that the compiler produces executables we can run.  If not, either
   3685 # the compiler is broken, or we cross compile.
   3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3687 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3688 if test "$cross_compiling" != yes; then
   3689   { { ac_try="$ac_link"
   3690 case "(($ac_try" in
   3691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3692   *) ac_try_echo=$ac_try;;
   3693 esac
   3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3695 $as_echo "$ac_try_echo"; } >&5
   3696   (eval "$ac_link") 2>&5
   3697   ac_status=$?
   3698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3699   test $ac_status = 0; }
   3700   if { ac_try='./conftest$ac_cv_exeext'
   3701   { { case "(($ac_try" in
   3702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3703   *) ac_try_echo=$ac_try;;
   3704 esac
   3705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3706 $as_echo "$ac_try_echo"; } >&5
   3707   (eval "$ac_try") 2>&5
   3708   ac_status=$?
   3709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3710   test $ac_status = 0; }; }; then
   3711     cross_compiling=no
   3712   else
   3713     if test "$cross_compiling" = maybe; then
   3714 	cross_compiling=yes
   3715     else
   3716 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3718 as_fn_error $? "cannot run C compiled programs.
   3719 If you meant to cross compile, use \`--host'.
   3720 See \`config.log' for more details" "$LINENO" 5; }
   3721     fi
   3722   fi
   3723 fi
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3725 $as_echo "$cross_compiling" >&6; }
   3726 
   3727 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3728 ac_clean_files=$ac_clean_files_save
   3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3730 $as_echo_n "checking for suffix of object files... " >&6; }
   3731 if ${ac_cv_objext+:} false; then :
   3732   $as_echo_n "(cached) " >&6
   3733 else
   3734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3735 /* end confdefs.h.  */
   3736 
   3737 int
   3738 main ()
   3739 {
   3740 
   3741   ;
   3742   return 0;
   3743 }
   3744 _ACEOF
   3745 rm -f conftest.o conftest.obj
   3746 if { { ac_try="$ac_compile"
   3747 case "(($ac_try" in
   3748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3749   *) ac_try_echo=$ac_try;;
   3750 esac
   3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3752 $as_echo "$ac_try_echo"; } >&5
   3753   (eval "$ac_compile") 2>&5
   3754   ac_status=$?
   3755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3756   test $ac_status = 0; }; then :
   3757   for ac_file in conftest.o conftest.obj conftest.*; do
   3758   test -f "$ac_file" || continue;
   3759   case $ac_file in
   3760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3761     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3762        break;;
   3763   esac
   3764 done
   3765 else
   3766   $as_echo "$as_me: failed program was:" >&5
   3767 sed 's/^/| /' conftest.$ac_ext >&5
   3768 
   3769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3771 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3772 See \`config.log' for more details" "$LINENO" 5; }
   3773 fi
   3774 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3775 fi
   3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3777 $as_echo "$ac_cv_objext" >&6; }
   3778 OBJEXT=$ac_cv_objext
   3779 ac_objext=$OBJEXT
   3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3781 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3782 if ${ac_cv_c_compiler_gnu+:} false; then :
   3783   $as_echo_n "(cached) " >&6
   3784 else
   3785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3786 /* end confdefs.h.  */
   3787 
   3788 int
   3789 main ()
   3790 {
   3791 #ifndef __GNUC__
   3792        choke me
   3793 #endif
   3794 
   3795   ;
   3796   return 0;
   3797 }
   3798 _ACEOF
   3799 if ac_fn_c_try_compile "$LINENO"; then :
   3800   ac_compiler_gnu=yes
   3801 else
   3802   ac_compiler_gnu=no
   3803 fi
   3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3806 
   3807 fi
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3809 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3810 if test $ac_compiler_gnu = yes; then
   3811   GCC=yes
   3812 else
   3813   GCC=
   3814 fi
   3815 ac_test_CFLAGS=${CFLAGS+set}
   3816 ac_save_CFLAGS=$CFLAGS
   3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3818 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3819 if ${ac_cv_prog_cc_g+:} false; then :
   3820   $as_echo_n "(cached) " >&6
   3821 else
   3822   ac_save_c_werror_flag=$ac_c_werror_flag
   3823    ac_c_werror_flag=yes
   3824    ac_cv_prog_cc_g=no
   3825    CFLAGS="-g"
   3826    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3827 /* end confdefs.h.  */
   3828 
   3829 int
   3830 main ()
   3831 {
   3832 
   3833   ;
   3834   return 0;
   3835 }
   3836 _ACEOF
   3837 if ac_fn_c_try_compile "$LINENO"; then :
   3838   ac_cv_prog_cc_g=yes
   3839 else
   3840   CFLAGS=""
   3841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3842 /* end confdefs.h.  */
   3843 
   3844 int
   3845 main ()
   3846 {
   3847 
   3848   ;
   3849   return 0;
   3850 }
   3851 _ACEOF
   3852 if ac_fn_c_try_compile "$LINENO"; then :
   3853 
   3854 else
   3855   ac_c_werror_flag=$ac_save_c_werror_flag
   3856 	 CFLAGS="-g"
   3857 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3858 /* end confdefs.h.  */
   3859 
   3860 int
   3861 main ()
   3862 {
   3863 
   3864   ;
   3865   return 0;
   3866 }
   3867 _ACEOF
   3868 if ac_fn_c_try_compile "$LINENO"; then :
   3869   ac_cv_prog_cc_g=yes
   3870 fi
   3871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3872 fi
   3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3874 fi
   3875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3876    ac_c_werror_flag=$ac_save_c_werror_flag
   3877 fi
   3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3879 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3880 if test "$ac_test_CFLAGS" = set; then
   3881   CFLAGS=$ac_save_CFLAGS
   3882 elif test $ac_cv_prog_cc_g = yes; then
   3883   if test "$GCC" = yes; then
   3884     CFLAGS="-g -O2"
   3885   else
   3886     CFLAGS="-g"
   3887   fi
   3888 else
   3889   if test "$GCC" = yes; then
   3890     CFLAGS="-O2"
   3891   else
   3892     CFLAGS=
   3893   fi
   3894 fi
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3896 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3897 if ${ac_cv_prog_cc_c89+:} false; then :
   3898   $as_echo_n "(cached) " >&6
   3899 else
   3900   ac_cv_prog_cc_c89=no
   3901 ac_save_CC=$CC
   3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3903 /* end confdefs.h.  */
   3904 #include <stdarg.h>
   3905 #include <stdio.h>
   3906 struct stat;
   3907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3908 struct buf { int x; };
   3909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3910 static char *e (p, i)
   3911      char **p;
   3912      int i;
   3913 {
   3914   return p[i];
   3915 }
   3916 static char *f (char * (*g) (char **, int), char **p, ...)
   3917 {
   3918   char *s;
   3919   va_list v;
   3920   va_start (v,p);
   3921   s = g (p, va_arg (v,int));
   3922   va_end (v);
   3923   return s;
   3924 }
   3925 
   3926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3927    function prototypes and stuff, but not '\xHH' hex character constants.
   3928    These don't provoke an error unfortunately, instead are silently treated
   3929    as 'x'.  The following induces an error, until -std is added to get
   3930    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3931    array size at least.  It's necessary to write '\x00'==0 to get something
   3932    that's true only with -std.  */
   3933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3934 
   3935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3936    inside strings and character constants.  */
   3937 #define FOO(x) 'x'
   3938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3939 
   3940 int test (int i, double x);
   3941 struct s1 {int (*f) (int a);};
   3942 struct s2 {int (*f) (double a);};
   3943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3944 int argc;
   3945 char **argv;
   3946 int
   3947 main ()
   3948 {
   3949 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3950   ;
   3951   return 0;
   3952 }
   3953 _ACEOF
   3954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3955 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3956 do
   3957   CC="$ac_save_CC $ac_arg"
   3958   if ac_fn_c_try_compile "$LINENO"; then :
   3959   ac_cv_prog_cc_c89=$ac_arg
   3960 fi
   3961 rm -f core conftest.err conftest.$ac_objext
   3962   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3963 done
   3964 rm -f conftest.$ac_ext
   3965 CC=$ac_save_CC
   3966 
   3967 fi
   3968 # AC_CACHE_VAL
   3969 case "x$ac_cv_prog_cc_c89" in
   3970   x)
   3971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3972 $as_echo "none needed" >&6; } ;;
   3973   xno)
   3974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3975 $as_echo "unsupported" >&6; } ;;
   3976   *)
   3977     CC="$CC $ac_cv_prog_cc_c89"
   3978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3979 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3980 esac
   3981 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3982 
   3983 fi
   3984 
   3985 ac_ext=c
   3986 ac_cpp='$CPP $CPPFLAGS'
   3987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3990 
   3991 ac_ext=c
   3992 ac_cpp='$CPP $CPPFLAGS'
   3993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3997 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3998 if ${am_cv_prog_cc_c_o+:} false; then :
   3999   $as_echo_n "(cached) " >&6
   4000 else
   4001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4002 /* end confdefs.h.  */
   4003 
   4004 int
   4005 main ()
   4006 {
   4007 
   4008   ;
   4009   return 0;
   4010 }
   4011 _ACEOF
   4012   # Make sure it works both with $CC and with simple cc.
   4013   # Following AC_PROG_CC_C_O, we do the test twice because some
   4014   # compilers refuse to overwrite an existing .o file with -o,
   4015   # though they will create one.
   4016   am_cv_prog_cc_c_o=yes
   4017   for am_i in 1 2; do
   4018     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4019    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4020    ac_status=$?
   4021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4022    (exit $ac_status); } \
   4023          && test -f conftest2.$ac_objext; then
   4024       : OK
   4025     else
   4026       am_cv_prog_cc_c_o=no
   4027       break
   4028     fi
   4029   done
   4030   rm -f core conftest*
   4031   unset am_i
   4032 fi
   4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4034 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4035 if test "$am_cv_prog_cc_c_o" != yes; then
   4036    # Losing compiler, so override with the script.
   4037    # FIXME: It is wrong to rewrite CC.
   4038    # But if we don't then we get into trouble of one sort or another.
   4039    # A longer-term fix would be to have automake use am__CC in this case,
   4040    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4041    CC="$am_aux_dir/compile $CC"
   4042 fi
   4043 ac_ext=c
   4044 ac_cpp='$CPP $CPPFLAGS'
   4045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4048 
   4049 
   4050 depcc="$CC"   am_compiler_list=
   4051 
   4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4053 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4054 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4055   $as_echo_n "(cached) " >&6
   4056 else
   4057   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4058   # We make a subdir and do the tests there.  Otherwise we can end up
   4059   # making bogus files that we don't know about and never remove.  For
   4060   # instance it was reported that on HP-UX the gcc test will end up
   4061   # making a dummy file named 'D' -- because '-MD' means "put the output
   4062   # in D".
   4063   rm -rf conftest.dir
   4064   mkdir conftest.dir
   4065   # Copy depcomp to subdir because otherwise we won't find it if we're
   4066   # using a relative directory.
   4067   cp "$am_depcomp" conftest.dir
   4068   cd conftest.dir
   4069   # We will build objects and dependencies in a subdirectory because
   4070   # it helps to detect inapplicable dependency modes.  For instance
   4071   # both Tru64's cc and ICC support -MD to output dependencies as a
   4072   # side effect of compilation, but ICC will put the dependencies in
   4073   # the current directory while Tru64 will put them in the object
   4074   # directory.
   4075   mkdir sub
   4076 
   4077   am_cv_CC_dependencies_compiler_type=none
   4078   if test "$am_compiler_list" = ""; then
   4079      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4080   fi
   4081   am__universal=false
   4082   case " $depcc " in #(
   4083      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4084      esac
   4085 
   4086   for depmode in $am_compiler_list; do
   4087     # Setup a source with many dependencies, because some compilers
   4088     # like to wrap large dependency lists on column 80 (with \), and
   4089     # we should not choose a depcomp mode which is confused by this.
   4090     #
   4091     # We need to recreate these files for each test, as the compiler may
   4092     # overwrite some of them when testing with obscure command lines.
   4093     # This happens at least with the AIX C compiler.
   4094     : > sub/conftest.c
   4095     for i in 1 2 3 4 5 6; do
   4096       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4097       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4098       # Solaris 10 /bin/sh.
   4099       echo '/* dummy */' > sub/conftst$i.h
   4100     done
   4101     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4102 
   4103     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4104     # mode.  It turns out that the SunPro C++ compiler does not properly
   4105     # handle '-M -o', and we need to detect this.  Also, some Intel
   4106     # versions had trouble with output in subdirs.
   4107     am__obj=sub/conftest.${OBJEXT-o}
   4108     am__minus_obj="-o $am__obj"
   4109     case $depmode in
   4110     gcc)
   4111       # This depmode causes a compiler race in universal mode.
   4112       test "$am__universal" = false || continue
   4113       ;;
   4114     nosideeffect)
   4115       # After this tag, mechanisms are not by side-effect, so they'll
   4116       # only be used when explicitly requested.
   4117       if test "x$enable_dependency_tracking" = xyes; then
   4118 	continue
   4119       else
   4120 	break
   4121       fi
   4122       ;;
   4123     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4124       # This compiler won't grok '-c -o', but also, the minuso test has
   4125       # not run yet.  These depmodes are late enough in the game, and
   4126       # so weak that their functioning should not be impacted.
   4127       am__obj=conftest.${OBJEXT-o}
   4128       am__minus_obj=
   4129       ;;
   4130     none) break ;;
   4131     esac
   4132     if depmode=$depmode \
   4133        source=sub/conftest.c object=$am__obj \
   4134        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4135        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4136          >/dev/null 2>conftest.err &&
   4137        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4138        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4139        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4140        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4141       # icc doesn't choke on unknown options, it will just issue warnings
   4142       # or remarks (even with -Werror).  So we grep stderr for any message
   4143       # that says an option was ignored or not supported.
   4144       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4145       #   icc: Command line warning: ignoring option '-M'; no argument required
   4146       # The diagnosis changed in icc 8.0:
   4147       #   icc: Command line remark: option '-MP' not supported
   4148       if (grep 'ignoring option' conftest.err ||
   4149           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4150         am_cv_CC_dependencies_compiler_type=$depmode
   4151         break
   4152       fi
   4153     fi
   4154   done
   4155 
   4156   cd ..
   4157   rm -rf conftest.dir
   4158 else
   4159   am_cv_CC_dependencies_compiler_type=none
   4160 fi
   4161 
   4162 fi
   4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4164 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4165 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4166 
   4167  if
   4168   test "x$enable_dependency_tracking" != xno \
   4169   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4170   am__fastdepCC_TRUE=
   4171   am__fastdepCC_FALSE='#'
   4172 else
   4173   am__fastdepCC_TRUE='#'
   4174   am__fastdepCC_FALSE=
   4175 fi
   4176 
   4177 
   4178 
   4179 if test -n "$ac_tool_prefix"; then
   4180   for ac_prog in ar lib "link -lib"
   4181   do
   4182     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4185 $as_echo_n "checking for $ac_word... " >&6; }
   4186 if ${ac_cv_prog_AR+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   if test -n "$AR"; then
   4190   ac_cv_prog_AR="$AR" # Let the user override the test.
   4191 else
   4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4193 for as_dir in $PATH
   4194 do
   4195   IFS=$as_save_IFS
   4196   test -z "$as_dir" && as_dir=.
   4197     for ac_exec_ext in '' $ac_executable_extensions; do
   4198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4199     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   4200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4201     break 2
   4202   fi
   4203 done
   4204   done
   4205 IFS=$as_save_IFS
   4206 
   4207 fi
   4208 fi
   4209 AR=$ac_cv_prog_AR
   4210 if test -n "$AR"; then
   4211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   4212 $as_echo "$AR" >&6; }
   4213 else
   4214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4215 $as_echo "no" >&6; }
   4216 fi
   4217 
   4218 
   4219     test -n "$AR" && break
   4220   done
   4221 fi
   4222 if test -z "$AR"; then
   4223   ac_ct_AR=$AR
   4224   for ac_prog in ar lib "link -lib"
   4225 do
   4226   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4227 set dummy $ac_prog; ac_word=$2
   4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4229 $as_echo_n "checking for $ac_word... " >&6; }
   4230 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   4231   $as_echo_n "(cached) " >&6
   4232 else
   4233   if test -n "$ac_ct_AR"; then
   4234   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   4235 else
   4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4237 for as_dir in $PATH
   4238 do
   4239   IFS=$as_save_IFS
   4240   test -z "$as_dir" && as_dir=.
   4241     for ac_exec_ext in '' $ac_executable_extensions; do
   4242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4243     ac_cv_prog_ac_ct_AR="$ac_prog"
   4244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4245     break 2
   4246   fi
   4247 done
   4248   done
   4249 IFS=$as_save_IFS
   4250 
   4251 fi
   4252 fi
   4253 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   4254 if test -n "$ac_ct_AR"; then
   4255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   4256 $as_echo "$ac_ct_AR" >&6; }
   4257 else
   4258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4259 $as_echo "no" >&6; }
   4260 fi
   4261 
   4262 
   4263   test -n "$ac_ct_AR" && break
   4264 done
   4265 
   4266   if test "x$ac_ct_AR" = x; then
   4267     AR="false"
   4268   else
   4269     case $cross_compiling:$ac_tool_warned in
   4270 yes:)
   4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4273 ac_tool_warned=yes ;;
   4274 esac
   4275     AR=$ac_ct_AR
   4276   fi
   4277 fi
   4278 
   4279 : ${AR=ar}
   4280 
   4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   4282 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   4283 if ${am_cv_ar_interface+:} false; then :
   4284   $as_echo_n "(cached) " >&6
   4285 else
   4286   ac_ext=c
   4287 ac_cpp='$CPP $CPPFLAGS'
   4288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4291 
   4292    am_cv_ar_interface=ar
   4293    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 int some_variable = 0;
   4296 _ACEOF
   4297 if ac_fn_c_try_compile "$LINENO"; then :
   4298   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   4299       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4300   (eval $am_ar_try) 2>&5
   4301   ac_status=$?
   4302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4303   test $ac_status = 0; }
   4304       if test "$ac_status" -eq 0; then
   4305         am_cv_ar_interface=ar
   4306       else
   4307         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   4308         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   4309   (eval $am_ar_try) 2>&5
   4310   ac_status=$?
   4311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4312   test $ac_status = 0; }
   4313         if test "$ac_status" -eq 0; then
   4314           am_cv_ar_interface=lib
   4315         else
   4316           am_cv_ar_interface=unknown
   4317         fi
   4318       fi
   4319       rm -f conftest.lib libconftest.a
   4320 
   4321 fi
   4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4323    ac_ext=c
   4324 ac_cpp='$CPP $CPPFLAGS'
   4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4328 
   4329 fi
   4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   4331 $as_echo "$am_cv_ar_interface" >&6; }
   4332 
   4333 case $am_cv_ar_interface in
   4334 ar)
   4335   ;;
   4336 lib)
   4337   # Microsoft lib, so override with the ar-lib wrapper script.
   4338   # FIXME: It is wrong to rewrite AR.
   4339   # But if we don't then we get into trouble of one sort or another.
   4340   # A longer-term fix would be to have automake use am__AR in this case,
   4341   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   4342   # similar.
   4343   AR="$am_aux_dir/ar-lib $AR"
   4344   ;;
   4345 unknown)
   4346   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   4347   ;;
   4348 esac
   4349 
   4350 
   4351 # This was added at the suggestion of libtoolize (03-Jan-10)
   4352 
   4353 
   4354 # The default CFLAGS in Autoconf are "-g -O2" for gcc and just "-g" for any
   4355 # other compiler. There doesn't seem to be a standard way of getting rid of the
   4356 # -g (which I don't think is needed for a production library). This fudge seems
   4357 # to achieve the necessary. First, we remember the externally set values of
   4358 # CFLAGS. Then call the AC_PROG_CC macro to find the compiler - if CFLAGS is
   4359 # not set, it will be set to Autoconf's defaults. Afterwards, if the original
   4360 # values were not set, remove the -g from the Autoconf defaults.
   4361 
   4362 remember_set_CFLAGS="$CFLAGS"
   4363 
   4364 ac_ext=c
   4365 ac_cpp='$CPP $CPPFLAGS'
   4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4369 if test -n "$ac_tool_prefix"; then
   4370   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4371 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4373 $as_echo_n "checking for $ac_word... " >&6; }
   4374 if ${ac_cv_prog_CC+:} false; then :
   4375   $as_echo_n "(cached) " >&6
   4376 else
   4377   if test -n "$CC"; then
   4378   ac_cv_prog_CC="$CC" # Let the user override the test.
   4379 else
   4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4381 for as_dir in $PATH
   4382 do
   4383   IFS=$as_save_IFS
   4384   test -z "$as_dir" && as_dir=.
   4385     for ac_exec_ext in '' $ac_executable_extensions; do
   4386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4387     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4389     break 2
   4390   fi
   4391 done
   4392   done
   4393 IFS=$as_save_IFS
   4394 
   4395 fi
   4396 fi
   4397 CC=$ac_cv_prog_CC
   4398 if test -n "$CC"; then
   4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4400 $as_echo "$CC" >&6; }
   4401 else
   4402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4403 $as_echo "no" >&6; }
   4404 fi
   4405 
   4406 
   4407 fi
   4408 if test -z "$ac_cv_prog_CC"; then
   4409   ac_ct_CC=$CC
   4410   # Extract the first word of "gcc", so it can be a program name with args.
   4411 set dummy gcc; ac_word=$2
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4413 $as_echo_n "checking for $ac_word... " >&6; }
   4414 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4415   $as_echo_n "(cached) " >&6
   4416 else
   4417   if test -n "$ac_ct_CC"; then
   4418   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4419 else
   4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4421 for as_dir in $PATH
   4422 do
   4423   IFS=$as_save_IFS
   4424   test -z "$as_dir" && as_dir=.
   4425     for ac_exec_ext in '' $ac_executable_extensions; do
   4426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4427     ac_cv_prog_ac_ct_CC="gcc"
   4428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4429     break 2
   4430   fi
   4431 done
   4432   done
   4433 IFS=$as_save_IFS
   4434 
   4435 fi
   4436 fi
   4437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4438 if test -n "$ac_ct_CC"; then
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4440 $as_echo "$ac_ct_CC" >&6; }
   4441 else
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4443 $as_echo "no" >&6; }
   4444 fi
   4445 
   4446   if test "x$ac_ct_CC" = x; then
   4447     CC=""
   4448   else
   4449     case $cross_compiling:$ac_tool_warned in
   4450 yes:)
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4453 ac_tool_warned=yes ;;
   4454 esac
   4455     CC=$ac_ct_CC
   4456   fi
   4457 else
   4458   CC="$ac_cv_prog_CC"
   4459 fi
   4460 
   4461 if test -z "$CC"; then
   4462           if test -n "$ac_tool_prefix"; then
   4463     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4464 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4466 $as_echo_n "checking for $ac_word... " >&6; }
   4467 if ${ac_cv_prog_CC+:} false; then :
   4468   $as_echo_n "(cached) " >&6
   4469 else
   4470   if test -n "$CC"; then
   4471   ac_cv_prog_CC="$CC" # Let the user override the test.
   4472 else
   4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4474 for as_dir in $PATH
   4475 do
   4476   IFS=$as_save_IFS
   4477   test -z "$as_dir" && as_dir=.
   4478     for ac_exec_ext in '' $ac_executable_extensions; do
   4479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4480     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4482     break 2
   4483   fi
   4484 done
   4485   done
   4486 IFS=$as_save_IFS
   4487 
   4488 fi
   4489 fi
   4490 CC=$ac_cv_prog_CC
   4491 if test -n "$CC"; then
   4492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4493 $as_echo "$CC" >&6; }
   4494 else
   4495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4496 $as_echo "no" >&6; }
   4497 fi
   4498 
   4499 
   4500   fi
   4501 fi
   4502 if test -z "$CC"; then
   4503   # Extract the first word of "cc", so it can be a program name with args.
   4504 set dummy cc; ac_word=$2
   4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4506 $as_echo_n "checking for $ac_word... " >&6; }
   4507 if ${ac_cv_prog_CC+:} false; then :
   4508   $as_echo_n "(cached) " >&6
   4509 else
   4510   if test -n "$CC"; then
   4511   ac_cv_prog_CC="$CC" # Let the user override the test.
   4512 else
   4513   ac_prog_rejected=no
   4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4515 for as_dir in $PATH
   4516 do
   4517   IFS=$as_save_IFS
   4518   test -z "$as_dir" && as_dir=.
   4519     for ac_exec_ext in '' $ac_executable_extensions; do
   4520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4521     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4522        ac_prog_rejected=yes
   4523        continue
   4524      fi
   4525     ac_cv_prog_CC="cc"
   4526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4527     break 2
   4528   fi
   4529 done
   4530   done
   4531 IFS=$as_save_IFS
   4532 
   4533 if test $ac_prog_rejected = yes; then
   4534   # We found a bogon in the path, so make sure we never use it.
   4535   set dummy $ac_cv_prog_CC
   4536   shift
   4537   if test $# != 0; then
   4538     # We chose a different compiler from the bogus one.
   4539     # However, it has the same basename, so the bogon will be chosen
   4540     # first if we set CC to just the basename; use the full file name.
   4541     shift
   4542     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4543   fi
   4544 fi
   4545 fi
   4546 fi
   4547 CC=$ac_cv_prog_CC
   4548 if test -n "$CC"; then
   4549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4550 $as_echo "$CC" >&6; }
   4551 else
   4552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4553 $as_echo "no" >&6; }
   4554 fi
   4555 
   4556 
   4557 fi
   4558 if test -z "$CC"; then
   4559   if test -n "$ac_tool_prefix"; then
   4560   for ac_prog in cl.exe
   4561   do
   4562     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4563 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4565 $as_echo_n "checking for $ac_word... " >&6; }
   4566 if ${ac_cv_prog_CC+:} false; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   if test -n "$CC"; then
   4570   ac_cv_prog_CC="$CC" # Let the user override the test.
   4571 else
   4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4573 for as_dir in $PATH
   4574 do
   4575   IFS=$as_save_IFS
   4576   test -z "$as_dir" && as_dir=.
   4577     for ac_exec_ext in '' $ac_executable_extensions; do
   4578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4579     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4581     break 2
   4582   fi
   4583 done
   4584   done
   4585 IFS=$as_save_IFS
   4586 
   4587 fi
   4588 fi
   4589 CC=$ac_cv_prog_CC
   4590 if test -n "$CC"; then
   4591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4592 $as_echo "$CC" >&6; }
   4593 else
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4595 $as_echo "no" >&6; }
   4596 fi
   4597 
   4598 
   4599     test -n "$CC" && break
   4600   done
   4601 fi
   4602 if test -z "$CC"; then
   4603   ac_ct_CC=$CC
   4604   for ac_prog in cl.exe
   4605 do
   4606   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4607 set dummy $ac_prog; ac_word=$2
   4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4609 $as_echo_n "checking for $ac_word... " >&6; }
   4610 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4611   $as_echo_n "(cached) " >&6
   4612 else
   4613   if test -n "$ac_ct_CC"; then
   4614   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4615 else
   4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4617 for as_dir in $PATH
   4618 do
   4619   IFS=$as_save_IFS
   4620   test -z "$as_dir" && as_dir=.
   4621     for ac_exec_ext in '' $ac_executable_extensions; do
   4622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4623     ac_cv_prog_ac_ct_CC="$ac_prog"
   4624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4625     break 2
   4626   fi
   4627 done
   4628   done
   4629 IFS=$as_save_IFS
   4630 
   4631 fi
   4632 fi
   4633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4634 if test -n "$ac_ct_CC"; then
   4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4636 $as_echo "$ac_ct_CC" >&6; }
   4637 else
   4638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4639 $as_echo "no" >&6; }
   4640 fi
   4641 
   4642 
   4643   test -n "$ac_ct_CC" && break
   4644 done
   4645 
   4646   if test "x$ac_ct_CC" = x; then
   4647     CC=""
   4648   else
   4649     case $cross_compiling:$ac_tool_warned in
   4650 yes:)
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4653 ac_tool_warned=yes ;;
   4654 esac
   4655     CC=$ac_ct_CC
   4656   fi
   4657 fi
   4658 
   4659 fi
   4660 
   4661 
   4662 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4664 as_fn_error $? "no acceptable C compiler found in \$PATH
   4665 See \`config.log' for more details" "$LINENO" 5; }
   4666 
   4667 # Provide some information about the compiler.
   4668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4669 set X $ac_compile
   4670 ac_compiler=$2
   4671 for ac_option in --version -v -V -qversion; do
   4672   { { ac_try="$ac_compiler $ac_option >&5"
   4673 case "(($ac_try" in
   4674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4675   *) ac_try_echo=$ac_try;;
   4676 esac
   4677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4678 $as_echo "$ac_try_echo"; } >&5
   4679   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4680   ac_status=$?
   4681   if test -s conftest.err; then
   4682     sed '10a\
   4683 ... rest of stderr output deleted ...
   4684          10q' conftest.err >conftest.er1
   4685     cat conftest.er1 >&5
   4686   fi
   4687   rm -f conftest.er1 conftest.err
   4688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4689   test $ac_status = 0; }
   4690 done
   4691 
   4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4693 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4694 if ${ac_cv_c_compiler_gnu+:} false; then :
   4695   $as_echo_n "(cached) " >&6
   4696 else
   4697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4698 /* end confdefs.h.  */
   4699 
   4700 int
   4701 main ()
   4702 {
   4703 #ifndef __GNUC__
   4704        choke me
   4705 #endif
   4706 
   4707   ;
   4708   return 0;
   4709 }
   4710 _ACEOF
   4711 if ac_fn_c_try_compile "$LINENO"; then :
   4712   ac_compiler_gnu=yes
   4713 else
   4714   ac_compiler_gnu=no
   4715 fi
   4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4717 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4718 
   4719 fi
   4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4721 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4722 if test $ac_compiler_gnu = yes; then
   4723   GCC=yes
   4724 else
   4725   GCC=
   4726 fi
   4727 ac_test_CFLAGS=${CFLAGS+set}
   4728 ac_save_CFLAGS=$CFLAGS
   4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4730 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4731 if ${ac_cv_prog_cc_g+:} false; then :
   4732   $as_echo_n "(cached) " >&6
   4733 else
   4734   ac_save_c_werror_flag=$ac_c_werror_flag
   4735    ac_c_werror_flag=yes
   4736    ac_cv_prog_cc_g=no
   4737    CFLAGS="-g"
   4738    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 
   4741 int
   4742 main ()
   4743 {
   4744 
   4745   ;
   4746   return 0;
   4747 }
   4748 _ACEOF
   4749 if ac_fn_c_try_compile "$LINENO"; then :
   4750   ac_cv_prog_cc_g=yes
   4751 else
   4752   CFLAGS=""
   4753       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4754 /* end confdefs.h.  */
   4755 
   4756 int
   4757 main ()
   4758 {
   4759 
   4760   ;
   4761   return 0;
   4762 }
   4763 _ACEOF
   4764 if ac_fn_c_try_compile "$LINENO"; then :
   4765 
   4766 else
   4767   ac_c_werror_flag=$ac_save_c_werror_flag
   4768 	 CFLAGS="-g"
   4769 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4770 /* end confdefs.h.  */
   4771 
   4772 int
   4773 main ()
   4774 {
   4775 
   4776   ;
   4777   return 0;
   4778 }
   4779 _ACEOF
   4780 if ac_fn_c_try_compile "$LINENO"; then :
   4781   ac_cv_prog_cc_g=yes
   4782 fi
   4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4784 fi
   4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4786 fi
   4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4788    ac_c_werror_flag=$ac_save_c_werror_flag
   4789 fi
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4791 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4792 if test "$ac_test_CFLAGS" = set; then
   4793   CFLAGS=$ac_save_CFLAGS
   4794 elif test $ac_cv_prog_cc_g = yes; then
   4795   if test "$GCC" = yes; then
   4796     CFLAGS="-g -O2"
   4797   else
   4798     CFLAGS="-g"
   4799   fi
   4800 else
   4801   if test "$GCC" = yes; then
   4802     CFLAGS="-O2"
   4803   else
   4804     CFLAGS=
   4805   fi
   4806 fi
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4808 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4809 if ${ac_cv_prog_cc_c89+:} false; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   ac_cv_prog_cc_c89=no
   4813 ac_save_CC=$CC
   4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4815 /* end confdefs.h.  */
   4816 #include <stdarg.h>
   4817 #include <stdio.h>
   4818 struct stat;
   4819 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4820 struct buf { int x; };
   4821 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4822 static char *e (p, i)
   4823      char **p;
   4824      int i;
   4825 {
   4826   return p[i];
   4827 }
   4828 static char *f (char * (*g) (char **, int), char **p, ...)
   4829 {
   4830   char *s;
   4831   va_list v;
   4832   va_start (v,p);
   4833   s = g (p, va_arg (v,int));
   4834   va_end (v);
   4835   return s;
   4836 }
   4837 
   4838 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4839    function prototypes and stuff, but not '\xHH' hex character constants.
   4840    These don't provoke an error unfortunately, instead are silently treated
   4841    as 'x'.  The following induces an error, until -std is added to get
   4842    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4843    array size at least.  It's necessary to write '\x00'==0 to get something
   4844    that's true only with -std.  */
   4845 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4846 
   4847 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4848    inside strings and character constants.  */
   4849 #define FOO(x) 'x'
   4850 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4851 
   4852 int test (int i, double x);
   4853 struct s1 {int (*f) (int a);};
   4854 struct s2 {int (*f) (double a);};
   4855 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4856 int argc;
   4857 char **argv;
   4858 int
   4859 main ()
   4860 {
   4861 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4862   ;
   4863   return 0;
   4864 }
   4865 _ACEOF
   4866 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4867 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4868 do
   4869   CC="$ac_save_CC $ac_arg"
   4870   if ac_fn_c_try_compile "$LINENO"; then :
   4871   ac_cv_prog_cc_c89=$ac_arg
   4872 fi
   4873 rm -f core conftest.err conftest.$ac_objext
   4874   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4875 done
   4876 rm -f conftest.$ac_ext
   4877 CC=$ac_save_CC
   4878 
   4879 fi
   4880 # AC_CACHE_VAL
   4881 case "x$ac_cv_prog_cc_c89" in
   4882   x)
   4883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4884 $as_echo "none needed" >&6; } ;;
   4885   xno)
   4886     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4887 $as_echo "unsupported" >&6; } ;;
   4888   *)
   4889     CC="$CC $ac_cv_prog_cc_c89"
   4890     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4891 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4892 esac
   4893 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4894 
   4895 fi
   4896 
   4897 ac_ext=c
   4898 ac_cpp='$CPP $CPPFLAGS'
   4899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4902 
   4903 ac_ext=c
   4904 ac_cpp='$CPP $CPPFLAGS'
   4905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4909 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4910 if ${am_cv_prog_cc_c_o+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4914 /* end confdefs.h.  */
   4915 
   4916 int
   4917 main ()
   4918 {
   4919 
   4920   ;
   4921   return 0;
   4922 }
   4923 _ACEOF
   4924   # Make sure it works both with $CC and with simple cc.
   4925   # Following AC_PROG_CC_C_O, we do the test twice because some
   4926   # compilers refuse to overwrite an existing .o file with -o,
   4927   # though they will create one.
   4928   am_cv_prog_cc_c_o=yes
   4929   for am_i in 1 2; do
   4930     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4931    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4932    ac_status=$?
   4933    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4934    (exit $ac_status); } \
   4935          && test -f conftest2.$ac_objext; then
   4936       : OK
   4937     else
   4938       am_cv_prog_cc_c_o=no
   4939       break
   4940     fi
   4941   done
   4942   rm -f core conftest*
   4943   unset am_i
   4944 fi
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4946 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4947 if test "$am_cv_prog_cc_c_o" != yes; then
   4948    # Losing compiler, so override with the script.
   4949    # FIXME: It is wrong to rewrite CC.
   4950    # But if we don't then we get into trouble of one sort or another.
   4951    # A longer-term fix would be to have automake use am__CC in this case,
   4952    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4953    CC="$am_aux_dir/compile $CC"
   4954 fi
   4955 ac_ext=c
   4956 ac_cpp='$CPP $CPPFLAGS'
   4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4960 
   4961 
   4962 depcc="$CC"   am_compiler_list=
   4963 
   4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4965 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4966 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4967   $as_echo_n "(cached) " >&6
   4968 else
   4969   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4970   # We make a subdir and do the tests there.  Otherwise we can end up
   4971   # making bogus files that we don't know about and never remove.  For
   4972   # instance it was reported that on HP-UX the gcc test will end up
   4973   # making a dummy file named 'D' -- because '-MD' means "put the output
   4974   # in D".
   4975   rm -rf conftest.dir
   4976   mkdir conftest.dir
   4977   # Copy depcomp to subdir because otherwise we won't find it if we're
   4978   # using a relative directory.
   4979   cp "$am_depcomp" conftest.dir
   4980   cd conftest.dir
   4981   # We will build objects and dependencies in a subdirectory because
   4982   # it helps to detect inapplicable dependency modes.  For instance
   4983   # both Tru64's cc and ICC support -MD to output dependencies as a
   4984   # side effect of compilation, but ICC will put the dependencies in
   4985   # the current directory while Tru64 will put them in the object
   4986   # directory.
   4987   mkdir sub
   4988 
   4989   am_cv_CC_dependencies_compiler_type=none
   4990   if test "$am_compiler_list" = ""; then
   4991      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4992   fi
   4993   am__universal=false
   4994   case " $depcc " in #(
   4995      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4996      esac
   4997 
   4998   for depmode in $am_compiler_list; do
   4999     # Setup a source with many dependencies, because some compilers
   5000     # like to wrap large dependency lists on column 80 (with \), and
   5001     # we should not choose a depcomp mode which is confused by this.
   5002     #
   5003     # We need to recreate these files for each test, as the compiler may
   5004     # overwrite some of them when testing with obscure command lines.
   5005     # This happens at least with the AIX C compiler.
   5006     : > sub/conftest.c
   5007     for i in 1 2 3 4 5 6; do
   5008       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5009       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5010       # Solaris 10 /bin/sh.
   5011       echo '/* dummy */' > sub/conftst$i.h
   5012     done
   5013     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5014 
   5015     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5016     # mode.  It turns out that the SunPro C++ compiler does not properly
   5017     # handle '-M -o', and we need to detect this.  Also, some Intel
   5018     # versions had trouble with output in subdirs.
   5019     am__obj=sub/conftest.${OBJEXT-o}
   5020     am__minus_obj="-o $am__obj"
   5021     case $depmode in
   5022     gcc)
   5023       # This depmode causes a compiler race in universal mode.
   5024       test "$am__universal" = false || continue
   5025       ;;
   5026     nosideeffect)
   5027       # After this tag, mechanisms are not by side-effect, so they'll
   5028       # only be used when explicitly requested.
   5029       if test "x$enable_dependency_tracking" = xyes; then
   5030 	continue
   5031       else
   5032 	break
   5033       fi
   5034       ;;
   5035     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5036       # This compiler won't grok '-c -o', but also, the minuso test has
   5037       # not run yet.  These depmodes are late enough in the game, and
   5038       # so weak that their functioning should not be impacted.
   5039       am__obj=conftest.${OBJEXT-o}
   5040       am__minus_obj=
   5041       ;;
   5042     none) break ;;
   5043     esac
   5044     if depmode=$depmode \
   5045        source=sub/conftest.c object=$am__obj \
   5046        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5047        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5048          >/dev/null 2>conftest.err &&
   5049        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5050        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5051        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5052        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5053       # icc doesn't choke on unknown options, it will just issue warnings
   5054       # or remarks (even with -Werror).  So we grep stderr for any message
   5055       # that says an option was ignored or not supported.
   5056       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5057       #   icc: Command line warning: ignoring option '-M'; no argument required
   5058       # The diagnosis changed in icc 8.0:
   5059       #   icc: Command line remark: option '-MP' not supported
   5060       if (grep 'ignoring option' conftest.err ||
   5061           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5062         am_cv_CC_dependencies_compiler_type=$depmode
   5063         break
   5064       fi
   5065     fi
   5066   done
   5067 
   5068   cd ..
   5069   rm -rf conftest.dir
   5070 else
   5071   am_cv_CC_dependencies_compiler_type=none
   5072 fi
   5073 
   5074 fi
   5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5076 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5077 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5078 
   5079  if
   5080   test "x$enable_dependency_tracking" != xno \
   5081   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5082   am__fastdepCC_TRUE=
   5083   am__fastdepCC_FALSE='#'
   5084 else
   5085   am__fastdepCC_TRUE='#'
   5086   am__fastdepCC_FALSE=
   5087 fi
   5088 
   5089 
   5090 
   5091 
   5092 if test "x$remember_set_CFLAGS" = "x"
   5093 then
   5094   if test "$CFLAGS" = "-g -O2"
   5095   then
   5096     CFLAGS="-O2"
   5097   elif test "$CFLAGS" = "-g"
   5098   then
   5099     CFLAGS=""
   5100   fi
   5101 fi
   5102 
   5103 # Check for a 64-bit integer type
   5104 ac_ext=c
   5105 ac_cpp='$CPP $CPPFLAGS'
   5106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5110 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   5111 # On Suns, sometimes $CPP names a directory.
   5112 if test -n "$CPP" && test -d "$CPP"; then
   5113   CPP=
   5114 fi
   5115 if test -z "$CPP"; then
   5116   if ${ac_cv_prog_CPP+:} false; then :
   5117   $as_echo_n "(cached) " >&6
   5118 else
   5119       # Double quotes because CPP needs to be expanded
   5120     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5121     do
   5122       ac_preproc_ok=false
   5123 for ac_c_preproc_warn_flag in '' yes
   5124 do
   5125   # Use a header file that comes with gcc, so configuring glibc
   5126   # with a fresh cross-compiler works.
   5127   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5128   # <limits.h> exists even on freestanding compilers.
   5129   # On the NeXT, cc -E runs the code through the compiler's parser,
   5130   # not just through cpp. "Syntax error" is here to catch this case.
   5131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5132 /* end confdefs.h.  */
   5133 #ifdef __STDC__
   5134 # include <limits.h>
   5135 #else
   5136 # include <assert.h>
   5137 #endif
   5138 		     Syntax error
   5139 _ACEOF
   5140 if ac_fn_c_try_cpp "$LINENO"; then :
   5141 
   5142 else
   5143   # Broken: fails on valid input.
   5144 continue
   5145 fi
   5146 rm -f conftest.err conftest.i conftest.$ac_ext
   5147 
   5148   # OK, works on sane cases.  Now check whether nonexistent headers
   5149   # can be detected and how.
   5150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5151 /* end confdefs.h.  */
   5152 #include <ac_nonexistent.h>
   5153 _ACEOF
   5154 if ac_fn_c_try_cpp "$LINENO"; then :
   5155   # Broken: success on invalid input.
   5156 continue
   5157 else
   5158   # Passes both tests.
   5159 ac_preproc_ok=:
   5160 break
   5161 fi
   5162 rm -f conftest.err conftest.i conftest.$ac_ext
   5163 
   5164 done
   5165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5166 rm -f conftest.i conftest.err conftest.$ac_ext
   5167 if $ac_preproc_ok; then :
   5168   break
   5169 fi
   5170 
   5171     done
   5172     ac_cv_prog_CPP=$CPP
   5173 
   5174 fi
   5175   CPP=$ac_cv_prog_CPP
   5176 else
   5177   ac_cv_prog_CPP=$CPP
   5178 fi
   5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5180 $as_echo "$CPP" >&6; }
   5181 ac_preproc_ok=false
   5182 for ac_c_preproc_warn_flag in '' yes
   5183 do
   5184   # Use a header file that comes with gcc, so configuring glibc
   5185   # with a fresh cross-compiler works.
   5186   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5187   # <limits.h> exists even on freestanding compilers.
   5188   # On the NeXT, cc -E runs the code through the compiler's parser,
   5189   # not just through cpp. "Syntax error" is here to catch this case.
   5190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5191 /* end confdefs.h.  */
   5192 #ifdef __STDC__
   5193 # include <limits.h>
   5194 #else
   5195 # include <assert.h>
   5196 #endif
   5197 		     Syntax error
   5198 _ACEOF
   5199 if ac_fn_c_try_cpp "$LINENO"; then :
   5200 
   5201 else
   5202   # Broken: fails on valid input.
   5203 continue
   5204 fi
   5205 rm -f conftest.err conftest.i conftest.$ac_ext
   5206 
   5207   # OK, works on sane cases.  Now check whether nonexistent headers
   5208   # can be detected and how.
   5209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5210 /* end confdefs.h.  */
   5211 #include <ac_nonexistent.h>
   5212 _ACEOF
   5213 if ac_fn_c_try_cpp "$LINENO"; then :
   5214   # Broken: success on invalid input.
   5215 continue
   5216 else
   5217   # Passes both tests.
   5218 ac_preproc_ok=:
   5219 break
   5220 fi
   5221 rm -f conftest.err conftest.i conftest.$ac_ext
   5222 
   5223 done
   5224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5225 rm -f conftest.i conftest.err conftest.$ac_ext
   5226 if $ac_preproc_ok; then :
   5227 
   5228 else
   5229   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5231 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5232 See \`config.log' for more details" "$LINENO" 5; }
   5233 fi
   5234 
   5235 ac_ext=c
   5236 ac_cpp='$CPP $CPPFLAGS'
   5237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5240 
   5241 
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5243 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5244 if ${ac_cv_path_GREP+:} false; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247   if test -z "$GREP"; then
   5248   ac_path_GREP_found=false
   5249   # Loop through the user's path and test for each of PROGNAME-LIST
   5250   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5251 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5252 do
   5253   IFS=$as_save_IFS
   5254   test -z "$as_dir" && as_dir=.
   5255     for ac_prog in grep ggrep; do
   5256     for ac_exec_ext in '' $ac_executable_extensions; do
   5257       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5258       as_fn_executable_p "$ac_path_GREP" || continue
   5259 # Check for GNU ac_path_GREP and select it if it is found.
   5260   # Check for GNU $ac_path_GREP
   5261 case `"$ac_path_GREP" --version 2>&1` in
   5262 *GNU*)
   5263   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5264 *)
   5265   ac_count=0
   5266   $as_echo_n 0123456789 >"conftest.in"
   5267   while :
   5268   do
   5269     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5270     mv "conftest.tmp" "conftest.in"
   5271     cp "conftest.in" "conftest.nl"
   5272     $as_echo 'GREP' >> "conftest.nl"
   5273     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5274     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5275     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5276     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5277       # Best one so far, save it but keep looking for a better one
   5278       ac_cv_path_GREP="$ac_path_GREP"
   5279       ac_path_GREP_max=$ac_count
   5280     fi
   5281     # 10*(2^10) chars as input seems more than enough
   5282     test $ac_count -gt 10 && break
   5283   done
   5284   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5285 esac
   5286 
   5287       $ac_path_GREP_found && break 3
   5288     done
   5289   done
   5290   done
   5291 IFS=$as_save_IFS
   5292   if test -z "$ac_cv_path_GREP"; then
   5293     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5294   fi
   5295 else
   5296   ac_cv_path_GREP=$GREP
   5297 fi
   5298 
   5299 fi
   5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5301 $as_echo "$ac_cv_path_GREP" >&6; }
   5302  GREP="$ac_cv_path_GREP"
   5303 
   5304 
   5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5306 $as_echo_n "checking for egrep... " >&6; }
   5307 if ${ac_cv_path_EGREP+:} false; then :
   5308   $as_echo_n "(cached) " >&6
   5309 else
   5310   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5311    then ac_cv_path_EGREP="$GREP -E"
   5312    else
   5313      if test -z "$EGREP"; then
   5314   ac_path_EGREP_found=false
   5315   # Loop through the user's path and test for each of PROGNAME-LIST
   5316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5318 do
   5319   IFS=$as_save_IFS
   5320   test -z "$as_dir" && as_dir=.
   5321     for ac_prog in egrep; do
   5322     for ac_exec_ext in '' $ac_executable_extensions; do
   5323       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5324       as_fn_executable_p "$ac_path_EGREP" || continue
   5325 # Check for GNU ac_path_EGREP and select it if it is found.
   5326   # Check for GNU $ac_path_EGREP
   5327 case `"$ac_path_EGREP" --version 2>&1` in
   5328 *GNU*)
   5329   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5330 *)
   5331   ac_count=0
   5332   $as_echo_n 0123456789 >"conftest.in"
   5333   while :
   5334   do
   5335     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5336     mv "conftest.tmp" "conftest.in"
   5337     cp "conftest.in" "conftest.nl"
   5338     $as_echo 'EGREP' >> "conftest.nl"
   5339     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5340     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5341     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5342     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5343       # Best one so far, save it but keep looking for a better one
   5344       ac_cv_path_EGREP="$ac_path_EGREP"
   5345       ac_path_EGREP_max=$ac_count
   5346     fi
   5347     # 10*(2^10) chars as input seems more than enough
   5348     test $ac_count -gt 10 && break
   5349   done
   5350   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5351 esac
   5352 
   5353       $ac_path_EGREP_found && break 3
   5354     done
   5355   done
   5356   done
   5357 IFS=$as_save_IFS
   5358   if test -z "$ac_cv_path_EGREP"; then
   5359     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5360   fi
   5361 else
   5362   ac_cv_path_EGREP=$EGREP
   5363 fi
   5364 
   5365    fi
   5366 fi
   5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5368 $as_echo "$ac_cv_path_EGREP" >&6; }
   5369  EGREP="$ac_cv_path_EGREP"
   5370 
   5371 
   5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5373 $as_echo_n "checking for ANSI C header files... " >&6; }
   5374 if ${ac_cv_header_stdc+:} false; then :
   5375   $as_echo_n "(cached) " >&6
   5376 else
   5377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5378 /* end confdefs.h.  */
   5379 #include <stdlib.h>
   5380 #include <stdarg.h>
   5381 #include <string.h>
   5382 #include <float.h>
   5383 
   5384 int
   5385 main ()
   5386 {
   5387 
   5388   ;
   5389   return 0;
   5390 }
   5391 _ACEOF
   5392 if ac_fn_c_try_compile "$LINENO"; then :
   5393   ac_cv_header_stdc=yes
   5394 else
   5395   ac_cv_header_stdc=no
   5396 fi
   5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5398 
   5399 if test $ac_cv_header_stdc = yes; then
   5400   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 #include <string.h>
   5404 
   5405 _ACEOF
   5406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5407   $EGREP "memchr" >/dev/null 2>&1; then :
   5408 
   5409 else
   5410   ac_cv_header_stdc=no
   5411 fi
   5412 rm -f conftest*
   5413 
   5414 fi
   5415 
   5416 if test $ac_cv_header_stdc = yes; then
   5417   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5419 /* end confdefs.h.  */
   5420 #include <stdlib.h>
   5421 
   5422 _ACEOF
   5423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5424   $EGREP "free" >/dev/null 2>&1; then :
   5425 
   5426 else
   5427   ac_cv_header_stdc=no
   5428 fi
   5429 rm -f conftest*
   5430 
   5431 fi
   5432 
   5433 if test $ac_cv_header_stdc = yes; then
   5434   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5435   if test "$cross_compiling" = yes; then :
   5436   :
   5437 else
   5438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5439 /* end confdefs.h.  */
   5440 #include <ctype.h>
   5441 #include <stdlib.h>
   5442 #if ((' ' & 0x0FF) == 0x020)
   5443 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5444 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5445 #else
   5446 # define ISLOWER(c) \
   5447 		   (('a' <= (c) && (c) <= 'i') \
   5448 		     || ('j' <= (c) && (c) <= 'r') \
   5449 		     || ('s' <= (c) && (c) <= 'z'))
   5450 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5451 #endif
   5452 
   5453 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5454 int
   5455 main ()
   5456 {
   5457   int i;
   5458   for (i = 0; i < 256; i++)
   5459     if (XOR (islower (i), ISLOWER (i))
   5460 	|| toupper (i) != TOUPPER (i))
   5461       return 2;
   5462   return 0;
   5463 }
   5464 _ACEOF
   5465 if ac_fn_c_try_run "$LINENO"; then :
   5466 
   5467 else
   5468   ac_cv_header_stdc=no
   5469 fi
   5470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5471   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5472 fi
   5473 
   5474 fi
   5475 fi
   5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5477 $as_echo "$ac_cv_header_stdc" >&6; }
   5478 if test $ac_cv_header_stdc = yes; then
   5479 
   5480 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5481 
   5482 fi
   5483 
   5484 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5485 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5486 		  inttypes.h stdint.h unistd.h
   5487 do :
   5488   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5489 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5490 "
   5491 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5492   cat >>confdefs.h <<_ACEOF
   5493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5494 _ACEOF
   5495 
   5496 fi
   5497 
   5498 done
   5499 
   5500 
   5501 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   5502 case $ac_cv_c_int64_t in #(
   5503   no|yes) ;; #(
   5504   *)
   5505 
   5506 cat >>confdefs.h <<_ACEOF
   5507 #define int64_t $ac_cv_c_int64_t
   5508 _ACEOF
   5509 ;;
   5510 esac
   5511 
   5512 
   5513 
   5514 # Make sure we can run config.sub.
   5515 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5516   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5517 
   5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5519 $as_echo_n "checking build system type... " >&6; }
   5520 if ${ac_cv_build+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   ac_build_alias=$build_alias
   5524 test "x$ac_build_alias" = x &&
   5525   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5526 test "x$ac_build_alias" = x &&
   5527   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5528 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5529   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5530 
   5531 fi
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5533 $as_echo "$ac_cv_build" >&6; }
   5534 case $ac_cv_build in
   5535 *-*-*) ;;
   5536 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5537 esac
   5538 build=$ac_cv_build
   5539 ac_save_IFS=$IFS; IFS='-'
   5540 set x $ac_cv_build
   5541 shift
   5542 build_cpu=$1
   5543 build_vendor=$2
   5544 shift; shift
   5545 # Remember, the first character of IFS is used to create $*,
   5546 # except with old shells:
   5547 build_os=$*
   5548 IFS=$ac_save_IFS
   5549 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5550 
   5551 
   5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5553 $as_echo_n "checking host system type... " >&6; }
   5554 if ${ac_cv_host+:} false; then :
   5555   $as_echo_n "(cached) " >&6
   5556 else
   5557   if test "x$host_alias" = x; then
   5558   ac_cv_host=$ac_cv_build
   5559 else
   5560   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5561     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5562 fi
   5563 
   5564 fi
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5566 $as_echo "$ac_cv_host" >&6; }
   5567 case $ac_cv_host in
   5568 *-*-*) ;;
   5569 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5570 esac
   5571 host=$ac_cv_host
   5572 ac_save_IFS=$IFS; IFS='-'
   5573 set x $ac_cv_host
   5574 shift
   5575 host_cpu=$1
   5576 host_vendor=$2
   5577 shift; shift
   5578 # Remember, the first character of IFS is used to create $*,
   5579 # except with old shells:
   5580 host_os=$*
   5581 IFS=$ac_save_IFS
   5582 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5583 
   5584 
   5585 enable_win32_dll=yes
   5586 
   5587 case $host in
   5588 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   5589   if test -n "$ac_tool_prefix"; then
   5590   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   5591 set dummy ${ac_tool_prefix}as; ac_word=$2
   5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5593 $as_echo_n "checking for $ac_word... " >&6; }
   5594 if ${ac_cv_prog_AS+:} false; then :
   5595   $as_echo_n "(cached) " >&6
   5596 else
   5597   if test -n "$AS"; then
   5598   ac_cv_prog_AS="$AS" # Let the user override the test.
   5599 else
   5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5601 for as_dir in $PATH
   5602 do
   5603   IFS=$as_save_IFS
   5604   test -z "$as_dir" && as_dir=.
   5605     for ac_exec_ext in '' $ac_executable_extensions; do
   5606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5607     ac_cv_prog_AS="${ac_tool_prefix}as"
   5608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5609     break 2
   5610   fi
   5611 done
   5612   done
   5613 IFS=$as_save_IFS
   5614 
   5615 fi
   5616 fi
   5617 AS=$ac_cv_prog_AS
   5618 if test -n "$AS"; then
   5619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   5620 $as_echo "$AS" >&6; }
   5621 else
   5622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5623 $as_echo "no" >&6; }
   5624 fi
   5625 
   5626 
   5627 fi
   5628 if test -z "$ac_cv_prog_AS"; then
   5629   ac_ct_AS=$AS
   5630   # Extract the first word of "as", so it can be a program name with args.
   5631 set dummy as; ac_word=$2
   5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5633 $as_echo_n "checking for $ac_word... " >&6; }
   5634 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   5635   $as_echo_n "(cached) " >&6
   5636 else
   5637   if test -n "$ac_ct_AS"; then
   5638   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   5639 else
   5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5641 for as_dir in $PATH
   5642 do
   5643   IFS=$as_save_IFS
   5644   test -z "$as_dir" && as_dir=.
   5645     for ac_exec_ext in '' $ac_executable_extensions; do
   5646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5647     ac_cv_prog_ac_ct_AS="as"
   5648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5649     break 2
   5650   fi
   5651 done
   5652   done
   5653 IFS=$as_save_IFS
   5654 
   5655 fi
   5656 fi
   5657 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   5658 if test -n "$ac_ct_AS"; then
   5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   5660 $as_echo "$ac_ct_AS" >&6; }
   5661 else
   5662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5663 $as_echo "no" >&6; }
   5664 fi
   5665 
   5666   if test "x$ac_ct_AS" = x; then
   5667     AS="false"
   5668   else
   5669     case $cross_compiling:$ac_tool_warned in
   5670 yes:)
   5671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5673 ac_tool_warned=yes ;;
   5674 esac
   5675     AS=$ac_ct_AS
   5676   fi
   5677 else
   5678   AS="$ac_cv_prog_AS"
   5679 fi
   5680 
   5681   if test -n "$ac_tool_prefix"; then
   5682   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5683 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5685 $as_echo_n "checking for $ac_word... " >&6; }
   5686 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689   if test -n "$DLLTOOL"; then
   5690   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5691 else
   5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5693 for as_dir in $PATH
   5694 do
   5695   IFS=$as_save_IFS
   5696   test -z "$as_dir" && as_dir=.
   5697     for ac_exec_ext in '' $ac_executable_extensions; do
   5698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5699     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5701     break 2
   5702   fi
   5703 done
   5704   done
   5705 IFS=$as_save_IFS
   5706 
   5707 fi
   5708 fi
   5709 DLLTOOL=$ac_cv_prog_DLLTOOL
   5710 if test -n "$DLLTOOL"; then
   5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5712 $as_echo "$DLLTOOL" >&6; }
   5713 else
   5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5715 $as_echo "no" >&6; }
   5716 fi
   5717 
   5718 
   5719 fi
   5720 if test -z "$ac_cv_prog_DLLTOOL"; then
   5721   ac_ct_DLLTOOL=$DLLTOOL
   5722   # Extract the first word of "dlltool", so it can be a program name with args.
   5723 set dummy dlltool; ac_word=$2
   5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5725 $as_echo_n "checking for $ac_word... " >&6; }
   5726 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5727   $as_echo_n "(cached) " >&6
   5728 else
   5729   if test -n "$ac_ct_DLLTOOL"; then
   5730   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5731 else
   5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5733 for as_dir in $PATH
   5734 do
   5735   IFS=$as_save_IFS
   5736   test -z "$as_dir" && as_dir=.
   5737     for ac_exec_ext in '' $ac_executable_extensions; do
   5738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5739     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5741     break 2
   5742   fi
   5743 done
   5744   done
   5745 IFS=$as_save_IFS
   5746 
   5747 fi
   5748 fi
   5749 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5750 if test -n "$ac_ct_DLLTOOL"; then
   5751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5752 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5753 else
   5754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5755 $as_echo "no" >&6; }
   5756 fi
   5757 
   5758   if test "x$ac_ct_DLLTOOL" = x; then
   5759     DLLTOOL="false"
   5760   else
   5761     case $cross_compiling:$ac_tool_warned in
   5762 yes:)
   5763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5765 ac_tool_warned=yes ;;
   5766 esac
   5767     DLLTOOL=$ac_ct_DLLTOOL
   5768   fi
   5769 else
   5770   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5771 fi
   5772 
   5773   if test -n "$ac_tool_prefix"; then
   5774   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5775 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5777 $as_echo_n "checking for $ac_word... " >&6; }
   5778 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5779   $as_echo_n "(cached) " >&6
   5780 else
   5781   if test -n "$OBJDUMP"; then
   5782   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5783 else
   5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5785 for as_dir in $PATH
   5786 do
   5787   IFS=$as_save_IFS
   5788   test -z "$as_dir" && as_dir=.
   5789     for ac_exec_ext in '' $ac_executable_extensions; do
   5790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5791     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5793     break 2
   5794   fi
   5795 done
   5796   done
   5797 IFS=$as_save_IFS
   5798 
   5799 fi
   5800 fi
   5801 OBJDUMP=$ac_cv_prog_OBJDUMP
   5802 if test -n "$OBJDUMP"; then
   5803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5804 $as_echo "$OBJDUMP" >&6; }
   5805 else
   5806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5807 $as_echo "no" >&6; }
   5808 fi
   5809 
   5810 
   5811 fi
   5812 if test -z "$ac_cv_prog_OBJDUMP"; then
   5813   ac_ct_OBJDUMP=$OBJDUMP
   5814   # Extract the first word of "objdump", so it can be a program name with args.
   5815 set dummy objdump; ac_word=$2
   5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5817 $as_echo_n "checking for $ac_word... " >&6; }
   5818 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5819   $as_echo_n "(cached) " >&6
   5820 else
   5821   if test -n "$ac_ct_OBJDUMP"; then
   5822   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5823 else
   5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5825 for as_dir in $PATH
   5826 do
   5827   IFS=$as_save_IFS
   5828   test -z "$as_dir" && as_dir=.
   5829     for ac_exec_ext in '' $ac_executable_extensions; do
   5830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5831     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5833     break 2
   5834   fi
   5835 done
   5836   done
   5837 IFS=$as_save_IFS
   5838 
   5839 fi
   5840 fi
   5841 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5842 if test -n "$ac_ct_OBJDUMP"; then
   5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5844 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5845 else
   5846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5847 $as_echo "no" >&6; }
   5848 fi
   5849 
   5850   if test "x$ac_ct_OBJDUMP" = x; then
   5851     OBJDUMP="false"
   5852   else
   5853     case $cross_compiling:$ac_tool_warned in
   5854 yes:)
   5855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5857 ac_tool_warned=yes ;;
   5858 esac
   5859     OBJDUMP=$ac_ct_OBJDUMP
   5860   fi
   5861 else
   5862   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5863 fi
   5864 
   5865   ;;
   5866 esac
   5867 
   5868 test -z "$AS" && AS=as
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 test -z "$OBJDUMP" && OBJDUMP=objdump
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 case `pwd` in
   5889   *\ * | *\	*)
   5890     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5891 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5892 esac
   5893 
   5894 
   5895 
   5896 macro_version='2.4.6'
   5897 macro_revision='2.4.6'
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 ltmain=$ac_aux_dir/ltmain.sh
   5912 
   5913 # Backslashify metacharacters that are still active within
   5914 # double-quoted strings.
   5915 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5916 
   5917 # Same as above, but do not quote variable references.
   5918 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5919 
   5920 # Sed substitution to delay expansion of an escaped shell variable in a
   5921 # double_quote_subst'ed string.
   5922 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5923 
   5924 # Sed substitution to delay expansion of an escaped single quote.
   5925 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5926 
   5927 # Sed substitution to avoid accidental globbing in evaled expressions
   5928 no_glob_subst='s/\*/\\\*/g'
   5929 
   5930 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5931 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5932 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5933 
   5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5935 $as_echo_n "checking how to print strings... " >&6; }
   5936 # Test print first, because it will be a builtin if present.
   5937 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5938    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5939   ECHO='print -r --'
   5940 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5941   ECHO='printf %s\n'
   5942 else
   5943   # Use this function as a fallback that always works.
   5944   func_fallback_echo ()
   5945   {
   5946     eval 'cat <<_LTECHO_EOF
   5947 $1
   5948 _LTECHO_EOF'
   5949   }
   5950   ECHO='func_fallback_echo'
   5951 fi
   5952 
   5953 # func_echo_all arg...
   5954 # Invoke $ECHO with all args, space-separated.
   5955 func_echo_all ()
   5956 {
   5957     $ECHO ""
   5958 }
   5959 
   5960 case $ECHO in
   5961   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5962 $as_echo "printf" >&6; } ;;
   5963   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5964 $as_echo "print -r" >&6; } ;;
   5965   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5966 $as_echo "cat" >&6; } ;;
   5967 esac
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5983 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5984 if ${ac_cv_path_SED+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5988      for ac_i in 1 2 3 4 5 6 7; do
   5989        ac_script="$ac_script$as_nl$ac_script"
   5990      done
   5991      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5992      { ac_script=; unset ac_script;}
   5993      if test -z "$SED"; then
   5994   ac_path_SED_found=false
   5995   # Loop through the user's path and test for each of PROGNAME-LIST
   5996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5997 for as_dir in $PATH
   5998 do
   5999   IFS=$as_save_IFS
   6000   test -z "$as_dir" && as_dir=.
   6001     for ac_prog in sed gsed; do
   6002     for ac_exec_ext in '' $ac_executable_extensions; do
   6003       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6004       as_fn_executable_p "$ac_path_SED" || continue
   6005 # Check for GNU ac_path_SED and select it if it is found.
   6006   # Check for GNU $ac_path_SED
   6007 case `"$ac_path_SED" --version 2>&1` in
   6008 *GNU*)
   6009   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6010 *)
   6011   ac_count=0
   6012   $as_echo_n 0123456789 >"conftest.in"
   6013   while :
   6014   do
   6015     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6016     mv "conftest.tmp" "conftest.in"
   6017     cp "conftest.in" "conftest.nl"
   6018     $as_echo '' >> "conftest.nl"
   6019     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6021     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6022     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6023       # Best one so far, save it but keep looking for a better one
   6024       ac_cv_path_SED="$ac_path_SED"
   6025       ac_path_SED_max=$ac_count
   6026     fi
   6027     # 10*(2^10) chars as input seems more than enough
   6028     test $ac_count -gt 10 && break
   6029   done
   6030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6031 esac
   6032 
   6033       $ac_path_SED_found && break 3
   6034     done
   6035   done
   6036   done
   6037 IFS=$as_save_IFS
   6038   if test -z "$ac_cv_path_SED"; then
   6039     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6040   fi
   6041 else
   6042   ac_cv_path_SED=$SED
   6043 fi
   6044 
   6045 fi
   6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6047 $as_echo "$ac_cv_path_SED" >&6; }
   6048  SED="$ac_cv_path_SED"
   6049   rm -f conftest.sed
   6050 
   6051 test -z "$SED" && SED=sed
   6052 Xsed="$SED -e 1s/^X//"
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6065 $as_echo_n "checking for fgrep... " >&6; }
   6066 if ${ac_cv_path_FGREP+:} false; then :
   6067   $as_echo_n "(cached) " >&6
   6068 else
   6069   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6070    then ac_cv_path_FGREP="$GREP -F"
   6071    else
   6072      if test -z "$FGREP"; then
   6073   ac_path_FGREP_found=false
   6074   # Loop through the user's path and test for each of PROGNAME-LIST
   6075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6077 do
   6078   IFS=$as_save_IFS
   6079   test -z "$as_dir" && as_dir=.
   6080     for ac_prog in fgrep; do
   6081     for ac_exec_ext in '' $ac_executable_extensions; do
   6082       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6083       as_fn_executable_p "$ac_path_FGREP" || continue
   6084 # Check for GNU ac_path_FGREP and select it if it is found.
   6085   # Check for GNU $ac_path_FGREP
   6086 case `"$ac_path_FGREP" --version 2>&1` in
   6087 *GNU*)
   6088   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6089 *)
   6090   ac_count=0
   6091   $as_echo_n 0123456789 >"conftest.in"
   6092   while :
   6093   do
   6094     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6095     mv "conftest.tmp" "conftest.in"
   6096     cp "conftest.in" "conftest.nl"
   6097     $as_echo 'FGREP' >> "conftest.nl"
   6098     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6099     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6100     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6101     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6102       # Best one so far, save it but keep looking for a better one
   6103       ac_cv_path_FGREP="$ac_path_FGREP"
   6104       ac_path_FGREP_max=$ac_count
   6105     fi
   6106     # 10*(2^10) chars as input seems more than enough
   6107     test $ac_count -gt 10 && break
   6108   done
   6109   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6110 esac
   6111 
   6112       $ac_path_FGREP_found && break 3
   6113     done
   6114   done
   6115   done
   6116 IFS=$as_save_IFS
   6117   if test -z "$ac_cv_path_FGREP"; then
   6118     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6119   fi
   6120 else
   6121   ac_cv_path_FGREP=$FGREP
   6122 fi
   6123 
   6124    fi
   6125 fi
   6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6127 $as_echo "$ac_cv_path_FGREP" >&6; }
   6128  FGREP="$ac_cv_path_FGREP"
   6129 
   6130 
   6131 test -z "$GREP" && GREP=grep
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 # Check whether --with-gnu-ld was given.
   6152 if test "${with_gnu_ld+set}" = set; then :
   6153   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6154 else
   6155   with_gnu_ld=no
   6156 fi
   6157 
   6158 ac_prog=ld
   6159 if test yes = "$GCC"; then
   6160   # Check if gcc -print-prog-name=ld gives a path.
   6161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6162 $as_echo_n "checking for ld used by $CC... " >&6; }
   6163   case $host in
   6164   *-*-mingw*)
   6165     # gcc leaves a trailing carriage return, which upsets mingw
   6166     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6167   *)
   6168     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6169   esac
   6170   case $ac_prog in
   6171     # Accept absolute paths.
   6172     [\\/]* | ?:[\\/]*)
   6173       re_direlt='/[^/][^/]*/\.\./'
   6174       # Canonicalize the pathname of ld
   6175       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6176       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6177 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6178       done
   6179       test -z "$LD" && LD=$ac_prog
   6180       ;;
   6181   "")
   6182     # If it fails, then pretend we aren't using GCC.
   6183     ac_prog=ld
   6184     ;;
   6185   *)
   6186     # If it is relative, then search for the first ld in PATH.
   6187     with_gnu_ld=unknown
   6188     ;;
   6189   esac
   6190 elif test yes = "$with_gnu_ld"; then
   6191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6192 $as_echo_n "checking for GNU ld... " >&6; }
   6193 else
   6194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6195 $as_echo_n "checking for non-GNU ld... " >&6; }
   6196 fi
   6197 if ${lt_cv_path_LD+:} false; then :
   6198   $as_echo_n "(cached) " >&6
   6199 else
   6200   if test -z "$LD"; then
   6201   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6202   for ac_dir in $PATH; do
   6203     IFS=$lt_save_ifs
   6204     test -z "$ac_dir" && ac_dir=.
   6205     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6206       lt_cv_path_LD=$ac_dir/$ac_prog
   6207       # Check to see if the program is GNU ld.  I'd rather use --version,
   6208       # but apparently some variants of GNU ld only accept -v.
   6209       # Break only if it was the GNU/non-GNU ld that we prefer.
   6210       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6211       *GNU* | *'with BFD'*)
   6212 	test no != "$with_gnu_ld" && break
   6213 	;;
   6214       *)
   6215 	test yes != "$with_gnu_ld" && break
   6216 	;;
   6217       esac
   6218     fi
   6219   done
   6220   IFS=$lt_save_ifs
   6221 else
   6222   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6223 fi
   6224 fi
   6225 
   6226 LD=$lt_cv_path_LD
   6227 if test -n "$LD"; then
   6228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6229 $as_echo "$LD" >&6; }
   6230 else
   6231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6232 $as_echo "no" >&6; }
   6233 fi
   6234 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6236 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6237 if ${lt_cv_prog_gnu_ld+:} false; then :
   6238   $as_echo_n "(cached) " >&6
   6239 else
   6240   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6241 case `$LD -v 2>&1 </dev/null` in
   6242 *GNU* | *'with BFD'*)
   6243   lt_cv_prog_gnu_ld=yes
   6244   ;;
   6245 *)
   6246   lt_cv_prog_gnu_ld=no
   6247   ;;
   6248 esac
   6249 fi
   6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6251 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6252 with_gnu_ld=$lt_cv_prog_gnu_ld
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6263 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6264 if ${lt_cv_path_NM+:} false; then :
   6265   $as_echo_n "(cached) " >&6
   6266 else
   6267   if test -n "$NM"; then
   6268   # Let the user override the test.
   6269   lt_cv_path_NM=$NM
   6270 else
   6271   lt_nm_to_check=${ac_tool_prefix}nm
   6272   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6273     lt_nm_to_check="$lt_nm_to_check nm"
   6274   fi
   6275   for lt_tmp_nm in $lt_nm_to_check; do
   6276     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6277     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6278       IFS=$lt_save_ifs
   6279       test -z "$ac_dir" && ac_dir=.
   6280       tmp_nm=$ac_dir/$lt_tmp_nm
   6281       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6282 	# Check to see if the nm accepts a BSD-compat flag.
   6283 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6284 	#   nm: unknown option "B" ignored
   6285 	# Tru64's nm complains that /dev/null is an invalid object file
   6286 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6287 	case $build_os in
   6288 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   6289 	*) lt_bad_file=/dev/null ;;
   6290 	esac
   6291 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   6292 	*$lt_bad_file* | *'Invalid file or object type'*)
   6293 	  lt_cv_path_NM="$tmp_nm -B"
   6294 	  break 2
   6295 	  ;;
   6296 	*)
   6297 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6298 	  */dev/null*)
   6299 	    lt_cv_path_NM="$tmp_nm -p"
   6300 	    break 2
   6301 	    ;;
   6302 	  *)
   6303 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6304 	    continue # so that we can try to find one that supports BSD flags
   6305 	    ;;
   6306 	  esac
   6307 	  ;;
   6308 	esac
   6309       fi
   6310     done
   6311     IFS=$lt_save_ifs
   6312   done
   6313   : ${lt_cv_path_NM=no}
   6314 fi
   6315 fi
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6317 $as_echo "$lt_cv_path_NM" >&6; }
   6318 if test no != "$lt_cv_path_NM"; then
   6319   NM=$lt_cv_path_NM
   6320 else
   6321   # Didn't find any BSD compatible name lister, look for dumpbin.
   6322   if test -n "$DUMPBIN"; then :
   6323     # Let the user override the test.
   6324   else
   6325     if test -n "$ac_tool_prefix"; then
   6326   for ac_prog in dumpbin "link -dump"
   6327   do
   6328     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6331 $as_echo_n "checking for $ac_word... " >&6; }
   6332 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335   if test -n "$DUMPBIN"; then
   6336   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6337 else
   6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6339 for as_dir in $PATH
   6340 do
   6341   IFS=$as_save_IFS
   6342   test -z "$as_dir" && as_dir=.
   6343     for ac_exec_ext in '' $ac_executable_extensions; do
   6344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6345     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6347     break 2
   6348   fi
   6349 done
   6350   done
   6351 IFS=$as_save_IFS
   6352 
   6353 fi
   6354 fi
   6355 DUMPBIN=$ac_cv_prog_DUMPBIN
   6356 if test -n "$DUMPBIN"; then
   6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6358 $as_echo "$DUMPBIN" >&6; }
   6359 else
   6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6361 $as_echo "no" >&6; }
   6362 fi
   6363 
   6364 
   6365     test -n "$DUMPBIN" && break
   6366   done
   6367 fi
   6368 if test -z "$DUMPBIN"; then
   6369   ac_ct_DUMPBIN=$DUMPBIN
   6370   for ac_prog in dumpbin "link -dump"
   6371 do
   6372   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6373 set dummy $ac_prog; ac_word=$2
   6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6375 $as_echo_n "checking for $ac_word... " >&6; }
   6376 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6377   $as_echo_n "(cached) " >&6
   6378 else
   6379   if test -n "$ac_ct_DUMPBIN"; then
   6380   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6381 else
   6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6383 for as_dir in $PATH
   6384 do
   6385   IFS=$as_save_IFS
   6386   test -z "$as_dir" && as_dir=.
   6387     for ac_exec_ext in '' $ac_executable_extensions; do
   6388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6389     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6391     break 2
   6392   fi
   6393 done
   6394   done
   6395 IFS=$as_save_IFS
   6396 
   6397 fi
   6398 fi
   6399 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6400 if test -n "$ac_ct_DUMPBIN"; then
   6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6402 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6403 else
   6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6405 $as_echo "no" >&6; }
   6406 fi
   6407 
   6408 
   6409   test -n "$ac_ct_DUMPBIN" && break
   6410 done
   6411 
   6412   if test "x$ac_ct_DUMPBIN" = x; then
   6413     DUMPBIN=":"
   6414   else
   6415     case $cross_compiling:$ac_tool_warned in
   6416 yes:)
   6417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6419 ac_tool_warned=yes ;;
   6420 esac
   6421     DUMPBIN=$ac_ct_DUMPBIN
   6422   fi
   6423 fi
   6424 
   6425     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   6426     *COFF*)
   6427       DUMPBIN="$DUMPBIN -symbols -headers"
   6428       ;;
   6429     *)
   6430       DUMPBIN=:
   6431       ;;
   6432     esac
   6433   fi
   6434 
   6435   if test : != "$DUMPBIN"; then
   6436     NM=$DUMPBIN
   6437   fi
   6438 fi
   6439 test -z "$NM" && NM=nm
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6447 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6448 if ${lt_cv_nm_interface+:} false; then :
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451   lt_cv_nm_interface="BSD nm"
   6452   echo "int some_variable = 0;" > conftest.$ac_ext
   6453   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6454   (eval "$ac_compile" 2>conftest.err)
   6455   cat conftest.err >&5
   6456   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6457   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6458   cat conftest.err >&5
   6459   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6460   cat conftest.out >&5
   6461   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6462     lt_cv_nm_interface="MS dumpbin"
   6463   fi
   6464   rm -f conftest*
   6465 fi
   6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6467 $as_echo "$lt_cv_nm_interface" >&6; }
   6468 
   6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6470 $as_echo_n "checking whether ln -s works... " >&6; }
   6471 LN_S=$as_ln_s
   6472 if test "$LN_S" = "ln -s"; then
   6473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6474 $as_echo "yes" >&6; }
   6475 else
   6476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6477 $as_echo "no, using $LN_S" >&6; }
   6478 fi
   6479 
   6480 # find the maximum length of command line arguments
   6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6482 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6483 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486     i=0
   6487   teststring=ABCD
   6488 
   6489   case $build_os in
   6490   msdosdjgpp*)
   6491     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6492     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6493     # during glob expansion).  Even if it were fixed, the result of this
   6494     # check would be larger than it should be.
   6495     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6496     ;;
   6497 
   6498   gnu*)
   6499     # Under GNU Hurd, this test is not required because there is
   6500     # no limit to the length of command line arguments.
   6501     # Libtool will interpret -1 as no limit whatsoever
   6502     lt_cv_sys_max_cmd_len=-1;
   6503     ;;
   6504 
   6505   cygwin* | mingw* | cegcc*)
   6506     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6507     # about 5 minutes as the teststring grows exponentially.
   6508     # Worse, since 9x/ME are not pre-emptively multitasking,
   6509     # you end up with a "frozen" computer, even though with patience
   6510     # the test eventually succeeds (with a max line length of 256k).
   6511     # Instead, let's just punt: use the minimum linelength reported by
   6512     # all of the supported platforms: 8192 (on NT/2K/XP).
   6513     lt_cv_sys_max_cmd_len=8192;
   6514     ;;
   6515 
   6516   mint*)
   6517     # On MiNT this can take a long time and run out of memory.
   6518     lt_cv_sys_max_cmd_len=8192;
   6519     ;;
   6520 
   6521   amigaos*)
   6522     # On AmigaOS with pdksh, this test takes hours, literally.
   6523     # So we just punt and use a minimum line length of 8192.
   6524     lt_cv_sys_max_cmd_len=8192;
   6525     ;;
   6526 
   6527   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6528     # This has been around since 386BSD, at least.  Likely further.
   6529     if test -x /sbin/sysctl; then
   6530       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6531     elif test -x /usr/sbin/sysctl; then
   6532       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6533     else
   6534       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6535     fi
   6536     # And add a safety zone
   6537     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6538     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6539     ;;
   6540 
   6541   interix*)
   6542     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6543     lt_cv_sys_max_cmd_len=196608
   6544     ;;
   6545 
   6546   os2*)
   6547     # The test takes a long time on OS/2.
   6548     lt_cv_sys_max_cmd_len=8192
   6549     ;;
   6550 
   6551   osf*)
   6552     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6553     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6554     # nice to cause kernel panics so lets avoid the loop below.
   6555     # First set a reasonable default.
   6556     lt_cv_sys_max_cmd_len=16384
   6557     #
   6558     if test -x /sbin/sysconfig; then
   6559       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6560         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6561       esac
   6562     fi
   6563     ;;
   6564   sco3.2v5*)
   6565     lt_cv_sys_max_cmd_len=102400
   6566     ;;
   6567   sysv5* | sco5v6* | sysv4.2uw2*)
   6568     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6569     if test -n "$kargmax"; then
   6570       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6571     else
   6572       lt_cv_sys_max_cmd_len=32768
   6573     fi
   6574     ;;
   6575   *)
   6576     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6577     if test -n "$lt_cv_sys_max_cmd_len" && \
   6578        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6579       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6580       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6581     else
   6582       # Make teststring a little bigger before we do anything with it.
   6583       # a 1K string should be a reasonable start.
   6584       for i in 1 2 3 4 5 6 7 8; do
   6585         teststring=$teststring$teststring
   6586       done
   6587       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6588       # If test is not a shell built-in, we'll probably end up computing a
   6589       # maximum length that is only half of the actual maximum length, but
   6590       # we can't tell.
   6591       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6592 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6593 	      test 17 != "$i" # 1/2 MB should be enough
   6594       do
   6595         i=`expr $i + 1`
   6596         teststring=$teststring$teststring
   6597       done
   6598       # Only check the string length outside the loop.
   6599       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6600       teststring=
   6601       # Add a significant safety factor because C++ compilers can tack on
   6602       # massive amounts of additional arguments before passing them to the
   6603       # linker.  It appears as though 1/2 is a usable value.
   6604       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6605     fi
   6606     ;;
   6607   esac
   6608 
   6609 fi
   6610 
   6611 if test -n "$lt_cv_sys_max_cmd_len"; then
   6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6613 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6614 else
   6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6616 $as_echo "none" >&6; }
   6617 fi
   6618 max_cmd_len=$lt_cv_sys_max_cmd_len
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 : ${CP="cp -f"}
   6626 : ${MV="mv -f"}
   6627 : ${RM="rm -f"}
   6628 
   6629 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6630   lt_unset=unset
   6631 else
   6632   lt_unset=false
   6633 fi
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 # test EBCDIC or ASCII
   6640 case `echo X|tr X '\101'` in
   6641  A) # ASCII based system
   6642     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6643   lt_SP2NL='tr \040 \012'
   6644   lt_NL2SP='tr \015\012 \040\040'
   6645   ;;
   6646  *) # EBCDIC based system
   6647   lt_SP2NL='tr \100 \n'
   6648   lt_NL2SP='tr \r\n \100\100'
   6649   ;;
   6650 esac
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6661 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6662 if ${lt_cv_to_host_file_cmd+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   case $host in
   6666   *-*-mingw* )
   6667     case $build in
   6668       *-*-mingw* ) # actually msys
   6669         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6670         ;;
   6671       *-*-cygwin* )
   6672         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6673         ;;
   6674       * ) # otherwise, assume *nix
   6675         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6676         ;;
   6677     esac
   6678     ;;
   6679   *-*-cygwin* )
   6680     case $build in
   6681       *-*-mingw* ) # actually msys
   6682         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6683         ;;
   6684       *-*-cygwin* )
   6685         lt_cv_to_host_file_cmd=func_convert_file_noop
   6686         ;;
   6687       * ) # otherwise, assume *nix
   6688         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6689         ;;
   6690     esac
   6691     ;;
   6692   * ) # unhandled hosts (and "normal" native builds)
   6693     lt_cv_to_host_file_cmd=func_convert_file_noop
   6694     ;;
   6695 esac
   6696 
   6697 fi
   6698 
   6699 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6701 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6708 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6709 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6710   $as_echo_n "(cached) " >&6
   6711 else
   6712   #assume ordinary cross tools, or native build.
   6713 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6714 case $host in
   6715   *-*-mingw* )
   6716     case $build in
   6717       *-*-mingw* ) # actually msys
   6718         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6719         ;;
   6720     esac
   6721     ;;
   6722 esac
   6723 
   6724 fi
   6725 
   6726 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6728 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6735 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6736 if ${lt_cv_ld_reload_flag+:} false; then :
   6737   $as_echo_n "(cached) " >&6
   6738 else
   6739   lt_cv_ld_reload_flag='-r'
   6740 fi
   6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6742 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6743 reload_flag=$lt_cv_ld_reload_flag
   6744 case $reload_flag in
   6745 "" | " "*) ;;
   6746 *) reload_flag=" $reload_flag" ;;
   6747 esac
   6748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6749 case $host_os in
   6750   cygwin* | mingw* | pw32* | cegcc*)
   6751     if test yes != "$GCC"; then
   6752       reload_cmds=false
   6753     fi
   6754     ;;
   6755   darwin*)
   6756     if test yes = "$GCC"; then
   6757       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6758     else
   6759       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6760     fi
   6761     ;;
   6762 esac
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 if test -n "$ac_tool_prefix"; then
   6773   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6774 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6776 $as_echo_n "checking for $ac_word... " >&6; }
   6777 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6778   $as_echo_n "(cached) " >&6
   6779 else
   6780   if test -n "$OBJDUMP"; then
   6781   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6782 else
   6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6784 for as_dir in $PATH
   6785 do
   6786   IFS=$as_save_IFS
   6787   test -z "$as_dir" && as_dir=.
   6788     for ac_exec_ext in '' $ac_executable_extensions; do
   6789   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6790     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6792     break 2
   6793   fi
   6794 done
   6795   done
   6796 IFS=$as_save_IFS
   6797 
   6798 fi
   6799 fi
   6800 OBJDUMP=$ac_cv_prog_OBJDUMP
   6801 if test -n "$OBJDUMP"; then
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6803 $as_echo "$OBJDUMP" >&6; }
   6804 else
   6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6806 $as_echo "no" >&6; }
   6807 fi
   6808 
   6809 
   6810 fi
   6811 if test -z "$ac_cv_prog_OBJDUMP"; then
   6812   ac_ct_OBJDUMP=$OBJDUMP
   6813   # Extract the first word of "objdump", so it can be a program name with args.
   6814 set dummy objdump; ac_word=$2
   6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6816 $as_echo_n "checking for $ac_word... " >&6; }
   6817 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6818   $as_echo_n "(cached) " >&6
   6819 else
   6820   if test -n "$ac_ct_OBJDUMP"; then
   6821   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6822 else
   6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6824 for as_dir in $PATH
   6825 do
   6826   IFS=$as_save_IFS
   6827   test -z "$as_dir" && as_dir=.
   6828     for ac_exec_ext in '' $ac_executable_extensions; do
   6829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6830     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6832     break 2
   6833   fi
   6834 done
   6835   done
   6836 IFS=$as_save_IFS
   6837 
   6838 fi
   6839 fi
   6840 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6841 if test -n "$ac_ct_OBJDUMP"; then
   6842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6843 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6844 else
   6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6846 $as_echo "no" >&6; }
   6847 fi
   6848 
   6849   if test "x$ac_ct_OBJDUMP" = x; then
   6850     OBJDUMP="false"
   6851   else
   6852     case $cross_compiling:$ac_tool_warned in
   6853 yes:)
   6854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6856 ac_tool_warned=yes ;;
   6857 esac
   6858     OBJDUMP=$ac_ct_OBJDUMP
   6859   fi
   6860 else
   6861   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6862 fi
   6863 
   6864 test -z "$OBJDUMP" && OBJDUMP=objdump
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6872 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6873 if ${lt_cv_deplibs_check_method+:} false; then :
   6874   $as_echo_n "(cached) " >&6
   6875 else
   6876   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6877 lt_cv_file_magic_test_file=
   6878 lt_cv_deplibs_check_method='unknown'
   6879 # Need to set the preceding variable on all platforms that support
   6880 # interlibrary dependencies.
   6881 # 'none' -- dependencies not supported.
   6882 # 'unknown' -- same as none, but documents that we really don't know.
   6883 # 'pass_all' -- all dependencies passed with no checks.
   6884 # 'test_compile' -- check by making test program.
   6885 # 'file_magic [[regex]]' -- check by looking for files in library path
   6886 # that responds to the $file_magic_cmd with a given extended regex.
   6887 # If you have 'file' or equivalent on your system and you're not sure
   6888 # whether 'pass_all' will *always* work, you probably want this one.
   6889 
   6890 case $host_os in
   6891 aix[4-9]*)
   6892   lt_cv_deplibs_check_method=pass_all
   6893   ;;
   6894 
   6895 beos*)
   6896   lt_cv_deplibs_check_method=pass_all
   6897   ;;
   6898 
   6899 bsdi[45]*)
   6900   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6901   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6902   lt_cv_file_magic_test_file=/shlib/libc.so
   6903   ;;
   6904 
   6905 cygwin*)
   6906   # func_win32_libid is a shell function defined in ltmain.sh
   6907   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6908   lt_cv_file_magic_cmd='func_win32_libid'
   6909   ;;
   6910 
   6911 mingw* | pw32*)
   6912   # Base MSYS/MinGW do not provide the 'file' command needed by
   6913   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6914   # unless we find 'file', for example because we are cross-compiling.
   6915   if ( file / ) >/dev/null 2>&1; then
   6916     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6917     lt_cv_file_magic_cmd='func_win32_libid'
   6918   else
   6919     # Keep this pattern in sync with the one in func_win32_libid.
   6920     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6921     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6922   fi
   6923   ;;
   6924 
   6925 cegcc*)
   6926   # use the weaker test based on 'objdump'. See mingw*.
   6927   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6928   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6929   ;;
   6930 
   6931 darwin* | rhapsody*)
   6932   lt_cv_deplibs_check_method=pass_all
   6933   ;;
   6934 
   6935 freebsd* | dragonfly*)
   6936   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6937     case $host_cpu in
   6938     i*86 )
   6939       # Not sure whether the presence of OpenBSD here was a mistake.
   6940       # Let's accept both of them until this is cleared up.
   6941       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6942       lt_cv_file_magic_cmd=/usr/bin/file
   6943       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6944       ;;
   6945     esac
   6946   else
   6947     lt_cv_deplibs_check_method=pass_all
   6948   fi
   6949   ;;
   6950 
   6951 haiku*)
   6952   lt_cv_deplibs_check_method=pass_all
   6953   ;;
   6954 
   6955 hpux10.20* | hpux11*)
   6956   lt_cv_file_magic_cmd=/usr/bin/file
   6957   case $host_cpu in
   6958   ia64*)
   6959     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6960     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6961     ;;
   6962   hppa*64*)
   6963     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]'
   6964     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6965     ;;
   6966   *)
   6967     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6968     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6969     ;;
   6970   esac
   6971   ;;
   6972 
   6973 interix[3-9]*)
   6974   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6975   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6976   ;;
   6977 
   6978 irix5* | irix6* | nonstopux*)
   6979   case $LD in
   6980   *-32|*"-32 ") libmagic=32-bit;;
   6981   *-n32|*"-n32 ") libmagic=N32;;
   6982   *-64|*"-64 ") libmagic=64-bit;;
   6983   *) libmagic=never-match;;
   6984   esac
   6985   lt_cv_deplibs_check_method=pass_all
   6986   ;;
   6987 
   6988 # This must be glibc/ELF.
   6989 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6990   lt_cv_deplibs_check_method=pass_all
   6991   ;;
   6992 
   6993 netbsd*)
   6994   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6995     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6996   else
   6997     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6998   fi
   6999   ;;
   7000 
   7001 newos6*)
   7002   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7003   lt_cv_file_magic_cmd=/usr/bin/file
   7004   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7005   ;;
   7006 
   7007 *nto* | *qnx*)
   7008   lt_cv_deplibs_check_method=pass_all
   7009   ;;
   7010 
   7011 openbsd* | bitrig*)
   7012   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7013     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7014   else
   7015     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7016   fi
   7017   ;;
   7018 
   7019 osf3* | osf4* | osf5*)
   7020   lt_cv_deplibs_check_method=pass_all
   7021   ;;
   7022 
   7023 rdos*)
   7024   lt_cv_deplibs_check_method=pass_all
   7025   ;;
   7026 
   7027 solaris*)
   7028   lt_cv_deplibs_check_method=pass_all
   7029   ;;
   7030 
   7031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7032   lt_cv_deplibs_check_method=pass_all
   7033   ;;
   7034 
   7035 sysv4 | sysv4.3*)
   7036   case $host_vendor in
   7037   motorola)
   7038     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]'
   7039     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7040     ;;
   7041   ncr)
   7042     lt_cv_deplibs_check_method=pass_all
   7043     ;;
   7044   sequent)
   7045     lt_cv_file_magic_cmd='/bin/file'
   7046     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7047     ;;
   7048   sni)
   7049     lt_cv_file_magic_cmd='/bin/file'
   7050     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7051     lt_cv_file_magic_test_file=/lib/libc.so
   7052     ;;
   7053   siemens)
   7054     lt_cv_deplibs_check_method=pass_all
   7055     ;;
   7056   pc)
   7057     lt_cv_deplibs_check_method=pass_all
   7058     ;;
   7059   esac
   7060   ;;
   7061 
   7062 tpf*)
   7063   lt_cv_deplibs_check_method=pass_all
   7064   ;;
   7065 os2*)
   7066   lt_cv_deplibs_check_method=pass_all
   7067   ;;
   7068 esac
   7069 
   7070 fi
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7072 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7073 
   7074 file_magic_glob=
   7075 want_nocaseglob=no
   7076 if test "$build" = "$host"; then
   7077   case $host_os in
   7078   mingw* | pw32*)
   7079     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7080       want_nocaseglob=yes
   7081     else
   7082       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7083     fi
   7084     ;;
   7085   esac
   7086 fi
   7087 
   7088 file_magic_cmd=$lt_cv_file_magic_cmd
   7089 deplibs_check_method=$lt_cv_deplibs_check_method
   7090 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 if test -n "$ac_tool_prefix"; then
   7114   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7115 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7117 $as_echo_n "checking for $ac_word... " >&6; }
   7118 if ${ac_cv_prog_DLLTOOL+:} false; then :
   7119   $as_echo_n "(cached) " >&6
   7120 else
   7121   if test -n "$DLLTOOL"; then
   7122   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7123 else
   7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7125 for as_dir in $PATH
   7126 do
   7127   IFS=$as_save_IFS
   7128   test -z "$as_dir" && as_dir=.
   7129     for ac_exec_ext in '' $ac_executable_extensions; do
   7130   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7131     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7133     break 2
   7134   fi
   7135 done
   7136   done
   7137 IFS=$as_save_IFS
   7138 
   7139 fi
   7140 fi
   7141 DLLTOOL=$ac_cv_prog_DLLTOOL
   7142 if test -n "$DLLTOOL"; then
   7143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7144 $as_echo "$DLLTOOL" >&6; }
   7145 else
   7146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7147 $as_echo "no" >&6; }
   7148 fi
   7149 
   7150 
   7151 fi
   7152 if test -z "$ac_cv_prog_DLLTOOL"; then
   7153   ac_ct_DLLTOOL=$DLLTOOL
   7154   # Extract the first word of "dlltool", so it can be a program name with args.
   7155 set dummy dlltool; ac_word=$2
   7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7157 $as_echo_n "checking for $ac_word... " >&6; }
   7158 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   7159   $as_echo_n "(cached) " >&6
   7160 else
   7161   if test -n "$ac_ct_DLLTOOL"; then
   7162   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7163 else
   7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7165 for as_dir in $PATH
   7166 do
   7167   IFS=$as_save_IFS
   7168   test -z "$as_dir" && as_dir=.
   7169     for ac_exec_ext in '' $ac_executable_extensions; do
   7170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7171     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7173     break 2
   7174   fi
   7175 done
   7176   done
   7177 IFS=$as_save_IFS
   7178 
   7179 fi
   7180 fi
   7181 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7182 if test -n "$ac_ct_DLLTOOL"; then
   7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7184 $as_echo "$ac_ct_DLLTOOL" >&6; }
   7185 else
   7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7187 $as_echo "no" >&6; }
   7188 fi
   7189 
   7190   if test "x$ac_ct_DLLTOOL" = x; then
   7191     DLLTOOL="false"
   7192   else
   7193     case $cross_compiling:$ac_tool_warned in
   7194 yes:)
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7197 ac_tool_warned=yes ;;
   7198 esac
   7199     DLLTOOL=$ac_ct_DLLTOOL
   7200   fi
   7201 else
   7202   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7203 fi
   7204 
   7205 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7214 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   7215 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   7216   $as_echo_n "(cached) " >&6
   7217 else
   7218   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7219 
   7220 case $host_os in
   7221 cygwin* | mingw* | pw32* | cegcc*)
   7222   # two different shell functions defined in ltmain.sh;
   7223   # decide which one to use based on capabilities of $DLLTOOL
   7224   case `$DLLTOOL --help 2>&1` in
   7225   *--identify-strict*)
   7226     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7227     ;;
   7228   *)
   7229     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7230     ;;
   7231   esac
   7232   ;;
   7233 *)
   7234   # fallback: assume linklib IS sharedlib
   7235   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7236   ;;
   7237 esac
   7238 
   7239 fi
   7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7241 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7242 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7243 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 if test -n "$ac_tool_prefix"; then
   7252   for ac_prog in ar
   7253   do
   7254     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7257 $as_echo_n "checking for $ac_word... " >&6; }
   7258 if ${ac_cv_prog_AR+:} false; then :
   7259   $as_echo_n "(cached) " >&6
   7260 else
   7261   if test -n "$AR"; then
   7262   ac_cv_prog_AR="$AR" # Let the user override the test.
   7263 else
   7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7265 for as_dir in $PATH
   7266 do
   7267   IFS=$as_save_IFS
   7268   test -z "$as_dir" && as_dir=.
   7269     for ac_exec_ext in '' $ac_executable_extensions; do
   7270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7271     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7273     break 2
   7274   fi
   7275 done
   7276   done
   7277 IFS=$as_save_IFS
   7278 
   7279 fi
   7280 fi
   7281 AR=$ac_cv_prog_AR
   7282 if test -n "$AR"; then
   7283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7284 $as_echo "$AR" >&6; }
   7285 else
   7286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7287 $as_echo "no" >&6; }
   7288 fi
   7289 
   7290 
   7291     test -n "$AR" && break
   7292   done
   7293 fi
   7294 if test -z "$AR"; then
   7295   ac_ct_AR=$AR
   7296   for ac_prog in ar
   7297 do
   7298   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7299 set dummy $ac_prog; ac_word=$2
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7301 $as_echo_n "checking for $ac_word... " >&6; }
   7302 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7303   $as_echo_n "(cached) " >&6
   7304 else
   7305   if test -n "$ac_ct_AR"; then
   7306   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7307 else
   7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7309 for as_dir in $PATH
   7310 do
   7311   IFS=$as_save_IFS
   7312   test -z "$as_dir" && as_dir=.
   7313     for ac_exec_ext in '' $ac_executable_extensions; do
   7314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7315     ac_cv_prog_ac_ct_AR="$ac_prog"
   7316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7317     break 2
   7318   fi
   7319 done
   7320   done
   7321 IFS=$as_save_IFS
   7322 
   7323 fi
   7324 fi
   7325 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7326 if test -n "$ac_ct_AR"; then
   7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7328 $as_echo "$ac_ct_AR" >&6; }
   7329 else
   7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7331 $as_echo "no" >&6; }
   7332 fi
   7333 
   7334 
   7335   test -n "$ac_ct_AR" && break
   7336 done
   7337 
   7338   if test "x$ac_ct_AR" = x; then
   7339     AR="false"
   7340   else
   7341     case $cross_compiling:$ac_tool_warned in
   7342 yes:)
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7345 ac_tool_warned=yes ;;
   7346 esac
   7347     AR=$ac_ct_AR
   7348   fi
   7349 fi
   7350 
   7351 : ${AR=ar}
   7352 : ${AR_FLAGS=cru}
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7365 $as_echo_n "checking for archiver @FILE support... " >&6; }
   7366 if ${lt_cv_ar_at_file+:} false; then :
   7367   $as_echo_n "(cached) " >&6
   7368 else
   7369   lt_cv_ar_at_file=no
   7370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7371 /* end confdefs.h.  */
   7372 
   7373 int
   7374 main ()
   7375 {
   7376 
   7377   ;
   7378   return 0;
   7379 }
   7380 _ACEOF
   7381 if ac_fn_c_try_compile "$LINENO"; then :
   7382   echo conftest.$ac_objext > conftest.lst
   7383       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7384       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7385   (eval $lt_ar_try) 2>&5
   7386   ac_status=$?
   7387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7388   test $ac_status = 0; }
   7389       if test 0 -eq "$ac_status"; then
   7390 	# Ensure the archiver fails upon bogus file names.
   7391 	rm -f conftest.$ac_objext libconftest.a
   7392 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7393   (eval $lt_ar_try) 2>&5
   7394   ac_status=$?
   7395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7396   test $ac_status = 0; }
   7397 	if test 0 -ne "$ac_status"; then
   7398           lt_cv_ar_at_file=@
   7399         fi
   7400       fi
   7401       rm -f conftest.* libconftest.a
   7402 
   7403 fi
   7404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7405 
   7406 fi
   7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7408 $as_echo "$lt_cv_ar_at_file" >&6; }
   7409 
   7410 if test no = "$lt_cv_ar_at_file"; then
   7411   archiver_list_spec=
   7412 else
   7413   archiver_list_spec=$lt_cv_ar_at_file
   7414 fi
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 if test -n "$ac_tool_prefix"; then
   7423   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7424 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7426 $as_echo_n "checking for $ac_word... " >&6; }
   7427 if ${ac_cv_prog_STRIP+:} false; then :
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   if test -n "$STRIP"; then
   7431   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7432 else
   7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7434 for as_dir in $PATH
   7435 do
   7436   IFS=$as_save_IFS
   7437   test -z "$as_dir" && as_dir=.
   7438     for ac_exec_ext in '' $ac_executable_extensions; do
   7439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7440     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7442     break 2
   7443   fi
   7444 done
   7445   done
   7446 IFS=$as_save_IFS
   7447 
   7448 fi
   7449 fi
   7450 STRIP=$ac_cv_prog_STRIP
   7451 if test -n "$STRIP"; then
   7452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7453 $as_echo "$STRIP" >&6; }
   7454 else
   7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7456 $as_echo "no" >&6; }
   7457 fi
   7458 
   7459 
   7460 fi
   7461 if test -z "$ac_cv_prog_STRIP"; then
   7462   ac_ct_STRIP=$STRIP
   7463   # Extract the first word of "strip", so it can be a program name with args.
   7464 set dummy strip; ac_word=$2
   7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7466 $as_echo_n "checking for $ac_word... " >&6; }
   7467 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   if test -n "$ac_ct_STRIP"; then
   7471   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7472 else
   7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7474 for as_dir in $PATH
   7475 do
   7476   IFS=$as_save_IFS
   7477   test -z "$as_dir" && as_dir=.
   7478     for ac_exec_ext in '' $ac_executable_extensions; do
   7479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7480     ac_cv_prog_ac_ct_STRIP="strip"
   7481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7482     break 2
   7483   fi
   7484 done
   7485   done
   7486 IFS=$as_save_IFS
   7487 
   7488 fi
   7489 fi
   7490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7491 if test -n "$ac_ct_STRIP"; then
   7492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7493 $as_echo "$ac_ct_STRIP" >&6; }
   7494 else
   7495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7496 $as_echo "no" >&6; }
   7497 fi
   7498 
   7499   if test "x$ac_ct_STRIP" = x; then
   7500     STRIP=":"
   7501   else
   7502     case $cross_compiling:$ac_tool_warned in
   7503 yes:)
   7504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7506 ac_tool_warned=yes ;;
   7507 esac
   7508     STRIP=$ac_ct_STRIP
   7509   fi
   7510 else
   7511   STRIP="$ac_cv_prog_STRIP"
   7512 fi
   7513 
   7514 test -z "$STRIP" && STRIP=:
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 if test -n "$ac_tool_prefix"; then
   7522   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7525 $as_echo_n "checking for $ac_word... " >&6; }
   7526 if ${ac_cv_prog_RANLIB+:} false; then :
   7527   $as_echo_n "(cached) " >&6
   7528 else
   7529   if test -n "$RANLIB"; then
   7530   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7531 else
   7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7533 for as_dir in $PATH
   7534 do
   7535   IFS=$as_save_IFS
   7536   test -z "$as_dir" && as_dir=.
   7537     for ac_exec_ext in '' $ac_executable_extensions; do
   7538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7539     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7541     break 2
   7542   fi
   7543 done
   7544   done
   7545 IFS=$as_save_IFS
   7546 
   7547 fi
   7548 fi
   7549 RANLIB=$ac_cv_prog_RANLIB
   7550 if test -n "$RANLIB"; then
   7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7552 $as_echo "$RANLIB" >&6; }
   7553 else
   7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7555 $as_echo "no" >&6; }
   7556 fi
   7557 
   7558 
   7559 fi
   7560 if test -z "$ac_cv_prog_RANLIB"; then
   7561   ac_ct_RANLIB=$RANLIB
   7562   # Extract the first word of "ranlib", so it can be a program name with args.
   7563 set dummy ranlib; ac_word=$2
   7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7565 $as_echo_n "checking for $ac_word... " >&6; }
   7566 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   if test -n "$ac_ct_RANLIB"; then
   7570   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7571 else
   7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7573 for as_dir in $PATH
   7574 do
   7575   IFS=$as_save_IFS
   7576   test -z "$as_dir" && as_dir=.
   7577     for ac_exec_ext in '' $ac_executable_extensions; do
   7578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7579     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7581     break 2
   7582   fi
   7583 done
   7584   done
   7585 IFS=$as_save_IFS
   7586 
   7587 fi
   7588 fi
   7589 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7590 if test -n "$ac_ct_RANLIB"; then
   7591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7592 $as_echo "$ac_ct_RANLIB" >&6; }
   7593 else
   7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7595 $as_echo "no" >&6; }
   7596 fi
   7597 
   7598   if test "x$ac_ct_RANLIB" = x; then
   7599     RANLIB=":"
   7600   else
   7601     case $cross_compiling:$ac_tool_warned in
   7602 yes:)
   7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7605 ac_tool_warned=yes ;;
   7606 esac
   7607     RANLIB=$ac_ct_RANLIB
   7608   fi
   7609 else
   7610   RANLIB="$ac_cv_prog_RANLIB"
   7611 fi
   7612 
   7613 test -z "$RANLIB" && RANLIB=:
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 # Determine commands to create old-style static archives.
   7621 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7622 old_postinstall_cmds='chmod 644 $oldlib'
   7623 old_postuninstall_cmds=
   7624 
   7625 if test -n "$RANLIB"; then
   7626   case $host_os in
   7627   bitrig* | openbsd*)
   7628     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7629     ;;
   7630   *)
   7631     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7632     ;;
   7633   esac
   7634   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7635 fi
   7636 
   7637 case $host_os in
   7638   darwin*)
   7639     lock_old_archive_extraction=yes ;;
   7640   *)
   7641     lock_old_archive_extraction=no ;;
   7642 esac
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 # If no C compiler was specified, use CC.
   7683 LTCC=${LTCC-"$CC"}
   7684 
   7685 # If no C compiler flags were specified, use CFLAGS.
   7686 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7687 
   7688 # Allow CC to be a program name with arguments.
   7689 compiler=$CC
   7690 
   7691 
   7692 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7694 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7695 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698 
   7699 # These are sane defaults that work on at least a few old systems.
   7700 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7701 
   7702 # Character class describing NM global symbol codes.
   7703 symcode='[BCDEGRST]'
   7704 
   7705 # Regexp to match symbols that can be accessed directly from C.
   7706 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7707 
   7708 # Define system-specific variables.
   7709 case $host_os in
   7710 aix*)
   7711   symcode='[BCDT]'
   7712   ;;
   7713 cygwin* | mingw* | pw32* | cegcc*)
   7714   symcode='[ABCDGISTW]'
   7715   ;;
   7716 hpux*)
   7717   if test ia64 = "$host_cpu"; then
   7718     symcode='[ABCDEGRST]'
   7719   fi
   7720   ;;
   7721 irix* | nonstopux*)
   7722   symcode='[BCDEGRST]'
   7723   ;;
   7724 osf*)
   7725   symcode='[BCDEGQRST]'
   7726   ;;
   7727 solaris*)
   7728   symcode='[BDRT]'
   7729   ;;
   7730 sco3.2v5*)
   7731   symcode='[DT]'
   7732   ;;
   7733 sysv4.2uw2*)
   7734   symcode='[DT]'
   7735   ;;
   7736 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7737   symcode='[ABDT]'
   7738   ;;
   7739 sysv4)
   7740   symcode='[DFNSTU]'
   7741   ;;
   7742 esac
   7743 
   7744 # If we're using GNU nm, then use its standard symbol codes.
   7745 case `$NM -V 2>&1` in
   7746 *GNU* | *'with BFD'*)
   7747   symcode='[ABCDGIRSTW]' ;;
   7748 esac
   7749 
   7750 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7751   # Gets list of data symbols to import.
   7752   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   7753   # Adjust the below global symbol transforms to fixup imported variables.
   7754   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7755   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7756   lt_c_name_lib_hook="\
   7757   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7758   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7759 else
   7760   # Disable hooks by default.
   7761   lt_cv_sys_global_symbol_to_import=
   7762   lt_cdecl_hook=
   7763   lt_c_name_hook=
   7764   lt_c_name_lib_hook=
   7765 fi
   7766 
   7767 # Transform an extracted symbol line into a proper C declaration.
   7768 # Some systems (esp. on ia64) link data and code symbols differently,
   7769 # so use this general approach.
   7770 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   7771 $lt_cdecl_hook\
   7772 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7773 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7774 
   7775 # Transform an extracted symbol line into symbol name and symbol address
   7776 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   7777 $lt_c_name_hook\
   7778 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7779 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7780 
   7781 # Transform an extracted symbol line into symbol name with lib prefix and
   7782 # symbol address.
   7783 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   7784 $lt_c_name_lib_hook\
   7785 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7786 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7787 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7788 
   7789 # Handle CRLF in mingw tool chain
   7790 opt_cr=
   7791 case $build_os in
   7792 mingw*)
   7793   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7794   ;;
   7795 esac
   7796 
   7797 # Try without a prefix underscore, then with it.
   7798 for ac_symprfx in "" "_"; do
   7799 
   7800   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7801   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7802 
   7803   # Write the raw and C identifiers.
   7804   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7805     # Fake it for dumpbin and say T for any non-static function,
   7806     # D for any global variable and I for any imported variable.
   7807     # Also find C++ and __fastcall symbols from MSVC++,
   7808     # which start with @ or ?.
   7809     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7810 "     {last_section=section; section=\$ 3};"\
   7811 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7812 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7813 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7814 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7815 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7816 "     \$ 0!~/External *\|/{next};"\
   7817 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7818 "     {if(hide[section]) next};"\
   7819 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7820 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7821 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7822 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7823 "     ' prfx=^$ac_symprfx"
   7824   else
   7825     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7826   fi
   7827   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7828 
   7829   # Check to see that the pipe works correctly.
   7830   pipe_works=no
   7831 
   7832   rm -f conftest*
   7833   cat > conftest.$ac_ext <<_LT_EOF
   7834 #ifdef __cplusplus
   7835 extern "C" {
   7836 #endif
   7837 char nm_test_var;
   7838 void nm_test_func(void);
   7839 void nm_test_func(void){}
   7840 #ifdef __cplusplus
   7841 }
   7842 #endif
   7843 int main(){nm_test_var='a';nm_test_func();return(0);}
   7844 _LT_EOF
   7845 
   7846   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7847   (eval $ac_compile) 2>&5
   7848   ac_status=$?
   7849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7850   test $ac_status = 0; }; then
   7851     # Now try to grab the symbols.
   7852     nlist=conftest.nm
   7853     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7854   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7855   ac_status=$?
   7856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7857   test $ac_status = 0; } && test -s "$nlist"; then
   7858       # Try sorting and uniquifying the output.
   7859       if sort "$nlist" | uniq > "$nlist"T; then
   7860 	mv -f "$nlist"T "$nlist"
   7861       else
   7862 	rm -f "$nlist"T
   7863       fi
   7864 
   7865       # Make sure that we snagged all the symbols we need.
   7866       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7867 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7868 	  cat <<_LT_EOF > conftest.$ac_ext
   7869 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7870 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7871 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7872    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7873 # define LT_DLSYM_CONST
   7874 #elif defined __osf__
   7875 /* This system does not cope well with relocations in const data.  */
   7876 # define LT_DLSYM_CONST
   7877 #else
   7878 # define LT_DLSYM_CONST const
   7879 #endif
   7880 
   7881 #ifdef __cplusplus
   7882 extern "C" {
   7883 #endif
   7884 
   7885 _LT_EOF
   7886 	  # Now generate the symbol file.
   7887 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7888 
   7889 	  cat <<_LT_EOF >> conftest.$ac_ext
   7890 
   7891 /* The mapping between symbol names and symbols.  */
   7892 LT_DLSYM_CONST struct {
   7893   const char *name;
   7894   void       *address;
   7895 }
   7896 lt__PROGRAM__LTX_preloaded_symbols[] =
   7897 {
   7898   { "@PROGRAM@", (void *) 0 },
   7899 _LT_EOF
   7900 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7901 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7902   {0, (void *) 0}
   7903 };
   7904 
   7905 /* This works around a problem in FreeBSD linker */
   7906 #ifdef FREEBSD_WORKAROUND
   7907 static const void *lt_preloaded_setup() {
   7908   return lt__PROGRAM__LTX_preloaded_symbols;
   7909 }
   7910 #endif
   7911 
   7912 #ifdef __cplusplus
   7913 }
   7914 #endif
   7915 _LT_EOF
   7916 	  # Now try linking the two files.
   7917 	  mv conftest.$ac_objext conftstm.$ac_objext
   7918 	  lt_globsym_save_LIBS=$LIBS
   7919 	  lt_globsym_save_CFLAGS=$CFLAGS
   7920 	  LIBS=conftstm.$ac_objext
   7921 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7922 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7923   (eval $ac_link) 2>&5
   7924   ac_status=$?
   7925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7926   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7927 	    pipe_works=yes
   7928 	  fi
   7929 	  LIBS=$lt_globsym_save_LIBS
   7930 	  CFLAGS=$lt_globsym_save_CFLAGS
   7931 	else
   7932 	  echo "cannot find nm_test_func in $nlist" >&5
   7933 	fi
   7934       else
   7935 	echo "cannot find nm_test_var in $nlist" >&5
   7936       fi
   7937     else
   7938       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7939     fi
   7940   else
   7941     echo "$progname: failed program was:" >&5
   7942     cat conftest.$ac_ext >&5
   7943   fi
   7944   rm -rf conftest* conftst*
   7945 
   7946   # Do not use the global_symbol_pipe unless it works.
   7947   if test yes = "$pipe_works"; then
   7948     break
   7949   else
   7950     lt_cv_sys_global_symbol_pipe=
   7951   fi
   7952 done
   7953 
   7954 fi
   7955 
   7956 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7957   lt_cv_sys_global_symbol_to_cdecl=
   7958 fi
   7959 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7961 $as_echo "failed" >&6; }
   7962 else
   7963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7964 $as_echo "ok" >&6; }
   7965 fi
   7966 
   7967 # Response file support.
   7968 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7969   nm_file_list_spec='@'
   7970 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7971   nm_file_list_spec='@'
   7972 fi
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8011 $as_echo_n "checking for sysroot... " >&6; }
   8012 
   8013 # Check whether --with-sysroot was given.
   8014 if test "${with_sysroot+set}" = set; then :
   8015   withval=$with_sysroot;
   8016 else
   8017   with_sysroot=no
   8018 fi
   8019 
   8020 
   8021 lt_sysroot=
   8022 case $with_sysroot in #(
   8023  yes)
   8024    if test yes = "$GCC"; then
   8025      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8026    fi
   8027    ;; #(
   8028  /*)
   8029    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   8030    ;; #(
   8031  no|'')
   8032    ;; #(
   8033  *)
   8034    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   8035 $as_echo "$with_sysroot" >&6; }
   8036    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8037    ;;
   8038 esac
   8039 
   8040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8041 $as_echo "${lt_sysroot:-no}" >&6; }
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8048 $as_echo_n "checking for a working dd... " >&6; }
   8049 if ${ac_cv_path_lt_DD+:} false; then :
   8050   $as_echo_n "(cached) " >&6
   8051 else
   8052   printf 0123456789abcdef0123456789abcdef >conftest.i
   8053 cat conftest.i conftest.i >conftest2.i
   8054 : ${lt_DD:=$DD}
   8055 if test -z "$lt_DD"; then
   8056   ac_path_lt_DD_found=false
   8057   # Loop through the user's path and test for each of PROGNAME-LIST
   8058   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8059 for as_dir in $PATH
   8060 do
   8061   IFS=$as_save_IFS
   8062   test -z "$as_dir" && as_dir=.
   8063     for ac_prog in dd; do
   8064     for ac_exec_ext in '' $ac_executable_extensions; do
   8065       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   8066       as_fn_executable_p "$ac_path_lt_DD" || continue
   8067 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8068   cmp -s conftest.i conftest.out \
   8069   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8070 fi
   8071       $ac_path_lt_DD_found && break 3
   8072     done
   8073   done
   8074   done
   8075 IFS=$as_save_IFS
   8076   if test -z "$ac_cv_path_lt_DD"; then
   8077     :
   8078   fi
   8079 else
   8080   ac_cv_path_lt_DD=$lt_DD
   8081 fi
   8082 
   8083 rm -f conftest.i conftest2.i conftest.out
   8084 fi
   8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8086 $as_echo "$ac_cv_path_lt_DD" >&6; }
   8087 
   8088 
   8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8090 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   8091 if ${lt_cv_truncate_bin+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   printf 0123456789abcdef0123456789abcdef >conftest.i
   8095 cat conftest.i conftest.i >conftest2.i
   8096 lt_cv_truncate_bin=
   8097 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8098   cmp -s conftest.i conftest.out \
   8099   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8100 fi
   8101 rm -f conftest.i conftest2.i conftest.out
   8102 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   8103 fi
   8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8105 $as_echo "$lt_cv_truncate_bin" >&6; }
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8114 func_cc_basename ()
   8115 {
   8116     for cc_temp in $*""; do
   8117       case $cc_temp in
   8118         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8119         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8120         \-*) ;;
   8121         *) break;;
   8122       esac
   8123     done
   8124     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8125 }
   8126 
   8127 # Check whether --enable-libtool-lock was given.
   8128 if test "${enable_libtool_lock+set}" = set; then :
   8129   enableval=$enable_libtool_lock;
   8130 fi
   8131 
   8132 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8133 
   8134 # Some flags need to be propagated to the compiler or linker for good
   8135 # libtool support.
   8136 case $host in
   8137 ia64-*-hpux*)
   8138   # Find out what ABI is being produced by ac_compile, and set mode
   8139   # options accordingly.
   8140   echo 'int i;' > conftest.$ac_ext
   8141   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8142   (eval $ac_compile) 2>&5
   8143   ac_status=$?
   8144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8145   test $ac_status = 0; }; then
   8146     case `/usr/bin/file conftest.$ac_objext` in
   8147       *ELF-32*)
   8148 	HPUX_IA64_MODE=32
   8149 	;;
   8150       *ELF-64*)
   8151 	HPUX_IA64_MODE=64
   8152 	;;
   8153     esac
   8154   fi
   8155   rm -rf conftest*
   8156   ;;
   8157 *-*-irix6*)
   8158   # Find out what ABI is being produced by ac_compile, and set linker
   8159   # options accordingly.
   8160   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8161   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8162   (eval $ac_compile) 2>&5
   8163   ac_status=$?
   8164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8165   test $ac_status = 0; }; then
   8166     if test yes = "$lt_cv_prog_gnu_ld"; then
   8167       case `/usr/bin/file conftest.$ac_objext` in
   8168 	*32-bit*)
   8169 	  LD="${LD-ld} -melf32bsmip"
   8170 	  ;;
   8171 	*N32*)
   8172 	  LD="${LD-ld} -melf32bmipn32"
   8173 	  ;;
   8174 	*64-bit*)
   8175 	  LD="${LD-ld} -melf64bmip"
   8176 	;;
   8177       esac
   8178     else
   8179       case `/usr/bin/file conftest.$ac_objext` in
   8180 	*32-bit*)
   8181 	  LD="${LD-ld} -32"
   8182 	  ;;
   8183 	*N32*)
   8184 	  LD="${LD-ld} -n32"
   8185 	  ;;
   8186 	*64-bit*)
   8187 	  LD="${LD-ld} -64"
   8188 	  ;;
   8189       esac
   8190     fi
   8191   fi
   8192   rm -rf conftest*
   8193   ;;
   8194 
   8195 mips64*-*linux*)
   8196   # Find out what ABI is being produced by ac_compile, and set linker
   8197   # options accordingly.
   8198   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8199   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8200   (eval $ac_compile) 2>&5
   8201   ac_status=$?
   8202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8203   test $ac_status = 0; }; then
   8204     emul=elf
   8205     case `/usr/bin/file conftest.$ac_objext` in
   8206       *32-bit*)
   8207 	emul="${emul}32"
   8208 	;;
   8209       *64-bit*)
   8210 	emul="${emul}64"
   8211 	;;
   8212     esac
   8213     case `/usr/bin/file conftest.$ac_objext` in
   8214       *MSB*)
   8215 	emul="${emul}btsmip"
   8216 	;;
   8217       *LSB*)
   8218 	emul="${emul}ltsmip"
   8219 	;;
   8220     esac
   8221     case `/usr/bin/file conftest.$ac_objext` in
   8222       *N32*)
   8223 	emul="${emul}n32"
   8224 	;;
   8225     esac
   8226     LD="${LD-ld} -m $emul"
   8227   fi
   8228   rm -rf conftest*
   8229   ;;
   8230 
   8231 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8232 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8233   # Find out what ABI is being produced by ac_compile, and set linker
   8234   # options accordingly.  Note that the listed cases only cover the
   8235   # situations where additional linker options are needed (such as when
   8236   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8237   # vice versa); the common cases where no linker options are needed do
   8238   # not appear in the list.
   8239   echo 'int i;' > conftest.$ac_ext
   8240   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8241   (eval $ac_compile) 2>&5
   8242   ac_status=$?
   8243   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8244   test $ac_status = 0; }; then
   8245     case `/usr/bin/file conftest.o` in
   8246       *32-bit*)
   8247 	case $host in
   8248 	  x86_64-*kfreebsd*-gnu)
   8249 	    LD="${LD-ld} -m elf_i386_fbsd"
   8250 	    ;;
   8251 	  x86_64-*linux*)
   8252 	    case `/usr/bin/file conftest.o` in
   8253 	      *x86-64*)
   8254 		LD="${LD-ld} -m elf32_x86_64"
   8255 		;;
   8256 	      *)
   8257 		LD="${LD-ld} -m elf_i386"
   8258 		;;
   8259 	    esac
   8260 	    ;;
   8261 	  powerpc64le-*linux*)
   8262 	    LD="${LD-ld} -m elf32lppclinux"
   8263 	    ;;
   8264 	  powerpc64-*linux*)
   8265 	    LD="${LD-ld} -m elf32ppclinux"
   8266 	    ;;
   8267 	  s390x-*linux*)
   8268 	    LD="${LD-ld} -m elf_s390"
   8269 	    ;;
   8270 	  sparc64-*linux*)
   8271 	    LD="${LD-ld} -m elf32_sparc"
   8272 	    ;;
   8273 	esac
   8274 	;;
   8275       *64-bit*)
   8276 	case $host in
   8277 	  x86_64-*kfreebsd*-gnu)
   8278 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8279 	    ;;
   8280 	  x86_64-*linux*)
   8281 	    LD="${LD-ld} -m elf_x86_64"
   8282 	    ;;
   8283 	  powerpcle-*linux*)
   8284 	    LD="${LD-ld} -m elf64lppc"
   8285 	    ;;
   8286 	  powerpc-*linux*)
   8287 	    LD="${LD-ld} -m elf64ppc"
   8288 	    ;;
   8289 	  s390*-*linux*|s390*-*tpf*)
   8290 	    LD="${LD-ld} -m elf64_s390"
   8291 	    ;;
   8292 	  sparc*-*linux*)
   8293 	    LD="${LD-ld} -m elf64_sparc"
   8294 	    ;;
   8295 	esac
   8296 	;;
   8297     esac
   8298   fi
   8299   rm -rf conftest*
   8300   ;;
   8301 
   8302 *-*-sco3.2v5*)
   8303   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8304   SAVE_CFLAGS=$CFLAGS
   8305   CFLAGS="$CFLAGS -belf"
   8306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8307 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8308 if ${lt_cv_cc_needs_belf+:} false; then :
   8309   $as_echo_n "(cached) " >&6
   8310 else
   8311   ac_ext=c
   8312 ac_cpp='$CPP $CPPFLAGS'
   8313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8316 
   8317      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8318 /* end confdefs.h.  */
   8319 
   8320 int
   8321 main ()
   8322 {
   8323 
   8324   ;
   8325   return 0;
   8326 }
   8327 _ACEOF
   8328 if ac_fn_c_try_link "$LINENO"; then :
   8329   lt_cv_cc_needs_belf=yes
   8330 else
   8331   lt_cv_cc_needs_belf=no
   8332 fi
   8333 rm -f core conftest.err conftest.$ac_objext \
   8334     conftest$ac_exeext conftest.$ac_ext
   8335      ac_ext=c
   8336 ac_cpp='$CPP $CPPFLAGS'
   8337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8340 
   8341 fi
   8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8343 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8344   if test yes != "$lt_cv_cc_needs_belf"; then
   8345     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8346     CFLAGS=$SAVE_CFLAGS
   8347   fi
   8348   ;;
   8349 *-*solaris*)
   8350   # Find out what ABI is being produced by ac_compile, and set linker
   8351   # options accordingly.
   8352   echo 'int i;' > conftest.$ac_ext
   8353   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8354   (eval $ac_compile) 2>&5
   8355   ac_status=$?
   8356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8357   test $ac_status = 0; }; then
   8358     case `/usr/bin/file conftest.o` in
   8359     *64-bit*)
   8360       case $lt_cv_prog_gnu_ld in
   8361       yes*)
   8362         case $host in
   8363         i?86-*-solaris*|x86_64-*-solaris*)
   8364           LD="${LD-ld} -m elf_x86_64"
   8365           ;;
   8366         sparc*-*-solaris*)
   8367           LD="${LD-ld} -m elf64_sparc"
   8368           ;;
   8369         esac
   8370         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8371         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8372           LD=${LD-ld}_sol2
   8373         fi
   8374         ;;
   8375       *)
   8376 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8377 	  LD="${LD-ld} -64"
   8378 	fi
   8379 	;;
   8380       esac
   8381       ;;
   8382     esac
   8383   fi
   8384   rm -rf conftest*
   8385   ;;
   8386 esac
   8387 
   8388 need_locks=$enable_libtool_lock
   8389 
   8390 if test -n "$ac_tool_prefix"; then
   8391   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8392 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8394 $as_echo_n "checking for $ac_word... " >&6; }
   8395 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   8396   $as_echo_n "(cached) " >&6
   8397 else
   8398   if test -n "$MANIFEST_TOOL"; then
   8399   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8400 else
   8401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8402 for as_dir in $PATH
   8403 do
   8404   IFS=$as_save_IFS
   8405   test -z "$as_dir" && as_dir=.
   8406     for ac_exec_ext in '' $ac_executable_extensions; do
   8407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8408     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8410     break 2
   8411   fi
   8412 done
   8413   done
   8414 IFS=$as_save_IFS
   8415 
   8416 fi
   8417 fi
   8418 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8419 if test -n "$MANIFEST_TOOL"; then
   8420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8421 $as_echo "$MANIFEST_TOOL" >&6; }
   8422 else
   8423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8424 $as_echo "no" >&6; }
   8425 fi
   8426 
   8427 
   8428 fi
   8429 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8430   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8431   # Extract the first word of "mt", so it can be a program name with args.
   8432 set dummy mt; ac_word=$2
   8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8434 $as_echo_n "checking for $ac_word... " >&6; }
   8435 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   8436   $as_echo_n "(cached) " >&6
   8437 else
   8438   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8439   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8440 else
   8441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8442 for as_dir in $PATH
   8443 do
   8444   IFS=$as_save_IFS
   8445   test -z "$as_dir" && as_dir=.
   8446     for ac_exec_ext in '' $ac_executable_extensions; do
   8447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8448     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8450     break 2
   8451   fi
   8452 done
   8453   done
   8454 IFS=$as_save_IFS
   8455 
   8456 fi
   8457 fi
   8458 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8459 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8461 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   8462 else
   8463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8464 $as_echo "no" >&6; }
   8465 fi
   8466 
   8467   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8468     MANIFEST_TOOL=":"
   8469   else
   8470     case $cross_compiling:$ac_tool_warned in
   8471 yes:)
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8474 ac_tool_warned=yes ;;
   8475 esac
   8476     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8477   fi
   8478 else
   8479   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8480 fi
   8481 
   8482 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8484 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8485 if ${lt_cv_path_mainfest_tool+:} false; then :
   8486   $as_echo_n "(cached) " >&6
   8487 else
   8488   lt_cv_path_mainfest_tool=no
   8489   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8490   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8491   cat conftest.err >&5
   8492   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8493     lt_cv_path_mainfest_tool=yes
   8494   fi
   8495   rm -f conftest*
   8496 fi
   8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8498 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   8499 if test yes != "$lt_cv_path_mainfest_tool"; then
   8500   MANIFEST_TOOL=:
   8501 fi
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508   case $host_os in
   8509     rhapsody* | darwin*)
   8510     if test -n "$ac_tool_prefix"; then
   8511   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8512 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8514 $as_echo_n "checking for $ac_word... " >&6; }
   8515 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8516   $as_echo_n "(cached) " >&6
   8517 else
   8518   if test -n "$DSYMUTIL"; then
   8519   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8520 else
   8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8522 for as_dir in $PATH
   8523 do
   8524   IFS=$as_save_IFS
   8525   test -z "$as_dir" && as_dir=.
   8526     for ac_exec_ext in '' $ac_executable_extensions; do
   8527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8528     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8530     break 2
   8531   fi
   8532 done
   8533   done
   8534 IFS=$as_save_IFS
   8535 
   8536 fi
   8537 fi
   8538 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8539 if test -n "$DSYMUTIL"; then
   8540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8541 $as_echo "$DSYMUTIL" >&6; }
   8542 else
   8543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8544 $as_echo "no" >&6; }
   8545 fi
   8546 
   8547 
   8548 fi
   8549 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8550   ac_ct_DSYMUTIL=$DSYMUTIL
   8551   # Extract the first word of "dsymutil", so it can be a program name with args.
   8552 set dummy dsymutil; ac_word=$2
   8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8554 $as_echo_n "checking for $ac_word... " >&6; }
   8555 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8556   $as_echo_n "(cached) " >&6
   8557 else
   8558   if test -n "$ac_ct_DSYMUTIL"; then
   8559   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8560 else
   8561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8562 for as_dir in $PATH
   8563 do
   8564   IFS=$as_save_IFS
   8565   test -z "$as_dir" && as_dir=.
   8566     for ac_exec_ext in '' $ac_executable_extensions; do
   8567   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8568     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8570     break 2
   8571   fi
   8572 done
   8573   done
   8574 IFS=$as_save_IFS
   8575 
   8576 fi
   8577 fi
   8578 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8579 if test -n "$ac_ct_DSYMUTIL"; then
   8580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8581 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8582 else
   8583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8584 $as_echo "no" >&6; }
   8585 fi
   8586 
   8587   if test "x$ac_ct_DSYMUTIL" = x; then
   8588     DSYMUTIL=":"
   8589   else
   8590     case $cross_compiling:$ac_tool_warned in
   8591 yes:)
   8592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8594 ac_tool_warned=yes ;;
   8595 esac
   8596     DSYMUTIL=$ac_ct_DSYMUTIL
   8597   fi
   8598 else
   8599   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8600 fi
   8601 
   8602     if test -n "$ac_tool_prefix"; then
   8603   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8604 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8606 $as_echo_n "checking for $ac_word... " >&6; }
   8607 if ${ac_cv_prog_NMEDIT+:} false; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   if test -n "$NMEDIT"; then
   8611   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8612 else
   8613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8614 for as_dir in $PATH
   8615 do
   8616   IFS=$as_save_IFS
   8617   test -z "$as_dir" && as_dir=.
   8618     for ac_exec_ext in '' $ac_executable_extensions; do
   8619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8620     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8622     break 2
   8623   fi
   8624 done
   8625   done
   8626 IFS=$as_save_IFS
   8627 
   8628 fi
   8629 fi
   8630 NMEDIT=$ac_cv_prog_NMEDIT
   8631 if test -n "$NMEDIT"; then
   8632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8633 $as_echo "$NMEDIT" >&6; }
   8634 else
   8635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8636 $as_echo "no" >&6; }
   8637 fi
   8638 
   8639 
   8640 fi
   8641 if test -z "$ac_cv_prog_NMEDIT"; then
   8642   ac_ct_NMEDIT=$NMEDIT
   8643   # Extract the first word of "nmedit", so it can be a program name with args.
   8644 set dummy nmedit; ac_word=$2
   8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8646 $as_echo_n "checking for $ac_word... " >&6; }
   8647 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   if test -n "$ac_ct_NMEDIT"; then
   8651   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8652 else
   8653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8654 for as_dir in $PATH
   8655 do
   8656   IFS=$as_save_IFS
   8657   test -z "$as_dir" && as_dir=.
   8658     for ac_exec_ext in '' $ac_executable_extensions; do
   8659   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8660     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8662     break 2
   8663   fi
   8664 done
   8665   done
   8666 IFS=$as_save_IFS
   8667 
   8668 fi
   8669 fi
   8670 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8671 if test -n "$ac_ct_NMEDIT"; then
   8672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8673 $as_echo "$ac_ct_NMEDIT" >&6; }
   8674 else
   8675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8676 $as_echo "no" >&6; }
   8677 fi
   8678 
   8679   if test "x$ac_ct_NMEDIT" = x; then
   8680     NMEDIT=":"
   8681   else
   8682     case $cross_compiling:$ac_tool_warned in
   8683 yes:)
   8684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8686 ac_tool_warned=yes ;;
   8687 esac
   8688     NMEDIT=$ac_ct_NMEDIT
   8689   fi
   8690 else
   8691   NMEDIT="$ac_cv_prog_NMEDIT"
   8692 fi
   8693 
   8694     if test -n "$ac_tool_prefix"; then
   8695   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8696 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8698 $as_echo_n "checking for $ac_word... " >&6; }
   8699 if ${ac_cv_prog_LIPO+:} false; then :
   8700   $as_echo_n "(cached) " >&6
   8701 else
   8702   if test -n "$LIPO"; then
   8703   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8704 else
   8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8706 for as_dir in $PATH
   8707 do
   8708   IFS=$as_save_IFS
   8709   test -z "$as_dir" && as_dir=.
   8710     for ac_exec_ext in '' $ac_executable_extensions; do
   8711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8712     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8714     break 2
   8715   fi
   8716 done
   8717   done
   8718 IFS=$as_save_IFS
   8719 
   8720 fi
   8721 fi
   8722 LIPO=$ac_cv_prog_LIPO
   8723 if test -n "$LIPO"; then
   8724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8725 $as_echo "$LIPO" >&6; }
   8726 else
   8727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8728 $as_echo "no" >&6; }
   8729 fi
   8730 
   8731 
   8732 fi
   8733 if test -z "$ac_cv_prog_LIPO"; then
   8734   ac_ct_LIPO=$LIPO
   8735   # Extract the first word of "lipo", so it can be a program name with args.
   8736 set dummy lipo; ac_word=$2
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8738 $as_echo_n "checking for $ac_word... " >&6; }
   8739 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8740   $as_echo_n "(cached) " >&6
   8741 else
   8742   if test -n "$ac_ct_LIPO"; then
   8743   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8744 else
   8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8746 for as_dir in $PATH
   8747 do
   8748   IFS=$as_save_IFS
   8749   test -z "$as_dir" && as_dir=.
   8750     for ac_exec_ext in '' $ac_executable_extensions; do
   8751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8752     ac_cv_prog_ac_ct_LIPO="lipo"
   8753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8754     break 2
   8755   fi
   8756 done
   8757   done
   8758 IFS=$as_save_IFS
   8759 
   8760 fi
   8761 fi
   8762 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8763 if test -n "$ac_ct_LIPO"; then
   8764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8765 $as_echo "$ac_ct_LIPO" >&6; }
   8766 else
   8767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8768 $as_echo "no" >&6; }
   8769 fi
   8770 
   8771   if test "x$ac_ct_LIPO" = x; then
   8772     LIPO=":"
   8773   else
   8774     case $cross_compiling:$ac_tool_warned in
   8775 yes:)
   8776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8778 ac_tool_warned=yes ;;
   8779 esac
   8780     LIPO=$ac_ct_LIPO
   8781   fi
   8782 else
   8783   LIPO="$ac_cv_prog_LIPO"
   8784 fi
   8785 
   8786     if test -n "$ac_tool_prefix"; then
   8787   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8788 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8790 $as_echo_n "checking for $ac_word... " >&6; }
   8791 if ${ac_cv_prog_OTOOL+:} false; then :
   8792   $as_echo_n "(cached) " >&6
   8793 else
   8794   if test -n "$OTOOL"; then
   8795   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8796 else
   8797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8798 for as_dir in $PATH
   8799 do
   8800   IFS=$as_save_IFS
   8801   test -z "$as_dir" && as_dir=.
   8802     for ac_exec_ext in '' $ac_executable_extensions; do
   8803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8804     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8806     break 2
   8807   fi
   8808 done
   8809   done
   8810 IFS=$as_save_IFS
   8811 
   8812 fi
   8813 fi
   8814 OTOOL=$ac_cv_prog_OTOOL
   8815 if test -n "$OTOOL"; then
   8816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8817 $as_echo "$OTOOL" >&6; }
   8818 else
   8819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8820 $as_echo "no" >&6; }
   8821 fi
   8822 
   8823 
   8824 fi
   8825 if test -z "$ac_cv_prog_OTOOL"; then
   8826   ac_ct_OTOOL=$OTOOL
   8827   # Extract the first word of "otool", so it can be a program name with args.
   8828 set dummy otool; ac_word=$2
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8830 $as_echo_n "checking for $ac_word... " >&6; }
   8831 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8832   $as_echo_n "(cached) " >&6
   8833 else
   8834   if test -n "$ac_ct_OTOOL"; then
   8835   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8836 else
   8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8838 for as_dir in $PATH
   8839 do
   8840   IFS=$as_save_IFS
   8841   test -z "$as_dir" && as_dir=.
   8842     for ac_exec_ext in '' $ac_executable_extensions; do
   8843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8844     ac_cv_prog_ac_ct_OTOOL="otool"
   8845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8846     break 2
   8847   fi
   8848 done
   8849   done
   8850 IFS=$as_save_IFS
   8851 
   8852 fi
   8853 fi
   8854 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8855 if test -n "$ac_ct_OTOOL"; then
   8856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8857 $as_echo "$ac_ct_OTOOL" >&6; }
   8858 else
   8859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8860 $as_echo "no" >&6; }
   8861 fi
   8862 
   8863   if test "x$ac_ct_OTOOL" = x; then
   8864     OTOOL=":"
   8865   else
   8866     case $cross_compiling:$ac_tool_warned in
   8867 yes:)
   8868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8870 ac_tool_warned=yes ;;
   8871 esac
   8872     OTOOL=$ac_ct_OTOOL
   8873   fi
   8874 else
   8875   OTOOL="$ac_cv_prog_OTOOL"
   8876 fi
   8877 
   8878     if test -n "$ac_tool_prefix"; then
   8879   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8880 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8882 $as_echo_n "checking for $ac_word... " >&6; }
   8883 if ${ac_cv_prog_OTOOL64+:} false; then :
   8884   $as_echo_n "(cached) " >&6
   8885 else
   8886   if test -n "$OTOOL64"; then
   8887   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8888 else
   8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8890 for as_dir in $PATH
   8891 do
   8892   IFS=$as_save_IFS
   8893   test -z "$as_dir" && as_dir=.
   8894     for ac_exec_ext in '' $ac_executable_extensions; do
   8895   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8896     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8898     break 2
   8899   fi
   8900 done
   8901   done
   8902 IFS=$as_save_IFS
   8903 
   8904 fi
   8905 fi
   8906 OTOOL64=$ac_cv_prog_OTOOL64
   8907 if test -n "$OTOOL64"; then
   8908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8909 $as_echo "$OTOOL64" >&6; }
   8910 else
   8911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8912 $as_echo "no" >&6; }
   8913 fi
   8914 
   8915 
   8916 fi
   8917 if test -z "$ac_cv_prog_OTOOL64"; then
   8918   ac_ct_OTOOL64=$OTOOL64
   8919   # Extract the first word of "otool64", so it can be a program name with args.
   8920 set dummy otool64; ac_word=$2
   8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8922 $as_echo_n "checking for $ac_word... " >&6; }
   8923 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8924   $as_echo_n "(cached) " >&6
   8925 else
   8926   if test -n "$ac_ct_OTOOL64"; then
   8927   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8928 else
   8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8930 for as_dir in $PATH
   8931 do
   8932   IFS=$as_save_IFS
   8933   test -z "$as_dir" && as_dir=.
   8934     for ac_exec_ext in '' $ac_executable_extensions; do
   8935   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8936     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8938     break 2
   8939   fi
   8940 done
   8941   done
   8942 IFS=$as_save_IFS
   8943 
   8944 fi
   8945 fi
   8946 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8947 if test -n "$ac_ct_OTOOL64"; then
   8948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8949 $as_echo "$ac_ct_OTOOL64" >&6; }
   8950 else
   8951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8952 $as_echo "no" >&6; }
   8953 fi
   8954 
   8955   if test "x$ac_ct_OTOOL64" = x; then
   8956     OTOOL64=":"
   8957   else
   8958     case $cross_compiling:$ac_tool_warned in
   8959 yes:)
   8960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8962 ac_tool_warned=yes ;;
   8963 esac
   8964     OTOOL64=$ac_ct_OTOOL64
   8965   fi
   8966 else
   8967   OTOOL64="$ac_cv_prog_OTOOL64"
   8968 fi
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8997 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8998 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8999   $as_echo_n "(cached) " >&6
   9000 else
   9001   lt_cv_apple_cc_single_mod=no
   9002       if test -z "$LT_MULTI_MODULE"; then
   9003 	# By default we will add the -single_module flag. You can override
   9004 	# by either setting the environment variable LT_MULTI_MODULE
   9005 	# non-empty at configure time, or by adding -multi_module to the
   9006 	# link flags.
   9007 	rm -rf libconftest.dylib*
   9008 	echo "int foo(void){return 1;}" > conftest.c
   9009 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9010 -dynamiclib -Wl,-single_module conftest.c" >&5
   9011 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9012 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9013         _lt_result=$?
   9014 	# If there is a non-empty error log, and "single_module"
   9015 	# appears in it, assume the flag caused a linker warning
   9016         if test -s conftest.err && $GREP single_module conftest.err; then
   9017 	  cat conftest.err >&5
   9018 	# Otherwise, if the output was created with a 0 exit code from
   9019 	# the compiler, it worked.
   9020 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9021 	  lt_cv_apple_cc_single_mod=yes
   9022 	else
   9023 	  cat conftest.err >&5
   9024 	fi
   9025 	rm -rf libconftest.dylib*
   9026 	rm -f conftest.*
   9027       fi
   9028 fi
   9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9030 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9031 
   9032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9033 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9034 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   9035   $as_echo_n "(cached) " >&6
   9036 else
   9037   lt_cv_ld_exported_symbols_list=no
   9038       save_LDFLAGS=$LDFLAGS
   9039       echo "_main" > conftest.sym
   9040       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9042 /* end confdefs.h.  */
   9043 
   9044 int
   9045 main ()
   9046 {
   9047 
   9048   ;
   9049   return 0;
   9050 }
   9051 _ACEOF
   9052 if ac_fn_c_try_link "$LINENO"; then :
   9053   lt_cv_ld_exported_symbols_list=yes
   9054 else
   9055   lt_cv_ld_exported_symbols_list=no
   9056 fi
   9057 rm -f core conftest.err conftest.$ac_objext \
   9058     conftest$ac_exeext conftest.$ac_ext
   9059 	LDFLAGS=$save_LDFLAGS
   9060 
   9061 fi
   9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9063 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9064 
   9065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9066 $as_echo_n "checking for -force_load linker flag... " >&6; }
   9067 if ${lt_cv_ld_force_load+:} false; then :
   9068   $as_echo_n "(cached) " >&6
   9069 else
   9070   lt_cv_ld_force_load=no
   9071       cat > conftest.c << _LT_EOF
   9072 int forced_loaded() { return 2;}
   9073 _LT_EOF
   9074       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9075       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9076       echo "$AR cru libconftest.a conftest.o" >&5
   9077       $AR cru libconftest.a conftest.o 2>&5
   9078       echo "$RANLIB libconftest.a" >&5
   9079       $RANLIB libconftest.a 2>&5
   9080       cat > conftest.c << _LT_EOF
   9081 int main() { return 0;}
   9082 _LT_EOF
   9083       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9084       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9085       _lt_result=$?
   9086       if test -s conftest.err && $GREP force_load conftest.err; then
   9087 	cat conftest.err >&5
   9088       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9089 	lt_cv_ld_force_load=yes
   9090       else
   9091 	cat conftest.err >&5
   9092       fi
   9093         rm -f conftest.err libconftest.a conftest conftest.c
   9094         rm -rf conftest.dSYM
   9095 
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9098 $as_echo "$lt_cv_ld_force_load" >&6; }
   9099     case $host_os in
   9100     rhapsody* | darwin1.[012])
   9101       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9102     darwin1.*)
   9103       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9104     darwin*) # darwin 5.x on
   9105       # if running on 10.5 or later, the deployment target defaults
   9106       # to the OS version, if on x86, and 10.4, the deployment
   9107       # target defaults to 10.4. Don't you love it?
   9108       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9109 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9110 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9111 	10.[012][,.]*)
   9112 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9113 	10.*)
   9114 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9115       esac
   9116     ;;
   9117   esac
   9118     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9119       _lt_dar_single_mod='$single_module'
   9120     fi
   9121     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9122       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9123     else
   9124       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9125     fi
   9126     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9127       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9128     else
   9129       _lt_dsymutil=
   9130     fi
   9131     ;;
   9132   esac
   9133 
   9134 # func_munge_path_list VARIABLE PATH
   9135 # -----------------------------------
   9136 # VARIABLE is name of variable containing _space_ separated list of
   9137 # directories to be munged by the contents of PATH, which is string
   9138 # having a format:
   9139 # "DIR[:DIR]:"
   9140 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9141 # ":DIR[:DIR]"
   9142 #       string "DIR[ DIR]" will be appended to VARIABLE
   9143 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9144 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9145 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9146 # "DIR[:DIR]"
   9147 #       VARIABLE will be replaced by "DIR[ DIR]"
   9148 func_munge_path_list ()
   9149 {
   9150     case x$2 in
   9151     x)
   9152         ;;
   9153     *:)
   9154         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9155         ;;
   9156     x:*)
   9157         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9158         ;;
   9159     *::*)
   9160         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9161         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9162         ;;
   9163     *)
   9164         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9165         ;;
   9166     esac
   9167 }
   9168 
   9169 for ac_header in dlfcn.h
   9170 do :
   9171   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9172 "
   9173 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9174   cat >>confdefs.h <<_ACEOF
   9175 #define HAVE_DLFCN_H 1
   9176 _ACEOF
   9177 
   9178 fi
   9179 
   9180 done
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 # Set options
   9187 
   9188 
   9189 
   9190         enable_dlopen=no
   9191 
   9192 
   9193 
   9194             # Check whether --enable-shared was given.
   9195 if test "${enable_shared+set}" = set; then :
   9196   enableval=$enable_shared; p=${PACKAGE-default}
   9197     case $enableval in
   9198     yes) enable_shared=yes ;;
   9199     no) enable_shared=no ;;
   9200     *)
   9201       enable_shared=no
   9202       # Look at the argument we got.  We use all the common list separators.
   9203       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9204       for pkg in $enableval; do
   9205 	IFS=$lt_save_ifs
   9206 	if test "X$pkg" = "X$p"; then
   9207 	  enable_shared=yes
   9208 	fi
   9209       done
   9210       IFS=$lt_save_ifs
   9211       ;;
   9212     esac
   9213 else
   9214   enable_shared=yes
   9215 fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225   # Check whether --enable-static was given.
   9226 if test "${enable_static+set}" = set; then :
   9227   enableval=$enable_static; p=${PACKAGE-default}
   9228     case $enableval in
   9229     yes) enable_static=yes ;;
   9230     no) enable_static=no ;;
   9231     *)
   9232      enable_static=no
   9233       # Look at the argument we got.  We use all the common list separators.
   9234       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9235       for pkg in $enableval; do
   9236 	IFS=$lt_save_ifs
   9237 	if test "X$pkg" = "X$p"; then
   9238 	  enable_static=yes
   9239 	fi
   9240       done
   9241       IFS=$lt_save_ifs
   9242       ;;
   9243     esac
   9244 else
   9245   enable_static=yes
   9246 fi
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 # Check whether --with-pic was given.
   9258 if test "${with_pic+set}" = set; then :
   9259   withval=$with_pic; lt_p=${PACKAGE-default}
   9260     case $withval in
   9261     yes|no) pic_mode=$withval ;;
   9262     *)
   9263       pic_mode=default
   9264       # Look at the argument we got.  We use all the common list separators.
   9265       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9266       for lt_pkg in $withval; do
   9267 	IFS=$lt_save_ifs
   9268 	if test "X$lt_pkg" = "X$lt_p"; then
   9269 	  pic_mode=yes
   9270 	fi
   9271       done
   9272       IFS=$lt_save_ifs
   9273       ;;
   9274     esac
   9275 else
   9276   pic_mode=default
   9277 fi
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286   # Check whether --enable-fast-install was given.
   9287 if test "${enable_fast_install+set}" = set; then :
   9288   enableval=$enable_fast_install; p=${PACKAGE-default}
   9289     case $enableval in
   9290     yes) enable_fast_install=yes ;;
   9291     no) enable_fast_install=no ;;
   9292     *)
   9293       enable_fast_install=no
   9294       # Look at the argument we got.  We use all the common list separators.
   9295       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9296       for pkg in $enableval; do
   9297 	IFS=$lt_save_ifs
   9298 	if test "X$pkg" = "X$p"; then
   9299 	  enable_fast_install=yes
   9300 	fi
   9301       done
   9302       IFS=$lt_save_ifs
   9303       ;;
   9304     esac
   9305 else
   9306   enable_fast_install=yes
   9307 fi
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316   shared_archive_member_spec=
   9317 case $host,$enable_shared in
   9318 power*-*-aix[5-9]*,yes)
   9319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9320 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   9321 
   9322 # Check whether --with-aix-soname was given.
   9323 if test "${with_aix_soname+set}" = set; then :
   9324   withval=$with_aix_soname; case $withval in
   9325     aix|svr4|both)
   9326       ;;
   9327     *)
   9328       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9329       ;;
   9330     esac
   9331     lt_cv_with_aix_soname=$with_aix_soname
   9332 else
   9333   if ${lt_cv_with_aix_soname+:} false; then :
   9334   $as_echo_n "(cached) " >&6
   9335 else
   9336   lt_cv_with_aix_soname=aix
   9337 fi
   9338 
   9339     with_aix_soname=$lt_cv_with_aix_soname
   9340 fi
   9341 
   9342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9343 $as_echo "$with_aix_soname" >&6; }
   9344   if test aix != "$with_aix_soname"; then
   9345     # For the AIX way of multilib, we name the shared archive member
   9346     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9347     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9348     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9349     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9350     if test 64 = "${OBJECT_MODE-32}"; then
   9351       shared_archive_member_spec=shr_64
   9352     else
   9353       shared_archive_member_spec=shr
   9354     fi
   9355   fi
   9356   ;;
   9357 *)
   9358   with_aix_soname=aix
   9359   ;;
   9360 esac
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 # This can be used to rebuild libtool when needed
   9372 LIBTOOL_DEPS=$ltmain
   9373 
   9374 # Always use our own libtool.
   9375 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 test -z "$LN_S" && LN_S="ln -s"
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 if test -n "${ZSH_VERSION+set}"; then
   9422    setopt NO_GLOB_SUBST
   9423 fi
   9424 
   9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9426 $as_echo_n "checking for objdir... " >&6; }
   9427 if ${lt_cv_objdir+:} false; then :
   9428   $as_echo_n "(cached) " >&6
   9429 else
   9430   rm -f .libs 2>/dev/null
   9431 mkdir .libs 2>/dev/null
   9432 if test -d .libs; then
   9433   lt_cv_objdir=.libs
   9434 else
   9435   # MS-DOS does not allow filenames that begin with a dot.
   9436   lt_cv_objdir=_libs
   9437 fi
   9438 rmdir .libs 2>/dev/null
   9439 fi
   9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9441 $as_echo "$lt_cv_objdir" >&6; }
   9442 objdir=$lt_cv_objdir
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 cat >>confdefs.h <<_ACEOF
   9449 #define LT_OBJDIR "$lt_cv_objdir/"
   9450 _ACEOF
   9451 
   9452 
   9453 
   9454 
   9455 case $host_os in
   9456 aix3*)
   9457   # AIX sometimes has problems with the GCC collect2 program.  For some
   9458   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9459   # vanish in a puff of smoke.
   9460   if test set != "${COLLECT_NAMES+set}"; then
   9461     COLLECT_NAMES=
   9462     export COLLECT_NAMES
   9463   fi
   9464   ;;
   9465 esac
   9466 
   9467 # Global variables:
   9468 ofile=libtool
   9469 can_build_shared=yes
   9470 
   9471 # All known linkers require a '.a' archive for static linking (except MSVC,
   9472 # which needs '.lib').
   9473 libext=a
   9474 
   9475 with_gnu_ld=$lt_cv_prog_gnu_ld
   9476 
   9477 old_CC=$CC
   9478 old_CFLAGS=$CFLAGS
   9479 
   9480 # Set sane defaults for various variables
   9481 test -z "$CC" && CC=cc
   9482 test -z "$LTCC" && LTCC=$CC
   9483 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9484 test -z "$LD" && LD=ld
   9485 test -z "$ac_objext" && ac_objext=o
   9486 
   9487 func_cc_basename $compiler
   9488 cc_basename=$func_cc_basename_result
   9489 
   9490 
   9491 # Only perform the check for file, if the check method requires it
   9492 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9493 case $deplibs_check_method in
   9494 file_magic*)
   9495   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9497 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9498 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9499   $as_echo_n "(cached) " >&6
   9500 else
   9501   case $MAGIC_CMD in
   9502 [\\/*] |  ?:[\\/]*)
   9503   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9504   ;;
   9505 *)
   9506   lt_save_MAGIC_CMD=$MAGIC_CMD
   9507   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9508   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9509   for ac_dir in $ac_dummy; do
   9510     IFS=$lt_save_ifs
   9511     test -z "$ac_dir" && ac_dir=.
   9512     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9513       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9514       if test -n "$file_magic_test_file"; then
   9515 	case $deplibs_check_method in
   9516 	"file_magic "*)
   9517 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9518 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9519 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9520 	    $EGREP "$file_magic_regex" > /dev/null; then
   9521 	    :
   9522 	  else
   9523 	    cat <<_LT_EOF 1>&2
   9524 
   9525 *** Warning: the command libtool uses to detect shared libraries,
   9526 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9527 *** The result is that libtool may fail to recognize shared libraries
   9528 *** as such.  This will affect the creation of libtool libraries that
   9529 *** depend on shared libraries, but programs linked with such libtool
   9530 *** libraries will work regardless of this problem.  Nevertheless, you
   9531 *** may want to report the problem to your system manager and/or to
   9532 *** bug-libtool (at] gnu.org
   9533 
   9534 _LT_EOF
   9535 	  fi ;;
   9536 	esac
   9537       fi
   9538       break
   9539     fi
   9540   done
   9541   IFS=$lt_save_ifs
   9542   MAGIC_CMD=$lt_save_MAGIC_CMD
   9543   ;;
   9544 esac
   9545 fi
   9546 
   9547 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9548 if test -n "$MAGIC_CMD"; then
   9549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9550 $as_echo "$MAGIC_CMD" >&6; }
   9551 else
   9552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9553 $as_echo "no" >&6; }
   9554 fi
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9561   if test -n "$ac_tool_prefix"; then
   9562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9563 $as_echo_n "checking for file... " >&6; }
   9564 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   case $MAGIC_CMD in
   9568 [\\/*] |  ?:[\\/]*)
   9569   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9570   ;;
   9571 *)
   9572   lt_save_MAGIC_CMD=$MAGIC_CMD
   9573   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9574   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9575   for ac_dir in $ac_dummy; do
   9576     IFS=$lt_save_ifs
   9577     test -z "$ac_dir" && ac_dir=.
   9578     if test -f "$ac_dir/file"; then
   9579       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9580       if test -n "$file_magic_test_file"; then
   9581 	case $deplibs_check_method in
   9582 	"file_magic "*)
   9583 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9584 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9585 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9586 	    $EGREP "$file_magic_regex" > /dev/null; then
   9587 	    :
   9588 	  else
   9589 	    cat <<_LT_EOF 1>&2
   9590 
   9591 *** Warning: the command libtool uses to detect shared libraries,
   9592 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9593 *** The result is that libtool may fail to recognize shared libraries
   9594 *** as such.  This will affect the creation of libtool libraries that
   9595 *** depend on shared libraries, but programs linked with such libtool
   9596 *** libraries will work regardless of this problem.  Nevertheless, you
   9597 *** may want to report the problem to your system manager and/or to
   9598 *** bug-libtool (at] gnu.org
   9599 
   9600 _LT_EOF
   9601 	  fi ;;
   9602 	esac
   9603       fi
   9604       break
   9605     fi
   9606   done
   9607   IFS=$lt_save_ifs
   9608   MAGIC_CMD=$lt_save_MAGIC_CMD
   9609   ;;
   9610 esac
   9611 fi
   9612 
   9613 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9614 if test -n "$MAGIC_CMD"; then
   9615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9616 $as_echo "$MAGIC_CMD" >&6; }
   9617 else
   9618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9619 $as_echo "no" >&6; }
   9620 fi
   9621 
   9622 
   9623   else
   9624     MAGIC_CMD=:
   9625   fi
   9626 fi
   9627 
   9628   fi
   9629   ;;
   9630 esac
   9631 
   9632 # Use C for the default configuration in the libtool script
   9633 
   9634 lt_save_CC=$CC
   9635 ac_ext=c
   9636 ac_cpp='$CPP $CPPFLAGS'
   9637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9640 
   9641 
   9642 # Source file extension for C test sources.
   9643 ac_ext=c
   9644 
   9645 # Object file extension for compiled C test sources.
   9646 objext=o
   9647 objext=$objext
   9648 
   9649 # Code to be used in simple compile tests
   9650 lt_simple_compile_test_code="int some_variable = 0;"
   9651 
   9652 # Code to be used in simple link tests
   9653 lt_simple_link_test_code='int main(){return(0);}'
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 # If no C compiler was specified, use CC.
   9662 LTCC=${LTCC-"$CC"}
   9663 
   9664 # If no C compiler flags were specified, use CFLAGS.
   9665 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9666 
   9667 # Allow CC to be a program name with arguments.
   9668 compiler=$CC
   9669 
   9670 # Save the default compiler, since it gets overwritten when the other
   9671 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9672 compiler_DEFAULT=$CC
   9673 
   9674 # save warnings/boilerplate of simple test code
   9675 ac_outfile=conftest.$ac_objext
   9676 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9677 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9678 _lt_compiler_boilerplate=`cat conftest.err`
   9679 $RM conftest*
   9680 
   9681 ac_outfile=conftest.$ac_objext
   9682 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9683 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9684 _lt_linker_boilerplate=`cat conftest.err`
   9685 $RM -r conftest*
   9686 
   9687 
   9688 ## CAVEAT EMPTOR:
   9689 ## There is no encapsulation within the following macros, do not change
   9690 ## the running order or otherwise move them around unless you know exactly
   9691 ## what you are doing...
   9692 if test -n "$compiler"; then
   9693 
   9694 lt_prog_compiler_no_builtin_flag=
   9695 
   9696 if test yes = "$GCC"; then
   9697   case $cc_basename in
   9698   nvcc*)
   9699     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9700   *)
   9701     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9702   esac
   9703 
   9704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9705 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9706 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9707   $as_echo_n "(cached) " >&6
   9708 else
   9709   lt_cv_prog_compiler_rtti_exceptions=no
   9710    ac_outfile=conftest.$ac_objext
   9711    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9712    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9713    # Insert the option either (1) after the last *FLAGS variable, or
   9714    # (2) before a word containing "conftest.", or (3) at the end.
   9715    # Note that $ac_compile itself does not contain backslashes and begins
   9716    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9717    # The option is referenced via a variable to avoid confusing sed.
   9718    lt_compile=`echo "$ac_compile" | $SED \
   9719    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9720    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9721    -e 's:$: $lt_compiler_flag:'`
   9722    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9723    (eval "$lt_compile" 2>conftest.err)
   9724    ac_status=$?
   9725    cat conftest.err >&5
   9726    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9727    if (exit $ac_status) && test -s "$ac_outfile"; then
   9728      # The compiler can only warn and ignore the option if not recognized
   9729      # So say no if there are warnings other than the usual output.
   9730      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9731      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9732      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9733        lt_cv_prog_compiler_rtti_exceptions=yes
   9734      fi
   9735    fi
   9736    $RM conftest*
   9737 
   9738 fi
   9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9740 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9741 
   9742 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9743     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9744 else
   9745     :
   9746 fi
   9747 
   9748 fi
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755   lt_prog_compiler_wl=
   9756 lt_prog_compiler_pic=
   9757 lt_prog_compiler_static=
   9758 
   9759 
   9760   if test yes = "$GCC"; then
   9761     lt_prog_compiler_wl='-Wl,'
   9762     lt_prog_compiler_static='-static'
   9763 
   9764     case $host_os in
   9765       aix*)
   9766       # All AIX code is PIC.
   9767       if test ia64 = "$host_cpu"; then
   9768 	# AIX 5 now supports IA64 processor
   9769 	lt_prog_compiler_static='-Bstatic'
   9770       fi
   9771       lt_prog_compiler_pic='-fPIC'
   9772       ;;
   9773 
   9774     amigaos*)
   9775       case $host_cpu in
   9776       powerpc)
   9777             # see comment about AmigaOS4 .so support
   9778             lt_prog_compiler_pic='-fPIC'
   9779         ;;
   9780       m68k)
   9781             # FIXME: we need at least 68020 code to build shared libraries, but
   9782             # adding the '-m68020' flag to GCC prevents building anything better,
   9783             # like '-m68040'.
   9784             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9785         ;;
   9786       esac
   9787       ;;
   9788 
   9789     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9790       # PIC is the default for these OSes.
   9791       ;;
   9792 
   9793     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9794       # This hack is so that the source file can tell whether it is being
   9795       # built for inclusion in a dll (and should export symbols for example).
   9796       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9797       # (--disable-auto-import) libraries
   9798       lt_prog_compiler_pic='-DDLL_EXPORT'
   9799       case $host_os in
   9800       os2*)
   9801 	lt_prog_compiler_static='$wl-static'
   9802 	;;
   9803       esac
   9804       ;;
   9805 
   9806     darwin* | rhapsody*)
   9807       # PIC is the default on this platform
   9808       # Common symbols not allowed in MH_DYLIB files
   9809       lt_prog_compiler_pic='-fno-common'
   9810       ;;
   9811 
   9812     haiku*)
   9813       # PIC is the default for Haiku.
   9814       # The "-static" flag exists, but is broken.
   9815       lt_prog_compiler_static=
   9816       ;;
   9817 
   9818     hpux*)
   9819       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9820       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9821       # sets the default TLS model and affects inlining.
   9822       case $host_cpu in
   9823       hppa*64*)
   9824 	# +Z the default
   9825 	;;
   9826       *)
   9827 	lt_prog_compiler_pic='-fPIC'
   9828 	;;
   9829       esac
   9830       ;;
   9831 
   9832     interix[3-9]*)
   9833       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9834       # Instead, we relocate shared libraries at runtime.
   9835       ;;
   9836 
   9837     msdosdjgpp*)
   9838       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9839       # on systems that don't support them.
   9840       lt_prog_compiler_can_build_shared=no
   9841       enable_shared=no
   9842       ;;
   9843 
   9844     *nto* | *qnx*)
   9845       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9846       # it will coredump.
   9847       lt_prog_compiler_pic='-fPIC -shared'
   9848       ;;
   9849 
   9850     sysv4*MP*)
   9851       if test -d /usr/nec; then
   9852 	lt_prog_compiler_pic=-Kconform_pic
   9853       fi
   9854       ;;
   9855 
   9856     *)
   9857       lt_prog_compiler_pic='-fPIC'
   9858       ;;
   9859     esac
   9860 
   9861     case $cc_basename in
   9862     nvcc*) # Cuda Compiler Driver 2.2
   9863       lt_prog_compiler_wl='-Xlinker '
   9864       if test -n "$lt_prog_compiler_pic"; then
   9865         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9866       fi
   9867       ;;
   9868     esac
   9869   else
   9870     # PORTME Check for flag to pass linker flags through the system compiler.
   9871     case $host_os in
   9872     aix*)
   9873       lt_prog_compiler_wl='-Wl,'
   9874       if test ia64 = "$host_cpu"; then
   9875 	# AIX 5 now supports IA64 processor
   9876 	lt_prog_compiler_static='-Bstatic'
   9877       else
   9878 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9879       fi
   9880       ;;
   9881 
   9882     darwin* | rhapsody*)
   9883       # PIC is the default on this platform
   9884       # Common symbols not allowed in MH_DYLIB files
   9885       lt_prog_compiler_pic='-fno-common'
   9886       case $cc_basename in
   9887       nagfor*)
   9888         # NAG Fortran compiler
   9889         lt_prog_compiler_wl='-Wl,-Wl,,'
   9890         lt_prog_compiler_pic='-PIC'
   9891         lt_prog_compiler_static='-Bstatic'
   9892         ;;
   9893       esac
   9894       ;;
   9895 
   9896     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9897       # This hack is so that the source file can tell whether it is being
   9898       # built for inclusion in a dll (and should export symbols for example).
   9899       lt_prog_compiler_pic='-DDLL_EXPORT'
   9900       case $host_os in
   9901       os2*)
   9902 	lt_prog_compiler_static='$wl-static'
   9903 	;;
   9904       esac
   9905       ;;
   9906 
   9907     hpux9* | hpux10* | hpux11*)
   9908       lt_prog_compiler_wl='-Wl,'
   9909       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9910       # not for PA HP-UX.
   9911       case $host_cpu in
   9912       hppa*64*|ia64*)
   9913 	# +Z the default
   9914 	;;
   9915       *)
   9916 	lt_prog_compiler_pic='+Z'
   9917 	;;
   9918       esac
   9919       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9920       lt_prog_compiler_static='$wl-a ${wl}archive'
   9921       ;;
   9922 
   9923     irix5* | irix6* | nonstopux*)
   9924       lt_prog_compiler_wl='-Wl,'
   9925       # PIC (with -KPIC) is the default.
   9926       lt_prog_compiler_static='-non_shared'
   9927       ;;
   9928 
   9929     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9930       case $cc_basename in
   9931       # old Intel for x86_64, which still supported -KPIC.
   9932       ecc*)
   9933 	lt_prog_compiler_wl='-Wl,'
   9934 	lt_prog_compiler_pic='-KPIC'
   9935 	lt_prog_compiler_static='-static'
   9936         ;;
   9937       # icc used to be incompatible with GCC.
   9938       # ICC 10 doesn't accept -KPIC any more.
   9939       icc* | ifort*)
   9940 	lt_prog_compiler_wl='-Wl,'
   9941 	lt_prog_compiler_pic='-fPIC'
   9942 	lt_prog_compiler_static='-static'
   9943         ;;
   9944       # Lahey Fortran 8.1.
   9945       lf95*)
   9946 	lt_prog_compiler_wl='-Wl,'
   9947 	lt_prog_compiler_pic='--shared'
   9948 	lt_prog_compiler_static='--static'
   9949 	;;
   9950       nagfor*)
   9951 	# NAG Fortran compiler
   9952 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9953 	lt_prog_compiler_pic='-PIC'
   9954 	lt_prog_compiler_static='-Bstatic'
   9955 	;;
   9956       tcc*)
   9957 	# Fabrice Bellard et al's Tiny C Compiler
   9958 	lt_prog_compiler_wl='-Wl,'
   9959 	lt_prog_compiler_pic='-fPIC'
   9960 	lt_prog_compiler_static='-static'
   9961 	;;
   9962       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9963         # Portland Group compilers (*not* the Pentium gcc compiler,
   9964 	# which looks to be a dead project)
   9965 	lt_prog_compiler_wl='-Wl,'
   9966 	lt_prog_compiler_pic='-fpic'
   9967 	lt_prog_compiler_static='-Bstatic'
   9968         ;;
   9969       ccc*)
   9970         lt_prog_compiler_wl='-Wl,'
   9971         # All Alpha code is PIC.
   9972         lt_prog_compiler_static='-non_shared'
   9973         ;;
   9974       xl* | bgxl* | bgf* | mpixl*)
   9975 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9976 	lt_prog_compiler_wl='-Wl,'
   9977 	lt_prog_compiler_pic='-qpic'
   9978 	lt_prog_compiler_static='-qstaticlink'
   9979 	;;
   9980       *)
   9981 	case `$CC -V 2>&1 | sed 5q` in
   9982 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9983 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9984 	  lt_prog_compiler_pic='-KPIC'
   9985 	  lt_prog_compiler_static='-Bstatic'
   9986 	  lt_prog_compiler_wl=''
   9987 	  ;;
   9988 	*Sun\ F* | *Sun*Fortran*)
   9989 	  lt_prog_compiler_pic='-KPIC'
   9990 	  lt_prog_compiler_static='-Bstatic'
   9991 	  lt_prog_compiler_wl='-Qoption ld '
   9992 	  ;;
   9993 	*Sun\ C*)
   9994 	  # Sun C 5.9
   9995 	  lt_prog_compiler_pic='-KPIC'
   9996 	  lt_prog_compiler_static='-Bstatic'
   9997 	  lt_prog_compiler_wl='-Wl,'
   9998 	  ;;
   9999         *Intel*\ [CF]*Compiler*)
   10000 	  lt_prog_compiler_wl='-Wl,'
   10001 	  lt_prog_compiler_pic='-fPIC'
   10002 	  lt_prog_compiler_static='-static'
   10003 	  ;;
   10004 	*Portland\ Group*)
   10005 	  lt_prog_compiler_wl='-Wl,'
   10006 	  lt_prog_compiler_pic='-fpic'
   10007 	  lt_prog_compiler_static='-Bstatic'
   10008 	  ;;
   10009 	esac
   10010 	;;
   10011       esac
   10012       ;;
   10013 
   10014     newsos6)
   10015       lt_prog_compiler_pic='-KPIC'
   10016       lt_prog_compiler_static='-Bstatic'
   10017       ;;
   10018 
   10019     *nto* | *qnx*)
   10020       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10021       # it will coredump.
   10022       lt_prog_compiler_pic='-fPIC -shared'
   10023       ;;
   10024 
   10025     osf3* | osf4* | osf5*)
   10026       lt_prog_compiler_wl='-Wl,'
   10027       # All OSF/1 code is PIC.
   10028       lt_prog_compiler_static='-non_shared'
   10029       ;;
   10030 
   10031     rdos*)
   10032       lt_prog_compiler_static='-non_shared'
   10033       ;;
   10034 
   10035     solaris*)
   10036       lt_prog_compiler_pic='-KPIC'
   10037       lt_prog_compiler_static='-Bstatic'
   10038       case $cc_basename in
   10039       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10040 	lt_prog_compiler_wl='-Qoption ld ';;
   10041       *)
   10042 	lt_prog_compiler_wl='-Wl,';;
   10043       esac
   10044       ;;
   10045 
   10046     sunos4*)
   10047       lt_prog_compiler_wl='-Qoption ld '
   10048       lt_prog_compiler_pic='-PIC'
   10049       lt_prog_compiler_static='-Bstatic'
   10050       ;;
   10051 
   10052     sysv4 | sysv4.2uw2* | sysv4.3*)
   10053       lt_prog_compiler_wl='-Wl,'
   10054       lt_prog_compiler_pic='-KPIC'
   10055       lt_prog_compiler_static='-Bstatic'
   10056       ;;
   10057 
   10058     sysv4*MP*)
   10059       if test -d /usr/nec; then
   10060 	lt_prog_compiler_pic='-Kconform_pic'
   10061 	lt_prog_compiler_static='-Bstatic'
   10062       fi
   10063       ;;
   10064 
   10065     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10066       lt_prog_compiler_wl='-Wl,'
   10067       lt_prog_compiler_pic='-KPIC'
   10068       lt_prog_compiler_static='-Bstatic'
   10069       ;;
   10070 
   10071     unicos*)
   10072       lt_prog_compiler_wl='-Wl,'
   10073       lt_prog_compiler_can_build_shared=no
   10074       ;;
   10075 
   10076     uts4*)
   10077       lt_prog_compiler_pic='-pic'
   10078       lt_prog_compiler_static='-Bstatic'
   10079       ;;
   10080 
   10081     *)
   10082       lt_prog_compiler_can_build_shared=no
   10083       ;;
   10084     esac
   10085   fi
   10086 
   10087 case $host_os in
   10088   # For platforms that do not support PIC, -DPIC is meaningless:
   10089   *djgpp*)
   10090     lt_prog_compiler_pic=
   10091     ;;
   10092   *)
   10093     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10094     ;;
   10095 esac
   10096 
   10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10098 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   10099 if ${lt_cv_prog_compiler_pic+:} false; then :
   10100   $as_echo_n "(cached) " >&6
   10101 else
   10102   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   10103 fi
   10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10105 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   10106 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10107 
   10108 #
   10109 # Check to make sure the PIC flag actually works.
   10110 #
   10111 if test -n "$lt_prog_compiler_pic"; then
   10112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10113 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10114 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   10115   $as_echo_n "(cached) " >&6
   10116 else
   10117   lt_cv_prog_compiler_pic_works=no
   10118    ac_outfile=conftest.$ac_objext
   10119    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10120    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10121    # Insert the option either (1) after the last *FLAGS variable, or
   10122    # (2) before a word containing "conftest.", or (3) at the end.
   10123    # Note that $ac_compile itself does not contain backslashes and begins
   10124    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10125    # The option is referenced via a variable to avoid confusing sed.
   10126    lt_compile=`echo "$ac_compile" | $SED \
   10127    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10128    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10129    -e 's:$: $lt_compiler_flag:'`
   10130    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10131    (eval "$lt_compile" 2>conftest.err)
   10132    ac_status=$?
   10133    cat conftest.err >&5
   10134    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10135    if (exit $ac_status) && test -s "$ac_outfile"; then
   10136      # The compiler can only warn and ignore the option if not recognized
   10137      # So say no if there are warnings other than the usual output.
   10138      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10139      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10140      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10141        lt_cv_prog_compiler_pic_works=yes
   10142      fi
   10143    fi
   10144    $RM conftest*
   10145 
   10146 fi
   10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10148 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   10149 
   10150 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10151     case $lt_prog_compiler_pic in
   10152      "" | " "*) ;;
   10153      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10154      esac
   10155 else
   10156     lt_prog_compiler_pic=
   10157      lt_prog_compiler_can_build_shared=no
   10158 fi
   10159 
   10160 fi
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 #
   10173 # Check to make sure the static flag actually works.
   10174 #
   10175 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10177 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10178 if ${lt_cv_prog_compiler_static_works+:} false; then :
   10179   $as_echo_n "(cached) " >&6
   10180 else
   10181   lt_cv_prog_compiler_static_works=no
   10182    save_LDFLAGS=$LDFLAGS
   10183    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10184    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10185    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10186      # The linker can only warn and ignore the option if not recognized
   10187      # So say no if there are warnings
   10188      if test -s conftest.err; then
   10189        # Append any errors to the config.log.
   10190        cat conftest.err 1>&5
   10191        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10192        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10193        if diff conftest.exp conftest.er2 >/dev/null; then
   10194          lt_cv_prog_compiler_static_works=yes
   10195        fi
   10196      else
   10197        lt_cv_prog_compiler_static_works=yes
   10198      fi
   10199    fi
   10200    $RM -r conftest*
   10201    LDFLAGS=$save_LDFLAGS
   10202 
   10203 fi
   10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10205 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10206 
   10207 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10208     :
   10209 else
   10210     lt_prog_compiler_static=
   10211 fi
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10220 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10221 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10222   $as_echo_n "(cached) " >&6
   10223 else
   10224   lt_cv_prog_compiler_c_o=no
   10225    $RM -r conftest 2>/dev/null
   10226    mkdir conftest
   10227    cd conftest
   10228    mkdir out
   10229    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10230 
   10231    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10232    # Insert the option either (1) after the last *FLAGS variable, or
   10233    # (2) before a word containing "conftest.", or (3) at the end.
   10234    # Note that $ac_compile itself does not contain backslashes and begins
   10235    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10236    lt_compile=`echo "$ac_compile" | $SED \
   10237    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10238    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10239    -e 's:$: $lt_compiler_flag:'`
   10240    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10241    (eval "$lt_compile" 2>out/conftest.err)
   10242    ac_status=$?
   10243    cat out/conftest.err >&5
   10244    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10245    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10246    then
   10247      # The compiler can only warn and ignore the option if not recognized
   10248      # So say no if there are warnings
   10249      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10250      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10251      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10252        lt_cv_prog_compiler_c_o=yes
   10253      fi
   10254    fi
   10255    chmod u+w . 2>&5
   10256    $RM conftest*
   10257    # SGI C++ compiler will create directory out/ii_files/ for
   10258    # template instantiation
   10259    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10260    $RM out/* && rmdir out
   10261    cd ..
   10262    $RM -r conftest
   10263    $RM conftest*
   10264 
   10265 fi
   10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10267 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10275 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10276 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10277   $as_echo_n "(cached) " >&6
   10278 else
   10279   lt_cv_prog_compiler_c_o=no
   10280    $RM -r conftest 2>/dev/null
   10281    mkdir conftest
   10282    cd conftest
   10283    mkdir out
   10284    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10285 
   10286    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10287    # Insert the option either (1) after the last *FLAGS variable, or
   10288    # (2) before a word containing "conftest.", or (3) at the end.
   10289    # Note that $ac_compile itself does not contain backslashes and begins
   10290    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10291    lt_compile=`echo "$ac_compile" | $SED \
   10292    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10293    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10294    -e 's:$: $lt_compiler_flag:'`
   10295    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10296    (eval "$lt_compile" 2>out/conftest.err)
   10297    ac_status=$?
   10298    cat out/conftest.err >&5
   10299    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10300    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10301    then
   10302      # The compiler can only warn and ignore the option if not recognized
   10303      # So say no if there are warnings
   10304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10305      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10306      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10307        lt_cv_prog_compiler_c_o=yes
   10308      fi
   10309    fi
   10310    chmod u+w . 2>&5
   10311    $RM conftest*
   10312    # SGI C++ compiler will create directory out/ii_files/ for
   10313    # template instantiation
   10314    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10315    $RM out/* && rmdir out
   10316    cd ..
   10317    $RM -r conftest
   10318    $RM conftest*
   10319 
   10320 fi
   10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10322 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10323 
   10324 
   10325 
   10326 
   10327 hard_links=nottested
   10328 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10329   # do not overwrite the value of need_locks provided by the user
   10330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10331 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10332   hard_links=yes
   10333   $RM conftest*
   10334   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10335   touch conftest.a
   10336   ln conftest.a conftest.b 2>&5 || hard_links=no
   10337   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10339 $as_echo "$hard_links" >&6; }
   10340   if test no = "$hard_links"; then
   10341     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10342 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10343     need_locks=warn
   10344   fi
   10345 else
   10346   need_locks=no
   10347 fi
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10355 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10356 
   10357   runpath_var=
   10358   allow_undefined_flag=
   10359   always_export_symbols=no
   10360   archive_cmds=
   10361   archive_expsym_cmds=
   10362   compiler_needs_object=no
   10363   enable_shared_with_static_runtimes=no
   10364   export_dynamic_flag_spec=
   10365   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10366   hardcode_automatic=no
   10367   hardcode_direct=no
   10368   hardcode_direct_absolute=no
   10369   hardcode_libdir_flag_spec=
   10370   hardcode_libdir_separator=
   10371   hardcode_minus_L=no
   10372   hardcode_shlibpath_var=unsupported
   10373   inherit_rpath=no
   10374   link_all_deplibs=unknown
   10375   module_cmds=
   10376   module_expsym_cmds=
   10377   old_archive_from_new_cmds=
   10378   old_archive_from_expsyms_cmds=
   10379   thread_safe_flag_spec=
   10380   whole_archive_flag_spec=
   10381   # include_expsyms should be a list of space-separated symbols to be *always*
   10382   # included in the symbol list
   10383   include_expsyms=
   10384   # exclude_expsyms can be an extended regexp of symbols to exclude
   10385   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10386   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10387   # as well as any symbol that contains 'd'.
   10388   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10389   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10390   # platforms (ab)use it in PIC code, but their linkers get confused if
   10391   # the symbol is explicitly referenced.  Since portable code cannot
   10392   # rely on this symbol name, it's probably fine to never include it in
   10393   # preloaded symbol tables.
   10394   # Exclude shared library initialization/finalization symbols.
   10395   extract_expsyms_cmds=
   10396 
   10397   case $host_os in
   10398   cygwin* | mingw* | pw32* | cegcc*)
   10399     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10400     # When not using gcc, we currently assume that we are using
   10401     # Microsoft Visual C++.
   10402     if test yes != "$GCC"; then
   10403       with_gnu_ld=no
   10404     fi
   10405     ;;
   10406   interix*)
   10407     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10408     with_gnu_ld=yes
   10409     ;;
   10410   openbsd* | bitrig*)
   10411     with_gnu_ld=no
   10412     ;;
   10413   esac
   10414 
   10415   ld_shlibs=yes
   10416 
   10417   # On some targets, GNU ld is compatible enough with the native linker
   10418   # that we're better off using the native interface for both.
   10419   lt_use_gnu_ld_interface=no
   10420   if test yes = "$with_gnu_ld"; then
   10421     case $host_os in
   10422       aix*)
   10423 	# The AIX port of GNU ld has always aspired to compatibility
   10424 	# with the native linker.  However, as the warning in the GNU ld
   10425 	# block says, versions before 2.19.5* couldn't really create working
   10426 	# shared libraries, regardless of the interface used.
   10427 	case `$LD -v 2>&1` in
   10428 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10429 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10430 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10431 	  *)
   10432 	    lt_use_gnu_ld_interface=yes
   10433 	    ;;
   10434 	esac
   10435 	;;
   10436       *)
   10437 	lt_use_gnu_ld_interface=yes
   10438 	;;
   10439     esac
   10440   fi
   10441 
   10442   if test yes = "$lt_use_gnu_ld_interface"; then
   10443     # If archive_cmds runs LD, not CC, wlarc should be empty
   10444     wlarc='$wl'
   10445 
   10446     # Set some defaults for GNU ld with shared library support. These
   10447     # are reset later if shared libraries are not supported. Putting them
   10448     # here allows them to be overridden if necessary.
   10449     runpath_var=LD_RUN_PATH
   10450     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10451     export_dynamic_flag_spec='$wl--export-dynamic'
   10452     # ancient GNU ld didn't support --whole-archive et. al.
   10453     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10454       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10455     else
   10456       whole_archive_flag_spec=
   10457     fi
   10458     supports_anon_versioning=no
   10459     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   10460       *GNU\ gold*) supports_anon_versioning=yes ;;
   10461       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10462       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10463       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10464       *\ 2.11.*) ;; # other 2.11 versions
   10465       *) supports_anon_versioning=yes ;;
   10466     esac
   10467 
   10468     # See if GNU ld supports shared libraries.
   10469     case $host_os in
   10470     aix[3-9]*)
   10471       # On AIX/PPC, the GNU linker is very broken
   10472       if test ia64 != "$host_cpu"; then
   10473 	ld_shlibs=no
   10474 	cat <<_LT_EOF 1>&2
   10475 
   10476 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10477 *** to be unable to reliably create shared libraries on AIX.
   10478 *** Therefore, libtool is disabling shared libraries support.  If you
   10479 *** really care for shared libraries, you may want to install binutils
   10480 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10481 *** You will then need to restart the configuration process.
   10482 
   10483 _LT_EOF
   10484       fi
   10485       ;;
   10486 
   10487     amigaos*)
   10488       case $host_cpu in
   10489       powerpc)
   10490             # see comment about AmigaOS4 .so support
   10491             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10492             archive_expsym_cmds=''
   10493         ;;
   10494       m68k)
   10495             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)'
   10496             hardcode_libdir_flag_spec='-L$libdir'
   10497             hardcode_minus_L=yes
   10498         ;;
   10499       esac
   10500       ;;
   10501 
   10502     beos*)
   10503       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10504 	allow_undefined_flag=unsupported
   10505 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10506 	# support --undefined.  This deserves some investigation.  FIXME
   10507 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10508       else
   10509 	ld_shlibs=no
   10510       fi
   10511       ;;
   10512 
   10513     cygwin* | mingw* | pw32* | cegcc*)
   10514       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10515       # as there is no search path for DLLs.
   10516       hardcode_libdir_flag_spec='-L$libdir'
   10517       export_dynamic_flag_spec='$wl--export-all-symbols'
   10518       allow_undefined_flag=unsupported
   10519       always_export_symbols=no
   10520       enable_shared_with_static_runtimes=yes
   10521       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'
   10522       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10523 
   10524       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10525         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10526 	# If the export-symbols file already is a .def file, use it as
   10527 	# is; otherwise, prepend EXPORTS...
   10528 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10529           cp $export_symbols $output_objdir/$soname.def;
   10530         else
   10531           echo EXPORTS > $output_objdir/$soname.def;
   10532           cat $export_symbols >> $output_objdir/$soname.def;
   10533         fi~
   10534         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10535       else
   10536 	ld_shlibs=no
   10537       fi
   10538       ;;
   10539 
   10540     haiku*)
   10541       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10542       link_all_deplibs=yes
   10543       ;;
   10544 
   10545     os2*)
   10546       hardcode_libdir_flag_spec='-L$libdir'
   10547       hardcode_minus_L=yes
   10548       allow_undefined_flag=unsupported
   10549       shrext_cmds=.dll
   10550       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10551 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10552 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10553 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10554 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10555 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10556 	emximp -o $lib $output_objdir/$libname.def'
   10557       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10558 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10559 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10560 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10561 	prefix_cmds="$SED"~
   10562 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10563 	  prefix_cmds="$prefix_cmds -e 1d";
   10564 	fi~
   10565 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10566 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10567 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10568 	emximp -o $lib $output_objdir/$libname.def'
   10569       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10570       enable_shared_with_static_runtimes=yes
   10571       ;;
   10572 
   10573     interix[3-9]*)
   10574       hardcode_direct=no
   10575       hardcode_shlibpath_var=no
   10576       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10577       export_dynamic_flag_spec='$wl-E'
   10578       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10579       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10580       # default) and relocated if they conflict, which is a slow very memory
   10581       # consuming and fragmenting process.  To avoid this, we pick a random,
   10582       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10583       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10584       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10585       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'
   10586       ;;
   10587 
   10588     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10589       tmp_diet=no
   10590       if test linux-dietlibc = "$host_os"; then
   10591 	case $cc_basename in
   10592 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10593 	esac
   10594       fi
   10595       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10596 	 && test no = "$tmp_diet"
   10597       then
   10598 	tmp_addflag=' $pic_flag'
   10599 	tmp_sharedflag='-shared'
   10600 	case $cc_basename,$host_cpu in
   10601         pgcc*)				# Portland Group C compiler
   10602 	  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'
   10603 	  tmp_addflag=' $pic_flag'
   10604 	  ;;
   10605 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10606 					# Portland Group f77 and f90 compilers
   10607 	  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'
   10608 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10609 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10610 	  tmp_addflag=' -i_dynamic' ;;
   10611 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10612 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10613 	ifc* | ifort*)			# Intel Fortran compiler
   10614 	  tmp_addflag=' -nofor_main' ;;
   10615 	lf95*)				# Lahey Fortran 8.1
   10616 	  whole_archive_flag_spec=
   10617 	  tmp_sharedflag='--shared' ;;
   10618         nagfor*)                        # NAGFOR 5.3
   10619           tmp_sharedflag='-Wl,-shared' ;;
   10620 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10621 	  tmp_sharedflag='-qmkshrobj'
   10622 	  tmp_addflag= ;;
   10623 	nvcc*)	# Cuda Compiler Driver 2.2
   10624 	  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'
   10625 	  compiler_needs_object=yes
   10626 	  ;;
   10627 	esac
   10628 	case `$CC -V 2>&1 | sed 5q` in
   10629 	*Sun\ C*)			# Sun C 5.9
   10630 	  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'
   10631 	  compiler_needs_object=yes
   10632 	  tmp_sharedflag='-G' ;;
   10633 	*Sun\ F*)			# Sun Fortran 8.3
   10634 	  tmp_sharedflag='-G' ;;
   10635 	esac
   10636 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10637 
   10638         if test yes = "$supports_anon_versioning"; then
   10639           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10640             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10641             echo "local: *; };" >> $output_objdir/$libname.ver~
   10642             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10643         fi
   10644 
   10645 	case $cc_basename in
   10646 	tcc*)
   10647 	  export_dynamic_flag_spec='-rdynamic'
   10648 	  ;;
   10649 	xlf* | bgf* | bgxlf* | mpixlf*)
   10650 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10651 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10652 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10653 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10654 	  if test yes = "$supports_anon_versioning"; then
   10655 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10656               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10657               echo "local: *; };" >> $output_objdir/$libname.ver~
   10658               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10659 	  fi
   10660 	  ;;
   10661 	esac
   10662       else
   10663         ld_shlibs=no
   10664       fi
   10665       ;;
   10666 
   10667     netbsd*)
   10668       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10669 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10670 	wlarc=
   10671       else
   10672 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10673 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10674       fi
   10675       ;;
   10676 
   10677     solaris*)
   10678       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10679 	ld_shlibs=no
   10680 	cat <<_LT_EOF 1>&2
   10681 
   10682 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10683 *** create shared libraries on Solaris systems.  Therefore, libtool
   10684 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10685 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10686 *** your PATH or compiler configuration so that the native linker is
   10687 *** used, and then restart.
   10688 
   10689 _LT_EOF
   10690       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10691 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10692 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10693       else
   10694 	ld_shlibs=no
   10695       fi
   10696       ;;
   10697 
   10698     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10699       case `$LD -v 2>&1` in
   10700         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10701 	ld_shlibs=no
   10702 	cat <<_LT_EOF 1>&2
   10703 
   10704 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10705 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10706 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10707 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10708 *** your PATH or compiler configuration so that the native linker is
   10709 *** used, and then restart.
   10710 
   10711 _LT_EOF
   10712 	;;
   10713 	*)
   10714 	  # For security reasons, it is highly recommended that you always
   10715 	  # use absolute paths for naming shared libraries, and exclude the
   10716 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10717 	  # requires that you compile everything twice, which is a pain.
   10718 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10719 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10720 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10721 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10722 	  else
   10723 	    ld_shlibs=no
   10724 	  fi
   10725 	;;
   10726       esac
   10727       ;;
   10728 
   10729     sunos4*)
   10730       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10731       wlarc=
   10732       hardcode_direct=yes
   10733       hardcode_shlibpath_var=no
   10734       ;;
   10735 
   10736     *)
   10737       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10738 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10739 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10740       else
   10741 	ld_shlibs=no
   10742       fi
   10743       ;;
   10744     esac
   10745 
   10746     if test no = "$ld_shlibs"; then
   10747       runpath_var=
   10748       hardcode_libdir_flag_spec=
   10749       export_dynamic_flag_spec=
   10750       whole_archive_flag_spec=
   10751     fi
   10752   else
   10753     # PORTME fill in a description of your system's linker (not GNU ld)
   10754     case $host_os in
   10755     aix3*)
   10756       allow_undefined_flag=unsupported
   10757       always_export_symbols=yes
   10758       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'
   10759       # Note: this linker hardcodes the directories in LIBPATH if there
   10760       # are no directories specified by -L.
   10761       hardcode_minus_L=yes
   10762       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10763 	# Neither direct hardcoding nor static linking is supported with a
   10764 	# broken collect2.
   10765 	hardcode_direct=unsupported
   10766       fi
   10767       ;;
   10768 
   10769     aix[4-9]*)
   10770       if test ia64 = "$host_cpu"; then
   10771 	# On IA64, the linker does run time linking by default, so we don't
   10772 	# have to do anything special.
   10773 	aix_use_runtimelinking=no
   10774 	exp_sym_flag='-Bexport'
   10775 	no_entry_flag=
   10776       else
   10777 	# If we're using GNU nm, then we don't want the "-C" option.
   10778 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10779 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10780 	# weak defined symbols like other global defined symbols, whereas
   10781 	# GNU nm marks them as "W".
   10782 	# While the 'weak' keyword is ignored in the Export File, we need
   10783 	# it in the Import File for the 'aix-soname' feature, so we have
   10784 	# to replace the "-B" option with "-P" for AIX nm.
   10785 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10786 	  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'
   10787 	else
   10788 	  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'
   10789 	fi
   10790 	aix_use_runtimelinking=no
   10791 
   10792 	# Test if we are trying to use run time linking or normal
   10793 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10794 	# have runtime linking enabled, and use it for executables.
   10795 	# For shared libraries, we enable/disable runtime linking
   10796 	# depending on the kind of the shared library created -
   10797 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10798 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10799 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10800 	#            lib.a           static archive
   10801 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10802 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10803 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10804 	#            lib.a(lib.so.V) shared, rtl:no
   10805 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10806 	#            lib.a           static archive
   10807 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10808 	  for ld_flag in $LDFLAGS; do
   10809 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10810 	    aix_use_runtimelinking=yes
   10811 	    break
   10812 	  fi
   10813 	  done
   10814 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10815 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10816 	    # so we don't have lib.a shared libs to link our executables.
   10817 	    # We have to force runtime linking in this case.
   10818 	    aix_use_runtimelinking=yes
   10819 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10820 	  fi
   10821 	  ;;
   10822 	esac
   10823 
   10824 	exp_sym_flag='-bexport'
   10825 	no_entry_flag='-bnoentry'
   10826       fi
   10827 
   10828       # When large executables or shared objects are built, AIX ld can
   10829       # have problems creating the table of contents.  If linking a library
   10830       # or program results in "error TOC overflow" add -mminimal-toc to
   10831       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10832       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10833 
   10834       archive_cmds=''
   10835       hardcode_direct=yes
   10836       hardcode_direct_absolute=yes
   10837       hardcode_libdir_separator=':'
   10838       link_all_deplibs=yes
   10839       file_list_spec='$wl-f,'
   10840       case $with_aix_soname,$aix_use_runtimelinking in
   10841       aix,*) ;; # traditional, no import file
   10842       svr4,* | *,yes) # use import file
   10843 	# The Import File defines what to hardcode.
   10844 	hardcode_direct=no
   10845 	hardcode_direct_absolute=no
   10846 	;;
   10847       esac
   10848 
   10849       if test yes = "$GCC"; then
   10850 	case $host_os in aix4.[012]|aix4.[012].*)
   10851 	# We only want to do this on AIX 4.2 and lower, the check
   10852 	# below for broken collect2 doesn't work under 4.3+
   10853 	  collect2name=`$CC -print-prog-name=collect2`
   10854 	  if test -f "$collect2name" &&
   10855 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10856 	  then
   10857 	  # We have reworked collect2
   10858 	  :
   10859 	  else
   10860 	  # We have old collect2
   10861 	  hardcode_direct=unsupported
   10862 	  # It fails to find uninstalled libraries when the uninstalled
   10863 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10864 	  # to unsupported forces relinking
   10865 	  hardcode_minus_L=yes
   10866 	  hardcode_libdir_flag_spec='-L$libdir'
   10867 	  hardcode_libdir_separator=
   10868 	  fi
   10869 	  ;;
   10870 	esac
   10871 	shared_flag='-shared'
   10872 	if test yes = "$aix_use_runtimelinking"; then
   10873 	  shared_flag="$shared_flag "'$wl-G'
   10874 	fi
   10875 	# Need to ensure runtime linking is disabled for the traditional
   10876 	# shared library, or the linker may eventually find shared libraries
   10877 	# /with/ Import File - we do not want to mix them.
   10878 	shared_flag_aix='-shared'
   10879 	shared_flag_svr4='-shared $wl-G'
   10880       else
   10881 	# not using gcc
   10882 	if test ia64 = "$host_cpu"; then
   10883 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10884 	# chokes on -Wl,-G. The following line is correct:
   10885 	  shared_flag='-G'
   10886 	else
   10887 	  if test yes = "$aix_use_runtimelinking"; then
   10888 	    shared_flag='$wl-G'
   10889 	  else
   10890 	    shared_flag='$wl-bM:SRE'
   10891 	  fi
   10892 	  shared_flag_aix='$wl-bM:SRE'
   10893 	  shared_flag_svr4='$wl-G'
   10894 	fi
   10895       fi
   10896 
   10897       export_dynamic_flag_spec='$wl-bexpall'
   10898       # It seems that -bexpall does not export symbols beginning with
   10899       # underscore (_), so it is better to generate a list of symbols to export.
   10900       always_export_symbols=yes
   10901       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10902 	# Warning - without using the other runtime loading flags (-brtl),
   10903 	# -berok will link without error, but may produce a broken library.
   10904 	allow_undefined_flag='-berok'
   10905         # Determine the default libpath from the value encoded in an
   10906         # empty executable.
   10907         if test set = "${lt_cv_aix_libpath+set}"; then
   10908   aix_libpath=$lt_cv_aix_libpath
   10909 else
   10910   if ${lt_cv_aix_libpath_+:} false; then :
   10911   $as_echo_n "(cached) " >&6
   10912 else
   10913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10914 /* end confdefs.h.  */
   10915 
   10916 int
   10917 main ()
   10918 {
   10919 
   10920   ;
   10921   return 0;
   10922 }
   10923 _ACEOF
   10924 if ac_fn_c_try_link "$LINENO"; then :
   10925 
   10926   lt_aix_libpath_sed='
   10927       /Import File Strings/,/^$/ {
   10928 	  /^0/ {
   10929 	      s/^0  *\([^ ]*\) *$/\1/
   10930 	      p
   10931 	  }
   10932       }'
   10933   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10934   # Check for a 64-bit object if we didn't find anything.
   10935   if test -z "$lt_cv_aix_libpath_"; then
   10936     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10937   fi
   10938 fi
   10939 rm -f core conftest.err conftest.$ac_objext \
   10940     conftest$ac_exeext conftest.$ac_ext
   10941   if test -z "$lt_cv_aix_libpath_"; then
   10942     lt_cv_aix_libpath_=/usr/lib:/lib
   10943   fi
   10944 
   10945 fi
   10946 
   10947   aix_libpath=$lt_cv_aix_libpath_
   10948 fi
   10949 
   10950         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10951         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
   10952       else
   10953 	if test ia64 = "$host_cpu"; then
   10954 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10955 	  allow_undefined_flag="-z nodefs"
   10956 	  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"
   10957 	else
   10958 	 # Determine the default libpath from the value encoded in an
   10959 	 # empty executable.
   10960 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10961   aix_libpath=$lt_cv_aix_libpath
   10962 else
   10963   if ${lt_cv_aix_libpath_+:} false; then :
   10964   $as_echo_n "(cached) " >&6
   10965 else
   10966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10967 /* end confdefs.h.  */
   10968 
   10969 int
   10970 main ()
   10971 {
   10972 
   10973   ;
   10974   return 0;
   10975 }
   10976 _ACEOF
   10977 if ac_fn_c_try_link "$LINENO"; then :
   10978 
   10979   lt_aix_libpath_sed='
   10980       /Import File Strings/,/^$/ {
   10981 	  /^0/ {
   10982 	      s/^0  *\([^ ]*\) *$/\1/
   10983 	      p
   10984 	  }
   10985       }'
   10986   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10987   # Check for a 64-bit object if we didn't find anything.
   10988   if test -z "$lt_cv_aix_libpath_"; then
   10989     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10990   fi
   10991 fi
   10992 rm -f core conftest.err conftest.$ac_objext \
   10993     conftest$ac_exeext conftest.$ac_ext
   10994   if test -z "$lt_cv_aix_libpath_"; then
   10995     lt_cv_aix_libpath_=/usr/lib:/lib
   10996   fi
   10997 
   10998 fi
   10999 
   11000   aix_libpath=$lt_cv_aix_libpath_
   11001 fi
   11002 
   11003 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11004 	  # Warning - without using the other run time loading flags,
   11005 	  # -berok will link without error, but may produce a broken library.
   11006 	  no_undefined_flag=' $wl-bernotok'
   11007 	  allow_undefined_flag=' $wl-berok'
   11008 	  if test yes = "$with_gnu_ld"; then
   11009 	    # We only use this code for GNU lds that support --whole-archive.
   11010 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11011 	  else
   11012 	    # Exported symbols can be pulled into shared objects from archives
   11013 	    whole_archive_flag_spec='$convenience'
   11014 	  fi
   11015 	  archive_cmds_need_lc=yes
   11016 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11017 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11018 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11019 	  if test svr4 != "$with_aix_soname"; then
   11020 	    # This is similar to how AIX traditionally builds its shared libraries.
   11021 	    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'
   11022 	  fi
   11023 	  if test aix != "$with_aix_soname"; then
   11024 	    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'
   11025 	  else
   11026 	    # used by -dlpreopen to get the symbols
   11027 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11028 	  fi
   11029 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11030 	fi
   11031       fi
   11032       ;;
   11033 
   11034     amigaos*)
   11035       case $host_cpu in
   11036       powerpc)
   11037             # see comment about AmigaOS4 .so support
   11038             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11039             archive_expsym_cmds=''
   11040         ;;
   11041       m68k)
   11042             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)'
   11043             hardcode_libdir_flag_spec='-L$libdir'
   11044             hardcode_minus_L=yes
   11045         ;;
   11046       esac
   11047       ;;
   11048 
   11049     bsdi[45]*)
   11050       export_dynamic_flag_spec=-rdynamic
   11051       ;;
   11052 
   11053     cygwin* | mingw* | pw32* | cegcc*)
   11054       # When not using gcc, we currently assume that we are using
   11055       # Microsoft Visual C++.
   11056       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11057       # no search path for DLLs.
   11058       case $cc_basename in
   11059       cl*)
   11060 	# Native MSVC
   11061 	hardcode_libdir_flag_spec=' '
   11062 	allow_undefined_flag=unsupported
   11063 	always_export_symbols=yes
   11064 	file_list_spec='@'
   11065 	# Tell ltmain to make .lib files, not .a files.
   11066 	libext=lib
   11067 	# Tell ltmain to make .dll files, not .so files.
   11068 	shrext_cmds=.dll
   11069 	# FIXME: Setting linknames here is a bad hack.
   11070 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11071 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11072             cp "$export_symbols" "$output_objdir/$soname.def";
   11073             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11074           else
   11075             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11076           fi~
   11077           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11078           linknames='
   11079 	# The linker will not automatically build a static lib if we build a DLL.
   11080 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11081 	enable_shared_with_static_runtimes=yes
   11082 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11083 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11084 	# Don't use ranlib
   11085 	old_postinstall_cmds='chmod 644 $oldlib'
   11086 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11087           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11088           case $lt_outputfile in
   11089             *.exe|*.EXE) ;;
   11090             *)
   11091               lt_outputfile=$lt_outputfile.exe
   11092               lt_tool_outputfile=$lt_tool_outputfile.exe
   11093               ;;
   11094           esac~
   11095           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11096             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11097             $RM "$lt_outputfile.manifest";
   11098           fi'
   11099 	;;
   11100       *)
   11101 	# Assume MSVC wrapper
   11102 	hardcode_libdir_flag_spec=' '
   11103 	allow_undefined_flag=unsupported
   11104 	# Tell ltmain to make .lib files, not .a files.
   11105 	libext=lib
   11106 	# Tell ltmain to make .dll files, not .so files.
   11107 	shrext_cmds=.dll
   11108 	# FIXME: Setting linknames here is a bad hack.
   11109 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11110 	# The linker will automatically build a .lib file if we build a DLL.
   11111 	old_archive_from_new_cmds='true'
   11112 	# FIXME: Should let the user specify the lib program.
   11113 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11114 	enable_shared_with_static_runtimes=yes
   11115 	;;
   11116       esac
   11117       ;;
   11118 
   11119     darwin* | rhapsody*)
   11120 
   11121 
   11122   archive_cmds_need_lc=no
   11123   hardcode_direct=no
   11124   hardcode_automatic=yes
   11125   hardcode_shlibpath_var=unsupported
   11126   if test yes = "$lt_cv_ld_force_load"; then
   11127     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\"`'
   11128 
   11129   else
   11130     whole_archive_flag_spec=''
   11131   fi
   11132   link_all_deplibs=yes
   11133   allow_undefined_flag=$_lt_dar_allow_undefined
   11134   case $cc_basename in
   11135      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11136      *) _lt_dar_can_shared=$GCC ;;
   11137   esac
   11138   if test yes = "$_lt_dar_can_shared"; then
   11139     output_verbose_link_cmd=func_echo_all
   11140     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11141     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11142     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"
   11143     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"
   11144 
   11145   else
   11146   ld_shlibs=no
   11147   fi
   11148 
   11149       ;;
   11150 
   11151     dgux*)
   11152       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11153       hardcode_libdir_flag_spec='-L$libdir'
   11154       hardcode_shlibpath_var=no
   11155       ;;
   11156 
   11157     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11158     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11159     # does not break anything, and helps significantly (at the cost of a little
   11160     # extra space).
   11161     freebsd2.2*)
   11162       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11163       hardcode_libdir_flag_spec='-R$libdir'
   11164       hardcode_direct=yes
   11165       hardcode_shlibpath_var=no
   11166       ;;
   11167 
   11168     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11169     freebsd2.*)
   11170       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11171       hardcode_direct=yes
   11172       hardcode_minus_L=yes
   11173       hardcode_shlibpath_var=no
   11174       ;;
   11175 
   11176     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11177     freebsd* | dragonfly*)
   11178       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11179       hardcode_libdir_flag_spec='-R$libdir'
   11180       hardcode_direct=yes
   11181       hardcode_shlibpath_var=no
   11182       ;;
   11183 
   11184     hpux9*)
   11185       if test yes = "$GCC"; then
   11186 	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'
   11187       else
   11188 	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'
   11189       fi
   11190       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11191       hardcode_libdir_separator=:
   11192       hardcode_direct=yes
   11193 
   11194       # hardcode_minus_L: Not really in the search PATH,
   11195       # but as the default location of the library.
   11196       hardcode_minus_L=yes
   11197       export_dynamic_flag_spec='$wl-E'
   11198       ;;
   11199 
   11200     hpux10*)
   11201       if test yes,no = "$GCC,$with_gnu_ld"; then
   11202 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11203       else
   11204 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11205       fi
   11206       if test no = "$with_gnu_ld"; then
   11207 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11208 	hardcode_libdir_separator=:
   11209 	hardcode_direct=yes
   11210 	hardcode_direct_absolute=yes
   11211 	export_dynamic_flag_spec='$wl-E'
   11212 	# hardcode_minus_L: Not really in the search PATH,
   11213 	# but as the default location of the library.
   11214 	hardcode_minus_L=yes
   11215       fi
   11216       ;;
   11217 
   11218     hpux11*)
   11219       if test yes,no = "$GCC,$with_gnu_ld"; then
   11220 	case $host_cpu in
   11221 	hppa*64*)
   11222 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11223 	  ;;
   11224 	ia64*)
   11225 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11226 	  ;;
   11227 	*)
   11228 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11229 	  ;;
   11230 	esac
   11231       else
   11232 	case $host_cpu in
   11233 	hppa*64*)
   11234 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11235 	  ;;
   11236 	ia64*)
   11237 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11238 	  ;;
   11239 	*)
   11240 
   11241 	  # Older versions of the 11.00 compiler do not understand -b yet
   11242 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11243 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11244 $as_echo_n "checking if $CC understands -b... " >&6; }
   11245 if ${lt_cv_prog_compiler__b+:} false; then :
   11246   $as_echo_n "(cached) " >&6
   11247 else
   11248   lt_cv_prog_compiler__b=no
   11249    save_LDFLAGS=$LDFLAGS
   11250    LDFLAGS="$LDFLAGS -b"
   11251    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11252    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11253      # The linker can only warn and ignore the option if not recognized
   11254      # So say no if there are warnings
   11255      if test -s conftest.err; then
   11256        # Append any errors to the config.log.
   11257        cat conftest.err 1>&5
   11258        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11259        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11260        if diff conftest.exp conftest.er2 >/dev/null; then
   11261          lt_cv_prog_compiler__b=yes
   11262        fi
   11263      else
   11264        lt_cv_prog_compiler__b=yes
   11265      fi
   11266    fi
   11267    $RM -r conftest*
   11268    LDFLAGS=$save_LDFLAGS
   11269 
   11270 fi
   11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11272 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   11273 
   11274 if test yes = "$lt_cv_prog_compiler__b"; then
   11275     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11276 else
   11277     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11278 fi
   11279 
   11280 	  ;;
   11281 	esac
   11282       fi
   11283       if test no = "$with_gnu_ld"; then
   11284 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11285 	hardcode_libdir_separator=:
   11286 
   11287 	case $host_cpu in
   11288 	hppa*64*|ia64*)
   11289 	  hardcode_direct=no
   11290 	  hardcode_shlibpath_var=no
   11291 	  ;;
   11292 	*)
   11293 	  hardcode_direct=yes
   11294 	  hardcode_direct_absolute=yes
   11295 	  export_dynamic_flag_spec='$wl-E'
   11296 
   11297 	  # hardcode_minus_L: Not really in the search PATH,
   11298 	  # but as the default location of the library.
   11299 	  hardcode_minus_L=yes
   11300 	  ;;
   11301 	esac
   11302       fi
   11303       ;;
   11304 
   11305     irix5* | irix6* | nonstopux*)
   11306       if test yes = "$GCC"; then
   11307 	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'
   11308 	# Try to use the -exported_symbol ld option, if it does not
   11309 	# work, assume that -exports_file does not work either and
   11310 	# implicitly export all symbols.
   11311 	# This should be the same for all languages, so no per-tag cache variable.
   11312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11313 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11314 if ${lt_cv_irix_exported_symbol+:} false; then :
   11315   $as_echo_n "(cached) " >&6
   11316 else
   11317   save_LDFLAGS=$LDFLAGS
   11318 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11319 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11320 /* end confdefs.h.  */
   11321 int foo (void) { return 0; }
   11322 _ACEOF
   11323 if ac_fn_c_try_link "$LINENO"; then :
   11324   lt_cv_irix_exported_symbol=yes
   11325 else
   11326   lt_cv_irix_exported_symbol=no
   11327 fi
   11328 rm -f core conftest.err conftest.$ac_objext \
   11329     conftest$ac_exeext conftest.$ac_ext
   11330            LDFLAGS=$save_LDFLAGS
   11331 fi
   11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11333 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   11334 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11335           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'
   11336 	fi
   11337       else
   11338 	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'
   11339 	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'
   11340       fi
   11341       archive_cmds_need_lc='no'
   11342       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11343       hardcode_libdir_separator=:
   11344       inherit_rpath=yes
   11345       link_all_deplibs=yes
   11346       ;;
   11347 
   11348     linux*)
   11349       case $cc_basename in
   11350       tcc*)
   11351 	# Fabrice Bellard et al's Tiny C Compiler
   11352 	ld_shlibs=yes
   11353 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11354 	;;
   11355       esac
   11356       ;;
   11357 
   11358     netbsd*)
   11359       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11360 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11361       else
   11362 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11363       fi
   11364       hardcode_libdir_flag_spec='-R$libdir'
   11365       hardcode_direct=yes
   11366       hardcode_shlibpath_var=no
   11367       ;;
   11368 
   11369     newsos6)
   11370       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11371       hardcode_direct=yes
   11372       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11373       hardcode_libdir_separator=:
   11374       hardcode_shlibpath_var=no
   11375       ;;
   11376 
   11377     *nto* | *qnx*)
   11378       ;;
   11379 
   11380     openbsd* | bitrig*)
   11381       if test -f /usr/libexec/ld.so; then
   11382 	hardcode_direct=yes
   11383 	hardcode_shlibpath_var=no
   11384 	hardcode_direct_absolute=yes
   11385 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11386 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11387 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11388 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11389 	  export_dynamic_flag_spec='$wl-E'
   11390 	else
   11391 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11392 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11393 	fi
   11394       else
   11395 	ld_shlibs=no
   11396       fi
   11397       ;;
   11398 
   11399     os2*)
   11400       hardcode_libdir_flag_spec='-L$libdir'
   11401       hardcode_minus_L=yes
   11402       allow_undefined_flag=unsupported
   11403       shrext_cmds=.dll
   11404       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11405 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11406 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11407 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11408 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11409 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11410 	emximp -o $lib $output_objdir/$libname.def'
   11411       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11412 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11413 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11414 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11415 	prefix_cmds="$SED"~
   11416 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11417 	  prefix_cmds="$prefix_cmds -e 1d";
   11418 	fi~
   11419 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11420 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11421 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11422 	emximp -o $lib $output_objdir/$libname.def'
   11423       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11424       enable_shared_with_static_runtimes=yes
   11425       ;;
   11426 
   11427     osf3*)
   11428       if test yes = "$GCC"; then
   11429 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11430 	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'
   11431       else
   11432 	allow_undefined_flag=' -expect_unresolved \*'
   11433 	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'
   11434       fi
   11435       archive_cmds_need_lc='no'
   11436       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11437       hardcode_libdir_separator=:
   11438       ;;
   11439 
   11440     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11441       if test yes = "$GCC"; then
   11442 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11443 	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'
   11444 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11445       else
   11446 	allow_undefined_flag=' -expect_unresolved \*'
   11447 	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'
   11448 	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~
   11449           $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'
   11450 
   11451 	# Both c and cxx compiler support -rpath directly
   11452 	hardcode_libdir_flag_spec='-rpath $libdir'
   11453       fi
   11454       archive_cmds_need_lc='no'
   11455       hardcode_libdir_separator=:
   11456       ;;
   11457 
   11458     solaris*)
   11459       no_undefined_flag=' -z defs'
   11460       if test yes = "$GCC"; then
   11461 	wlarc='$wl'
   11462 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11463 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11464           $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'
   11465       else
   11466 	case `$CC -V 2>&1` in
   11467 	*"Compilers 5.0"*)
   11468 	  wlarc=''
   11469 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11470 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11471             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11472 	  ;;
   11473 	*)
   11474 	  wlarc='$wl'
   11475 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11476 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11477             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11478 	  ;;
   11479 	esac
   11480       fi
   11481       hardcode_libdir_flag_spec='-R$libdir'
   11482       hardcode_shlibpath_var=no
   11483       case $host_os in
   11484       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11485       *)
   11486 	# The compiler driver will combine and reorder linker options,
   11487 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11488 	# but is careful enough not to reorder.
   11489 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11490 	if test yes = "$GCC"; then
   11491 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11492 	else
   11493 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11494 	fi
   11495 	;;
   11496       esac
   11497       link_all_deplibs=yes
   11498       ;;
   11499 
   11500     sunos4*)
   11501       if test sequent = "$host_vendor"; then
   11502 	# Use $CC to link under sequent, because it throws in some extra .o
   11503 	# files that make .init and .fini sections work.
   11504 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11505       else
   11506 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11507       fi
   11508       hardcode_libdir_flag_spec='-L$libdir'
   11509       hardcode_direct=yes
   11510       hardcode_minus_L=yes
   11511       hardcode_shlibpath_var=no
   11512       ;;
   11513 
   11514     sysv4)
   11515       case $host_vendor in
   11516 	sni)
   11517 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11518 	  hardcode_direct=yes # is this really true???
   11519 	;;
   11520 	siemens)
   11521 	  ## LD is ld it makes a PLAMLIB
   11522 	  ## CC just makes a GrossModule.
   11523 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11524 	  reload_cmds='$CC -r -o $output$reload_objs'
   11525 	  hardcode_direct=no
   11526         ;;
   11527 	motorola)
   11528 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11529 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11530 	;;
   11531       esac
   11532       runpath_var='LD_RUN_PATH'
   11533       hardcode_shlibpath_var=no
   11534       ;;
   11535 
   11536     sysv4.3*)
   11537       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11538       hardcode_shlibpath_var=no
   11539       export_dynamic_flag_spec='-Bexport'
   11540       ;;
   11541 
   11542     sysv4*MP*)
   11543       if test -d /usr/nec; then
   11544 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11545 	hardcode_shlibpath_var=no
   11546 	runpath_var=LD_RUN_PATH
   11547 	hardcode_runpath_var=yes
   11548 	ld_shlibs=yes
   11549       fi
   11550       ;;
   11551 
   11552     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11553       no_undefined_flag='$wl-z,text'
   11554       archive_cmds_need_lc=no
   11555       hardcode_shlibpath_var=no
   11556       runpath_var='LD_RUN_PATH'
   11557 
   11558       if test yes = "$GCC"; then
   11559 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11560 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11561       else
   11562 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11563 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11564       fi
   11565       ;;
   11566 
   11567     sysv5* | sco3.2v5* | sco5v6*)
   11568       # Note: We CANNOT use -z defs as we might desire, because we do not
   11569       # link with -lc, and that would cause any symbols used from libc to
   11570       # always be unresolved, which means just about no library would
   11571       # ever link correctly.  If we're not using GNU ld we use -z text
   11572       # though, which does catch some bad symbols but isn't as heavy-handed
   11573       # as -z defs.
   11574       no_undefined_flag='$wl-z,text'
   11575       allow_undefined_flag='$wl-z,nodefs'
   11576       archive_cmds_need_lc=no
   11577       hardcode_shlibpath_var=no
   11578       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11579       hardcode_libdir_separator=':'
   11580       link_all_deplibs=yes
   11581       export_dynamic_flag_spec='$wl-Bexport'
   11582       runpath_var='LD_RUN_PATH'
   11583 
   11584       if test yes = "$GCC"; then
   11585 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11586 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11587       else
   11588 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11589 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11590       fi
   11591       ;;
   11592 
   11593     uts4*)
   11594       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11595       hardcode_libdir_flag_spec='-L$libdir'
   11596       hardcode_shlibpath_var=no
   11597       ;;
   11598 
   11599     *)
   11600       ld_shlibs=no
   11601       ;;
   11602     esac
   11603 
   11604     if test sni = "$host_vendor"; then
   11605       case $host in
   11606       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11607 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11608 	;;
   11609       esac
   11610     fi
   11611   fi
   11612 
   11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11614 $as_echo "$ld_shlibs" >&6; }
   11615 test no = "$ld_shlibs" && can_build_shared=no
   11616 
   11617 with_gnu_ld=$with_gnu_ld
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 #
   11634 # Do we need to explicitly link libc?
   11635 #
   11636 case "x$archive_cmds_need_lc" in
   11637 x|xyes)
   11638   # Assume -lc should be added
   11639   archive_cmds_need_lc=yes
   11640 
   11641   if test yes,yes = "$GCC,$enable_shared"; then
   11642     case $archive_cmds in
   11643     *'~'*)
   11644       # FIXME: we may have to deal with multi-command sequences.
   11645       ;;
   11646     '$CC '*)
   11647       # Test whether the compiler implicitly links with -lc since on some
   11648       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11649       # to ld, don't add -lc before -lgcc.
   11650       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11651 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11652 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11653   $as_echo_n "(cached) " >&6
   11654 else
   11655   $RM conftest*
   11656 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11657 
   11658 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11659   (eval $ac_compile) 2>&5
   11660   ac_status=$?
   11661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11662   test $ac_status = 0; } 2>conftest.err; then
   11663 	  soname=conftest
   11664 	  lib=conftest
   11665 	  libobjs=conftest.$ac_objext
   11666 	  deplibs=
   11667 	  wl=$lt_prog_compiler_wl
   11668 	  pic_flag=$lt_prog_compiler_pic
   11669 	  compiler_flags=-v
   11670 	  linker_flags=-v
   11671 	  verstring=
   11672 	  output_objdir=.
   11673 	  libname=conftest
   11674 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11675 	  allow_undefined_flag=
   11676 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11677   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11678   ac_status=$?
   11679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11680   test $ac_status = 0; }
   11681 	  then
   11682 	    lt_cv_archive_cmds_need_lc=no
   11683 	  else
   11684 	    lt_cv_archive_cmds_need_lc=yes
   11685 	  fi
   11686 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11687 	else
   11688 	  cat conftest.err 1>&5
   11689 	fi
   11690 	$RM conftest*
   11691 
   11692 fi
   11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11694 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11695       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11696       ;;
   11697     esac
   11698   fi
   11699   ;;
   11700 esac
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11854 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11855 
   11856 if test yes = "$GCC"; then
   11857   case $host_os in
   11858     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11859     *) lt_awk_arg='/^libraries:/' ;;
   11860   esac
   11861   case $host_os in
   11862     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11863     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11864   esac
   11865   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11866   case $lt_search_path_spec in
   11867   *\;*)
   11868     # if the path contains ";" then we assume it to be the separator
   11869     # otherwise default to the standard path separator (i.e. ":") - it is
   11870     # assumed that no part of a normal pathname contains ";" but that should
   11871     # okay in the real world where ";" in dirpaths is itself problematic.
   11872     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11873     ;;
   11874   *)
   11875     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11876     ;;
   11877   esac
   11878   # Ok, now we have the path, separated by spaces, we can step through it
   11879   # and add multilib dir if necessary...
   11880   lt_tmp_lt_search_path_spec=
   11881   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11882   # ...but if some path component already ends with the multilib dir we assume
   11883   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11884   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11885   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11886     lt_multi_os_dir=
   11887     ;;
   11888   esac
   11889   for lt_sys_path in $lt_search_path_spec; do
   11890     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11891       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11892     elif test -n "$lt_multi_os_dir"; then
   11893       test -d "$lt_sys_path" && \
   11894 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11895     fi
   11896   done
   11897   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11898 BEGIN {RS = " "; FS = "/|\n";} {
   11899   lt_foo = "";
   11900   lt_count = 0;
   11901   for (lt_i = NF; lt_i > 0; lt_i--) {
   11902     if ($lt_i != "" && $lt_i != ".") {
   11903       if ($lt_i == "..") {
   11904         lt_count++;
   11905       } else {
   11906         if (lt_count == 0) {
   11907           lt_foo = "/" $lt_i lt_foo;
   11908         } else {
   11909           lt_count--;
   11910         }
   11911       }
   11912     }
   11913   }
   11914   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11915   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11916 }'`
   11917   # AWK program above erroneously prepends '/' to C:/dos/paths
   11918   # for these hosts.
   11919   case $host_os in
   11920     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11921       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11922   esac
   11923   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11924 else
   11925   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11926 fi
   11927 library_names_spec=
   11928 libname_spec='lib$name'
   11929 soname_spec=
   11930 shrext_cmds=.so
   11931 postinstall_cmds=
   11932 postuninstall_cmds=
   11933 finish_cmds=
   11934 finish_eval=
   11935 shlibpath_var=
   11936 shlibpath_overrides_runpath=unknown
   11937 version_type=none
   11938 dynamic_linker="$host_os ld.so"
   11939 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11940 need_lib_prefix=unknown
   11941 hardcode_into_libs=no
   11942 
   11943 # when you set need_version to no, make sure it does not cause -set_version
   11944 # flags to be left without arguments
   11945 need_version=unknown
   11946 
   11947 
   11948 
   11949 case $host_os in
   11950 aix3*)
   11951   version_type=linux # correct to gnu/linux during the next big refactor
   11952   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11953   shlibpath_var=LIBPATH
   11954 
   11955   # AIX 3 has no versioning support, so we append a major version to the name.
   11956   soname_spec='$libname$release$shared_ext$major'
   11957   ;;
   11958 
   11959 aix[4-9]*)
   11960   version_type=linux # correct to gnu/linux during the next big refactor
   11961   need_lib_prefix=no
   11962   need_version=no
   11963   hardcode_into_libs=yes
   11964   if test ia64 = "$host_cpu"; then
   11965     # AIX 5 supports IA64
   11966     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11967     shlibpath_var=LD_LIBRARY_PATH
   11968   else
   11969     # With GCC up to 2.95.x, collect2 would create an import file
   11970     # for dependence libraries.  The import file would start with
   11971     # the line '#! .'.  This would cause the generated library to
   11972     # depend on '.', always an invalid library.  This was fixed in
   11973     # development snapshots of GCC prior to 3.0.
   11974     case $host_os in
   11975       aix4 | aix4.[01] | aix4.[01].*)
   11976       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11977 	   echo ' yes '
   11978 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11979 	:
   11980       else
   11981 	can_build_shared=no
   11982       fi
   11983       ;;
   11984     esac
   11985     # Using Import Files as archive members, it is possible to support
   11986     # filename-based versioning of shared library archives on AIX. While
   11987     # this would work for both with and without runtime linking, it will
   11988     # prevent static linking of such archives. So we do filename-based
   11989     # shared library versioning with .so extension only, which is used
   11990     # when both runtime linking and shared linking is enabled.
   11991     # Unfortunately, runtime linking may impact performance, so we do
   11992     # not want this to be the default eventually. Also, we use the
   11993     # versioned .so libs for executables only if there is the -brtl
   11994     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11995     # To allow for filename-based versioning support, we need to create
   11996     # libNAME.so.V as an archive file, containing:
   11997     # *) an Import File, referring to the versioned filename of the
   11998     #    archive as well as the shared archive member, telling the
   11999     #    bitwidth (32 or 64) of that shared object, and providing the
   12000     #    list of exported symbols of that shared object, eventually
   12001     #    decorated with the 'weak' keyword
   12002     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12003     #    it being seen by the linker.
   12004     # At run time we better use the real file rather than another symlink,
   12005     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12006 
   12007     case $with_aix_soname,$aix_use_runtimelinking in
   12008     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12009     # soname into executable. Probably we can add versioning support to
   12010     # collect2, so additional links can be useful in future.
   12011     aix,yes) # traditional libtool
   12012       dynamic_linker='AIX unversionable lib.so'
   12013       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12014       # instead of lib<name>.a to let people know that these are not
   12015       # typical AIX shared libraries.
   12016       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12017       ;;
   12018     aix,no) # traditional AIX only
   12019       dynamic_linker='AIX lib.a(lib.so.V)'
   12020       # We preserve .a as extension for shared libraries through AIX4.2
   12021       # and later when we are not doing run time linking.
   12022       library_names_spec='$libname$release.a $libname.a'
   12023       soname_spec='$libname$release$shared_ext$major'
   12024       ;;
   12025     svr4,*) # full svr4 only
   12026       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12027       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12028       # We do not specify a path in Import Files, so LIBPATH fires.
   12029       shlibpath_overrides_runpath=yes
   12030       ;;
   12031     *,yes) # both, prefer svr4
   12032       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12033       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12034       # unpreferred sharedlib libNAME.a needs extra handling
   12035       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"'
   12036       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"'
   12037       # We do not specify a path in Import Files, so LIBPATH fires.
   12038       shlibpath_overrides_runpath=yes
   12039       ;;
   12040     *,no) # both, prefer aix
   12041       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12042       library_names_spec='$libname$release.a $libname.a'
   12043       soname_spec='$libname$release$shared_ext$major'
   12044       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12045       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)'
   12046       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"'
   12047       ;;
   12048     esac
   12049     shlibpath_var=LIBPATH
   12050   fi
   12051   ;;
   12052 
   12053 amigaos*)
   12054   case $host_cpu in
   12055   powerpc)
   12056     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12057     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12058     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12059     ;;
   12060   m68k)
   12061     library_names_spec='$libname.ixlibrary $libname.a'
   12062     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12063     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'
   12064     ;;
   12065   esac
   12066   ;;
   12067 
   12068 beos*)
   12069   library_names_spec='$libname$shared_ext'
   12070   dynamic_linker="$host_os ld.so"
   12071   shlibpath_var=LIBRARY_PATH
   12072   ;;
   12073 
   12074 bsdi[45]*)
   12075   version_type=linux # correct to gnu/linux during the next big refactor
   12076   need_version=no
   12077   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12078   soname_spec='$libname$release$shared_ext$major'
   12079   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12080   shlibpath_var=LD_LIBRARY_PATH
   12081   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12082   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12083   # the default ld.so.conf also contains /usr/contrib/lib and
   12084   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12085   # libtool to hard-code these into programs
   12086   ;;
   12087 
   12088 cygwin* | mingw* | pw32* | cegcc*)
   12089   version_type=windows
   12090   shrext_cmds=.dll
   12091   need_version=no
   12092   need_lib_prefix=no
   12093 
   12094   case $GCC,$cc_basename in
   12095   yes,*)
   12096     # gcc
   12097     library_names_spec='$libname.dll.a'
   12098     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12099     postinstall_cmds='base_file=`basename \$file`~
   12100       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12101       dldir=$destdir/`dirname \$dlpath`~
   12102       test -d \$dldir || mkdir -p \$dldir~
   12103       $install_prog $dir/$dlname \$dldir/$dlname~
   12104       chmod a+x \$dldir/$dlname~
   12105       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12106         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12107       fi'
   12108     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12109       dlpath=$dir/\$dldll~
   12110        $RM \$dlpath'
   12111     shlibpath_overrides_runpath=yes
   12112 
   12113     case $host_os in
   12114     cygwin*)
   12115       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12116       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12117 
   12118       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12119       ;;
   12120     mingw* | cegcc*)
   12121       # MinGW DLLs use traditional 'lib' prefix
   12122       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12123       ;;
   12124     pw32*)
   12125       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12126       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12127       ;;
   12128     esac
   12129     dynamic_linker='Win32 ld.exe'
   12130     ;;
   12131 
   12132   *,cl*)
   12133     # Native MSVC
   12134     libname_spec='$name'
   12135     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12136     library_names_spec='$libname.dll.lib'
   12137 
   12138     case $build_os in
   12139     mingw*)
   12140       sys_lib_search_path_spec=
   12141       lt_save_ifs=$IFS
   12142       IFS=';'
   12143       for lt_path in $LIB
   12144       do
   12145         IFS=$lt_save_ifs
   12146         # Let DOS variable expansion print the short 8.3 style file name.
   12147         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12148         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12149       done
   12150       IFS=$lt_save_ifs
   12151       # Convert to MSYS style.
   12152       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12153       ;;
   12154     cygwin*)
   12155       # Convert to unix form, then to dos form, then back to unix form
   12156       # but this time dos style (no spaces!) so that the unix form looks
   12157       # like /cygdrive/c/PROGRA~1:/cygdr...
   12158       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12159       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12160       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12161       ;;
   12162     *)
   12163       sys_lib_search_path_spec=$LIB
   12164       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12165         # It is most probably a Windows format PATH.
   12166         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12167       else
   12168         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12169       fi
   12170       # FIXME: find the short name or the path components, as spaces are
   12171       # common. (e.g. "Program Files" -> "PROGRA~1")
   12172       ;;
   12173     esac
   12174 
   12175     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12176     postinstall_cmds='base_file=`basename \$file`~
   12177       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12178       dldir=$destdir/`dirname \$dlpath`~
   12179       test -d \$dldir || mkdir -p \$dldir~
   12180       $install_prog $dir/$dlname \$dldir/$dlname'
   12181     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12182       dlpath=$dir/\$dldll~
   12183        $RM \$dlpath'
   12184     shlibpath_overrides_runpath=yes
   12185     dynamic_linker='Win32 link.exe'
   12186     ;;
   12187 
   12188   *)
   12189     # Assume MSVC wrapper
   12190     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12191     dynamic_linker='Win32 ld.exe'
   12192     ;;
   12193   esac
   12194   # FIXME: first we should search . and the directory the executable is in
   12195   shlibpath_var=PATH
   12196   ;;
   12197 
   12198 darwin* | rhapsody*)
   12199   dynamic_linker="$host_os dyld"
   12200   version_type=darwin
   12201   need_lib_prefix=no
   12202   need_version=no
   12203   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12204   soname_spec='$libname$release$major$shared_ext'
   12205   shlibpath_overrides_runpath=yes
   12206   shlibpath_var=DYLD_LIBRARY_PATH
   12207   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12208 
   12209   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12210   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12211   ;;
   12212 
   12213 dgux*)
   12214   version_type=linux # correct to gnu/linux during the next big refactor
   12215   need_lib_prefix=no
   12216   need_version=no
   12217   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12218   soname_spec='$libname$release$shared_ext$major'
   12219   shlibpath_var=LD_LIBRARY_PATH
   12220   ;;
   12221 
   12222 freebsd* | dragonfly*)
   12223   # DragonFly does not have aout.  When/if they implement a new
   12224   # versioning mechanism, adjust this.
   12225   if test -x /usr/bin/objformat; then
   12226     objformat=`/usr/bin/objformat`
   12227   else
   12228     case $host_os in
   12229     freebsd[23].*) objformat=aout ;;
   12230     *) objformat=elf ;;
   12231     esac
   12232   fi
   12233   version_type=freebsd-$objformat
   12234   case $version_type in
   12235     freebsd-elf*)
   12236       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12237       soname_spec='$libname$release$shared_ext$major'
   12238       need_version=no
   12239       need_lib_prefix=no
   12240       ;;
   12241     freebsd-*)
   12242       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12243       need_version=yes
   12244       ;;
   12245   esac
   12246   shlibpath_var=LD_LIBRARY_PATH
   12247   case $host_os in
   12248   freebsd2.*)
   12249     shlibpath_overrides_runpath=yes
   12250     ;;
   12251   freebsd3.[01]* | freebsdelf3.[01]*)
   12252     shlibpath_overrides_runpath=yes
   12253     hardcode_into_libs=yes
   12254     ;;
   12255   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12256   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12257     shlibpath_overrides_runpath=no
   12258     hardcode_into_libs=yes
   12259     ;;
   12260   *) # from 4.6 on, and DragonFly
   12261     shlibpath_overrides_runpath=yes
   12262     hardcode_into_libs=yes
   12263     ;;
   12264   esac
   12265   ;;
   12266 
   12267 haiku*)
   12268   version_type=linux # correct to gnu/linux during the next big refactor
   12269   need_lib_prefix=no
   12270   need_version=no
   12271   dynamic_linker="$host_os runtime_loader"
   12272   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12273   soname_spec='$libname$release$shared_ext$major'
   12274   shlibpath_var=LIBRARY_PATH
   12275   shlibpath_overrides_runpath=no
   12276   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12277   hardcode_into_libs=yes
   12278   ;;
   12279 
   12280 hpux9* | hpux10* | hpux11*)
   12281   # Give a soname corresponding to the major version so that dld.sl refuses to
   12282   # link against other versions.
   12283   version_type=sunos
   12284   need_lib_prefix=no
   12285   need_version=no
   12286   case $host_cpu in
   12287   ia64*)
   12288     shrext_cmds='.so'
   12289     hardcode_into_libs=yes
   12290     dynamic_linker="$host_os dld.so"
   12291     shlibpath_var=LD_LIBRARY_PATH
   12292     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12293     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12294     soname_spec='$libname$release$shared_ext$major'
   12295     if test 32 = "$HPUX_IA64_MODE"; then
   12296       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12297       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12298     else
   12299       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12300       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12301     fi
   12302     ;;
   12303   hppa*64*)
   12304     shrext_cmds='.sl'
   12305     hardcode_into_libs=yes
   12306     dynamic_linker="$host_os dld.sl"
   12307     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12308     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12309     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12310     soname_spec='$libname$release$shared_ext$major'
   12311     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12312     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12313     ;;
   12314   *)
   12315     shrext_cmds='.sl'
   12316     dynamic_linker="$host_os dld.sl"
   12317     shlibpath_var=SHLIB_PATH
   12318     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12319     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12320     soname_spec='$libname$release$shared_ext$major'
   12321     ;;
   12322   esac
   12323   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12324   postinstall_cmds='chmod 555 $lib'
   12325   # or fails outright, so override atomically:
   12326   install_override_mode=555
   12327   ;;
   12328 
   12329 interix[3-9]*)
   12330   version_type=linux # correct to gnu/linux during the next big refactor
   12331   need_lib_prefix=no
   12332   need_version=no
   12333   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12334   soname_spec='$libname$release$shared_ext$major'
   12335   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12336   shlibpath_var=LD_LIBRARY_PATH
   12337   shlibpath_overrides_runpath=no
   12338   hardcode_into_libs=yes
   12339   ;;
   12340 
   12341 irix5* | irix6* | nonstopux*)
   12342   case $host_os in
   12343     nonstopux*) version_type=nonstopux ;;
   12344     *)
   12345 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12346 		version_type=linux # correct to gnu/linux during the next big refactor
   12347 	else
   12348 		version_type=irix
   12349 	fi ;;
   12350   esac
   12351   need_lib_prefix=no
   12352   need_version=no
   12353   soname_spec='$libname$release$shared_ext$major'
   12354   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12355   case $host_os in
   12356   irix5* | nonstopux*)
   12357     libsuff= shlibsuff=
   12358     ;;
   12359   *)
   12360     case $LD in # libtool.m4 will add one of these switches to LD
   12361     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12362       libsuff= shlibsuff= libmagic=32-bit;;
   12363     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12364       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12365     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12366       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12367     *) libsuff= shlibsuff= libmagic=never-match;;
   12368     esac
   12369     ;;
   12370   esac
   12371   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12372   shlibpath_overrides_runpath=no
   12373   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12374   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12375   hardcode_into_libs=yes
   12376   ;;
   12377 
   12378 # No shared lib support for Linux oldld, aout, or coff.
   12379 linux*oldld* | linux*aout* | linux*coff*)
   12380   dynamic_linker=no
   12381   ;;
   12382 
   12383 linux*android*)
   12384   version_type=none # Android doesn't support versioned libraries.
   12385   need_lib_prefix=no
   12386   need_version=no
   12387   library_names_spec='$libname$release$shared_ext'
   12388   soname_spec='$libname$release$shared_ext'
   12389   finish_cmds=
   12390   shlibpath_var=LD_LIBRARY_PATH
   12391   shlibpath_overrides_runpath=yes
   12392 
   12393   # This implies no fast_install, which is unacceptable.
   12394   # Some rework will be needed to allow for fast_install
   12395   # before this can be enabled.
   12396   hardcode_into_libs=yes
   12397 
   12398   dynamic_linker='Android linker'
   12399   # Don't embed -rpath directories since the linker doesn't support them.
   12400   hardcode_libdir_flag_spec='-L$libdir'
   12401   ;;
   12402 
   12403 # This must be glibc/ELF.
   12404 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12405   version_type=linux # correct to gnu/linux during the next big refactor
   12406   need_lib_prefix=no
   12407   need_version=no
   12408   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12409   soname_spec='$libname$release$shared_ext$major'
   12410   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12411   shlibpath_var=LD_LIBRARY_PATH
   12412   shlibpath_overrides_runpath=no
   12413 
   12414   # Some binutils ld are patched to set DT_RUNPATH
   12415   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   12416   $as_echo_n "(cached) " >&6
   12417 else
   12418   lt_cv_shlibpath_overrides_runpath=no
   12419     save_LDFLAGS=$LDFLAGS
   12420     save_libdir=$libdir
   12421     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12422 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12423     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12424 /* end confdefs.h.  */
   12425 
   12426 int
   12427 main ()
   12428 {
   12429 
   12430   ;
   12431   return 0;
   12432 }
   12433 _ACEOF
   12434 if ac_fn_c_try_link "$LINENO"; then :
   12435   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   12436   lt_cv_shlibpath_overrides_runpath=yes
   12437 fi
   12438 fi
   12439 rm -f core conftest.err conftest.$ac_objext \
   12440     conftest$ac_exeext conftest.$ac_ext
   12441     LDFLAGS=$save_LDFLAGS
   12442     libdir=$save_libdir
   12443 
   12444 fi
   12445 
   12446   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12447 
   12448   # This implies no fast_install, which is unacceptable.
   12449   # Some rework will be needed to allow for fast_install
   12450   # before this can be enabled.
   12451   hardcode_into_libs=yes
   12452 
   12453   # Ideally, we could use ldconfig to report *all* directores which are
   12454   # searched for libraries, however this is still not possible.  Aside from not
   12455   # being certain /sbin/ldconfig is available, command
   12456   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12457   # even though it is searched at run-time.  Try to do the best guess by
   12458   # appending ld.so.conf contents (and includes) to the search path.
   12459   if test -f /etc/ld.so.conf; then
   12460     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' ' '`
   12461     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12462   fi
   12463 
   12464   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12465   # powerpc, because MkLinux only supported shared libraries with the
   12466   # GNU dynamic linker.  Since this was broken with cross compilers,
   12467   # most powerpc-linux boxes support dynamic linking these days and
   12468   # people can always --disable-shared, the test was removed, and we
   12469   # assume the GNU/Linux dynamic linker is in use.
   12470   dynamic_linker='GNU/Linux ld.so'
   12471   ;;
   12472 
   12473 netbsd*)
   12474   version_type=sunos
   12475   need_lib_prefix=no
   12476   need_version=no
   12477   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12478     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12479     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12480     dynamic_linker='NetBSD (a.out) ld.so'
   12481   else
   12482     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12483     soname_spec='$libname$release$shared_ext$major'
   12484     dynamic_linker='NetBSD ld.elf_so'
   12485   fi
   12486   shlibpath_var=LD_LIBRARY_PATH
   12487   shlibpath_overrides_runpath=yes
   12488   hardcode_into_libs=yes
   12489   ;;
   12490 
   12491 newsos6)
   12492   version_type=linux # correct to gnu/linux during the next big refactor
   12493   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12494   shlibpath_var=LD_LIBRARY_PATH
   12495   shlibpath_overrides_runpath=yes
   12496   ;;
   12497 
   12498 *nto* | *qnx*)
   12499   version_type=qnx
   12500   need_lib_prefix=no
   12501   need_version=no
   12502   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12503   soname_spec='$libname$release$shared_ext$major'
   12504   shlibpath_var=LD_LIBRARY_PATH
   12505   shlibpath_overrides_runpath=no
   12506   hardcode_into_libs=yes
   12507   dynamic_linker='ldqnx.so'
   12508   ;;
   12509 
   12510 openbsd* | bitrig*)
   12511   version_type=sunos
   12512   sys_lib_dlsearch_path_spec=/usr/lib
   12513   need_lib_prefix=no
   12514   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12515     need_version=no
   12516   else
   12517     need_version=yes
   12518   fi
   12519   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12520   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12521   shlibpath_var=LD_LIBRARY_PATH
   12522   shlibpath_overrides_runpath=yes
   12523   ;;
   12524 
   12525 os2*)
   12526   libname_spec='$name'
   12527   version_type=windows
   12528   shrext_cmds=.dll
   12529   need_version=no
   12530   need_lib_prefix=no
   12531   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12532   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12533     v=$($ECHO $release$versuffix | tr -d .-);
   12534     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12535     $ECHO $n$v`$shared_ext'
   12536   library_names_spec='${libname}_dll.$libext'
   12537   dynamic_linker='OS/2 ld.exe'
   12538   shlibpath_var=BEGINLIBPATH
   12539   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12540   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12541   postinstall_cmds='base_file=`basename \$file`~
   12542     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12543     dldir=$destdir/`dirname \$dlpath`~
   12544     test -d \$dldir || mkdir -p \$dldir~
   12545     $install_prog $dir/$dlname \$dldir/$dlname~
   12546     chmod a+x \$dldir/$dlname~
   12547     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12548       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12549     fi'
   12550   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12551     dlpath=$dir/\$dldll~
   12552     $RM \$dlpath'
   12553   ;;
   12554 
   12555 osf3* | osf4* | osf5*)
   12556   version_type=osf
   12557   need_lib_prefix=no
   12558   need_version=no
   12559   soname_spec='$libname$release$shared_ext$major'
   12560   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12561   shlibpath_var=LD_LIBRARY_PATH
   12562   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12563   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12564   ;;
   12565 
   12566 rdos*)
   12567   dynamic_linker=no
   12568   ;;
   12569 
   12570 solaris*)
   12571   version_type=linux # correct to gnu/linux during the next big refactor
   12572   need_lib_prefix=no
   12573   need_version=no
   12574   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12575   soname_spec='$libname$release$shared_ext$major'
   12576   shlibpath_var=LD_LIBRARY_PATH
   12577   shlibpath_overrides_runpath=yes
   12578   hardcode_into_libs=yes
   12579   # ldd complains unless libraries are executable
   12580   postinstall_cmds='chmod +x $lib'
   12581   ;;
   12582 
   12583 sunos4*)
   12584   version_type=sunos
   12585   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12586   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12587   shlibpath_var=LD_LIBRARY_PATH
   12588   shlibpath_overrides_runpath=yes
   12589   if test yes = "$with_gnu_ld"; then
   12590     need_lib_prefix=no
   12591   fi
   12592   need_version=yes
   12593   ;;
   12594 
   12595 sysv4 | sysv4.3*)
   12596   version_type=linux # correct to gnu/linux during the next big refactor
   12597   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12598   soname_spec='$libname$release$shared_ext$major'
   12599   shlibpath_var=LD_LIBRARY_PATH
   12600   case $host_vendor in
   12601     sni)
   12602       shlibpath_overrides_runpath=no
   12603       need_lib_prefix=no
   12604       runpath_var=LD_RUN_PATH
   12605       ;;
   12606     siemens)
   12607       need_lib_prefix=no
   12608       ;;
   12609     motorola)
   12610       need_lib_prefix=no
   12611       need_version=no
   12612       shlibpath_overrides_runpath=no
   12613       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12614       ;;
   12615   esac
   12616   ;;
   12617 
   12618 sysv4*MP*)
   12619   if test -d /usr/nec; then
   12620     version_type=linux # correct to gnu/linux during the next big refactor
   12621     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12622     soname_spec='$libname$shared_ext.$major'
   12623     shlibpath_var=LD_LIBRARY_PATH
   12624   fi
   12625   ;;
   12626 
   12627 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12628   version_type=sco
   12629   need_lib_prefix=no
   12630   need_version=no
   12631   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12632   soname_spec='$libname$release$shared_ext$major'
   12633   shlibpath_var=LD_LIBRARY_PATH
   12634   shlibpath_overrides_runpath=yes
   12635   hardcode_into_libs=yes
   12636   if test yes = "$with_gnu_ld"; then
   12637     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12638   else
   12639     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12640     case $host_os in
   12641       sco3.2v5*)
   12642         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12643 	;;
   12644     esac
   12645   fi
   12646   sys_lib_dlsearch_path_spec='/usr/lib'
   12647   ;;
   12648 
   12649 tpf*)
   12650   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12651   version_type=linux # correct to gnu/linux during the next big refactor
   12652   need_lib_prefix=no
   12653   need_version=no
   12654   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12655   shlibpath_var=LD_LIBRARY_PATH
   12656   shlibpath_overrides_runpath=no
   12657   hardcode_into_libs=yes
   12658   ;;
   12659 
   12660 uts4*)
   12661   version_type=linux # correct to gnu/linux during the next big refactor
   12662   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12663   soname_spec='$libname$release$shared_ext$major'
   12664   shlibpath_var=LD_LIBRARY_PATH
   12665   ;;
   12666 
   12667 *)
   12668   dynamic_linker=no
   12669   ;;
   12670 esac
   12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12672 $as_echo "$dynamic_linker" >&6; }
   12673 test no = "$dynamic_linker" && can_build_shared=no
   12674 
   12675 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12676 if test yes = "$GCC"; then
   12677   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12678 fi
   12679 
   12680 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12681   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12682 fi
   12683 
   12684 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12685   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12686 fi
   12687 
   12688 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12689 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12690 
   12691 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12692 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12693 
   12694 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12695 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12794 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12795 hardcode_action=
   12796 if test -n "$hardcode_libdir_flag_spec" ||
   12797    test -n "$runpath_var" ||
   12798    test yes = "$hardcode_automatic"; then
   12799 
   12800   # We can hardcode non-existent directories.
   12801   if test no != "$hardcode_direct" &&
   12802      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12803      # have to relink, otherwise we might link with an installed library
   12804      # when we should be linking with a yet-to-be-installed one
   12805      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12806      test no != "$hardcode_minus_L"; then
   12807     # Linking always hardcodes the temporary library directory.
   12808     hardcode_action=relink
   12809   else
   12810     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12811     hardcode_action=immediate
   12812   fi
   12813 else
   12814   # We cannot hardcode anything, or else we can only hardcode existing
   12815   # directories.
   12816   hardcode_action=unsupported
   12817 fi
   12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12819 $as_echo "$hardcode_action" >&6; }
   12820 
   12821 if test relink = "$hardcode_action" ||
   12822    test yes = "$inherit_rpath"; then
   12823   # Fast installation is not supported
   12824   enable_fast_install=no
   12825 elif test yes = "$shlibpath_overrides_runpath" ||
   12826      test no = "$enable_shared"; then
   12827   # Fast installation is not necessary
   12828   enable_fast_install=needless
   12829 fi
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836   if test yes != "$enable_dlopen"; then
   12837   enable_dlopen=unknown
   12838   enable_dlopen_self=unknown
   12839   enable_dlopen_self_static=unknown
   12840 else
   12841   lt_cv_dlopen=no
   12842   lt_cv_dlopen_libs=
   12843 
   12844   case $host_os in
   12845   beos*)
   12846     lt_cv_dlopen=load_add_on
   12847     lt_cv_dlopen_libs=
   12848     lt_cv_dlopen_self=yes
   12849     ;;
   12850 
   12851   mingw* | pw32* | cegcc*)
   12852     lt_cv_dlopen=LoadLibrary
   12853     lt_cv_dlopen_libs=
   12854     ;;
   12855 
   12856   cygwin*)
   12857     lt_cv_dlopen=dlopen
   12858     lt_cv_dlopen_libs=
   12859     ;;
   12860 
   12861   darwin*)
   12862     # if libdl is installed we need to link against it
   12863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12864 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12865 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12866   $as_echo_n "(cached) " >&6
   12867 else
   12868   ac_check_lib_save_LIBS=$LIBS
   12869 LIBS="-ldl  $LIBS"
   12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12871 /* end confdefs.h.  */
   12872 
   12873 /* Override any GCC internal prototype to avoid an error.
   12874    Use char because int might match the return type of a GCC
   12875    builtin and then its argument prototype would still apply.  */
   12876 #ifdef __cplusplus
   12877 extern "C"
   12878 #endif
   12879 char dlopen ();
   12880 int
   12881 main ()
   12882 {
   12883 return dlopen ();
   12884   ;
   12885   return 0;
   12886 }
   12887 _ACEOF
   12888 if ac_fn_c_try_link "$LINENO"; then :
   12889   ac_cv_lib_dl_dlopen=yes
   12890 else
   12891   ac_cv_lib_dl_dlopen=no
   12892 fi
   12893 rm -f core conftest.err conftest.$ac_objext \
   12894     conftest$ac_exeext conftest.$ac_ext
   12895 LIBS=$ac_check_lib_save_LIBS
   12896 fi
   12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12898 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12899 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12900   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12901 else
   12902 
   12903     lt_cv_dlopen=dyld
   12904     lt_cv_dlopen_libs=
   12905     lt_cv_dlopen_self=yes
   12906 
   12907 fi
   12908 
   12909     ;;
   12910 
   12911   tpf*)
   12912     # Don't try to run any link tests for TPF.  We know it's impossible
   12913     # because TPF is a cross-compiler, and we know how we open DSOs.
   12914     lt_cv_dlopen=dlopen
   12915     lt_cv_dlopen_libs=
   12916     lt_cv_dlopen_self=no
   12917     ;;
   12918 
   12919   *)
   12920     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12921 if test "x$ac_cv_func_shl_load" = xyes; then :
   12922   lt_cv_dlopen=shl_load
   12923 else
   12924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12925 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12926 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12927   $as_echo_n "(cached) " >&6
   12928 else
   12929   ac_check_lib_save_LIBS=$LIBS
   12930 LIBS="-ldld  $LIBS"
   12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12932 /* end confdefs.h.  */
   12933 
   12934 /* Override any GCC internal prototype to avoid an error.
   12935    Use char because int might match the return type of a GCC
   12936    builtin and then its argument prototype would still apply.  */
   12937 #ifdef __cplusplus
   12938 extern "C"
   12939 #endif
   12940 char shl_load ();
   12941 int
   12942 main ()
   12943 {
   12944 return shl_load ();
   12945   ;
   12946   return 0;
   12947 }
   12948 _ACEOF
   12949 if ac_fn_c_try_link "$LINENO"; then :
   12950   ac_cv_lib_dld_shl_load=yes
   12951 else
   12952   ac_cv_lib_dld_shl_load=no
   12953 fi
   12954 rm -f core conftest.err conftest.$ac_objext \
   12955     conftest$ac_exeext conftest.$ac_ext
   12956 LIBS=$ac_check_lib_save_LIBS
   12957 fi
   12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12959 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12960 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12961   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12962 else
   12963   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12964 if test "x$ac_cv_func_dlopen" = xyes; then :
   12965   lt_cv_dlopen=dlopen
   12966 else
   12967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12968 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12969 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12970   $as_echo_n "(cached) " >&6
   12971 else
   12972   ac_check_lib_save_LIBS=$LIBS
   12973 LIBS="-ldl  $LIBS"
   12974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12975 /* end confdefs.h.  */
   12976 
   12977 /* Override any GCC internal prototype to avoid an error.
   12978    Use char because int might match the return type of a GCC
   12979    builtin and then its argument prototype would still apply.  */
   12980 #ifdef __cplusplus
   12981 extern "C"
   12982 #endif
   12983 char dlopen ();
   12984 int
   12985 main ()
   12986 {
   12987 return dlopen ();
   12988   ;
   12989   return 0;
   12990 }
   12991 _ACEOF
   12992 if ac_fn_c_try_link "$LINENO"; then :
   12993   ac_cv_lib_dl_dlopen=yes
   12994 else
   12995   ac_cv_lib_dl_dlopen=no
   12996 fi
   12997 rm -f core conftest.err conftest.$ac_objext \
   12998     conftest$ac_exeext conftest.$ac_ext
   12999 LIBS=$ac_check_lib_save_LIBS
   13000 fi
   13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13002 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   13003 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   13004   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13005 else
   13006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13007 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   13008 if ${ac_cv_lib_svld_dlopen+:} false; then :
   13009   $as_echo_n "(cached) " >&6
   13010 else
   13011   ac_check_lib_save_LIBS=$LIBS
   13012 LIBS="-lsvld  $LIBS"
   13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13014 /* end confdefs.h.  */
   13015 
   13016 /* Override any GCC internal prototype to avoid an error.
   13017    Use char because int might match the return type of a GCC
   13018    builtin and then its argument prototype would still apply.  */
   13019 #ifdef __cplusplus
   13020 extern "C"
   13021 #endif
   13022 char dlopen ();
   13023 int
   13024 main ()
   13025 {
   13026 return dlopen ();
   13027   ;
   13028   return 0;
   13029 }
   13030 _ACEOF
   13031 if ac_fn_c_try_link "$LINENO"; then :
   13032   ac_cv_lib_svld_dlopen=yes
   13033 else
   13034   ac_cv_lib_svld_dlopen=no
   13035 fi
   13036 rm -f core conftest.err conftest.$ac_objext \
   13037     conftest$ac_exeext conftest.$ac_ext
   13038 LIBS=$ac_check_lib_save_LIBS
   13039 fi
   13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13041 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   13042 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   13043   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13044 else
   13045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13046 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   13047 if ${ac_cv_lib_dld_dld_link+:} false; then :
   13048   $as_echo_n "(cached) " >&6
   13049 else
   13050   ac_check_lib_save_LIBS=$LIBS
   13051 LIBS="-ldld  $LIBS"
   13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13053 /* end confdefs.h.  */
   13054 
   13055 /* Override any GCC internal prototype to avoid an error.
   13056    Use char because int might match the return type of a GCC
   13057    builtin and then its argument prototype would still apply.  */
   13058 #ifdef __cplusplus
   13059 extern "C"
   13060 #endif
   13061 char dld_link ();
   13062 int
   13063 main ()
   13064 {
   13065 return dld_link ();
   13066   ;
   13067   return 0;
   13068 }
   13069 _ACEOF
   13070 if ac_fn_c_try_link "$LINENO"; then :
   13071   ac_cv_lib_dld_dld_link=yes
   13072 else
   13073   ac_cv_lib_dld_dld_link=no
   13074 fi
   13075 rm -f core conftest.err conftest.$ac_objext \
   13076     conftest$ac_exeext conftest.$ac_ext
   13077 LIBS=$ac_check_lib_save_LIBS
   13078 fi
   13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13080 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   13081 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   13082   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13083 fi
   13084 
   13085 
   13086 fi
   13087 
   13088 
   13089 fi
   13090 
   13091 
   13092 fi
   13093 
   13094 
   13095 fi
   13096 
   13097 
   13098 fi
   13099 
   13100     ;;
   13101   esac
   13102 
   13103   if test no = "$lt_cv_dlopen"; then
   13104     enable_dlopen=no
   13105   else
   13106     enable_dlopen=yes
   13107   fi
   13108 
   13109   case $lt_cv_dlopen in
   13110   dlopen)
   13111     save_CPPFLAGS=$CPPFLAGS
   13112     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13113 
   13114     save_LDFLAGS=$LDFLAGS
   13115     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13116 
   13117     save_LIBS=$LIBS
   13118     LIBS="$lt_cv_dlopen_libs $LIBS"
   13119 
   13120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13121 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   13122 if ${lt_cv_dlopen_self+:} false; then :
   13123   $as_echo_n "(cached) " >&6
   13124 else
   13125   	  if test yes = "$cross_compiling"; then :
   13126   lt_cv_dlopen_self=cross
   13127 else
   13128   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13129   lt_status=$lt_dlunknown
   13130   cat > conftest.$ac_ext <<_LT_EOF
   13131 #line $LINENO "configure"
   13132 #include "confdefs.h"
   13133 
   13134 #if HAVE_DLFCN_H
   13135 #include <dlfcn.h>
   13136 #endif
   13137 
   13138 #include <stdio.h>
   13139 
   13140 #ifdef RTLD_GLOBAL
   13141 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13142 #else
   13143 #  ifdef DL_GLOBAL
   13144 #    define LT_DLGLOBAL		DL_GLOBAL
   13145 #  else
   13146 #    define LT_DLGLOBAL		0
   13147 #  endif
   13148 #endif
   13149 
   13150 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13151    find out it does not work in some platform. */
   13152 #ifndef LT_DLLAZY_OR_NOW
   13153 #  ifdef RTLD_LAZY
   13154 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13155 #  else
   13156 #    ifdef DL_LAZY
   13157 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13158 #    else
   13159 #      ifdef RTLD_NOW
   13160 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13161 #      else
   13162 #        ifdef DL_NOW
   13163 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13164 #        else
   13165 #          define LT_DLLAZY_OR_NOW	0
   13166 #        endif
   13167 #      endif
   13168 #    endif
   13169 #  endif
   13170 #endif
   13171 
   13172 /* When -fvisibility=hidden is used, assume the code has been annotated
   13173    correspondingly for the symbols needed.  */
   13174 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13175 int fnord () __attribute__((visibility("default")));
   13176 #endif
   13177 
   13178 int fnord () { return 42; }
   13179 int main ()
   13180 {
   13181   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13182   int status = $lt_dlunknown;
   13183 
   13184   if (self)
   13185     {
   13186       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13187       else
   13188         {
   13189 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13190           else puts (dlerror ());
   13191 	}
   13192       /* dlclose (self); */
   13193     }
   13194   else
   13195     puts (dlerror ());
   13196 
   13197   return status;
   13198 }
   13199 _LT_EOF
   13200   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13201   (eval $ac_link) 2>&5
   13202   ac_status=$?
   13203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13204   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13205     (./conftest; exit; ) >&5 2>/dev/null
   13206     lt_status=$?
   13207     case x$lt_status in
   13208       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13209       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13210       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13211     esac
   13212   else :
   13213     # compilation failed
   13214     lt_cv_dlopen_self=no
   13215   fi
   13216 fi
   13217 rm -fr conftest*
   13218 
   13219 
   13220 fi
   13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13222 $as_echo "$lt_cv_dlopen_self" >&6; }
   13223 
   13224     if test yes = "$lt_cv_dlopen_self"; then
   13225       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13226       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13227 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   13228 if ${lt_cv_dlopen_self_static+:} false; then :
   13229   $as_echo_n "(cached) " >&6
   13230 else
   13231   	  if test yes = "$cross_compiling"; then :
   13232   lt_cv_dlopen_self_static=cross
   13233 else
   13234   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13235   lt_status=$lt_dlunknown
   13236   cat > conftest.$ac_ext <<_LT_EOF
   13237 #line $LINENO "configure"
   13238 #include "confdefs.h"
   13239 
   13240 #if HAVE_DLFCN_H
   13241 #include <dlfcn.h>
   13242 #endif
   13243 
   13244 #include <stdio.h>
   13245 
   13246 #ifdef RTLD_GLOBAL
   13247 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13248 #else
   13249 #  ifdef DL_GLOBAL
   13250 #    define LT_DLGLOBAL		DL_GLOBAL
   13251 #  else
   13252 #    define LT_DLGLOBAL		0
   13253 #  endif
   13254 #endif
   13255 
   13256 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13257    find out it does not work in some platform. */
   13258 #ifndef LT_DLLAZY_OR_NOW
   13259 #  ifdef RTLD_LAZY
   13260 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13261 #  else
   13262 #    ifdef DL_LAZY
   13263 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13264 #    else
   13265 #      ifdef RTLD_NOW
   13266 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13267 #      else
   13268 #        ifdef DL_NOW
   13269 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13270 #        else
   13271 #          define LT_DLLAZY_OR_NOW	0
   13272 #        endif
   13273 #      endif
   13274 #    endif
   13275 #  endif
   13276 #endif
   13277 
   13278 /* When -fvisibility=hidden is used, assume the code has been annotated
   13279    correspondingly for the symbols needed.  */
   13280 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13281 int fnord () __attribute__((visibility("default")));
   13282 #endif
   13283 
   13284 int fnord () { return 42; }
   13285 int main ()
   13286 {
   13287   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13288   int status = $lt_dlunknown;
   13289 
   13290   if (self)
   13291     {
   13292       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13293       else
   13294         {
   13295 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13296           else puts (dlerror ());
   13297 	}
   13298       /* dlclose (self); */
   13299     }
   13300   else
   13301     puts (dlerror ());
   13302 
   13303   return status;
   13304 }
   13305 _LT_EOF
   13306   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13307   (eval $ac_link) 2>&5
   13308   ac_status=$?
   13309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13310   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13311     (./conftest; exit; ) >&5 2>/dev/null
   13312     lt_status=$?
   13313     case x$lt_status in
   13314       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13315       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13316       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13317     esac
   13318   else :
   13319     # compilation failed
   13320     lt_cv_dlopen_self_static=no
   13321   fi
   13322 fi
   13323 rm -fr conftest*
   13324 
   13325 
   13326 fi
   13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13328 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   13329     fi
   13330 
   13331     CPPFLAGS=$save_CPPFLAGS
   13332     LDFLAGS=$save_LDFLAGS
   13333     LIBS=$save_LIBS
   13334     ;;
   13335   esac
   13336 
   13337   case $lt_cv_dlopen_self in
   13338   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13339   *) enable_dlopen_self=unknown ;;
   13340   esac
   13341 
   13342   case $lt_cv_dlopen_self_static in
   13343   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13344   *) enable_dlopen_self_static=unknown ;;
   13345   esac
   13346 fi
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 striplib=
   13365 old_striplib=
   13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13367 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   13368 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13369   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   13370   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   13371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13372 $as_echo "yes" >&6; }
   13373 else
   13374 # FIXME - insert some real tests, host_os isn't really good enough
   13375   case $host_os in
   13376   darwin*)
   13377     if test -n "$STRIP"; then
   13378       striplib="$STRIP -x"
   13379       old_striplib="$STRIP -S"
   13380       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13381 $as_echo "yes" >&6; }
   13382     else
   13383       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13384 $as_echo "no" >&6; }
   13385     fi
   13386     ;;
   13387   *)
   13388     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13389 $as_echo "no" >&6; }
   13390     ;;
   13391   esac
   13392 fi
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405   # Report what library types will actually be built
   13406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13407 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   13408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13409 $as_echo "$can_build_shared" >&6; }
   13410 
   13411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13412 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13413   test no = "$can_build_shared" && enable_shared=no
   13414 
   13415   # On AIX, shared libraries and static libraries use the same namespace, and
   13416   # are all built from PIC.
   13417   case $host_os in
   13418   aix3*)
   13419     test yes = "$enable_shared" && enable_static=no
   13420     if test -n "$RANLIB"; then
   13421       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13422       postinstall_cmds='$RANLIB $lib'
   13423     fi
   13424     ;;
   13425 
   13426   aix[4-9]*)
   13427     if test ia64 != "$host_cpu"; then
   13428       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13429       yes,aix,yes) ;;			# shared object as lib.so file only
   13430       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13431       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13432       esac
   13433     fi
   13434     ;;
   13435   esac
   13436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13437 $as_echo "$enable_shared" >&6; }
   13438 
   13439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13440 $as_echo_n "checking whether to build static libraries... " >&6; }
   13441   # Make sure either enable_shared or enable_static is yes.
   13442   test yes = "$enable_shared" || enable_static=yes
   13443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13444 $as_echo "$enable_static" >&6; }
   13445 
   13446 
   13447 
   13448 
   13449 fi
   13450 ac_ext=c
   13451 ac_cpp='$CPP $CPPFLAGS'
   13452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13455 
   13456 CC=$lt_save_CC
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472         ac_config_commands="$ac_config_commands libtool"
   13473 
   13474 
   13475 
   13476 
   13477 # Only expand once:
   13478 
   13479 
   13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   13481 $as_echo_n "checking whether ln -s works... " >&6; }
   13482 LN_S=$as_ln_s
   13483 if test "$LN_S" = "ln -s"; then
   13484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13485 $as_echo "yes" >&6; }
   13486 else
   13487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   13488 $as_echo "no, using $LN_S" >&6; }
   13489 fi
   13490 
   13491 
   13492 # Check for GCC visibility feature
   13493 
   13494 
   13495 
   13496   VISIBILITY_CFLAGS=
   13497   VISIBILITY_CXXFLAGS=
   13498   HAVE_VISIBILITY=0
   13499   if test -n "$GCC"; then
   13500                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
   13501 $as_echo_n "checking whether the -Werror option is usable... " >&6; }
   13502     if ${pcre2_cv_cc_vis_werror+:} false; then :
   13503   $as_echo_n "(cached) " >&6
   13504 else
   13505 
   13506       pcre2_save_CFLAGS="$CFLAGS"
   13507       CFLAGS="$CFLAGS -Werror"
   13508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13509 /* end confdefs.h.  */
   13510 
   13511 int
   13512 main ()
   13513 {
   13514 
   13515   ;
   13516   return 0;
   13517 }
   13518 _ACEOF
   13519 if ac_fn_c_try_compile "$LINENO"; then :
   13520   pcre2_cv_cc_vis_werror=yes
   13521 else
   13522   pcre2_cv_cc_vis_werror=no
   13523 fi
   13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13525       CFLAGS="$pcre2_save_CFLAGS"
   13526 fi
   13527 
   13528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre2_cv_cc_vis_werror" >&5
   13529 $as_echo "$pcre2_cv_cc_vis_werror" >&6; }
   13530         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
   13531 $as_echo_n "checking for simple visibility declarations... " >&6; }
   13532     if ${pcre2_cv_cc_visibility+:} false; then :
   13533   $as_echo_n "(cached) " >&6
   13534 else
   13535 
   13536       pcre2_save_CFLAGS="$CFLAGS"
   13537       CFLAGS="$CFLAGS -fvisibility=hidden"
   13538                                     if test $pcre2_cv_cc_vis_werror = yes; then
   13539         CFLAGS="$CFLAGS -Werror"
   13540       fi
   13541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13542 /* end confdefs.h.  */
   13543 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
   13544              extern __attribute__((__visibility__("default"))) int exportedvar;
   13545              extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
   13546              extern __attribute__((__visibility__("default"))) int exportedfunc (void);
   13547              void dummyfunc (void) {}
   13548 
   13549 int
   13550 main ()
   13551 {
   13552 
   13553   ;
   13554   return 0;
   13555 }
   13556 _ACEOF
   13557 if ac_fn_c_try_compile "$LINENO"; then :
   13558   pcre2_cv_cc_visibility=yes
   13559 else
   13560   pcre2_cv_cc_visibility=no
   13561 fi
   13562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13563       CFLAGS="$pcre2_save_CFLAGS"
   13564 fi
   13565 
   13566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre2_cv_cc_visibility" >&5
   13567 $as_echo "$pcre2_cv_cc_visibility" >&6; }
   13568     if test $pcre2_cv_cc_visibility = yes; then
   13569       VISIBILITY_CFLAGS="-fvisibility=hidden"
   13570       VISIBILITY_CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden"
   13571       HAVE_VISIBILITY=1
   13572 
   13573 $as_echo "#define PCRE2_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   13574 
   13575 
   13576 $as_echo "#define PCRE2_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h
   13577 
   13578 
   13579 $as_echo "#define PCRE2POSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   13580 
   13581 
   13582 $as_echo "#define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h
   13583 
   13584     fi
   13585   fi
   13586 
   13587 
   13588 
   13589 
   13590 cat >>confdefs.h <<_ACEOF
   13591 #define HAVE_VISIBILITY $HAVE_VISIBILITY
   13592 _ACEOF
   13593 
   13594 
   13595 
   13596 # Versioning
   13597 
   13598 PCRE2_MAJOR="10"
   13599 PCRE2_MINOR="22"
   13600 PCRE2_PRERELEASE=""
   13601 PCRE2_DATE="2016-07-29"
   13602 
   13603 if test "$PCRE2_MINOR" = "08" -o "$PCRE2_MINOR" = "09"
   13604 then
   13605   echo "***"
   13606   echo "*** Minor version number $PCRE2_MINOR must not be used. ***"
   13607   echo "*** Use only 00 to 07 or 10 onwards, to avoid octal issues. ***"
   13608   echo "***"
   13609   exit 1
   13610 fi
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 # Set a more sensible default value for $(htmldir).
   13618 if test "x$htmldir" = 'x${docdir}'
   13619 then
   13620   htmldir='${docdir}/html'
   13621 fi
   13622 
   13623 # Force an error for PCRE1 size options
   13624 # Check whether --enable-pcre8 was given.
   13625 if test "${enable_pcre8+set}" = set; then :
   13626   enableval=$enable_pcre8;
   13627 else
   13628   enable_pcre8=no
   13629 fi
   13630 
   13631 # Check whether --enable-pcre16 was given.
   13632 if test "${enable_pcre16+set}" = set; then :
   13633   enableval=$enable_pcre16;
   13634 else
   13635   enable_pcre16=no
   13636 fi
   13637 
   13638 # Check whether --enable-pcre32 was given.
   13639 if test "${enable_pcre32+set}" = set; then :
   13640   enableval=$enable_pcre32;
   13641 else
   13642   enable_pcre32=no
   13643 fi
   13644 
   13645 
   13646 if test "$enable_pcre8$enable_pcre16$enable_pcre32" != "nonono"
   13647 then
   13648   echo "** ERROR: Use --[en|dis]able-pcre2-[8|16|32], not --[en|dis]able-pcre[8|16|32]"
   13649   exit 1
   13650 fi
   13651 
   13652 # Handle --disable-pcre2-8 (enabled by default)
   13653 # Check whether --enable-pcre2-8 was given.
   13654 if test "${enable_pcre2_8+set}" = set; then :
   13655   enableval=$enable_pcre2_8;
   13656 else
   13657   enable_pcre2_8=unset
   13658 fi
   13659 
   13660 
   13661 
   13662 # Handle --enable-pcre2-16 (disabled by default)
   13663 # Check whether --enable-pcre2-16 was given.
   13664 if test "${enable_pcre2_16+set}" = set; then :
   13665   enableval=$enable_pcre2_16;
   13666 else
   13667   enable_pcre2_16=unset
   13668 fi
   13669 
   13670 
   13671 
   13672 # Handle --enable-pcre2-32 (disabled by default)
   13673 # Check whether --enable-pcre2-32 was given.
   13674 if test "${enable_pcre2_32+set}" = set; then :
   13675   enableval=$enable_pcre2_32;
   13676 else
   13677   enable_pcre2_32=unset
   13678 fi
   13679 
   13680 
   13681 
   13682 # Handle --dnable-debug (disabled by default)
   13683 # Check whether --enable-debug was given.
   13684 if test "${enable_debug+set}" = set; then :
   13685   enableval=$enable_debug;
   13686 else
   13687   enable_debug=no
   13688 fi
   13689 
   13690 
   13691 # Handle --enable-jit (disabled by default)
   13692 # Check whether --enable-jit was given.
   13693 if test "${enable_jit+set}" = set; then :
   13694   enableval=$enable_jit;
   13695 else
   13696   enable_jit=no
   13697 fi
   13698 
   13699 
   13700 # Handle --disable-pcre2grep-jit (enabled by default)
   13701 # Check whether --enable-pcre2grep-jit was given.
   13702 if test "${enable_pcre2grep_jit+set}" = set; then :
   13703   enableval=$enable_pcre2grep_jit;
   13704 else
   13705   enable_pcre2grep_jit=yes
   13706 fi
   13707 
   13708 
   13709 # Handle --disable-pcre2grep-callout (enabled by default) but not supported
   13710 # for Windows.
   13711 if test "$HAVE_WINDOWS_H" != "1"; then
   13712   # Check whether --enable-pcre2grep-callout was given.
   13713 if test "${enable_pcre2grep_callout+set}" = set; then :
   13714   enableval=$enable_pcre2grep_callout;
   13715 else
   13716   enable_pcre2grep_callout=yes
   13717 fi
   13718 
   13719 else
   13720   enable_pcre2grep_callout=no
   13721 fi
   13722 
   13723 # Handle --enable-rebuild-chartables
   13724 # Check whether --enable-rebuild-chartables was given.
   13725 if test "${enable_rebuild_chartables+set}" = set; then :
   13726   enableval=$enable_rebuild_chartables;
   13727 else
   13728   enable_rebuild_chartables=no
   13729 fi
   13730 
   13731 
   13732 # Handle --disable-unicode (enabled by default)
   13733 # Check whether --enable-unicode was given.
   13734 if test "${enable_unicode+set}" = set; then :
   13735   enableval=$enable_unicode;
   13736 else
   13737   enable_unicode=unset
   13738 fi
   13739 
   13740 
   13741 # Handle newline options
   13742 ac_pcre2_newline=lf
   13743 # Check whether --enable-newline-is-cr was given.
   13744 if test "${enable_newline_is_cr+set}" = set; then :
   13745   enableval=$enable_newline_is_cr; ac_pcre2_newline=cr
   13746 fi
   13747 
   13748 # Check whether --enable-newline-is-lf was given.
   13749 if test "${enable_newline_is_lf+set}" = set; then :
   13750   enableval=$enable_newline_is_lf; ac_pcre2_newline=lf
   13751 fi
   13752 
   13753 # Check whether --enable-newline-is-crlf was given.
   13754 if test "${enable_newline_is_crlf+set}" = set; then :
   13755   enableval=$enable_newline_is_crlf; ac_pcre2_newline=crlf
   13756 fi
   13757 
   13758 # Check whether --enable-newline-is-anycrlf was given.
   13759 if test "${enable_newline_is_anycrlf+set}" = set; then :
   13760   enableval=$enable_newline_is_anycrlf; ac_pcre2_newline=anycrlf
   13761 fi
   13762 
   13763 # Check whether --enable-newline-is-any was given.
   13764 if test "${enable_newline_is_any+set}" = set; then :
   13765   enableval=$enable_newline_is_any; ac_pcre2_newline=any
   13766 fi
   13767 
   13768 enable_newline="$ac_pcre2_newline"
   13769 
   13770 # Handle --enable-bsr-anycrlf
   13771 # Check whether --enable-bsr-anycrlf was given.
   13772 if test "${enable_bsr_anycrlf+set}" = set; then :
   13773   enableval=$enable_bsr_anycrlf;
   13774 else
   13775   enable_bsr_anycrlf=no
   13776 fi
   13777 
   13778 
   13779 # Handle --enable-never-backslash-C
   13780 # Check whether --enable-never-backslash-C was given.
   13781 if test "${enable_never_backslash_C+set}" = set; then :
   13782   enableval=$enable_never_backslash_C;
   13783 else
   13784   enable_never_backslash_C=no
   13785 fi
   13786 
   13787 
   13788 # Handle --enable-ebcdic
   13789 # Check whether --enable-ebcdic was given.
   13790 if test "${enable_ebcdic+set}" = set; then :
   13791   enableval=$enable_ebcdic;
   13792 else
   13793   enable_ebcdic=no
   13794 fi
   13795 
   13796 
   13797 # Handle --enable-ebcdic-nl25
   13798 # Check whether --enable-ebcdic-nl25 was given.
   13799 if test "${enable_ebcdic_nl25+set}" = set; then :
   13800   enableval=$enable_ebcdic_nl25;
   13801 else
   13802   enable_ebcdic_nl25=no
   13803 fi
   13804 
   13805 
   13806 # Handle --disable-stack-for-recursion
   13807 # Check whether --enable-stack-for-recursion was given.
   13808 if test "${enable_stack_for_recursion+set}" = set; then :
   13809   enableval=$enable_stack_for_recursion;
   13810 else
   13811   enable_stack_for_recursion=yes
   13812 fi
   13813 
   13814 
   13815 # Handle --enable-pcre2grep-libz
   13816 # Check whether --enable-pcre2grep-libz was given.
   13817 if test "${enable_pcre2grep_libz+set}" = set; then :
   13818   enableval=$enable_pcre2grep_libz;
   13819 else
   13820   enable_pcre2grep_libz=no
   13821 fi
   13822 
   13823 
   13824 # Handle --enable-pcre2grep-libbz2
   13825 # Check whether --enable-pcre2grep-libbz2 was given.
   13826 if test "${enable_pcre2grep_libbz2+set}" = set; then :
   13827   enableval=$enable_pcre2grep_libbz2;
   13828 else
   13829   enable_pcre2grep_libbz2=no
   13830 fi
   13831 
   13832 
   13833 # Handle --with-pcre2grep-bufsize=N
   13834 
   13835 # Check whether --with-pcre2grep-bufsize was given.
   13836 if test "${with_pcre2grep_bufsize+set}" = set; then :
   13837   withval=$with_pcre2grep_bufsize;
   13838 else
   13839   with_pcre2grep_bufsize=20480
   13840 fi
   13841 
   13842 
   13843 # Handle --enable-pcre2test-libedit
   13844 # Check whether --enable-pcre2test-libedit was given.
   13845 if test "${enable_pcre2test_libedit+set}" = set; then :
   13846   enableval=$enable_pcre2test_libedit;
   13847 else
   13848   enable_pcre2test_libedit=no
   13849 fi
   13850 
   13851 
   13852 # Handle --enable-pcre2test-libreadline
   13853 # Check whether --enable-pcre2test-libreadline was given.
   13854 if test "${enable_pcre2test_libreadline+set}" = set; then :
   13855   enableval=$enable_pcre2test_libreadline;
   13856 else
   13857   enable_pcre2test_libreadline=no
   13858 fi
   13859 
   13860 
   13861 # Handle --with-link-size=N
   13862 
   13863 # Check whether --with-link-size was given.
   13864 if test "${with_link_size+set}" = set; then :
   13865   withval=$with_link_size;
   13866 else
   13867   with_link_size=2
   13868 fi
   13869 
   13870 
   13871 # Handle --with-parens-nest-limit=N
   13872 
   13873 # Check whether --with-parens-nest-limit was given.
   13874 if test "${with_parens_nest_limit+set}" = set; then :
   13875   withval=$with_parens_nest_limit;
   13876 else
   13877   with_parens_nest_limit=250
   13878 fi
   13879 
   13880 
   13881 # Handle --with-match-limit=N
   13882 
   13883 # Check whether --with-match-limit was given.
   13884 if test "${with_match_limit+set}" = set; then :
   13885   withval=$with_match_limit;
   13886 else
   13887   with_match_limit=10000000
   13888 fi
   13889 
   13890 
   13891 # Handle --with-match-limit_recursion=N
   13892 #
   13893 # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
   13894 # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
   13895 # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
   13896 # different numeric value (or even the same numeric value as MATCH_LIMIT,
   13897 # though no longer defined in terms of the latter).
   13898 #
   13899 
   13900 # Check whether --with-match-limit-recursion was given.
   13901 if test "${with_match_limit_recursion+set}" = set; then :
   13902   withval=$with_match_limit_recursion;
   13903 else
   13904   with_match_limit_recursion=MATCH_LIMIT
   13905 fi
   13906 
   13907 
   13908 # Handle --enable-valgrind
   13909 # Check whether --enable-valgrind was given.
   13910 if test "${enable_valgrind+set}" = set; then :
   13911   enableval=$enable_valgrind;
   13912 else
   13913   enable_valgrind=no
   13914 fi
   13915 
   13916 
   13917 # Enable code coverage reports using gcov
   13918 # Check whether --enable-coverage was given.
   13919 if test "${enable_coverage+set}" = set; then :
   13920   enableval=$enable_coverage;
   13921 else
   13922   enable_coverage=no
   13923 fi
   13924 
   13925 
   13926 # Set the default value for pcre2-8
   13927 if test "x$enable_pcre2_8" = "xunset"
   13928 then
   13929   enable_pcre2_8=yes
   13930 fi
   13931 
   13932 # Set the default value for pcre2-16
   13933 if test "x$enable_pcre2_16" = "xunset"
   13934 then
   13935   enable_pcre2_16=no
   13936 fi
   13937 
   13938 # Set the default value for pcre2-32
   13939 if test "x$enable_pcre2_32" = "xunset"
   13940 then
   13941   enable_pcre2_32=no
   13942 fi
   13943 
   13944 # Make sure at least one library is selected
   13945 if test "x$enable_pcre2_8$enable_pcre2_16$enable_pcre2_32" = "xnonono"
   13946 then
   13947   as_fn_error $? "At least one of the 8, 16 or 32 bit libraries must be enabled" "$LINENO" 5
   13948 fi
   13949 
   13950 # Unicode is enabled by default.
   13951 if test "x$enable_unicode" = "xunset"
   13952 then
   13953   enable_unicode=yes
   13954 fi
   13955 
   13956 # Convert the newline identifier into the appropriate integer value. These must
   13957 # agree with the PCRE2_NEWLINE_xxx values in pcre2.h.
   13958 
   13959 case "$enable_newline" in
   13960   cr)      ac_pcre2_newline_value=1 ;;
   13961   lf)      ac_pcre2_newline_value=2 ;;
   13962   crlf)    ac_pcre2_newline_value=3 ;;
   13963   any)     ac_pcre2_newline_value=4 ;;
   13964   anycrlf) ac_pcre2_newline_value=5 ;;
   13965   *)
   13966   as_fn_error $? "invalid argument \"$enable_newline\" to --enable-newline option" "$LINENO" 5
   13967   ;;
   13968 esac
   13969 
   13970 # --enable-ebcdic-nl25 implies --enable-ebcdic
   13971 if test "x$enable_ebcdic_nl25" = "xyes"; then
   13972   enable_ebcdic=yes
   13973 fi
   13974 
   13975 # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
   13976 # Also check that UTF support is not requested, because PCRE2 cannot handle
   13977 # EBCDIC and UTF in the same build. To do so it would need to use different
   13978 # character constants depending on the mode. Also, EBCDIC cannot be used with
   13979 # 16-bit and 32-bit libraries.
   13980 #
   13981 if test "x$enable_ebcdic" = "xyes"; then
   13982   enable_rebuild_chartables=yes
   13983   if test "x$enable_unicode" = "xyes"; then
   13984     as_fn_error $? "support for EBCDIC and Unicode cannot be enabled at the same time" "$LINENO" 5
   13985   fi
   13986   if test "x$enable_pcre2_16" = "xyes" -o "x$enable_pcre2_32" = "xyes"; then
   13987     as_fn_error $? "EBCDIC support is available only for the 8-bit library" "$LINENO" 5
   13988   fi
   13989 fi
   13990 
   13991 # Check argument to --with-link-size
   13992 case "$with_link_size" in
   13993   2|3|4) ;;
   13994   *)
   13995   as_fn_error $? "invalid argument \"$with_link_size\" to --with-link-size option" "$LINENO" 5
   13996   ;;
   13997 esac
   13998 
   13999 
   14000 
   14001 # Checks for header files.
   14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   14003 $as_echo_n "checking for ANSI C header files... " >&6; }
   14004 if ${ac_cv_header_stdc+:} false; then :
   14005   $as_echo_n "(cached) " >&6
   14006 else
   14007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14008 /* end confdefs.h.  */
   14009 #include <stdlib.h>
   14010 #include <stdarg.h>
   14011 #include <string.h>
   14012 #include <float.h>
   14013 
   14014 int
   14015 main ()
   14016 {
   14017 
   14018   ;
   14019   return 0;
   14020 }
   14021 _ACEOF
   14022 if ac_fn_c_try_compile "$LINENO"; then :
   14023   ac_cv_header_stdc=yes
   14024 else
   14025   ac_cv_header_stdc=no
   14026 fi
   14027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14028 
   14029 if test $ac_cv_header_stdc = yes; then
   14030   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   14031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14032 /* end confdefs.h.  */
   14033 #include <string.h>
   14034 
   14035 _ACEOF
   14036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14037   $EGREP "memchr" >/dev/null 2>&1; then :
   14038 
   14039 else
   14040   ac_cv_header_stdc=no
   14041 fi
   14042 rm -f conftest*
   14043 
   14044 fi
   14045 
   14046 if test $ac_cv_header_stdc = yes; then
   14047   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   14048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14049 /* end confdefs.h.  */
   14050 #include <stdlib.h>
   14051 
   14052 _ACEOF
   14053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14054   $EGREP "free" >/dev/null 2>&1; then :
   14055 
   14056 else
   14057   ac_cv_header_stdc=no
   14058 fi
   14059 rm -f conftest*
   14060 
   14061 fi
   14062 
   14063 if test $ac_cv_header_stdc = yes; then
   14064   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   14065   if test "$cross_compiling" = yes; then :
   14066   :
   14067 else
   14068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14069 /* end confdefs.h.  */
   14070 #include <ctype.h>
   14071 #include <stdlib.h>
   14072 #if ((' ' & 0x0FF) == 0x020)
   14073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   14074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   14075 #else
   14076 # define ISLOWER(c) \
   14077 		   (('a' <= (c) && (c) <= 'i') \
   14078 		     || ('j' <= (c) && (c) <= 'r') \
   14079 		     || ('s' <= (c) && (c) <= 'z'))
   14080 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   14081 #endif
   14082 
   14083 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   14084 int
   14085 main ()
   14086 {
   14087   int i;
   14088   for (i = 0; i < 256; i++)
   14089     if (XOR (islower (i), ISLOWER (i))
   14090 	|| toupper (i) != TOUPPER (i))
   14091       return 2;
   14092   return 0;
   14093 }
   14094 _ACEOF
   14095 if ac_fn_c_try_run "$LINENO"; then :
   14096 
   14097 else
   14098   ac_cv_header_stdc=no
   14099 fi
   14100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14101   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14102 fi
   14103 
   14104 fi
   14105 fi
   14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   14107 $as_echo "$ac_cv_header_stdc" >&6; }
   14108 if test $ac_cv_header_stdc = yes; then
   14109 
   14110 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   14111 
   14112 fi
   14113 
   14114 for ac_header in limits.h sys/types.h sys/stat.h dirent.h
   14115 do :
   14116   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14117 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   14118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   14119   cat >>confdefs.h <<_ACEOF
   14120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14121 _ACEOF
   14122 
   14123 fi
   14124 
   14125 done
   14126 
   14127 for ac_header in windows.h
   14128 do :
   14129   ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
   14130 if test "x$ac_cv_header_windows_h" = xyes; then :
   14131   cat >>confdefs.h <<_ACEOF
   14132 #define HAVE_WINDOWS_H 1
   14133 _ACEOF
   14134  HAVE_WINDOWS_H=1
   14135 fi
   14136 
   14137 done
   14138 
   14139 for ac_header in sys/wait.h
   14140 do :
   14141   ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
   14142 if test "x$ac_cv_header_sys_wait_h" = xyes; then :
   14143   cat >>confdefs.h <<_ACEOF
   14144 #define HAVE_SYS_WAIT_H 1
   14145 _ACEOF
   14146  HAVE_SYS_WAIT_H=1
   14147 fi
   14148 
   14149 done
   14150 
   14151 
   14152 # Conditional compilation
   14153  if test "x$enable_pcre2_8" = "xyes"; then
   14154   WITH_PCRE2_8_TRUE=
   14155   WITH_PCRE2_8_FALSE='#'
   14156 else
   14157   WITH_PCRE2_8_TRUE='#'
   14158   WITH_PCRE2_8_FALSE=
   14159 fi
   14160 
   14161  if test "x$enable_pcre2_16" = "xyes"; then
   14162   WITH_PCRE2_16_TRUE=
   14163   WITH_PCRE2_16_FALSE='#'
   14164 else
   14165   WITH_PCRE2_16_TRUE='#'
   14166   WITH_PCRE2_16_FALSE=
   14167 fi
   14168 
   14169  if test "x$enable_pcre2_32" = "xyes"; then
   14170   WITH_PCRE2_32_TRUE=
   14171   WITH_PCRE2_32_FALSE='#'
   14172 else
   14173   WITH_PCRE2_32_TRUE='#'
   14174   WITH_PCRE2_32_FALSE=
   14175 fi
   14176 
   14177  if test "x$enable_debug" = "xyes"; then
   14178   WITH_DEBUG_TRUE=
   14179   WITH_DEBUG_FALSE='#'
   14180 else
   14181   WITH_DEBUG_TRUE='#'
   14182   WITH_DEBUG_FALSE=
   14183 fi
   14184 
   14185  if test "x$enable_rebuild_chartables" = "xyes"; then
   14186   WITH_REBUILD_CHARTABLES_TRUE=
   14187   WITH_REBUILD_CHARTABLES_FALSE='#'
   14188 else
   14189   WITH_REBUILD_CHARTABLES_TRUE='#'
   14190   WITH_REBUILD_CHARTABLES_FALSE=
   14191 fi
   14192 
   14193  if test "x$enable_jit" = "xyes"; then
   14194   WITH_JIT_TRUE=
   14195   WITH_JIT_FALSE='#'
   14196 else
   14197   WITH_JIT_TRUE='#'
   14198   WITH_JIT_FALSE=
   14199 fi
   14200 
   14201  if test "x$enable_unicode" = "xyes"; then
   14202   WITH_UNICODE_TRUE=
   14203   WITH_UNICODE_FALSE='#'
   14204 else
   14205   WITH_UNICODE_TRUE='#'
   14206   WITH_UNICODE_FALSE=
   14207 fi
   14208 
   14209  if test "x$enable_valgrind" = "xyes"; then
   14210   WITH_VALGRIND_TRUE=
   14211   WITH_VALGRIND_FALSE='#'
   14212 else
   14213   WITH_VALGRIND_TRUE='#'
   14214   WITH_VALGRIND_FALSE=
   14215 fi
   14216 
   14217 
   14218 # Checks for typedefs, structures, and compiler characteristics.
   14219 
   14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   14221 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   14222 if ${ac_cv_c_const+:} false; then :
   14223   $as_echo_n "(cached) " >&6
   14224 else
   14225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14226 /* end confdefs.h.  */
   14227 
   14228 int
   14229 main ()
   14230 {
   14231 
   14232 #ifndef __cplusplus
   14233   /* Ultrix mips cc rejects this sort of thing.  */
   14234   typedef int charset[2];
   14235   const charset cs = { 0, 0 };
   14236   /* SunOS 4.1.1 cc rejects this.  */
   14237   char const *const *pcpcc;
   14238   char **ppc;
   14239   /* NEC SVR4.0.2 mips cc rejects this.  */
   14240   struct point {int x, y;};
   14241   static struct point const zero = {0,0};
   14242   /* AIX XL C 1.02.0.0 rejects this.
   14243      It does not let you subtract one const X* pointer from another in
   14244      an arm of an if-expression whose if-part is not a constant
   14245      expression */
   14246   const char *g = "string";
   14247   pcpcc = &g + (g ? g-g : 0);
   14248   /* HPUX 7.0 cc rejects these. */
   14249   ++pcpcc;
   14250   ppc = (char**) pcpcc;
   14251   pcpcc = (char const *const *) ppc;
   14252   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   14253     char tx;
   14254     char *t = &tx;
   14255     char const *s = 0 ? (char *) 0 : (char const *) 0;
   14256 
   14257     *t++ = 0;
   14258     if (s) return 0;
   14259   }
   14260   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   14261     int x[] = {25, 17};
   14262     const int *foo = &x[0];
   14263     ++foo;
   14264   }
   14265   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   14266     typedef const int *iptr;
   14267     iptr p = 0;
   14268     ++p;
   14269   }
   14270   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   14271        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   14272     struct s { int j; const int *ap[3]; } bx;
   14273     struct s *b = &bx; b->j = 5;
   14274   }
   14275   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   14276     const int foo = 10;
   14277     if (!foo) return 0;
   14278   }
   14279   return !cs[0] && !zero.x;
   14280 #endif
   14281 
   14282   ;
   14283   return 0;
   14284 }
   14285 _ACEOF
   14286 if ac_fn_c_try_compile "$LINENO"; then :
   14287   ac_cv_c_const=yes
   14288 else
   14289   ac_cv_c_const=no
   14290 fi
   14291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14292 fi
   14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   14294 $as_echo "$ac_cv_c_const" >&6; }
   14295 if test $ac_cv_c_const = no; then
   14296 
   14297 $as_echo "#define const /**/" >>confdefs.h
   14298 
   14299 fi
   14300 
   14301 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   14302 if test "x$ac_cv_type_size_t" = xyes; then :
   14303 
   14304 else
   14305 
   14306 cat >>confdefs.h <<_ACEOF
   14307 #define size_t unsigned int
   14308 _ACEOF
   14309 
   14310 fi
   14311 
   14312 
   14313 # Checks for library functions.
   14314 
   14315 for ac_func in bcopy memmove strerror
   14316 do :
   14317   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   14319 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   14320   cat >>confdefs.h <<_ACEOF
   14321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14322 _ACEOF
   14323 
   14324 fi
   14325 done
   14326 
   14327 
   14328 # Check for the availability of libz (aka zlib)
   14329 
   14330 for ac_header in zlib.h
   14331 do :
   14332   ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   14333 if test "x$ac_cv_header_zlib_h" = xyes; then :
   14334   cat >>confdefs.h <<_ACEOF
   14335 #define HAVE_ZLIB_H 1
   14336 _ACEOF
   14337  HAVE_ZLIB_H=1
   14338 fi
   14339 
   14340 done
   14341 
   14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   14343 $as_echo_n "checking for gzopen in -lz... " >&6; }
   14344 if ${ac_cv_lib_z_gzopen+:} false; then :
   14345   $as_echo_n "(cached) " >&6
   14346 else
   14347   ac_check_lib_save_LIBS=$LIBS
   14348 LIBS="-lz  $LIBS"
   14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14350 /* end confdefs.h.  */
   14351 
   14352 /* Override any GCC internal prototype to avoid an error.
   14353    Use char because int might match the return type of a GCC
   14354    builtin and then its argument prototype would still apply.  */
   14355 #ifdef __cplusplus
   14356 extern "C"
   14357 #endif
   14358 char gzopen ();
   14359 int
   14360 main ()
   14361 {
   14362 return gzopen ();
   14363   ;
   14364   return 0;
   14365 }
   14366 _ACEOF
   14367 if ac_fn_c_try_link "$LINENO"; then :
   14368   ac_cv_lib_z_gzopen=yes
   14369 else
   14370   ac_cv_lib_z_gzopen=no
   14371 fi
   14372 rm -f core conftest.err conftest.$ac_objext \
   14373     conftest$ac_exeext conftest.$ac_ext
   14374 LIBS=$ac_check_lib_save_LIBS
   14375 fi
   14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   14377 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   14378 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   14379   HAVE_LIBZ=1
   14380 fi
   14381 
   14382 
   14383 # Check for the availability of libbz2. Originally we just used AC_CHECK_LIB,
   14384 # as for libz. However, this had the following problem, diagnosed and fixed by
   14385 # a user:
   14386 #
   14387 #   - libbz2 uses the Pascal calling convention (WINAPI) for the functions
   14388 #     under Win32.
   14389 #   - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
   14390 #     therefore missing the function definition.
   14391 #   - The compiler thus generates a "C" signature for the test function.
   14392 #   - The linker fails to find the "C" function.
   14393 #   - PCRE2 fails to configure if asked to do so against libbz2.
   14394 #
   14395 # Solution:
   14396 #
   14397 #   - Replace the AC_CHECK_LIB test with a custom test.
   14398 
   14399 for ac_header in bzlib.h
   14400 do :
   14401   ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
   14402 if test "x$ac_cv_header_bzlib_h" = xyes; then :
   14403   cat >>confdefs.h <<_ACEOF
   14404 #define HAVE_BZLIB_H 1
   14405 _ACEOF
   14406  HAVE_BZLIB_H=1
   14407 fi
   14408 
   14409 done
   14410 
   14411 # Original test
   14412 # AC_CHECK_LIB([bz2], [BZ2_bzopen], [HAVE_LIBBZ2=1])
   14413 #
   14414 # Custom test follows
   14415 
   14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbz2" >&5
   14417 $as_echo_n "checking for libbz2... " >&6; }
   14418 OLD_LIBS="$LIBS"
   14419 LIBS="$LIBS -lbz2"
   14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14421 /* end confdefs.h.  */
   14422 
   14423 #ifdef HAVE_BZLIB_H
   14424 #include <bzlib.h>
   14425 #endif
   14426 int
   14427 main ()
   14428 {
   14429 return (int)BZ2_bzopen("conftest", "rb");
   14430   ;
   14431   return 0;
   14432 }
   14433 _ACEOF
   14434 if ac_fn_c_try_link "$LINENO"; then :
   14435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14436 $as_echo "yes" >&6; };HAVE_LIBBZ2=1; break;
   14437 else
   14438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14439 $as_echo "no" >&6; }
   14440 fi
   14441 rm -f core conftest.err conftest.$ac_objext \
   14442     conftest$ac_exeext conftest.$ac_ext
   14443 LIBS="$OLD_LIBS"
   14444 
   14445 # Check for the availabiity of libreadline
   14446 
   14447 if test "$enable_pcre2test_libreadline" = "yes"; then
   14448  for ac_header in readline/readline.h
   14449 do :
   14450   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
   14451 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
   14452   cat >>confdefs.h <<_ACEOF
   14453 #define HAVE_READLINE_READLINE_H 1
   14454 _ACEOF
   14455  HAVE_READLINE_H=1
   14456 fi
   14457 
   14458 done
   14459 
   14460  for ac_header in readline/history.h
   14461 do :
   14462   ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
   14463 if test "x$ac_cv_header_readline_history_h" = xyes; then :
   14464   cat >>confdefs.h <<_ACEOF
   14465 #define HAVE_READLINE_HISTORY_H 1
   14466 _ACEOF
   14467  HAVE_HISTORY_H=1
   14468 fi
   14469 
   14470 done
   14471 
   14472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   14473 $as_echo_n "checking for readline in -lreadline... " >&6; }
   14474 if ${ac_cv_lib_readline_readline+:} false; then :
   14475   $as_echo_n "(cached) " >&6
   14476 else
   14477   ac_check_lib_save_LIBS=$LIBS
   14478 LIBS="-lreadline  $LIBS"
   14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14480 /* end confdefs.h.  */
   14481 
   14482 /* Override any GCC internal prototype to avoid an error.
   14483    Use char because int might match the return type of a GCC
   14484    builtin and then its argument prototype would still apply.  */
   14485 #ifdef __cplusplus
   14486 extern "C"
   14487 #endif
   14488 char readline ();
   14489 int
   14490 main ()
   14491 {
   14492 return readline ();
   14493   ;
   14494   return 0;
   14495 }
   14496 _ACEOF
   14497 if ac_fn_c_try_link "$LINENO"; then :
   14498   ac_cv_lib_readline_readline=yes
   14499 else
   14500   ac_cv_lib_readline_readline=no
   14501 fi
   14502 rm -f core conftest.err conftest.$ac_objext \
   14503     conftest$ac_exeext conftest.$ac_ext
   14504 LIBS=$ac_check_lib_save_LIBS
   14505 fi
   14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   14507 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   14508 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   14509   LIBREADLINE="-lreadline"
   14510 else
   14511   unset ac_cv_lib_readline_readline;
   14512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   14513 $as_echo_n "checking for readline in -lreadline... " >&6; }
   14514 if ${ac_cv_lib_readline_readline+:} false; then :
   14515   $as_echo_n "(cached) " >&6
   14516 else
   14517   ac_check_lib_save_LIBS=$LIBS
   14518 LIBS="-lreadline -ltinfo $LIBS"
   14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14520 /* end confdefs.h.  */
   14521 
   14522 /* Override any GCC internal prototype to avoid an error.
   14523    Use char because int might match the return type of a GCC
   14524    builtin and then its argument prototype would still apply.  */
   14525 #ifdef __cplusplus
   14526 extern "C"
   14527 #endif
   14528 char readline ();
   14529 int
   14530 main ()
   14531 {
   14532 return readline ();
   14533   ;
   14534   return 0;
   14535 }
   14536 _ACEOF
   14537 if ac_fn_c_try_link "$LINENO"; then :
   14538   ac_cv_lib_readline_readline=yes
   14539 else
   14540   ac_cv_lib_readline_readline=no
   14541 fi
   14542 rm -f core conftest.err conftest.$ac_objext \
   14543     conftest$ac_exeext conftest.$ac_ext
   14544 LIBS=$ac_check_lib_save_LIBS
   14545 fi
   14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   14547 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   14548 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   14549   LIBREADLINE="-ltinfo"
   14550 else
   14551   unset ac_cv_lib_readline_readline;
   14552       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   14553 $as_echo_n "checking for readline in -lreadline... " >&6; }
   14554 if ${ac_cv_lib_readline_readline+:} false; then :
   14555   $as_echo_n "(cached) " >&6
   14556 else
   14557   ac_check_lib_save_LIBS=$LIBS
   14558 LIBS="-lreadline -lcurses $LIBS"
   14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14560 /* end confdefs.h.  */
   14561 
   14562 /* Override any GCC internal prototype to avoid an error.
   14563    Use char because int might match the return type of a GCC
   14564    builtin and then its argument prototype would still apply.  */
   14565 #ifdef __cplusplus
   14566 extern "C"
   14567 #endif
   14568 char readline ();
   14569 int
   14570 main ()
   14571 {
   14572 return readline ();
   14573   ;
   14574   return 0;
   14575 }
   14576 _ACEOF
   14577 if ac_fn_c_try_link "$LINENO"; then :
   14578   ac_cv_lib_readline_readline=yes
   14579 else
   14580   ac_cv_lib_readline_readline=no
   14581 fi
   14582 rm -f core conftest.err conftest.$ac_objext \
   14583     conftest$ac_exeext conftest.$ac_ext
   14584 LIBS=$ac_check_lib_save_LIBS
   14585 fi
   14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   14587 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   14588 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   14589   LIBREADLINE="-lcurses"
   14590 else
   14591   unset ac_cv_lib_readline_readline;
   14592         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   14593 $as_echo_n "checking for readline in -lreadline... " >&6; }
   14594 if ${ac_cv_lib_readline_readline+:} false; then :
   14595   $as_echo_n "(cached) " >&6
   14596 else
   14597   ac_check_lib_save_LIBS=$LIBS
   14598 LIBS="-lreadline -lncurses $LIBS"
   14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14600 /* end confdefs.h.  */
   14601 
   14602 /* Override any GCC internal prototype to avoid an error.
   14603    Use char because int might match the return type of a GCC
   14604    builtin and then its argument prototype would still apply.  */
   14605 #ifdef __cplusplus
   14606 extern "C"
   14607 #endif
   14608 char readline ();
   14609 int
   14610 main ()
   14611 {
   14612 return readline ();
   14613   ;
   14614   return 0;
   14615 }
   14616 _ACEOF
   14617 if ac_fn_c_try_link "$LINENO"; then :
   14618   ac_cv_lib_readline_readline=yes
   14619 else
   14620   ac_cv_lib_readline_readline=no
   14621 fi
   14622 rm -f core conftest.err conftest.$ac_objext \
   14623     conftest$ac_exeext conftest.$ac_ext
   14624 LIBS=$ac_check_lib_save_LIBS
   14625 fi
   14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   14627 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   14628 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   14629   LIBREADLINE="-lncurses"
   14630 else
   14631   unset ac_cv_lib_readline_readline;
   14632 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   14633 $as_echo_n "checking for readline in -lreadline... " >&6; }
   14634 if ${ac_cv_lib_readline_readline+:} false; then :
   14635   $as_echo_n "(cached) " >&6
   14636 else
   14637   ac_check_lib_save_LIBS=$LIBS
   14638 LIBS="-lreadline -lncursesw $LIBS"
   14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14640 /* end confdefs.h.  */
   14641 
   14642 /* Override any GCC internal prototype to avoid an error.
   14643    Use char because int might match the return type of a GCC
   14644    builtin and then its argument prototype would still apply.  */
   14645 #ifdef __cplusplus
   14646 extern "C"
   14647 #endif
   14648 char readline ();
   14649 int
   14650 main ()
   14651 {
   14652 return readline ();
   14653   ;
   14654   return 0;
   14655 }
   14656 _ACEOF
   14657 if ac_fn_c_try_link "$LINENO"; then :
   14658   ac_cv_lib_readline_readline=yes
   14659 else
   14660   ac_cv_lib_readline_readline=no
   14661 fi
   14662 rm -f core conftest.err conftest.$ac_objext \
   14663     conftest$ac_exeext conftest.$ac_ext
   14664 LIBS=$ac_check_lib_save_LIBS
   14665 fi
   14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   14667 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   14668 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   14669   LIBREADLINE="-lncursesw"
   14670 else
   14671   unset ac_cv_lib_readline_readline;
   14672 	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
   14673 $as_echo_n "checking for readline in -lreadline... " >&6; }
   14674 if ${ac_cv_lib_readline_readline+:} false; then :
   14675   $as_echo_n "(cached) " >&6
   14676 else
   14677   ac_check_lib_save_LIBS=$LIBS
   14678 LIBS="-lreadline -ltermcap $LIBS"
   14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14680 /* end confdefs.h.  */
   14681 
   14682 /* Override any GCC internal prototype to avoid an error.
   14683    Use char because int might match the return type of a GCC
   14684    builtin and then its argument prototype would still apply.  */
   14685 #ifdef __cplusplus
   14686 extern "C"
   14687 #endif
   14688 char readline ();
   14689 int
   14690 main ()
   14691 {
   14692 return readline ();
   14693   ;
   14694   return 0;
   14695 }
   14696 _ACEOF
   14697 if ac_fn_c_try_link "$LINENO"; then :
   14698   ac_cv_lib_readline_readline=yes
   14699 else
   14700   ac_cv_lib_readline_readline=no
   14701 fi
   14702 rm -f core conftest.err conftest.$ac_objext \
   14703     conftest$ac_exeext conftest.$ac_ext
   14704 LIBS=$ac_check_lib_save_LIBS
   14705 fi
   14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
   14707 $as_echo "$ac_cv_lib_readline_readline" >&6; }
   14708 if test "x$ac_cv_lib_readline_readline" = xyes; then :
   14709   LIBREADLINE="-ltermcap"
   14710 else
   14711   LIBREADLINE=""
   14712 fi
   14713 
   14714 fi
   14715 
   14716 fi
   14717 
   14718 fi
   14719 
   14720 fi
   14721 
   14722 fi
   14723 
   14724 
   14725  if test -n "$LIBREADLINE"; then
   14726    if test "$LIBREADLINE" != "-lreadline"; then
   14727      echo "-lreadline needs $LIBREADLINE"
   14728      LIBREADLINE="-lreadline $LIBREADLINE"
   14729    fi
   14730  fi
   14731 fi
   14732 
   14733 
   14734 # Check for the availability of libedit. Different distributions put its
   14735 # headers in different places. Try to cover the most common ones.
   14736 
   14737 if test "$enable_pcre2test_libedit" = "yes"; then
   14738   for ac_header in editline/readline.h
   14739 do :
   14740   ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
   14741 if test "x$ac_cv_header_editline_readline_h" = xyes; then :
   14742   cat >>confdefs.h <<_ACEOF
   14743 #define HAVE_EDITLINE_READLINE_H 1
   14744 _ACEOF
   14745  HAVE_EDITLINE_READLINE_H=1
   14746 else
   14747   for ac_header in edit/readline/readline.h
   14748 do :
   14749   ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default"
   14750 if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then :
   14751   cat >>confdefs.h <<_ACEOF
   14752 #define HAVE_EDIT_READLINE_READLINE_H 1
   14753 _ACEOF
   14754  HAVE_READLINE_READLINE_H=1
   14755 else
   14756   for ac_header in readline/readline.h
   14757 do :
   14758   ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
   14759 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
   14760   cat >>confdefs.h <<_ACEOF
   14761 #define HAVE_READLINE_READLINE_H 1
   14762 _ACEOF
   14763  HAVE_READLINE_READLINE_H=1
   14764 fi
   14765 
   14766 done
   14767 
   14768 fi
   14769 
   14770 done
   14771 
   14772 fi
   14773 
   14774 done
   14775 
   14776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
   14777 $as_echo_n "checking for readline in -ledit... " >&6; }
   14778 if ${ac_cv_lib_edit_readline+:} false; then :
   14779   $as_echo_n "(cached) " >&6
   14780 else
   14781   ac_check_lib_save_LIBS=$LIBS
   14782 LIBS="-ledit  $LIBS"
   14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14784 /* end confdefs.h.  */
   14785 
   14786 /* Override any GCC internal prototype to avoid an error.
   14787    Use char because int might match the return type of a GCC
   14788    builtin and then its argument prototype would still apply.  */
   14789 #ifdef __cplusplus
   14790 extern "C"
   14791 #endif
   14792 char readline ();
   14793 int
   14794 main ()
   14795 {
   14796 return readline ();
   14797   ;
   14798   return 0;
   14799 }
   14800 _ACEOF
   14801 if ac_fn_c_try_link "$LINENO"; then :
   14802   ac_cv_lib_edit_readline=yes
   14803 else
   14804   ac_cv_lib_edit_readline=no
   14805 fi
   14806 rm -f core conftest.err conftest.$ac_objext \
   14807     conftest$ac_exeext conftest.$ac_ext
   14808 LIBS=$ac_check_lib_save_LIBS
   14809 fi
   14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
   14811 $as_echo "$ac_cv_lib_edit_readline" >&6; }
   14812 if test "x$ac_cv_lib_edit_readline" = xyes; then :
   14813   LIBEDIT="-ledit"
   14814 fi
   14815 
   14816 fi
   14817 
   14818 # This facilitates -ansi builds under Linux
   14819 
   14820 PCRE2_STATIC_CFLAG=""
   14821 if test "x$enable_shared" = "xno" ; then
   14822 
   14823 $as_echo "#define PCRE2_STATIC 1" >>confdefs.h
   14824 
   14825   PCRE2_STATIC_CFLAG="-DPCRE2_STATIC"
   14826 fi
   14827 
   14828 
   14829 # Here is where PCRE2-specific defines are handled
   14830 
   14831 if test "$enable_pcre2_8" = "yes"; then
   14832 
   14833 $as_echo "#define SUPPORT_PCRE2_8 /**/" >>confdefs.h
   14834 
   14835 fi
   14836 
   14837 if test "$enable_pcre2_16" = "yes"; then
   14838 
   14839 $as_echo "#define SUPPORT_PCRE2_16 /**/" >>confdefs.h
   14840 
   14841 fi
   14842 
   14843 if test "$enable_pcre2_32" = "yes"; then
   14844 
   14845 $as_echo "#define SUPPORT_PCRE2_32 /**/" >>confdefs.h
   14846 
   14847 fi
   14848 
   14849 if test "$enable_debug" = "yes"; then
   14850 
   14851 $as_echo "#define PCRE2_DEBUG /**/" >>confdefs.h
   14852 
   14853 fi
   14854 
   14855 # Unless running under Windows, JIT support requires pthreads.
   14856 
   14857 if test "$enable_jit" = "yes"; then
   14858   if test "$HAVE_WINDOWS_H" != "1"; then
   14859 
   14860 
   14861 ac_ext=c
   14862 ac_cpp='$CPP $CPPFLAGS'
   14863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14866 
   14867 ax_pthread_ok=no
   14868 
   14869 # We used to check for pthread.h first, but this fails if pthread.h
   14870 # requires special compiler flags (e.g. on True64 or Sequent).
   14871 # It gets checked for in the link test anyway.
   14872 
   14873 # First of all, check if the user has set any of the PTHREAD_LIBS,
   14874 # etcetera environment variables, and if threads linking works using
   14875 # them:
   14876 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   14877         save_CFLAGS="$CFLAGS"
   14878         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   14879         save_LIBS="$LIBS"
   14880         LIBS="$PTHREAD_LIBS $LIBS"
   14881         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   14882 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   14883         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14884 /* end confdefs.h.  */
   14885 
   14886 /* Override any GCC internal prototype to avoid an error.
   14887    Use char because int might match the return type of a GCC
   14888    builtin and then its argument prototype would still apply.  */
   14889 #ifdef __cplusplus
   14890 extern "C"
   14891 #endif
   14892 char pthread_join ();
   14893 int
   14894 main ()
   14895 {
   14896 return pthread_join ();
   14897   ;
   14898   return 0;
   14899 }
   14900 _ACEOF
   14901 if ac_fn_c_try_link "$LINENO"; then :
   14902   ax_pthread_ok=yes
   14903 fi
   14904 rm -f core conftest.err conftest.$ac_objext \
   14905     conftest$ac_exeext conftest.$ac_ext
   14906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   14907 $as_echo "$ax_pthread_ok" >&6; }
   14908         if test x"$ax_pthread_ok" = xno; then
   14909                 PTHREAD_LIBS=""
   14910                 PTHREAD_CFLAGS=""
   14911         fi
   14912         LIBS="$save_LIBS"
   14913         CFLAGS="$save_CFLAGS"
   14914 fi
   14915 
   14916 # We must check for the threads library under a number of different
   14917 # names; the ordering is very important because some systems
   14918 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   14919 # libraries is broken (non-POSIX).
   14920 
   14921 # Create a list of thread flags to try.  Items starting with a "-" are
   14922 # C compiler flags, and other items are library names, except for "none"
   14923 # which indicates that we try without any flags at all, and "pthread-config"
   14924 # which is a program returning the flags for the Pth emulation library.
   14925 
   14926 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   14927 
   14928 # The ordering *is* (sometimes) important.  Some notes on the
   14929 # individual items follow:
   14930 
   14931 # pthreads: AIX (must check this before -lpthread)
   14932 # none: in case threads are in libc; should be tried before -Kthread and
   14933 #       other compiler flags to prevent continual compiler warnings
   14934 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   14935 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   14936 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   14937 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   14938 # -pthreads: Solaris/gcc
   14939 # -mthreads: Mingw32/gcc, Lynx/gcc
   14940 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   14941 #      doesn't hurt to check since this sometimes defines pthreads too;
   14942 #      also defines -D_REENTRANT)
   14943 #      ... -mt is also the pthreads flag for HP/aCC
   14944 # pthread: Linux, etcetera
   14945 # --thread-safe: KAI C++
   14946 # pthread-config: use pthread-config program (for GNU Pth library)
   14947 
   14948 case ${host_os} in
   14949         solaris*)
   14950 
   14951         # On Solaris (at least, for some versions), libc contains stubbed
   14952         # (non-functional) versions of the pthreads routines, so link-based
   14953         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   14954         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   14955         # a function called by this macro, so we could check for that, but
   14956         # who knows whether they'll stub that too in a future libc.)  So,
   14957         # we'll just look for -pthreads and -lpthread first:
   14958 
   14959         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
   14960         ;;
   14961 
   14962         darwin*)
   14963         ax_pthread_flags="-pthread $ax_pthread_flags"
   14964         ;;
   14965 esac
   14966 
   14967 if test x"$ax_pthread_ok" = xno; then
   14968 for flag in $ax_pthread_flags; do
   14969 
   14970         case $flag in
   14971                 none)
   14972                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   14973 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   14974                 ;;
   14975 
   14976                 -*)
   14977                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   14978 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
   14979                 PTHREAD_CFLAGS="$flag"
   14980                 ;;
   14981 
   14982                 pthread-config)
   14983                 # Extract the first word of "pthread-config", so it can be a program name with args.
   14984 set dummy pthread-config; ac_word=$2
   14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14986 $as_echo_n "checking for $ac_word... " >&6; }
   14987 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   14988   $as_echo_n "(cached) " >&6
   14989 else
   14990   if test -n "$ax_pthread_config"; then
   14991   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   14992 else
   14993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14994 for as_dir in $PATH
   14995 do
   14996   IFS=$as_save_IFS
   14997   test -z "$as_dir" && as_dir=.
   14998     for ac_exec_ext in '' $ac_executable_extensions; do
   14999   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15000     ac_cv_prog_ax_pthread_config="yes"
   15001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15002     break 2
   15003   fi
   15004 done
   15005   done
   15006 IFS=$as_save_IFS
   15007 
   15008   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   15009 fi
   15010 fi
   15011 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   15012 if test -n "$ax_pthread_config"; then
   15013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   15014 $as_echo "$ax_pthread_config" >&6; }
   15015 else
   15016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15017 $as_echo "no" >&6; }
   15018 fi
   15019 
   15020 
   15021                 if test x"$ax_pthread_config" = xno; then continue; fi
   15022                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   15023                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   15024                 ;;
   15025 
   15026                 *)
   15027                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   15028 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
   15029                 PTHREAD_LIBS="-l$flag"
   15030                 ;;
   15031         esac
   15032 
   15033         save_LIBS="$LIBS"
   15034         save_CFLAGS="$CFLAGS"
   15035         LIBS="$PTHREAD_LIBS $LIBS"
   15036         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15037 
   15038         # Check for various functions.  We must include pthread.h,
   15039         # since some functions may be macros.  (On the Sequent, we
   15040         # need a special flag -Kthread to make this header compile.)
   15041         # We check for pthread_join because it is in -lpthread on IRIX
   15042         # while pthread_create is in libc.  We check for pthread_attr_init
   15043         # due to DEC craziness with -lpthreads.  We check for
   15044         # pthread_cleanup_push because it is one of the few pthread
   15045         # functions on Solaris that doesn't have a non-functional libc stub.
   15046         # We try pthread_create on general principles.
   15047         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15048 /* end confdefs.h.  */
   15049 #include <pthread.h>
   15050                         static void routine(void *a) { a = 0; }
   15051                         static void *start_routine(void *a) { return a; }
   15052 int
   15053 main ()
   15054 {
   15055 pthread_t th; pthread_attr_t attr;
   15056                         pthread_create(&th, 0, start_routine, 0);
   15057                         pthread_join(th, 0);
   15058                         pthread_attr_init(&attr);
   15059                         pthread_cleanup_push(routine, 0);
   15060                         pthread_cleanup_pop(0) /* ; */
   15061   ;
   15062   return 0;
   15063 }
   15064 _ACEOF
   15065 if ac_fn_c_try_link "$LINENO"; then :
   15066   ax_pthread_ok=yes
   15067 fi
   15068 rm -f core conftest.err conftest.$ac_objext \
   15069     conftest$ac_exeext conftest.$ac_ext
   15070 
   15071         LIBS="$save_LIBS"
   15072         CFLAGS="$save_CFLAGS"
   15073 
   15074         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   15075 $as_echo "$ax_pthread_ok" >&6; }
   15076         if test "x$ax_pthread_ok" = xyes; then
   15077                 break;
   15078         fi
   15079 
   15080         PTHREAD_LIBS=""
   15081         PTHREAD_CFLAGS=""
   15082 done
   15083 fi
   15084 
   15085 # Various other checks:
   15086 if test "x$ax_pthread_ok" = xyes; then
   15087         save_LIBS="$LIBS"
   15088         LIBS="$PTHREAD_LIBS $LIBS"
   15089         save_CFLAGS="$CFLAGS"
   15090         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15091 
   15092         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   15093         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   15094 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   15095         attr_name=unknown
   15096         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   15097             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15098 /* end confdefs.h.  */
   15099 #include <pthread.h>
   15100 int
   15101 main ()
   15102 {
   15103 int attr = $attr; return attr /* ; */
   15104   ;
   15105   return 0;
   15106 }
   15107 _ACEOF
   15108 if ac_fn_c_try_link "$LINENO"; then :
   15109   attr_name=$attr; break
   15110 fi
   15111 rm -f core conftest.err conftest.$ac_objext \
   15112     conftest$ac_exeext conftest.$ac_ext
   15113         done
   15114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   15115 $as_echo "$attr_name" >&6; }
   15116         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   15117 
   15118 cat >>confdefs.h <<_ACEOF
   15119 #define PTHREAD_CREATE_JOINABLE $attr_name
   15120 _ACEOF
   15121 
   15122         fi
   15123 
   15124         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   15125 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
   15126         flag=no
   15127         case ${host_os} in
   15128             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
   15129             osf* | hpux*) flag="-D_REENTRANT";;
   15130             solaris*)
   15131             if test "$GCC" = "yes"; then
   15132                 flag="-D_REENTRANT"
   15133             else
   15134                 flag="-mt -D_REENTRANT"
   15135             fi
   15136             ;;
   15137         esac
   15138         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
   15139 $as_echo "${flag}" >&6; }
   15140         if test "x$flag" != xno; then
   15141             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   15142         fi
   15143 
   15144         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   15145 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   15146 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   15147   $as_echo_n "(cached) " >&6
   15148 else
   15149 
   15150                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15151 /* end confdefs.h.  */
   15152 
   15153                     #include <pthread.h>
   15154 int
   15155 main ()
   15156 {
   15157 int i = PTHREAD_PRIO_INHERIT;
   15158   ;
   15159   return 0;
   15160 }
   15161 _ACEOF
   15162 if ac_fn_c_try_link "$LINENO"; then :
   15163   ax_cv_PTHREAD_PRIO_INHERIT=yes
   15164 else
   15165   ax_cv_PTHREAD_PRIO_INHERIT=no
   15166 fi
   15167 rm -f core conftest.err conftest.$ac_objext \
   15168     conftest$ac_exeext conftest.$ac_ext
   15169 
   15170 fi
   15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   15172 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   15173         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
   15174 
   15175 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   15176 
   15177 fi
   15178 
   15179         LIBS="$save_LIBS"
   15180         CFLAGS="$save_CFLAGS"
   15181 
   15182         # More AIX lossage: must compile with xlc_r or cc_r
   15183         if test x"$GCC" != xyes; then
   15184           for ac_prog in xlc_r cc_r
   15185 do
   15186   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15187 set dummy $ac_prog; ac_word=$2
   15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15189 $as_echo_n "checking for $ac_word... " >&6; }
   15190 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   15191   $as_echo_n "(cached) " >&6
   15192 else
   15193   if test -n "$PTHREAD_CC"; then
   15194   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   15195 else
   15196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15197 for as_dir in $PATH
   15198 do
   15199   IFS=$as_save_IFS
   15200   test -z "$as_dir" && as_dir=.
   15201     for ac_exec_ext in '' $ac_executable_extensions; do
   15202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15203     ac_cv_prog_PTHREAD_CC="$ac_prog"
   15204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15205     break 2
   15206   fi
   15207 done
   15208   done
   15209 IFS=$as_save_IFS
   15210 
   15211 fi
   15212 fi
   15213 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   15214 if test -n "$PTHREAD_CC"; then
   15215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   15216 $as_echo "$PTHREAD_CC" >&6; }
   15217 else
   15218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15219 $as_echo "no" >&6; }
   15220 fi
   15221 
   15222 
   15223   test -n "$PTHREAD_CC" && break
   15224 done
   15225 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
   15226 
   15227         else
   15228           PTHREAD_CC=$CC
   15229         fi
   15230 else
   15231         PTHREAD_CC="$CC"
   15232 fi
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   15239 if test x"$ax_pthread_ok" = xyes; then
   15240 
   15241 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   15242 
   15243         :
   15244 else
   15245         ax_pthread_ok=no
   15246         as_fn_error $? "JIT support requires pthreads" "$LINENO" 5
   15247 fi
   15248 ac_ext=c
   15249 ac_cpp='$CPP $CPPFLAGS'
   15250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15253 
   15254 
   15255     CC="$PTHREAD_CC"
   15256     CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
   15257     LIBS="$PTHREAD_LIBS $LIBS"
   15258   fi
   15259 
   15260 $as_echo "#define SUPPORT_JIT /**/" >>confdefs.h
   15261 
   15262 else
   15263   enable_pcre2grep_jit="no"
   15264 fi
   15265 
   15266 if test "$enable_pcre2grep_jit" = "yes"; then
   15267 
   15268 $as_echo "#define SUPPORT_PCRE2GREP_JIT /**/" >>confdefs.h
   15269 
   15270 fi
   15271 
   15272 # Currently pcre2grep callout string is not supported under Windows.
   15273 
   15274 if test "$enable_pcre2grep_callout" = "yes"; then
   15275   if test "$HAVE_WINDOWS_H" != "1"; then
   15276     if test "$HAVE_SYS_WAIT_H" != "1"; then
   15277       as_fn_error $? "Callout script support needs sys/wait.h." "$LINENO" 5
   15278     fi
   15279 
   15280 $as_echo "#define SUPPORT_PCRE2GREP_CALLOUT /**/" >>confdefs.h
   15281 
   15282   else
   15283     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Callout script support is not available for Windows: disabled" >&5
   15284 $as_echo "$as_me: WARNING: Callout script support is not available for Windows: disabled" >&2;}
   15285     enable_pcre2grep_callout=no
   15286   fi
   15287 fi
   15288 
   15289 if test "$enable_unicode" = "yes"; then
   15290 
   15291 $as_echo "#define SUPPORT_UNICODE /**/" >>confdefs.h
   15292 
   15293 fi
   15294 
   15295 if test "$enable_stack_for_recursion" = "no"; then
   15296 
   15297 $as_echo "#define HEAP_MATCH_RECURSE /**/" >>confdefs.h
   15298 
   15299 fi
   15300 
   15301 if test "$enable_pcre2grep_libz" = "yes"; then
   15302 
   15303 $as_echo "#define SUPPORT_LIBZ /**/" >>confdefs.h
   15304 
   15305 fi
   15306 
   15307 if test "$enable_pcre2grep_libbz2" = "yes"; then
   15308 
   15309 $as_echo "#define SUPPORT_LIBBZ2 /**/" >>confdefs.h
   15310 
   15311 fi
   15312 
   15313 if test $with_pcre2grep_bufsize -lt 8192 ; then
   15314   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $with_pcre2grep_bufsize is too small for --with-pcre2grep-bufsize; using 8192" >&5
   15315 $as_echo "$as_me: WARNING: $with_pcre2grep_bufsize is too small for --with-pcre2grep-bufsize; using 8192" >&2;}
   15316   with_pcre2grep_bufsize="8192"
   15317 else
   15318   if test $? -gt 1 ; then
   15319   as_fn_error $? "Bad value for  --with-pcre2grep-bufsize" "$LINENO" 5
   15320   fi
   15321 fi
   15322 
   15323 
   15324 cat >>confdefs.h <<_ACEOF
   15325 #define PCRE2GREP_BUFSIZE $with_pcre2grep_bufsize
   15326 _ACEOF
   15327 
   15328 
   15329 if test "$enable_pcre2test_libedit" = "yes"; then
   15330 
   15331 $as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h
   15332 
   15333   LIBREADLINE="$LIBEDIT"
   15334 elif test "$enable_pcre2test_libreadline" = "yes"; then
   15335 
   15336 $as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h
   15337 
   15338 fi
   15339 
   15340 
   15341 cat >>confdefs.h <<_ACEOF
   15342 #define NEWLINE_DEFAULT $ac_pcre2_newline_value
   15343 _ACEOF
   15344 
   15345 
   15346 if test "$enable_bsr_anycrlf" = "yes"; then
   15347 
   15348 $as_echo "#define BSR_ANYCRLF /**/" >>confdefs.h
   15349 
   15350 fi
   15351 
   15352 if test "$enable_never_backslash_C" = "yes"; then
   15353 
   15354 $as_echo "#define NEVER_BACKSLASH_C /**/" >>confdefs.h
   15355 
   15356 fi
   15357 
   15358 
   15359 cat >>confdefs.h <<_ACEOF
   15360 #define LINK_SIZE $with_link_size
   15361 _ACEOF
   15362 
   15363 
   15364 
   15365 cat >>confdefs.h <<_ACEOF
   15366 #define PARENS_NEST_LIMIT $with_parens_nest_limit
   15367 _ACEOF
   15368 
   15369 
   15370 
   15371 cat >>confdefs.h <<_ACEOF
   15372 #define MATCH_LIMIT $with_match_limit
   15373 _ACEOF
   15374 
   15375 
   15376 
   15377 cat >>confdefs.h <<_ACEOF
   15378 #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
   15379 _ACEOF
   15380 
   15381 
   15382 
   15383 $as_echo "#define MAX_NAME_SIZE 32" >>confdefs.h
   15384 
   15385 
   15386 
   15387 $as_echo "#define MAX_NAME_COUNT 10000" >>confdefs.h
   15388 
   15389 
   15390 
   15391 
   15392 if test "$enable_ebcdic" = "yes"; then
   15393 
   15394 cat >>confdefs.h <<_ACEOF
   15395 #define EBCDIC /**/
   15396 _ACEOF
   15397 
   15398 fi
   15399 
   15400 if test "$enable_ebcdic_nl25" = "yes"; then
   15401 
   15402 cat >>confdefs.h <<_ACEOF
   15403 #define EBCDIC_NL25 /**/
   15404 _ACEOF
   15405 
   15406 fi
   15407 
   15408 if test "$enable_valgrind" = "yes"; then
   15409 
   15410 cat >>confdefs.h <<_ACEOF
   15411 #define SUPPORT_VALGRIND /**/
   15412 _ACEOF
   15413 
   15414 fi
   15415 
   15416 # Platform specific issues
   15417 NO_UNDEFINED=
   15418 EXPORT_ALL_SYMBOLS=
   15419 case $host_os in
   15420   cygwin* | mingw* )
   15421     if test X"$enable_shared" = Xyes; then
   15422       NO_UNDEFINED="-no-undefined"
   15423       EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
   15424     fi
   15425     ;;
   15426 esac
   15427 
   15428 # The extra LDFLAGS for each particular library. The libpcre2*_version values
   15429 # are m4 variables, assigned above.
   15430 
   15431 EXTRA_LIBPCRE2_8_LDFLAGS="$EXTRA_LIBPCRE2_8_LDFLAGS \
   15432   $NO_UNDEFINED -version-info 4:0:4"
   15433 
   15434 EXTRA_LIBPCRE2_16_LDFLAGS="$EXTRA_LIBPCRE2_16_LDFLAGS \
   15435   $NO_UNDEFINED -version-info 4:0:4"
   15436 
   15437 EXTRA_LIBPCRE2_32_LDFLAGS="$EXTRA_LIBPCRE2_32_LDFLAGS \
   15438   $NO_UNDEFINED -version-info 4:0:4"
   15439 
   15440 EXTRA_LIBPCRE2_POSIX_LDFLAGS="$EXTRA_LIBPCRE2_POSIX_LDFLAGS \
   15441   $NO_UNDEFINED -version-info 1:0:0"
   15442 
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 # When we run 'make distcheck', use these arguments. Turning off compiler
   15449 # optimization makes it run faster.
   15450 DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre2-16 --enable-pcre2-32 --enable-jit --enable-utf"
   15451 
   15452 
   15453 # Check that, if --enable-pcre2grep-libz or --enable-pcre2grep-libbz2 is
   15454 # specified, the relevant library is available.
   15455 
   15456 if test "$enable_pcre2grep_libz" = "yes"; then
   15457   if test "$HAVE_ZLIB_H" != "1"; then
   15458     echo "** Cannot --enable-pcre2grep-libz because zlib.h was not found"
   15459     exit 1
   15460   fi
   15461   if test "$HAVE_LIBZ" != "1"; then
   15462     echo "** Cannot --enable-pcre2grep-libz because libz was not found"
   15463     exit 1
   15464   fi
   15465   LIBZ="-lz"
   15466 fi
   15467 
   15468 
   15469 if test "$enable_pcre2grep_libbz2" = "yes"; then
   15470   if test "$HAVE_BZLIB_H" != "1"; then
   15471     echo "** Cannot --enable-pcre2grep-libbz2 because bzlib.h was not found"
   15472     exit 1
   15473   fi
   15474   if test "$HAVE_LIBBZ2" != "1"; then
   15475     echo "** Cannot --enable-pcre2grep-libbz2 because libbz2 was not found"
   15476     exit 1
   15477   fi
   15478   LIBBZ2="-lbz2"
   15479 fi
   15480 
   15481 
   15482 # Similarly for --enable-pcre2test-readline
   15483 
   15484 if test "$enable_pcre2test_libedit" = "yes"; then
   15485   if test "$enable_pcre2test_libreadline" = "yes"; then
   15486     echo "** Cannot use both --enable-pcre2test-libedit and --enable-pcre2test-readline"
   15487     exit 1
   15488   fi
   15489   if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \
   15490           "$HAVE_READLINE_READLINE_H" != "1"; then
   15491     echo "** Cannot --enable-pcre2test-libedit because neither editline/readline.h"
   15492     echo "** nor readline/readline.h was found."
   15493     exit 1
   15494   fi
   15495   if test -z "$LIBEDIT"; then
   15496     echo "** Cannot --enable-pcre2test-libedit because libedit library was not found."
   15497     exit 1
   15498   fi
   15499 fi
   15500 
   15501 if test "$enable_pcre2test_libreadline" = "yes"; then
   15502   if test "$HAVE_READLINE_H" != "1"; then
   15503     echo "** Cannot --enable-pcre2test-readline because readline/readline.h was not found."
   15504     exit 1
   15505   fi
   15506   if test "$HAVE_HISTORY_H" != "1"; then
   15507     echo "** Cannot --enable-pcre2test-readline because readline/history.h was not found."
   15508     exit 1
   15509   fi
   15510   if test -z "$LIBREADLINE"; then
   15511     echo "** Cannot --enable-pcre2test-readline because readline library was not found."
   15512     exit 1
   15513   fi
   15514 fi
   15515 
   15516 # Handle valgrind support
   15517 
   15518 if test "$enable_valgrind" = "yes"; then
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15527 	if test -n "$ac_tool_prefix"; then
   15528   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15529 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15531 $as_echo_n "checking for $ac_word... " >&6; }
   15532 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   15533   $as_echo_n "(cached) " >&6
   15534 else
   15535   case $PKG_CONFIG in
   15536   [\\/]* | ?:[\\/]*)
   15537   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15538   ;;
   15539   *)
   15540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15541 for as_dir in $PATH
   15542 do
   15543   IFS=$as_save_IFS
   15544   test -z "$as_dir" && as_dir=.
   15545     for ac_exec_ext in '' $ac_executable_extensions; do
   15546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15547     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15549     break 2
   15550   fi
   15551 done
   15552   done
   15553 IFS=$as_save_IFS
   15554 
   15555   ;;
   15556 esac
   15557 fi
   15558 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15559 if test -n "$PKG_CONFIG"; then
   15560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15561 $as_echo "$PKG_CONFIG" >&6; }
   15562 else
   15563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15564 $as_echo "no" >&6; }
   15565 fi
   15566 
   15567 
   15568 fi
   15569 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15570   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15571   # Extract the first word of "pkg-config", so it can be a program name with args.
   15572 set dummy pkg-config; ac_word=$2
   15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15574 $as_echo_n "checking for $ac_word... " >&6; }
   15575 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   15576   $as_echo_n "(cached) " >&6
   15577 else
   15578   case $ac_pt_PKG_CONFIG in
   15579   [\\/]* | ?:[\\/]*)
   15580   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15581   ;;
   15582   *)
   15583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15584 for as_dir in $PATH
   15585 do
   15586   IFS=$as_save_IFS
   15587   test -z "$as_dir" && as_dir=.
   15588     for ac_exec_ext in '' $ac_executable_extensions; do
   15589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15590     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15592     break 2
   15593   fi
   15594 done
   15595   done
   15596 IFS=$as_save_IFS
   15597 
   15598   ;;
   15599 esac
   15600 fi
   15601 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15602 if test -n "$ac_pt_PKG_CONFIG"; then
   15603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15604 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   15605 else
   15606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15607 $as_echo "no" >&6; }
   15608 fi
   15609 
   15610   if test "x$ac_pt_PKG_CONFIG" = x; then
   15611     PKG_CONFIG=""
   15612   else
   15613     case $cross_compiling:$ac_tool_warned in
   15614 yes:)
   15615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15617 ac_tool_warned=yes ;;
   15618 esac
   15619     PKG_CONFIG=$ac_pt_PKG_CONFIG
   15620   fi
   15621 else
   15622   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   15623 fi
   15624 
   15625 fi
   15626 if test -n "$PKG_CONFIG"; then
   15627 	_pkg_min_version=0.9.0
   15628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   15629 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   15630 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   15631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15632 $as_echo "yes" >&6; }
   15633 	else
   15634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15635 $as_echo "no" >&6; }
   15636 		PKG_CONFIG=""
   15637 	fi
   15638 fi
   15639 
   15640 pkg_failed=no
   15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
   15642 $as_echo_n "checking for VALGRIND... " >&6; }
   15643 
   15644 if test -n "$VALGRIND_CFLAGS"; then
   15645     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
   15646  elif test -n "$PKG_CONFIG"; then
   15647     if test -n "$PKG_CONFIG" && \
   15648     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
   15649   ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
   15650   ac_status=$?
   15651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15652   test $ac_status = 0; }; then
   15653   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
   15654 		      test "x$?" != "x0" && pkg_failed=yes
   15655 else
   15656   pkg_failed=yes
   15657 fi
   15658  else
   15659     pkg_failed=untried
   15660 fi
   15661 if test -n "$VALGRIND_LIBS"; then
   15662     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
   15663  elif test -n "$PKG_CONFIG"; then
   15664     if test -n "$PKG_CONFIG" && \
   15665     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
   15666   ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
   15667   ac_status=$?
   15668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15669   test $ac_status = 0; }; then
   15670   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
   15671 		      test "x$?" != "x0" && pkg_failed=yes
   15672 else
   15673   pkg_failed=yes
   15674 fi
   15675  else
   15676     pkg_failed=untried
   15677 fi
   15678 
   15679 
   15680 
   15681 if test $pkg_failed = yes; then
   15682    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15683 $as_echo "no" >&6; }
   15684 
   15685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15686         _pkg_short_errors_supported=yes
   15687 else
   15688         _pkg_short_errors_supported=no
   15689 fi
   15690         if test $_pkg_short_errors_supported = yes; then
   15691 	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
   15692         else
   15693 	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
   15694         fi
   15695 	# Put the nasty error message in config.log where it belongs
   15696 	echo "$VALGRIND_PKG_ERRORS" >&5
   15697 
   15698 	as_fn_error $? "Package requirements (valgrind) were not met:
   15699 
   15700 $VALGRIND_PKG_ERRORS
   15701 
   15702 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   15703 installed software in a non-standard prefix.
   15704 
   15705 Alternatively, you may set the environment variables VALGRIND_CFLAGS
   15706 and VALGRIND_LIBS to avoid the need to call pkg-config.
   15707 See the pkg-config man page for more details." "$LINENO" 5
   15708 elif test $pkg_failed = untried; then
   15709      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15710 $as_echo "no" >&6; }
   15711 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15713 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   15714 is in your PATH or set the PKG_CONFIG environment variable to the full
   15715 path to pkg-config.
   15716 
   15717 Alternatively, you may set the environment variables VALGRIND_CFLAGS
   15718 and VALGRIND_LIBS to avoid the need to call pkg-config.
   15719 See the pkg-config man page for more details.
   15720 
   15721 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   15722 See \`config.log' for more details" "$LINENO" 5; }
   15723 else
   15724 	VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
   15725 	VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
   15726         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15727 $as_echo "yes" >&6; }
   15728 
   15729 fi
   15730 fi
   15731 
   15732 # Handle code coverage reporting support
   15733 if test "$enable_coverage" = "yes"; then
   15734   if test "x$GCC" != "xyes"; then
   15735     as_fn_error $? "Code coverage reports can only be generated when using GCC" "$LINENO" 5
   15736   fi
   15737 
   15738   # ccache is incompatible with gcov
   15739   # Extract the first word of "shtool", so it can be a program name with args.
   15740 set dummy shtool; ac_word=$2
   15741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15742 $as_echo_n "checking for $ac_word... " >&6; }
   15743 if ${ac_cv_path_SHTOOL+:} false; then :
   15744   $as_echo_n "(cached) " >&6
   15745 else
   15746   case $SHTOOL in
   15747   [\\/]* | ?:[\\/]*)
   15748   ac_cv_path_SHTOOL="$SHTOOL" # Let the user override the test with a path.
   15749   ;;
   15750   *)
   15751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15752 for as_dir in $PATH
   15753 do
   15754   IFS=$as_save_IFS
   15755   test -z "$as_dir" && as_dir=.
   15756     for ac_exec_ext in '' $ac_executable_extensions; do
   15757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15758     ac_cv_path_SHTOOL="$as_dir/$ac_word$ac_exec_ext"
   15759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15760     break 2
   15761   fi
   15762 done
   15763   done
   15764 IFS=$as_save_IFS
   15765 
   15766   test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL="false"
   15767   ;;
   15768 esac
   15769 fi
   15770 SHTOOL=$ac_cv_path_SHTOOL
   15771 if test -n "$SHTOOL"; then
   15772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
   15773 $as_echo "$SHTOOL" >&6; }
   15774 else
   15775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15776 $as_echo "no" >&6; }
   15777 fi
   15778 
   15779 
   15780   case `$SHTOOL path $CC` in
   15781     *ccache*) cc_ccache=yes;;
   15782     *) cc_ccache=no;;
   15783   esac
   15784 
   15785   if test "$cc_ccache" = "yes"; then
   15786     if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then
   15787       as_fn_error $? "must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5
   15788     fi
   15789   fi
   15790 
   15791 
   15792   # Extract the first word of "lcov", so it can be a program name with args.
   15793 set dummy lcov; ac_word=$2
   15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15795 $as_echo_n "checking for $ac_word... " >&6; }
   15796 if ${ac_cv_path_LCOV+:} false; then :
   15797   $as_echo_n "(cached) " >&6
   15798 else
   15799   case $LCOV in
   15800   [\\/]* | ?:[\\/]*)
   15801   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
   15802   ;;
   15803   *)
   15804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15805 for as_dir in $PATH
   15806 do
   15807   IFS=$as_save_IFS
   15808   test -z "$as_dir" && as_dir=.
   15809     for ac_exec_ext in '' $ac_executable_extensions; do
   15810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15811     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
   15812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15813     break 2
   15814   fi
   15815 done
   15816   done
   15817 IFS=$as_save_IFS
   15818 
   15819   test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="false"
   15820   ;;
   15821 esac
   15822 fi
   15823 LCOV=$ac_cv_path_LCOV
   15824 if test -n "$LCOV"; then
   15825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
   15826 $as_echo "$LCOV" >&6; }
   15827 else
   15828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15829 $as_echo "no" >&6; }
   15830 fi
   15831 
   15832 
   15833   if test "x$LCOV" = "xfalse"; then
   15834     as_fn_error $? "lcov not found" "$LINENO" 5
   15835   fi
   15836 
   15837 
   15838   # Extract the first word of "genhtml", so it can be a program name with args.
   15839 set dummy genhtml; ac_word=$2
   15840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15841 $as_echo_n "checking for $ac_word... " >&6; }
   15842 if ${ac_cv_path_GENHTML+:} false; then :
   15843   $as_echo_n "(cached) " >&6
   15844 else
   15845   case $GENHTML in
   15846   [\\/]* | ?:[\\/]*)
   15847   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
   15848   ;;
   15849   *)
   15850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15851 for as_dir in $PATH
   15852 do
   15853   IFS=$as_save_IFS
   15854   test -z "$as_dir" && as_dir=.
   15855     for ac_exec_ext in '' $ac_executable_extensions; do
   15856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15857     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
   15858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15859     break 2
   15860   fi
   15861 done
   15862   done
   15863 IFS=$as_save_IFS
   15864 
   15865   test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="false"
   15866   ;;
   15867 esac
   15868 fi
   15869 GENHTML=$ac_cv_path_GENHTML
   15870 if test -n "$GENHTML"; then
   15871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
   15872 $as_echo "$GENHTML" >&6; }
   15873 else
   15874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15875 $as_echo "no" >&6; }
   15876 fi
   15877 
   15878 
   15879   if test "x$GENHTML" = "xfalse"; then
   15880     as_fn_error $? "genhtml not found" "$LINENO" 5
   15881   fi
   15882 
   15883   # Set flags needed for gcov
   15884   GCOV_CFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
   15885   GCOV_CXXFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage"
   15886   GCOV_LIBS="-lgcov"
   15887 
   15888 
   15889 
   15890 fi # enable_coverage
   15891 
   15892  if test "x$enable_coverage" = "xyes"; then
   15893   WITH_GCOV_TRUE=
   15894   WITH_GCOV_FALSE='#'
   15895 else
   15896   WITH_GCOV_TRUE='#'
   15897   WITH_GCOV_FALSE=
   15898 fi
   15899 
   15900 
   15901 # Produce these files, in addition to config.h.
   15902 ac_config_files="$ac_config_files Makefile libpcre2-8.pc libpcre2-16.pc libpcre2-32.pc libpcre2-posix.pc pcre2-config src/pcre2.h"
   15903 
   15904 
   15905 # Make the generated script files executable.
   15906 ac_config_commands="$ac_config_commands script-chmod"
   15907 
   15908 
   15909 # Make sure that pcre2_chartables.c is removed in case the method for
   15910 # creating it was changed by reconfiguration.
   15911 ac_config_commands="$ac_config_commands delete-old-chartables"
   15912 
   15913 
   15914 cat >confcache <<\_ACEOF
   15915 # This file is a shell script that caches the results of configure
   15916 # tests run on this system so they can be shared between configure
   15917 # scripts and configure runs, see configure's option --config-cache.
   15918 # It is not useful on other systems.  If it contains results you don't
   15919 # want to keep, you may remove or edit it.
   15920 #
   15921 # config.status only pays attention to the cache file if you give it
   15922 # the --recheck option to rerun configure.
   15923 #
   15924 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15925 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15926 # following values.
   15927 
   15928 _ACEOF
   15929 
   15930 # The following way of writing the cache mishandles newlines in values,
   15931 # but we know of no workaround that is simple, portable, and efficient.
   15932 # So, we kill variables containing newlines.
   15933 # Ultrix sh set writes to stderr and can't be redirected directly,
   15934 # and sets the high bit in the cache file unless we assign to the vars.
   15935 (
   15936   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15937     eval ac_val=\$$ac_var
   15938     case $ac_val in #(
   15939     *${as_nl}*)
   15940       case $ac_var in #(
   15941       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15942 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15943       esac
   15944       case $ac_var in #(
   15945       _ | IFS | as_nl) ;; #(
   15946       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15947       *) { eval $ac_var=; unset $ac_var;} ;;
   15948       esac ;;
   15949     esac
   15950   done
   15951 
   15952   (set) 2>&1 |
   15953     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15954     *${as_nl}ac_space=\ *)
   15955       # `set' does not quote correctly, so add quotes: double-quote
   15956       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15957       sed -n \
   15958 	"s/'/'\\\\''/g;
   15959 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15960       ;; #(
   15961     *)
   15962       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15963       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15964       ;;
   15965     esac |
   15966     sort
   15967 ) |
   15968   sed '
   15969      /^ac_cv_env_/b end
   15970      t clear
   15971      :clear
   15972      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15973      t end
   15974      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15975      :end' >>confcache
   15976 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15977   if test -w "$cache_file"; then
   15978     if test "x$cache_file" != "x/dev/null"; then
   15979       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15980 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15981       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15982 	cat confcache >"$cache_file"
   15983       else
   15984         case $cache_file in #(
   15985         */* | ?:*)
   15986 	  mv -f confcache "$cache_file"$$ &&
   15987 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15988         *)
   15989 	  mv -f confcache "$cache_file" ;;
   15990 	esac
   15991       fi
   15992     fi
   15993   else
   15994     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15995 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15996   fi
   15997 fi
   15998 rm -f confcache
   15999 
   16000 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   16001 # Let make expand exec_prefix.
   16002 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   16003 
   16004 DEFS=-DHAVE_CONFIG_H
   16005 
   16006 ac_libobjs=
   16007 ac_ltlibobjs=
   16008 U=
   16009 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   16010   # 1. Remove the extension, and $U if already installed.
   16011   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   16012   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   16013   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   16014   #    will be set to the directory where LIBOBJS objects are built.
   16015   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   16016   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   16017 done
   16018 LIBOBJS=$ac_libobjs
   16019 
   16020 LTLIBOBJS=$ac_ltlibobjs
   16021 
   16022 
   16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   16024 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   16025    if test -n "$am_sleep_pid"; then
   16026      # Hide warnings about reused PIDs.
   16027      wait $am_sleep_pid 2>/dev/null
   16028    fi
   16029    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   16030 $as_echo "done" >&6; }
   16031  if test -n "$EXEEXT"; then
   16032   am__EXEEXT_TRUE=
   16033   am__EXEEXT_FALSE='#'
   16034 else
   16035   am__EXEEXT_TRUE='#'
   16036   am__EXEEXT_FALSE=
   16037 fi
   16038 
   16039 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   16040   as_fn_error $? "conditional \"AMDEP\" was never defined.
   16041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16042 fi
   16043 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16044   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   16045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16046 fi
   16047 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16048   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   16049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16050 fi
   16051 if test -z "${WITH_PCRE2_8_TRUE}" && test -z "${WITH_PCRE2_8_FALSE}"; then
   16052   as_fn_error $? "conditional \"WITH_PCRE2_8\" was never defined.
   16053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16054 fi
   16055 if test -z "${WITH_PCRE2_16_TRUE}" && test -z "${WITH_PCRE2_16_FALSE}"; then
   16056   as_fn_error $? "conditional \"WITH_PCRE2_16\" was never defined.
   16057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16058 fi
   16059 if test -z "${WITH_PCRE2_32_TRUE}" && test -z "${WITH_PCRE2_32_FALSE}"; then
   16060   as_fn_error $? "conditional \"WITH_PCRE2_32\" was never defined.
   16061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16062 fi
   16063 if test -z "${WITH_DEBUG_TRUE}" && test -z "${WITH_DEBUG_FALSE}"; then
   16064   as_fn_error $? "conditional \"WITH_DEBUG\" was never defined.
   16065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16066 fi
   16067 if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
   16068   as_fn_error $? "conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
   16069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16070 fi
   16071 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_FALSE}"; then
   16072   as_fn_error $? "conditional \"WITH_JIT\" was never defined.
   16073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16074 fi
   16075 if test -z "${WITH_UNICODE_TRUE}" && test -z "${WITH_UNICODE_FALSE}"; then
   16076   as_fn_error $? "conditional \"WITH_UNICODE\" was never defined.
   16077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16078 fi
   16079 if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then
   16080   as_fn_error $? "conditional \"WITH_VALGRIND\" was never defined.
   16081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16082 fi
   16083 if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then
   16084   as_fn_error $? "conditional \"WITH_GCOV\" was never defined.
   16085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16086 fi
   16087 
   16088 : "${CONFIG_STATUS=./config.status}"
   16089 ac_write_fail=0
   16090 ac_clean_files_save=$ac_clean_files
   16091 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   16092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   16093 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   16094 as_write_fail=0
   16095 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   16096 #! $SHELL
   16097 # Generated by $as_me.
   16098 # Run this file to recreate the current configuration.
   16099 # Compiler output produced by configure, useful for debugging
   16100 # configure, is in config.log if it exists.
   16101 
   16102 debug=false
   16103 ac_cs_recheck=false
   16104 ac_cs_silent=false
   16105 
   16106 SHELL=\${CONFIG_SHELL-$SHELL}
   16107 export SHELL
   16108 _ASEOF
   16109 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   16110 ## -------------------- ##
   16111 ## M4sh Initialization. ##
   16112 ## -------------------- ##
   16113 
   16114 # Be more Bourne compatible
   16115 DUALCASE=1; export DUALCASE # for MKS sh
   16116 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   16117   emulate sh
   16118   NULLCMD=:
   16119   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   16120   # is contrary to our usage.  Disable this feature.
   16121   alias -g '${1+"$@"}'='"$@"'
   16122   setopt NO_GLOB_SUBST
   16123 else
   16124   case `(set -o) 2>/dev/null` in #(
   16125   *posix*) :
   16126     set -o posix ;; #(
   16127   *) :
   16128      ;;
   16129 esac
   16130 fi
   16131 
   16132 
   16133 as_nl='
   16134 '
   16135 export as_nl
   16136 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   16137 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   16138 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   16139 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   16140 # Prefer a ksh shell builtin over an external printf program on Solaris,
   16141 # but without wasting forks for bash or zsh.
   16142 if test -z "$BASH_VERSION$ZSH_VERSION" \
   16143     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   16144   as_echo='print -r --'
   16145   as_echo_n='print -rn --'
   16146 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   16147   as_echo='printf %s\n'
   16148   as_echo_n='printf %s'
   16149 else
   16150   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   16151     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   16152     as_echo_n='/usr/ucb/echo -n'
   16153   else
   16154     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   16155     as_echo_n_body='eval
   16156       arg=$1;
   16157       case $arg in #(
   16158       *"$as_nl"*)
   16159 	expr "X$arg" : "X\\(.*\\)$as_nl";
   16160 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   16161       esac;
   16162       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   16163     '
   16164     export as_echo_n_body
   16165     as_echo_n='sh -c $as_echo_n_body as_echo'
   16166   fi
   16167   export as_echo_body
   16168   as_echo='sh -c $as_echo_body as_echo'
   16169 fi
   16170 
   16171 # The user is always right.
   16172 if test "${PATH_SEPARATOR+set}" != set; then
   16173   PATH_SEPARATOR=:
   16174   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   16175     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   16176       PATH_SEPARATOR=';'
   16177   }
   16178 fi
   16179 
   16180 
   16181 # IFS
   16182 # We need space, tab and new line, in precisely that order.  Quoting is
   16183 # there to prevent editors from complaining about space-tab.
   16184 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   16185 # splitting by setting IFS to empty value.)
   16186 IFS=" ""	$as_nl"
   16187 
   16188 # Find who we are.  Look in the path if we contain no directory separator.
   16189 as_myself=
   16190 case $0 in #((
   16191   *[\\/]* ) as_myself=$0 ;;
   16192   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16193 for as_dir in $PATH
   16194 do
   16195   IFS=$as_save_IFS
   16196   test -z "$as_dir" && as_dir=.
   16197     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16198   done
   16199 IFS=$as_save_IFS
   16200 
   16201      ;;
   16202 esac
   16203 # We did not find ourselves, most probably we were run as `sh COMMAND'
   16204 # in which case we are not to be found in the path.
   16205 if test "x$as_myself" = x; then
   16206   as_myself=$0
   16207 fi
   16208 if test ! -f "$as_myself"; then
   16209   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   16210   exit 1
   16211 fi
   16212 
   16213 # Unset variables that we do not need and which cause bugs (e.g. in
   16214 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   16215 # suppresses any "Segmentation fault" message there.  '((' could
   16216 # trigger a bug in pdksh 5.2.14.
   16217 for as_var in BASH_ENV ENV MAIL MAILPATH
   16218 do eval test x\${$as_var+set} = xset \
   16219   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   16220 done
   16221 PS1='$ '
   16222 PS2='> '
   16223 PS4='+ '
   16224 
   16225 # NLS nuisances.
   16226 LC_ALL=C
   16227 export LC_ALL
   16228 LANGUAGE=C
   16229 export LANGUAGE
   16230 
   16231 # CDPATH.
   16232 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16233 
   16234 
   16235 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   16236 # ----------------------------------------
   16237 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   16238 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   16239 # script with STATUS, using 1 if that was 0.
   16240 as_fn_error ()
   16241 {
   16242   as_status=$1; test $as_status -eq 0 && as_status=1
   16243   if test "$4"; then
   16244     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   16245     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   16246   fi
   16247   $as_echo "$as_me: error: $2" >&2
   16248   as_fn_exit $as_status
   16249 } # as_fn_error
   16250 
   16251 
   16252 # as_fn_set_status STATUS
   16253 # -----------------------
   16254 # Set $? to STATUS, without forking.
   16255 as_fn_set_status ()
   16256 {
   16257   return $1
   16258 } # as_fn_set_status
   16259 
   16260 # as_fn_exit STATUS
   16261 # -----------------
   16262 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   16263 as_fn_exit ()
   16264 {
   16265   set +e
   16266   as_fn_set_status $1
   16267   exit $1
   16268 } # as_fn_exit
   16269 
   16270 # as_fn_unset VAR
   16271 # ---------------
   16272 # Portably unset VAR.
   16273 as_fn_unset ()
   16274 {
   16275   { eval $1=; unset $1;}
   16276 }
   16277 as_unset=as_fn_unset
   16278 # as_fn_append VAR VALUE
   16279 # ----------------------
   16280 # Append the text in VALUE to the end of the definition contained in VAR. Take
   16281 # advantage of any shell optimizations that allow amortized linear growth over
   16282 # repeated appends, instead of the typical quadratic growth present in naive
   16283 # implementations.
   16284 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   16285   eval 'as_fn_append ()
   16286   {
   16287     eval $1+=\$2
   16288   }'
   16289 else
   16290   as_fn_append ()
   16291   {
   16292     eval $1=\$$1\$2
   16293   }
   16294 fi # as_fn_append
   16295 
   16296 # as_fn_arith ARG...
   16297 # ------------------
   16298 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16299 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16300 # must be portable across $(()) and expr.
   16301 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16302   eval 'as_fn_arith ()
   16303   {
   16304     as_val=$(( $* ))
   16305   }'
   16306 else
   16307   as_fn_arith ()
   16308   {
   16309     as_val=`expr "$@" || test $? -eq 1`
   16310   }
   16311 fi # as_fn_arith
   16312 
   16313 
   16314 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16315    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16316   as_expr=expr
   16317 else
   16318   as_expr=false
   16319 fi
   16320 
   16321 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16322   as_basename=basename
   16323 else
   16324   as_basename=false
   16325 fi
   16326 
   16327 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16328   as_dirname=dirname
   16329 else
   16330   as_dirname=false
   16331 fi
   16332 
   16333 as_me=`$as_basename -- "$0" ||
   16334 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16335 	 X"$0" : 'X\(//\)$' \| \
   16336 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16337 $as_echo X/"$0" |
   16338     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16339 	    s//\1/
   16340 	    q
   16341 	  }
   16342 	  /^X\/\(\/\/\)$/{
   16343 	    s//\1/
   16344 	    q
   16345 	  }
   16346 	  /^X\/\(\/\).*/{
   16347 	    s//\1/
   16348 	    q
   16349 	  }
   16350 	  s/.*/./; q'`
   16351 
   16352 # Avoid depending upon Character Ranges.
   16353 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16354 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16355 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16356 as_cr_digits='0123456789'
   16357 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16358 
   16359 ECHO_C= ECHO_N= ECHO_T=
   16360 case `echo -n x` in #(((((
   16361 -n*)
   16362   case `echo 'xy\c'` in
   16363   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16364   xy)  ECHO_C='\c';;
   16365   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16366        ECHO_T='	';;
   16367   esac;;
   16368 *)
   16369   ECHO_N='-n';;
   16370 esac
   16371 
   16372 rm -f conf$$ conf$$.exe conf$$.file
   16373 if test -d conf$$.dir; then
   16374   rm -f conf$$.dir/conf$$.file
   16375 else
   16376   rm -f conf$$.dir
   16377   mkdir conf$$.dir 2>/dev/null
   16378 fi
   16379 if (echo >conf$$.file) 2>/dev/null; then
   16380   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16381     as_ln_s='ln -s'
   16382     # ... but there are two gotchas:
   16383     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16384     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16385     # In both cases, we have to default to `cp -pR'.
   16386     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16387       as_ln_s='cp -pR'
   16388   elif ln conf$$.file conf$$ 2>/dev/null; then
   16389     as_ln_s=ln
   16390   else
   16391     as_ln_s='cp -pR'
   16392   fi
   16393 else
   16394   as_ln_s='cp -pR'
   16395 fi
   16396 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16397 rmdir conf$$.dir 2>/dev/null
   16398 
   16399 
   16400 # as_fn_mkdir_p
   16401 # -------------
   16402 # Create "$as_dir" as a directory, including parents if necessary.
   16403 as_fn_mkdir_p ()
   16404 {
   16405 
   16406   case $as_dir in #(
   16407   -*) as_dir=./$as_dir;;
   16408   esac
   16409   test -d "$as_dir" || eval $as_mkdir_p || {
   16410     as_dirs=
   16411     while :; do
   16412       case $as_dir in #(
   16413       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16414       *) as_qdir=$as_dir;;
   16415       esac
   16416       as_dirs="'$as_qdir' $as_dirs"
   16417       as_dir=`$as_dirname -- "$as_dir" ||
   16418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16419 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16420 	 X"$as_dir" : 'X\(//\)$' \| \
   16421 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16422 $as_echo X"$as_dir" |
   16423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16424 	    s//\1/
   16425 	    q
   16426 	  }
   16427 	  /^X\(\/\/\)[^/].*/{
   16428 	    s//\1/
   16429 	    q
   16430 	  }
   16431 	  /^X\(\/\/\)$/{
   16432 	    s//\1/
   16433 	    q
   16434 	  }
   16435 	  /^X\(\/\).*/{
   16436 	    s//\1/
   16437 	    q
   16438 	  }
   16439 	  s/.*/./; q'`
   16440       test -d "$as_dir" && break
   16441     done
   16442     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16443   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16444 
   16445 
   16446 } # as_fn_mkdir_p
   16447 if mkdir -p . 2>/dev/null; then
   16448   as_mkdir_p='mkdir -p "$as_dir"'
   16449 else
   16450   test -d ./-p && rmdir ./-p
   16451   as_mkdir_p=false
   16452 fi
   16453 
   16454 
   16455 # as_fn_executable_p FILE
   16456 # -----------------------
   16457 # Test if FILE is an executable regular file.
   16458 as_fn_executable_p ()
   16459 {
   16460   test -f "$1" && test -x "$1"
   16461 } # as_fn_executable_p
   16462 as_test_x='test -x'
   16463 as_executable_p=as_fn_executable_p
   16464 
   16465 # Sed expression to map a string onto a valid CPP name.
   16466 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16467 
   16468 # Sed expression to map a string onto a valid variable name.
   16469 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16470 
   16471 
   16472 exec 6>&1
   16473 ## ----------------------------------- ##
   16474 ## Main body of $CONFIG_STATUS script. ##
   16475 ## ----------------------------------- ##
   16476 _ASEOF
   16477 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16478 
   16479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16480 # Save the log message, to keep $0 and so on meaningful, and to
   16481 # report actual input values of CONFIG_FILES etc. instead of their
   16482 # values after options handling.
   16483 ac_log="
   16484 This file was extended by PCRE2 $as_me 10.22, which was
   16485 generated by GNU Autoconf 2.69.  Invocation command line was
   16486 
   16487   CONFIG_FILES    = $CONFIG_FILES
   16488   CONFIG_HEADERS  = $CONFIG_HEADERS
   16489   CONFIG_LINKS    = $CONFIG_LINKS
   16490   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16491   $ $0 $@
   16492 
   16493 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16494 "
   16495 
   16496 _ACEOF
   16497 
   16498 case $ac_config_files in *"
   16499 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16500 esac
   16501 
   16502 case $ac_config_headers in *"
   16503 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16504 esac
   16505 
   16506 
   16507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16508 # Files that config.status was made for.
   16509 config_files="$ac_config_files"
   16510 config_headers="$ac_config_headers"
   16511 config_commands="$ac_config_commands"
   16512 
   16513 _ACEOF
   16514 
   16515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16516 ac_cs_usage="\
   16517 \`$as_me' instantiates files and other configuration actions
   16518 from templates according to the current configuration.  Unless the files
   16519 and actions are specified as TAGs, all are instantiated by default.
   16520 
   16521 Usage: $0 [OPTION]... [TAG]...
   16522 
   16523   -h, --help       print this help, then exit
   16524   -V, --version    print version number and configuration settings, then exit
   16525       --config     print configuration, then exit
   16526   -q, --quiet, --silent
   16527                    do not print progress messages
   16528   -d, --debug      don't remove temporary files
   16529       --recheck    update $as_me by reconfiguring in the same conditions
   16530       --file=FILE[:TEMPLATE]
   16531                    instantiate the configuration file FILE
   16532       --header=FILE[:TEMPLATE]
   16533                    instantiate the configuration header FILE
   16534 
   16535 Configuration files:
   16536 $config_files
   16537 
   16538 Configuration headers:
   16539 $config_headers
   16540 
   16541 Configuration commands:
   16542 $config_commands
   16543 
   16544 Report bugs to the package provider."
   16545 
   16546 _ACEOF
   16547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16548 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   16549 ac_cs_version="\\
   16550 PCRE2 config.status 10.22
   16551 configured by $0, generated by GNU Autoconf 2.69,
   16552   with options \\"\$ac_cs_config\\"
   16553 
   16554 Copyright (C) 2012 Free Software Foundation, Inc.
   16555 This config.status script is free software; the Free Software Foundation
   16556 gives unlimited permission to copy, distribute and modify it."
   16557 
   16558 ac_pwd='$ac_pwd'
   16559 srcdir='$srcdir'
   16560 INSTALL='$INSTALL'
   16561 MKDIR_P='$MKDIR_P'
   16562 AWK='$AWK'
   16563 test -n "\$AWK" || AWK=awk
   16564 _ACEOF
   16565 
   16566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16567 # The default lists apply if the user does not specify any file.
   16568 ac_need_defaults=:
   16569 while test $# != 0
   16570 do
   16571   case $1 in
   16572   --*=?*)
   16573     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16574     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   16575     ac_shift=:
   16576     ;;
   16577   --*=)
   16578     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16579     ac_optarg=
   16580     ac_shift=:
   16581     ;;
   16582   *)
   16583     ac_option=$1
   16584     ac_optarg=$2
   16585     ac_shift=shift
   16586     ;;
   16587   esac
   16588 
   16589   case $ac_option in
   16590   # Handling of the options.
   16591   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16592     ac_cs_recheck=: ;;
   16593   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   16594     $as_echo "$ac_cs_version"; exit ;;
   16595   --config | --confi | --conf | --con | --co | --c )
   16596     $as_echo "$ac_cs_config"; exit ;;
   16597   --debug | --debu | --deb | --de | --d | -d )
   16598     debug=: ;;
   16599   --file | --fil | --fi | --f )
   16600     $ac_shift
   16601     case $ac_optarg in
   16602     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16603     '') as_fn_error $? "missing file argument" ;;
   16604     esac
   16605     as_fn_append CONFIG_FILES " '$ac_optarg'"
   16606     ac_need_defaults=false;;
   16607   --header | --heade | --head | --hea )
   16608     $ac_shift
   16609     case $ac_optarg in
   16610     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16611     esac
   16612     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   16613     ac_need_defaults=false;;
   16614   --he | --h)
   16615     # Conflict between --help and --header
   16616     as_fn_error $? "ambiguous option: \`$1'
   16617 Try \`$0 --help' for more information.";;
   16618   --help | --hel | -h )
   16619     $as_echo "$ac_cs_usage"; exit ;;
   16620   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16621   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16622     ac_cs_silent=: ;;
   16623 
   16624   # This is an error.
   16625   -*) as_fn_error $? "unrecognized option: \`$1'
   16626 Try \`$0 --help' for more information." ;;
   16627 
   16628   *) as_fn_append ac_config_targets " $1"
   16629      ac_need_defaults=false ;;
   16630 
   16631   esac
   16632   shift
   16633 done
   16634 
   16635 ac_configure_extra_args=
   16636 
   16637 if $ac_cs_silent; then
   16638   exec 6>/dev/null
   16639   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16640 fi
   16641 
   16642 _ACEOF
   16643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16644 if \$ac_cs_recheck; then
   16645   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16646   shift
   16647   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   16648   CONFIG_SHELL='$SHELL'
   16649   export CONFIG_SHELL
   16650   exec "\$@"
   16651 fi
   16652 
   16653 _ACEOF
   16654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16655 exec 5>>config.log
   16656 {
   16657   echo
   16658   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16659 ## Running $as_me. ##
   16660 _ASBOX
   16661   $as_echo "$ac_log"
   16662 } >&5
   16663 
   16664 _ACEOF
   16665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16666 #
   16667 # INIT-COMMANDS
   16668 #
   16669 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16670 
   16671 
   16672 # The HP-UX ksh and POSIX shell print the target directory to stdout
   16673 # if CDPATH is set.
   16674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16675 
   16676 sed_quote_subst='$sed_quote_subst'
   16677 double_quote_subst='$double_quote_subst'
   16678 delay_variable_subst='$delay_variable_subst'
   16679 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   16680 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   16681 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   16682 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   16683 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   16684 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   16685 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   16686 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   16687 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   16688 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   16689 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   16690 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   16691 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   16692 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   16693 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   16694 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   16695 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   16696 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   16697 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   16698 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   16699 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   16700 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   16701 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   16702 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   16703 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   16704 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   16705 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   16706 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   16707 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   16708 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   16709 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   16710 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   16711 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   16712 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   16713 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   16714 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   16715 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   16716 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   16717 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   16718 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   16719 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   16720 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   16721 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   16722 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   16723 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   16724 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   16725 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   16726 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16727 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16728 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   16729 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   16730 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   16731 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   16732 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   16733 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   16734 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   16735 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   16736 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   16737 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   16738 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"`'
   16739 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   16740 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   16741 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   16742 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   16743 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   16744 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   16745 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   16746 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   16747 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   16748 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   16749 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   16750 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   16751 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   16752 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   16753 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   16754 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   16755 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   16756 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   16757 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   16758 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   16759 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16760 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   16761 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   16762 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   16763 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   16764 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   16765 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   16766 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16767 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   16768 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16769 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   16770 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16771 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   16772 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16773 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16774 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   16775 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   16776 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   16777 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   16778 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   16779 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16780 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   16781 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   16782 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   16783 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   16784 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   16785 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   16786 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   16787 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   16788 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   16789 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   16790 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   16791 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16792 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   16793 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   16794 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   16795 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16796 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   16797 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   16798 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   16799 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   16800 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   16801 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16802 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16803 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   16804 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   16805 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   16806 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   16807 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   16808 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   16809 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   16810 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   16811 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   16812 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   16813 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   16814 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   16815 
   16816 LTCC='$LTCC'
   16817 LTCFLAGS='$LTCFLAGS'
   16818 compiler='$compiler_DEFAULT'
   16819 
   16820 # A function that is used when there is no print builtin or printf.
   16821 func_fallback_echo ()
   16822 {
   16823   eval 'cat <<_LTECHO_EOF
   16824 \$1
   16825 _LTECHO_EOF'
   16826 }
   16827 
   16828 # Quote evaled strings.
   16829 for var in AS \
   16830 DLLTOOL \
   16831 OBJDUMP \
   16832 SHELL \
   16833 ECHO \
   16834 PATH_SEPARATOR \
   16835 SED \
   16836 GREP \
   16837 EGREP \
   16838 FGREP \
   16839 LD \
   16840 NM \
   16841 LN_S \
   16842 lt_SP2NL \
   16843 lt_NL2SP \
   16844 reload_flag \
   16845 deplibs_check_method \
   16846 file_magic_cmd \
   16847 file_magic_glob \
   16848 want_nocaseglob \
   16849 sharedlib_from_linklib_cmd \
   16850 AR \
   16851 AR_FLAGS \
   16852 archiver_list_spec \
   16853 STRIP \
   16854 RANLIB \
   16855 CC \
   16856 CFLAGS \
   16857 compiler \
   16858 lt_cv_sys_global_symbol_pipe \
   16859 lt_cv_sys_global_symbol_to_cdecl \
   16860 lt_cv_sys_global_symbol_to_import \
   16861 lt_cv_sys_global_symbol_to_c_name_address \
   16862 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16863 lt_cv_nm_interface \
   16864 nm_file_list_spec \
   16865 lt_cv_truncate_bin \
   16866 lt_prog_compiler_no_builtin_flag \
   16867 lt_prog_compiler_pic \
   16868 lt_prog_compiler_wl \
   16869 lt_prog_compiler_static \
   16870 lt_cv_prog_compiler_c_o \
   16871 need_locks \
   16872 MANIFEST_TOOL \
   16873 DSYMUTIL \
   16874 NMEDIT \
   16875 LIPO \
   16876 OTOOL \
   16877 OTOOL64 \
   16878 shrext_cmds \
   16879 export_dynamic_flag_spec \
   16880 whole_archive_flag_spec \
   16881 compiler_needs_object \
   16882 with_gnu_ld \
   16883 allow_undefined_flag \
   16884 no_undefined_flag \
   16885 hardcode_libdir_flag_spec \
   16886 hardcode_libdir_separator \
   16887 exclude_expsyms \
   16888 include_expsyms \
   16889 file_list_spec \
   16890 variables_saved_for_relink \
   16891 libname_spec \
   16892 library_names_spec \
   16893 soname_spec \
   16894 install_override_mode \
   16895 finish_eval \
   16896 old_striplib \
   16897 striplib; do
   16898     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16899     *[\\\\\\\`\\"\\\$]*)
   16900       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   16901       ;;
   16902     *)
   16903       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16904       ;;
   16905     esac
   16906 done
   16907 
   16908 # Double-quote double-evaled strings.
   16909 for var in reload_cmds \
   16910 old_postinstall_cmds \
   16911 old_postuninstall_cmds \
   16912 old_archive_cmds \
   16913 extract_expsyms_cmds \
   16914 old_archive_from_new_cmds \
   16915 old_archive_from_expsyms_cmds \
   16916 archive_cmds \
   16917 archive_expsym_cmds \
   16918 module_cmds \
   16919 module_expsym_cmds \
   16920 export_symbols_cmds \
   16921 prelink_cmds \
   16922 postlink_cmds \
   16923 postinstall_cmds \
   16924 postuninstall_cmds \
   16925 finish_cmds \
   16926 sys_lib_search_path_spec \
   16927 configure_time_dlsearch_path \
   16928 configure_time_lt_sys_library_path; do
   16929     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16930     *[\\\\\\\`\\"\\\$]*)
   16931       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   16932       ;;
   16933     *)
   16934       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16935       ;;
   16936     esac
   16937 done
   16938 
   16939 ac_aux_dir='$ac_aux_dir'
   16940 
   16941 # See if we are running on zsh, and set the options that allow our
   16942 # commands through without removal of \ escapes INIT.
   16943 if test -n "\${ZSH_VERSION+set}"; then
   16944    setopt NO_GLOB_SUBST
   16945 fi
   16946 
   16947 
   16948     PACKAGE='$PACKAGE'
   16949     VERSION='$VERSION'
   16950     RM='$RM'
   16951     ofile='$ofile'
   16952 
   16953 
   16954 
   16955 
   16956 _ACEOF
   16957 
   16958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16959 
   16960 # Handling of arguments.
   16961 for ac_config_target in $ac_config_targets
   16962 do
   16963   case $ac_config_target in
   16964     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   16965     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16966     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16967     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16968     "libpcre2-8.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-8.pc" ;;
   16969     "libpcre2-16.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-16.pc" ;;
   16970     "libpcre2-32.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-32.pc" ;;
   16971     "libpcre2-posix.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-posix.pc" ;;
   16972     "pcre2-config") CONFIG_FILES="$CONFIG_FILES pcre2-config" ;;
   16973     "src/pcre2.h") CONFIG_FILES="$CONFIG_FILES src/pcre2.h" ;;
   16974     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
   16975     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
   16976 
   16977   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16978   esac
   16979 done
   16980 
   16981 
   16982 # If the user did not use the arguments to specify the items to instantiate,
   16983 # then the envvar interface is used.  Set only those that are not.
   16984 # We use the long form for the default assignment because of an extremely
   16985 # bizarre bug on SunOS 4.1.3.
   16986 if $ac_need_defaults; then
   16987   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16988   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16989   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16990 fi
   16991 
   16992 # Have a temporary directory for convenience.  Make it in the build tree
   16993 # simply because there is no reason against having it here, and in addition,
   16994 # creating and moving files from /tmp can sometimes cause problems.
   16995 # Hook for its removal unless debugging.
   16996 # Note that there is a small window in which the directory will not be cleaned:
   16997 # after its creation but before its name has been assigned to `$tmp'.
   16998 $debug ||
   16999 {
   17000   tmp= ac_tmp=
   17001   trap 'exit_status=$?
   17002   : "${ac_tmp:=$tmp}"
   17003   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   17004 ' 0
   17005   trap 'as_fn_exit 1' 1 2 13 15
   17006 }
   17007 # Create a (secure) tmp directory for tmp files.
   17008 
   17009 {
   17010   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   17011   test -d "$tmp"
   17012 }  ||
   17013 {
   17014   tmp=./conf$$-$RANDOM
   17015   (umask 077 && mkdir "$tmp")
   17016 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   17017 ac_tmp=$tmp
   17018 
   17019 # Set up the scripts for CONFIG_FILES section.
   17020 # No need to generate them if there are no CONFIG_FILES.
   17021 # This happens for instance with `./config.status config.h'.
   17022 if test -n "$CONFIG_FILES"; then
   17023 
   17024 
   17025 ac_cr=`echo X | tr X '\015'`
   17026 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   17027 # But we know of no other shell where ac_cr would be empty at this
   17028 # point, so we can use a bashism as a fallback.
   17029 if test "x$ac_cr" = x; then
   17030   eval ac_cr=\$\'\\r\'
   17031 fi
   17032 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   17033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   17034   ac_cs_awk_cr='\\r'
   17035 else
   17036   ac_cs_awk_cr=$ac_cr
   17037 fi
   17038 
   17039 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   17040 _ACEOF
   17041 
   17042 
   17043 {
   17044   echo "cat >conf$$subs.awk <<_ACEOF" &&
   17045   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   17046   echo "_ACEOF"
   17047 } >conf$$subs.sh ||
   17048   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17049 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   17050 ac_delim='%!_!# '
   17051 for ac_last_try in false false false false false :; do
   17052   . ./conf$$subs.sh ||
   17053     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17054 
   17055   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   17056   if test $ac_delim_n = $ac_delim_num; then
   17057     break
   17058   elif $ac_last_try; then
   17059     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   17060   else
   17061     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17062   fi
   17063 done
   17064 rm -f conf$$subs.sh
   17065 
   17066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17067 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   17068 _ACEOF
   17069 sed -n '
   17070 h
   17071 s/^/S["/; s/!.*/"]=/
   17072 p
   17073 g
   17074 s/^[^!]*!//
   17075 :repl
   17076 t repl
   17077 s/'"$ac_delim"'$//
   17078 t delim
   17079 :nl
   17080 h
   17081 s/\(.\{148\}\)..*/\1/
   17082 t more1
   17083 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   17084 p
   17085 n
   17086 b repl
   17087 :more1
   17088 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17089 p
   17090 g
   17091 s/.\{148\}//
   17092 t nl
   17093 :delim
   17094 h
   17095 s/\(.\{148\}\)..*/\1/
   17096 t more2
   17097 s/["\\]/\\&/g; s/^/"/; s/$/"/
   17098 p
   17099 b
   17100 :more2
   17101 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17102 p
   17103 g
   17104 s/.\{148\}//
   17105 t delim
   17106 ' <conf$$subs.awk | sed '
   17107 /^[^""]/{
   17108   N
   17109   s/\n//
   17110 }
   17111 ' >>$CONFIG_STATUS || ac_write_fail=1
   17112 rm -f conf$$subs.awk
   17113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17114 _ACAWK
   17115 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   17116   for (key in S) S_is_set[key] = 1
   17117   FS = ""
   17118 
   17119 }
   17120 {
   17121   line = $ 0
   17122   nfields = split(line, field, "@")
   17123   substed = 0
   17124   len = length(field[1])
   17125   for (i = 2; i < nfields; i++) {
   17126     key = field[i]
   17127     keylen = length(key)
   17128     if (S_is_set[key]) {
   17129       value = S[key]
   17130       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   17131       len += length(value) + length(field[++i])
   17132       substed = 1
   17133     } else
   17134       len += 1 + keylen
   17135   }
   17136 
   17137   print line
   17138 }
   17139 
   17140 _ACAWK
   17141 _ACEOF
   17142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17143 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   17144   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   17145 else
   17146   cat
   17147 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   17148   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   17149 _ACEOF
   17150 
   17151 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   17152 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   17153 # trailing colons and then remove the whole line if VPATH becomes empty
   17154 # (actually we leave an empty line to preserve line numbers).
   17155 if test "x$srcdir" = x.; then
   17156   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   17157 h
   17158 s///
   17159 s/^/:/
   17160 s/[	 ]*$/:/
   17161 s/:\$(srcdir):/:/g
   17162 s/:\${srcdir}:/:/g
   17163 s/:@srcdir@:/:/g
   17164 s/^:*//
   17165 s/:*$//
   17166 x
   17167 s/\(=[	 ]*\).*/\1/
   17168 G
   17169 s/\n//
   17170 s/^[^=]*=[	 ]*$//
   17171 }'
   17172 fi
   17173 
   17174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17175 fi # test -n "$CONFIG_FILES"
   17176 
   17177 # Set up the scripts for CONFIG_HEADERS section.
   17178 # No need to generate them if there are no CONFIG_HEADERS.
   17179 # This happens for instance with `./config.status Makefile'.
   17180 if test -n "$CONFIG_HEADERS"; then
   17181 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   17182 BEGIN {
   17183 _ACEOF
   17184 
   17185 # Transform confdefs.h into an awk script `defines.awk', embedded as
   17186 # here-document in config.status, that substitutes the proper values into
   17187 # config.h.in to produce config.h.
   17188 
   17189 # Create a delimiter string that does not exist in confdefs.h, to ease
   17190 # handling of long lines.
   17191 ac_delim='%!_!# '
   17192 for ac_last_try in false false :; do
   17193   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   17194   if test -z "$ac_tt"; then
   17195     break
   17196   elif $ac_last_try; then
   17197     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   17198   else
   17199     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17200   fi
   17201 done
   17202 
   17203 # For the awk script, D is an array of macro values keyed by name,
   17204 # likewise P contains macro parameters if any.  Preserve backslash
   17205 # newline sequences.
   17206 
   17207 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   17208 sed -n '
   17209 s/.\{148\}/&'"$ac_delim"'/g
   17210 t rset
   17211 :rset
   17212 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   17213 t def
   17214 d
   17215 :def
   17216 s/\\$//
   17217 t bsnl
   17218 s/["\\]/\\&/g
   17219 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17220 D["\1"]=" \3"/p
   17221 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   17222 d
   17223 :bsnl
   17224 s/["\\]/\\&/g
   17225 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17226 D["\1"]=" \3\\\\\\n"\\/p
   17227 t cont
   17228 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   17229 t cont
   17230 d
   17231 :cont
   17232 n
   17233 s/.\{148\}/&'"$ac_delim"'/g
   17234 t clear
   17235 :clear
   17236 s/\\$//
   17237 t bsnlc
   17238 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   17239 d
   17240 :bsnlc
   17241 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   17242 b cont
   17243 ' <confdefs.h | sed '
   17244 s/'"$ac_delim"'/"\\\
   17245 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   17246 
   17247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17248   for (key in D) D_is_set[key] = 1
   17249   FS = ""
   17250 }
   17251 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   17252   line = \$ 0
   17253   split(line, arg, " ")
   17254   if (arg[1] == "#") {
   17255     defundef = arg[2]
   17256     mac1 = arg[3]
   17257   } else {
   17258     defundef = substr(arg[1], 2)
   17259     mac1 = arg[2]
   17260   }
   17261   split(mac1, mac2, "(") #)
   17262   macro = mac2[1]
   17263   prefix = substr(line, 1, index(line, defundef) - 1)
   17264   if (D_is_set[macro]) {
   17265     # Preserve the white space surrounding the "#".
   17266     print prefix "define", macro P[macro] D[macro]
   17267     next
   17268   } else {
   17269     # Replace #undef with comments.  This is necessary, for example,
   17270     # in the case of _POSIX_SOURCE, which is predefined and required
   17271     # on some systems where configure will not decide to define it.
   17272     if (defundef == "undef") {
   17273       print "/*", prefix defundef, macro, "*/"
   17274       next
   17275     }
   17276   }
   17277 }
   17278 { print }
   17279 _ACAWK
   17280 _ACEOF
   17281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17282   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   17283 fi # test -n "$CONFIG_HEADERS"
   17284 
   17285 
   17286 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   17287 shift
   17288 for ac_tag
   17289 do
   17290   case $ac_tag in
   17291   :[FHLC]) ac_mode=$ac_tag; continue;;
   17292   esac
   17293   case $ac_mode$ac_tag in
   17294   :[FHL]*:*);;
   17295   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17296   :[FH]-) ac_tag=-:-;;
   17297   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17298   esac
   17299   ac_save_IFS=$IFS
   17300   IFS=:
   17301   set x $ac_tag
   17302   IFS=$ac_save_IFS
   17303   shift
   17304   ac_file=$1
   17305   shift
   17306 
   17307   case $ac_mode in
   17308   :L) ac_source=$1;;
   17309   :[FH])
   17310     ac_file_inputs=
   17311     for ac_f
   17312     do
   17313       case $ac_f in
   17314       -) ac_f="$ac_tmp/stdin";;
   17315       *) # Look for the file first in the build tree, then in the source tree
   17316 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17317 	 # because $ac_f cannot contain `:'.
   17318 	 test -f "$ac_f" ||
   17319 	   case $ac_f in
   17320 	   [\\/$]*) false;;
   17321 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17322 	   esac ||
   17323 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17324       esac
   17325       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17326       as_fn_append ac_file_inputs " '$ac_f'"
   17327     done
   17328 
   17329     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17330     # use $as_me), people would be surprised to read:
   17331     #    /* config.h.  Generated by config.status.  */
   17332     configure_input='Generated from '`
   17333 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17334 	`' by configure.'
   17335     if test x"$ac_file" != x-; then
   17336       configure_input="$ac_file.  $configure_input"
   17337       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17338 $as_echo "$as_me: creating $ac_file" >&6;}
   17339     fi
   17340     # Neutralize special characters interpreted by sed in replacement strings.
   17341     case $configure_input in #(
   17342     *\&* | *\|* | *\\* )
   17343        ac_sed_conf_input=`$as_echo "$configure_input" |
   17344        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17345     *) ac_sed_conf_input=$configure_input;;
   17346     esac
   17347 
   17348     case $ac_tag in
   17349     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17350       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17351     esac
   17352     ;;
   17353   esac
   17354 
   17355   ac_dir=`$as_dirname -- "$ac_file" ||
   17356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17357 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17358 	 X"$ac_file" : 'X\(//\)$' \| \
   17359 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17360 $as_echo X"$ac_file" |
   17361     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17362 	    s//\1/
   17363 	    q
   17364 	  }
   17365 	  /^X\(\/\/\)[^/].*/{
   17366 	    s//\1/
   17367 	    q
   17368 	  }
   17369 	  /^X\(\/\/\)$/{
   17370 	    s//\1/
   17371 	    q
   17372 	  }
   17373 	  /^X\(\/\).*/{
   17374 	    s//\1/
   17375 	    q
   17376 	  }
   17377 	  s/.*/./; q'`
   17378   as_dir="$ac_dir"; as_fn_mkdir_p
   17379   ac_builddir=.
   17380 
   17381 case "$ac_dir" in
   17382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17383 *)
   17384   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17385   # A ".." for each directory in $ac_dir_suffix.
   17386   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17387   case $ac_top_builddir_sub in
   17388   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17389   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17390   esac ;;
   17391 esac
   17392 ac_abs_top_builddir=$ac_pwd
   17393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17394 # for backward compatibility:
   17395 ac_top_builddir=$ac_top_build_prefix
   17396 
   17397 case $srcdir in
   17398   .)  # We are building in place.
   17399     ac_srcdir=.
   17400     ac_top_srcdir=$ac_top_builddir_sub
   17401     ac_abs_top_srcdir=$ac_pwd ;;
   17402   [\\/]* | ?:[\\/]* )  # Absolute name.
   17403     ac_srcdir=$srcdir$ac_dir_suffix;
   17404     ac_top_srcdir=$srcdir
   17405     ac_abs_top_srcdir=$srcdir ;;
   17406   *) # Relative name.
   17407     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17408     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17409     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17410 esac
   17411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17412 
   17413 
   17414   case $ac_mode in
   17415   :F)
   17416   #
   17417   # CONFIG_FILE
   17418   #
   17419 
   17420   case $INSTALL in
   17421   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17422   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17423   esac
   17424   ac_MKDIR_P=$MKDIR_P
   17425   case $MKDIR_P in
   17426   [\\/$]* | ?:[\\/]* ) ;;
   17427   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17428   esac
   17429 _ACEOF
   17430 
   17431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17432 # If the template does not know about datarootdir, expand it.
   17433 # FIXME: This hack should be removed a few years after 2.60.
   17434 ac_datarootdir_hack=; ac_datarootdir_seen=
   17435 ac_sed_dataroot='
   17436 /datarootdir/ {
   17437   p
   17438   q
   17439 }
   17440 /@datadir@/p
   17441 /@docdir@/p
   17442 /@infodir@/p
   17443 /@localedir@/p
   17444 /@mandir@/p'
   17445 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17446 *datarootdir*) ac_datarootdir_seen=yes;;
   17447 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17448   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17449 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17450 _ACEOF
   17451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17452   ac_datarootdir_hack='
   17453   s&@datadir@&$datadir&g
   17454   s&@docdir@&$docdir&g
   17455   s&@infodir@&$infodir&g
   17456   s&@localedir@&$localedir&g
   17457   s&@mandir@&$mandir&g
   17458   s&\\\${datarootdir}&$datarootdir&g' ;;
   17459 esac
   17460 _ACEOF
   17461 
   17462 # Neutralize VPATH when `$srcdir' = `.'.
   17463 # Shell code in configure.ac might set extrasub.
   17464 # FIXME: do we really want to maintain this feature?
   17465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17466 ac_sed_extra="$ac_vpsub
   17467 $extrasub
   17468 _ACEOF
   17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17470 :t
   17471 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17472 s|@configure_input@|$ac_sed_conf_input|;t t
   17473 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17474 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17475 s&@srcdir@&$ac_srcdir&;t t
   17476 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17477 s&@top_srcdir@&$ac_top_srcdir&;t t
   17478 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17479 s&@builddir@&$ac_builddir&;t t
   17480 s&@abs_builddir@&$ac_abs_builddir&;t t
   17481 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17482 s&@INSTALL@&$ac_INSTALL&;t t
   17483 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17484 $ac_datarootdir_hack
   17485 "
   17486 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17487   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17488 
   17489 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17490   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17491   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17492       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17493   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17494 which seems to be undefined.  Please make sure it is defined" >&5
   17495 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17496 which seems to be undefined.  Please make sure it is defined" >&2;}
   17497 
   17498   rm -f "$ac_tmp/stdin"
   17499   case $ac_file in
   17500   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   17501   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   17502   esac \
   17503   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17504  ;;
   17505   :H)
   17506   #
   17507   # CONFIG_HEADER
   17508   #
   17509   if test x"$ac_file" != x-; then
   17510     {
   17511       $as_echo "/* $configure_input  */" \
   17512       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   17513     } >"$ac_tmp/config.h" \
   17514       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17515     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   17516       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   17517 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17518     else
   17519       rm -f "$ac_file"
   17520       mv "$ac_tmp/config.h" "$ac_file" \
   17521 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17522     fi
   17523   else
   17524     $as_echo "/* $configure_input  */" \
   17525       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   17526       || as_fn_error $? "could not create -" "$LINENO" 5
   17527   fi
   17528 # Compute "$ac_file"'s index in $config_headers.
   17529 _am_arg="$ac_file"
   17530 _am_stamp_count=1
   17531 for _am_header in $config_headers :; do
   17532   case $_am_header in
   17533     $_am_arg | $_am_arg:* )
   17534       break ;;
   17535     * )
   17536       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17537   esac
   17538 done
   17539 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17540 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17541 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17542 	 X"$_am_arg" : 'X\(//\)$' \| \
   17543 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17544 $as_echo X"$_am_arg" |
   17545     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17546 	    s//\1/
   17547 	    q
   17548 	  }
   17549 	  /^X\(\/\/\)[^/].*/{
   17550 	    s//\1/
   17551 	    q
   17552 	  }
   17553 	  /^X\(\/\/\)$/{
   17554 	    s//\1/
   17555 	    q
   17556 	  }
   17557 	  /^X\(\/\).*/{
   17558 	    s//\1/
   17559 	    q
   17560 	  }
   17561 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17562  ;;
   17563 
   17564   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   17565 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17566  ;;
   17567   esac
   17568 
   17569 
   17570   case $ac_file$ac_mode in
   17571     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17572   # Older Autoconf quotes --file arguments for eval, but not when files
   17573   # are listed without --file.  Let's play safe and only enable the eval
   17574   # if we detect the quoting.
   17575   case $CONFIG_FILES in
   17576   *\'*) eval set x "$CONFIG_FILES" ;;
   17577   *)   set x $CONFIG_FILES ;;
   17578   esac
   17579   shift
   17580   for mf
   17581   do
   17582     # Strip MF so we end up with the name of the file.
   17583     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17584     # Check whether this is an Automake generated Makefile or not.
   17585     # We used to match only the files named 'Makefile.in', but
   17586     # some people rename them; so instead we look at the file content.
   17587     # Grep'ing the first line is not enough: some people post-process
   17588     # each Makefile.in and add a new line on top of each file to say so.
   17589     # Grep'ing the whole file is not good either: AIX grep has a line
   17590     # limit of 2048, but all sed's we know have understand at least 4000.
   17591     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   17592       dirpart=`$as_dirname -- "$mf" ||
   17593 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17594 	 X"$mf" : 'X\(//\)[^/]' \| \
   17595 	 X"$mf" : 'X\(//\)$' \| \
   17596 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   17597 $as_echo X"$mf" |
   17598     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17599 	    s//\1/
   17600 	    q
   17601 	  }
   17602 	  /^X\(\/\/\)[^/].*/{
   17603 	    s//\1/
   17604 	    q
   17605 	  }
   17606 	  /^X\(\/\/\)$/{
   17607 	    s//\1/
   17608 	    q
   17609 	  }
   17610 	  /^X\(\/\).*/{
   17611 	    s//\1/
   17612 	    q
   17613 	  }
   17614 	  s/.*/./; q'`
   17615     else
   17616       continue
   17617     fi
   17618     # Extract the definition of DEPDIR, am__include, and am__quote
   17619     # from the Makefile without running 'make'.
   17620     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17621     test -z "$DEPDIR" && continue
   17622     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17623     test -z "$am__include" && continue
   17624     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17625     # Find all dependency output files, they are included files with
   17626     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17627     # simplest approach to changing $(DEPDIR) to its actual value in the
   17628     # expansion.
   17629     for file in `sed -n "
   17630       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17631 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   17632       # Make sure the directory exists.
   17633       test -f "$dirpart/$file" && continue
   17634       fdir=`$as_dirname -- "$file" ||
   17635 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17636 	 X"$file" : 'X\(//\)[^/]' \| \
   17637 	 X"$file" : 'X\(//\)$' \| \
   17638 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   17639 $as_echo X"$file" |
   17640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17641 	    s//\1/
   17642 	    q
   17643 	  }
   17644 	  /^X\(\/\/\)[^/].*/{
   17645 	    s//\1/
   17646 	    q
   17647 	  }
   17648 	  /^X\(\/\/\)$/{
   17649 	    s//\1/
   17650 	    q
   17651 	  }
   17652 	  /^X\(\/\).*/{
   17653 	    s//\1/
   17654 	    q
   17655 	  }
   17656 	  s/.*/./; q'`
   17657       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   17658       # echo "creating $dirpart/$file"
   17659       echo '# dummy' > "$dirpart/$file"
   17660     done
   17661   done
   17662 }
   17663  ;;
   17664     "libtool":C)
   17665 
   17666     # See if we are running on zsh, and set the options that allow our
   17667     # commands through without removal of \ escapes.
   17668     if test -n "${ZSH_VERSION+set}"; then
   17669       setopt NO_GLOB_SUBST
   17670     fi
   17671 
   17672     cfgfile=${ofile}T
   17673     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   17674     $RM "$cfgfile"
   17675 
   17676     cat <<_LT_EOF >> "$cfgfile"
   17677 #! $SHELL
   17678 # Generated automatically by $as_me ($PACKAGE) $VERSION
   17679 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17680 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   17681 
   17682 # Provide generalized library-building support services.
   17683 # Written by Gordon Matzigkeit, 1996
   17684 
   17685 # Copyright (C) 2014 Free Software Foundation, Inc.
   17686 # This is free software; see the source for copying conditions.  There is NO
   17687 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   17688 
   17689 # GNU Libtool is free software; you can redistribute it and/or modify
   17690 # it under the terms of the GNU General Public License as published by
   17691 # the Free Software Foundation; either version 2 of of the License, or
   17692 # (at your option) any later version.
   17693 #
   17694 # As a special exception to the GNU General Public License, if you
   17695 # distribute this file as part of a program or library that is built
   17696 # using GNU Libtool, you may include this file under the  same
   17697 # distribution terms that you use for the rest of that program.
   17698 #
   17699 # GNU Libtool is distributed in the hope that it will be useful, but
   17700 # WITHOUT ANY WARRANTY; without even the implied warranty of
   17701 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17702 # GNU General Public License for more details.
   17703 #
   17704 # You should have received a copy of the GNU General Public License
   17705 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   17706 
   17707 
   17708 # The names of the tagged configurations supported by this script.
   17709 available_tags=''
   17710 
   17711 # Configured defaults for sys_lib_dlsearch_path munging.
   17712 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   17713 
   17714 # ### BEGIN LIBTOOL CONFIG
   17715 
   17716 # Assembler program.
   17717 AS=$lt_AS
   17718 
   17719 # DLL creation program.
   17720 DLLTOOL=$lt_DLLTOOL
   17721 
   17722 # Object dumper program.
   17723 OBJDUMP=$lt_OBJDUMP
   17724 
   17725 # Which release of libtool.m4 was used?
   17726 macro_version=$macro_version
   17727 macro_revision=$macro_revision
   17728 
   17729 # Whether or not to build shared libraries.
   17730 build_libtool_libs=$enable_shared
   17731 
   17732 # Whether or not to build static libraries.
   17733 build_old_libs=$enable_static
   17734 
   17735 # What type of objects to build.
   17736 pic_mode=$pic_mode
   17737 
   17738 # Whether or not to optimize for fast installation.
   17739 fast_install=$enable_fast_install
   17740 
   17741 # Shared archive member basename,for filename based shared library versioning on AIX.
   17742 shared_archive_member_spec=$shared_archive_member_spec
   17743 
   17744 # Shell to use when invoking shell scripts.
   17745 SHELL=$lt_SHELL
   17746 
   17747 # An echo program that protects backslashes.
   17748 ECHO=$lt_ECHO
   17749 
   17750 # The PATH separator for the build system.
   17751 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   17752 
   17753 # The host system.
   17754 host_alias=$host_alias
   17755 host=$host
   17756 host_os=$host_os
   17757 
   17758 # The build system.
   17759 build_alias=$build_alias
   17760 build=$build
   17761 build_os=$build_os
   17762 
   17763 # A sed program that does not truncate output.
   17764 SED=$lt_SED
   17765 
   17766 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   17767 Xsed="\$SED -e 1s/^X//"
   17768 
   17769 # A grep program that handles long lines.
   17770 GREP=$lt_GREP
   17771 
   17772 # An ERE matcher.
   17773 EGREP=$lt_EGREP
   17774 
   17775 # A literal string matcher.
   17776 FGREP=$lt_FGREP
   17777 
   17778 # A BSD- or MS-compatible name lister.
   17779 NM=$lt_NM
   17780 
   17781 # Whether we need soft or hard links.
   17782 LN_S=$lt_LN_S
   17783 
   17784 # What is the maximum length of a command?
   17785 max_cmd_len=$max_cmd_len
   17786 
   17787 # Object file suffix (normally "o").
   17788 objext=$ac_objext
   17789 
   17790 # Executable file suffix (normally "").
   17791 exeext=$exeext
   17792 
   17793 # whether the shell understands "unset".
   17794 lt_unset=$lt_unset
   17795 
   17796 # turn spaces into newlines.
   17797 SP2NL=$lt_lt_SP2NL
   17798 
   17799 # turn newlines into spaces.
   17800 NL2SP=$lt_lt_NL2SP
   17801 
   17802 # convert \$build file names to \$host format.
   17803 to_host_file_cmd=$lt_cv_to_host_file_cmd
   17804 
   17805 # convert \$build files to toolchain format.
   17806 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   17807 
   17808 # Method to check whether dependent libraries are shared objects.
   17809 deplibs_check_method=$lt_deplibs_check_method
   17810 
   17811 # Command to use when deplibs_check_method = "file_magic".
   17812 file_magic_cmd=$lt_file_magic_cmd
   17813 
   17814 # How to find potential files when deplibs_check_method = "file_magic".
   17815 file_magic_glob=$lt_file_magic_glob
   17816 
   17817 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   17818 want_nocaseglob=$lt_want_nocaseglob
   17819 
   17820 # Command to associate shared and link libraries.
   17821 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   17822 
   17823 # The archiver.
   17824 AR=$lt_AR
   17825 
   17826 # Flags to create an archive.
   17827 AR_FLAGS=$lt_AR_FLAGS
   17828 
   17829 # How to feed a file listing to the archiver.
   17830 archiver_list_spec=$lt_archiver_list_spec
   17831 
   17832 # A symbol stripping program.
   17833 STRIP=$lt_STRIP
   17834 
   17835 # Commands used to install an old-style archive.
   17836 RANLIB=$lt_RANLIB
   17837 old_postinstall_cmds=$lt_old_postinstall_cmds
   17838 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17839 
   17840 # Whether to use a lock for old archive extraction.
   17841 lock_old_archive_extraction=$lock_old_archive_extraction
   17842 
   17843 # A C compiler.
   17844 LTCC=$lt_CC
   17845 
   17846 # LTCC compiler flags.
   17847 LTCFLAGS=$lt_CFLAGS
   17848 
   17849 # Take the output of nm and produce a listing of raw symbols and C names.
   17850 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17851 
   17852 # Transform the output of nm in a proper C declaration.
   17853 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17854 
   17855 # Transform the output of nm into a list of symbols to manually relocate.
   17856 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   17857 
   17858 # Transform the output of nm in a C name address pair.
   17859 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17860 
   17861 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17862 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17863 
   17864 # The name lister interface.
   17865 nm_interface=$lt_lt_cv_nm_interface
   17866 
   17867 # Specify filename containing input files for \$NM.
   17868 nm_file_list_spec=$lt_nm_file_list_spec
   17869 
   17870 # The root where to search for dependent libraries,and where our libraries should be installed.
   17871 lt_sysroot=$lt_sysroot
   17872 
   17873 # Command to truncate a binary pipe.
   17874 lt_truncate_bin=$lt_lt_cv_truncate_bin
   17875 
   17876 # The name of the directory that contains temporary libtool files.
   17877 objdir=$objdir
   17878 
   17879 # Used to examine libraries when file_magic_cmd begins with "file".
   17880 MAGIC_CMD=$MAGIC_CMD
   17881 
   17882 # Must we lock files when doing compilation?
   17883 need_locks=$lt_need_locks
   17884 
   17885 # Manifest tool.
   17886 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   17887 
   17888 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17889 DSYMUTIL=$lt_DSYMUTIL
   17890 
   17891 # Tool to change global to local symbols on Mac OS X.
   17892 NMEDIT=$lt_NMEDIT
   17893 
   17894 # Tool to manipulate fat objects and archives on Mac OS X.
   17895 LIPO=$lt_LIPO
   17896 
   17897 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17898 OTOOL=$lt_OTOOL
   17899 
   17900 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17901 OTOOL64=$lt_OTOOL64
   17902 
   17903 # Old archive suffix (normally "a").
   17904 libext=$libext
   17905 
   17906 # Shared library suffix (normally ".so").
   17907 shrext_cmds=$lt_shrext_cmds
   17908 
   17909 # The commands to extract the exported symbol list from a shared archive.
   17910 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17911 
   17912 # Variables whose values should be saved in libtool wrapper scripts and
   17913 # restored at link time.
   17914 variables_saved_for_relink=$lt_variables_saved_for_relink
   17915 
   17916 # Do we need the "lib" prefix for modules?
   17917 need_lib_prefix=$need_lib_prefix
   17918 
   17919 # Do we need a version for libraries?
   17920 need_version=$need_version
   17921 
   17922 # Library versioning type.
   17923 version_type=$version_type
   17924 
   17925 # Shared library runtime path variable.
   17926 runpath_var=$runpath_var
   17927 
   17928 # Shared library path variable.
   17929 shlibpath_var=$shlibpath_var
   17930 
   17931 # Is shlibpath searched before the hard-coded library search path?
   17932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17933 
   17934 # Format of library name prefix.
   17935 libname_spec=$lt_libname_spec
   17936 
   17937 # List of archive names.  First name is the real one, the rest are links.
   17938 # The last name is the one that the linker finds with -lNAME
   17939 library_names_spec=$lt_library_names_spec
   17940 
   17941 # The coded name of the library, if different from the real name.
   17942 soname_spec=$lt_soname_spec
   17943 
   17944 # Permission mode override for installation of shared libraries.
   17945 install_override_mode=$lt_install_override_mode
   17946 
   17947 # Command to use after installation of a shared archive.
   17948 postinstall_cmds=$lt_postinstall_cmds
   17949 
   17950 # Command to use after uninstallation of a shared archive.
   17951 postuninstall_cmds=$lt_postuninstall_cmds
   17952 
   17953 # Commands used to finish a libtool library installation in a directory.
   17954 finish_cmds=$lt_finish_cmds
   17955 
   17956 # As "finish_cmds", except a single script fragment to be evaled but
   17957 # not shown.
   17958 finish_eval=$lt_finish_eval
   17959 
   17960 # Whether we should hardcode library paths into libraries.
   17961 hardcode_into_libs=$hardcode_into_libs
   17962 
   17963 # Compile-time system search path for libraries.
   17964 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17965 
   17966 # Detected run-time system search path for libraries.
   17967 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   17968 
   17969 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   17970 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   17971 
   17972 # Whether dlopen is supported.
   17973 dlopen_support=$enable_dlopen
   17974 
   17975 # Whether dlopen of programs is supported.
   17976 dlopen_self=$enable_dlopen_self
   17977 
   17978 # Whether dlopen of statically linked programs is supported.
   17979 dlopen_self_static=$enable_dlopen_self_static
   17980 
   17981 # Commands to strip libraries.
   17982 old_striplib=$lt_old_striplib
   17983 striplib=$lt_striplib
   17984 
   17985 
   17986 # The linker used to build libraries.
   17987 LD=$lt_LD
   17988 
   17989 # How to create reloadable object files.
   17990 reload_flag=$lt_reload_flag
   17991 reload_cmds=$lt_reload_cmds
   17992 
   17993 # Commands used to build an old-style archive.
   17994 old_archive_cmds=$lt_old_archive_cmds
   17995 
   17996 # A language specific compiler.
   17997 CC=$lt_compiler
   17998 
   17999 # Is the compiler the GNU compiler?
   18000 with_gcc=$GCC
   18001 
   18002 # Compiler flag to turn off builtin functions.
   18003 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   18004 
   18005 # Additional compiler flags for building library objects.
   18006 pic_flag=$lt_lt_prog_compiler_pic
   18007 
   18008 # How to pass a linker flag through the compiler.
   18009 wl=$lt_lt_prog_compiler_wl
   18010 
   18011 # Compiler flag to prevent dynamic linking.
   18012 link_static_flag=$lt_lt_prog_compiler_static
   18013 
   18014 # Does compiler simultaneously support -c and -o options?
   18015 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   18016 
   18017 # Whether or not to add -lc for building shared libraries.
   18018 build_libtool_need_lc=$archive_cmds_need_lc
   18019 
   18020 # Whether or not to disallow shared libs when runtime libs are static.
   18021 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   18022 
   18023 # Compiler flag to allow reflexive dlopens.
   18024 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   18025 
   18026 # Compiler flag to generate shared objects directly from archives.
   18027 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   18028 
   18029 # Whether the compiler copes with passing no objects directly.
   18030 compiler_needs_object=$lt_compiler_needs_object
   18031 
   18032 # Create an old-style archive from a shared archive.
   18033 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   18034 
   18035 # Create a temporary old-style archive to link instead of a shared archive.
   18036 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   18037 
   18038 # Commands used to build a shared archive.
   18039 archive_cmds=$lt_archive_cmds
   18040 archive_expsym_cmds=$lt_archive_expsym_cmds
   18041 
   18042 # Commands used to build a loadable module if different from building
   18043 # a shared archive.
   18044 module_cmds=$lt_module_cmds
   18045 module_expsym_cmds=$lt_module_expsym_cmds
   18046 
   18047 # Whether we are building with GNU ld or not.
   18048 with_gnu_ld=$lt_with_gnu_ld
   18049 
   18050 # Flag that allows shared libraries with undefined symbols to be built.
   18051 allow_undefined_flag=$lt_allow_undefined_flag
   18052 
   18053 # Flag that enforces no undefined symbols.
   18054 no_undefined_flag=$lt_no_undefined_flag
   18055 
   18056 # Flag to hardcode \$libdir into a binary during linking.
   18057 # This must work even if \$libdir does not exist
   18058 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   18059 
   18060 # Whether we need a single "-rpath" flag with a separated argument.
   18061 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   18062 
   18063 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   18064 # DIR into the resulting binary.
   18065 hardcode_direct=$hardcode_direct
   18066 
   18067 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   18068 # DIR into the resulting binary and the resulting library dependency is
   18069 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   18070 # library is relocated.
   18071 hardcode_direct_absolute=$hardcode_direct_absolute
   18072 
   18073 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18074 # into the resulting binary.
   18075 hardcode_minus_L=$hardcode_minus_L
   18076 
   18077 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18078 # into the resulting binary.
   18079 hardcode_shlibpath_var=$hardcode_shlibpath_var
   18080 
   18081 # Set to "yes" if building a shared library automatically hardcodes DIR
   18082 # into the library and all subsequent libraries and executables linked
   18083 # against it.
   18084 hardcode_automatic=$hardcode_automatic
   18085 
   18086 # Set to yes if linker adds runtime paths of dependent libraries
   18087 # to runtime path list.
   18088 inherit_rpath=$inherit_rpath
   18089 
   18090 # Whether libtool must link a program against all its dependency libraries.
   18091 link_all_deplibs=$link_all_deplibs
   18092 
   18093 # Set to "yes" if exported symbols are required.
   18094 always_export_symbols=$always_export_symbols
   18095 
   18096 # The commands to list exported symbols.
   18097 export_symbols_cmds=$lt_export_symbols_cmds
   18098 
   18099 # Symbols that should not be listed in the preloaded symbols.
   18100 exclude_expsyms=$lt_exclude_expsyms
   18101 
   18102 # Symbols that must always be exported.
   18103 include_expsyms=$lt_include_expsyms
   18104 
   18105 # Commands necessary for linking programs (against libraries) with templates.
   18106 prelink_cmds=$lt_prelink_cmds
   18107 
   18108 # Commands necessary for finishing linking programs.
   18109 postlink_cmds=$lt_postlink_cmds
   18110 
   18111 # Specify filename containing input files.
   18112 file_list_spec=$lt_file_list_spec
   18113 
   18114 # How to hardcode a shared library path into an executable.
   18115 hardcode_action=$hardcode_action
   18116 
   18117 # ### END LIBTOOL CONFIG
   18118 
   18119 _LT_EOF
   18120 
   18121     cat <<'_LT_EOF' >> "$cfgfile"
   18122 
   18123 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   18124 
   18125 # func_munge_path_list VARIABLE PATH
   18126 # -----------------------------------
   18127 # VARIABLE is name of variable containing _space_ separated list of
   18128 # directories to be munged by the contents of PATH, which is string
   18129 # having a format:
   18130 # "DIR[:DIR]:"
   18131 #       string "DIR[ DIR]" will be prepended to VARIABLE
   18132 # ":DIR[:DIR]"
   18133 #       string "DIR[ DIR]" will be appended to VARIABLE
   18134 # "DIRP[:DIRP]::[DIRA:]DIRA"
   18135 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   18136 #       "DIRA[ DIRA]" will be appended to VARIABLE
   18137 # "DIR[:DIR]"
   18138 #       VARIABLE will be replaced by "DIR[ DIR]"
   18139 func_munge_path_list ()
   18140 {
   18141     case x$2 in
   18142     x)
   18143         ;;
   18144     *:)
   18145         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   18146         ;;
   18147     x:*)
   18148         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   18149         ;;
   18150     *::*)
   18151         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   18152         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   18153         ;;
   18154     *)
   18155         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   18156         ;;
   18157     esac
   18158 }
   18159 
   18160 
   18161 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   18162 func_cc_basename ()
   18163 {
   18164     for cc_temp in $*""; do
   18165       case $cc_temp in
   18166         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   18167         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   18168         \-*) ;;
   18169         *) break;;
   18170       esac
   18171     done
   18172     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   18173 }
   18174 
   18175 
   18176 # ### END FUNCTIONS SHARED WITH CONFIGURE
   18177 
   18178 _LT_EOF
   18179 
   18180   case $host_os in
   18181   aix3*)
   18182     cat <<\_LT_EOF >> "$cfgfile"
   18183 # AIX sometimes has problems with the GCC collect2 program.  For some
   18184 # reason, if we set the COLLECT_NAMES environment variable, the problems
   18185 # vanish in a puff of smoke.
   18186 if test set != "${COLLECT_NAMES+set}"; then
   18187   COLLECT_NAMES=
   18188   export COLLECT_NAMES
   18189 fi
   18190 _LT_EOF
   18191     ;;
   18192   esac
   18193 
   18194 
   18195 ltmain=$ac_aux_dir/ltmain.sh
   18196 
   18197 
   18198   # We use sed instead of cat because bash on DJGPP gets confused if
   18199   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   18200   # text mode, it properly converts lines to CR/LF.  This bash problem
   18201   # is reportedly fixed, but why not run on old versions too?
   18202   sed '$q' "$ltmain" >> "$cfgfile" \
   18203      || (rm -f "$cfgfile"; exit 1)
   18204 
   18205    mv -f "$cfgfile" "$ofile" ||
   18206     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18207   chmod +x "$ofile"
   18208 
   18209  ;;
   18210     "script-chmod":C) chmod a+x pcre2-config ;;
   18211     "delete-old-chartables":C) rm -f pcre2_chartables.c ;;
   18212 
   18213   esac
   18214 done # for ac_tag
   18215 
   18216 
   18217 as_fn_exit 0
   18218 _ACEOF
   18219 ac_clean_files=$ac_clean_files_save
   18220 
   18221 test $ac_write_fail = 0 ||
   18222   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   18223 
   18224 
   18225 # configure is writing to config.log, and then calls config.status.
   18226 # config.status does its own redirection, appending to config.log.
   18227 # Unfortunately, on DOS this fails, as config.log is still kept open
   18228 # by configure, so config.status won't be able to write to it; its
   18229 # output is simply discarded.  So we exec the FD to /dev/null,
   18230 # effectively closing config.log, so it can be properly (re)opened and
   18231 # appended to by config.status.  When coming back to configure, we
   18232 # need to make the FD available again.
   18233 if test "$no_create" != yes; then
   18234   ac_cs_success=:
   18235   ac_config_status_args=
   18236   test "$silent" = yes &&
   18237     ac_config_status_args="$ac_config_status_args --quiet"
   18238   exec 5>/dev/null
   18239   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18240   exec 5>>config.log
   18241   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18242   # would make configure fail if this is the last instruction.
   18243   $ac_cs_success || as_fn_exit 1
   18244 fi
   18245 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18246   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18247 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18248 fi
   18249 
   18250 
   18251 # Print out a nice little message after configure is run displaying the
   18252 # chosen options.
   18253 
   18254 ebcdic_nl_code=n/a
   18255 if test "$enable_ebcdic_nl25" = "yes"; then
   18256   ebcdic_nl_code=0x25
   18257 elif test "$enable_ebcdic" = "yes"; then
   18258   ebcdic_nl_code=0x15
   18259 fi
   18260 
   18261 cat <<EOF
   18262 
   18263 $PACKAGE-$VERSION configuration summary:
   18264 
   18265     Install prefix .................. : ${prefix}
   18266     C preprocessor .................. : ${CPP}
   18267     C compiler ...................... : ${CC}
   18268     Linker .......................... : ${LD}
   18269     C preprocessor flags ............ : ${CPPFLAGS}
   18270     C compiler flags ................ : ${CFLAGS} ${VISIBILITY_CFLAGS}
   18271     Linker flags .................... : ${LDFLAGS}
   18272     Extra libraries ................. : ${LIBS}
   18273 
   18274     Build 8-bit pcre2 library ....... : ${enable_pcre2_8}
   18275     Build 16-bit pcre2 library ...... : ${enable_pcre2_16}
   18276     Build 32-bit pcre2 library ...... : ${enable_pcre2_32}
   18277     Include debugging code .......... : ${enable_debug}
   18278     Enable JIT compiling support .... : ${enable_jit}
   18279     Enable Unicode support .......... : ${enable_unicode}
   18280     Newline char/sequence ........... : ${enable_newline}
   18281     \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
   18282     \C is disabled .................. : ${enable_never_backslash_C}
   18283     EBCDIC coding ................... : ${enable_ebcdic}
   18284     EBCDIC code for NL .............. : ${ebcdic_nl_code}
   18285     Rebuild char tables ............. : ${enable_rebuild_chartables}
   18286     Use stack recursion ............. : ${enable_stack_for_recursion}
   18287     Internal link size .............. : ${with_link_size}
   18288     Nested parentheses limit ........ : ${with_parens_nest_limit}
   18289     Match limit ..................... : ${with_match_limit}
   18290     Match limit recursion ........... : ${with_match_limit_recursion}
   18291     Build shared libs ............... : ${enable_shared}
   18292     Build static libs ............... : ${enable_static}
   18293     Use JIT in pcre2grep ............ : ${enable_pcre2grep_jit}
   18294     Enable callouts in pcre2grep .... : ${enable_pcre2grep_callout}
   18295     Buffer size for pcre2grep ....... : ${with_pcre2grep_bufsize}
   18296     Link pcre2grep with libz ........ : ${enable_pcre2grep_libz}
   18297     Link pcre2grep with libbz2 ...... : ${enable_pcre2grep_libbz2}
   18298     Link pcre2test with libedit ..... : ${enable_pcre2test_libedit}
   18299     Link pcre2test with libreadline . : ${enable_pcre2test_libreadline}
   18300     Valgrind support ................ : ${enable_valgrind}
   18301     Code coverage ................... : ${enable_coverage}
   18302 
   18303 EOF
   18304 
   18305