Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for isl 0.26.
      4 #
      5 # Report bugs to <isl-development (at] googlegroups.com>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: isl-development (at] googlegroups.com about your system,
    280 $0: including any error possibly output before this
    281 $0: message. Then install a modern shell, or manually run
    282 $0: the script under such a shell if you do have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 
    307 # as_fn_set_status STATUS
    308 # -----------------------
    309 # Set $? to STATUS, without forking.
    310 as_fn_set_status ()
    311 {
    312   return $1
    313 } # as_fn_set_status
    314 
    315 # as_fn_exit STATUS
    316 # -----------------
    317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    318 as_fn_exit ()
    319 {
    320   set +e
    321   as_fn_set_status $1
    322   exit $1
    323 } # as_fn_exit
    324 # as_fn_nop
    325 # ---------
    326 # Do nothing but, unlike ":", preserve the value of $?.
    327 as_fn_nop ()
    328 {
    329   return $?
    330 }
    331 as_nop=as_fn_nop
    332 
    333 # as_fn_mkdir_p
    334 # -------------
    335 # Create "$as_dir" as a directory, including parents if necessary.
    336 as_fn_mkdir_p ()
    337 {
    338 
    339   case $as_dir in #(
    340   -*) as_dir=./$as_dir;;
    341   esac
    342   test -d "$as_dir" || eval $as_mkdir_p || {
    343     as_dirs=
    344     while :; do
    345       case $as_dir in #(
    346       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    347       *) as_qdir=$as_dir;;
    348       esac
    349       as_dirs="'$as_qdir' $as_dirs"
    350       as_dir=`$as_dirname -- "$as_dir" ||
    351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    352 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    353 	 X"$as_dir" : 'X\(//\)$' \| \
    354 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    355 printf "%s\n" X"$as_dir" |
    356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    357 	    s//\1/
    358 	    q
    359 	  }
    360 	  /^X\(\/\/\)[^/].*/{
    361 	    s//\1/
    362 	    q
    363 	  }
    364 	  /^X\(\/\/\)$/{
    365 	    s//\1/
    366 	    q
    367 	  }
    368 	  /^X\(\/\).*/{
    369 	    s//\1/
    370 	    q
    371 	  }
    372 	  s/.*/./; q'`
    373       test -d "$as_dir" && break
    374     done
    375     test -z "$as_dirs" || eval "mkdir $as_dirs"
    376   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    377 
    378 
    379 } # as_fn_mkdir_p
    380 
    381 # as_fn_executable_p FILE
    382 # -----------------------
    383 # Test if FILE is an executable regular file.
    384 as_fn_executable_p ()
    385 {
    386   test -f "$1" && test -x "$1"
    387 } # as_fn_executable_p
    388 # as_fn_append VAR VALUE
    389 # ----------------------
    390 # Append the text in VALUE to the end of the definition contained in VAR. Take
    391 # advantage of any shell optimizations that allow amortized linear growth over
    392 # repeated appends, instead of the typical quadratic growth present in naive
    393 # implementations.
    394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    395 then :
    396   eval 'as_fn_append ()
    397   {
    398     eval $1+=\$2
    399   }'
    400 else $as_nop
    401   as_fn_append ()
    402   {
    403     eval $1=\$$1\$2
    404   }
    405 fi # as_fn_append
    406 
    407 # as_fn_arith ARG...
    408 # ------------------
    409 # Perform arithmetic evaluation on the ARGs, and store the result in the
    410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    411 # must be portable across $(()) and expr.
    412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    413 then :
    414   eval 'as_fn_arith ()
    415   {
    416     as_val=$(( $* ))
    417   }'
    418 else $as_nop
    419   as_fn_arith ()
    420   {
    421     as_val=`expr "$@" || test $? -eq 1`
    422   }
    423 fi # as_fn_arith
    424 
    425 # as_fn_nop
    426 # ---------
    427 # Do nothing but, unlike ":", preserve the value of $?.
    428 as_fn_nop ()
    429 {
    430   return $?
    431 }
    432 as_nop=as_fn_nop
    433 
    434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    435 # ----------------------------------------
    436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    438 # script with STATUS, using 1 if that was 0.
    439 as_fn_error ()
    440 {
    441   as_status=$1; test $as_status -eq 0 && as_status=1
    442   if test "$4"; then
    443     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    444     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    445   fi
    446   printf "%s\n" "$as_me: error: $2" >&2
    447   as_fn_exit $as_status
    448 } # as_fn_error
    449 
    450 if expr a : '\(a\)' >/dev/null 2>&1 &&
    451    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    452   as_expr=expr
    453 else
    454   as_expr=false
    455 fi
    456 
    457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    458   as_basename=basename
    459 else
    460   as_basename=false
    461 fi
    462 
    463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    464   as_dirname=dirname
    465 else
    466   as_dirname=false
    467 fi
    468 
    469 as_me=`$as_basename -- "$0" ||
    470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    471 	 X"$0" : 'X\(//\)$' \| \
    472 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    473 printf "%s\n" X/"$0" |
    474     sed '/^.*\/\([^/][^/]*\)\/*$/{
    475 	    s//\1/
    476 	    q
    477 	  }
    478 	  /^X\/\(\/\/\)$/{
    479 	    s//\1/
    480 	    q
    481 	  }
    482 	  /^X\/\(\/\).*/{
    483 	    s//\1/
    484 	    q
    485 	  }
    486 	  s/.*/./; q'`
    487 
    488 # Avoid depending upon Character Ranges.
    489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    492 as_cr_digits='0123456789'
    493 as_cr_alnum=$as_cr_Letters$as_cr_digits
    494 
    495 
    496   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    497   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    498   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    499   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    500   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    501   sed -n '
    502     p
    503     /[$]LINENO/=
    504   ' <$as_myself |
    505     sed '
    506       s/[$]LINENO.*/&-/
    507       t lineno
    508       b
    509       :lineno
    510       N
    511       :loop
    512       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    513       t loop
    514       s/-\n.*//
    515     ' >$as_me.lineno &&
    516   chmod +x "$as_me.lineno" ||
    517     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    518 
    519   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    520   # already done that, so ensure we don't try to do so again and fall
    521   # in an infinite loop.  This has already happened in practice.
    522   _as_can_reexec=no; export _as_can_reexec
    523   # Don't try to exec as it changes $[0], causing all sort of problems
    524   # (the dirname of $[0] is not the place where we might find the
    525   # original and so on.  Autoconf is especially sensitive to this).
    526   . "./$as_me.lineno"
    527   # Exit status is that of the last command.
    528   exit
    529 }
    530 
    531 
    532 # Determine whether it's possible to make 'echo' print without a newline.
    533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    534 # for compatibility with existing Makefiles.
    535 ECHO_C= ECHO_N= ECHO_T=
    536 case `echo -n x` in #(((((
    537 -n*)
    538   case `echo 'xy\c'` in
    539   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    540   xy)  ECHO_C='\c';;
    541   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    542        ECHO_T='	';;
    543   esac;;
    544 *)
    545   ECHO_N='-n';;
    546 esac
    547 
    548 # For backward compatibility with old third-party macros, we provide
    549 # the shell variables $as_echo and $as_echo_n.  New code should use
    550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    551 as_echo='printf %s\n'
    552 as_echo_n='printf %s'
    553 
    554 
    555 rm -f conf$$ conf$$.exe conf$$.file
    556 if test -d conf$$.dir; then
    557   rm -f conf$$.dir/conf$$.file
    558 else
    559   rm -f conf$$.dir
    560   mkdir conf$$.dir 2>/dev/null
    561 fi
    562 if (echo >conf$$.file) 2>/dev/null; then
    563   if ln -s conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s='ln -s'
    565     # ... but there are two gotchas:
    566     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    567     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    568     # In both cases, we have to default to `cp -pR'.
    569     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    570       as_ln_s='cp -pR'
    571   elif ln conf$$.file conf$$ 2>/dev/null; then
    572     as_ln_s=ln
    573   else
    574     as_ln_s='cp -pR'
    575   fi
    576 else
    577   as_ln_s='cp -pR'
    578 fi
    579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    580 rmdir conf$$.dir 2>/dev/null
    581 
    582 if mkdir -p . 2>/dev/null; then
    583   as_mkdir_p='mkdir -p "$as_dir"'
    584 else
    585   test -d ./-p && rmdir ./-p
    586   as_mkdir_p=false
    587 fi
    588 
    589 as_test_x='test -x'
    590 as_executable_p=as_fn_executable_p
    591 
    592 # Sed expression to map a string onto a valid CPP name.
    593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    594 
    595 # Sed expression to map a string onto a valid variable name.
    596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    597 
    598 SHELL=${CONFIG_SHELL-/bin/sh}
    599 
    600 
    601 test -n "$DJDIR" || exec 7<&0 </dev/null
    602 exec 6>&1
    603 
    604 # Name of the host.
    605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    606 # so uname gets run too.
    607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    608 
    609 #
    610 # Initializations.
    611 #
    612 ac_default_prefix=/usr/local
    613 ac_clean_files=
    614 ac_config_libobj_dir=.
    615 LIBOBJS=
    616 cross_compiling=no
    617 subdirs=
    618 MFLAGS=
    619 MAKEFLAGS=
    620 
    621 # Identity of this package.
    622 PACKAGE_NAME='isl'
    623 PACKAGE_TARNAME='isl'
    624 PACKAGE_VERSION='0.26'
    625 PACKAGE_STRING='isl 0.26'
    626 PACKAGE_BUGREPORT='isl-development (at] googlegroups.com'
    627 PACKAGE_URL=''
    628 
    629 # Factoring default headers for most tests.
    630 ac_includes_default="\
    631 #include <stddef.h>
    632 #ifdef HAVE_STDIO_H
    633 # include <stdio.h>
    634 #endif
    635 #ifdef HAVE_STDLIB_H
    636 # include <stdlib.h>
    637 #endif
    638 #ifdef HAVE_STRING_H
    639 # include <string.h>
    640 #endif
    641 #ifdef HAVE_INTTYPES_H
    642 # include <inttypes.h>
    643 #endif
    644 #ifdef HAVE_STDINT_H
    645 # include <stdint.h>
    646 #endif
    647 #ifdef HAVE_STRINGS_H
    648 # include <strings.h>
    649 #endif
    650 #ifdef HAVE_SYS_TYPES_H
    651 # include <sys/types.h>
    652 #endif
    653 #ifdef HAVE_SYS_STAT_H
    654 # include <sys/stat.h>
    655 #endif
    656 #ifdef HAVE_UNISTD_H
    657 # include <unistd.h>
    658 #endif"
    659 
    660 ac_header_c_list=
    661 enable_option_checking=no
    662 ac_subst_vars='am__EXEEXT_FALSE
    663 am__EXEEXT_TRUE
    664 LTLIBOBJS
    665 LIBOBJS
    666 subdirs
    667 GIT_HEAD_VERSION
    668 GIT_HEAD
    669 GIT_HEAD_ID
    670 pkgconfig_libfile
    671 pkgconfig_libdir
    672 WARNING_FLAGS
    673 HAVE_CPP_ISL_H_FALSE
    674 HAVE_CPP_ISL_H_TRUE
    675 HAVE_CLANG_FALSE
    676 HAVE_CLANG_TRUE
    677 SMALL_INT_OPT_FALSE
    678 SMALL_INT_OPT_TRUE
    679 HAVE_CXX17_FALSE
    680 HAVE_CXX17_TRUE
    681 HAVE_CXX11_FALSE
    682 HAVE_CXX11_TRUE
    683 GMP_FOR_MP_FALSE
    684 GMP_FOR_MP_TRUE
    685 IMATH_FOR_MP_FALSE
    686 IMATH_FOR_MP_TRUE
    687 NEED_GET_MEMORY_FUNCTIONS_FALSE
    688 NEED_GET_MEMORY_FUNCTIONS_TRUE
    689 MP_LIBS
    690 MP_LDFLAGS
    691 MP_CFLAGS
    692 MP_CPPFLAGS
    693 GENERATE_DOC_FALSE
    694 GENERATE_DOC_TRUE
    695 OS_SRCDIR
    696 POD2HTML
    697 PDFLATEX
    698 PERL
    699 CYGPATH
    700 HAVE_PYTHON_FALSE
    701 HAVE_PYTHON_TRUE
    702 pkgpyexecdir
    703 pyexecdir
    704 pkgpythondir
    705 pythondir
    706 PYTHON_EXEC_PREFIX
    707 PYTHON_PREFIX
    708 PYTHON_PLATFORM
    709 PYTHON_VERSION
    710 PYTHON
    711 CXXCPP
    712 LT_SYS_LIBRARY_PATH
    713 OTOOL64
    714 OTOOL
    715 LIPO
    716 NMEDIT
    717 DSYMUTIL
    718 MANIFEST_TOOL
    719 RANLIB
    720 ac_ct_AR
    721 AR
    722 DLLTOOL
    723 OBJDUMP
    724 LN_S
    725 NM
    726 ac_ct_DUMPBIN
    727 DUMPBIN
    728 LD
    729 FGREP
    730 EGREP
    731 LIBTOOL
    732 HAVE_CXX17
    733 HAVE_CXX11
    734 GREP
    735 PRTDIAG
    736 SED
    737 host_os
    738 host_vendor
    739 host_cpu
    740 host
    741 LDFLAGS_FOR_BUILD
    742 CPPFLAGS_FOR_BUILD
    743 CFLAGS_FOR_BUILD
    744 CCDEPMODE_FOR_BUILD
    745 BUILD_OBJEXT
    746 BUILD_EXEEXT
    747 CPP_FOR_BUILD
    748 ac_ct_CC_FOR_BUILD
    749 CC_FOR_BUILD
    750 build_os
    751 build_vendor
    752 build_cpu
    753 build
    754 CPP
    755 am__fastdepCXX_FALSE
    756 am__fastdepCXX_TRUE
    757 CXXDEPMODE
    758 ac_ct_CXX
    759 CXXFLAGS
    760 CXX
    761 am__fastdepCC_FALSE
    762 am__fastdepCC_TRUE
    763 CCDEPMODE
    764 am__nodep
    765 AMDEPBACKSLASH
    766 AMDEP_FALSE
    767 AMDEP_TRUE
    768 am__include
    769 DEPDIR
    770 OBJEXT
    771 EXEEXT
    772 ac_ct_CC
    773 CPPFLAGS
    774 LDFLAGS
    775 CFLAGS
    776 CC
    777 versioninfo
    778 AM_BACKSLASH
    779 AM_DEFAULT_VERBOSITY
    780 AM_DEFAULT_V
    781 AM_V
    782 CSCOPE
    783 ETAGS
    784 CTAGS
    785 am__untar
    786 am__tar
    787 AMTAR
    788 am__leading_dot
    789 SET_MAKE
    790 AWK
    791 mkdir_p
    792 MKDIR_P
    793 INSTALL_STRIP_PROGRAM
    794 STRIP
    795 install_sh
    796 MAKEINFO
    797 AUTOHEADER
    798 AUTOMAKE
    799 AUTOCONF
    800 ACLOCAL
    801 VERSION
    802 PACKAGE
    803 CYGPATH_W
    804 am__isrc
    805 INSTALL_DATA
    806 INSTALL_SCRIPT
    807 INSTALL_PROGRAM
    808 target_alias
    809 host_alias
    810 build_alias
    811 LIBS
    812 ECHO_T
    813 ECHO_N
    814 ECHO_C
    815 DEFS
    816 mandir
    817 localedir
    818 libdir
    819 psdir
    820 pdfdir
    821 dvidir
    822 htmldir
    823 infodir
    824 docdir
    825 oldincludedir
    826 includedir
    827 runstatedir
    828 localstatedir
    829 sharedstatedir
    830 sysconfdir
    831 datadir
    832 datarootdir
    833 libexecdir
    834 sbindir
    835 bindir
    836 program_transform_name
    837 prefix
    838 exec_prefix
    839 PACKAGE_URL
    840 PACKAGE_BUGREPORT
    841 PACKAGE_STRING
    842 PACKAGE_VERSION
    843 PACKAGE_TARNAME
    844 PACKAGE_NAME
    845 PATH_SEPARATOR
    846 SHELL
    847 am__quote'
    848 ac_subst_files=''
    849 ac_user_opts='
    850 enable_option_checking
    851 enable_silent_rules
    852 enable_dependency_tracking
    853 enable_portable_binary
    854 with_gcc_arch
    855 enable_shared
    856 enable_static
    857 with_pic
    858 enable_fast_install
    859 with_aix_soname
    860 with_gnu_ld
    861 with_sysroot
    862 enable_libtool_lock
    863 with_python_sys_prefix
    864 with_python_prefix
    865 with_python_exec_prefix
    866 with_int
    867 with_gmp
    868 with_gmp_prefix
    869 with_gmp_exec_prefix
    870 with_gmp_builddir
    871 with_clang
    872 with_clang_prefix
    873 with_clang_exec_prefix
    874 '
    875       ac_precious_vars='build_alias
    876 host_alias
    877 target_alias
    878 CC
    879 CFLAGS
    880 LDFLAGS
    881 LIBS
    882 CPPFLAGS
    883 CXX
    884 CXXFLAGS
    885 CCC
    886 CPP
    887 LT_SYS_LIBRARY_PATH
    888 CXXCPP
    889 PYTHON'
    890 ac_subdirs_all='interface'
    891 
    892 # Initialize some variables set by options.
    893 ac_init_help=
    894 ac_init_version=false
    895 ac_unrecognized_opts=
    896 ac_unrecognized_sep=
    897 # The variables have the same names as the options, with
    898 # dashes changed to underlines.
    899 cache_file=/dev/null
    900 exec_prefix=NONE
    901 no_create=
    902 no_recursion=
    903 prefix=NONE
    904 program_prefix=NONE
    905 program_suffix=NONE
    906 program_transform_name=s,x,x,
    907 silent=
    908 site=
    909 srcdir=
    910 verbose=
    911 x_includes=NONE
    912 x_libraries=NONE
    913 
    914 # Installation directory options.
    915 # These are left unexpanded so users can "make install exec_prefix=/foo"
    916 # and all the variables that are supposed to be based on exec_prefix
    917 # by default will actually change.
    918 # Use braces instead of parens because sh, perl, etc. also accept them.
    919 # (The list follows the same order as the GNU Coding Standards.)
    920 bindir='${exec_prefix}/bin'
    921 sbindir='${exec_prefix}/sbin'
    922 libexecdir='${exec_prefix}/libexec'
    923 datarootdir='${prefix}/share'
    924 datadir='${datarootdir}'
    925 sysconfdir='${prefix}/etc'
    926 sharedstatedir='${prefix}/com'
    927 localstatedir='${prefix}/var'
    928 runstatedir='${localstatedir}/run'
    929 includedir='${prefix}/include'
    930 oldincludedir='/usr/include'
    931 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    932 infodir='${datarootdir}/info'
    933 htmldir='${docdir}'
    934 dvidir='${docdir}'
    935 pdfdir='${docdir}'
    936 psdir='${docdir}'
    937 libdir='${exec_prefix}/lib'
    938 localedir='${datarootdir}/locale'
    939 mandir='${datarootdir}/man'
    940 
    941 ac_prev=
    942 ac_dashdash=
    943 for ac_option
    944 do
    945   # If the previous option needs an argument, assign it.
    946   if test -n "$ac_prev"; then
    947     eval $ac_prev=\$ac_option
    948     ac_prev=
    949     continue
    950   fi
    951 
    952   case $ac_option in
    953   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    954   *=)   ac_optarg= ;;
    955   *)    ac_optarg=yes ;;
    956   esac
    957 
    958   case $ac_dashdash$ac_option in
    959   --)
    960     ac_dashdash=yes ;;
    961 
    962   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    963     ac_prev=bindir ;;
    964   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    965     bindir=$ac_optarg ;;
    966 
    967   -build | --build | --buil | --bui | --bu)
    968     ac_prev=build_alias ;;
    969   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    970     build_alias=$ac_optarg ;;
    971 
    972   -cache-file | --cache-file | --cache-fil | --cache-fi \
    973   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    974     ac_prev=cache_file ;;
    975   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    976   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    977     cache_file=$ac_optarg ;;
    978 
    979   --config-cache | -C)
    980     cache_file=config.cache ;;
    981 
    982   -datadir | --datadir | --datadi | --datad)
    983     ac_prev=datadir ;;
    984   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    985     datadir=$ac_optarg ;;
    986 
    987   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    988   | --dataroo | --dataro | --datar)
    989     ac_prev=datarootdir ;;
    990   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    991   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    992     datarootdir=$ac_optarg ;;
    993 
    994   -disable-* | --disable-*)
    995     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    996     # Reject names that are not valid shell variable names.
    997     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    998       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    999     ac_useropt_orig=$ac_useropt
   1000     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1001     case $ac_user_opts in
   1002       *"
   1003 "enable_$ac_useropt"
   1004 "*) ;;
   1005       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1006 	 ac_unrecognized_sep=', ';;
   1007     esac
   1008     eval enable_$ac_useropt=no ;;
   1009 
   1010   -docdir | --docdir | --docdi | --doc | --do)
   1011     ac_prev=docdir ;;
   1012   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1013     docdir=$ac_optarg ;;
   1014 
   1015   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1016     ac_prev=dvidir ;;
   1017   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1018     dvidir=$ac_optarg ;;
   1019 
   1020   -enable-* | --enable-*)
   1021     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1022     # Reject names that are not valid shell variable names.
   1023     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1024       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1025     ac_useropt_orig=$ac_useropt
   1026     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1027     case $ac_user_opts in
   1028       *"
   1029 "enable_$ac_useropt"
   1030 "*) ;;
   1031       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1032 	 ac_unrecognized_sep=', ';;
   1033     esac
   1034     eval enable_$ac_useropt=\$ac_optarg ;;
   1035 
   1036   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1037   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1038   | --exec | --exe | --ex)
   1039     ac_prev=exec_prefix ;;
   1040   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1041   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1042   | --exec=* | --exe=* | --ex=*)
   1043     exec_prefix=$ac_optarg ;;
   1044 
   1045   -gas | --gas | --ga | --g)
   1046     # Obsolete; use --with-gas.
   1047     with_gas=yes ;;
   1048 
   1049   -help | --help | --hel | --he | -h)
   1050     ac_init_help=long ;;
   1051   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1052     ac_init_help=recursive ;;
   1053   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1054     ac_init_help=short ;;
   1055 
   1056   -host | --host | --hos | --ho)
   1057     ac_prev=host_alias ;;
   1058   -host=* | --host=* | --hos=* | --ho=*)
   1059     host_alias=$ac_optarg ;;
   1060 
   1061   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1062     ac_prev=htmldir ;;
   1063   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1064   | --ht=*)
   1065     htmldir=$ac_optarg ;;
   1066 
   1067   -includedir | --includedir | --includedi | --included | --include \
   1068   | --includ | --inclu | --incl | --inc)
   1069     ac_prev=includedir ;;
   1070   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1071   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1072     includedir=$ac_optarg ;;
   1073 
   1074   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1075     ac_prev=infodir ;;
   1076   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1077     infodir=$ac_optarg ;;
   1078 
   1079   -libdir | --libdir | --libdi | --libd)
   1080     ac_prev=libdir ;;
   1081   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1082     libdir=$ac_optarg ;;
   1083 
   1084   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1085   | --libexe | --libex | --libe)
   1086     ac_prev=libexecdir ;;
   1087   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1088   | --libexe=* | --libex=* | --libe=*)
   1089     libexecdir=$ac_optarg ;;
   1090 
   1091   -localedir | --localedir | --localedi | --localed | --locale)
   1092     ac_prev=localedir ;;
   1093   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1094     localedir=$ac_optarg ;;
   1095 
   1096   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1097   | --localstate | --localstat | --localsta | --localst | --locals)
   1098     ac_prev=localstatedir ;;
   1099   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1100   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1101     localstatedir=$ac_optarg ;;
   1102 
   1103   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1104     ac_prev=mandir ;;
   1105   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1106     mandir=$ac_optarg ;;
   1107 
   1108   -nfp | --nfp | --nf)
   1109     # Obsolete; use --without-fp.
   1110     with_fp=no ;;
   1111 
   1112   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1113   | --no-cr | --no-c | -n)
   1114     no_create=yes ;;
   1115 
   1116   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1117   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1118     no_recursion=yes ;;
   1119 
   1120   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1121   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1122   | --oldin | --oldi | --old | --ol | --o)
   1123     ac_prev=oldincludedir ;;
   1124   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1125   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1126   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1127     oldincludedir=$ac_optarg ;;
   1128 
   1129   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1130     ac_prev=prefix ;;
   1131   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1132     prefix=$ac_optarg ;;
   1133 
   1134   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1135   | --program-pre | --program-pr | --program-p)
   1136     ac_prev=program_prefix ;;
   1137   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1138   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1139     program_prefix=$ac_optarg ;;
   1140 
   1141   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1142   | --program-suf | --program-su | --program-s)
   1143     ac_prev=program_suffix ;;
   1144   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1145   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1146     program_suffix=$ac_optarg ;;
   1147 
   1148   -program-transform-name | --program-transform-name \
   1149   | --program-transform-nam | --program-transform-na \
   1150   | --program-transform-n | --program-transform- \
   1151   | --program-transform | --program-transfor \
   1152   | --program-transfo | --program-transf \
   1153   | --program-trans | --program-tran \
   1154   | --progr-tra | --program-tr | --program-t)
   1155     ac_prev=program_transform_name ;;
   1156   -program-transform-name=* | --program-transform-name=* \
   1157   | --program-transform-nam=* | --program-transform-na=* \
   1158   | --program-transform-n=* | --program-transform-=* \
   1159   | --program-transform=* | --program-transfor=* \
   1160   | --program-transfo=* | --program-transf=* \
   1161   | --program-trans=* | --program-tran=* \
   1162   | --progr-tra=* | --program-tr=* | --program-t=*)
   1163     program_transform_name=$ac_optarg ;;
   1164 
   1165   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1166     ac_prev=pdfdir ;;
   1167   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1168     pdfdir=$ac_optarg ;;
   1169 
   1170   -psdir | --psdir | --psdi | --psd | --ps)
   1171     ac_prev=psdir ;;
   1172   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1173     psdir=$ac_optarg ;;
   1174 
   1175   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1176   | -silent | --silent | --silen | --sile | --sil)
   1177     silent=yes ;;
   1178 
   1179   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1180   | --runstate | --runstat | --runsta | --runst | --runs \
   1181   | --run | --ru | --r)
   1182     ac_prev=runstatedir ;;
   1183   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1184   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1185   | --run=* | --ru=* | --r=*)
   1186     runstatedir=$ac_optarg ;;
   1187 
   1188   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1189     ac_prev=sbindir ;;
   1190   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1191   | --sbi=* | --sb=*)
   1192     sbindir=$ac_optarg ;;
   1193 
   1194   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1195   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1196   | --sharedst | --shareds | --shared | --share | --shar \
   1197   | --sha | --sh)
   1198     ac_prev=sharedstatedir ;;
   1199   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1200   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1201   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1202   | --sha=* | --sh=*)
   1203     sharedstatedir=$ac_optarg ;;
   1204 
   1205   -site | --site | --sit)
   1206     ac_prev=site ;;
   1207   -site=* | --site=* | --sit=*)
   1208     site=$ac_optarg ;;
   1209 
   1210   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1211     ac_prev=srcdir ;;
   1212   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1213     srcdir=$ac_optarg ;;
   1214 
   1215   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1216   | --syscon | --sysco | --sysc | --sys | --sy)
   1217     ac_prev=sysconfdir ;;
   1218   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1219   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1220     sysconfdir=$ac_optarg ;;
   1221 
   1222   -target | --target | --targe | --targ | --tar | --ta | --t)
   1223     ac_prev=target_alias ;;
   1224   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1225     target_alias=$ac_optarg ;;
   1226 
   1227   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1228     verbose=yes ;;
   1229 
   1230   -version | --version | --versio | --versi | --vers | -V)
   1231     ac_init_version=: ;;
   1232 
   1233   -with-* | --with-*)
   1234     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1235     # Reject names that are not valid shell variable names.
   1236     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1237       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1238     ac_useropt_orig=$ac_useropt
   1239     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1240     case $ac_user_opts in
   1241       *"
   1242 "with_$ac_useropt"
   1243 "*) ;;
   1244       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1245 	 ac_unrecognized_sep=', ';;
   1246     esac
   1247     eval with_$ac_useropt=\$ac_optarg ;;
   1248 
   1249   -without-* | --without-*)
   1250     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1251     # Reject names that are not valid shell variable names.
   1252     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1253       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1254     ac_useropt_orig=$ac_useropt
   1255     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1256     case $ac_user_opts in
   1257       *"
   1258 "with_$ac_useropt"
   1259 "*) ;;
   1260       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1261 	 ac_unrecognized_sep=', ';;
   1262     esac
   1263     eval with_$ac_useropt=no ;;
   1264 
   1265   --x)
   1266     # Obsolete; use --with-x.
   1267     with_x=yes ;;
   1268 
   1269   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1270   | --x-incl | --x-inc | --x-in | --x-i)
   1271     ac_prev=x_includes ;;
   1272   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1273   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1274     x_includes=$ac_optarg ;;
   1275 
   1276   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1277   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1278     ac_prev=x_libraries ;;
   1279   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1280   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1281     x_libraries=$ac_optarg ;;
   1282 
   1283   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1284 Try \`$0 --help' for more information"
   1285     ;;
   1286 
   1287   *=*)
   1288     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1289     # Reject names that are not valid shell variable names.
   1290     case $ac_envvar in #(
   1291       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1292       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1293     esac
   1294     eval $ac_envvar=\$ac_optarg
   1295     export $ac_envvar ;;
   1296 
   1297   *)
   1298     # FIXME: should be removed in autoconf 3.0.
   1299     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1300     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1301       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1302     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1303     ;;
   1304 
   1305   esac
   1306 done
   1307 
   1308 if test -n "$ac_prev"; then
   1309   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1310   as_fn_error $? "missing argument to $ac_option"
   1311 fi
   1312 
   1313 if test -n "$ac_unrecognized_opts"; then
   1314   case $enable_option_checking in
   1315     no) ;;
   1316     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1317     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1318   esac
   1319 fi
   1320 
   1321 # Check all directory arguments for consistency.
   1322 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1323 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1324 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1325 		libdir localedir mandir runstatedir
   1326 do
   1327   eval ac_val=\$$ac_var
   1328   # Remove trailing slashes.
   1329   case $ac_val in
   1330     */ )
   1331       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1332       eval $ac_var=\$ac_val;;
   1333   esac
   1334   # Be sure to have absolute directory names.
   1335   case $ac_val in
   1336     [\\/$]* | ?:[\\/]* )  continue;;
   1337     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1338   esac
   1339   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1340 done
   1341 
   1342 # There might be people who depend on the old broken behavior: `$host'
   1343 # used to hold the argument of --host etc.
   1344 # FIXME: To remove some day.
   1345 build=$build_alias
   1346 host=$host_alias
   1347 target=$target_alias
   1348 
   1349 # FIXME: To remove some day.
   1350 if test "x$host_alias" != x; then
   1351   if test "x$build_alias" = x; then
   1352     cross_compiling=maybe
   1353   elif test "x$build_alias" != "x$host_alias"; then
   1354     cross_compiling=yes
   1355   fi
   1356 fi
   1357 
   1358 ac_tool_prefix=
   1359 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1360 
   1361 test "$silent" = yes && exec 6>/dev/null
   1362 
   1363 
   1364 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1365 ac_ls_di=`ls -di .` &&
   1366 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1367   as_fn_error $? "working directory cannot be determined"
   1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1369   as_fn_error $? "pwd does not report name of working directory"
   1370 
   1371 
   1372 # Find the source files, if location was not specified.
   1373 if test -z "$srcdir"; then
   1374   ac_srcdir_defaulted=yes
   1375   # Try the directory containing this script, then the parent directory.
   1376   ac_confdir=`$as_dirname -- "$as_myself" ||
   1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1378 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1379 	 X"$as_myself" : 'X\(//\)$' \| \
   1380 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1381 printf "%s\n" X"$as_myself" |
   1382     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1383 	    s//\1/
   1384 	    q
   1385 	  }
   1386 	  /^X\(\/\/\)[^/].*/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  /^X\(\/\/\)$/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\).*/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  s/.*/./; q'`
   1399   srcdir=$ac_confdir
   1400   if test ! -r "$srcdir/$ac_unique_file"; then
   1401     srcdir=..
   1402   fi
   1403 else
   1404   ac_srcdir_defaulted=no
   1405 fi
   1406 if test ! -r "$srcdir/$ac_unique_file"; then
   1407   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1408   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1409 fi
   1410 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1411 ac_abs_confdir=`(
   1412 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1413 	pwd)`
   1414 # When building in place, set srcdir=.
   1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1416   srcdir=.
   1417 fi
   1418 # Remove unnecessary trailing slashes from srcdir.
   1419 # Double slashes in file names in object file debugging info
   1420 # mess up M-x gdb in Emacs.
   1421 case $srcdir in
   1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1423 esac
   1424 for ac_var in $ac_precious_vars; do
   1425   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1426   eval ac_env_${ac_var}_value=\$${ac_var}
   1427   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1428   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1429 done
   1430 
   1431 #
   1432 # Report the --help message.
   1433 #
   1434 if test "$ac_init_help" = "long"; then
   1435   # Omit some internal or obsolete options to make the list less imposing.
   1436   # This message is too long to be a string in the A/UX 3.1 sh.
   1437   cat <<_ACEOF
   1438 \`configure' configures isl 0.26 to adapt to many kinds of systems.
   1439 
   1440 Usage: $0 [OPTION]... [VAR=VALUE]...
   1441 
   1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1443 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1444 
   1445 Defaults for the options are specified in brackets.
   1446 
   1447 Configuration:
   1448   -h, --help              display this help and exit
   1449       --help=short        display options specific to this package
   1450       --help=recursive    display the short help of all the included packages
   1451   -V, --version           display version information and exit
   1452   -q, --quiet, --silent   do not print \`checking ...' messages
   1453       --cache-file=FILE   cache test results in FILE [disabled]
   1454   -C, --config-cache      alias for \`--cache-file=config.cache'
   1455   -n, --no-create         do not create output files
   1456       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1457 
   1458 Installation directories:
   1459   --prefix=PREFIX         install architecture-independent files in PREFIX
   1460                           [$ac_default_prefix]
   1461   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1462                           [PREFIX]
   1463 
   1464 By default, \`make install' will install all the files in
   1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1467 for instance \`--prefix=\$HOME'.
   1468 
   1469 For better control, use the options below.
   1470 
   1471 Fine tuning of the installation directories:
   1472   --bindir=DIR            user executables [EPREFIX/bin]
   1473   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1474   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1475   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1476   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1477   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1478   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1479   --libdir=DIR            object code libraries [EPREFIX/lib]
   1480   --includedir=DIR        C header files [PREFIX/include]
   1481   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1482   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1483   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1484   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1485   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1486   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1487   --docdir=DIR            documentation root [DATAROOTDIR/doc/isl]
   1488   --htmldir=DIR           html documentation [DOCDIR]
   1489   --dvidir=DIR            dvi documentation [DOCDIR]
   1490   --pdfdir=DIR            pdf documentation [DOCDIR]
   1491   --psdir=DIR             ps documentation [DOCDIR]
   1492 _ACEOF
   1493 
   1494   cat <<\_ACEOF
   1495 
   1496 Program names:
   1497   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1498   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1499   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1500 
   1501 System types:
   1502   --build=BUILD     configure for building on BUILD [guessed]
   1503   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1504 _ACEOF
   1505 fi
   1506 
   1507 if test -n "$ac_init_help"; then
   1508   case $ac_init_help in
   1509      short | recursive ) echo "Configuration of isl 0.26:";;
   1510    esac
   1511   cat <<\_ACEOF
   1512 
   1513 Optional Features:
   1514   --disable-option-checking  ignore unrecognized --enable/--with options
   1515   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1516   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1517   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1518   --disable-silent-rules  verbose build output (undo: "make V=0")
   1519   --enable-dependency-tracking
   1520                           do not reject slow dependency extractors
   1521   --disable-dependency-tracking
   1522                           speeds up one-time build
   1523   --enable-portable-binary
   1524                           disable compiler optimizations that would produce
   1525                           unportable binaries
   1526   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1527   --enable-static[=PKGS]  build static libraries [default=yes]
   1528   --enable-fast-install[=PKGS]
   1529                           optimize for fast installation [default=yes]
   1530   --disable-libtool-lock  avoid locking (might break parallel builds)
   1531 
   1532 Optional Packages:
   1533   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1534   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1535   --with-gcc-arch=<arch>  use architecture <arch> for gcc -march/-mtune,
   1536                           instead of guessing
   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-python-sys-prefix
   1546                           use Python's sys.prefix and sys.exec_prefix values
   1547   --with-python_prefix    override the default PYTHON_PREFIX
   1548   --with-python_exec_prefix
   1549                           override the default PYTHON_EXEC_PREFIX
   1550   --with-int=gmp|imath|imath-32
   1551                           Which package to use to represent multi-precision
   1552                           integers [default=gmp]
   1553   --with-gmp=system|build Which gmp to use [default=system]
   1554   --with-gmp-prefix=DIR   Prefix of gmp installation
   1555   --with-gmp-exec-prefix=DIR
   1556                           Exec prefix of gmp installation
   1557   --with-gmp-builddir=DIR Location of gmp builddir
   1558   --with-clang=system|no  Which clang to use [default=no]
   1559   --with-clang-prefix=DIR Prefix of clang installation
   1560   --with-clang-exec-prefix=DIR
   1561                           Exec prefix of clang installation
   1562 
   1563 Some influential environment variables:
   1564   CC          C compiler command
   1565   CFLAGS      C compiler flags
   1566   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1567               nonstandard directory <lib dir>
   1568   LIBS        libraries to pass to the linker, e.g. -l<library>
   1569   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1570               you have headers in a nonstandard directory <include dir>
   1571   CXX         C++ compiler command
   1572   CXXFLAGS    C++ compiler flags
   1573   CPP         C preprocessor
   1574   LT_SYS_LIBRARY_PATH
   1575               User-defined run-time library search path.
   1576   CXXCPP      C++ preprocessor
   1577   PYTHON      the Python interpreter
   1578 
   1579 Use these variables to override the choices made by `configure' or to help
   1580 it to find libraries and programs with nonstandard names/locations.
   1581 
   1582 Report bugs to <isl-development@googlegroups.com>.
   1583 _ACEOF
   1584 ac_status=$?
   1585 fi
   1586 
   1587 if test "$ac_init_help" = "recursive"; then
   1588   # If there are subdirs, report their specific --help.
   1589   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1590     test -d "$ac_dir" ||
   1591       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1592       continue
   1593     ac_builddir=.
   1594 
   1595 case "$ac_dir" in
   1596 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1597 *)
   1598   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1599   # A ".." for each directory in $ac_dir_suffix.
   1600   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1601   case $ac_top_builddir_sub in
   1602   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1603   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1604   esac ;;
   1605 esac
   1606 ac_abs_top_builddir=$ac_pwd
   1607 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1608 # for backward compatibility:
   1609 ac_top_builddir=$ac_top_build_prefix
   1610 
   1611 case $srcdir in
   1612   .)  # We are building in place.
   1613     ac_srcdir=.
   1614     ac_top_srcdir=$ac_top_builddir_sub
   1615     ac_abs_top_srcdir=$ac_pwd ;;
   1616   [\\/]* | ?:[\\/]* )  # Absolute name.
   1617     ac_srcdir=$srcdir$ac_dir_suffix;
   1618     ac_top_srcdir=$srcdir
   1619     ac_abs_top_srcdir=$srcdir ;;
   1620   *) # Relative name.
   1621     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1622     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1623     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1624 esac
   1625 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1626 
   1627     cd "$ac_dir" || { ac_status=$?; continue; }
   1628     # Check for configure.gnu first; this name is used for a wrapper for
   1629     # Metaconfig's "Configure" on case-insensitive file systems.
   1630     if test -f "$ac_srcdir/configure.gnu"; then
   1631       echo &&
   1632       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1633     elif test -f "$ac_srcdir/configure"; then
   1634       echo &&
   1635       $SHELL "$ac_srcdir/configure" --help=recursive
   1636     else
   1637       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1638     fi || ac_status=$?
   1639     cd "$ac_pwd" || { ac_status=$?; break; }
   1640   done
   1641 fi
   1642 
   1643 test -n "$ac_init_help" && exit $ac_status
   1644 if $ac_init_version; then
   1645   cat <<\_ACEOF
   1646 isl configure 0.26
   1647 generated by GNU Autoconf 2.71
   1648 
   1649 Copyright (C) 2021 Free Software Foundation, Inc.
   1650 This configure script is free software; the Free Software Foundation
   1651 gives unlimited permission to copy, distribute and modify it.
   1652 _ACEOF
   1653   exit
   1654 fi
   1655 
   1656 ## ------------------------ ##
   1657 ## Autoconf initialization. ##
   1658 ## ------------------------ ##
   1659 
   1660 # ac_fn_c_try_compile LINENO
   1661 # --------------------------
   1662 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1663 ac_fn_c_try_compile ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   rm -f conftest.$ac_objext conftest.beam
   1667   if { { ac_try="$ac_compile"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 printf "%s\n" "$ac_try_echo"; } >&5
   1674   (eval "$ac_compile") 2>conftest.err
   1675   ac_status=$?
   1676   if test -s conftest.err; then
   1677     grep -v '^ *+' conftest.err >conftest.er1
   1678     cat conftest.er1 >&5
   1679     mv -f conftest.er1 conftest.err
   1680   fi
   1681   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1682   test $ac_status = 0; } && {
   1683 	 test -z "$ac_c_werror_flag" ||
   1684 	 test ! -s conftest.err
   1685        } && test -s conftest.$ac_objext
   1686 then :
   1687   ac_retval=0
   1688 else $as_nop
   1689   printf "%s\n" "$as_me: failed program was:" >&5
   1690 sed 's/^/| /' conftest.$ac_ext >&5
   1691 
   1692 	ac_retval=1
   1693 fi
   1694   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1695   as_fn_set_status $ac_retval
   1696 
   1697 } # ac_fn_c_try_compile
   1698 
   1699 # ac_fn_cxx_try_compile LINENO
   1700 # ----------------------------
   1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1702 ac_fn_cxx_try_compile ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   rm -f conftest.$ac_objext conftest.beam
   1706   if { { ac_try="$ac_compile"
   1707 case "(($ac_try" in
   1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1709   *) ac_try_echo=$ac_try;;
   1710 esac
   1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1712 printf "%s\n" "$ac_try_echo"; } >&5
   1713   (eval "$ac_compile") 2>conftest.err
   1714   ac_status=$?
   1715   if test -s conftest.err; then
   1716     grep -v '^ *+' conftest.err >conftest.er1
   1717     cat conftest.er1 >&5
   1718     mv -f conftest.er1 conftest.err
   1719   fi
   1720   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1721   test $ac_status = 0; } && {
   1722 	 test -z "$ac_cxx_werror_flag" ||
   1723 	 test ! -s conftest.err
   1724        } && test -s conftest.$ac_objext
   1725 then :
   1726   ac_retval=0
   1727 else $as_nop
   1728   printf "%s\n" "$as_me: failed program was:" >&5
   1729 sed 's/^/| /' conftest.$ac_ext >&5
   1730 
   1731 	ac_retval=1
   1732 fi
   1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1734   as_fn_set_status $ac_retval
   1735 
   1736 } # ac_fn_cxx_try_compile
   1737 
   1738 # ac_fn_c_try_cpp LINENO
   1739 # ----------------------
   1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1741 ac_fn_c_try_cpp ()
   1742 {
   1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1744   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1745 case "(($ac_try" in
   1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1747   *) ac_try_echo=$ac_try;;
   1748 esac
   1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1750 printf "%s\n" "$ac_try_echo"; } >&5
   1751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1752   ac_status=$?
   1753   if test -s conftest.err; then
   1754     grep -v '^ *+' conftest.err >conftest.er1
   1755     cat conftest.er1 >&5
   1756     mv -f conftest.er1 conftest.err
   1757   fi
   1758   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1759   test $ac_status = 0; } > conftest.i && {
   1760 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1761 	 test ! -s conftest.err
   1762        }
   1763 then :
   1764   ac_retval=0
   1765 else $as_nop
   1766   printf "%s\n" "$as_me: failed program was:" >&5
   1767 sed 's/^/| /' conftest.$ac_ext >&5
   1768 
   1769     ac_retval=1
   1770 fi
   1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1772   as_fn_set_status $ac_retval
   1773 
   1774 } # ac_fn_c_try_cpp
   1775 
   1776 # ac_fn_c_try_run LINENO
   1777 # ----------------------
   1778 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1779 # executables *can* be run.
   1780 ac_fn_c_try_run ()
   1781 {
   1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1783   if { { ac_try="$ac_link"
   1784 case "(($ac_try" in
   1785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1786   *) ac_try_echo=$ac_try;;
   1787 esac
   1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1789 printf "%s\n" "$ac_try_echo"; } >&5
   1790   (eval "$ac_link") 2>&5
   1791   ac_status=$?
   1792   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1793   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1794   { { case "(($ac_try" in
   1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1796   *) ac_try_echo=$ac_try;;
   1797 esac
   1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1799 printf "%s\n" "$ac_try_echo"; } >&5
   1800   (eval "$ac_try") 2>&5
   1801   ac_status=$?
   1802   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1803   test $ac_status = 0; }; }
   1804 then :
   1805   ac_retval=0
   1806 else $as_nop
   1807   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1808        printf "%s\n" "$as_me: failed program was:" >&5
   1809 sed 's/^/| /' conftest.$ac_ext >&5
   1810 
   1811        ac_retval=$ac_status
   1812 fi
   1813   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1815   as_fn_set_status $ac_retval
   1816 
   1817 } # ac_fn_c_try_run
   1818 
   1819 # ac_fn_c_try_link LINENO
   1820 # -----------------------
   1821 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1822 ac_fn_c_try_link ()
   1823 {
   1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1825   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1826   if { { ac_try="$ac_link"
   1827 case "(($ac_try" in
   1828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1829   *) ac_try_echo=$ac_try;;
   1830 esac
   1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1832 printf "%s\n" "$ac_try_echo"; } >&5
   1833   (eval "$ac_link") 2>conftest.err
   1834   ac_status=$?
   1835   if test -s conftest.err; then
   1836     grep -v '^ *+' conftest.err >conftest.er1
   1837     cat conftest.er1 >&5
   1838     mv -f conftest.er1 conftest.err
   1839   fi
   1840   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1841   test $ac_status = 0; } && {
   1842 	 test -z "$ac_c_werror_flag" ||
   1843 	 test ! -s conftest.err
   1844        } && test -s conftest$ac_exeext && {
   1845 	 test "$cross_compiling" = yes ||
   1846 	 test -x conftest$ac_exeext
   1847        }
   1848 then :
   1849   ac_retval=0
   1850 else $as_nop
   1851   printf "%s\n" "$as_me: failed program was:" >&5
   1852 sed 's/^/| /' conftest.$ac_ext >&5
   1853 
   1854 	ac_retval=1
   1855 fi
   1856   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1857   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1858   # interfere with the next link command; also delete a directory that is
   1859   # left behind by Apple's compiler.  We do this before executing the actions.
   1860   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862   as_fn_set_status $ac_retval
   1863 
   1864 } # ac_fn_c_try_link
   1865 
   1866 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1867 # -------------------------------------------------------
   1868 # Tests whether HEADER exists and can be compiled using the include files in
   1869 # INCLUDES, setting the cache variable VAR accordingly.
   1870 ac_fn_c_check_header_compile ()
   1871 {
   1872   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1874 printf %s "checking for $2... " >&6; }
   1875 if eval test \${$3+y}
   1876 then :
   1877   printf %s "(cached) " >&6
   1878 else $as_nop
   1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1880 /* end confdefs.h.  */
   1881 $4
   1882 #include <$2>
   1883 _ACEOF
   1884 if ac_fn_c_try_compile "$LINENO"
   1885 then :
   1886   eval "$3=yes"
   1887 else $as_nop
   1888   eval "$3=no"
   1889 fi
   1890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1891 fi
   1892 eval ac_res=\$$3
   1893 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1894 printf "%s\n" "$ac_res" >&6; }
   1895   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1896 
   1897 } # ac_fn_c_check_header_compile
   1898 
   1899 # ac_fn_c_check_func LINENO FUNC VAR
   1900 # ----------------------------------
   1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1902 ac_fn_c_check_func ()
   1903 {
   1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1906 printf %s "checking for $2... " >&6; }
   1907 if eval test \${$3+y}
   1908 then :
   1909   printf %s "(cached) " >&6
   1910 else $as_nop
   1911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1912 /* end confdefs.h.  */
   1913 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1915 #define $2 innocuous_$2
   1916 
   1917 /* System header to define __stub macros and hopefully few prototypes,
   1918    which can conflict with char $2 (); below.  */
   1919 
   1920 #include <limits.h>
   1921 #undef $2
   1922 
   1923 /* Override any GCC internal prototype to avoid an error.
   1924    Use char because int might match the return type of a GCC
   1925    builtin and then its argument prototype would still apply.  */
   1926 #ifdef __cplusplus
   1927 extern "C"
   1928 #endif
   1929 char $2 ();
   1930 /* The GNU C library defines this for functions which it implements
   1931     to always fail with ENOSYS.  Some functions are actually named
   1932     something starting with __ and the normal name is an alias.  */
   1933 #if defined __stub_$2 || defined __stub___$2
   1934 choke me
   1935 #endif
   1936 
   1937 int
   1938 main (void)
   1939 {
   1940 return $2 ();
   1941   ;
   1942   return 0;
   1943 }
   1944 _ACEOF
   1945 if ac_fn_c_try_link "$LINENO"
   1946 then :
   1947   eval "$3=yes"
   1948 else $as_nop
   1949   eval "$3=no"
   1950 fi
   1951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1952     conftest$ac_exeext conftest.$ac_ext
   1953 fi
   1954 eval ac_res=\$$3
   1955 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1956 printf "%s\n" "$ac_res" >&6; }
   1957   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1958 
   1959 } # ac_fn_c_check_func
   1960 
   1961 # ac_fn_cxx_try_cpp LINENO
   1962 # ------------------------
   1963 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1964 ac_fn_cxx_try_cpp ()
   1965 {
   1966   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1967   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1968 case "(($ac_try" in
   1969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1970   *) ac_try_echo=$ac_try;;
   1971 esac
   1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1973 printf "%s\n" "$ac_try_echo"; } >&5
   1974   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1975   ac_status=$?
   1976   if test -s conftest.err; then
   1977     grep -v '^ *+' conftest.err >conftest.er1
   1978     cat conftest.er1 >&5
   1979     mv -f conftest.er1 conftest.err
   1980   fi
   1981   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1982   test $ac_status = 0; } > conftest.i && {
   1983 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1984 	 test ! -s conftest.err
   1985        }
   1986 then :
   1987   ac_retval=0
   1988 else $as_nop
   1989   printf "%s\n" "$as_me: failed program was:" >&5
   1990 sed 's/^/| /' conftest.$ac_ext >&5
   1991 
   1992     ac_retval=1
   1993 fi
   1994   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1995   as_fn_set_status $ac_retval
   1996 
   1997 } # ac_fn_cxx_try_cpp
   1998 
   1999 # ac_fn_cxx_try_link LINENO
   2000 # -------------------------
   2001 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2002 ac_fn_cxx_try_link ()
   2003 {
   2004   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2005   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   2006   if { { ac_try="$ac_link"
   2007 case "(($ac_try" in
   2008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2009   *) ac_try_echo=$ac_try;;
   2010 esac
   2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2012 printf "%s\n" "$ac_try_echo"; } >&5
   2013   (eval "$ac_link") 2>conftest.err
   2014   ac_status=$?
   2015   if test -s conftest.err; then
   2016     grep -v '^ *+' conftest.err >conftest.er1
   2017     cat conftest.er1 >&5
   2018     mv -f conftest.er1 conftest.err
   2019   fi
   2020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2021   test $ac_status = 0; } && {
   2022 	 test -z "$ac_cxx_werror_flag" ||
   2023 	 test ! -s conftest.err
   2024        } && test -s conftest$ac_exeext && {
   2025 	 test "$cross_compiling" = yes ||
   2026 	 test -x conftest$ac_exeext
   2027        }
   2028 then :
   2029   ac_retval=0
   2030 else $as_nop
   2031   printf "%s\n" "$as_me: failed program was:" >&5
   2032 sed 's/^/| /' conftest.$ac_ext >&5
   2033 
   2034 	ac_retval=1
   2035 fi
   2036   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2037   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2038   # interfere with the next link command; also delete a directory that is
   2039   # left behind by Apple's compiler.  We do this before executing the actions.
   2040   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2041   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2042   as_fn_set_status $ac_retval
   2043 
   2044 } # ac_fn_cxx_try_link
   2045 
   2046 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2047 # -------------------------------------------
   2048 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2049 # variable VAR accordingly.
   2050 ac_fn_c_check_type ()
   2051 {
   2052   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2054 printf %s "checking for $2... " >&6; }
   2055 if eval test \${$3+y}
   2056 then :
   2057   printf %s "(cached) " >&6
   2058 else $as_nop
   2059   eval "$3=no"
   2060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2061 /* end confdefs.h.  */
   2062 $4
   2063 int
   2064 main (void)
   2065 {
   2066 if (sizeof ($2))
   2067 	 return 0;
   2068   ;
   2069   return 0;
   2070 }
   2071 _ACEOF
   2072 if ac_fn_c_try_compile "$LINENO"
   2073 then :
   2074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2075 /* end confdefs.h.  */
   2076 $4
   2077 int
   2078 main (void)
   2079 {
   2080 if (sizeof (($2)))
   2081 	    return 0;
   2082   ;
   2083   return 0;
   2084 }
   2085 _ACEOF
   2086 if ac_fn_c_try_compile "$LINENO"
   2087 then :
   2088 
   2089 else $as_nop
   2090   eval "$3=yes"
   2091 fi
   2092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2093 fi
   2094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2095 fi
   2096 eval ac_res=\$$3
   2097 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2098 printf "%s\n" "$ac_res" >&6; }
   2099   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2100 
   2101 } # ac_fn_c_check_type
   2102 
   2103 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2104 # --------------------------------------------
   2105 # Tries to find the compile-time value of EXPR in a program that includes
   2106 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2107 # computed
   2108 ac_fn_c_compute_int ()
   2109 {
   2110   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2111   if test "$cross_compiling" = yes; then
   2112     # Depending upon the size, compute the lo and hi bounds.
   2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2114 /* end confdefs.h.  */
   2115 $4
   2116 int
   2117 main (void)
   2118 {
   2119 static int test_array [1 - 2 * !(($2) >= 0)];
   2120 test_array [0] = 0;
   2121 return test_array [0];
   2122 
   2123   ;
   2124   return 0;
   2125 }
   2126 _ACEOF
   2127 if ac_fn_c_try_compile "$LINENO"
   2128 then :
   2129   ac_lo=0 ac_mid=0
   2130   while :; do
   2131     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2132 /* end confdefs.h.  */
   2133 $4
   2134 int
   2135 main (void)
   2136 {
   2137 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2138 test_array [0] = 0;
   2139 return test_array [0];
   2140 
   2141   ;
   2142   return 0;
   2143 }
   2144 _ACEOF
   2145 if ac_fn_c_try_compile "$LINENO"
   2146 then :
   2147   ac_hi=$ac_mid; break
   2148 else $as_nop
   2149   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2150 			if test $ac_lo -le $ac_mid; then
   2151 			  ac_lo= ac_hi=
   2152 			  break
   2153 			fi
   2154 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2155 fi
   2156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2157   done
   2158 else $as_nop
   2159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2160 /* end confdefs.h.  */
   2161 $4
   2162 int
   2163 main (void)
   2164 {
   2165 static int test_array [1 - 2 * !(($2) < 0)];
   2166 test_array [0] = 0;
   2167 return test_array [0];
   2168 
   2169   ;
   2170   return 0;
   2171 }
   2172 _ACEOF
   2173 if ac_fn_c_try_compile "$LINENO"
   2174 then :
   2175   ac_hi=-1 ac_mid=-1
   2176   while :; do
   2177     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2178 /* end confdefs.h.  */
   2179 $4
   2180 int
   2181 main (void)
   2182 {
   2183 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2184 test_array [0] = 0;
   2185 return test_array [0];
   2186 
   2187   ;
   2188   return 0;
   2189 }
   2190 _ACEOF
   2191 if ac_fn_c_try_compile "$LINENO"
   2192 then :
   2193   ac_lo=$ac_mid; break
   2194 else $as_nop
   2195   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2196 			if test $ac_mid -le $ac_hi; then
   2197 			  ac_lo= ac_hi=
   2198 			  break
   2199 			fi
   2200 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2201 fi
   2202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2203   done
   2204 else $as_nop
   2205   ac_lo= ac_hi=
   2206 fi
   2207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2208 fi
   2209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2210 # Binary search between lo and hi bounds.
   2211 while test "x$ac_lo" != "x$ac_hi"; do
   2212   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2214 /* end confdefs.h.  */
   2215 $4
   2216 int
   2217 main (void)
   2218 {
   2219 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2220 test_array [0] = 0;
   2221 return test_array [0];
   2222 
   2223   ;
   2224   return 0;
   2225 }
   2226 _ACEOF
   2227 if ac_fn_c_try_compile "$LINENO"
   2228 then :
   2229   ac_hi=$ac_mid
   2230 else $as_nop
   2231   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2232 fi
   2233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2234 done
   2235 case $ac_lo in #((
   2236 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2237 '') ac_retval=1 ;;
   2238 esac
   2239   else
   2240     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2241 /* end confdefs.h.  */
   2242 $4
   2243 static long int longval (void) { return $2; }
   2244 static unsigned long int ulongval (void) { return $2; }
   2245 #include <stdio.h>
   2246 #include <stdlib.h>
   2247 int
   2248 main (void)
   2249 {
   2250 
   2251   FILE *f = fopen ("conftest.val", "w");
   2252   if (! f)
   2253     return 1;
   2254   if (($2) < 0)
   2255     {
   2256       long int i = longval ();
   2257       if (i != ($2))
   2258 	return 1;
   2259       fprintf (f, "%ld", i);
   2260     }
   2261   else
   2262     {
   2263       unsigned long int i = ulongval ();
   2264       if (i != ($2))
   2265 	return 1;
   2266       fprintf (f, "%lu", i);
   2267     }
   2268   /* Do not output a trailing newline, as this causes \r\n confusion
   2269      on some platforms.  */
   2270   return ferror (f) || fclose (f) != 0;
   2271 
   2272   ;
   2273   return 0;
   2274 }
   2275 _ACEOF
   2276 if ac_fn_c_try_run "$LINENO"
   2277 then :
   2278   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2279 else $as_nop
   2280   ac_retval=1
   2281 fi
   2282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2283   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2284 rm -f conftest.val
   2285 
   2286   fi
   2287   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2288   as_fn_set_status $ac_retval
   2289 
   2290 } # ac_fn_c_compute_int
   2291 
   2292 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2293 # ------------------------------------------------------------------
   2294 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2295 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2296 ac_fn_check_decl ()
   2297 {
   2298   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2299   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2301 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2302 if eval test \${$3+y}
   2303 then :
   2304   printf %s "(cached) " >&6
   2305 else $as_nop
   2306   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2307   eval ac_save_FLAGS=\$$6
   2308   as_fn_append $6 " $5"
   2309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2310 /* end confdefs.h.  */
   2311 $4
   2312 int
   2313 main (void)
   2314 {
   2315 #ifndef $as_decl_name
   2316 #ifdef __cplusplus
   2317   (void) $as_decl_use;
   2318 #else
   2319   (void) $as_decl_name;
   2320 #endif
   2321 #endif
   2322 
   2323   ;
   2324   return 0;
   2325 }
   2326 _ACEOF
   2327 if ac_fn_c_try_compile "$LINENO"
   2328 then :
   2329   eval "$3=yes"
   2330 else $as_nop
   2331   eval "$3=no"
   2332 fi
   2333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2334   eval $6=\$ac_save_FLAGS
   2335 
   2336 fi
   2337 eval ac_res=\$$3
   2338 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2339 printf "%s\n" "$ac_res" >&6; }
   2340   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2341 
   2342 } # ac_fn_check_decl
   2343 ac_configure_args_raw=
   2344 for ac_arg
   2345 do
   2346   case $ac_arg in
   2347   *\'*)
   2348     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2349   esac
   2350   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2351 done
   2352 
   2353 case $ac_configure_args_raw in
   2354   *$as_nl*)
   2355     ac_safe_unquote= ;;
   2356   *)
   2357     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2358     ac_unsafe_a="$ac_unsafe_z#~"
   2359     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2360     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2361 esac
   2362 
   2363 cat >config.log <<_ACEOF
   2364 This file contains any messages produced by compilers while
   2365 running configure, to aid debugging if configure makes a mistake.
   2366 
   2367 It was created by isl $as_me 0.26, which was
   2368 generated by GNU Autoconf 2.71.  Invocation command line was
   2369 
   2370   $ $0$ac_configure_args_raw
   2371 
   2372 _ACEOF
   2373 exec 5>>config.log
   2374 {
   2375 cat <<_ASUNAME
   2376 ## --------- ##
   2377 ## Platform. ##
   2378 ## --------- ##
   2379 
   2380 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2381 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2382 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2383 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2384 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2385 
   2386 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2387 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2388 
   2389 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2390 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2391 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2392 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2393 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2394 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2395 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2396 
   2397 _ASUNAME
   2398 
   2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2400 for as_dir in $PATH
   2401 do
   2402   IFS=$as_save_IFS
   2403   case $as_dir in #(((
   2404     '') as_dir=./ ;;
   2405     */) ;;
   2406     *) as_dir=$as_dir/ ;;
   2407   esac
   2408     printf "%s\n" "PATH: $as_dir"
   2409   done
   2410 IFS=$as_save_IFS
   2411 
   2412 } >&5
   2413 
   2414 cat >&5 <<_ACEOF
   2415 
   2416 
   2417 ## ----------- ##
   2418 ## Core tests. ##
   2419 ## ----------- ##
   2420 
   2421 _ACEOF
   2422 
   2423 
   2424 # Keep a trace of the command line.
   2425 # Strip out --no-create and --no-recursion so they do not pile up.
   2426 # Strip out --silent because we don't want to record it for future runs.
   2427 # Also quote any args containing shell meta-characters.
   2428 # Make two passes to allow for proper duplicate-argument suppression.
   2429 ac_configure_args=
   2430 ac_configure_args0=
   2431 ac_configure_args1=
   2432 ac_must_keep_next=false
   2433 for ac_pass in 1 2
   2434 do
   2435   for ac_arg
   2436   do
   2437     case $ac_arg in
   2438     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2439     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2440     | -silent | --silent | --silen | --sile | --sil)
   2441       continue ;;
   2442     *\'*)
   2443       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2444     esac
   2445     case $ac_pass in
   2446     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2447     2)
   2448       as_fn_append ac_configure_args1 " '$ac_arg'"
   2449       if test $ac_must_keep_next = true; then
   2450 	ac_must_keep_next=false # Got value, back to normal.
   2451       else
   2452 	case $ac_arg in
   2453 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2454 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2455 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2456 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2457 	    case "$ac_configure_args0 " in
   2458 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2459 	    esac
   2460 	    ;;
   2461 	  -* ) ac_must_keep_next=true ;;
   2462 	esac
   2463       fi
   2464       as_fn_append ac_configure_args " '$ac_arg'"
   2465       ;;
   2466     esac
   2467   done
   2468 done
   2469 { ac_configure_args0=; unset ac_configure_args0;}
   2470 { ac_configure_args1=; unset ac_configure_args1;}
   2471 
   2472 # When interrupted or exit'd, cleanup temporary files, and complete
   2473 # config.log.  We remove comments because anyway the quotes in there
   2474 # would cause problems or look ugly.
   2475 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2476 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2477 trap 'exit_status=$?
   2478   # Sanitize IFS.
   2479   IFS=" ""	$as_nl"
   2480   # Save into config.log some information that might help in debugging.
   2481   {
   2482     echo
   2483 
   2484     printf "%s\n" "## ---------------- ##
   2485 ## Cache variables. ##
   2486 ## ---------------- ##"
   2487     echo
   2488     # The following way of writing the cache mishandles newlines in values,
   2489 (
   2490   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2491     eval ac_val=\$$ac_var
   2492     case $ac_val in #(
   2493     *${as_nl}*)
   2494       case $ac_var in #(
   2495       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2496 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2497       esac
   2498       case $ac_var in #(
   2499       _ | IFS | as_nl) ;; #(
   2500       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2501       *) { eval $ac_var=; unset $ac_var;} ;;
   2502       esac ;;
   2503     esac
   2504   done
   2505   (set) 2>&1 |
   2506     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2507     *${as_nl}ac_space=\ *)
   2508       sed -n \
   2509 	"s/'\''/'\''\\\\'\'''\''/g;
   2510 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2511       ;; #(
   2512     *)
   2513       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2514       ;;
   2515     esac |
   2516     sort
   2517 )
   2518     echo
   2519 
   2520     printf "%s\n" "## ----------------- ##
   2521 ## Output variables. ##
   2522 ## ----------------- ##"
   2523     echo
   2524     for ac_var in $ac_subst_vars
   2525     do
   2526       eval ac_val=\$$ac_var
   2527       case $ac_val in
   2528       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2529       esac
   2530       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2531     done | sort
   2532     echo
   2533 
   2534     if test -n "$ac_subst_files"; then
   2535       printf "%s\n" "## ------------------- ##
   2536 ## File substitutions. ##
   2537 ## ------------------- ##"
   2538       echo
   2539       for ac_var in $ac_subst_files
   2540       do
   2541 	eval ac_val=\$$ac_var
   2542 	case $ac_val in
   2543 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2544 	esac
   2545 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2546       done | sort
   2547       echo
   2548     fi
   2549 
   2550     if test -s confdefs.h; then
   2551       printf "%s\n" "## ----------- ##
   2552 ## confdefs.h. ##
   2553 ## ----------- ##"
   2554       echo
   2555       cat confdefs.h
   2556       echo
   2557     fi
   2558     test "$ac_signal" != 0 &&
   2559       printf "%s\n" "$as_me: caught signal $ac_signal"
   2560     printf "%s\n" "$as_me: exit $exit_status"
   2561   } >&5
   2562   rm -f core *.core core.conftest.* &&
   2563     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2564     exit $exit_status
   2565 ' 0
   2566 for ac_signal in 1 2 13 15; do
   2567   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2568 done
   2569 ac_signal=0
   2570 
   2571 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2572 rm -f -r conftest* confdefs.h
   2573 
   2574 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2575 
   2576 # Predefined preprocessor variables.
   2577 
   2578 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2579 
   2580 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2581 
   2582 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2583 
   2584 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2585 
   2586 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2587 
   2588 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2589 
   2590 
   2591 # Let the site file select an alternate cache file if it wants to.
   2592 # Prefer an explicitly selected file to automatically selected ones.
   2593 if test -n "$CONFIG_SITE"; then
   2594   ac_site_files="$CONFIG_SITE"
   2595 elif test "x$prefix" != xNONE; then
   2596   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2597 else
   2598   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2599 fi
   2600 
   2601 for ac_site_file in $ac_site_files
   2602 do
   2603   case $ac_site_file in #(
   2604   */*) :
   2605      ;; #(
   2606   *) :
   2607     ac_site_file=./$ac_site_file ;;
   2608 esac
   2609   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2610     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2611 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2612     sed 's/^/| /' "$ac_site_file" >&5
   2613     . "$ac_site_file" \
   2614       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2615 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2616 as_fn_error $? "failed to load site script $ac_site_file
   2617 See \`config.log' for more details" "$LINENO" 5; }
   2618   fi
   2619 done
   2620 
   2621 if test -r "$cache_file"; then
   2622   # Some versions of bash will fail to source /dev/null (special files
   2623   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2624   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2625     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2626 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2627     case $cache_file in
   2628       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2629       *)                      . "./$cache_file";;
   2630     esac
   2631   fi
   2632 else
   2633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2634 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2635   >$cache_file
   2636 fi
   2637 
   2638 # Test code for whether the C compiler supports C89 (global declarations)
   2639 ac_c_conftest_c89_globals='
   2640 /* Does the compiler advertise C89 conformance?
   2641    Do not test the value of __STDC__, because some compilers set it to 0
   2642    while being otherwise adequately conformant. */
   2643 #if !defined __STDC__
   2644 # error "Compiler does not advertise C89 conformance"
   2645 #endif
   2646 
   2647 #include <stddef.h>
   2648 #include <stdarg.h>
   2649 struct stat;
   2650 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2651 struct buf { int x; };
   2652 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2653 static char *e (p, i)
   2654      char **p;
   2655      int i;
   2656 {
   2657   return p[i];
   2658 }
   2659 static char *f (char * (*g) (char **, int), char **p, ...)
   2660 {
   2661   char *s;
   2662   va_list v;
   2663   va_start (v,p);
   2664   s = g (p, va_arg (v,int));
   2665   va_end (v);
   2666   return s;
   2667 }
   2668 
   2669 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2670    function prototypes and stuff, but not \xHH hex character constants.
   2671    These do not provoke an error unfortunately, instead are silently treated
   2672    as an "x".  The following induces an error, until -std is added to get
   2673    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2674    array size at least.  It is necessary to write \x00 == 0 to get something
   2675    that is true only with -std.  */
   2676 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2677 
   2678 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2679    inside strings and character constants.  */
   2680 #define FOO(x) '\''x'\''
   2681 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2682 
   2683 int test (int i, double x);
   2684 struct s1 {int (*f) (int a);};
   2685 struct s2 {int (*f) (double a);};
   2686 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2687                int, int);'
   2688 
   2689 # Test code for whether the C compiler supports C89 (body of main).
   2690 ac_c_conftest_c89_main='
   2691 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2692 '
   2693 
   2694 # Test code for whether the C compiler supports C99 (global declarations)
   2695 ac_c_conftest_c99_globals='
   2696 // Does the compiler advertise C99 conformance?
   2697 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2698 # error "Compiler does not advertise C99 conformance"
   2699 #endif
   2700 
   2701 #include <stdbool.h>
   2702 extern int puts (const char *);
   2703 extern int printf (const char *, ...);
   2704 extern int dprintf (int, const char *, ...);
   2705 extern void *malloc (size_t);
   2706 
   2707 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2708 // dprintf is used instead of fprintf to avoid needing to declare
   2709 // FILE and stderr.
   2710 #define debug(...) dprintf (2, __VA_ARGS__)
   2711 #define showlist(...) puts (#__VA_ARGS__)
   2712 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2713 static void
   2714 test_varargs_macros (void)
   2715 {
   2716   int x = 1234;
   2717   int y = 5678;
   2718   debug ("Flag");
   2719   debug ("X = %d\n", x);
   2720   showlist (The first, second, and third items.);
   2721   report (x>y, "x is %d but y is %d", x, y);
   2722 }
   2723 
   2724 // Check long long types.
   2725 #define BIG64 18446744073709551615ull
   2726 #define BIG32 4294967295ul
   2727 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2728 #if !BIG_OK
   2729   #error "your preprocessor is broken"
   2730 #endif
   2731 #if BIG_OK
   2732 #else
   2733   #error "your preprocessor is broken"
   2734 #endif
   2735 static long long int bignum = -9223372036854775807LL;
   2736 static unsigned long long int ubignum = BIG64;
   2737 
   2738 struct incomplete_array
   2739 {
   2740   int datasize;
   2741   double data[];
   2742 };
   2743 
   2744 struct named_init {
   2745   int number;
   2746   const wchar_t *name;
   2747   double average;
   2748 };
   2749 
   2750 typedef const char *ccp;
   2751 
   2752 static inline int
   2753 test_restrict (ccp restrict text)
   2754 {
   2755   // See if C++-style comments work.
   2756   // Iterate through items via the restricted pointer.
   2757   // Also check for declarations in for loops.
   2758   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2759     continue;
   2760   return 0;
   2761 }
   2762 
   2763 // Check varargs and va_copy.
   2764 static bool
   2765 test_varargs (const char *format, ...)
   2766 {
   2767   va_list args;
   2768   va_start (args, format);
   2769   va_list args_copy;
   2770   va_copy (args_copy, args);
   2771 
   2772   const char *str = "";
   2773   int number = 0;
   2774   float fnumber = 0;
   2775 
   2776   while (*format)
   2777     {
   2778       switch (*format++)
   2779 	{
   2780 	case '\''s'\'': // string
   2781 	  str = va_arg (args_copy, const char *);
   2782 	  break;
   2783 	case '\''d'\'': // int
   2784 	  number = va_arg (args_copy, int);
   2785 	  break;
   2786 	case '\''f'\'': // float
   2787 	  fnumber = va_arg (args_copy, double);
   2788 	  break;
   2789 	default:
   2790 	  break;
   2791 	}
   2792     }
   2793   va_end (args_copy);
   2794   va_end (args);
   2795 
   2796   return *str && number && fnumber;
   2797 }
   2798 '
   2799 
   2800 # Test code for whether the C compiler supports C99 (body of main).
   2801 ac_c_conftest_c99_main='
   2802   // Check bool.
   2803   _Bool success = false;
   2804   success |= (argc != 0);
   2805 
   2806   // Check restrict.
   2807   if (test_restrict ("String literal") == 0)
   2808     success = true;
   2809   char *restrict newvar = "Another string";
   2810 
   2811   // Check varargs.
   2812   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2813   test_varargs_macros ();
   2814 
   2815   // Check flexible array members.
   2816   struct incomplete_array *ia =
   2817     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2818   ia->datasize = 10;
   2819   for (int i = 0; i < ia->datasize; ++i)
   2820     ia->data[i] = i * 1.234;
   2821 
   2822   // Check named initializers.
   2823   struct named_init ni = {
   2824     .number = 34,
   2825     .name = L"Test wide string",
   2826     .average = 543.34343,
   2827   };
   2828 
   2829   ni.number = 58;
   2830 
   2831   int dynamic_array[ni.number];
   2832   dynamic_array[0] = argv[0][0];
   2833   dynamic_array[ni.number - 1] = 543;
   2834 
   2835   // work around unused variable warnings
   2836   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2837 	 || dynamic_array[ni.number - 1] != 543);
   2838 '
   2839 
   2840 # Test code for whether the C compiler supports C11 (global declarations)
   2841 ac_c_conftest_c11_globals='
   2842 // Does the compiler advertise C11 conformance?
   2843 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2844 # error "Compiler does not advertise C11 conformance"
   2845 #endif
   2846 
   2847 // Check _Alignas.
   2848 char _Alignas (double) aligned_as_double;
   2849 char _Alignas (0) no_special_alignment;
   2850 extern char aligned_as_int;
   2851 char _Alignas (0) _Alignas (int) aligned_as_int;
   2852 
   2853 // Check _Alignof.
   2854 enum
   2855 {
   2856   int_alignment = _Alignof (int),
   2857   int_array_alignment = _Alignof (int[100]),
   2858   char_alignment = _Alignof (char)
   2859 };
   2860 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2861 
   2862 // Check _Noreturn.
   2863 int _Noreturn does_not_return (void) { for (;;) continue; }
   2864 
   2865 // Check _Static_assert.
   2866 struct test_static_assert
   2867 {
   2868   int x;
   2869   _Static_assert (sizeof (int) <= sizeof (long int),
   2870                   "_Static_assert does not work in struct");
   2871   long int y;
   2872 };
   2873 
   2874 // Check UTF-8 literals.
   2875 #define u8 syntax error!
   2876 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2877 
   2878 // Check duplicate typedefs.
   2879 typedef long *long_ptr;
   2880 typedef long int *long_ptr;
   2881 typedef long_ptr long_ptr;
   2882 
   2883 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2884 struct anonymous
   2885 {
   2886   union {
   2887     struct { int i; int j; };
   2888     struct { int k; long int l; } w;
   2889   };
   2890   int m;
   2891 } v1;
   2892 '
   2893 
   2894 # Test code for whether the C compiler supports C11 (body of main).
   2895 ac_c_conftest_c11_main='
   2896   _Static_assert ((offsetof (struct anonymous, i)
   2897 		   == offsetof (struct anonymous, w.k)),
   2898 		  "Anonymous union alignment botch");
   2899   v1.i = 2;
   2900   v1.w.k = 5;
   2901   ok |= v1.i != 5;
   2902 '
   2903 
   2904 # Test code for whether the C compiler supports C11 (complete).
   2905 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2906 ${ac_c_conftest_c99_globals}
   2907 ${ac_c_conftest_c11_globals}
   2908 
   2909 int
   2910 main (int argc, char **argv)
   2911 {
   2912   int ok = 0;
   2913   ${ac_c_conftest_c89_main}
   2914   ${ac_c_conftest_c99_main}
   2915   ${ac_c_conftest_c11_main}
   2916   return ok;
   2917 }
   2918 "
   2919 
   2920 # Test code for whether the C compiler supports C99 (complete).
   2921 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2922 ${ac_c_conftest_c99_globals}
   2923 
   2924 int
   2925 main (int argc, char **argv)
   2926 {
   2927   int ok = 0;
   2928   ${ac_c_conftest_c89_main}
   2929   ${ac_c_conftest_c99_main}
   2930   return ok;
   2931 }
   2932 "
   2933 
   2934 # Test code for whether the C compiler supports C89 (complete).
   2935 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2936 
   2937 int
   2938 main (int argc, char **argv)
   2939 {
   2940   int ok = 0;
   2941   ${ac_c_conftest_c89_main}
   2942   return ok;
   2943 }
   2944 "
   2945 
   2946 # Test code for whether the C++ compiler supports C++98 (global declarations)
   2947 ac_cxx_conftest_cxx98_globals='
   2948 // Does the compiler advertise C++98 conformance?
   2949 #if !defined __cplusplus || __cplusplus < 199711L
   2950 # error "Compiler does not advertise C++98 conformance"
   2951 #endif
   2952 
   2953 // These inclusions are to reject old compilers that
   2954 // lack the unsuffixed header files.
   2955 #include <cstdlib>
   2956 #include <exception>
   2957 
   2958 // <cassert> and <cstring> are *not* freestanding headers in C++98.
   2959 extern void assert (int);
   2960 namespace std {
   2961   extern int strcmp (const char *, const char *);
   2962 }
   2963 
   2964 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
   2965 using std::exception;
   2966 using std::strcmp;
   2967 
   2968 namespace {
   2969 
   2970 void test_exception_syntax()
   2971 {
   2972   try {
   2973     throw "test";
   2974   } catch (const char *s) {
   2975     // Extra parentheses suppress a warning when building autoconf itself,
   2976     // due to lint rules shared with more typical C programs.
   2977     assert (!(strcmp) (s, "test"));
   2978   }
   2979 }
   2980 
   2981 template <typename T> struct test_template
   2982 {
   2983   T const val;
   2984   explicit test_template(T t) : val(t) {}
   2985   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
   2986 };
   2987 
   2988 } // anonymous namespace
   2989 '
   2990 
   2991 # Test code for whether the C++ compiler supports C++98 (body of main)
   2992 ac_cxx_conftest_cxx98_main='
   2993   assert (argc);
   2994   assert (! argv[0]);
   2995 {
   2996   test_exception_syntax ();
   2997   test_template<double> tt (2.0);
   2998   assert (tt.add (4) == 6.0);
   2999   assert (true && !false);
   3000 }
   3001 '
   3002 
   3003 # Test code for whether the C++ compiler supports C++11 (global declarations)
   3004 ac_cxx_conftest_cxx11_globals='
   3005 // Does the compiler advertise C++ 2011 conformance?
   3006 #if !defined __cplusplus || __cplusplus < 201103L
   3007 # error "Compiler does not advertise C++11 conformance"
   3008 #endif
   3009 
   3010 namespace cxx11test
   3011 {
   3012   constexpr int get_val() { return 20; }
   3013 
   3014   struct testinit
   3015   {
   3016     int i;
   3017     double d;
   3018   };
   3019 
   3020   class delegate
   3021   {
   3022   public:
   3023     delegate(int n) : n(n) {}
   3024     delegate(): delegate(2354) {}
   3025 
   3026     virtual int getval() { return this->n; };
   3027   protected:
   3028     int n;
   3029   };
   3030 
   3031   class overridden : public delegate
   3032   {
   3033   public:
   3034     overridden(int n): delegate(n) {}
   3035     virtual int getval() override final { return this->n * 2; }
   3036   };
   3037 
   3038   class nocopy
   3039   {
   3040   public:
   3041     nocopy(int i): i(i) {}
   3042     nocopy() = default;
   3043     nocopy(const nocopy&) = delete;
   3044     nocopy & operator=(const nocopy&) = delete;
   3045   private:
   3046     int i;
   3047   };
   3048 
   3049   // for testing lambda expressions
   3050   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
   3051   {
   3052     return f(v);
   3053   }
   3054 
   3055   // for testing variadic templates and trailing return types
   3056   template <typename V> auto sum(V first) -> V
   3057   {
   3058     return first;
   3059   }
   3060   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
   3061   {
   3062     return first + sum(rest...);
   3063   }
   3064 }
   3065 '
   3066 
   3067 # Test code for whether the C++ compiler supports C++11 (body of main)
   3068 ac_cxx_conftest_cxx11_main='
   3069 {
   3070   // Test auto and decltype
   3071   auto a1 = 6538;
   3072   auto a2 = 48573953.4;
   3073   auto a3 = "String literal";
   3074 
   3075   int total = 0;
   3076   for (auto i = a3; *i; ++i) { total += *i; }
   3077 
   3078   decltype(a2) a4 = 34895.034;
   3079 }
   3080 {
   3081   // Test constexpr
   3082   short sa[cxx11test::get_val()] = { 0 };
   3083 }
   3084 {
   3085   // Test initializer lists
   3086   cxx11test::testinit il = { 4323, 435234.23544 };
   3087 }
   3088 {
   3089   // Test range-based for
   3090   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
   3091                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
   3092   for (auto &x : array) { x += 23; }
   3093 }
   3094 {
   3095   // Test lambda expressions
   3096   using cxx11test::eval;
   3097   assert (eval ([](int x) { return x*2; }, 21) == 42);
   3098   double d = 2.0;
   3099   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
   3100   assert (d == 5.0);
   3101   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
   3102   assert (d == 5.0);
   3103 }
   3104 {
   3105   // Test use of variadic templates
   3106   using cxx11test::sum;
   3107   auto a = sum(1);
   3108   auto b = sum(1, 2);
   3109   auto c = sum(1.0, 2.0, 3.0);
   3110 }
   3111 {
   3112   // Test constructor delegation
   3113   cxx11test::delegate d1;
   3114   cxx11test::delegate d2();
   3115   cxx11test::delegate d3(45);
   3116 }
   3117 {
   3118   // Test override and final
   3119   cxx11test::overridden o1(55464);
   3120 }
   3121 {
   3122   // Test nullptr
   3123   char *c = nullptr;
   3124 }
   3125 {
   3126   // Test template brackets
   3127   test_template<::test_template<int>> v(test_template<int>(12));
   3128 }
   3129 {
   3130   // Unicode literals
   3131   char const *utf8 = u8"UTF-8 string \u2500";
   3132   char16_t const *utf16 = u"UTF-8 string \u2500";
   3133   char32_t const *utf32 = U"UTF-32 string \u2500";
   3134 }
   3135 '
   3136 
   3137 # Test code for whether the C compiler supports C++11 (complete).
   3138 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
   3139 ${ac_cxx_conftest_cxx11_globals}
   3140 
   3141 int
   3142 main (int argc, char **argv)
   3143 {
   3144   int ok = 0;
   3145   ${ac_cxx_conftest_cxx98_main}
   3146   ${ac_cxx_conftest_cxx11_main}
   3147   return ok;
   3148 }
   3149 "
   3150 
   3151 # Test code for whether the C compiler supports C++98 (complete).
   3152 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
   3153 int
   3154 main (int argc, char **argv)
   3155 {
   3156   int ok = 0;
   3157   ${ac_cxx_conftest_cxx98_main}
   3158   return ok;
   3159 }
   3160 "
   3161 
   3162 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   3163 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   3164 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   3165 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   3166 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   3167 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   3168 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   3169 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   3170 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   3171 
   3172 # Auxiliary files required by this configure script.
   3173 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   3174 
   3175 # Locations in which to look for auxiliary files.
   3176 ac_aux_dir_candidates="${srcdir}/."
   3177 
   3178 # Search for a directory containing all of the required auxiliary files,
   3179 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3180 # If we don't find one directory that contains all the files we need,
   3181 # we report the set of missing files from the *first* directory in
   3182 # $ac_aux_dir_candidates and give up.
   3183 ac_missing_aux_files=""
   3184 ac_first_candidate=:
   3185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3187 as_found=false
   3188 for as_dir in $ac_aux_dir_candidates
   3189 do
   3190   IFS=$as_save_IFS
   3191   case $as_dir in #(((
   3192     '') as_dir=./ ;;
   3193     */) ;;
   3194     *) as_dir=$as_dir/ ;;
   3195   esac
   3196   as_found=:
   3197 
   3198   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3199   ac_aux_dir_found=yes
   3200   ac_install_sh=
   3201   for ac_aux in $ac_aux_files
   3202   do
   3203     # As a special case, if "install-sh" is required, that requirement
   3204     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3205     # and $ac_install_sh is set appropriately for whichever one is found.
   3206     if test x"$ac_aux" = x"install-sh"
   3207     then
   3208       if test -f "${as_dir}install-sh"; then
   3209         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3210         ac_install_sh="${as_dir}install-sh -c"
   3211       elif test -f "${as_dir}install.sh"; then
   3212         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3213         ac_install_sh="${as_dir}install.sh -c"
   3214       elif test -f "${as_dir}shtool"; then
   3215         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3216         ac_install_sh="${as_dir}shtool install -c"
   3217       else
   3218         ac_aux_dir_found=no
   3219         if $ac_first_candidate; then
   3220           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3221         else
   3222           break
   3223         fi
   3224       fi
   3225     else
   3226       if test -f "${as_dir}${ac_aux}"; then
   3227         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3228       else
   3229         ac_aux_dir_found=no
   3230         if $ac_first_candidate; then
   3231           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3232         else
   3233           break
   3234         fi
   3235       fi
   3236     fi
   3237   done
   3238   if test "$ac_aux_dir_found" = yes; then
   3239     ac_aux_dir="$as_dir"
   3240     break
   3241   fi
   3242   ac_first_candidate=false
   3243 
   3244   as_found=false
   3245 done
   3246 IFS=$as_save_IFS
   3247 if $as_found
   3248 then :
   3249 
   3250 else $as_nop
   3251   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   3252 fi
   3253 
   3254 
   3255 # These three variables are undocumented and unsupported,
   3256 # and are intended to be withdrawn in a future Autoconf release.
   3257 # They can cause serious problems if a builder's source tree is in a directory
   3258 # whose full name contains unusual characters.
   3259 if test -f "${ac_aux_dir}config.guess"; then
   3260   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3261 fi
   3262 if test -f "${ac_aux_dir}config.sub"; then
   3263   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3264 fi
   3265 if test -f "$ac_aux_dir/configure"; then
   3266   ac_configure="$SHELL ${ac_aux_dir}configure"
   3267 fi
   3268 
   3269 # Check that the precious variables saved in the cache have kept the same
   3270 # value.
   3271 ac_cache_corrupted=false
   3272 for ac_var in $ac_precious_vars; do
   3273   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3274   eval ac_new_set=\$ac_env_${ac_var}_set
   3275   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3276   eval ac_new_val=\$ac_env_${ac_var}_value
   3277   case $ac_old_set,$ac_new_set in
   3278     set,)
   3279       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3280 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3281       ac_cache_corrupted=: ;;
   3282     ,set)
   3283       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3284 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3285       ac_cache_corrupted=: ;;
   3286     ,);;
   3287     *)
   3288       if test "x$ac_old_val" != "x$ac_new_val"; then
   3289 	# differences in whitespace do not lead to failure.
   3290 	ac_old_val_w=`echo x $ac_old_val`
   3291 	ac_new_val_w=`echo x $ac_new_val`
   3292 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3293 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3294 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3295 	  ac_cache_corrupted=:
   3296 	else
   3297 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3298 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3299 	  eval $ac_var=\$ac_old_val
   3300 	fi
   3301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3302 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3304 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   3305       fi;;
   3306   esac
   3307   # Pass precious variables to config.status.
   3308   if test "$ac_new_set" = set; then
   3309     case $ac_new_val in
   3310     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3311     *) ac_arg=$ac_var=$ac_new_val ;;
   3312     esac
   3313     case " $ac_configure_args " in
   3314       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3315       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3316     esac
   3317   fi
   3318 done
   3319 if $ac_cache_corrupted; then
   3320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3321 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3323 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3324   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   3325 	    and start over" "$LINENO" 5
   3326 fi
   3327 ## -------------------- ##
   3328 ## Main body of script. ##
   3329 ## -------------------- ##
   3330 
   3331 ac_ext=c
   3332 ac_cpp='$CPP $CPPFLAGS'
   3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3336 
   3337 
   3338 
   3339 
   3340 am__api_version='1.16'
   3341 
   3342 
   3343 
   3344   # Find a good install program.  We prefer a C program (faster),
   3345 # so one script is as good as another.  But avoid the broken or
   3346 # incompatible versions:
   3347 # SysV /etc/install, /usr/sbin/install
   3348 # SunOS /usr/etc/install
   3349 # IRIX /sbin/install
   3350 # AIX /bin/install
   3351 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3352 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3355 # OS/2's system install, which has a completely different semantic
   3356 # ./install, which can be erroneously created by make from ./install.sh.
   3357 # Reject install programs that cannot install multiple files.
   3358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3359 printf %s "checking for a BSD-compatible install... " >&6; }
   3360 if test -z "$INSTALL"; then
   3361 if test ${ac_cv_path_install+y}
   3362 then :
   3363   printf %s "(cached) " >&6
   3364 else $as_nop
   3365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3366 for as_dir in $PATH
   3367 do
   3368   IFS=$as_save_IFS
   3369   case $as_dir in #(((
   3370     '') as_dir=./ ;;
   3371     */) ;;
   3372     *) as_dir=$as_dir/ ;;
   3373   esac
   3374     # Account for fact that we put trailing slashes in our PATH walk.
   3375 case $as_dir in #((
   3376   ./ | /[cC]/* | \
   3377   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3378   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3379   /usr/ucb/* ) ;;
   3380   *)
   3381     # OSF1 and SCO ODT 3.0 have their own names for install.
   3382     # Don't use installbsd from OSF since it installs stuff as root
   3383     # by default.
   3384     for ac_prog in ginstall scoinst install; do
   3385       for ac_exec_ext in '' $ac_executable_extensions; do
   3386 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3387 	  if test $ac_prog = install &&
   3388 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3389 	    # AIX install.  It has an incompatible calling convention.
   3390 	    :
   3391 	  elif test $ac_prog = install &&
   3392 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3393 	    # program-specific install script used by HP pwplus--don't use.
   3394 	    :
   3395 	  else
   3396 	    rm -rf conftest.one conftest.two conftest.dir
   3397 	    echo one > conftest.one
   3398 	    echo two > conftest.two
   3399 	    mkdir conftest.dir
   3400 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3401 	      test -s conftest.one && test -s conftest.two &&
   3402 	      test -s conftest.dir/conftest.one &&
   3403 	      test -s conftest.dir/conftest.two
   3404 	    then
   3405 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3406 	      break 3
   3407 	    fi
   3408 	  fi
   3409 	fi
   3410       done
   3411     done
   3412     ;;
   3413 esac
   3414 
   3415   done
   3416 IFS=$as_save_IFS
   3417 
   3418 rm -rf conftest.one conftest.two conftest.dir
   3419 
   3420 fi
   3421   if test ${ac_cv_path_install+y}; then
   3422     INSTALL=$ac_cv_path_install
   3423   else
   3424     # As a last resort, use the slow shell script.  Don't cache a
   3425     # value for INSTALL within a source directory, because that will
   3426     # break other packages using the cache if that directory is
   3427     # removed, or if the value is a relative name.
   3428     INSTALL=$ac_install_sh
   3429   fi
   3430 fi
   3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3432 printf "%s\n" "$INSTALL" >&6; }
   3433 
   3434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3435 # It thinks the first close brace ends the variable substitution.
   3436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3437 
   3438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3439 
   3440 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3441 
   3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3443 printf %s "checking whether build environment is sane... " >&6; }
   3444 # Reject unsafe characters in $srcdir or the absolute working directory
   3445 # name.  Accept space and tab only in the latter.
   3446 am_lf='
   3447 '
   3448 case `pwd` in
   3449   *[\\\"\#\$\&\'\`$am_lf]*)
   3450     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3451 esac
   3452 case $srcdir in
   3453   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3454     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3455 esac
   3456 
   3457 # Do 'set' in a subshell so we don't clobber the current shell's
   3458 # arguments.  Must try -L first in case configure is actually a
   3459 # symlink; some systems play weird games with the mod time of symlinks
   3460 # (eg FreeBSD returns the mod time of the symlink's containing
   3461 # directory).
   3462 if (
   3463    am_has_slept=no
   3464    for am_try in 1 2; do
   3465      echo "timestamp, slept: $am_has_slept" > conftest.file
   3466      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3467      if test "$*" = "X"; then
   3468 	# -L didn't work.
   3469 	set X `ls -t "$srcdir/configure" conftest.file`
   3470      fi
   3471      if test "$*" != "X $srcdir/configure conftest.file" \
   3472 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3473 
   3474 	# If neither matched, then we have a broken ls.  This can happen
   3475 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3476 	# broken ls alias from the environment.  This has actually
   3477 	# happened.  Such a system could not be considered "sane".
   3478 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3479   alias in your environment" "$LINENO" 5
   3480      fi
   3481      if test "$2" = conftest.file || test $am_try -eq 2; then
   3482        break
   3483      fi
   3484      # Just in case.
   3485      sleep 1
   3486      am_has_slept=yes
   3487    done
   3488    test "$2" = conftest.file
   3489    )
   3490 then
   3491    # Ok.
   3492    :
   3493 else
   3494    as_fn_error $? "newly created file is older than distributed files!
   3495 Check your system clock" "$LINENO" 5
   3496 fi
   3497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3498 printf "%s\n" "yes" >&6; }
   3499 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3500 # generated files are strictly newer.
   3501 am_sleep_pid=
   3502 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3503   ( sleep 1 ) &
   3504   am_sleep_pid=$!
   3505 fi
   3506 
   3507 rm -f conftest.file
   3508 
   3509 test "$program_prefix" != NONE &&
   3510   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3511 # Use a double $ so make ignores it.
   3512 test "$program_suffix" != NONE &&
   3513   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3514 # Double any \ or $.
   3515 # By default was `s,x,x', remove it if useless.
   3516 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3517 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3518 
   3519 
   3520 # Expand $ac_aux_dir to an absolute path.
   3521 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3522 
   3523 
   3524   if test x"${MISSING+set}" != xset; then
   3525   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3526 fi
   3527 # Use eval to expand $SHELL
   3528 if eval "$MISSING --is-lightweight"; then
   3529   am_missing_run="$MISSING "
   3530 else
   3531   am_missing_run=
   3532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3533 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3534 fi
   3535 
   3536 if test x"${install_sh+set}" != xset; then
   3537   case $am_aux_dir in
   3538   *\ * | *\	*)
   3539     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3540   *)
   3541     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3542   esac
   3543 fi
   3544 
   3545 # Installed binaries are usually stripped using 'strip' when the user
   3546 # run "make install-strip".  However 'strip' might not be the right
   3547 # tool to use in cross-compilation environments, therefore Automake
   3548 # will honor the 'STRIP' environment variable to overrule this program.
   3549 if test "$cross_compiling" != no; then
   3550   if test -n "$ac_tool_prefix"; then
   3551   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3552 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3554 printf %s "checking for $ac_word... " >&6; }
   3555 if test ${ac_cv_prog_STRIP+y}
   3556 then :
   3557   printf %s "(cached) " >&6
   3558 else $as_nop
   3559   if test -n "$STRIP"; then
   3560   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3561 else
   3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3563 for as_dir in $PATH
   3564 do
   3565   IFS=$as_save_IFS
   3566   case $as_dir in #(((
   3567     '') as_dir=./ ;;
   3568     */) ;;
   3569     *) as_dir=$as_dir/ ;;
   3570   esac
   3571     for ac_exec_ext in '' $ac_executable_extensions; do
   3572   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3573     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3574     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3575     break 2
   3576   fi
   3577 done
   3578   done
   3579 IFS=$as_save_IFS
   3580 
   3581 fi
   3582 fi
   3583 STRIP=$ac_cv_prog_STRIP
   3584 if test -n "$STRIP"; then
   3585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3586 printf "%s\n" "$STRIP" >&6; }
   3587 else
   3588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3589 printf "%s\n" "no" >&6; }
   3590 fi
   3591 
   3592 
   3593 fi
   3594 if test -z "$ac_cv_prog_STRIP"; then
   3595   ac_ct_STRIP=$STRIP
   3596   # Extract the first word of "strip", so it can be a program name with args.
   3597 set dummy strip; ac_word=$2
   3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3599 printf %s "checking for $ac_word... " >&6; }
   3600 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3601 then :
   3602   printf %s "(cached) " >&6
   3603 else $as_nop
   3604   if test -n "$ac_ct_STRIP"; then
   3605   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3606 else
   3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3608 for as_dir in $PATH
   3609 do
   3610   IFS=$as_save_IFS
   3611   case $as_dir in #(((
   3612     '') as_dir=./ ;;
   3613     */) ;;
   3614     *) as_dir=$as_dir/ ;;
   3615   esac
   3616     for ac_exec_ext in '' $ac_executable_extensions; do
   3617   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3618     ac_cv_prog_ac_ct_STRIP="strip"
   3619     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3620     break 2
   3621   fi
   3622 done
   3623   done
   3624 IFS=$as_save_IFS
   3625 
   3626 fi
   3627 fi
   3628 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3629 if test -n "$ac_ct_STRIP"; then
   3630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3631 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3632 else
   3633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3634 printf "%s\n" "no" >&6; }
   3635 fi
   3636 
   3637   if test "x$ac_ct_STRIP" = x; then
   3638     STRIP=":"
   3639   else
   3640     case $cross_compiling:$ac_tool_warned in
   3641 yes:)
   3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3643 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3644 ac_tool_warned=yes ;;
   3645 esac
   3646     STRIP=$ac_ct_STRIP
   3647   fi
   3648 else
   3649   STRIP="$ac_cv_prog_STRIP"
   3650 fi
   3651 
   3652 fi
   3653 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3654 
   3655 
   3656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3657 printf %s "checking for a race-free mkdir -p... " >&6; }
   3658 if test -z "$MKDIR_P"; then
   3659   if test ${ac_cv_path_mkdir+y}
   3660 then :
   3661   printf %s "(cached) " >&6
   3662 else $as_nop
   3663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3664 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3665 do
   3666   IFS=$as_save_IFS
   3667   case $as_dir in #(((
   3668     '') as_dir=./ ;;
   3669     */) ;;
   3670     *) as_dir=$as_dir/ ;;
   3671   esac
   3672     for ac_prog in mkdir gmkdir; do
   3673 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3674 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3675 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3676 	     'mkdir ('*'coreutils) '* | \
   3677 	     'BusyBox '* | \
   3678 	     'mkdir (fileutils) '4.1*)
   3679 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3680 	       break 3;;
   3681 	   esac
   3682 	 done
   3683        done
   3684   done
   3685 IFS=$as_save_IFS
   3686 
   3687 fi
   3688 
   3689   test -d ./--version && rmdir ./--version
   3690   if test ${ac_cv_path_mkdir+y}; then
   3691     MKDIR_P="$ac_cv_path_mkdir -p"
   3692   else
   3693     # As a last resort, use the slow shell script.  Don't cache a
   3694     # value for MKDIR_P within a source directory, because that will
   3695     # break other packages using the cache if that directory is
   3696     # removed, or if the value is a relative name.
   3697     MKDIR_P="$ac_install_sh -d"
   3698   fi
   3699 fi
   3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3701 printf "%s\n" "$MKDIR_P" >&6; }
   3702 
   3703 for ac_prog in gawk mawk nawk awk
   3704 do
   3705   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3706 set dummy $ac_prog; ac_word=$2
   3707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3708 printf %s "checking for $ac_word... " >&6; }
   3709 if test ${ac_cv_prog_AWK+y}
   3710 then :
   3711   printf %s "(cached) " >&6
   3712 else $as_nop
   3713   if test -n "$AWK"; then
   3714   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3715 else
   3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3717 for as_dir in $PATH
   3718 do
   3719   IFS=$as_save_IFS
   3720   case $as_dir in #(((
   3721     '') as_dir=./ ;;
   3722     */) ;;
   3723     *) as_dir=$as_dir/ ;;
   3724   esac
   3725     for ac_exec_ext in '' $ac_executable_extensions; do
   3726   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3727     ac_cv_prog_AWK="$ac_prog"
   3728     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3729     break 2
   3730   fi
   3731 done
   3732   done
   3733 IFS=$as_save_IFS
   3734 
   3735 fi
   3736 fi
   3737 AWK=$ac_cv_prog_AWK
   3738 if test -n "$AWK"; then
   3739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3740 printf "%s\n" "$AWK" >&6; }
   3741 else
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3743 printf "%s\n" "no" >&6; }
   3744 fi
   3745 
   3746 
   3747   test -n "$AWK" && break
   3748 done
   3749 
   3750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3751 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3752 set x ${MAKE-make}
   3753 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3754 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3755 then :
   3756   printf %s "(cached) " >&6
   3757 else $as_nop
   3758   cat >conftest.make <<\_ACEOF
   3759 SHELL = /bin/sh
   3760 all:
   3761 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3762 _ACEOF
   3763 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3764 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3765   *@@@%%%=?*=@@@%%%*)
   3766     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3767   *)
   3768     eval ac_cv_prog_make_${ac_make}_set=no;;
   3769 esac
   3770 rm -f conftest.make
   3771 fi
   3772 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3774 printf "%s\n" "yes" >&6; }
   3775   SET_MAKE=
   3776 else
   3777   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3778 printf "%s\n" "no" >&6; }
   3779   SET_MAKE="MAKE=${MAKE-make}"
   3780 fi
   3781 
   3782 rm -rf .tst 2>/dev/null
   3783 mkdir .tst 2>/dev/null
   3784 if test -d .tst; then
   3785   am__leading_dot=.
   3786 else
   3787   am__leading_dot=_
   3788 fi
   3789 rmdir .tst 2>/dev/null
   3790 
   3791 # Check whether --enable-silent-rules was given.
   3792 if test ${enable_silent_rules+y}
   3793 then :
   3794   enableval=$enable_silent_rules;
   3795 fi
   3796 
   3797 case $enable_silent_rules in # (((
   3798   yes) AM_DEFAULT_VERBOSITY=0;;
   3799    no) AM_DEFAULT_VERBOSITY=1;;
   3800     *) AM_DEFAULT_VERBOSITY=1;;
   3801 esac
   3802 am_make=${MAKE-make}
   3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3804 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3805 if test ${am_cv_make_support_nested_variables+y}
   3806 then :
   3807   printf %s "(cached) " >&6
   3808 else $as_nop
   3809   if printf "%s\n" 'TRUE=$(BAR$(V))
   3810 BAR0=false
   3811 BAR1=true
   3812 V=1
   3813 am__doit:
   3814 	@$(TRUE)
   3815 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3816   am_cv_make_support_nested_variables=yes
   3817 else
   3818   am_cv_make_support_nested_variables=no
   3819 fi
   3820 fi
   3821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3822 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3823 if test $am_cv_make_support_nested_variables = yes; then
   3824     AM_V='$(V)'
   3825   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3826 else
   3827   AM_V=$AM_DEFAULT_VERBOSITY
   3828   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3829 fi
   3830 AM_BACKSLASH='\'
   3831 
   3832 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3833   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3834   # is not polluted with repeated "-I."
   3835   am__isrc=' -I$(srcdir)'
   3836   # test to see if srcdir already configured
   3837   if test -f $srcdir/config.status; then
   3838     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3839   fi
   3840 fi
   3841 
   3842 # test whether we have cygpath
   3843 if test -z "$CYGPATH_W"; then
   3844   if (cygpath --version) >/dev/null 2>/dev/null; then
   3845     CYGPATH_W='cygpath -w'
   3846   else
   3847     CYGPATH_W=echo
   3848   fi
   3849 fi
   3850 
   3851 
   3852 # Define the identity of the package.
   3853  PACKAGE='isl'
   3854  VERSION='0.26'
   3855 
   3856 
   3857 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3858 
   3859 
   3860 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3861 
   3862 # Some tools Automake needs.
   3863 
   3864 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3865 
   3866 
   3867 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3868 
   3869 
   3870 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3871 
   3872 
   3873 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3874 
   3875 
   3876 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3877 
   3878 # For better backward compatibility.  To be removed once Automake 1.9.x
   3879 # dies out for good.  For more background, see:
   3880 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3881 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3882 mkdir_p='$(MKDIR_P)'
   3883 
   3884 # We need awk for the "check" target (and possibly the TAP driver).  The
   3885 # system "awk" is bad on some platforms.
   3886 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3887 # in the wild :-(  We should find a proper way to deprecate it ...
   3888 AMTAR='$${TAR-tar}'
   3889 
   3890 
   3891 # We'll loop over all known methods to create a tar archive until one works.
   3892 _am_tools='gnutar  pax cpio none'
   3893 
   3894 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3895 
   3896 
   3897 
   3898 
   3899 
   3900 # Variables for tags utilities; see am/tags.am
   3901 if test -z "$CTAGS"; then
   3902   CTAGS=ctags
   3903 fi
   3904 
   3905 if test -z "$ETAGS"; then
   3906   ETAGS=etags
   3907 fi
   3908 
   3909 if test -z "$CSCOPE"; then
   3910   CSCOPE=cscope
   3911 fi
   3912 
   3913 
   3914 
   3915 # POSIX will say in a future version that running "rm -f" with no argument
   3916 # is OK; and we want to be able to make that assumption in our Makefile
   3917 # recipes.  So use an aggressive probe to check that the usage we want is
   3918 # actually supported "in the wild" to an acceptable degree.
   3919 # See automake bug#10828.
   3920 # To make any issue more visible, cause the running configure to be aborted
   3921 # by default if the 'rm' program in use doesn't match our expectations; the
   3922 # user can still override this though.
   3923 if rm -f && rm -fr && rm -rf; then : OK; else
   3924   cat >&2 <<'END'
   3925 Oops!
   3926 
   3927 Your 'rm' program seems unable to run without file operands specified
   3928 on the command line, even when the '-f' option is present.  This is contrary
   3929 to the behaviour of most rm programs out there, and not conforming with
   3930 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3931 
   3932 Please tell bug-automake@gnu.org about your system, including the value
   3933 of your $PATH and any error possibly output before this message.  This
   3934 can help us improve future automake versions.
   3935 
   3936 END
   3937   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3938     echo 'Configuration will proceed anyway, since you have set the' >&2
   3939     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3940     echo >&2
   3941   else
   3942     cat >&2 <<'END'
   3943 Aborting the configuration process, to ensure you take notice of the issue.
   3944 
   3945 You can download and install GNU coreutils to get an 'rm' implementation
   3946 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3947 
   3948 If you want to complete the configuration process using your problematic
   3949 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3950 to "yes", and re-run configure.
   3951 
   3952 END
   3953     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3954   fi
   3955 fi
   3956 
   3957 # Check whether --enable-silent-rules was given.
   3958 if test ${enable_silent_rules+y}
   3959 then :
   3960   enableval=$enable_silent_rules;
   3961 fi
   3962 
   3963 case $enable_silent_rules in # (((
   3964   yes) AM_DEFAULT_VERBOSITY=0;;
   3965    no) AM_DEFAULT_VERBOSITY=1;;
   3966     *) AM_DEFAULT_VERBOSITY=0;;
   3967 esac
   3968 am_make=${MAKE-make}
   3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3970 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3971 if test ${am_cv_make_support_nested_variables+y}
   3972 then :
   3973   printf %s "(cached) " >&6
   3974 else $as_nop
   3975   if printf "%s\n" 'TRUE=$(BAR$(V))
   3976 BAR0=false
   3977 BAR1=true
   3978 V=1
   3979 am__doit:
   3980 	@$(TRUE)
   3981 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3982   am_cv_make_support_nested_variables=yes
   3983 else
   3984   am_cv_make_support_nested_variables=no
   3985 fi
   3986 fi
   3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3988 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3989 if test $am_cv_make_support_nested_variables = yes; then
   3990     AM_V='$(V)'
   3991   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3992 else
   3993   AM_V=$AM_DEFAULT_VERBOSITY
   3994   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3995 fi
   3996 AM_BACKSLASH='\'
   3997 
   3998 
   3999 versioninfo=26:0:3
   4000 
   4001 if test "x$prefix" != "xNONE"; then
   4002 	prefix_wd=`cd $prefix && pwd`
   4003 	srcdir_wd=`cd $srcdir && pwd`
   4004 	wd=`pwd`
   4005 	if test "x$prefix_wd" = "x$srcdir_wd"; then
   4006 		as_fn_error $? "Installation in source directory not supported" "$LINENO" 5
   4007 	fi
   4008 	if test "x$prefix_wd" = "x$wd"; then
   4009 		as_fn_error $? "Installation in build directory not supported" "$LINENO" 5
   4010 	fi
   4011 fi
   4012 
   4013 
   4014 
   4015 
   4016 
   4017 
   4018 
   4019 
   4020 
   4021 
   4022 ac_ext=c
   4023 ac_cpp='$CPP $CPPFLAGS'
   4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4027 if test -n "$ac_tool_prefix"; then
   4028   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4031 printf %s "checking for $ac_word... " >&6; }
   4032 if test ${ac_cv_prog_CC+y}
   4033 then :
   4034   printf %s "(cached) " >&6
   4035 else $as_nop
   4036   if test -n "$CC"; then
   4037   ac_cv_prog_CC="$CC" # Let the user override the test.
   4038 else
   4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4040 for as_dir in $PATH
   4041 do
   4042   IFS=$as_save_IFS
   4043   case $as_dir in #(((
   4044     '') as_dir=./ ;;
   4045     */) ;;
   4046     *) as_dir=$as_dir/ ;;
   4047   esac
   4048     for ac_exec_ext in '' $ac_executable_extensions; do
   4049   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4050     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4051     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4052     break 2
   4053   fi
   4054 done
   4055   done
   4056 IFS=$as_save_IFS
   4057 
   4058 fi
   4059 fi
   4060 CC=$ac_cv_prog_CC
   4061 if test -n "$CC"; then
   4062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4063 printf "%s\n" "$CC" >&6; }
   4064 else
   4065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4066 printf "%s\n" "no" >&6; }
   4067 fi
   4068 
   4069 
   4070 fi
   4071 if test -z "$ac_cv_prog_CC"; then
   4072   ac_ct_CC=$CC
   4073   # Extract the first word of "gcc", so it can be a program name with args.
   4074 set dummy gcc; ac_word=$2
   4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4076 printf %s "checking for $ac_word... " >&6; }
   4077 if test ${ac_cv_prog_ac_ct_CC+y}
   4078 then :
   4079   printf %s "(cached) " >&6
   4080 else $as_nop
   4081   if test -n "$ac_ct_CC"; then
   4082   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4083 else
   4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4085 for as_dir in $PATH
   4086 do
   4087   IFS=$as_save_IFS
   4088   case $as_dir in #(((
   4089     '') as_dir=./ ;;
   4090     */) ;;
   4091     *) as_dir=$as_dir/ ;;
   4092   esac
   4093     for ac_exec_ext in '' $ac_executable_extensions; do
   4094   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4095     ac_cv_prog_ac_ct_CC="gcc"
   4096     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4097     break 2
   4098   fi
   4099 done
   4100   done
   4101 IFS=$as_save_IFS
   4102 
   4103 fi
   4104 fi
   4105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4106 if test -n "$ac_ct_CC"; then
   4107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4108 printf "%s\n" "$ac_ct_CC" >&6; }
   4109 else
   4110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4111 printf "%s\n" "no" >&6; }
   4112 fi
   4113 
   4114   if test "x$ac_ct_CC" = x; then
   4115     CC=""
   4116   else
   4117     case $cross_compiling:$ac_tool_warned in
   4118 yes:)
   4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4120 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4121 ac_tool_warned=yes ;;
   4122 esac
   4123     CC=$ac_ct_CC
   4124   fi
   4125 else
   4126   CC="$ac_cv_prog_CC"
   4127 fi
   4128 
   4129 if test -z "$CC"; then
   4130           if test -n "$ac_tool_prefix"; then
   4131     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4132 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4134 printf %s "checking for $ac_word... " >&6; }
   4135 if test ${ac_cv_prog_CC+y}
   4136 then :
   4137   printf %s "(cached) " >&6
   4138 else $as_nop
   4139   if test -n "$CC"; then
   4140   ac_cv_prog_CC="$CC" # Let the user override the test.
   4141 else
   4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4143 for as_dir in $PATH
   4144 do
   4145   IFS=$as_save_IFS
   4146   case $as_dir in #(((
   4147     '') as_dir=./ ;;
   4148     */) ;;
   4149     *) as_dir=$as_dir/ ;;
   4150   esac
   4151     for ac_exec_ext in '' $ac_executable_extensions; do
   4152   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4153     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4154     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4155     break 2
   4156   fi
   4157 done
   4158   done
   4159 IFS=$as_save_IFS
   4160 
   4161 fi
   4162 fi
   4163 CC=$ac_cv_prog_CC
   4164 if test -n "$CC"; then
   4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4166 printf "%s\n" "$CC" >&6; }
   4167 else
   4168   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4169 printf "%s\n" "no" >&6; }
   4170 fi
   4171 
   4172 
   4173   fi
   4174 fi
   4175 if test -z "$CC"; then
   4176   # Extract the first word of "cc", so it can be a program name with args.
   4177 set dummy cc; ac_word=$2
   4178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4179 printf %s "checking for $ac_word... " >&6; }
   4180 if test ${ac_cv_prog_CC+y}
   4181 then :
   4182   printf %s "(cached) " >&6
   4183 else $as_nop
   4184   if test -n "$CC"; then
   4185   ac_cv_prog_CC="$CC" # Let the user override the test.
   4186 else
   4187   ac_prog_rejected=no
   4188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4189 for as_dir in $PATH
   4190 do
   4191   IFS=$as_save_IFS
   4192   case $as_dir in #(((
   4193     '') as_dir=./ ;;
   4194     */) ;;
   4195     *) as_dir=$as_dir/ ;;
   4196   esac
   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     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4200        ac_prog_rejected=yes
   4201        continue
   4202      fi
   4203     ac_cv_prog_CC="cc"
   4204     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4205     break 2
   4206   fi
   4207 done
   4208   done
   4209 IFS=$as_save_IFS
   4210 
   4211 if test $ac_prog_rejected = yes; then
   4212   # We found a bogon in the path, so make sure we never use it.
   4213   set dummy $ac_cv_prog_CC
   4214   shift
   4215   if test $# != 0; then
   4216     # We chose a different compiler from the bogus one.
   4217     # However, it has the same basename, so the bogon will be chosen
   4218     # first if we set CC to just the basename; use the full file name.
   4219     shift
   4220     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4221   fi
   4222 fi
   4223 fi
   4224 fi
   4225 CC=$ac_cv_prog_CC
   4226 if test -n "$CC"; then
   4227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4228 printf "%s\n" "$CC" >&6; }
   4229 else
   4230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4231 printf "%s\n" "no" >&6; }
   4232 fi
   4233 
   4234 
   4235 fi
   4236 if test -z "$CC"; then
   4237   if test -n "$ac_tool_prefix"; then
   4238   for ac_prog in cl.exe
   4239   do
   4240     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4243 printf %s "checking for $ac_word... " >&6; }
   4244 if test ${ac_cv_prog_CC+y}
   4245 then :
   4246   printf %s "(cached) " >&6
   4247 else $as_nop
   4248   if test -n "$CC"; then
   4249   ac_cv_prog_CC="$CC" # Let the user override the test.
   4250 else
   4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4252 for as_dir in $PATH
   4253 do
   4254   IFS=$as_save_IFS
   4255   case $as_dir in #(((
   4256     '') as_dir=./ ;;
   4257     */) ;;
   4258     *) as_dir=$as_dir/ ;;
   4259   esac
   4260     for ac_exec_ext in '' $ac_executable_extensions; do
   4261   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4262     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4263     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4264     break 2
   4265   fi
   4266 done
   4267   done
   4268 IFS=$as_save_IFS
   4269 
   4270 fi
   4271 fi
   4272 CC=$ac_cv_prog_CC
   4273 if test -n "$CC"; then
   4274   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4275 printf "%s\n" "$CC" >&6; }
   4276 else
   4277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4278 printf "%s\n" "no" >&6; }
   4279 fi
   4280 
   4281 
   4282     test -n "$CC" && break
   4283   done
   4284 fi
   4285 if test -z "$CC"; then
   4286   ac_ct_CC=$CC
   4287   for ac_prog in cl.exe
   4288 do
   4289   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4290 set dummy $ac_prog; ac_word=$2
   4291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4292 printf %s "checking for $ac_word... " >&6; }
   4293 if test ${ac_cv_prog_ac_ct_CC+y}
   4294 then :
   4295   printf %s "(cached) " >&6
   4296 else $as_nop
   4297   if test -n "$ac_ct_CC"; then
   4298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4299 else
   4300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4301 for as_dir in $PATH
   4302 do
   4303   IFS=$as_save_IFS
   4304   case $as_dir in #(((
   4305     '') as_dir=./ ;;
   4306     */) ;;
   4307     *) as_dir=$as_dir/ ;;
   4308   esac
   4309     for ac_exec_ext in '' $ac_executable_extensions; do
   4310   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4311     ac_cv_prog_ac_ct_CC="$ac_prog"
   4312     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4313     break 2
   4314   fi
   4315 done
   4316   done
   4317 IFS=$as_save_IFS
   4318 
   4319 fi
   4320 fi
   4321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4322 if test -n "$ac_ct_CC"; then
   4323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4324 printf "%s\n" "$ac_ct_CC" >&6; }
   4325 else
   4326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4327 printf "%s\n" "no" >&6; }
   4328 fi
   4329 
   4330 
   4331   test -n "$ac_ct_CC" && break
   4332 done
   4333 
   4334   if test "x$ac_ct_CC" = x; then
   4335     CC=""
   4336   else
   4337     case $cross_compiling:$ac_tool_warned in
   4338 yes:)
   4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4340 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4341 ac_tool_warned=yes ;;
   4342 esac
   4343     CC=$ac_ct_CC
   4344   fi
   4345 fi
   4346 
   4347 fi
   4348 if test -z "$CC"; then
   4349   if test -n "$ac_tool_prefix"; then
   4350   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4351 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4353 printf %s "checking for $ac_word... " >&6; }
   4354 if test ${ac_cv_prog_CC+y}
   4355 then :
   4356   printf %s "(cached) " >&6
   4357 else $as_nop
   4358   if test -n "$CC"; then
   4359   ac_cv_prog_CC="$CC" # Let the user override the test.
   4360 else
   4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4362 for as_dir in $PATH
   4363 do
   4364   IFS=$as_save_IFS
   4365   case $as_dir in #(((
   4366     '') as_dir=./ ;;
   4367     */) ;;
   4368     *) as_dir=$as_dir/ ;;
   4369   esac
   4370     for ac_exec_ext in '' $ac_executable_extensions; do
   4371   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4372     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4373     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4374     break 2
   4375   fi
   4376 done
   4377   done
   4378 IFS=$as_save_IFS
   4379 
   4380 fi
   4381 fi
   4382 CC=$ac_cv_prog_CC
   4383 if test -n "$CC"; then
   4384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4385 printf "%s\n" "$CC" >&6; }
   4386 else
   4387   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4388 printf "%s\n" "no" >&6; }
   4389 fi
   4390 
   4391 
   4392 fi
   4393 if test -z "$ac_cv_prog_CC"; then
   4394   ac_ct_CC=$CC
   4395   # Extract the first word of "clang", so it can be a program name with args.
   4396 set dummy clang; ac_word=$2
   4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4398 printf %s "checking for $ac_word... " >&6; }
   4399 if test ${ac_cv_prog_ac_ct_CC+y}
   4400 then :
   4401   printf %s "(cached) " >&6
   4402 else $as_nop
   4403   if test -n "$ac_ct_CC"; then
   4404   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4405 else
   4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4407 for as_dir in $PATH
   4408 do
   4409   IFS=$as_save_IFS
   4410   case $as_dir in #(((
   4411     '') as_dir=./ ;;
   4412     */) ;;
   4413     *) as_dir=$as_dir/ ;;
   4414   esac
   4415     for ac_exec_ext in '' $ac_executable_extensions; do
   4416   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4417     ac_cv_prog_ac_ct_CC="clang"
   4418     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4419     break 2
   4420   fi
   4421 done
   4422   done
   4423 IFS=$as_save_IFS
   4424 
   4425 fi
   4426 fi
   4427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4428 if test -n "$ac_ct_CC"; then
   4429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4430 printf "%s\n" "$ac_ct_CC" >&6; }
   4431 else
   4432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4433 printf "%s\n" "no" >&6; }
   4434 fi
   4435 
   4436   if test "x$ac_ct_CC" = x; then
   4437     CC=""
   4438   else
   4439     case $cross_compiling:$ac_tool_warned in
   4440 yes:)
   4441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4442 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4443 ac_tool_warned=yes ;;
   4444 esac
   4445     CC=$ac_ct_CC
   4446   fi
   4447 else
   4448   CC="$ac_cv_prog_CC"
   4449 fi
   4450 
   4451 fi
   4452 
   4453 
   4454 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4455 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4456 as_fn_error $? "no acceptable C compiler found in \$PATH
   4457 See \`config.log' for more details" "$LINENO" 5; }
   4458 
   4459 # Provide some information about the compiler.
   4460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4461 set X $ac_compile
   4462 ac_compiler=$2
   4463 for ac_option in --version -v -V -qversion -version; do
   4464   { { ac_try="$ac_compiler $ac_option >&5"
   4465 case "(($ac_try" in
   4466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4467   *) ac_try_echo=$ac_try;;
   4468 esac
   4469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4470 printf "%s\n" "$ac_try_echo"; } >&5
   4471   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4472   ac_status=$?
   4473   if test -s conftest.err; then
   4474     sed '10a\
   4475 ... rest of stderr output deleted ...
   4476          10q' conftest.err >conftest.er1
   4477     cat conftest.er1 >&5
   4478   fi
   4479   rm -f conftest.er1 conftest.err
   4480   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4481   test $ac_status = 0; }
   4482 done
   4483 
   4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4485 /* end confdefs.h.  */
   4486 
   4487 int
   4488 main (void)
   4489 {
   4490 
   4491   ;
   4492   return 0;
   4493 }
   4494 _ACEOF
   4495 ac_clean_files_save=$ac_clean_files
   4496 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4497 # Try to create an executable without -o first, disregard a.out.
   4498 # It will help us diagnose broken compilers, and finding out an intuition
   4499 # of exeext.
   4500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4501 printf %s "checking whether the C compiler works... " >&6; }
   4502 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4503 
   4504 # The possible output files:
   4505 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4506 
   4507 ac_rmfiles=
   4508 for ac_file in $ac_files
   4509 do
   4510   case $ac_file in
   4511     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4512     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4513   esac
   4514 done
   4515 rm -f $ac_rmfiles
   4516 
   4517 if { { ac_try="$ac_link_default"
   4518 case "(($ac_try" in
   4519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4520   *) ac_try_echo=$ac_try;;
   4521 esac
   4522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4523 printf "%s\n" "$ac_try_echo"; } >&5
   4524   (eval "$ac_link_default") 2>&5
   4525   ac_status=$?
   4526   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4527   test $ac_status = 0; }
   4528 then :
   4529   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4530 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4531 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4532 # so that the user can short-circuit this test for compilers unknown to
   4533 # Autoconf.
   4534 for ac_file in $ac_files ''
   4535 do
   4536   test -f "$ac_file" || continue
   4537   case $ac_file in
   4538     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4539 	;;
   4540     [ab].out )
   4541 	# We found the default executable, but exeext='' is most
   4542 	# certainly right.
   4543 	break;;
   4544     *.* )
   4545 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4546 	then :; else
   4547 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4548 	fi
   4549 	# We set ac_cv_exeext here because the later test for it is not
   4550 	# safe: cross compilers may not add the suffix if given an `-o'
   4551 	# argument, so we may need to know it at that point already.
   4552 	# Even if this section looks crufty: it has the advantage of
   4553 	# actually working.
   4554 	break;;
   4555     * )
   4556 	break;;
   4557   esac
   4558 done
   4559 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4560 
   4561 else $as_nop
   4562   ac_file=''
   4563 fi
   4564 if test -z "$ac_file"
   4565 then :
   4566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4567 printf "%s\n" "no" >&6; }
   4568 printf "%s\n" "$as_me: failed program was:" >&5
   4569 sed 's/^/| /' conftest.$ac_ext >&5
   4570 
   4571 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4572 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4573 as_fn_error 77 "C compiler cannot create executables
   4574 See \`config.log' for more details" "$LINENO" 5; }
   4575 else $as_nop
   4576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4577 printf "%s\n" "yes" >&6; }
   4578 fi
   4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4580 printf %s "checking for C compiler default output file name... " >&6; }
   4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4582 printf "%s\n" "$ac_file" >&6; }
   4583 ac_exeext=$ac_cv_exeext
   4584 
   4585 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4586 ac_clean_files=$ac_clean_files_save
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4588 printf %s "checking for suffix of executables... " >&6; }
   4589 if { { ac_try="$ac_link"
   4590 case "(($ac_try" in
   4591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4592   *) ac_try_echo=$ac_try;;
   4593 esac
   4594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4595 printf "%s\n" "$ac_try_echo"; } >&5
   4596   (eval "$ac_link") 2>&5
   4597   ac_status=$?
   4598   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4599   test $ac_status = 0; }
   4600 then :
   4601   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4602 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4603 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4604 # `rm'.
   4605 for ac_file in conftest.exe conftest conftest.*; do
   4606   test -f "$ac_file" || continue
   4607   case $ac_file in
   4608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4609     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4610 	  break;;
   4611     * ) break;;
   4612   esac
   4613 done
   4614 else $as_nop
   4615   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4616 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4617 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4618 See \`config.log' for more details" "$LINENO" 5; }
   4619 fi
   4620 rm -f conftest conftest$ac_cv_exeext
   4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4622 printf "%s\n" "$ac_cv_exeext" >&6; }
   4623 
   4624 rm -f conftest.$ac_ext
   4625 EXEEXT=$ac_cv_exeext
   4626 ac_exeext=$EXEEXT
   4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4628 /* end confdefs.h.  */
   4629 #include <stdio.h>
   4630 int
   4631 main (void)
   4632 {
   4633 FILE *f = fopen ("conftest.out", "w");
   4634  return ferror (f) || fclose (f) != 0;
   4635 
   4636   ;
   4637   return 0;
   4638 }
   4639 _ACEOF
   4640 ac_clean_files="$ac_clean_files conftest.out"
   4641 # Check that the compiler produces executables we can run.  If not, either
   4642 # the compiler is broken, or we cross compile.
   4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4644 printf %s "checking whether we are cross compiling... " >&6; }
   4645 if test "$cross_compiling" != yes; then
   4646   { { ac_try="$ac_link"
   4647 case "(($ac_try" in
   4648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4649   *) ac_try_echo=$ac_try;;
   4650 esac
   4651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4652 printf "%s\n" "$ac_try_echo"; } >&5
   4653   (eval "$ac_link") 2>&5
   4654   ac_status=$?
   4655   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4656   test $ac_status = 0; }
   4657   if { ac_try='./conftest$ac_cv_exeext'
   4658   { { case "(($ac_try" in
   4659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4660   *) ac_try_echo=$ac_try;;
   4661 esac
   4662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4663 printf "%s\n" "$ac_try_echo"; } >&5
   4664   (eval "$ac_try") 2>&5
   4665   ac_status=$?
   4666   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4667   test $ac_status = 0; }; }; then
   4668     cross_compiling=no
   4669   else
   4670     if test "$cross_compiling" = maybe; then
   4671 	cross_compiling=yes
   4672     else
   4673 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4674 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4675 as_fn_error 77 "cannot run C compiled programs.
   4676 If you meant to cross compile, use \`--host'.
   4677 See \`config.log' for more details" "$LINENO" 5; }
   4678     fi
   4679   fi
   4680 fi
   4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4682 printf "%s\n" "$cross_compiling" >&6; }
   4683 
   4684 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4685 ac_clean_files=$ac_clean_files_save
   4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4687 printf %s "checking for suffix of object files... " >&6; }
   4688 if test ${ac_cv_objext+y}
   4689 then :
   4690   printf %s "(cached) " >&6
   4691 else $as_nop
   4692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4693 /* end confdefs.h.  */
   4694 
   4695 int
   4696 main (void)
   4697 {
   4698 
   4699   ;
   4700   return 0;
   4701 }
   4702 _ACEOF
   4703 rm -f conftest.o conftest.obj
   4704 if { { ac_try="$ac_compile"
   4705 case "(($ac_try" in
   4706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4707   *) ac_try_echo=$ac_try;;
   4708 esac
   4709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4710 printf "%s\n" "$ac_try_echo"; } >&5
   4711   (eval "$ac_compile") 2>&5
   4712   ac_status=$?
   4713   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4714   test $ac_status = 0; }
   4715 then :
   4716   for ac_file in conftest.o conftest.obj conftest.*; do
   4717   test -f "$ac_file" || continue;
   4718   case $ac_file in
   4719     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4720     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4721        break;;
   4722   esac
   4723 done
   4724 else $as_nop
   4725   printf "%s\n" "$as_me: failed program was:" >&5
   4726 sed 's/^/| /' conftest.$ac_ext >&5
   4727 
   4728 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4729 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4730 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4731 See \`config.log' for more details" "$LINENO" 5; }
   4732 fi
   4733 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4734 fi
   4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4736 printf "%s\n" "$ac_cv_objext" >&6; }
   4737 OBJEXT=$ac_cv_objext
   4738 ac_objext=$OBJEXT
   4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4740 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4741 if test ${ac_cv_c_compiler_gnu+y}
   4742 then :
   4743   printf %s "(cached) " >&6
   4744 else $as_nop
   4745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4746 /* end confdefs.h.  */
   4747 
   4748 int
   4749 main (void)
   4750 {
   4751 #ifndef __GNUC__
   4752        choke me
   4753 #endif
   4754 
   4755   ;
   4756   return 0;
   4757 }
   4758 _ACEOF
   4759 if ac_fn_c_try_compile "$LINENO"
   4760 then :
   4761   ac_compiler_gnu=yes
   4762 else $as_nop
   4763   ac_compiler_gnu=no
   4764 fi
   4765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4767 
   4768 fi
   4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4770 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4772 
   4773 if test $ac_compiler_gnu = yes; then
   4774   GCC=yes
   4775 else
   4776   GCC=
   4777 fi
   4778 ac_test_CFLAGS=${CFLAGS+y}
   4779 ac_save_CFLAGS=$CFLAGS
   4780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4781 printf %s "checking whether $CC accepts -g... " >&6; }
   4782 if test ${ac_cv_prog_cc_g+y}
   4783 then :
   4784   printf %s "(cached) " >&6
   4785 else $as_nop
   4786   ac_save_c_werror_flag=$ac_c_werror_flag
   4787    ac_c_werror_flag=yes
   4788    ac_cv_prog_cc_g=no
   4789    CFLAGS="-g"
   4790    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4791 /* end confdefs.h.  */
   4792 
   4793 int
   4794 main (void)
   4795 {
   4796 
   4797   ;
   4798   return 0;
   4799 }
   4800 _ACEOF
   4801 if ac_fn_c_try_compile "$LINENO"
   4802 then :
   4803   ac_cv_prog_cc_g=yes
   4804 else $as_nop
   4805   CFLAGS=""
   4806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4807 /* end confdefs.h.  */
   4808 
   4809 int
   4810 main (void)
   4811 {
   4812 
   4813   ;
   4814   return 0;
   4815 }
   4816 _ACEOF
   4817 if ac_fn_c_try_compile "$LINENO"
   4818 then :
   4819 
   4820 else $as_nop
   4821   ac_c_werror_flag=$ac_save_c_werror_flag
   4822 	 CFLAGS="-g"
   4823 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4824 /* end confdefs.h.  */
   4825 
   4826 int
   4827 main (void)
   4828 {
   4829 
   4830   ;
   4831   return 0;
   4832 }
   4833 _ACEOF
   4834 if ac_fn_c_try_compile "$LINENO"
   4835 then :
   4836   ac_cv_prog_cc_g=yes
   4837 fi
   4838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4839 fi
   4840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4841 fi
   4842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4843    ac_c_werror_flag=$ac_save_c_werror_flag
   4844 fi
   4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4846 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4847 if test $ac_test_CFLAGS; then
   4848   CFLAGS=$ac_save_CFLAGS
   4849 elif test $ac_cv_prog_cc_g = yes; then
   4850   if test "$GCC" = yes; then
   4851     CFLAGS="-g -O2"
   4852   else
   4853     CFLAGS="-g"
   4854   fi
   4855 else
   4856   if test "$GCC" = yes; then
   4857     CFLAGS="-O2"
   4858   else
   4859     CFLAGS=
   4860   fi
   4861 fi
   4862 ac_prog_cc_stdc=no
   4863 if test x$ac_prog_cc_stdc = xno
   4864 then :
   4865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4866 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4867 if test ${ac_cv_prog_cc_c11+y}
   4868 then :
   4869   printf %s "(cached) " >&6
   4870 else $as_nop
   4871   ac_cv_prog_cc_c11=no
   4872 ac_save_CC=$CC
   4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4874 /* end confdefs.h.  */
   4875 $ac_c_conftest_c11_program
   4876 _ACEOF
   4877 for ac_arg in '' -std=gnu11
   4878 do
   4879   CC="$ac_save_CC $ac_arg"
   4880   if ac_fn_c_try_compile "$LINENO"
   4881 then :
   4882   ac_cv_prog_cc_c11=$ac_arg
   4883 fi
   4884 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4885   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4886 done
   4887 rm -f conftest.$ac_ext
   4888 CC=$ac_save_CC
   4889 fi
   4890 
   4891 if test "x$ac_cv_prog_cc_c11" = xno
   4892 then :
   4893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4894 printf "%s\n" "unsupported" >&6; }
   4895 else $as_nop
   4896   if test "x$ac_cv_prog_cc_c11" = x
   4897 then :
   4898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4899 printf "%s\n" "none needed" >&6; }
   4900 else $as_nop
   4901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4902 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4903      CC="$CC $ac_cv_prog_cc_c11"
   4904 fi
   4905   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4906   ac_prog_cc_stdc=c11
   4907 fi
   4908 fi
   4909 if test x$ac_prog_cc_stdc = xno
   4910 then :
   4911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4912 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4913 if test ${ac_cv_prog_cc_c99+y}
   4914 then :
   4915   printf %s "(cached) " >&6
   4916 else $as_nop
   4917   ac_cv_prog_cc_c99=no
   4918 ac_save_CC=$CC
   4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4920 /* end confdefs.h.  */
   4921 $ac_c_conftest_c99_program
   4922 _ACEOF
   4923 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4924 do
   4925   CC="$ac_save_CC $ac_arg"
   4926   if ac_fn_c_try_compile "$LINENO"
   4927 then :
   4928   ac_cv_prog_cc_c99=$ac_arg
   4929 fi
   4930 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4931   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4932 done
   4933 rm -f conftest.$ac_ext
   4934 CC=$ac_save_CC
   4935 fi
   4936 
   4937 if test "x$ac_cv_prog_cc_c99" = xno
   4938 then :
   4939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4940 printf "%s\n" "unsupported" >&6; }
   4941 else $as_nop
   4942   if test "x$ac_cv_prog_cc_c99" = x
   4943 then :
   4944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4945 printf "%s\n" "none needed" >&6; }
   4946 else $as_nop
   4947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4948 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4949      CC="$CC $ac_cv_prog_cc_c99"
   4950 fi
   4951   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4952   ac_prog_cc_stdc=c99
   4953 fi
   4954 fi
   4955 if test x$ac_prog_cc_stdc = xno
   4956 then :
   4957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4958 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4959 if test ${ac_cv_prog_cc_c89+y}
   4960 then :
   4961   printf %s "(cached) " >&6
   4962 else $as_nop
   4963   ac_cv_prog_cc_c89=no
   4964 ac_save_CC=$CC
   4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4966 /* end confdefs.h.  */
   4967 $ac_c_conftest_c89_program
   4968 _ACEOF
   4969 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4970 do
   4971   CC="$ac_save_CC $ac_arg"
   4972   if ac_fn_c_try_compile "$LINENO"
   4973 then :
   4974   ac_cv_prog_cc_c89=$ac_arg
   4975 fi
   4976 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4977   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4978 done
   4979 rm -f conftest.$ac_ext
   4980 CC=$ac_save_CC
   4981 fi
   4982 
   4983 if test "x$ac_cv_prog_cc_c89" = xno
   4984 then :
   4985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4986 printf "%s\n" "unsupported" >&6; }
   4987 else $as_nop
   4988   if test "x$ac_cv_prog_cc_c89" = x
   4989 then :
   4990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4991 printf "%s\n" "none needed" >&6; }
   4992 else $as_nop
   4993   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4994 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4995      CC="$CC $ac_cv_prog_cc_c89"
   4996 fi
   4997   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4998   ac_prog_cc_stdc=c89
   4999 fi
   5000 fi
   5001 
   5002 ac_ext=c
   5003 ac_cpp='$CPP $CPPFLAGS'
   5004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5007 
   5008 
   5009   ac_ext=c
   5010 ac_cpp='$CPP $CPPFLAGS'
   5011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5015 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5016 if test ${am_cv_prog_cc_c_o+y}
   5017 then :
   5018   printf %s "(cached) " >&6
   5019 else $as_nop
   5020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5021 /* end confdefs.h.  */
   5022 
   5023 int
   5024 main (void)
   5025 {
   5026 
   5027   ;
   5028   return 0;
   5029 }
   5030 _ACEOF
   5031   # Make sure it works both with $CC and with simple cc.
   5032   # Following AC_PROG_CC_C_O, we do the test twice because some
   5033   # compilers refuse to overwrite an existing .o file with -o,
   5034   # though they will create one.
   5035   am_cv_prog_cc_c_o=yes
   5036   for am_i in 1 2; do
   5037     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5038    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5039    ac_status=$?
   5040    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5041    (exit $ac_status); } \
   5042          && test -f conftest2.$ac_objext; then
   5043       : OK
   5044     else
   5045       am_cv_prog_cc_c_o=no
   5046       break
   5047     fi
   5048   done
   5049   rm -f core conftest*
   5050   unset am_i
   5051 fi
   5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5053 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   5054 if test "$am_cv_prog_cc_c_o" != yes; then
   5055    # Losing compiler, so override with the script.
   5056    # FIXME: It is wrong to rewrite CC.
   5057    # But if we don't then we get into trouble of one sort or another.
   5058    # A longer-term fix would be to have automake use am__CC in this case,
   5059    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5060    CC="$am_aux_dir/compile $CC"
   5061 fi
   5062 ac_ext=c
   5063 ac_cpp='$CPP $CPPFLAGS'
   5064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5067 
   5068 DEPDIR="${am__leading_dot}deps"
   5069 
   5070 ac_config_commands="$ac_config_commands depfiles"
   5071 
   5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5073 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5074 cat > confinc.mk << 'END'
   5075 am__doit:
   5076 	@echo this is the am__doit target >confinc.out
   5077 .PHONY: am__doit
   5078 END
   5079 am__include="#"
   5080 am__quote=
   5081 # BSD make does it like this.
   5082 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5083 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5084 echo 'include confinc.mk # ignored' > confmf.GNU
   5085 _am_result=no
   5086 for s in GNU BSD; do
   5087   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5088    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5089    ac_status=$?
   5090    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5091    (exit $ac_status); }
   5092   case $?:`cat confinc.out 2>/dev/null` in #(
   5093   '0:this is the am__doit target') :
   5094     case $s in #(
   5095   BSD) :
   5096     am__include='.include' am__quote='"' ;; #(
   5097   *) :
   5098     am__include='include' am__quote='' ;;
   5099 esac ;; #(
   5100   *) :
   5101      ;;
   5102 esac
   5103   if test "$am__include" != "#"; then
   5104     _am_result="yes ($s style)"
   5105     break
   5106   fi
   5107 done
   5108 rm -f confinc.* confmf.*
   5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5110 printf "%s\n" "${_am_result}" >&6; }
   5111 
   5112 # Check whether --enable-dependency-tracking was given.
   5113 if test ${enable_dependency_tracking+y}
   5114 then :
   5115   enableval=$enable_dependency_tracking;
   5116 fi
   5117 
   5118 if test "x$enable_dependency_tracking" != xno; then
   5119   am_depcomp="$ac_aux_dir/depcomp"
   5120   AMDEPBACKSLASH='\'
   5121   am__nodep='_no'
   5122 fi
   5123  if test "x$enable_dependency_tracking" != xno; then
   5124   AMDEP_TRUE=
   5125   AMDEP_FALSE='#'
   5126 else
   5127   AMDEP_TRUE='#'
   5128   AMDEP_FALSE=
   5129 fi
   5130 
   5131 
   5132 
   5133 depcc="$CC"   am_compiler_list=
   5134 
   5135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5136 printf %s "checking dependency style of $depcc... " >&6; }
   5137 if test ${am_cv_CC_dependencies_compiler_type+y}
   5138 then :
   5139   printf %s "(cached) " >&6
   5140 else $as_nop
   5141   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5142   # We make a subdir and do the tests there.  Otherwise we can end up
   5143   # making bogus files that we don't know about and never remove.  For
   5144   # instance it was reported that on HP-UX the gcc test will end up
   5145   # making a dummy file named 'D' -- because '-MD' means "put the output
   5146   # in D".
   5147   rm -rf conftest.dir
   5148   mkdir conftest.dir
   5149   # Copy depcomp to subdir because otherwise we won't find it if we're
   5150   # using a relative directory.
   5151   cp "$am_depcomp" conftest.dir
   5152   cd conftest.dir
   5153   # We will build objects and dependencies in a subdirectory because
   5154   # it helps to detect inapplicable dependency modes.  For instance
   5155   # both Tru64's cc and ICC support -MD to output dependencies as a
   5156   # side effect of compilation, but ICC will put the dependencies in
   5157   # the current directory while Tru64 will put them in the object
   5158   # directory.
   5159   mkdir sub
   5160 
   5161   am_cv_CC_dependencies_compiler_type=none
   5162   if test "$am_compiler_list" = ""; then
   5163      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5164   fi
   5165   am__universal=false
   5166   case " $depcc " in #(
   5167      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5168      esac
   5169 
   5170   for depmode in $am_compiler_list; do
   5171     # Setup a source with many dependencies, because some compilers
   5172     # like to wrap large dependency lists on column 80 (with \), and
   5173     # we should not choose a depcomp mode which is confused by this.
   5174     #
   5175     # We need to recreate these files for each test, as the compiler may
   5176     # overwrite some of them when testing with obscure command lines.
   5177     # This happens at least with the AIX C compiler.
   5178     : > sub/conftest.c
   5179     for i in 1 2 3 4 5 6; do
   5180       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5181       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5182       # Solaris 10 /bin/sh.
   5183       echo '/* dummy */' > sub/conftst$i.h
   5184     done
   5185     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5186 
   5187     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5188     # mode.  It turns out that the SunPro C++ compiler does not properly
   5189     # handle '-M -o', and we need to detect this.  Also, some Intel
   5190     # versions had trouble with output in subdirs.
   5191     am__obj=sub/conftest.${OBJEXT-o}
   5192     am__minus_obj="-o $am__obj"
   5193     case $depmode in
   5194     gcc)
   5195       # This depmode causes a compiler race in universal mode.
   5196       test "$am__universal" = false || continue
   5197       ;;
   5198     nosideeffect)
   5199       # After this tag, mechanisms are not by side-effect, so they'll
   5200       # only be used when explicitly requested.
   5201       if test "x$enable_dependency_tracking" = xyes; then
   5202 	continue
   5203       else
   5204 	break
   5205       fi
   5206       ;;
   5207     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5208       # This compiler won't grok '-c -o', but also, the minuso test has
   5209       # not run yet.  These depmodes are late enough in the game, and
   5210       # so weak that their functioning should not be impacted.
   5211       am__obj=conftest.${OBJEXT-o}
   5212       am__minus_obj=
   5213       ;;
   5214     none) break ;;
   5215     esac
   5216     if depmode=$depmode \
   5217        source=sub/conftest.c object=$am__obj \
   5218        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5219        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5220          >/dev/null 2>conftest.err &&
   5221        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5222        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5223        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5224        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5225       # icc doesn't choke on unknown options, it will just issue warnings
   5226       # or remarks (even with -Werror).  So we grep stderr for any message
   5227       # that says an option was ignored or not supported.
   5228       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5229       #   icc: Command line warning: ignoring option '-M'; no argument required
   5230       # The diagnosis changed in icc 8.0:
   5231       #   icc: Command line remark: option '-MP' not supported
   5232       if (grep 'ignoring option' conftest.err ||
   5233           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5234         am_cv_CC_dependencies_compiler_type=$depmode
   5235         break
   5236       fi
   5237     fi
   5238   done
   5239 
   5240   cd ..
   5241   rm -rf conftest.dir
   5242 else
   5243   am_cv_CC_dependencies_compiler_type=none
   5244 fi
   5245 
   5246 fi
   5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5248 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5249 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5250 
   5251  if
   5252   test "x$enable_dependency_tracking" != xno \
   5253   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5254   am__fastdepCC_TRUE=
   5255   am__fastdepCC_FALSE='#'
   5256 else
   5257   am__fastdepCC_TRUE='#'
   5258   am__fastdepCC_FALSE=
   5259 fi
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 ac_ext=cpp
   5269 ac_cpp='$CXXCPP $CPPFLAGS'
   5270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5273 if test -z "$CXX"; then
   5274   if test -n "$CCC"; then
   5275     CXX=$CCC
   5276   else
   5277     if test -n "$ac_tool_prefix"; then
   5278   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
   5279   do
   5280     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5281 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5283 printf %s "checking for $ac_word... " >&6; }
   5284 if test ${ac_cv_prog_CXX+y}
   5285 then :
   5286   printf %s "(cached) " >&6
   5287 else $as_nop
   5288   if test -n "$CXX"; then
   5289   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5290 else
   5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5292 for as_dir in $PATH
   5293 do
   5294   IFS=$as_save_IFS
   5295   case $as_dir in #(((
   5296     '') as_dir=./ ;;
   5297     */) ;;
   5298     *) as_dir=$as_dir/ ;;
   5299   esac
   5300     for ac_exec_ext in '' $ac_executable_extensions; do
   5301   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5302     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5303     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5304     break 2
   5305   fi
   5306 done
   5307   done
   5308 IFS=$as_save_IFS
   5309 
   5310 fi
   5311 fi
   5312 CXX=$ac_cv_prog_CXX
   5313 if test -n "$CXX"; then
   5314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5315 printf "%s\n" "$CXX" >&6; }
   5316 else
   5317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5318 printf "%s\n" "no" >&6; }
   5319 fi
   5320 
   5321 
   5322     test -n "$CXX" && break
   5323   done
   5324 fi
   5325 if test -z "$CXX"; then
   5326   ac_ct_CXX=$CXX
   5327   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
   5328 do
   5329   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5330 set dummy $ac_prog; ac_word=$2
   5331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5332 printf %s "checking for $ac_word... " >&6; }
   5333 if test ${ac_cv_prog_ac_ct_CXX+y}
   5334 then :
   5335   printf %s "(cached) " >&6
   5336 else $as_nop
   5337   if test -n "$ac_ct_CXX"; then
   5338   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5339 else
   5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5341 for as_dir in $PATH
   5342 do
   5343   IFS=$as_save_IFS
   5344   case $as_dir in #(((
   5345     '') as_dir=./ ;;
   5346     */) ;;
   5347     *) as_dir=$as_dir/ ;;
   5348   esac
   5349     for ac_exec_ext in '' $ac_executable_extensions; do
   5350   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5351     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5352     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5353     break 2
   5354   fi
   5355 done
   5356   done
   5357 IFS=$as_save_IFS
   5358 
   5359 fi
   5360 fi
   5361 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5362 if test -n "$ac_ct_CXX"; then
   5363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5364 printf "%s\n" "$ac_ct_CXX" >&6; }
   5365 else
   5366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5367 printf "%s\n" "no" >&6; }
   5368 fi
   5369 
   5370 
   5371   test -n "$ac_ct_CXX" && break
   5372 done
   5373 
   5374   if test "x$ac_ct_CXX" = x; then
   5375     CXX="g++"
   5376   else
   5377     case $cross_compiling:$ac_tool_warned in
   5378 yes:)
   5379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5380 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5381 ac_tool_warned=yes ;;
   5382 esac
   5383     CXX=$ac_ct_CXX
   5384   fi
   5385 fi
   5386 
   5387   fi
   5388 fi
   5389 # Provide some information about the compiler.
   5390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5391 set X $ac_compile
   5392 ac_compiler=$2
   5393 for ac_option in --version -v -V -qversion; do
   5394   { { ac_try="$ac_compiler $ac_option >&5"
   5395 case "(($ac_try" in
   5396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5397   *) ac_try_echo=$ac_try;;
   5398 esac
   5399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5400 printf "%s\n" "$ac_try_echo"; } >&5
   5401   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5402   ac_status=$?
   5403   if test -s conftest.err; then
   5404     sed '10a\
   5405 ... rest of stderr output deleted ...
   5406          10q' conftest.err >conftest.er1
   5407     cat conftest.er1 >&5
   5408   fi
   5409   rm -f conftest.er1 conftest.err
   5410   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5411   test $ac_status = 0; }
   5412 done
   5413 
   5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
   5415 printf %s "checking whether the compiler supports GNU C++... " >&6; }
   5416 if test ${ac_cv_cxx_compiler_gnu+y}
   5417 then :
   5418   printf %s "(cached) " >&6
   5419 else $as_nop
   5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 
   5423 int
   5424 main (void)
   5425 {
   5426 #ifndef __GNUC__
   5427        choke me
   5428 #endif
   5429 
   5430   ;
   5431   return 0;
   5432 }
   5433 _ACEOF
   5434 if ac_fn_cxx_try_compile "$LINENO"
   5435 then :
   5436   ac_compiler_gnu=yes
   5437 else $as_nop
   5438   ac_compiler_gnu=no
   5439 fi
   5440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5441 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5442 
   5443 fi
   5444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5445 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
   5446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5447 
   5448 if test $ac_compiler_gnu = yes; then
   5449   GXX=yes
   5450 else
   5451   GXX=
   5452 fi
   5453 ac_test_CXXFLAGS=${CXXFLAGS+y}
   5454 ac_save_CXXFLAGS=$CXXFLAGS
   5455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5456 printf %s "checking whether $CXX accepts -g... " >&6; }
   5457 if test ${ac_cv_prog_cxx_g+y}
   5458 then :
   5459   printf %s "(cached) " >&6
   5460 else $as_nop
   5461   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5462    ac_cxx_werror_flag=yes
   5463    ac_cv_prog_cxx_g=no
   5464    CXXFLAGS="-g"
   5465    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5466 /* end confdefs.h.  */
   5467 
   5468 int
   5469 main (void)
   5470 {
   5471 
   5472   ;
   5473   return 0;
   5474 }
   5475 _ACEOF
   5476 if ac_fn_cxx_try_compile "$LINENO"
   5477 then :
   5478   ac_cv_prog_cxx_g=yes
   5479 else $as_nop
   5480   CXXFLAGS=""
   5481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 
   5484 int
   5485 main (void)
   5486 {
   5487 
   5488   ;
   5489   return 0;
   5490 }
   5491 _ACEOF
   5492 if ac_fn_cxx_try_compile "$LINENO"
   5493 then :
   5494 
   5495 else $as_nop
   5496   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5497 	 CXXFLAGS="-g"
   5498 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5499 /* end confdefs.h.  */
   5500 
   5501 int
   5502 main (void)
   5503 {
   5504 
   5505   ;
   5506   return 0;
   5507 }
   5508 _ACEOF
   5509 if ac_fn_cxx_try_compile "$LINENO"
   5510 then :
   5511   ac_cv_prog_cxx_g=yes
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5514 fi
   5515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5516 fi
   5517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5518    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5519 fi
   5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5521 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
   5522 if test $ac_test_CXXFLAGS; then
   5523   CXXFLAGS=$ac_save_CXXFLAGS
   5524 elif test $ac_cv_prog_cxx_g = yes; then
   5525   if test "$GXX" = yes; then
   5526     CXXFLAGS="-g -O2"
   5527   else
   5528     CXXFLAGS="-g"
   5529   fi
   5530 else
   5531   if test "$GXX" = yes; then
   5532     CXXFLAGS="-O2"
   5533   else
   5534     CXXFLAGS=
   5535   fi
   5536 fi
   5537 ac_prog_cxx_stdcxx=no
   5538 if test x$ac_prog_cxx_stdcxx = xno
   5539 then :
   5540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
   5541 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
   5542 if test ${ac_cv_prog_cxx_11+y}
   5543 then :
   5544   printf %s "(cached) " >&6
   5545 else $as_nop
   5546   ac_cv_prog_cxx_11=no
   5547 ac_save_CXX=$CXX
   5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5549 /* end confdefs.h.  */
   5550 $ac_cxx_conftest_cxx11_program
   5551 _ACEOF
   5552 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
   5553 do
   5554   CXX="$ac_save_CXX $ac_arg"
   5555   if ac_fn_cxx_try_compile "$LINENO"
   5556 then :
   5557   ac_cv_prog_cxx_cxx11=$ac_arg
   5558 fi
   5559 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5560   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
   5561 done
   5562 rm -f conftest.$ac_ext
   5563 CXX=$ac_save_CXX
   5564 fi
   5565 
   5566 if test "x$ac_cv_prog_cxx_cxx11" = xno
   5567 then :
   5568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5569 printf "%s\n" "unsupported" >&6; }
   5570 else $as_nop
   5571   if test "x$ac_cv_prog_cxx_cxx11" = x
   5572 then :
   5573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5574 printf "%s\n" "none needed" >&6; }
   5575 else $as_nop
   5576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
   5577 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
   5578      CXX="$CXX $ac_cv_prog_cxx_cxx11"
   5579 fi
   5580   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
   5581   ac_prog_cxx_stdcxx=cxx11
   5582 fi
   5583 fi
   5584 if test x$ac_prog_cxx_stdcxx = xno
   5585 then :
   5586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
   5587 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
   5588 if test ${ac_cv_prog_cxx_98+y}
   5589 then :
   5590   printf %s "(cached) " >&6
   5591 else $as_nop
   5592   ac_cv_prog_cxx_98=no
   5593 ac_save_CXX=$CXX
   5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 $ac_cxx_conftest_cxx98_program
   5597 _ACEOF
   5598 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
   5599 do
   5600   CXX="$ac_save_CXX $ac_arg"
   5601   if ac_fn_cxx_try_compile "$LINENO"
   5602 then :
   5603   ac_cv_prog_cxx_cxx98=$ac_arg
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5606   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
   5607 done
   5608 rm -f conftest.$ac_ext
   5609 CXX=$ac_save_CXX
   5610 fi
   5611 
   5612 if test "x$ac_cv_prog_cxx_cxx98" = xno
   5613 then :
   5614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5615 printf "%s\n" "unsupported" >&6; }
   5616 else $as_nop
   5617   if test "x$ac_cv_prog_cxx_cxx98" = x
   5618 then :
   5619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5620 printf "%s\n" "none needed" >&6; }
   5621 else $as_nop
   5622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
   5623 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
   5624      CXX="$CXX $ac_cv_prog_cxx_cxx98"
   5625 fi
   5626   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
   5627   ac_prog_cxx_stdcxx=cxx98
   5628 fi
   5629 fi
   5630 
   5631 ac_ext=c
   5632 ac_cpp='$CPP $CPPFLAGS'
   5633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5636 
   5637 depcc="$CXX"  am_compiler_list=
   5638 
   5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5640 printf %s "checking dependency style of $depcc... " >&6; }
   5641 if test ${am_cv_CXX_dependencies_compiler_type+y}
   5642 then :
   5643   printf %s "(cached) " >&6
   5644 else $as_nop
   5645   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5646   # We make a subdir and do the tests there.  Otherwise we can end up
   5647   # making bogus files that we don't know about and never remove.  For
   5648   # instance it was reported that on HP-UX the gcc test will end up
   5649   # making a dummy file named 'D' -- because '-MD' means "put the output
   5650   # in D".
   5651   rm -rf conftest.dir
   5652   mkdir conftest.dir
   5653   # Copy depcomp to subdir because otherwise we won't find it if we're
   5654   # using a relative directory.
   5655   cp "$am_depcomp" conftest.dir
   5656   cd conftest.dir
   5657   # We will build objects and dependencies in a subdirectory because
   5658   # it helps to detect inapplicable dependency modes.  For instance
   5659   # both Tru64's cc and ICC support -MD to output dependencies as a
   5660   # side effect of compilation, but ICC will put the dependencies in
   5661   # the current directory while Tru64 will put them in the object
   5662   # directory.
   5663   mkdir sub
   5664 
   5665   am_cv_CXX_dependencies_compiler_type=none
   5666   if test "$am_compiler_list" = ""; then
   5667      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5668   fi
   5669   am__universal=false
   5670   case " $depcc " in #(
   5671      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5672      esac
   5673 
   5674   for depmode in $am_compiler_list; do
   5675     # Setup a source with many dependencies, because some compilers
   5676     # like to wrap large dependency lists on column 80 (with \), and
   5677     # we should not choose a depcomp mode which is confused by this.
   5678     #
   5679     # We need to recreate these files for each test, as the compiler may
   5680     # overwrite some of them when testing with obscure command lines.
   5681     # This happens at least with the AIX C compiler.
   5682     : > sub/conftest.c
   5683     for i in 1 2 3 4 5 6; do
   5684       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5685       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5686       # Solaris 10 /bin/sh.
   5687       echo '/* dummy */' > sub/conftst$i.h
   5688     done
   5689     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5690 
   5691     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5692     # mode.  It turns out that the SunPro C++ compiler does not properly
   5693     # handle '-M -o', and we need to detect this.  Also, some Intel
   5694     # versions had trouble with output in subdirs.
   5695     am__obj=sub/conftest.${OBJEXT-o}
   5696     am__minus_obj="-o $am__obj"
   5697     case $depmode in
   5698     gcc)
   5699       # This depmode causes a compiler race in universal mode.
   5700       test "$am__universal" = false || continue
   5701       ;;
   5702     nosideeffect)
   5703       # After this tag, mechanisms are not by side-effect, so they'll
   5704       # only be used when explicitly requested.
   5705       if test "x$enable_dependency_tracking" = xyes; then
   5706 	continue
   5707       else
   5708 	break
   5709       fi
   5710       ;;
   5711     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5712       # This compiler won't grok '-c -o', but also, the minuso test has
   5713       # not run yet.  These depmodes are late enough in the game, and
   5714       # so weak that their functioning should not be impacted.
   5715       am__obj=conftest.${OBJEXT-o}
   5716       am__minus_obj=
   5717       ;;
   5718     none) break ;;
   5719     esac
   5720     if depmode=$depmode \
   5721        source=sub/conftest.c object=$am__obj \
   5722        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5723        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5724          >/dev/null 2>conftest.err &&
   5725        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5726        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5727        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5728        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5729       # icc doesn't choke on unknown options, it will just issue warnings
   5730       # or remarks (even with -Werror).  So we grep stderr for any message
   5731       # that says an option was ignored or not supported.
   5732       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5733       #   icc: Command line warning: ignoring option '-M'; no argument required
   5734       # The diagnosis changed in icc 8.0:
   5735       #   icc: Command line remark: option '-MP' not supported
   5736       if (grep 'ignoring option' conftest.err ||
   5737           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5738         am_cv_CXX_dependencies_compiler_type=$depmode
   5739         break
   5740       fi
   5741     fi
   5742   done
   5743 
   5744   cd ..
   5745   rm -rf conftest.dir
   5746 else
   5747   am_cv_CXX_dependencies_compiler_type=none
   5748 fi
   5749 
   5750 fi
   5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5752 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5753 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5754 
   5755  if
   5756   test "x$enable_dependency_tracking" != xno \
   5757   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5758   am__fastdepCXX_TRUE=
   5759   am__fastdepCXX_FALSE='#'
   5760 else
   5761   am__fastdepCXX_TRUE='#'
   5762   am__fastdepCXX_FALSE=
   5763 fi
   5764 
   5765 
   5766 ac_ext=c
   5767 ac_cpp='$CPP $CPPFLAGS'
   5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5772 printf %s "checking how to run the C preprocessor... " >&6; }
   5773 # On Suns, sometimes $CPP names a directory.
   5774 if test -n "$CPP" && test -d "$CPP"; then
   5775   CPP=
   5776 fi
   5777 if test -z "$CPP"; then
   5778   if test ${ac_cv_prog_CPP+y}
   5779 then :
   5780   printf %s "(cached) " >&6
   5781 else $as_nop
   5782       # Double quotes because $CC needs to be expanded
   5783     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   5784     do
   5785       ac_preproc_ok=false
   5786 for ac_c_preproc_warn_flag in '' yes
   5787 do
   5788   # Use a header file that comes with gcc, so configuring glibc
   5789   # with a fresh cross-compiler works.
   5790   # On the NeXT, cc -E runs the code through the compiler's parser,
   5791   # not just through cpp. "Syntax error" is here to catch this case.
   5792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5793 /* end confdefs.h.  */
   5794 #include <limits.h>
   5795 		     Syntax error
   5796 _ACEOF
   5797 if ac_fn_c_try_cpp "$LINENO"
   5798 then :
   5799 
   5800 else $as_nop
   5801   # Broken: fails on valid input.
   5802 continue
   5803 fi
   5804 rm -f conftest.err conftest.i conftest.$ac_ext
   5805 
   5806   # OK, works on sane cases.  Now check whether nonexistent headers
   5807   # can be detected and how.
   5808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5809 /* end confdefs.h.  */
   5810 #include <ac_nonexistent.h>
   5811 _ACEOF
   5812 if ac_fn_c_try_cpp "$LINENO"
   5813 then :
   5814   # Broken: success on invalid input.
   5815 continue
   5816 else $as_nop
   5817   # Passes both tests.
   5818 ac_preproc_ok=:
   5819 break
   5820 fi
   5821 rm -f conftest.err conftest.i conftest.$ac_ext
   5822 
   5823 done
   5824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5825 rm -f conftest.i conftest.err conftest.$ac_ext
   5826 if $ac_preproc_ok
   5827 then :
   5828   break
   5829 fi
   5830 
   5831     done
   5832     ac_cv_prog_CPP=$CPP
   5833 
   5834 fi
   5835   CPP=$ac_cv_prog_CPP
   5836 else
   5837   ac_cv_prog_CPP=$CPP
   5838 fi
   5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5840 printf "%s\n" "$CPP" >&6; }
   5841 ac_preproc_ok=false
   5842 for ac_c_preproc_warn_flag in '' yes
   5843 do
   5844   # Use a header file that comes with gcc, so configuring glibc
   5845   # with a fresh cross-compiler works.
   5846   # On the NeXT, cc -E runs the code through the compiler's parser,
   5847   # not just through cpp. "Syntax error" is here to catch this case.
   5848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5849 /* end confdefs.h.  */
   5850 #include <limits.h>
   5851 		     Syntax error
   5852 _ACEOF
   5853 if ac_fn_c_try_cpp "$LINENO"
   5854 then :
   5855 
   5856 else $as_nop
   5857   # Broken: fails on valid input.
   5858 continue
   5859 fi
   5860 rm -f conftest.err conftest.i conftest.$ac_ext
   5861 
   5862   # OK, works on sane cases.  Now check whether nonexistent headers
   5863   # can be detected and how.
   5864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5865 /* end confdefs.h.  */
   5866 #include <ac_nonexistent.h>
   5867 _ACEOF
   5868 if ac_fn_c_try_cpp "$LINENO"
   5869 then :
   5870   # Broken: success on invalid input.
   5871 continue
   5872 else $as_nop
   5873   # Passes both tests.
   5874 ac_preproc_ok=:
   5875 break
   5876 fi
   5877 rm -f conftest.err conftest.i conftest.$ac_ext
   5878 
   5879 done
   5880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5881 rm -f conftest.i conftest.err conftest.$ac_ext
   5882 if $ac_preproc_ok
   5883 then :
   5884 
   5885 else $as_nop
   5886   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5887 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   5888 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5889 See \`config.log' for more details" "$LINENO" 5; }
   5890 fi
   5891 
   5892 ac_ext=c
   5893 ac_cpp='$CPP $CPPFLAGS'
   5894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5897 
   5898 
   5899 
   5900   # Make sure we can run config.sub.
   5901 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5902   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5903 
   5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5905 printf %s "checking build system type... " >&6; }
   5906 if test ${ac_cv_build+y}
   5907 then :
   5908   printf %s "(cached) " >&6
   5909 else $as_nop
   5910   ac_build_alias=$build_alias
   5911 test "x$ac_build_alias" = x &&
   5912   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5913 test "x$ac_build_alias" = x &&
   5914   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5915 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5916   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5917 
   5918 fi
   5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5920 printf "%s\n" "$ac_cv_build" >&6; }
   5921 case $ac_cv_build in
   5922 *-*-*) ;;
   5923 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5924 esac
   5925 build=$ac_cv_build
   5926 ac_save_IFS=$IFS; IFS='-'
   5927 set x $ac_cv_build
   5928 shift
   5929 build_cpu=$1
   5930 build_vendor=$2
   5931 shift; shift
   5932 # Remember, the first character of IFS is used to create $*,
   5933 # except with old shells:
   5934 build_os=$*
   5935 IFS=$ac_save_IFS
   5936 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5937 
   5938 
   5939 
   5940 
   5941 cross_compiling_build=no
   5942 
   5943 ac_build_tool_prefix=
   5944 if test -n "$build"
   5945 then :
   5946   ac_build_tool_prefix="$build-"
   5947 elif test -n "$build_alias"
   5948 then :
   5949   ac_build_tool_prefix="$build_alias-"
   5950 fi
   5951 
   5952 ac_ext=c
   5953 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   5954 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   5955 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   5956 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   5957 
   5958 
   5959 was_set_c_compiler_gnu=${ac_cv_c_compiler_gnu+y}
   5960 if test ${was_set_c_compiler_gnu}
   5961 then :
   5962   saved_c_compiler_gnu=$ac_cv_c_compiler_gnu
   5963     { ac_cv_c_compiler_gnu=; unset ac_cv_c_compiler_gnu;}
   5964 fi
   5965 
   5966 ac_ext=c
   5967 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   5968 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   5969 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   5970 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   5971 if test -n "$ac_build_tool_prefix"; then
   5972   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5973 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
   5974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5975 printf %s "checking for $ac_word... " >&6; }
   5976 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   5977 then :
   5978   printf %s "(cached) " >&6
   5979 else $as_nop
   5980   if test -n "$CC_FOR_BUILD"; then
   5981   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   5982 else
   5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5984 for as_dir in $PATH
   5985 do
   5986   IFS=$as_save_IFS
   5987   case $as_dir in #(((
   5988     '') as_dir=./ ;;
   5989     */) ;;
   5990     *) as_dir=$as_dir/ ;;
   5991   esac
   5992     for ac_exec_ext in '' $ac_executable_extensions; do
   5993   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5994     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
   5995     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5996     break 2
   5997   fi
   5998 done
   5999   done
   6000 IFS=$as_save_IFS
   6001 
   6002 fi
   6003 fi
   6004 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6005 if test -n "$CC_FOR_BUILD"; then
   6006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6007 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6008 else
   6009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6010 printf "%s\n" "no" >&6; }
   6011 fi
   6012 
   6013 
   6014 fi
   6015 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
   6016   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6017   # Extract the first word of "gcc", so it can be a program name with args.
   6018 set dummy gcc; ac_word=$2
   6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6020 printf %s "checking for $ac_word... " >&6; }
   6021 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6022 then :
   6023   printf %s "(cached) " >&6
   6024 else $as_nop
   6025   if test -n "$ac_ct_CC_FOR_BUILD"; then
   6026   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6027 else
   6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6029 for as_dir in $PATH
   6030 do
   6031   IFS=$as_save_IFS
   6032   case $as_dir in #(((
   6033     '') as_dir=./ ;;
   6034     */) ;;
   6035     *) as_dir=$as_dir/ ;;
   6036   esac
   6037     for ac_exec_ext in '' $ac_executable_extensions; do
   6038   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6039     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
   6040     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6041     break 2
   6042   fi
   6043 done
   6044   done
   6045 IFS=$as_save_IFS
   6046 
   6047 fi
   6048 fi
   6049 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6050 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6052 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6053 else
   6054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6055 printf "%s\n" "no" >&6; }
   6056 fi
   6057 
   6058   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6059     CC_FOR_BUILD=""
   6060   else
   6061     case $cross_compiling_build:$ac_tool_warned in
   6062 yes:)
   6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6064 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6065 ac_tool_warned=yes ;;
   6066 esac
   6067     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6068   fi
   6069 else
   6070   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
   6071 fi
   6072 
   6073 if test -z "$CC_FOR_BUILD"; then
   6074           if test -n "$ac_build_tool_prefix"; then
   6075     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   6076 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
   6077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6078 printf %s "checking for $ac_word... " >&6; }
   6079 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6080 then :
   6081   printf %s "(cached) " >&6
   6082 else $as_nop
   6083   if test -n "$CC_FOR_BUILD"; then
   6084   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6085 else
   6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6087 for as_dir in $PATH
   6088 do
   6089   IFS=$as_save_IFS
   6090   case $as_dir in #(((
   6091     '') as_dir=./ ;;
   6092     */) ;;
   6093     *) as_dir=$as_dir/ ;;
   6094   esac
   6095     for ac_exec_ext in '' $ac_executable_extensions; do
   6096   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6097     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
   6098     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6099     break 2
   6100   fi
   6101 done
   6102   done
   6103 IFS=$as_save_IFS
   6104 
   6105 fi
   6106 fi
   6107 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6108 if test -n "$CC_FOR_BUILD"; then
   6109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6110 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6111 else
   6112   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6113 printf "%s\n" "no" >&6; }
   6114 fi
   6115 
   6116 
   6117   fi
   6118 fi
   6119 if test -z "$CC_FOR_BUILD"; then
   6120   # Extract the first word of "cc", so it can be a program name with args.
   6121 set dummy cc; ac_word=$2
   6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6123 printf %s "checking for $ac_word... " >&6; }
   6124 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6125 then :
   6126   printf %s "(cached) " >&6
   6127 else $as_nop
   6128   if test -n "$CC_FOR_BUILD"; then
   6129   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6130 else
   6131   ac_prog_rejected=no
   6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6133 for as_dir in $PATH
   6134 do
   6135   IFS=$as_save_IFS
   6136   case $as_dir in #(((
   6137     '') as_dir=./ ;;
   6138     */) ;;
   6139     *) as_dir=$as_dir/ ;;
   6140   esac
   6141     for ac_exec_ext in '' $ac_executable_extensions; do
   6142   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6143     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   6144        ac_prog_rejected=yes
   6145        continue
   6146      fi
   6147     ac_cv_prog_CC_FOR_BUILD="cc"
   6148     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6149     break 2
   6150   fi
   6151 done
   6152   done
   6153 IFS=$as_save_IFS
   6154 
   6155 if test $ac_prog_rejected = yes; then
   6156   # We found a bogon in the path, so make sure we never use it.
   6157   set dummy $ac_cv_prog_CC_FOR_BUILD
   6158   shift
   6159   if test $# != 0; then
   6160     # We chose a different compiler from the bogus one.
   6161     # However, it has the same basename, so the bogon will be chosen
   6162     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
   6163     shift
   6164     ac_cv_prog_CC_FOR_BUILD="$as_dir$ac_word${1+' '}$@"
   6165   fi
   6166 fi
   6167 fi
   6168 fi
   6169 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6170 if test -n "$CC_FOR_BUILD"; then
   6171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6172 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6173 else
   6174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6175 printf "%s\n" "no" >&6; }
   6176 fi
   6177 
   6178 
   6179 fi
   6180 if test -z "$CC_FOR_BUILD"; then
   6181   if test -n "$ac_build_tool_prefix"; then
   6182   for ac_prog in cl.exe
   6183   do
   6184     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6185 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
   6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6187 printf %s "checking for $ac_word... " >&6; }
   6188 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6189 then :
   6190   printf %s "(cached) " >&6
   6191 else $as_nop
   6192   if test -n "$CC_FOR_BUILD"; then
   6193   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6194 else
   6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6196 for as_dir in $PATH
   6197 do
   6198   IFS=$as_save_IFS
   6199   case $as_dir in #(((
   6200     '') as_dir=./ ;;
   6201     */) ;;
   6202     *) as_dir=$as_dir/ ;;
   6203   esac
   6204     for ac_exec_ext in '' $ac_executable_extensions; do
   6205   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6206     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
   6207     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6208     break 2
   6209   fi
   6210 done
   6211   done
   6212 IFS=$as_save_IFS
   6213 
   6214 fi
   6215 fi
   6216 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6217 if test -n "$CC_FOR_BUILD"; then
   6218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6219 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6220 else
   6221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6222 printf "%s\n" "no" >&6; }
   6223 fi
   6224 
   6225 
   6226     test -n "$CC_FOR_BUILD" && break
   6227   done
   6228 fi
   6229 if test -z "$CC_FOR_BUILD"; then
   6230   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6231   for ac_prog in cl.exe
   6232 do
   6233   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6234 set dummy $ac_prog; ac_word=$2
   6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6236 printf %s "checking for $ac_word... " >&6; }
   6237 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6238 then :
   6239   printf %s "(cached) " >&6
   6240 else $as_nop
   6241   if test -n "$ac_ct_CC_FOR_BUILD"; then
   6242   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6243 else
   6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6245 for as_dir in $PATH
   6246 do
   6247   IFS=$as_save_IFS
   6248   case $as_dir in #(((
   6249     '') as_dir=./ ;;
   6250     */) ;;
   6251     *) as_dir=$as_dir/ ;;
   6252   esac
   6253     for ac_exec_ext in '' $ac_executable_extensions; do
   6254   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6255     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
   6256     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6257     break 2
   6258   fi
   6259 done
   6260   done
   6261 IFS=$as_save_IFS
   6262 
   6263 fi
   6264 fi
   6265 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6266 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6268 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6269 else
   6270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6271 printf "%s\n" "no" >&6; }
   6272 fi
   6273 
   6274 
   6275   test -n "$ac_ct_CC_FOR_BUILD" && break
   6276 done
   6277 
   6278   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6279     CC_FOR_BUILD=""
   6280   else
   6281     case $cross_compiling_build:$ac_tool_warned in
   6282 yes:)
   6283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6284 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6285 ac_tool_warned=yes ;;
   6286 esac
   6287     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6288   fi
   6289 fi
   6290 
   6291 fi
   6292 if test -z "$CC_FOR_BUILD"; then
   6293   if test -n "$ac_build_tool_prefix"; then
   6294   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   6295 set dummy ${ac_build_tool_prefix}clang; ac_word=$2
   6296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6297 printf %s "checking for $ac_word... " >&6; }
   6298 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   6299 then :
   6300   printf %s "(cached) " >&6
   6301 else $as_nop
   6302   if test -n "$CC_FOR_BUILD"; then
   6303   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   6304 else
   6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6306 for as_dir in $PATH
   6307 do
   6308   IFS=$as_save_IFS
   6309   case $as_dir in #(((
   6310     '') as_dir=./ ;;
   6311     */) ;;
   6312     *) as_dir=$as_dir/ ;;
   6313   esac
   6314     for ac_exec_ext in '' $ac_executable_extensions; do
   6315   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6316     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}clang"
   6317     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6318     break 2
   6319   fi
   6320 done
   6321   done
   6322 IFS=$as_save_IFS
   6323 
   6324 fi
   6325 fi
   6326 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   6327 if test -n "$CC_FOR_BUILD"; then
   6328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   6329 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   6330 else
   6331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6332 printf "%s\n" "no" >&6; }
   6333 fi
   6334 
   6335 
   6336 fi
   6337 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
   6338   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
   6339   # Extract the first word of "clang", so it can be a program name with args.
   6340 set dummy clang; ac_word=$2
   6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6342 printf %s "checking for $ac_word... " >&6; }
   6343 if test ${ac_cv_prog_ac_ct_CC_FOR_BUILD+y}
   6344 then :
   6345   printf %s "(cached) " >&6
   6346 else $as_nop
   6347   if test -n "$ac_ct_CC_FOR_BUILD"; then
   6348   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
   6349 else
   6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6351 for as_dir in $PATH
   6352 do
   6353   IFS=$as_save_IFS
   6354   case $as_dir in #(((
   6355     '') as_dir=./ ;;
   6356     */) ;;
   6357     *) as_dir=$as_dir/ ;;
   6358   esac
   6359     for ac_exec_ext in '' $ac_executable_extensions; do
   6360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6361     ac_cv_prog_ac_ct_CC_FOR_BUILD="clang"
   6362     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6363     break 2
   6364   fi
   6365 done
   6366   done
   6367 IFS=$as_save_IFS
   6368 
   6369 fi
   6370 fi
   6371 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
   6372 if test -n "$ac_ct_CC_FOR_BUILD"; then
   6373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
   6374 printf "%s\n" "$ac_ct_CC_FOR_BUILD" >&6; }
   6375 else
   6376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6377 printf "%s\n" "no" >&6; }
   6378 fi
   6379 
   6380   if test "x$ac_ct_CC_FOR_BUILD" = x; then
   6381     CC_FOR_BUILD=""
   6382   else
   6383     case $cross_compiling_build:$ac_tool_warned in
   6384 yes:)
   6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
   6386 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
   6387 ac_tool_warned=yes ;;
   6388 esac
   6389     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
   6390   fi
   6391 else
   6392   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
   6393 fi
   6394 
   6395 fi
   6396 
   6397 
   6398 test -z "$CC_FOR_BUILD" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6399 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   6400 as_fn_error $? "no acceptable C compiler found in \$PATH
   6401 See \`config.log' for more details" "$LINENO" 5; }
   6402 
   6403 # Provide some information about the compiler.
   6404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   6405 set X $ac_compile
   6406 ac_compiler=$2
   6407 for ac_option in --version -v -V -qversion -version; do
   6408   { { ac_try="$ac_compiler $ac_option >&5"
   6409 case "(($ac_try" in
   6410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6411   *) ac_try_echo=$ac_try;;
   6412 esac
   6413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6414 printf "%s\n" "$ac_try_echo"; } >&5
   6415   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6416   ac_status=$?
   6417   if test -s conftest.err; then
   6418     sed '10a\
   6419 ... rest of stderr output deleted ...
   6420          10q' conftest.err >conftest.er1
   6421     cat conftest.er1 >&5
   6422   fi
   6423   rm -f conftest.er1 conftest.err
   6424   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6425   test $ac_status = 0; }
   6426 done
   6427 
   6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   6429 printf %s "checking whether the compiler supports GNU C... " >&6; }
   6430 if test ${ac_cv_c_compiler_gnu+y}
   6431 then :
   6432   printf %s "(cached) " >&6
   6433 else $as_nop
   6434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6435 /* end confdefs.h.  */
   6436 
   6437 int
   6438 main (void)
   6439 {
   6440 #ifndef __GNUC__
   6441        choke me
   6442 #endif
   6443 
   6444   ;
   6445   return 0;
   6446 }
   6447 _ACEOF
   6448 if ac_fn_c_try_compile "$LINENO"
   6449 then :
   6450   ac_compiler_gnu=yes
   6451 else $as_nop
   6452   ac_compiler_gnu=no
   6453 fi
   6454 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   6455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   6456 
   6457 fi
   6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   6459 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   6460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6461 
   6462 if test $ac_compiler_gnu = yes; then
   6463   GCC_FOR_BUILD=yes
   6464 else
   6465   GCC_FOR_BUILD=
   6466 fi
   6467 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+y}
   6468 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
   6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
   6470 printf %s "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
   6471 if test ${ac_cv_build_prog_cc_g+y}
   6472 then :
   6473   printf %s "(cached) " >&6
   6474 else $as_nop
   6475   ac_save_c_werror_flag=$ac_c_werror_flag
   6476    ac_c_werror_flag=yes
   6477    ac_cv_build_prog_cc_g=no
   6478    CFLAGS_FOR_BUILD="-g"
   6479    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6480 /* end confdefs.h.  */
   6481 
   6482 int
   6483 main (void)
   6484 {
   6485 
   6486   ;
   6487   return 0;
   6488 }
   6489 _ACEOF
   6490 if ac_fn_c_try_compile "$LINENO"
   6491 then :
   6492   ac_cv_build_prog_cc_g=yes
   6493 else $as_nop
   6494   CFLAGS_FOR_BUILD=""
   6495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6496 /* end confdefs.h.  */
   6497 
   6498 int
   6499 main (void)
   6500 {
   6501 
   6502   ;
   6503   return 0;
   6504 }
   6505 _ACEOF
   6506 if ac_fn_c_try_compile "$LINENO"
   6507 then :
   6508 
   6509 else $as_nop
   6510   ac_c_werror_flag=$ac_save_c_werror_flag
   6511 	 CFLAGS_FOR_BUILD="-g"
   6512 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6513 /* end confdefs.h.  */
   6514 
   6515 int
   6516 main (void)
   6517 {
   6518 
   6519   ;
   6520   return 0;
   6521 }
   6522 _ACEOF
   6523 if ac_fn_c_try_compile "$LINENO"
   6524 then :
   6525   ac_cv_build_prog_cc_g=yes
   6526 fi
   6527 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   6528 fi
   6529 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   6530 fi
   6531 rm -f core conftest.err conftest.$ac_build_objext conftest.beam conftest.$ac_ext
   6532    ac_c_werror_flag=$ac_save_c_werror_flag
   6533 fi
   6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
   6535 printf "%s\n" "$ac_cv_build_prog_cc_g" >&6; }
   6536 if test $ac_test_CFLAGS; then
   6537   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
   6538 elif test $ac_cv_build_prog_cc_g = yes; then
   6539   if test "$GCC_FOR_BUILD" = yes; then
   6540     CFLAGS_FOR_BUILD="-g -O2"
   6541   else
   6542     CFLAGS_FOR_BUILD="-g"
   6543   fi
   6544 else
   6545   if test "$GCC_FOR_BUILD" = yes; then
   6546     CFLAGS_FOR_BUILD="-O2"
   6547   else
   6548     CFLAGS_FOR_BUILD=
   6549   fi
   6550 fi
   6551 ac_prog_cc_stdc=no
   6552 if test x$ac_prog_cc_stdc = xno
   6553 then :
   6554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C11 features" >&5
   6555 printf %s "checking for $CC_FOR_BUILD option to enable C11 features... " >&6; }
   6556 if test ${ac_cv_build_prog_cc_c11+y}
   6557 then :
   6558   printf %s "(cached) " >&6
   6559 else $as_nop
   6560   ac_cv_build_prog_cc_c11=no
   6561 ac_save_CC=$CC_FOR_BUILD
   6562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6563 /* end confdefs.h.  */
   6564 $ac_c_conftest_c11_program
   6565 _ACEOF
   6566 for ac_arg in '' -std=gnu11
   6567 do
   6568   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   6569   if ac_fn_c_try_compile "$LINENO"
   6570 then :
   6571   ac_cv_build_prog_cc_c11=$ac_arg
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   6574   test "x$ac_cv_build_prog_cc_c11" != "xno" && break
   6575 done
   6576 rm -f conftest.$ac_ext
   6577 CC_FOR_BUILD=$ac_save_CC
   6578 fi
   6579 
   6580 if test "x$ac_cv_build_prog_cc_c11" = xno
   6581 then :
   6582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6583 printf "%s\n" "unsupported" >&6; }
   6584 else $as_nop
   6585   if test "x$ac_cv_build_prog_cc_c11" = x
   6586 then :
   6587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6588 printf "%s\n" "none needed" >&6; }
   6589 else $as_nop
   6590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c11" >&5
   6591 printf "%s\n" "$ac_cv_build_prog_cc_c11" >&6; }
   6592      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c11"
   6593 fi
   6594   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c11
   6595   ac_prog_cc_stdc=c11
   6596 fi
   6597 fi
   6598 if test x$ac_prog_cc_stdc = xno
   6599 then :
   6600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C99 features" >&5
   6601 printf %s "checking for $CC_FOR_BUILD option to enable C99 features... " >&6; }
   6602 if test ${ac_cv_build_prog_cc_c99+y}
   6603 then :
   6604   printf %s "(cached) " >&6
   6605 else $as_nop
   6606   ac_cv_build_prog_cc_c99=no
   6607 ac_save_CC=$CC_FOR_BUILD
   6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 $ac_c_conftest_c99_program
   6611 _ACEOF
   6612 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   6613 do
   6614   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   6615   if ac_fn_c_try_compile "$LINENO"
   6616 then :
   6617   ac_cv_build_prog_cc_c99=$ac_arg
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   6620   test "x$ac_cv_build_prog_cc_c99" != "xno" && break
   6621 done
   6622 rm -f conftest.$ac_ext
   6623 CC_FOR_BUILD=$ac_save_CC
   6624 fi
   6625 
   6626 if test "x$ac_cv_build_prog_cc_c99" = xno
   6627 then :
   6628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6629 printf "%s\n" "unsupported" >&6; }
   6630 else $as_nop
   6631   if test "x$ac_cv_build_prog_cc_c99" = x
   6632 then :
   6633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6634 printf "%s\n" "none needed" >&6; }
   6635 else $as_nop
   6636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c99" >&5
   6637 printf "%s\n" "$ac_cv_build_prog_cc_c99" >&6; }
   6638      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c99"
   6639 fi
   6640   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c99
   6641   ac_prog_cc_stdc=c99
   6642 fi
   6643 fi
   6644 if test x$ac_prog_cc_stdc = xno
   6645 then :
   6646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to enable C89 features" >&5
   6647 printf %s "checking for $CC_FOR_BUILD option to enable C89 features... " >&6; }
   6648 if test ${ac_cv_build_prog_cc_c89+y}
   6649 then :
   6650   printf %s "(cached) " >&6
   6651 else $as_nop
   6652   ac_cv_build_prog_cc_c89=no
   6653 ac_save_CC=$CC_FOR_BUILD
   6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6655 /* end confdefs.h.  */
   6656 $ac_c_conftest_c89_program
   6657 _ACEOF
   6658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   6659 do
   6660   CC_FOR_BUILD="$ac_save_CC $ac_arg"
   6661   if ac_fn_c_try_compile "$LINENO"
   6662 then :
   6663   ac_cv_build_prog_cc_c89=$ac_arg
   6664 fi
   6665 rm -f core conftest.err conftest.$ac_build_objext conftest.beam
   6666   test "x$ac_cv_build_prog_cc_c89" != "xno" && break
   6667 done
   6668 rm -f conftest.$ac_ext
   6669 CC_FOR_BUILD=$ac_save_CC
   6670 fi
   6671 
   6672 if test "x$ac_cv_build_prog_cc_c89" = xno
   6673 then :
   6674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   6675 printf "%s\n" "unsupported" >&6; }
   6676 else $as_nop
   6677   if test "x$ac_cv_build_prog_cc_c89" = x
   6678 then :
   6679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6680 printf "%s\n" "none needed" >&6; }
   6681 else $as_nop
   6682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
   6683 printf "%s\n" "$ac_cv_build_prog_cc_c89" >&6; }
   6684      CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89"
   6685 fi
   6686   ac_cv_prog_cc_stdc=$ac_cv_build_prog_cc_c89
   6687   ac_prog_cc_stdc=c89
   6688 fi
   6689 fi
   6690 
   6691 ac_ext=c
   6692 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6693 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6694 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6695 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6696 
   6697 
   6698   ac_ext=c
   6699 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6700 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6701 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6702 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
   6704 printf %s "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
   6705 if test ${am_cv_build_prog_cc_c_o+y}
   6706 then :
   6707   printf %s "(cached) " >&6
   6708 else $as_nop
   6709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6710 /* end confdefs.h.  */
   6711 
   6712 int
   6713 main (void)
   6714 {
   6715 
   6716   ;
   6717   return 0;
   6718 }
   6719 _ACEOF
   6720   # Make sure it works both with $CC and with simple cc.
   6721   # Following AC_PROG_CC_C_O, we do the test twice because some
   6722   # compilers refuse to overwrite an existing .o file with -o,
   6723   # though they will create one.
   6724   am_cv_build_prog_cc_c_o=yes
   6725   for am_i in 1 2; do
   6726     if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
   6727    ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
   6728    ac_status=$?
   6729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6730    (exit $ac_status); } \
   6731          && test -f conftest2.$ac_build_objext; then
   6732       : OK
   6733     else
   6734       am_cv_build_prog_cc_c_o=no
   6735       break
   6736     fi
   6737   done
   6738   rm -f core conftest*
   6739   unset am_i
   6740 fi
   6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
   6742 printf "%s\n" "$am_cv_build_prog_cc_c_o" >&6; }
   6743 if test "$am_cv_build_prog_cc_c_o" != yes; then
   6744    # Losing compiler, so override with the script.
   6745    # FIXME: It is wrong to rewrite CC.
   6746    # But if we don't then we get into trouble of one sort or another.
   6747    # A longer-term fix would be to have automake use am__CC in this case,
   6748    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   6749    CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
   6750 fi
   6751 ac_ext=c
   6752 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   6753 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   6754 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   6755 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   6756 
   6757 
   6758 depcc="$CC_FOR_BUILD"   am_compiler_list=
   6759 
   6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6761 printf %s "checking dependency style of $depcc... " >&6; }
   6762 if test ${am_cv_build_CC_dependencies_compiler_type+y}
   6763 then :
   6764   printf %s "(cached) " >&6
   6765 else $as_nop
   6766   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6767   # We make a subdir and do the tests there.  Otherwise we can end up
   6768   # making bogus files that we don't know about and never remove.  For
   6769   # instance it was reported that on HP-UX the gcc test will end up
   6770   # making a dummy file named 'D' -- because '-MD' means "put the output
   6771   # in D".
   6772   rm -rf conftest.dir
   6773   mkdir conftest.dir
   6774   # Copy depcomp to subdir because otherwise we won't find it if we're
   6775   # using a relative directory.
   6776   cp "$am_depcomp" conftest.dir
   6777   cd conftest.dir
   6778   # We will build objects and dependencies in a subdirectory because
   6779   # it helps to detect inapplicable dependency modes.  For instance
   6780   # both Tru64's cc and ICC support -MD to output dependencies as a
   6781   # side effect of compilation, but ICC will put the dependencies in
   6782   # the current directory while Tru64 will put them in the object
   6783   # directory.
   6784   mkdir sub
   6785 
   6786   am_cv_build_CC_dependencies_compiler_type=none
   6787   if test "$am_compiler_list" = ""; then
   6788      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6789   fi
   6790   am__universal=false
   6791   case " $depcc " in #(
   6792      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   6793      esac
   6794 
   6795   for depmode in $am_compiler_list; do
   6796     # Setup a source with many dependencies, because some compilers
   6797     # like to wrap large dependency lists on column 80 (with \), and
   6798     # we should not choose a depcomp mode which is confused by this.
   6799     #
   6800     # We need to recreate these files for each test, as the compiler may
   6801     # overwrite some of them when testing with obscure command lines.
   6802     # This happens at least with the AIX C compiler.
   6803     : > sub/conftest.c
   6804     for i in 1 2 3 4 5 6; do
   6805       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6806       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   6807       # Solaris 10 /bin/sh.
   6808       echo '/* dummy */' > sub/conftst$i.h
   6809     done
   6810     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6811 
   6812     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   6813     # mode.  It turns out that the SunPro C++ compiler does not properly
   6814     # handle '-M -o', and we need to detect this.  Also, some Intel
   6815     # versions had trouble with output in subdirs.
   6816     am__obj=sub/conftest.${BUILD_OBJEXT-o}
   6817     am__minus_obj="-o $am__obj"
   6818     case $depmode in
   6819     gcc)
   6820       # This depmode causes a compiler race in universal mode.
   6821       test "$am__universal" = false || continue
   6822       ;;
   6823     nosideeffect)
   6824       # After this tag, mechanisms are not by side-effect, so they'll
   6825       # only be used when explicitly requested.
   6826       if test "x$enable_dependency_tracking" = xyes; then
   6827 	continue
   6828       else
   6829 	break
   6830       fi
   6831       ;;
   6832     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6833       # This compiler won't grok '-c -o', but also, the minuso test has
   6834       # not run yet.  These depmodes are late enough in the game, and
   6835       # so weak that their functioning should not be impacted.
   6836       am__obj=conftest.${BUILD_OBJEXT-o}
   6837       am__minus_obj=
   6838       ;;
   6839     none) break ;;
   6840     esac
   6841     if depmode=$depmode \
   6842        source=sub/conftest.c object=$am__obj \
   6843        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6844        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6845          >/dev/null 2>conftest.err &&
   6846        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6847        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6848        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6849        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6850       # icc doesn't choke on unknown options, it will just issue warnings
   6851       # or remarks (even with -Werror).  So we grep stderr for any message
   6852       # that says an option was ignored or not supported.
   6853       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6854       #   icc: Command line warning: ignoring option '-M'; no argument required
   6855       # The diagnosis changed in icc 8.0:
   6856       #   icc: Command line remark: option '-MP' not supported
   6857       if (grep 'ignoring option' conftest.err ||
   6858           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6859         am_cv_build_CC_dependencies_compiler_type=$depmode
   6860         break
   6861       fi
   6862     fi
   6863   done
   6864 
   6865   cd ..
   6866   rm -rf conftest.dir
   6867 else
   6868   am_cv_build_CC_dependencies_compiler_type=none
   6869 fi
   6870 
   6871 fi
   6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
   6873 printf "%s\n" "$am_cv_build_CC_dependencies_compiler_type" >&6; }
   6874 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
   6875 
   6876  if
   6877   test "x$enable_dependency_tracking" != xno \
   6878   && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
   6879   am__fastdepCC_build_TRUE=
   6880   am__fastdepCC_build_FALSE='#'
   6881 else
   6882   am__fastdepCC_build_TRUE='#'
   6883   am__fastdepCC_build_FALSE=
   6884 fi
   6885 
   6886 
   6887 
   6888 if test ${was_set_c_compiler_gnu}
   6889 then :
   6890   ac_cv_c_compiler_gnu=$saved_c_compiler_gnu
   6891 fi
   6892 
   6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 
   6896 int
   6897 main (void)
   6898 {
   6899 
   6900   ;
   6901   return 0;
   6902 }
   6903 _ACEOF
   6904 ac_clean_files_save=$ac_clean_files
   6905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   6906 # Try to create an executable without -o first, disregard a.out.
   6907 # It will help us diagnose broken compilers, and finding out an intuition
   6908 # of exeext.
   6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   6910 printf %s "checking whether the C compiler works... " >&6; }
   6911 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   6912 
   6913 # The possible output files:
   6914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   6915 
   6916 ac_rmfiles=
   6917 for ac_file in $ac_files
   6918 do
   6919   case $ac_file in
   6920     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   6921     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   6922   esac
   6923 done
   6924 rm -f $ac_rmfiles
   6925 
   6926 if { { ac_try="$ac_link_default"
   6927 case "(($ac_try" in
   6928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6929   *) ac_try_echo=$ac_try;;
   6930 esac
   6931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6932 printf "%s\n" "$ac_try_echo"; } >&5
   6933   (eval "$ac_link_default") 2>&5
   6934   ac_status=$?
   6935   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6936   test $ac_status = 0; }
   6937 then :
   6938   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   6939 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   6940 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   6941 # so that the user can short-circuit this test for compilers unknown to
   6942 # Autoconf.
   6943 for ac_file in $ac_files ''
   6944 do
   6945   test -f "$ac_file" || continue
   6946   case $ac_file in
   6947     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   6948 	;;
   6949     [ab].out )
   6950 	# We found the default executable, but exeext='' is most
   6951 	# certainly right.
   6952 	break;;
   6953     *.* )
   6954 	if test ${ac_cv_build_exeext+y} && test "$ac_cv_build_exeext" != no;
   6955 	then :; else
   6956 	   ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   6957 	fi
   6958 	# We set ac_cv_exeext here because the later test for it is not
   6959 	# safe: cross compilers may not add the suffix if given an `-o'
   6960 	# argument, so we may need to know it at that point already.
   6961 	# Even if this section looks crufty: it has the advantage of
   6962 	# actually working.
   6963 	break;;
   6964     * )
   6965 	break;;
   6966   esac
   6967 done
   6968 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
   6969 
   6970 else $as_nop
   6971   ac_file=''
   6972 fi
   6973 if test -z "$ac_file"
   6974 then :
   6975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6976 printf "%s\n" "no" >&6; }
   6977 printf "%s\n" "$as_me: failed program was:" >&5
   6978 sed 's/^/| /' conftest.$ac_ext >&5
   6979 
   6980 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6981 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   6982 as_fn_error 77 "C compiler cannot create executables
   6983 See \`config.log' for more details" "$LINENO" 5; }
   6984 else $as_nop
   6985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6986 printf "%s\n" "yes" >&6; }
   6987 fi
   6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   6989 printf %s "checking for C compiler default output file name... " >&6; }
   6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   6991 printf "%s\n" "$ac_file" >&6; }
   6992 ac_build_exeext=$ac_cv_build_exeext
   6993 
   6994 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
   6995 ac_clean_files=$ac_clean_files_save
   6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   6997 printf %s "checking for suffix of executables... " >&6; }
   6998 if { { ac_try="$ac_link"
   6999 case "(($ac_try" in
   7000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7001   *) ac_try_echo=$ac_try;;
   7002 esac
   7003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7004 printf "%s\n" "$ac_try_echo"; } >&5
   7005   (eval "$ac_link") 2>&5
   7006   ac_status=$?
   7007   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7008   test $ac_status = 0; }
   7009 then :
   7010   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   7011 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   7012 # work properly (i.e., refer to `conftest.exe'), while it won't with
   7013 # `rm'.
   7014 for ac_file in conftest.exe conftest conftest.*; do
   7015   test -f "$ac_file" || continue
   7016   case $ac_file in
   7017     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   7018     *.* ) ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   7019 	  break;;
   7020     * ) break;;
   7021   esac
   7022 done
   7023 else $as_nop
   7024   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7025 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7026 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   7027 See \`config.log' for more details" "$LINENO" 5; }
   7028 fi
   7029 rm -f conftest conftest$ac_cv_build_exeext
   7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
   7031 printf "%s\n" "$ac_cv_build_exeext" >&6; }
   7032 
   7033 rm -f conftest.$ac_ext
   7034 EXEEXT=$ac_cv_build_exeext
   7035 ac_build_exeext=$BUILD_EXEEXT
   7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7037 /* end confdefs.h.  */
   7038 #include <stdio.h>
   7039 int
   7040 main (void)
   7041 {
   7042 FILE *f = fopen ("conftest.out", "w");
   7043  return ferror (f) || fclose (f) != 0;
   7044 
   7045   ;
   7046   return 0;
   7047 }
   7048 _ACEOF
   7049 ac_clean_files="$ac_clean_files conftest.out"
   7050 # Check that the compiler produces executables we can run.  If not, either
   7051 # the compiler is broken, or we cross compile.
   7052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   7053 printf %s "checking whether we are cross compiling... " >&6; }
   7054 if test "$cross_compiling_build" != yes; then
   7055   { { ac_try="$ac_link"
   7056 case "(($ac_try" in
   7057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7058   *) ac_try_echo=$ac_try;;
   7059 esac
   7060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7061 printf "%s\n" "$ac_try_echo"; } >&5
   7062   (eval "$ac_link") 2>&5
   7063   ac_status=$?
   7064   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7065   test $ac_status = 0; }
   7066   if { ac_try='./conftest$ac_cv_build_exeext'
   7067   { { case "(($ac_try" in
   7068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7069   *) ac_try_echo=$ac_try;;
   7070 esac
   7071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7072 printf "%s\n" "$ac_try_echo"; } >&5
   7073   (eval "$ac_try") 2>&5
   7074   ac_status=$?
   7075   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7076   test $ac_status = 0; }; }; then
   7077     cross_compiling_build=no
   7078   else
   7079     if test "$cross_compiling_build" = maybe; then
   7080 	cross_compiling_build=yes
   7081     else
   7082 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7084 as_fn_error 77 "cannot run C compiled programs.
   7085 If you meant to cross compile, use \`--build'.
   7086 See \`config.log' for more details" "$LINENO" 5; }
   7087     fi
   7088   fi
   7089 fi
   7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling_build" >&5
   7091 printf "%s\n" "$cross_compiling_build" >&6; }
   7092 
   7093 rm -f conftest.$ac_ext conftest$ac_cv_build_exeext conftest.out
   7094 ac_clean_files=$ac_clean_files_save
   7095 
   7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   7097 printf %s "checking for suffix of object files... " >&6; }
   7098 if test ${ac_cv_build_objext+y}
   7099 then :
   7100   printf %s "(cached) " >&6
   7101 else $as_nop
   7102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7103 /* end confdefs.h.  */
   7104 
   7105 int
   7106 main (void)
   7107 {
   7108 
   7109   ;
   7110   return 0;
   7111 }
   7112 _ACEOF
   7113 rm -f conftest.o conftest.obj
   7114 if { { ac_try="$ac_compile"
   7115 case "(($ac_try" in
   7116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7117   *) ac_try_echo=$ac_try;;
   7118 esac
   7119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7120 printf "%s\n" "$ac_try_echo"; } >&5
   7121   (eval "$ac_compile") 2>&5
   7122   ac_status=$?
   7123   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7124   test $ac_status = 0; }
   7125 then :
   7126   for ac_file in conftest.o conftest.obj conftest.*; do
   7127   test -f "$ac_file" || continue;
   7128   case $ac_file in
   7129     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   7130     *) ac_cv_build_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   7131        break;;
   7132   esac
   7133 done
   7134 else $as_nop
   7135   printf "%s\n" "$as_me: failed program was:" >&5
   7136 sed 's/^/| /' conftest.$ac_ext >&5
   7137 
   7138 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7139 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7140 as_fn_error $? "cannot compute suffix of object files: cannot compile
   7141 See \`config.log' for more details" "$LINENO" 5; }
   7142 fi
   7143 rm -f conftest.$ac_cv_build_objext conftest.$ac_ext
   7144 fi
   7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_objext" >&5
   7146 printf "%s\n" "$ac_cv_build_objext" >&6; }
   7147 OBJEXT=$ac_cv_build_objext
   7148 ac_build_objext=$BUILD_OBJEXT
   7149 
   7150 ac_ext=c
   7151 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7152 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7153 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7154 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7156 printf %s "checking how to run the C preprocessor... " >&6; }
   7157 # On Suns, sometimes $CPP names a directory.
   7158 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
   7159   CPP_FOR_BUILD=
   7160 fi
   7161 if test -z "$CPP_FOR_BUILD"; then
   7162   if test ${ac_cv_build_prog_CPP+y}
   7163 then :
   7164   printf %s "(cached) " >&6
   7165 else $as_nop
   7166       # Double quotes because $CC needs to be expanded
   7167     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" cpp /lib/cpp
   7168     do
   7169       ac_preproc_ok=false
   7170 for ac_c_preproc_warn_flag in '' yes
   7171 do
   7172   # Use a header file that comes with gcc, so configuring glibc
   7173   # with a fresh cross-compiler works.
   7174   # On the NeXT, cc -E runs the code through the compiler's parser,
   7175   # not just through cpp. "Syntax error" is here to catch this case.
   7176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7177 /* end confdefs.h.  */
   7178 #include <limits.h>
   7179 		     Syntax error
   7180 _ACEOF
   7181 if ac_fn_c_try_cpp "$LINENO"
   7182 then :
   7183 
   7184 else $as_nop
   7185   # Broken: fails on valid input.
   7186 continue
   7187 fi
   7188 rm -f conftest.err conftest.i conftest.$ac_ext
   7189 
   7190   # OK, works on sane cases.  Now check whether nonexistent headers
   7191   # can be detected and how.
   7192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 #include <ac_nonexistent.h>
   7195 _ACEOF
   7196 if ac_fn_c_try_cpp "$LINENO"
   7197 then :
   7198   # Broken: success on invalid input.
   7199 continue
   7200 else $as_nop
   7201   # Passes both tests.
   7202 ac_preproc_ok=:
   7203 break
   7204 fi
   7205 rm -f conftest.err conftest.i conftest.$ac_ext
   7206 
   7207 done
   7208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7209 rm -f conftest.i conftest.err conftest.$ac_ext
   7210 if $ac_preproc_ok
   7211 then :
   7212   break
   7213 fi
   7214 
   7215     done
   7216     ac_cv_build_prog_CPP=$CPP_FOR_BUILD
   7217 
   7218 fi
   7219   CPP_FOR_BUILD=$ac_cv_build_prog_CPP
   7220 else
   7221   ac_cv_build_prog_CPP=$CPP_FOR_BUILD
   7222 fi
   7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
   7224 printf "%s\n" "$CPP_FOR_BUILD" >&6; }
   7225 ac_preproc_ok=false
   7226 for ac_c_preproc_warn_flag in '' yes
   7227 do
   7228   # Use a header file that comes with gcc, so configuring glibc
   7229   # with a fresh cross-compiler works.
   7230   # On the NeXT, cc -E runs the code through the compiler's parser,
   7231   # not just through cpp. "Syntax error" is here to catch this case.
   7232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7233 /* end confdefs.h.  */
   7234 #include <limits.h>
   7235 		     Syntax error
   7236 _ACEOF
   7237 if ac_fn_c_try_cpp "$LINENO"
   7238 then :
   7239 
   7240 else $as_nop
   7241   # Broken: fails on valid input.
   7242 continue
   7243 fi
   7244 rm -f conftest.err conftest.i conftest.$ac_ext
   7245 
   7246   # OK, works on sane cases.  Now check whether nonexistent headers
   7247   # can be detected and how.
   7248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7249 /* end confdefs.h.  */
   7250 #include <ac_nonexistent.h>
   7251 _ACEOF
   7252 if ac_fn_c_try_cpp "$LINENO"
   7253 then :
   7254   # Broken: success on invalid input.
   7255 continue
   7256 else $as_nop
   7257   # Passes both tests.
   7258 ac_preproc_ok=:
   7259 break
   7260 fi
   7261 rm -f conftest.err conftest.i conftest.$ac_ext
   7262 
   7263 done
   7264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7265 rm -f conftest.i conftest.err conftest.$ac_ext
   7266 if $ac_preproc_ok
   7267 then :
   7268 
   7269 else $as_nop
   7270   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7271 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   7272 as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
   7273 See \`config.log' for more details" "$LINENO" 5; }
   7274 fi
   7275 
   7276 ac_ext=c
   7277 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
   7278 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
   7279 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
   7280 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
   7281 
   7282 
   7283 
   7284 ac_ext=c
   7285 ac_cpp='$CPP $CPPFLAGS'
   7286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7289 
   7290 
   7291 EXEEXT=$ac_cv_exeext
   7292 BUILD_EXEEXT=$ac_cv_build_exeext; ac_build_exeext=$ac_cv_build_exeext
   7293 OBJEXT=$ac_cv_objext
   7294 BUILD_OBJEXT=$ac_cv_build_objext; ac_build_objext=$ac_cv_build_objext
   7295 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   7296 CCDEPMODE_FOR_BUILD=depmode=$am_cv_build_CC_dependencies_compiler_type
   7297 
   7298 
   7299 
   7300     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
   7301 printf %s "checking for C compiler vendor... " >&6; }
   7302 if test ${ax_cv_c_compiler_vendor+y}
   7303 then :
   7304   printf %s "(cached) " >&6
   7305 else $as_nop
   7306 
   7307 	vendors="
   7308 		intel:		__ICC,__ECC,__INTEL_COMPILER
   7309 		ibm:		__xlc__,__xlC__,__IBMC__,__IBMCPP__,__ibmxl__
   7310 		pathscale:	__PATHCC__,__PATHSCALE__
   7311 		clang:		__clang__
   7312 		cray:		_CRAYC
   7313 		fujitsu:	__FUJITSU
   7314 		sdcc:		SDCC,__SDCC
   7315 		sx:		_SX
   7316 		nvhpc:		__NVCOMPILER
   7317 		portland:	__PGI
   7318 		pcc:		__PCC__
   7319 		gnu:		__GNUC__
   7320 		sun:		__SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95
   7321 		hp:		__HP_cc,__HP_aCC
   7322 		dec:		__DECC,__DECCXX,__DECC_VER,__DECCXX_VER
   7323 		borland:	__BORLANDC__,__CODEGEARC__,__TURBOC__
   7324 		comeau:		__COMO__
   7325 		kai:		__KCC
   7326 		lcc:		__LCC__
   7327 		sgi:		__sgi,sgi
   7328 		microsoft:	_MSC_VER
   7329 		metrowerks:	__MWERKS__
   7330 		watcom:		__WATCOMC__
   7331 		tcc:		__TINYC__
   7332 		unknown:	UNKNOWN
   7333 	"
   7334 	for ventest in $vendors; do
   7335 	    case $ventest in
   7336 		*:)
   7337 		    vendor=$ventest
   7338 		    continue
   7339 		    ;;
   7340 		*)
   7341 		    vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")"
   7342 		    ;;
   7343 	    esac
   7344 
   7345 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7346 /* end confdefs.h.  */
   7347 
   7348 int
   7349 main (void)
   7350 {
   7351 
   7352 #if !($vencpp)
   7353       thisisanerror;
   7354 #endif
   7355 
   7356   ;
   7357   return 0;
   7358 }
   7359 _ACEOF
   7360 if ac_fn_c_try_compile "$LINENO"
   7361 then :
   7362   break
   7363 fi
   7364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7365 	done
   7366 
   7367 	ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
   7368 
   7369 fi
   7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
   7371 printf "%s\n" "$ax_cv_c_compiler_vendor" >&6; }
   7372 
   7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   7374 printf %s "checking host system type... " >&6; }
   7375 if test ${ac_cv_host+y}
   7376 then :
   7377   printf %s "(cached) " >&6
   7378 else $as_nop
   7379   if test "x$host_alias" = x; then
   7380   ac_cv_host=$ac_cv_build
   7381 else
   7382   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   7383     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   7384 fi
   7385 
   7386 fi
   7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   7388 printf "%s\n" "$ac_cv_host" >&6; }
   7389 case $ac_cv_host in
   7390 *-*-*) ;;
   7391 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   7392 esac
   7393 host=$ac_cv_host
   7394 ac_save_IFS=$IFS; IFS='-'
   7395 set x $ac_cv_host
   7396 shift
   7397 host_cpu=$1
   7398 host_vendor=$2
   7399 shift; shift
   7400 # Remember, the first character of IFS is used to create $*,
   7401 # except with old shells:
   7402 host_os=$*
   7403 IFS=$ac_save_IFS
   7404 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   7405 
   7406 
   7407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   7408 printf %s "checking for a sed that does not truncate output... " >&6; }
   7409 if test ${ac_cv_path_SED+y}
   7410 then :
   7411   printf %s "(cached) " >&6
   7412 else $as_nop
   7413             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   7414      for ac_i in 1 2 3 4 5 6 7; do
   7415        ac_script="$ac_script$as_nl$ac_script"
   7416      done
   7417      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   7418      { ac_script=; unset ac_script;}
   7419      if test -z "$SED"; then
   7420   ac_path_SED_found=false
   7421   # Loop through the user's path and test for each of PROGNAME-LIST
   7422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7423 for as_dir in $PATH
   7424 do
   7425   IFS=$as_save_IFS
   7426   case $as_dir in #(((
   7427     '') as_dir=./ ;;
   7428     */) ;;
   7429     *) as_dir=$as_dir/ ;;
   7430   esac
   7431     for ac_prog in sed gsed
   7432    do
   7433     for ac_exec_ext in '' $ac_executable_extensions; do
   7434       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   7435       as_fn_executable_p "$ac_path_SED" || continue
   7436 # Check for GNU ac_path_SED and select it if it is found.
   7437   # Check for GNU $ac_path_SED
   7438 case `"$ac_path_SED" --version 2>&1` in
   7439 *GNU*)
   7440   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   7441 *)
   7442   ac_count=0
   7443   printf %s 0123456789 >"conftest.in"
   7444   while :
   7445   do
   7446     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7447     mv "conftest.tmp" "conftest.in"
   7448     cp "conftest.in" "conftest.nl"
   7449     printf "%s\n" '' >> "conftest.nl"
   7450     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7451     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7452     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7453     if test $ac_count -gt ${ac_path_SED_max-0}; then
   7454       # Best one so far, save it but keep looking for a better one
   7455       ac_cv_path_SED="$ac_path_SED"
   7456       ac_path_SED_max=$ac_count
   7457     fi
   7458     # 10*(2^10) chars as input seems more than enough
   7459     test $ac_count -gt 10 && break
   7460   done
   7461   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7462 esac
   7463 
   7464       $ac_path_SED_found && break 3
   7465     done
   7466   done
   7467   done
   7468 IFS=$as_save_IFS
   7469   if test -z "$ac_cv_path_SED"; then
   7470     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   7471   fi
   7472 else
   7473   ac_cv_path_SED=$SED
   7474 fi
   7475 
   7476 fi
   7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   7478 printf "%s\n" "$ac_cv_path_SED" >&6; }
   7479  SED="$ac_cv_path_SED"
   7480   rm -f conftest.sed
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 # Check whether --enable-portable-binary was given.
   7488 if test ${enable_portable_binary+y}
   7489 then :
   7490   enableval=$enable_portable_binary; acx_maxopt_portable=$enableval
   7491 else $as_nop
   7492   acx_maxopt_portable=no
   7493 fi
   7494 
   7495 
   7496 # Try to determine "good" native compiler flags if none specified via CFLAGS
   7497 if test "x$ac_test_CFLAGS" = "x"; then
   7498   case $ax_cv_c_compiler_vendor in
   7499     dec) CFLAGS="$CFLAGS -newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
   7500 	 if test "x$acx_maxopt_portable" = xno; then
   7501            CFLAGS="$CFLAGS -arch host"
   7502          fi;;
   7503 
   7504     sun) CFLAGS="$CFLAGS -native -fast -xO5 -dalign"
   7505 	 if test "x$acx_maxopt_portable" = xyes; then
   7506 	   CFLAGS="$CFLAGS -xarch=generic"
   7507          fi;;
   7508 
   7509     hp)  CFLAGS="$CFLAGS +Oall +Optrs_ansi +DSnative"
   7510 	 if test "x$acx_maxopt_portable" = xyes; then
   7511 	   CFLAGS="$CFLAGS +DAportable"
   7512 	 fi;;
   7513 
   7514     ibm) if test "x$acx_maxopt_portable" = xno; then
   7515            xlc_opt="-qarch=auto -qtune=auto"
   7516 	 else
   7517            xlc_opt="-qtune=auto"
   7518 	 fi
   7519          as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$xlc_opt" | $as_tr_sh`
   7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $xlc_opt" >&5
   7521 printf %s "checking whether C compiler accepts $xlc_opt... " >&6; }
   7522 if eval test \${$as_CACHEVAR+y}
   7523 then :
   7524   printf %s "(cached) " >&6
   7525 else $as_nop
   7526 
   7527   ax_check_save_flags=$CFLAGS
   7528   CFLAGS="$CFLAGS  $xlc_opt"
   7529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7530 /* end confdefs.h.  */
   7531 
   7532 int
   7533 main (void)
   7534 {
   7535 
   7536   ;
   7537   return 0;
   7538 }
   7539 _ACEOF
   7540 if ac_fn_c_try_compile "$LINENO"
   7541 then :
   7542   eval "$as_CACHEVAR=yes"
   7543 else $as_nop
   7544   eval "$as_CACHEVAR=no"
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7547   CFLAGS=$ax_check_save_flags
   7548 fi
   7549 eval ac_res=\$$as_CACHEVAR
   7550 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7551 printf "%s\n" "$ac_res" >&6; }
   7552 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   7553 then :
   7554   CFLAGS="$CFLAGS -O3 -qansialias -w $xlc_opt"
   7555 else $as_nop
   7556   CFLAGS="$CFLAGS -O3 -qansialias -w"
   7557                 echo "******************************************************"
   7558                 echo "*  You seem to have the IBM  C compiler.  It is      *"
   7559                 echo "*  recommended for best performance that you use:    *"
   7560                 echo "*                                                    *"
   7561                 echo "*    CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
   7562                 echo "*                      ^^^        ^^^                *"
   7563                 echo "*  where xxx is pwr2, pwr3, 604, or whatever kind of *"
   7564                 echo "*  CPU you have.  (Set the CFLAGS environment var.   *"
   7565                 echo "*  and re-run configure.)  For more info, man cc.    *"
   7566                 echo "******************************************************"
   7567 fi
   7568 
   7569          ;;
   7570 
   7571     intel) CFLAGS="$CFLAGS -O3 -ansi_alias"
   7572 	if test "x$acx_maxopt_portable" = xno; then
   7573 	  icc_archflag=unknown
   7574 	  icc_flags=""
   7575 	  case $host_cpu in
   7576 	    i686*|x86_64*)
   7577               # icc accepts gcc assembly syntax, so these should work:
   7578 
   7579 ac_ext=c
   7580 ac_cpp='$CPP $CPPFLAGS'
   7581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7584 
   7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
   7586 printf %s "checking for x86 cpuid 0 output... " >&6; }
   7587 if test ${ax_cv_gcc_x86_cpuid_0+y}
   7588 then :
   7589   printf %s "(cached) " >&6
   7590 else $as_nop
   7591   if test "$cross_compiling" = yes
   7592 then :
   7593   ax_cv_gcc_x86_cpuid_0=unknown
   7594 else $as_nop
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 #include <stdio.h>
   7598 int
   7599 main (void)
   7600 {
   7601 
   7602      int op = 0, level = 0, eax, ebx, ecx, edx;
   7603      FILE *f;
   7604       __asm__ __volatile__ ("xchg %%ebx, %1\n"
   7605         "cpuid\n"
   7606         "xchg %%ebx, %1\n"
   7607         : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
   7608         : "a" (op), "2" (level));
   7609 
   7610      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   7611      fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   7612      fclose(f);
   7613      return 0;
   7614 
   7615   ;
   7616   return 0;
   7617 }
   7618 _ACEOF
   7619 if ac_fn_c_try_run "$LINENO"
   7620 then :
   7621   ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
   7622 else $as_nop
   7623   ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
   7624 fi
   7625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7626   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7627 fi
   7628 
   7629 fi
   7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
   7631 printf "%s\n" "$ax_cv_gcc_x86_cpuid_0" >&6; }
   7632 ac_ext=c
   7633 ac_cpp='$CPP $CPPFLAGS'
   7634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7637 
   7638 
   7639 
   7640 
   7641 ac_ext=c
   7642 ac_cpp='$CPP $CPPFLAGS'
   7643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7646 
   7647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
   7648 printf %s "checking for x86 cpuid 1 output... " >&6; }
   7649 if test ${ax_cv_gcc_x86_cpuid_1+y}
   7650 then :
   7651   printf %s "(cached) " >&6
   7652 else $as_nop
   7653   if test "$cross_compiling" = yes
   7654 then :
   7655   ax_cv_gcc_x86_cpuid_1=unknown
   7656 else $as_nop
   7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7658 /* end confdefs.h.  */
   7659 #include <stdio.h>
   7660 int
   7661 main (void)
   7662 {
   7663 
   7664      int op = 1, level = 0, eax, ebx, ecx, edx;
   7665      FILE *f;
   7666       __asm__ __volatile__ ("xchg %%ebx, %1\n"
   7667         "cpuid\n"
   7668         "xchg %%ebx, %1\n"
   7669         : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
   7670         : "a" (op), "2" (level));
   7671 
   7672      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   7673      fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   7674      fclose(f);
   7675      return 0;
   7676 
   7677   ;
   7678   return 0;
   7679 }
   7680 _ACEOF
   7681 if ac_fn_c_try_run "$LINENO"
   7682 then :
   7683   ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
   7684 else $as_nop
   7685   ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
   7686 fi
   7687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7688   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7689 fi
   7690 
   7691 fi
   7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
   7693 printf "%s\n" "$ax_cv_gcc_x86_cpuid_1" >&6; }
   7694 ac_ext=c
   7695 ac_cpp='$CPP $CPPFLAGS'
   7696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7699 
   7700 
   7701 
   7702 	      case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
   7703                 *:756e6547:6c65746e:49656e69) # Intel
   7704                   case $ax_cv_gcc_x86_cpuid_1 in
   7705 		    *0?6[78ab]?:*:*:*|?6[78ab]?:*:*:*|6[78ab]?:*:*:*) icc_flags="-xK" ;;
   7706 		    *0?6[9d]?:*:*:*|?6[9d]?:*:*:*|6[9d]?:*:*:*|*1?65?:*:*:*) icc_flags="-xSSE2 -xB -xK" ;;
   7707 		    *0?6e?:*:*:*|?6e?:*:*:*|6e?:*:*:*) icc_flags="-xSSE3 -xP -xO -xB -xK" ;;
   7708 		    *0?6f?:*:*:*|?6f?:*:*:*|6f?:*:*:*|*1?66?:*:*:*) icc_flags="-xSSSE3 -xT -xB -xK" ;;
   7709 		    *1?6[7d]?:*:*:*) icc_flags="-xSSE4.1 -xS -xT -xB -xK" ;;
   7710 		    *1?6[aef]?:*:*:*|*2?6[5cef]?:*:*:*) icc_flags="-xSSE4.2 -xS -xT -xB -xK" ;;
   7711 		    *2?6[ad]?:*:*:*) icc_flags="-xAVX -SSE4.2 -xS -xT -xB -xK" ;;
   7712 		    *3?6[ae]?:*:*:*) icc_flags="-xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;;
   7713 		    *3?6[cf]?:*:*:*|*4?6[56]?:*:*:*) icc_flags="-xCORE-AVX2 -xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;;
   7714 		    *000?f[346]?:*:*:*|?f[346]?:*:*:*|f[346]?:*:*:*) icc_flags="-xSSE3 -xP -xO -xN -xW -xK" ;;
   7715 		    *00??f??:*:*:*|??f??:*:*:*|?f??:*:*:*|f??:*:*:*) icc_flags="-xSSE2 -xN -xW -xK" ;;
   7716                   esac ;;
   7717               esac ;;
   7718           esac
   7719           if test "x$icc_flags" != x; then
   7720             for flag in $icc_flags; do
   7721               as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   7722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   7723 printf %s "checking whether C compiler accepts $flag... " >&6; }
   7724 if eval test \${$as_CACHEVAR+y}
   7725 then :
   7726   printf %s "(cached) " >&6
   7727 else $as_nop
   7728 
   7729   ax_check_save_flags=$CFLAGS
   7730   CFLAGS="$CFLAGS  $flag"
   7731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 
   7734 int
   7735 main (void)
   7736 {
   7737 
   7738   ;
   7739   return 0;
   7740 }
   7741 _ACEOF
   7742 if ac_fn_c_try_compile "$LINENO"
   7743 then :
   7744   eval "$as_CACHEVAR=yes"
   7745 else $as_nop
   7746   eval "$as_CACHEVAR=no"
   7747 fi
   7748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7749   CFLAGS=$ax_check_save_flags
   7750 fi
   7751 eval ac_res=\$$as_CACHEVAR
   7752 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   7753 printf "%s\n" "$ac_res" >&6; }
   7754 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   7755 then :
   7756   icc_archflag=$flag; break
   7757 else $as_nop
   7758   :
   7759 fi
   7760 
   7761             done
   7762           fi
   7763           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icc architecture flag" >&5
   7764 printf %s "checking for icc architecture flag... " >&6; }
   7765 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $icc_archflag" >&5
   7766 printf "%s\n" "$icc_archflag" >&6; }
   7767           if test "x$icc_archflag" != xunknown; then
   7768             CFLAGS="$CFLAGS $icc_archflag"
   7769           fi
   7770         fi
   7771 	;;
   7772 
   7773     nvhpc)
   7774      # default optimization flags for nvhpc
   7775      CFLAGS="$CFLAGS -O3"
   7776      ;;
   7777 
   7778     gnu)
   7779      # default optimization flags for gcc on all systems
   7780      CFLAGS="$CFLAGS -O3 -fomit-frame-pointer"
   7781 
   7782      # -malign-double for x86 systems
   7783      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5
   7784 printf %s "checking whether C compiler accepts -malign-double... " >&6; }
   7785 if test ${ax_cv_check_cflags___malign_double+y}
   7786 then :
   7787   printf %s "(cached) " >&6
   7788 else $as_nop
   7789 
   7790   ax_check_save_flags=$CFLAGS
   7791   CFLAGS="$CFLAGS  -malign-double"
   7792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7793 /* end confdefs.h.  */
   7794 
   7795 int
   7796 main (void)
   7797 {
   7798 
   7799   ;
   7800   return 0;
   7801 }
   7802 _ACEOF
   7803 if ac_fn_c_try_compile "$LINENO"
   7804 then :
   7805   ax_cv_check_cflags___malign_double=yes
   7806 else $as_nop
   7807   ax_cv_check_cflags___malign_double=no
   7808 fi
   7809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7810   CFLAGS=$ax_check_save_flags
   7811 fi
   7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___malign_double" >&5
   7813 printf "%s\n" "$ax_cv_check_cflags___malign_double" >&6; }
   7814 if test "x$ax_cv_check_cflags___malign_double" = xyes
   7815 then :
   7816   CFLAGS="$CFLAGS -malign-double"
   7817 else $as_nop
   7818   :
   7819 fi
   7820 
   7821 
   7822      #  -fstrict-aliasing for gcc-2.95+
   7823      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5
   7824 printf %s "checking whether C compiler accepts -fstrict-aliasing... " >&6; }
   7825 if test ${ax_cv_check_cflags___fstrict_aliasing+y}
   7826 then :
   7827   printf %s "(cached) " >&6
   7828 else $as_nop
   7829 
   7830   ax_check_save_flags=$CFLAGS
   7831   CFLAGS="$CFLAGS  -fstrict-aliasing"
   7832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7833 /* end confdefs.h.  */
   7834 
   7835 int
   7836 main (void)
   7837 {
   7838 
   7839   ;
   7840   return 0;
   7841 }
   7842 _ACEOF
   7843 if ac_fn_c_try_compile "$LINENO"
   7844 then :
   7845   ax_cv_check_cflags___fstrict_aliasing=yes
   7846 else $as_nop
   7847   ax_cv_check_cflags___fstrict_aliasing=no
   7848 fi
   7849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7850   CFLAGS=$ax_check_save_flags
   7851 fi
   7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstrict_aliasing" >&5
   7853 printf "%s\n" "$ax_cv_check_cflags___fstrict_aliasing" >&6; }
   7854 if test "x$ax_cv_check_cflags___fstrict_aliasing" = xyes
   7855 then :
   7856   CFLAGS="$CFLAGS -fstrict-aliasing"
   7857 else $as_nop
   7858   :
   7859 fi
   7860 
   7861 
   7862      # note that we enable "unsafe" fp optimization with other compilers, too
   7863      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5
   7864 printf %s "checking whether C compiler accepts -ffast-math... " >&6; }
   7865 if test ${ax_cv_check_cflags___ffast_math+y}
   7866 then :
   7867   printf %s "(cached) " >&6
   7868 else $as_nop
   7869 
   7870   ax_check_save_flags=$CFLAGS
   7871   CFLAGS="$CFLAGS  -ffast-math"
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 
   7875 int
   7876 main (void)
   7877 {
   7878 
   7879   ;
   7880   return 0;
   7881 }
   7882 _ACEOF
   7883 if ac_fn_c_try_compile "$LINENO"
   7884 then :
   7885   ax_cv_check_cflags___ffast_math=yes
   7886 else $as_nop
   7887   ax_cv_check_cflags___ffast_math=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7890   CFLAGS=$ax_check_save_flags
   7891 fi
   7892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___ffast_math" >&5
   7893 printf "%s\n" "$ax_cv_check_cflags___ffast_math" >&6; }
   7894 if test "x$ax_cv_check_cflags___ffast_math" = xyes
   7895 then :
   7896   CFLAGS="$CFLAGS -ffast-math"
   7897 else $as_nop
   7898   :
   7899 fi
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 # Check whether --with-gcc-arch was given.
   7909 if test ${with_gcc_arch+y}
   7910 then :
   7911   withval=$with_gcc_arch; ax_gcc_arch=$withval
   7912 else $as_nop
   7913   ax_gcc_arch=yes
   7914 fi
   7915 
   7916 
   7917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
   7918 printf %s "checking for gcc architecture flag... " >&6; }
   7919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5
   7920 printf "%s\n" "" >&6; }
   7921 if test ${ax_cv_gcc_archflag+y}
   7922 then :
   7923   printf %s "(cached) " >&6
   7924 else $as_nop
   7925 
   7926 ax_cv_gcc_archflag="unknown"
   7927 
   7928 if test "$GCC" = yes; then
   7929 
   7930 if test "x$ax_gcc_arch" = xyes; then
   7931 ax_gcc_arch=""
   7932 if test "$cross_compiling" = no; then
   7933 case $host_cpu in
   7934   i[3456]86*|x86_64*|amd64*) # use cpuid codes
   7935 
   7936 ac_ext=c
   7937 ac_cpp='$CPP $CPPFLAGS'
   7938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7941 
   7942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
   7943 printf %s "checking for x86 cpuid 0 output... " >&6; }
   7944 if test ${ax_cv_gcc_x86_cpuid_0+y}
   7945 then :
   7946   printf %s "(cached) " >&6
   7947 else $as_nop
   7948   if test "$cross_compiling" = yes
   7949 then :
   7950   ax_cv_gcc_x86_cpuid_0=unknown
   7951 else $as_nop
   7952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7953 /* end confdefs.h.  */
   7954 #include <stdio.h>
   7955 int
   7956 main (void)
   7957 {
   7958 
   7959      int op = 0, level = 0, eax, ebx, ecx, edx;
   7960      FILE *f;
   7961       __asm__ __volatile__ ("xchg %%ebx, %1\n"
   7962         "cpuid\n"
   7963         "xchg %%ebx, %1\n"
   7964         : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
   7965         : "a" (op), "2" (level));
   7966 
   7967      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   7968      fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   7969      fclose(f);
   7970      return 0;
   7971 
   7972   ;
   7973   return 0;
   7974 }
   7975 _ACEOF
   7976 if ac_fn_c_try_run "$LINENO"
   7977 then :
   7978   ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
   7979 else $as_nop
   7980   ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
   7981 fi
   7982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7983   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7984 fi
   7985 
   7986 fi
   7987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
   7988 printf "%s\n" "$ax_cv_gcc_x86_cpuid_0" >&6; }
   7989 ac_ext=c
   7990 ac_cpp='$CPP $CPPFLAGS'
   7991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7994 
   7995 
   7996 
   7997 
   7998 ac_ext=c
   7999 ac_cpp='$CPP $CPPFLAGS'
   8000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8003 
   8004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
   8005 printf %s "checking for x86 cpuid 1 output... " >&6; }
   8006 if test ${ax_cv_gcc_x86_cpuid_1+y}
   8007 then :
   8008   printf %s "(cached) " >&6
   8009 else $as_nop
   8010   if test "$cross_compiling" = yes
   8011 then :
   8012   ax_cv_gcc_x86_cpuid_1=unknown
   8013 else $as_nop
   8014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8015 /* end confdefs.h.  */
   8016 #include <stdio.h>
   8017 int
   8018 main (void)
   8019 {
   8020 
   8021      int op = 1, level = 0, eax, ebx, ecx, edx;
   8022      FILE *f;
   8023       __asm__ __volatile__ ("xchg %%ebx, %1\n"
   8024         "cpuid\n"
   8025         "xchg %%ebx, %1\n"
   8026         : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
   8027         : "a" (op), "2" (level));
   8028 
   8029      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   8030      fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   8031      fclose(f);
   8032      return 0;
   8033 
   8034   ;
   8035   return 0;
   8036 }
   8037 _ACEOF
   8038 if ac_fn_c_try_run "$LINENO"
   8039 then :
   8040   ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
   8041 else $as_nop
   8042   ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
   8043 fi
   8044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8045   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8046 fi
   8047 
   8048 fi
   8049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
   8050 printf "%s\n" "$ax_cv_gcc_x86_cpuid_1" >&6; }
   8051 ac_ext=c
   8052 ac_cpp='$CPP $CPPFLAGS'
   8053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8056 
   8057 
   8058 
   8059      case $ax_cv_gcc_x86_cpuid_0 in
   8060        *:756e6547:6c65746e:49656e69) # Intel
   8061           case $ax_cv_gcc_x86_cpuid_1 in
   8062 	    *5[4578]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
   8063 	    *5[123]?:*:*:*) ax_gcc_arch=pentium ;;
   8064 	    *0?61?:*:*:*|?61?:*:*:*|61?:*:*:*) ax_gcc_arch=pentiumpro ;;
   8065 	    *0?6[356]?:*:*:*|?6[356]?:*:*:*|6[356]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
   8066 	    *0?6[78ab]?:*:*:*|?6[78ab]?:*:*:*|6[78ab]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
   8067 	    *0?6[9d]?:*:*:*|?6[9d]?:*:*:*|6[9d]?:*:*:*|*1?65?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
   8068 	    *0?6e?:*:*:*|?6e?:*:*:*|6e?:*:*:*) ax_gcc_arch="yonah pentium-m pentium3 pentiumpro" ;;
   8069 	    *0?6f?:*:*:*|?6f?:*:*:*|6f?:*:*:*|*1?66?:*:*:*) ax_gcc_arch="core2 pentium-m pentium3 pentiumpro" ;;
   8070 	    *1?6[7d]?:*:*:*) ax_gcc_arch="penryn core2 pentium-m pentium3 pentiumpro" ;;
   8071 	    *1?6[aef]?:*:*:*|*2?6e?:*:*:*) ax_gcc_arch="nehalem corei7 core2 pentium-m pentium3 pentiumpro" ;;
   8072 	    *2?6[5cf]?:*:*:*) ax_gcc_arch="westmere corei7 core2 pentium-m pentium3 pentiumpro" ;;
   8073 	    *2?6[ad]?:*:*:*) ax_gcc_arch="sandybridge corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   8074 	    *3?6[ae]?:*:*:*) ax_gcc_arch="ivybridge core-avx-i corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   8075 	    *3?6[cf]?:*:*:*|*4?6[56]?:*:*:*) ax_gcc_arch="haswell core-avx2 core-avx-i corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   8076 	    *3?6d?:*:*:*|*4?6[7f]?:*:*:*|*5?66?:*:*:*) ax_gcc_arch="broadwell core-avx2 core-avx-i corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   8077 	    *1?6c?:*:*:*|*2?6[67]?:*:*:*|*3?6[56]?:*:*:*) ax_gcc_arch="bonnell atom core2 pentium-m pentium3 pentiumpro" ;;
   8078 	    *3?67?:*:*:*|*[45]?6[ad]?:*:*:*) ax_gcc_arch="silvermont atom core2 pentium-m pentium3 pentiumpro" ;;
   8079 	    *000?f[012]?:*:*:*|?f[012]?:*:*:*|f[012]?:*:*:*) ax_gcc_arch="pentium4 pentiumpro" ;;
   8080 	    *000?f[346]?:*:*:*|?f[346]?:*:*:*|f[346]?:*:*:*) ax_gcc_arch="nocona prescott pentium4 pentiumpro" ;;
   8081 	    # fallback
   8082 	    *5??:*:*:*) ax_gcc_arch=pentium ;;
   8083 	    *??6??:*:*:*) ax_gcc_arch="core2 pentiumpro" ;;
   8084 	    *6??:*:*:*) ax_gcc_arch=pentiumpro ;;
   8085 	    *00??f??:*:*:*|??f??:*:*:*|?f??:*:*:*|f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro" ;;
   8086           esac ;;
   8087        *:68747541:444d4163:69746e65) # AMD
   8088           case $ax_cv_gcc_x86_cpuid_1 in
   8089 	    *5[67]?:*:*:*) ax_gcc_arch=k6 ;;
   8090 	    *5[8]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
   8091 	    *5[9d]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
   8092 	    *6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;;
   8093 	    *6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
   8094 	    *6[678a]?:*:*:*) ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
   8095 	    *000?f[4578bcef]?:*:*:*|?f[4578bcef]?:*:*:*|f[4578bcef]?:*:*:*|*001?f[4578bcf]?:*:*:*|1?f[4578bcf]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
   8096 	    *002?f[13457bcf]?:*:*:*|2?f[13457bcf]?:*:*:*|*004?f[138bcf]?:*:*:*|4?f[138bcf]?:*:*:*|*005?f[df]?:*:*:*|5?f[df]?:*:*:*|*006?f[8bcf]?:*:*:*|6?f[8bcf]?:*:*:*|*007?f[cf]?:*:*:*|7?f[cf]?:*:*:*|*00c?f1?:*:*:*|c?f1?:*:*:*|*020?f3?:*:*:*|20?f3?:*:*:*) ax_gcc_arch="athlon64-sse3 k8-sse3 athlon64 k8" ;;
   8097 	    *010?f[245689a]?:*:*:*|10?f[245689a]?:*:*:*|*030?f1?:*:*:*|30?f1?:*:*:*) ax_gcc_arch="barcelona amdfam10 k8" ;;
   8098 	    *050?f[12]?:*:*:*|50?f[12]?:*:*:*) ax_gcc_arch="btver1 amdfam10 k8" ;;
   8099 	    *060?f1?:*:*:*|60?f1?:*:*:*) ax_gcc_arch="bdver1 amdfam10 k8" ;;
   8100 	    *060?f2?:*:*:*|60?f2?:*:*:*|*061?f[03]?:*:*:*|61?f[03]?:*:*:*) ax_gcc_arch="bdver2 bdver1 amdfam10 k8" ;;
   8101 	    *063?f0?:*:*:*|63?f0?:*:*:*) ax_gcc_arch="bdver3 bdver2 bdver1 amdfam10 k8" ;;
   8102 	    *07[03]?f0?:*:*:*|7[03]?f0?:*:*:*) ax_gcc_arch="btver2 btver1 amdfam10 k8" ;;
   8103 	    # fallback
   8104 	    *0[13]??f??:*:*:*|[13]??f??:*:*:*) ax_gcc_arch="barcelona amdfam10 k8" ;;
   8105 	    *020?f??:*:*:*|20?f??:*:*:*) ax_gcc_arch="athlon64-sse3 k8-sse3 athlon64 k8" ;;
   8106 	    *05??f??:*:*:*|5??f??:*:*:*) ax_gcc_arch="btver1 amdfam10 k8" ;;
   8107 	    *060?f??:*:*:*|60?f??:*:*:*) ax_gcc_arch="bdver1 amdfam10 k8" ;;
   8108 	    *061?f??:*:*:*|61?f??:*:*:*) ax_gcc_arch="bdver2 bdver1 amdfam10 k8" ;;
   8109 	    *06??f??:*:*:*|6??f??:*:*:*) ax_gcc_arch="bdver3 bdver2 bdver1 amdfam10 k8" ;;
   8110 	    *070?f??:*:*:*|70?f??:*:*:*) ax_gcc_arch="btver2 btver1 amdfam10 k8" ;;
   8111 	    *???f??:*:*:*) ax_gcc_arch="amdfam10 k8" ;;
   8112           esac ;;
   8113 	*:746e6543:736c7561:48727561) # IDT / VIA (Centaur)
   8114 	   case $ax_cv_gcc_x86_cpuid_1 in
   8115 	     *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
   8116 	     *5[89]?:*:*:*) ax_gcc_arch=winchip2 ;;
   8117 	     *66?:*:*:*) ax_gcc_arch=winchip2 ;;
   8118 	     *6[78]?:*:*:*) ax_gcc_arch=c3 ;;
   8119 	     *6[9adf]?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
   8120 	   esac ;;
   8121      esac
   8122      if test x"$ax_gcc_arch" = x; then # fallback
   8123 	case $host_cpu in
   8124 	  i586*) ax_gcc_arch=pentium ;;
   8125 	  i686*) ax_gcc_arch=pentiumpro ;;
   8126         esac
   8127      fi
   8128      ;;
   8129 
   8130   sparc*)
   8131      # Extract the first word of "prtdiag", so it can be a program name with args.
   8132 set dummy prtdiag; ac_word=$2
   8133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8134 printf %s "checking for $ac_word... " >&6; }
   8135 if test ${ac_cv_path_PRTDIAG+y}
   8136 then :
   8137   printf %s "(cached) " >&6
   8138 else $as_nop
   8139   case $PRTDIAG in
   8140   [\\/]* | ?:[\\/]*)
   8141   ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path.
   8142   ;;
   8143   *)
   8144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8145 as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/"
   8146 for as_dir in $as_dummy
   8147 do
   8148   IFS=$as_save_IFS
   8149   case $as_dir in #(((
   8150     '') as_dir=./ ;;
   8151     */) ;;
   8152     *) as_dir=$as_dir/ ;;
   8153   esac
   8154     for ac_exec_ext in '' $ac_executable_extensions; do
   8155   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8156     ac_cv_path_PRTDIAG="$as_dir$ac_word$ac_exec_ext"
   8157     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8158     break 2
   8159   fi
   8160 done
   8161   done
   8162 IFS=$as_save_IFS
   8163 
   8164   test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag"
   8165   ;;
   8166 esac
   8167 fi
   8168 PRTDIAG=$ac_cv_path_PRTDIAG
   8169 if test -n "$PRTDIAG"; then
   8170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5
   8171 printf "%s\n" "$PRTDIAG" >&6; }
   8172 else
   8173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8174 printf "%s\n" "no" >&6; }
   8175 fi
   8176 
   8177 
   8178      cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
   8179      cputype=`echo "$cputype" | tr -d ' -' | $SED 's/SPARCIIi/SPARCII/' |tr $as_cr_LETTERS $as_cr_letters`
   8180      case $cputype in
   8181          *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
   8182          *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
   8183          *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
   8184          *supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;;
   8185          *hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;;
   8186          *cypress*) ax_gcc_arch=cypress ;;
   8187      esac ;;
   8188 
   8189   alphaev5) ax_gcc_arch=ev5 ;;
   8190   alphaev56) ax_gcc_arch=ev56 ;;
   8191   alphapca56) ax_gcc_arch="pca56 ev56" ;;
   8192   alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
   8193   alphaev6) ax_gcc_arch=ev6 ;;
   8194   alphaev67) ax_gcc_arch=ev67 ;;
   8195   alphaev68) ax_gcc_arch="ev68 ev67" ;;
   8196   alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
   8197   alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
   8198   alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
   8199 
   8200   powerpc*)
   8201      cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | $SED 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
   8202      cputype=`echo $cputype | $SED -e 's/ppc//g;s/ *//g'`
   8203      case $cputype in
   8204        *750*) ax_gcc_arch="750 G3" ;;
   8205        *740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;;
   8206        *74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;;
   8207        *74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;;
   8208        *970*) ax_gcc_arch="970 G5 power4";;
   8209        *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
   8210        *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
   8211        603ev|8240) ax_gcc_arch="$cputype 603e 603";;
   8212        *POWER7*) ax_gcc_arch="power7";;
   8213        *POWER8*) ax_gcc_arch="power8";;
   8214        *POWER9*) ax_gcc_arch="power9";;
   8215        *POWER10*) ax_gcc_arch="power10";;
   8216        *) ax_gcc_arch=$cputype ;;
   8217      esac
   8218      ax_gcc_arch="$ax_gcc_arch powerpc"
   8219      ;;
   8220   aarch64)
   8221      cpuimpl=`grep 'CPU implementer' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
   8222      cpuarch=`grep 'CPU architecture' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
   8223      cpuvar=`grep 'CPU variant' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
   8224      case $cpuimpl in
   8225        0x42) case $cpuarch in
   8226                8) case $cpuvar in
   8227                     0x0) ax_gcc_arch="thunderx2t99 vulcan armv8.1-a armv8-a+lse armv8-a native" ;;
   8228                   esac
   8229                   ;;
   8230              esac
   8231              ;;
   8232        0x43) case $cpuarch in
   8233                8) case $cpuvar in
   8234                     0x0) ax_gcc_arch="thunderx armv8-a native" ;;
   8235                     0x1) ax_gcc_arch="thunderx+lse armv8.1-a armv8-a+lse armv8-a native" ;;
   8236                   esac
   8237                   ;;
   8238              esac
   8239              ;;
   8240       esac
   8241       ;;
   8242 esac
   8243 fi # not cross-compiling
   8244 fi # guess arch
   8245 
   8246 if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
   8247 if test "x$acx_maxopt_portable" = xyes; then # if we require portable code
   8248   flag_prefixes="-mtune="
   8249   if test "x$ax_cv_c_compiler_vendor" = xclang; then flag_prefixes="-march="; fi
   8250   # -mcpu=$arch and m$arch generate nonportable code on every arch except
   8251   # x86.  And some other arches (e.g. Alpha) don't accept -mtune.  Grrr.
   8252   case $host_cpu in i*86|x86_64*|amd64*) flag_prefixes="$flag_prefixes -mcpu= -m";; esac
   8253 else
   8254   flag_prefixes="-march= -mcpu= -m"
   8255 fi
   8256 for flag_prefix in $flag_prefixes; do
   8257   for arch in $ax_gcc_arch; do
   8258     flag="$flag_prefix$arch"
   8259     as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
   8260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   8261 printf %s "checking whether C compiler accepts $flag... " >&6; }
   8262 if eval test \${$as_CACHEVAR+y}
   8263 then :
   8264   printf %s "(cached) " >&6
   8265 else $as_nop
   8266 
   8267   ax_check_save_flags=$CFLAGS
   8268   CFLAGS="$CFLAGS  $flag"
   8269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8270 /* end confdefs.h.  */
   8271 
   8272 int
   8273 main (void)
   8274 {
   8275 
   8276   ;
   8277   return 0;
   8278 }
   8279 _ACEOF
   8280 if ac_fn_c_try_compile "$LINENO"
   8281 then :
   8282   eval "$as_CACHEVAR=yes"
   8283 else $as_nop
   8284   eval "$as_CACHEVAR=no"
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8287   CFLAGS=$ax_check_save_flags
   8288 fi
   8289 eval ac_res=\$$as_CACHEVAR
   8290 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8291 printf "%s\n" "$ac_res" >&6; }
   8292 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   8293 then :
   8294   if test "x$ax_cv_c_compiler_vendor" = xclang; then
   8295       if test "x$acx_maxopt_portable" = xyes; then
   8296 	if test "x$flag" = "x-march=$arch"; then flag=-mtune=$arch; fi
   8297       fi
   8298     fi; ax_cv_gcc_archflag=$flag; break
   8299 else $as_nop
   8300   :
   8301 fi
   8302 
   8303   done
   8304   test "x$ax_cv_gcc_archflag" = xunknown || break
   8305 done
   8306 fi
   8307 
   8308 fi # $GCC=yes
   8309 
   8310 fi
   8311 
   8312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
   8313 printf %s "checking for gcc architecture flag... " >&6; }
   8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5
   8315 printf "%s\n" "$ax_cv_gcc_archflag" >&6; }
   8316 if test "x$ax_cv_gcc_archflag" = xunknown; then
   8317   :
   8318 else
   8319   CFLAGS="$CFLAGS $ax_cv_gcc_archflag"
   8320 fi
   8321 
   8322 
   8323      # drop to -O1 for gcc 4.2
   8324      $CC --version |
   8325 	sed -e 's/.* \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1 \2/' |
   8326 	(read major minor
   8327 	    if test $major -eq 4 -a $minor -eq 2; then
   8328 				exit 0
   8329 	    fi
   8330 	    exit 1
   8331 	) && CFLAGS="-O1"
   8332      ;;
   8333 
   8334     microsoft)
   8335      # default optimization flags for MSVC opt builds
   8336      CFLAGS="$CFLAGS -O2"
   8337      ;;
   8338   esac
   8339 
   8340   if test -z "$CFLAGS"; then
   8341 	echo ""
   8342 	echo "********************************************************"
   8343         echo "* WARNING: Don't know the best CFLAGS for this system  *"
   8344         echo "* Use ./configure CFLAGS=... to specify your own flags *"
   8345 	echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
   8346 	echo "********************************************************"
   8347 	echo ""
   8348         CFLAGS="$CFLAGS -O3"
   8349   fi
   8350 
   8351   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$CFLAGS" | $as_tr_sh`
   8352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS" >&5
   8353 printf %s "checking whether C compiler accepts $CFLAGS... " >&6; }
   8354 if eval test \${$as_CACHEVAR+y}
   8355 then :
   8356   printf %s "(cached) " >&6
   8357 else $as_nop
   8358 
   8359   ax_check_save_flags=$CFLAGS
   8360   CFLAGS="$CFLAGS  $CFLAGS"
   8361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 
   8364 int
   8365 main (void)
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 if ac_fn_c_try_compile "$LINENO"
   8373 then :
   8374   eval "$as_CACHEVAR=yes"
   8375 else $as_nop
   8376   eval "$as_CACHEVAR=no"
   8377 fi
   8378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8379   CFLAGS=$ax_check_save_flags
   8380 fi
   8381 eval ac_res=\$$as_CACHEVAR
   8382 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   8383 printf "%s\n" "$ac_res" >&6; }
   8384 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
   8385 then :
   8386   :
   8387 else $as_nop
   8388 
   8389 	echo ""
   8390         echo "********************************************************"
   8391         echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
   8392         echo "* your compiler.                                       *"
   8393         echo "* Use ./configure CFLAGS=... to specify your own flags *"
   8394         echo "********************************************************"
   8395         echo ""
   8396 
   8397 fi
   8398 
   8399 
   8400 fi
   8401 
   8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports function __attribute__((__warn_unused_result__))" >&5
   8403 printf %s "checking whether the compiler supports function __attribute__((__warn_unused_result__))... " >&6; }
   8404 if test ${ax_cv_gcc_warn_unused_result+y}
   8405 then :
   8406   printf %s "(cached) " >&6
   8407 else $as_nop
   8408 
   8409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8410 /* end confdefs.h.  */
   8411 __attribute__((__warn_unused_result__))
   8412  int f(int i) { return i; }
   8413 int
   8414 main (void)
   8415 {
   8416 
   8417   ;
   8418   return 0;
   8419 }
   8420 _ACEOF
   8421 if ac_fn_c_try_compile "$LINENO"
   8422 then :
   8423   ax_cv_gcc_warn_unused_result=yes
   8424 else $as_nop
   8425   ax_cv_gcc_warn_unused_result=no
   8426 fi
   8427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8428 fi
   8429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_warn_unused_result" >&5
   8430 printf "%s\n" "$ax_cv_gcc_warn_unused_result" >&6; }
   8431  if test "$ax_cv_gcc_warn_unused_result" = yes; then
   8432 
   8433 printf "%s\n" "#define GCC_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))" >>confdefs.h
   8434 
   8435  fi
   8436 
   8437 
   8438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
   8439 printf %s "checking for __attribute__... " >&6; }
   8440 if test ${ax_cv___attribute__+y}
   8441 then :
   8442   printf %s "(cached) " >&6
   8443 else $as_nop
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 #include <stdlib.h>
   8447 	  static void foo(void) __attribute__ ((unused));
   8448 	  static void
   8449 	  foo(void) {
   8450 	      exit(1);
   8451 	  }
   8452 
   8453 int
   8454 main (void)
   8455 {
   8456 
   8457   ;
   8458   return 0;
   8459 }
   8460 _ACEOF
   8461 if ac_fn_c_try_compile "$LINENO"
   8462 then :
   8463   ax_cv___attribute__=yes
   8464 else $as_nop
   8465   ax_cv___attribute__=no
   8466 
   8467 fi
   8468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8469 
   8470 fi
   8471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv___attribute__" >&5
   8472 printf "%s\n" "$ax_cv___attribute__" >&6; }
   8473   if test "$ax_cv___attribute__" = "yes"; then
   8474 
   8475 printf "%s\n" "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
   8476 
   8477   fi
   8478 
   8479 
   8480 
   8481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   8482 printf %s "checking for grep that handles long lines and -e... " >&6; }
   8483 if test ${ac_cv_path_GREP+y}
   8484 then :
   8485   printf %s "(cached) " >&6
   8486 else $as_nop
   8487   if test -z "$GREP"; then
   8488   ac_path_GREP_found=false
   8489   # Loop through the user's path and test for each of PROGNAME-LIST
   8490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8491 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   8492 do
   8493   IFS=$as_save_IFS
   8494   case $as_dir in #(((
   8495     '') as_dir=./ ;;
   8496     */) ;;
   8497     *) as_dir=$as_dir/ ;;
   8498   esac
   8499     for ac_prog in grep ggrep
   8500    do
   8501     for ac_exec_ext in '' $ac_executable_extensions; do
   8502       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   8503       as_fn_executable_p "$ac_path_GREP" || continue
   8504 # Check for GNU ac_path_GREP and select it if it is found.
   8505   # Check for GNU $ac_path_GREP
   8506 case `"$ac_path_GREP" --version 2>&1` in
   8507 *GNU*)
   8508   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   8509 *)
   8510   ac_count=0
   8511   printf %s 0123456789 >"conftest.in"
   8512   while :
   8513   do
   8514     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8515     mv "conftest.tmp" "conftest.in"
   8516     cp "conftest.in" "conftest.nl"
   8517     printf "%s\n" 'GREP' >> "conftest.nl"
   8518     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8519     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8520     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8521     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   8522       # Best one so far, save it but keep looking for a better one
   8523       ac_cv_path_GREP="$ac_path_GREP"
   8524       ac_path_GREP_max=$ac_count
   8525     fi
   8526     # 10*(2^10) chars as input seems more than enough
   8527     test $ac_count -gt 10 && break
   8528   done
   8529   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8530 esac
   8531 
   8532       $ac_path_GREP_found && break 3
   8533     done
   8534   done
   8535   done
   8536 IFS=$as_save_IFS
   8537   if test -z "$ac_cv_path_GREP"; then
   8538     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   8539   fi
   8540 else
   8541   ac_cv_path_GREP=$GREP
   8542 fi
   8543 
   8544 fi
   8545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   8546 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   8547  GREP="$ac_cv_path_GREP"
   8548 
   8549 
   8550 	echo $CXX | $GREP -e "-std=" > /dev/null 2> /dev/null
   8551 	if test $? -eq 0; then
   8552 		  ac_ext=cpp
   8553 ac_cpp='$CXXCPP $CPPFLAGS'
   8554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   8557   ac_success=no
   8558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
   8559 printf %s "checking whether $CXX supports C++11 features by default... " >&6; }
   8560 if test ${ax_cv_cxx_compile_cxx11+y}
   8561 then :
   8562   printf %s "(cached) " >&6
   8563 else $as_nop
   8564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8565 /* end confdefs.h.  */
   8566 
   8567 
   8568 // If the compiler admits that it is not ready for C++11, why torture it?
   8569 // Hopefully, this will speed up the test.
   8570 
   8571 #ifndef __cplusplus
   8572 
   8573 #error "This is not a C++ compiler"
   8574 
   8575 #elif __cplusplus < 201103L
   8576 
   8577 #error "This is not a C++11 compiler"
   8578 
   8579 #else
   8580 
   8581 namespace cxx11
   8582 {
   8583 
   8584   namespace test_static_assert
   8585   {
   8586 
   8587     template <typename T>
   8588     struct check
   8589     {
   8590       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   8591     };
   8592 
   8593   }
   8594 
   8595   namespace test_final_override
   8596   {
   8597 
   8598     struct Base
   8599     {
   8600       virtual ~Base() {}
   8601       virtual void f() {}
   8602     };
   8603 
   8604     struct Derived : public Base
   8605     {
   8606       virtual ~Derived() override {}
   8607       virtual void f() override {}
   8608     };
   8609 
   8610   }
   8611 
   8612   namespace test_double_right_angle_brackets
   8613   {
   8614 
   8615     template < typename T >
   8616     struct check {};
   8617 
   8618     typedef check<void> single_type;
   8619     typedef check<check<void>> double_type;
   8620     typedef check<check<check<void>>> triple_type;
   8621     typedef check<check<check<check<void>>>> quadruple_type;
   8622 
   8623   }
   8624 
   8625   namespace test_decltype
   8626   {
   8627 
   8628     int
   8629     f()
   8630     {
   8631       int a = 1;
   8632       decltype(a) b = 2;
   8633       return a + b;
   8634     }
   8635 
   8636   }
   8637 
   8638   namespace test_type_deduction
   8639   {
   8640 
   8641     template < typename T1, typename T2 >
   8642     struct is_same
   8643     {
   8644       static const bool value = false;
   8645     };
   8646 
   8647     template < typename T >
   8648     struct is_same<T, T>
   8649     {
   8650       static const bool value = true;
   8651     };
   8652 
   8653     template < typename T1, typename T2 >
   8654     auto
   8655     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   8656     {
   8657       return a1 + a2;
   8658     }
   8659 
   8660     int
   8661     test(const int c, volatile int v)
   8662     {
   8663       static_assert(is_same<int, decltype(0)>::value == true, "");
   8664       static_assert(is_same<int, decltype(c)>::value == false, "");
   8665       static_assert(is_same<int, decltype(v)>::value == false, "");
   8666       auto ac = c;
   8667       auto av = v;
   8668       auto sumi = ac + av + 'x';
   8669       auto sumf = ac + av + 1.0;
   8670       static_assert(is_same<int, decltype(ac)>::value == true, "");
   8671       static_assert(is_same<int, decltype(av)>::value == true, "");
   8672       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   8673       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   8674       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   8675       return (sumf > 0.0) ? sumi : add(c, v);
   8676     }
   8677 
   8678   }
   8679 
   8680   namespace test_noexcept
   8681   {
   8682 
   8683     int f() { return 0; }
   8684     int g() noexcept { return 0; }
   8685 
   8686     static_assert(noexcept(f()) == false, "");
   8687     static_assert(noexcept(g()) == true, "");
   8688 
   8689   }
   8690 
   8691   namespace test_constexpr
   8692   {
   8693 
   8694     template < typename CharT >
   8695     unsigned long constexpr
   8696     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   8697     {
   8698       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   8699     }
   8700 
   8701     template < typename CharT >
   8702     unsigned long constexpr
   8703     strlen_c(const CharT *const s) noexcept
   8704     {
   8705       return strlen_c_r(s, 0UL);
   8706     }
   8707 
   8708     static_assert(strlen_c("") == 0UL, "");
   8709     static_assert(strlen_c("1") == 1UL, "");
   8710     static_assert(strlen_c("example") == 7UL, "");
   8711     static_assert(strlen_c("another\0example") == 7UL, "");
   8712 
   8713   }
   8714 
   8715   namespace test_rvalue_references
   8716   {
   8717 
   8718     template < int N >
   8719     struct answer
   8720     {
   8721       static constexpr int value = N;
   8722     };
   8723 
   8724     answer<1> f(int&)       { return answer<1>(); }
   8725     answer<2> f(const int&) { return answer<2>(); }
   8726     answer<3> f(int&&)      { return answer<3>(); }
   8727 
   8728     void
   8729     test()
   8730     {
   8731       int i = 0;
   8732       const int c = 0;
   8733       static_assert(decltype(f(i))::value == 1, "");
   8734       static_assert(decltype(f(c))::value == 2, "");
   8735       static_assert(decltype(f(0))::value == 3, "");
   8736     }
   8737 
   8738   }
   8739 
   8740   namespace test_uniform_initialization
   8741   {
   8742 
   8743     struct test
   8744     {
   8745       static const int zero {};
   8746       static const int one {1};
   8747     };
   8748 
   8749     static_assert(test::zero == 0, "");
   8750     static_assert(test::one == 1, "");
   8751 
   8752   }
   8753 
   8754   namespace test_lambdas
   8755   {
   8756 
   8757     void
   8758     test1()
   8759     {
   8760       auto lambda1 = [](){};
   8761       auto lambda2 = lambda1;
   8762       lambda1();
   8763       lambda2();
   8764     }
   8765 
   8766     int
   8767     test2()
   8768     {
   8769       auto a = [](int i, int j){ return i + j; }(1, 2);
   8770       auto b = []() -> int { return '0'; }();
   8771       auto c = [=](){ return a + b; }();
   8772       auto d = [&](){ return c; }();
   8773       auto e = [a, &b](int x) mutable {
   8774         const auto identity = [](int y){ return y; };
   8775         for (auto i = 0; i < a; ++i)
   8776           a += b--;
   8777         return x + identity(a + b);
   8778       }(0);
   8779       return a + b + c + d + e;
   8780     }
   8781 
   8782     int
   8783     test3()
   8784     {
   8785       const auto nullary = [](){ return 0; };
   8786       const auto unary = [](int x){ return x; };
   8787       using nullary_t = decltype(nullary);
   8788       using unary_t = decltype(unary);
   8789       const auto higher1st = [](nullary_t f){ return f(); };
   8790       const auto higher2nd = [unary](nullary_t f1){
   8791         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   8792       };
   8793       return higher1st(nullary) + higher2nd(nullary)(unary);
   8794     }
   8795 
   8796   }
   8797 
   8798   namespace test_variadic_templates
   8799   {
   8800 
   8801     template <int...>
   8802     struct sum;
   8803 
   8804     template <int N0, int... N1toN>
   8805     struct sum<N0, N1toN...>
   8806     {
   8807       static constexpr auto value = N0 + sum<N1toN...>::value;
   8808     };
   8809 
   8810     template <>
   8811     struct sum<>
   8812     {
   8813       static constexpr auto value = 0;
   8814     };
   8815 
   8816     static_assert(sum<>::value == 0, "");
   8817     static_assert(sum<1>::value == 1, "");
   8818     static_assert(sum<23>::value == 23, "");
   8819     static_assert(sum<1, 2>::value == 3, "");
   8820     static_assert(sum<5, 5, 11>::value == 21, "");
   8821     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   8822 
   8823   }
   8824 
   8825   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   8826   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   8827   // because of this.
   8828   namespace test_template_alias_sfinae
   8829   {
   8830 
   8831     struct foo {};
   8832 
   8833     template<typename T>
   8834     using member = typename T::member_type;
   8835 
   8836     template<typename T>
   8837     void func(...) {}
   8838 
   8839     template<typename T>
   8840     void func(member<T>*) {}
   8841 
   8842     void test();
   8843 
   8844     void test() { func<foo>(0); }
   8845 
   8846   }
   8847 
   8848 }  // namespace cxx11
   8849 
   8850 #endif  // __cplusplus >= 201103L
   8851 
   8852 
   8853 
   8854 _ACEOF
   8855 if ac_fn_cxx_try_compile "$LINENO"
   8856 then :
   8857   ax_cv_cxx_compile_cxx11=yes
   8858 else $as_nop
   8859   ax_cv_cxx_compile_cxx11=no
   8860 fi
   8861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8862 fi
   8863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
   8864 printf "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; }
   8865   if test x$ax_cv_cxx_compile_cxx11 = xyes; then
   8866     ac_success=yes
   8867   fi
   8868   ac_ext=c
   8869 ac_cpp='$CPP $CPPFLAGS'
   8870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8873 
   8874   if test x$ac_success = xno; then
   8875     HAVE_CXX11=0
   8876   else
   8877     HAVE_CXX11=1
   8878 
   8879 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
   8880 
   8881   fi
   8882 
   8883 
   8884 	else
   8885 		  ax_cxx_compile_alternatives="11 0x"    ax_cxx_compile_cxx11_required=false
   8886   ac_ext=cpp
   8887 ac_cpp='$CXXCPP $CPPFLAGS'
   8888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   8891   ac_success=no
   8892 
   8893 
   8894 
   8895 
   8896 
   8897     if test x$ac_success = xno; then
   8898                 for alternative in ${ax_cxx_compile_alternatives}; do
   8899       for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
   8900         cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
   8901         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
   8902 printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; }
   8903 if eval test \${$cachevar+y}
   8904 then :
   8905   printf %s "(cached) " >&6
   8906 else $as_nop
   8907   ac_save_CXX="$CXX"
   8908            CXX="$CXX $switch"
   8909            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8910 /* end confdefs.h.  */
   8911 
   8912 
   8913 // If the compiler admits that it is not ready for C++11, why torture it?
   8914 // Hopefully, this will speed up the test.
   8915 
   8916 #ifndef __cplusplus
   8917 
   8918 #error "This is not a C++ compiler"
   8919 
   8920 #elif __cplusplus < 201103L
   8921 
   8922 #error "This is not a C++11 compiler"
   8923 
   8924 #else
   8925 
   8926 namespace cxx11
   8927 {
   8928 
   8929   namespace test_static_assert
   8930   {
   8931 
   8932     template <typename T>
   8933     struct check
   8934     {
   8935       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   8936     };
   8937 
   8938   }
   8939 
   8940   namespace test_final_override
   8941   {
   8942 
   8943     struct Base
   8944     {
   8945       virtual ~Base() {}
   8946       virtual void f() {}
   8947     };
   8948 
   8949     struct Derived : public Base
   8950     {
   8951       virtual ~Derived() override {}
   8952       virtual void f() override {}
   8953     };
   8954 
   8955   }
   8956 
   8957   namespace test_double_right_angle_brackets
   8958   {
   8959 
   8960     template < typename T >
   8961     struct check {};
   8962 
   8963     typedef check<void> single_type;
   8964     typedef check<check<void>> double_type;
   8965     typedef check<check<check<void>>> triple_type;
   8966     typedef check<check<check<check<void>>>> quadruple_type;
   8967 
   8968   }
   8969 
   8970   namespace test_decltype
   8971   {
   8972 
   8973     int
   8974     f()
   8975     {
   8976       int a = 1;
   8977       decltype(a) b = 2;
   8978       return a + b;
   8979     }
   8980 
   8981   }
   8982 
   8983   namespace test_type_deduction
   8984   {
   8985 
   8986     template < typename T1, typename T2 >
   8987     struct is_same
   8988     {
   8989       static const bool value = false;
   8990     };
   8991 
   8992     template < typename T >
   8993     struct is_same<T, T>
   8994     {
   8995       static const bool value = true;
   8996     };
   8997 
   8998     template < typename T1, typename T2 >
   8999     auto
   9000     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   9001     {
   9002       return a1 + a2;
   9003     }
   9004 
   9005     int
   9006     test(const int c, volatile int v)
   9007     {
   9008       static_assert(is_same<int, decltype(0)>::value == true, "");
   9009       static_assert(is_same<int, decltype(c)>::value == false, "");
   9010       static_assert(is_same<int, decltype(v)>::value == false, "");
   9011       auto ac = c;
   9012       auto av = v;
   9013       auto sumi = ac + av + 'x';
   9014       auto sumf = ac + av + 1.0;
   9015       static_assert(is_same<int, decltype(ac)>::value == true, "");
   9016       static_assert(is_same<int, decltype(av)>::value == true, "");
   9017       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   9018       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   9019       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   9020       return (sumf > 0.0) ? sumi : add(c, v);
   9021     }
   9022 
   9023   }
   9024 
   9025   namespace test_noexcept
   9026   {
   9027 
   9028     int f() { return 0; }
   9029     int g() noexcept { return 0; }
   9030 
   9031     static_assert(noexcept(f()) == false, "");
   9032     static_assert(noexcept(g()) == true, "");
   9033 
   9034   }
   9035 
   9036   namespace test_constexpr
   9037   {
   9038 
   9039     template < typename CharT >
   9040     unsigned long constexpr
   9041     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   9042     {
   9043       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   9044     }
   9045 
   9046     template < typename CharT >
   9047     unsigned long constexpr
   9048     strlen_c(const CharT *const s) noexcept
   9049     {
   9050       return strlen_c_r(s, 0UL);
   9051     }
   9052 
   9053     static_assert(strlen_c("") == 0UL, "");
   9054     static_assert(strlen_c("1") == 1UL, "");
   9055     static_assert(strlen_c("example") == 7UL, "");
   9056     static_assert(strlen_c("another\0example") == 7UL, "");
   9057 
   9058   }
   9059 
   9060   namespace test_rvalue_references
   9061   {
   9062 
   9063     template < int N >
   9064     struct answer
   9065     {
   9066       static constexpr int value = N;
   9067     };
   9068 
   9069     answer<1> f(int&)       { return answer<1>(); }
   9070     answer<2> f(const int&) { return answer<2>(); }
   9071     answer<3> f(int&&)      { return answer<3>(); }
   9072 
   9073     void
   9074     test()
   9075     {
   9076       int i = 0;
   9077       const int c = 0;
   9078       static_assert(decltype(f(i))::value == 1, "");
   9079       static_assert(decltype(f(c))::value == 2, "");
   9080       static_assert(decltype(f(0))::value == 3, "");
   9081     }
   9082 
   9083   }
   9084 
   9085   namespace test_uniform_initialization
   9086   {
   9087 
   9088     struct test
   9089     {
   9090       static const int zero {};
   9091       static const int one {1};
   9092     };
   9093 
   9094     static_assert(test::zero == 0, "");
   9095     static_assert(test::one == 1, "");
   9096 
   9097   }
   9098 
   9099   namespace test_lambdas
   9100   {
   9101 
   9102     void
   9103     test1()
   9104     {
   9105       auto lambda1 = [](){};
   9106       auto lambda2 = lambda1;
   9107       lambda1();
   9108       lambda2();
   9109     }
   9110 
   9111     int
   9112     test2()
   9113     {
   9114       auto a = [](int i, int j){ return i + j; }(1, 2);
   9115       auto b = []() -> int { return '0'; }();
   9116       auto c = [=](){ return a + b; }();
   9117       auto d = [&](){ return c; }();
   9118       auto e = [a, &b](int x) mutable {
   9119         const auto identity = [](int y){ return y; };
   9120         for (auto i = 0; i < a; ++i)
   9121           a += b--;
   9122         return x + identity(a + b);
   9123       }(0);
   9124       return a + b + c + d + e;
   9125     }
   9126 
   9127     int
   9128     test3()
   9129     {
   9130       const auto nullary = [](){ return 0; };
   9131       const auto unary = [](int x){ return x; };
   9132       using nullary_t = decltype(nullary);
   9133       using unary_t = decltype(unary);
   9134       const auto higher1st = [](nullary_t f){ return f(); };
   9135       const auto higher2nd = [unary](nullary_t f1){
   9136         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   9137       };
   9138       return higher1st(nullary) + higher2nd(nullary)(unary);
   9139     }
   9140 
   9141   }
   9142 
   9143   namespace test_variadic_templates
   9144   {
   9145 
   9146     template <int...>
   9147     struct sum;
   9148 
   9149     template <int N0, int... N1toN>
   9150     struct sum<N0, N1toN...>
   9151     {
   9152       static constexpr auto value = N0 + sum<N1toN...>::value;
   9153     };
   9154 
   9155     template <>
   9156     struct sum<>
   9157     {
   9158       static constexpr auto value = 0;
   9159     };
   9160 
   9161     static_assert(sum<>::value == 0, "");
   9162     static_assert(sum<1>::value == 1, "");
   9163     static_assert(sum<23>::value == 23, "");
   9164     static_assert(sum<1, 2>::value == 3, "");
   9165     static_assert(sum<5, 5, 11>::value == 21, "");
   9166     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   9167 
   9168   }
   9169 
   9170   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   9171   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   9172   // because of this.
   9173   namespace test_template_alias_sfinae
   9174   {
   9175 
   9176     struct foo {};
   9177 
   9178     template<typename T>
   9179     using member = typename T::member_type;
   9180 
   9181     template<typename T>
   9182     void func(...) {}
   9183 
   9184     template<typename T>
   9185     void func(member<T>*) {}
   9186 
   9187     void test();
   9188 
   9189     void test() { func<foo>(0); }
   9190 
   9191   }
   9192 
   9193 }  // namespace cxx11
   9194 
   9195 #endif  // __cplusplus >= 201103L
   9196 
   9197 
   9198 
   9199 _ACEOF
   9200 if ac_fn_cxx_try_compile "$LINENO"
   9201 then :
   9202   eval $cachevar=yes
   9203 else $as_nop
   9204   eval $cachevar=no
   9205 fi
   9206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9207            CXX="$ac_save_CXX"
   9208 fi
   9209 eval ac_res=\$$cachevar
   9210 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9211 printf "%s\n" "$ac_res" >&6; }
   9212         if eval test x\$$cachevar = xyes; then
   9213           CXX="$CXX $switch"
   9214           if test -n "$CXXCPP" ; then
   9215             CXXCPP="$CXXCPP $switch"
   9216           fi
   9217           ac_success=yes
   9218           break
   9219         fi
   9220       done
   9221       if test x$ac_success = xyes; then
   9222         break
   9223       fi
   9224     done
   9225   fi
   9226   ac_ext=c
   9227 ac_cpp='$CPP $CPPFLAGS'
   9228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9231 
   9232   if test x$ax_cxx_compile_cxx11_required = xtrue; then
   9233     if test x$ac_success = xno; then
   9234       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
   9235     fi
   9236   fi
   9237   if test x$ac_success = xno; then
   9238     HAVE_CXX11=0
   9239     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
   9240 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
   9241   else
   9242     HAVE_CXX11=1
   9243 
   9244 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
   9245 
   9246   fi
   9247 
   9248 
   9249 	fi
   9250 
   9251   ax_cxx_compile_alternatives="17 1z"    ax_cxx_compile_cxx17_required=false
   9252   ac_ext=cpp
   9253 ac_cpp='$CXXCPP $CPPFLAGS'
   9254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   9257   ac_success=no
   9258 
   9259       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features by default" >&5
   9260 printf %s "checking whether $CXX supports C++17 features by default... " >&6; }
   9261 if test ${ax_cv_cxx_compile_cxx17+y}
   9262 then :
   9263   printf %s "(cached) " >&6
   9264 else $as_nop
   9265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9266 /* end confdefs.h.  */
   9267 
   9268 
   9269 // If the compiler admits that it is not ready for C++11, why torture it?
   9270 // Hopefully, this will speed up the test.
   9271 
   9272 #ifndef __cplusplus
   9273 
   9274 #error "This is not a C++ compiler"
   9275 
   9276 #elif __cplusplus < 201103L
   9277 
   9278 #error "This is not a C++11 compiler"
   9279 
   9280 #else
   9281 
   9282 namespace cxx11
   9283 {
   9284 
   9285   namespace test_static_assert
   9286   {
   9287 
   9288     template <typename T>
   9289     struct check
   9290     {
   9291       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   9292     };
   9293 
   9294   }
   9295 
   9296   namespace test_final_override
   9297   {
   9298 
   9299     struct Base
   9300     {
   9301       virtual ~Base() {}
   9302       virtual void f() {}
   9303     };
   9304 
   9305     struct Derived : public Base
   9306     {
   9307       virtual ~Derived() override {}
   9308       virtual void f() override {}
   9309     };
   9310 
   9311   }
   9312 
   9313   namespace test_double_right_angle_brackets
   9314   {
   9315 
   9316     template < typename T >
   9317     struct check {};
   9318 
   9319     typedef check<void> single_type;
   9320     typedef check<check<void>> double_type;
   9321     typedef check<check<check<void>>> triple_type;
   9322     typedef check<check<check<check<void>>>> quadruple_type;
   9323 
   9324   }
   9325 
   9326   namespace test_decltype
   9327   {
   9328 
   9329     int
   9330     f()
   9331     {
   9332       int a = 1;
   9333       decltype(a) b = 2;
   9334       return a + b;
   9335     }
   9336 
   9337   }
   9338 
   9339   namespace test_type_deduction
   9340   {
   9341 
   9342     template < typename T1, typename T2 >
   9343     struct is_same
   9344     {
   9345       static const bool value = false;
   9346     };
   9347 
   9348     template < typename T >
   9349     struct is_same<T, T>
   9350     {
   9351       static const bool value = true;
   9352     };
   9353 
   9354     template < typename T1, typename T2 >
   9355     auto
   9356     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   9357     {
   9358       return a1 + a2;
   9359     }
   9360 
   9361     int
   9362     test(const int c, volatile int v)
   9363     {
   9364       static_assert(is_same<int, decltype(0)>::value == true, "");
   9365       static_assert(is_same<int, decltype(c)>::value == false, "");
   9366       static_assert(is_same<int, decltype(v)>::value == false, "");
   9367       auto ac = c;
   9368       auto av = v;
   9369       auto sumi = ac + av + 'x';
   9370       auto sumf = ac + av + 1.0;
   9371       static_assert(is_same<int, decltype(ac)>::value == true, "");
   9372       static_assert(is_same<int, decltype(av)>::value == true, "");
   9373       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   9374       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   9375       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   9376       return (sumf > 0.0) ? sumi : add(c, v);
   9377     }
   9378 
   9379   }
   9380 
   9381   namespace test_noexcept
   9382   {
   9383 
   9384     int f() { return 0; }
   9385     int g() noexcept { return 0; }
   9386 
   9387     static_assert(noexcept(f()) == false, "");
   9388     static_assert(noexcept(g()) == true, "");
   9389 
   9390   }
   9391 
   9392   namespace test_constexpr
   9393   {
   9394 
   9395     template < typename CharT >
   9396     unsigned long constexpr
   9397     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   9398     {
   9399       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   9400     }
   9401 
   9402     template < typename CharT >
   9403     unsigned long constexpr
   9404     strlen_c(const CharT *const s) noexcept
   9405     {
   9406       return strlen_c_r(s, 0UL);
   9407     }
   9408 
   9409     static_assert(strlen_c("") == 0UL, "");
   9410     static_assert(strlen_c("1") == 1UL, "");
   9411     static_assert(strlen_c("example") == 7UL, "");
   9412     static_assert(strlen_c("another\0example") == 7UL, "");
   9413 
   9414   }
   9415 
   9416   namespace test_rvalue_references
   9417   {
   9418 
   9419     template < int N >
   9420     struct answer
   9421     {
   9422       static constexpr int value = N;
   9423     };
   9424 
   9425     answer<1> f(int&)       { return answer<1>(); }
   9426     answer<2> f(const int&) { return answer<2>(); }
   9427     answer<3> f(int&&)      { return answer<3>(); }
   9428 
   9429     void
   9430     test()
   9431     {
   9432       int i = 0;
   9433       const int c = 0;
   9434       static_assert(decltype(f(i))::value == 1, "");
   9435       static_assert(decltype(f(c))::value == 2, "");
   9436       static_assert(decltype(f(0))::value == 3, "");
   9437     }
   9438 
   9439   }
   9440 
   9441   namespace test_uniform_initialization
   9442   {
   9443 
   9444     struct test
   9445     {
   9446       static const int zero {};
   9447       static const int one {1};
   9448     };
   9449 
   9450     static_assert(test::zero == 0, "");
   9451     static_assert(test::one == 1, "");
   9452 
   9453   }
   9454 
   9455   namespace test_lambdas
   9456   {
   9457 
   9458     void
   9459     test1()
   9460     {
   9461       auto lambda1 = [](){};
   9462       auto lambda2 = lambda1;
   9463       lambda1();
   9464       lambda2();
   9465     }
   9466 
   9467     int
   9468     test2()
   9469     {
   9470       auto a = [](int i, int j){ return i + j; }(1, 2);
   9471       auto b = []() -> int { return '0'; }();
   9472       auto c = [=](){ return a + b; }();
   9473       auto d = [&](){ return c; }();
   9474       auto e = [a, &b](int x) mutable {
   9475         const auto identity = [](int y){ return y; };
   9476         for (auto i = 0; i < a; ++i)
   9477           a += b--;
   9478         return x + identity(a + b);
   9479       }(0);
   9480       return a + b + c + d + e;
   9481     }
   9482 
   9483     int
   9484     test3()
   9485     {
   9486       const auto nullary = [](){ return 0; };
   9487       const auto unary = [](int x){ return x; };
   9488       using nullary_t = decltype(nullary);
   9489       using unary_t = decltype(unary);
   9490       const auto higher1st = [](nullary_t f){ return f(); };
   9491       const auto higher2nd = [unary](nullary_t f1){
   9492         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   9493       };
   9494       return higher1st(nullary) + higher2nd(nullary)(unary);
   9495     }
   9496 
   9497   }
   9498 
   9499   namespace test_variadic_templates
   9500   {
   9501 
   9502     template <int...>
   9503     struct sum;
   9504 
   9505     template <int N0, int... N1toN>
   9506     struct sum<N0, N1toN...>
   9507     {
   9508       static constexpr auto value = N0 + sum<N1toN...>::value;
   9509     };
   9510 
   9511     template <>
   9512     struct sum<>
   9513     {
   9514       static constexpr auto value = 0;
   9515     };
   9516 
   9517     static_assert(sum<>::value == 0, "");
   9518     static_assert(sum<1>::value == 1, "");
   9519     static_assert(sum<23>::value == 23, "");
   9520     static_assert(sum<1, 2>::value == 3, "");
   9521     static_assert(sum<5, 5, 11>::value == 21, "");
   9522     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   9523 
   9524   }
   9525 
   9526   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   9527   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   9528   // because of this.
   9529   namespace test_template_alias_sfinae
   9530   {
   9531 
   9532     struct foo {};
   9533 
   9534     template<typename T>
   9535     using member = typename T::member_type;
   9536 
   9537     template<typename T>
   9538     void func(...) {}
   9539 
   9540     template<typename T>
   9541     void func(member<T>*) {}
   9542 
   9543     void test();
   9544 
   9545     void test() { func<foo>(0); }
   9546 
   9547   }
   9548 
   9549 }  // namespace cxx11
   9550 
   9551 #endif  // __cplusplus >= 201103L
   9552 
   9553 
   9554 
   9555 
   9556 // If the compiler admits that it is not ready for C++14, why torture it?
   9557 // Hopefully, this will speed up the test.
   9558 
   9559 #ifndef __cplusplus
   9560 
   9561 #error "This is not a C++ compiler"
   9562 
   9563 #elif __cplusplus < 201402L
   9564 
   9565 #error "This is not a C++14 compiler"
   9566 
   9567 #else
   9568 
   9569 namespace cxx14
   9570 {
   9571 
   9572   namespace test_polymorphic_lambdas
   9573   {
   9574 
   9575     int
   9576     test()
   9577     {
   9578       const auto lambda = [](auto&&... args){
   9579         const auto istiny = [](auto x){
   9580           return (sizeof(x) == 1UL) ? 1 : 0;
   9581         };
   9582         const int aretiny[] = { istiny(args)... };
   9583         return aretiny[0];
   9584       };
   9585       return lambda(1, 1L, 1.0f, '1');
   9586     }
   9587 
   9588   }
   9589 
   9590   namespace test_binary_literals
   9591   {
   9592 
   9593     constexpr auto ivii = 0b0000000000101010;
   9594     static_assert(ivii == 42, "wrong value");
   9595 
   9596   }
   9597 
   9598   namespace test_generalized_constexpr
   9599   {
   9600 
   9601     template < typename CharT >
   9602     constexpr unsigned long
   9603     strlen_c(const CharT *const s) noexcept
   9604     {
   9605       auto length = 0UL;
   9606       for (auto p = s; *p; ++p)
   9607         ++length;
   9608       return length;
   9609     }
   9610 
   9611     static_assert(strlen_c("") == 0UL, "");
   9612     static_assert(strlen_c("x") == 1UL, "");
   9613     static_assert(strlen_c("test") == 4UL, "");
   9614     static_assert(strlen_c("another\0test") == 7UL, "");
   9615 
   9616   }
   9617 
   9618   namespace test_lambda_init_capture
   9619   {
   9620 
   9621     int
   9622     test()
   9623     {
   9624       auto x = 0;
   9625       const auto lambda1 = [a = x](int b){ return a + b; };
   9626       const auto lambda2 = [a = lambda1(x)](){ return a; };
   9627       return lambda2();
   9628     }
   9629 
   9630   }
   9631 
   9632   namespace test_digit_separators
   9633   {
   9634 
   9635     constexpr auto ten_million = 100'000'000;
   9636     static_assert(ten_million == 100000000, "");
   9637 
   9638   }
   9639 
   9640   namespace test_return_type_deduction
   9641   {
   9642 
   9643     auto f(int& x) { return x; }
   9644     decltype(auto) g(int& x) { return x; }
   9645 
   9646     template < typename T1, typename T2 >
   9647     struct is_same
   9648     {
   9649       static constexpr auto value = false;
   9650     };
   9651 
   9652     template < typename T >
   9653     struct is_same<T, T>
   9654     {
   9655       static constexpr auto value = true;
   9656     };
   9657 
   9658     int
   9659     test()
   9660     {
   9661       auto x = 0;
   9662       static_assert(is_same<int, decltype(f(x))>::value, "");
   9663       static_assert(is_same<int&, decltype(g(x))>::value, "");
   9664       return x;
   9665     }
   9666 
   9667   }
   9668 
   9669 }  // namespace cxx14
   9670 
   9671 #endif  // __cplusplus >= 201402L
   9672 
   9673 
   9674 
   9675 
   9676 // If the compiler admits that it is not ready for C++17, why torture it?
   9677 // Hopefully, this will speed up the test.
   9678 
   9679 #ifndef __cplusplus
   9680 
   9681 #error "This is not a C++ compiler"
   9682 
   9683 #elif __cplusplus < 201703L
   9684 
   9685 #error "This is not a C++17 compiler"
   9686 
   9687 #else
   9688 
   9689 #include <initializer_list>
   9690 #include <utility>
   9691 #include <type_traits>
   9692 
   9693 namespace cxx17
   9694 {
   9695 
   9696   namespace test_constexpr_lambdas
   9697   {
   9698 
   9699     constexpr int foo = [](){return 42;}();
   9700 
   9701   }
   9702 
   9703   namespace test::nested_namespace::definitions
   9704   {
   9705 
   9706   }
   9707 
   9708   namespace test_fold_expression
   9709   {
   9710 
   9711     template<typename... Args>
   9712     int multiply(Args... args)
   9713     {
   9714       return (args * ... * 1);
   9715     }
   9716 
   9717     template<typename... Args>
   9718     bool all(Args... args)
   9719     {
   9720       return (args && ...);
   9721     }
   9722 
   9723   }
   9724 
   9725   namespace test_extended_static_assert
   9726   {
   9727 
   9728     static_assert (true);
   9729 
   9730   }
   9731 
   9732   namespace test_auto_brace_init_list
   9733   {
   9734 
   9735     auto foo = {5};
   9736     auto bar {5};
   9737 
   9738     static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
   9739     static_assert(std::is_same<int, decltype(bar)>::value);
   9740   }
   9741 
   9742   namespace test_typename_in_template_template_parameter
   9743   {
   9744 
   9745     template<template<typename> typename X> struct D;
   9746 
   9747   }
   9748 
   9749   namespace test_fallthrough_nodiscard_maybe_unused_attributes
   9750   {
   9751 
   9752     int f1()
   9753     {
   9754       return 42;
   9755     }
   9756 
   9757     [[nodiscard]] int f2()
   9758     {
   9759       [[maybe_unused]] auto unused = f1();
   9760 
   9761       switch (f1())
   9762       {
   9763       case 17:
   9764         f1();
   9765         [[fallthrough]];
   9766       case 42:
   9767         f1();
   9768       }
   9769       return f1();
   9770     }
   9771 
   9772   }
   9773 
   9774   namespace test_extended_aggregate_initialization
   9775   {
   9776 
   9777     struct base1
   9778     {
   9779       int b1, b2 = 42;
   9780     };
   9781 
   9782     struct base2
   9783     {
   9784       base2() {
   9785         b3 = 42;
   9786       }
   9787       int b3;
   9788     };
   9789 
   9790     struct derived : base1, base2
   9791     {
   9792         int d;
   9793     };
   9794 
   9795     derived d1 {{1, 2}, {}, 4};  // full initialization
   9796     derived d2 {{}, {}, 4};      // value-initialized bases
   9797 
   9798   }
   9799 
   9800   namespace test_general_range_based_for_loop
   9801   {
   9802 
   9803     struct iter
   9804     {
   9805       int i;
   9806 
   9807       int& operator* ()
   9808       {
   9809         return i;
   9810       }
   9811 
   9812       const int& operator* () const
   9813       {
   9814         return i;
   9815       }
   9816 
   9817       iter& operator++()
   9818       {
   9819         ++i;
   9820         return *this;
   9821       }
   9822     };
   9823 
   9824     struct sentinel
   9825     {
   9826       int i;
   9827     };
   9828 
   9829     bool operator== (const iter& i, const sentinel& s)
   9830     {
   9831       return i.i == s.i;
   9832     }
   9833 
   9834     bool operator!= (const iter& i, const sentinel& s)
   9835     {
   9836       return !(i == s);
   9837     }
   9838 
   9839     struct range
   9840     {
   9841       iter begin() const
   9842       {
   9843         return {0};
   9844       }
   9845 
   9846       sentinel end() const
   9847       {
   9848         return {5};
   9849       }
   9850     };
   9851 
   9852     void f()
   9853     {
   9854       range r {};
   9855 
   9856       for (auto i : r)
   9857       {
   9858         [[maybe_unused]] auto v = i;
   9859       }
   9860     }
   9861 
   9862   }
   9863 
   9864   namespace test_lambda_capture_asterisk_this_by_value
   9865   {
   9866 
   9867     struct t
   9868     {
   9869       int i;
   9870       int foo()
   9871       {
   9872         return [*this]()
   9873         {
   9874           return i;
   9875         }();
   9876       }
   9877     };
   9878 
   9879   }
   9880 
   9881   namespace test_enum_class_construction
   9882   {
   9883 
   9884     enum class byte : unsigned char
   9885     {};
   9886 
   9887     byte foo {42};
   9888 
   9889   }
   9890 
   9891   namespace test_constexpr_if
   9892   {
   9893 
   9894     template <bool cond>
   9895     int f ()
   9896     {
   9897       if constexpr(cond)
   9898       {
   9899         return 13;
   9900       }
   9901       else
   9902       {
   9903         return 42;
   9904       }
   9905     }
   9906 
   9907   }
   9908 
   9909   namespace test_selection_statement_with_initializer
   9910   {
   9911 
   9912     int f()
   9913     {
   9914       return 13;
   9915     }
   9916 
   9917     int f2()
   9918     {
   9919       if (auto i = f(); i > 0)
   9920       {
   9921         return 3;
   9922       }
   9923 
   9924       switch (auto i = f(); i + 4)
   9925       {
   9926       case 17:
   9927         return 2;
   9928 
   9929       default:
   9930         return 1;
   9931       }
   9932     }
   9933 
   9934   }
   9935 
   9936   namespace test_template_argument_deduction_for_class_templates
   9937   {
   9938 
   9939     template <typename T1, typename T2>
   9940     struct pair
   9941     {
   9942       pair (T1 p1, T2 p2)
   9943         : m1 {p1},
   9944           m2 {p2}
   9945       {}
   9946 
   9947       T1 m1;
   9948       T2 m2;
   9949     };
   9950 
   9951     void f()
   9952     {
   9953       [[maybe_unused]] auto p = pair{13, 42u};
   9954     }
   9955 
   9956   }
   9957 
   9958   namespace test_non_type_auto_template_parameters
   9959   {
   9960 
   9961     template <auto n>
   9962     struct B
   9963     {};
   9964 
   9965     B<5> b1;
   9966     B<'a'> b2;
   9967 
   9968   }
   9969 
   9970   namespace test_structured_bindings
   9971   {
   9972 
   9973     int arr[2] = { 1, 2 };
   9974     std::pair<int, int> pr = { 1, 2 };
   9975 
   9976     auto f1() -> int(&)[2]
   9977     {
   9978       return arr;
   9979     }
   9980 
   9981     auto f2() -> std::pair<int, int>&
   9982     {
   9983       return pr;
   9984     }
   9985 
   9986     struct S
   9987     {
   9988       int x1 : 2;
   9989       volatile double y1;
   9990     };
   9991 
   9992     S f3()
   9993     {
   9994       return {};
   9995     }
   9996 
   9997     auto [ x1, y1 ] = f1();
   9998     auto& [ xr1, yr1 ] = f1();
   9999     auto [ x2, y2 ] = f2();
   10000     auto& [ xr2, yr2 ] = f2();
   10001     const auto [ x3, y3 ] = f3();
   10002 
   10003   }
   10004 
   10005   namespace test_exception_spec_type_system
   10006   {
   10007 
   10008     struct Good {};
   10009     struct Bad {};
   10010 
   10011     void g1() noexcept;
   10012     void g2();
   10013 
   10014     template<typename T>
   10015     Bad
   10016     f(T*, T*);
   10017 
   10018     template<typename T1, typename T2>
   10019     Good
   10020     f(T1*, T2*);
   10021 
   10022     static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
   10023 
   10024   }
   10025 
   10026   namespace test_inline_variables
   10027   {
   10028 
   10029     template<class T> void f(T)
   10030     {}
   10031 
   10032     template<class T> inline T g(T)
   10033     {
   10034       return T{};
   10035     }
   10036 
   10037     template<> inline void f<>(int)
   10038     {}
   10039 
   10040     template<> int g<>(int)
   10041     {
   10042       return 5;
   10043     }
   10044 
   10045   }
   10046 
   10047 }  // namespace cxx17
   10048 
   10049 #endif  // __cplusplus < 201703L
   10050 
   10051 
   10052 
   10053 _ACEOF
   10054 if ac_fn_cxx_try_compile "$LINENO"
   10055 then :
   10056   ax_cv_cxx_compile_cxx17=yes
   10057 else $as_nop
   10058   ax_cv_cxx_compile_cxx17=no
   10059 fi
   10060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10061 fi
   10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5
   10063 printf "%s\n" "$ax_cv_cxx_compile_cxx17" >&6; }
   10064     if test x$ax_cv_cxx_compile_cxx17 = xyes; then
   10065       ac_success=yes
   10066     fi
   10067 
   10068     if test x$ac_success = xno; then
   10069     for alternative in ${ax_cxx_compile_alternatives}; do
   10070       switch="-std=gnu++${alternative}"
   10071       cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
   10072       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
   10073 printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
   10074 if eval test \${$cachevar+y}
   10075 then :
   10076   printf %s "(cached) " >&6
   10077 else $as_nop
   10078   ac_save_CXX="$CXX"
   10079          CXX="$CXX $switch"
   10080          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10081 /* end confdefs.h.  */
   10082 
   10083 
   10084 // If the compiler admits that it is not ready for C++11, why torture it?
   10085 // Hopefully, this will speed up the test.
   10086 
   10087 #ifndef __cplusplus
   10088 
   10089 #error "This is not a C++ compiler"
   10090 
   10091 #elif __cplusplus < 201103L
   10092 
   10093 #error "This is not a C++11 compiler"
   10094 
   10095 #else
   10096 
   10097 namespace cxx11
   10098 {
   10099 
   10100   namespace test_static_assert
   10101   {
   10102 
   10103     template <typename T>
   10104     struct check
   10105     {
   10106       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   10107     };
   10108 
   10109   }
   10110 
   10111   namespace test_final_override
   10112   {
   10113 
   10114     struct Base
   10115     {
   10116       virtual ~Base() {}
   10117       virtual void f() {}
   10118     };
   10119 
   10120     struct Derived : public Base
   10121     {
   10122       virtual ~Derived() override {}
   10123       virtual void f() override {}
   10124     };
   10125 
   10126   }
   10127 
   10128   namespace test_double_right_angle_brackets
   10129   {
   10130 
   10131     template < typename T >
   10132     struct check {};
   10133 
   10134     typedef check<void> single_type;
   10135     typedef check<check<void>> double_type;
   10136     typedef check<check<check<void>>> triple_type;
   10137     typedef check<check<check<check<void>>>> quadruple_type;
   10138 
   10139   }
   10140 
   10141   namespace test_decltype
   10142   {
   10143 
   10144     int
   10145     f()
   10146     {
   10147       int a = 1;
   10148       decltype(a) b = 2;
   10149       return a + b;
   10150     }
   10151 
   10152   }
   10153 
   10154   namespace test_type_deduction
   10155   {
   10156 
   10157     template < typename T1, typename T2 >
   10158     struct is_same
   10159     {
   10160       static const bool value = false;
   10161     };
   10162 
   10163     template < typename T >
   10164     struct is_same<T, T>
   10165     {
   10166       static const bool value = true;
   10167     };
   10168 
   10169     template < typename T1, typename T2 >
   10170     auto
   10171     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   10172     {
   10173       return a1 + a2;
   10174     }
   10175 
   10176     int
   10177     test(const int c, volatile int v)
   10178     {
   10179       static_assert(is_same<int, decltype(0)>::value == true, "");
   10180       static_assert(is_same<int, decltype(c)>::value == false, "");
   10181       static_assert(is_same<int, decltype(v)>::value == false, "");
   10182       auto ac = c;
   10183       auto av = v;
   10184       auto sumi = ac + av + 'x';
   10185       auto sumf = ac + av + 1.0;
   10186       static_assert(is_same<int, decltype(ac)>::value == true, "");
   10187       static_assert(is_same<int, decltype(av)>::value == true, "");
   10188       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   10189       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   10190       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   10191       return (sumf > 0.0) ? sumi : add(c, v);
   10192     }
   10193 
   10194   }
   10195 
   10196   namespace test_noexcept
   10197   {
   10198 
   10199     int f() { return 0; }
   10200     int g() noexcept { return 0; }
   10201 
   10202     static_assert(noexcept(f()) == false, "");
   10203     static_assert(noexcept(g()) == true, "");
   10204 
   10205   }
   10206 
   10207   namespace test_constexpr
   10208   {
   10209 
   10210     template < typename CharT >
   10211     unsigned long constexpr
   10212     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   10213     {
   10214       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   10215     }
   10216 
   10217     template < typename CharT >
   10218     unsigned long constexpr
   10219     strlen_c(const CharT *const s) noexcept
   10220     {
   10221       return strlen_c_r(s, 0UL);
   10222     }
   10223 
   10224     static_assert(strlen_c("") == 0UL, "");
   10225     static_assert(strlen_c("1") == 1UL, "");
   10226     static_assert(strlen_c("example") == 7UL, "");
   10227     static_assert(strlen_c("another\0example") == 7UL, "");
   10228 
   10229   }
   10230 
   10231   namespace test_rvalue_references
   10232   {
   10233 
   10234     template < int N >
   10235     struct answer
   10236     {
   10237       static constexpr int value = N;
   10238     };
   10239 
   10240     answer<1> f(int&)       { return answer<1>(); }
   10241     answer<2> f(const int&) { return answer<2>(); }
   10242     answer<3> f(int&&)      { return answer<3>(); }
   10243 
   10244     void
   10245     test()
   10246     {
   10247       int i = 0;
   10248       const int c = 0;
   10249       static_assert(decltype(f(i))::value == 1, "");
   10250       static_assert(decltype(f(c))::value == 2, "");
   10251       static_assert(decltype(f(0))::value == 3, "");
   10252     }
   10253 
   10254   }
   10255 
   10256   namespace test_uniform_initialization
   10257   {
   10258 
   10259     struct test
   10260     {
   10261       static const int zero {};
   10262       static const int one {1};
   10263     };
   10264 
   10265     static_assert(test::zero == 0, "");
   10266     static_assert(test::one == 1, "");
   10267 
   10268   }
   10269 
   10270   namespace test_lambdas
   10271   {
   10272 
   10273     void
   10274     test1()
   10275     {
   10276       auto lambda1 = [](){};
   10277       auto lambda2 = lambda1;
   10278       lambda1();
   10279       lambda2();
   10280     }
   10281 
   10282     int
   10283     test2()
   10284     {
   10285       auto a = [](int i, int j){ return i + j; }(1, 2);
   10286       auto b = []() -> int { return '0'; }();
   10287       auto c = [=](){ return a + b; }();
   10288       auto d = [&](){ return c; }();
   10289       auto e = [a, &b](int x) mutable {
   10290         const auto identity = [](int y){ return y; };
   10291         for (auto i = 0; i < a; ++i)
   10292           a += b--;
   10293         return x + identity(a + b);
   10294       }(0);
   10295       return a + b + c + d + e;
   10296     }
   10297 
   10298     int
   10299     test3()
   10300     {
   10301       const auto nullary = [](){ return 0; };
   10302       const auto unary = [](int x){ return x; };
   10303       using nullary_t = decltype(nullary);
   10304       using unary_t = decltype(unary);
   10305       const auto higher1st = [](nullary_t f){ return f(); };
   10306       const auto higher2nd = [unary](nullary_t f1){
   10307         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   10308       };
   10309       return higher1st(nullary) + higher2nd(nullary)(unary);
   10310     }
   10311 
   10312   }
   10313 
   10314   namespace test_variadic_templates
   10315   {
   10316 
   10317     template <int...>
   10318     struct sum;
   10319 
   10320     template <int N0, int... N1toN>
   10321     struct sum<N0, N1toN...>
   10322     {
   10323       static constexpr auto value = N0 + sum<N1toN...>::value;
   10324     };
   10325 
   10326     template <>
   10327     struct sum<>
   10328     {
   10329       static constexpr auto value = 0;
   10330     };
   10331 
   10332     static_assert(sum<>::value == 0, "");
   10333     static_assert(sum<1>::value == 1, "");
   10334     static_assert(sum<23>::value == 23, "");
   10335     static_assert(sum<1, 2>::value == 3, "");
   10336     static_assert(sum<5, 5, 11>::value == 21, "");
   10337     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   10338 
   10339   }
   10340 
   10341   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   10342   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   10343   // because of this.
   10344   namespace test_template_alias_sfinae
   10345   {
   10346 
   10347     struct foo {};
   10348 
   10349     template<typename T>
   10350     using member = typename T::member_type;
   10351 
   10352     template<typename T>
   10353     void func(...) {}
   10354 
   10355     template<typename T>
   10356     void func(member<T>*) {}
   10357 
   10358     void test();
   10359 
   10360     void test() { func<foo>(0); }
   10361 
   10362   }
   10363 
   10364 }  // namespace cxx11
   10365 
   10366 #endif  // __cplusplus >= 201103L
   10367 
   10368 
   10369 
   10370 
   10371 // If the compiler admits that it is not ready for C++14, why torture it?
   10372 // Hopefully, this will speed up the test.
   10373 
   10374 #ifndef __cplusplus
   10375 
   10376 #error "This is not a C++ compiler"
   10377 
   10378 #elif __cplusplus < 201402L
   10379 
   10380 #error "This is not a C++14 compiler"
   10381 
   10382 #else
   10383 
   10384 namespace cxx14
   10385 {
   10386 
   10387   namespace test_polymorphic_lambdas
   10388   {
   10389 
   10390     int
   10391     test()
   10392     {
   10393       const auto lambda = [](auto&&... args){
   10394         const auto istiny = [](auto x){
   10395           return (sizeof(x) == 1UL) ? 1 : 0;
   10396         };
   10397         const int aretiny[] = { istiny(args)... };
   10398         return aretiny[0];
   10399       };
   10400       return lambda(1, 1L, 1.0f, '1');
   10401     }
   10402 
   10403   }
   10404 
   10405   namespace test_binary_literals
   10406   {
   10407 
   10408     constexpr auto ivii = 0b0000000000101010;
   10409     static_assert(ivii == 42, "wrong value");
   10410 
   10411   }
   10412 
   10413   namespace test_generalized_constexpr
   10414   {
   10415 
   10416     template < typename CharT >
   10417     constexpr unsigned long
   10418     strlen_c(const CharT *const s) noexcept
   10419     {
   10420       auto length = 0UL;
   10421       for (auto p = s; *p; ++p)
   10422         ++length;
   10423       return length;
   10424     }
   10425 
   10426     static_assert(strlen_c("") == 0UL, "");
   10427     static_assert(strlen_c("x") == 1UL, "");
   10428     static_assert(strlen_c("test") == 4UL, "");
   10429     static_assert(strlen_c("another\0test") == 7UL, "");
   10430 
   10431   }
   10432 
   10433   namespace test_lambda_init_capture
   10434   {
   10435 
   10436     int
   10437     test()
   10438     {
   10439       auto x = 0;
   10440       const auto lambda1 = [a = x](int b){ return a + b; };
   10441       const auto lambda2 = [a = lambda1(x)](){ return a; };
   10442       return lambda2();
   10443     }
   10444 
   10445   }
   10446 
   10447   namespace test_digit_separators
   10448   {
   10449 
   10450     constexpr auto ten_million = 100'000'000;
   10451     static_assert(ten_million == 100000000, "");
   10452 
   10453   }
   10454 
   10455   namespace test_return_type_deduction
   10456   {
   10457 
   10458     auto f(int& x) { return x; }
   10459     decltype(auto) g(int& x) { return x; }
   10460 
   10461     template < typename T1, typename T2 >
   10462     struct is_same
   10463     {
   10464       static constexpr auto value = false;
   10465     };
   10466 
   10467     template < typename T >
   10468     struct is_same<T, T>
   10469     {
   10470       static constexpr auto value = true;
   10471     };
   10472 
   10473     int
   10474     test()
   10475     {
   10476       auto x = 0;
   10477       static_assert(is_same<int, decltype(f(x))>::value, "");
   10478       static_assert(is_same<int&, decltype(g(x))>::value, "");
   10479       return x;
   10480     }
   10481 
   10482   }
   10483 
   10484 }  // namespace cxx14
   10485 
   10486 #endif  // __cplusplus >= 201402L
   10487 
   10488 
   10489 
   10490 
   10491 // If the compiler admits that it is not ready for C++17, why torture it?
   10492 // Hopefully, this will speed up the test.
   10493 
   10494 #ifndef __cplusplus
   10495 
   10496 #error "This is not a C++ compiler"
   10497 
   10498 #elif __cplusplus < 201703L
   10499 
   10500 #error "This is not a C++17 compiler"
   10501 
   10502 #else
   10503 
   10504 #include <initializer_list>
   10505 #include <utility>
   10506 #include <type_traits>
   10507 
   10508 namespace cxx17
   10509 {
   10510 
   10511   namespace test_constexpr_lambdas
   10512   {
   10513 
   10514     constexpr int foo = [](){return 42;}();
   10515 
   10516   }
   10517 
   10518   namespace test::nested_namespace::definitions
   10519   {
   10520 
   10521   }
   10522 
   10523   namespace test_fold_expression
   10524   {
   10525 
   10526     template<typename... Args>
   10527     int multiply(Args... args)
   10528     {
   10529       return (args * ... * 1);
   10530     }
   10531 
   10532     template<typename... Args>
   10533     bool all(Args... args)
   10534     {
   10535       return (args && ...);
   10536     }
   10537 
   10538   }
   10539 
   10540   namespace test_extended_static_assert
   10541   {
   10542 
   10543     static_assert (true);
   10544 
   10545   }
   10546 
   10547   namespace test_auto_brace_init_list
   10548   {
   10549 
   10550     auto foo = {5};
   10551     auto bar {5};
   10552 
   10553     static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
   10554     static_assert(std::is_same<int, decltype(bar)>::value);
   10555   }
   10556 
   10557   namespace test_typename_in_template_template_parameter
   10558   {
   10559 
   10560     template<template<typename> typename X> struct D;
   10561 
   10562   }
   10563 
   10564   namespace test_fallthrough_nodiscard_maybe_unused_attributes
   10565   {
   10566 
   10567     int f1()
   10568     {
   10569       return 42;
   10570     }
   10571 
   10572     [[nodiscard]] int f2()
   10573     {
   10574       [[maybe_unused]] auto unused = f1();
   10575 
   10576       switch (f1())
   10577       {
   10578       case 17:
   10579         f1();
   10580         [[fallthrough]];
   10581       case 42:
   10582         f1();
   10583       }
   10584       return f1();
   10585     }
   10586 
   10587   }
   10588 
   10589   namespace test_extended_aggregate_initialization
   10590   {
   10591 
   10592     struct base1
   10593     {
   10594       int b1, b2 = 42;
   10595     };
   10596 
   10597     struct base2
   10598     {
   10599       base2() {
   10600         b3 = 42;
   10601       }
   10602       int b3;
   10603     };
   10604 
   10605     struct derived : base1, base2
   10606     {
   10607         int d;
   10608     };
   10609 
   10610     derived d1 {{1, 2}, {}, 4};  // full initialization
   10611     derived d2 {{}, {}, 4};      // value-initialized bases
   10612 
   10613   }
   10614 
   10615   namespace test_general_range_based_for_loop
   10616   {
   10617 
   10618     struct iter
   10619     {
   10620       int i;
   10621 
   10622       int& operator* ()
   10623       {
   10624         return i;
   10625       }
   10626 
   10627       const int& operator* () const
   10628       {
   10629         return i;
   10630       }
   10631 
   10632       iter& operator++()
   10633       {
   10634         ++i;
   10635         return *this;
   10636       }
   10637     };
   10638 
   10639     struct sentinel
   10640     {
   10641       int i;
   10642     };
   10643 
   10644     bool operator== (const iter& i, const sentinel& s)
   10645     {
   10646       return i.i == s.i;
   10647     }
   10648 
   10649     bool operator!= (const iter& i, const sentinel& s)
   10650     {
   10651       return !(i == s);
   10652     }
   10653 
   10654     struct range
   10655     {
   10656       iter begin() const
   10657       {
   10658         return {0};
   10659       }
   10660 
   10661       sentinel end() const
   10662       {
   10663         return {5};
   10664       }
   10665     };
   10666 
   10667     void f()
   10668     {
   10669       range r {};
   10670 
   10671       for (auto i : r)
   10672       {
   10673         [[maybe_unused]] auto v = i;
   10674       }
   10675     }
   10676 
   10677   }
   10678 
   10679   namespace test_lambda_capture_asterisk_this_by_value
   10680   {
   10681 
   10682     struct t
   10683     {
   10684       int i;
   10685       int foo()
   10686       {
   10687         return [*this]()
   10688         {
   10689           return i;
   10690         }();
   10691       }
   10692     };
   10693 
   10694   }
   10695 
   10696   namespace test_enum_class_construction
   10697   {
   10698 
   10699     enum class byte : unsigned char
   10700     {};
   10701 
   10702     byte foo {42};
   10703 
   10704   }
   10705 
   10706   namespace test_constexpr_if
   10707   {
   10708 
   10709     template <bool cond>
   10710     int f ()
   10711     {
   10712       if constexpr(cond)
   10713       {
   10714         return 13;
   10715       }
   10716       else
   10717       {
   10718         return 42;
   10719       }
   10720     }
   10721 
   10722   }
   10723 
   10724   namespace test_selection_statement_with_initializer
   10725   {
   10726 
   10727     int f()
   10728     {
   10729       return 13;
   10730     }
   10731 
   10732     int f2()
   10733     {
   10734       if (auto i = f(); i > 0)
   10735       {
   10736         return 3;
   10737       }
   10738 
   10739       switch (auto i = f(); i + 4)
   10740       {
   10741       case 17:
   10742         return 2;
   10743 
   10744       default:
   10745         return 1;
   10746       }
   10747     }
   10748 
   10749   }
   10750 
   10751   namespace test_template_argument_deduction_for_class_templates
   10752   {
   10753 
   10754     template <typename T1, typename T2>
   10755     struct pair
   10756     {
   10757       pair (T1 p1, T2 p2)
   10758         : m1 {p1},
   10759           m2 {p2}
   10760       {}
   10761 
   10762       T1 m1;
   10763       T2 m2;
   10764     };
   10765 
   10766     void f()
   10767     {
   10768       [[maybe_unused]] auto p = pair{13, 42u};
   10769     }
   10770 
   10771   }
   10772 
   10773   namespace test_non_type_auto_template_parameters
   10774   {
   10775 
   10776     template <auto n>
   10777     struct B
   10778     {};
   10779 
   10780     B<5> b1;
   10781     B<'a'> b2;
   10782 
   10783   }
   10784 
   10785   namespace test_structured_bindings
   10786   {
   10787 
   10788     int arr[2] = { 1, 2 };
   10789     std::pair<int, int> pr = { 1, 2 };
   10790 
   10791     auto f1() -> int(&)[2]
   10792     {
   10793       return arr;
   10794     }
   10795 
   10796     auto f2() -> std::pair<int, int>&
   10797     {
   10798       return pr;
   10799     }
   10800 
   10801     struct S
   10802     {
   10803       int x1 : 2;
   10804       volatile double y1;
   10805     };
   10806 
   10807     S f3()
   10808     {
   10809       return {};
   10810     }
   10811 
   10812     auto [ x1, y1 ] = f1();
   10813     auto& [ xr1, yr1 ] = f1();
   10814     auto [ x2, y2 ] = f2();
   10815     auto& [ xr2, yr2 ] = f2();
   10816     const auto [ x3, y3 ] = f3();
   10817 
   10818   }
   10819 
   10820   namespace test_exception_spec_type_system
   10821   {
   10822 
   10823     struct Good {};
   10824     struct Bad {};
   10825 
   10826     void g1() noexcept;
   10827     void g2();
   10828 
   10829     template<typename T>
   10830     Bad
   10831     f(T*, T*);
   10832 
   10833     template<typename T1, typename T2>
   10834     Good
   10835     f(T1*, T2*);
   10836 
   10837     static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
   10838 
   10839   }
   10840 
   10841   namespace test_inline_variables
   10842   {
   10843 
   10844     template<class T> void f(T)
   10845     {}
   10846 
   10847     template<class T> inline T g(T)
   10848     {
   10849       return T{};
   10850     }
   10851 
   10852     template<> inline void f<>(int)
   10853     {}
   10854 
   10855     template<> int g<>(int)
   10856     {
   10857       return 5;
   10858     }
   10859 
   10860   }
   10861 
   10862 }  // namespace cxx17
   10863 
   10864 #endif  // __cplusplus < 201703L
   10865 
   10866 
   10867 
   10868 _ACEOF
   10869 if ac_fn_cxx_try_compile "$LINENO"
   10870 then :
   10871   eval $cachevar=yes
   10872 else $as_nop
   10873   eval $cachevar=no
   10874 fi
   10875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10876          CXX="$ac_save_CXX"
   10877 fi
   10878 eval ac_res=\$$cachevar
   10879 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   10880 printf "%s\n" "$ac_res" >&6; }
   10881       if eval test x\$$cachevar = xyes; then
   10882         CXX="$CXX $switch"
   10883         if test -n "$CXXCPP" ; then
   10884           CXXCPP="$CXXCPP $switch"
   10885         fi
   10886         ac_success=yes
   10887         break
   10888       fi
   10889     done
   10890   fi
   10891 
   10892     if test x$ac_success = xno; then
   10893                 for alternative in ${ax_cxx_compile_alternatives}; do
   10894       for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
   10895         cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh`
   10896         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5
   10897 printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; }
   10898 if eval test \${$cachevar+y}
   10899 then :
   10900   printf %s "(cached) " >&6
   10901 else $as_nop
   10902   ac_save_CXX="$CXX"
   10903            CXX="$CXX $switch"
   10904            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10905 /* end confdefs.h.  */
   10906 
   10907 
   10908 // If the compiler admits that it is not ready for C++11, why torture it?
   10909 // Hopefully, this will speed up the test.
   10910 
   10911 #ifndef __cplusplus
   10912 
   10913 #error "This is not a C++ compiler"
   10914 
   10915 #elif __cplusplus < 201103L
   10916 
   10917 #error "This is not a C++11 compiler"
   10918 
   10919 #else
   10920 
   10921 namespace cxx11
   10922 {
   10923 
   10924   namespace test_static_assert
   10925   {
   10926 
   10927     template <typename T>
   10928     struct check
   10929     {
   10930       static_assert(sizeof(int) <= sizeof(T), "not big enough");
   10931     };
   10932 
   10933   }
   10934 
   10935   namespace test_final_override
   10936   {
   10937 
   10938     struct Base
   10939     {
   10940       virtual ~Base() {}
   10941       virtual void f() {}
   10942     };
   10943 
   10944     struct Derived : public Base
   10945     {
   10946       virtual ~Derived() override {}
   10947       virtual void f() override {}
   10948     };
   10949 
   10950   }
   10951 
   10952   namespace test_double_right_angle_brackets
   10953   {
   10954 
   10955     template < typename T >
   10956     struct check {};
   10957 
   10958     typedef check<void> single_type;
   10959     typedef check<check<void>> double_type;
   10960     typedef check<check<check<void>>> triple_type;
   10961     typedef check<check<check<check<void>>>> quadruple_type;
   10962 
   10963   }
   10964 
   10965   namespace test_decltype
   10966   {
   10967 
   10968     int
   10969     f()
   10970     {
   10971       int a = 1;
   10972       decltype(a) b = 2;
   10973       return a + b;
   10974     }
   10975 
   10976   }
   10977 
   10978   namespace test_type_deduction
   10979   {
   10980 
   10981     template < typename T1, typename T2 >
   10982     struct is_same
   10983     {
   10984       static const bool value = false;
   10985     };
   10986 
   10987     template < typename T >
   10988     struct is_same<T, T>
   10989     {
   10990       static const bool value = true;
   10991     };
   10992 
   10993     template < typename T1, typename T2 >
   10994     auto
   10995     add(T1 a1, T2 a2) -> decltype(a1 + a2)
   10996     {
   10997       return a1 + a2;
   10998     }
   10999 
   11000     int
   11001     test(const int c, volatile int v)
   11002     {
   11003       static_assert(is_same<int, decltype(0)>::value == true, "");
   11004       static_assert(is_same<int, decltype(c)>::value == false, "");
   11005       static_assert(is_same<int, decltype(v)>::value == false, "");
   11006       auto ac = c;
   11007       auto av = v;
   11008       auto sumi = ac + av + 'x';
   11009       auto sumf = ac + av + 1.0;
   11010       static_assert(is_same<int, decltype(ac)>::value == true, "");
   11011       static_assert(is_same<int, decltype(av)>::value == true, "");
   11012       static_assert(is_same<int, decltype(sumi)>::value == true, "");
   11013       static_assert(is_same<int, decltype(sumf)>::value == false, "");
   11014       static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
   11015       return (sumf > 0.0) ? sumi : add(c, v);
   11016     }
   11017 
   11018   }
   11019 
   11020   namespace test_noexcept
   11021   {
   11022 
   11023     int f() { return 0; }
   11024     int g() noexcept { return 0; }
   11025 
   11026     static_assert(noexcept(f()) == false, "");
   11027     static_assert(noexcept(g()) == true, "");
   11028 
   11029   }
   11030 
   11031   namespace test_constexpr
   11032   {
   11033 
   11034     template < typename CharT >
   11035     unsigned long constexpr
   11036     strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
   11037     {
   11038       return *s ? strlen_c_r(s + 1, acc + 1) : acc;
   11039     }
   11040 
   11041     template < typename CharT >
   11042     unsigned long constexpr
   11043     strlen_c(const CharT *const s) noexcept
   11044     {
   11045       return strlen_c_r(s, 0UL);
   11046     }
   11047 
   11048     static_assert(strlen_c("") == 0UL, "");
   11049     static_assert(strlen_c("1") == 1UL, "");
   11050     static_assert(strlen_c("example") == 7UL, "");
   11051     static_assert(strlen_c("another\0example") == 7UL, "");
   11052 
   11053   }
   11054 
   11055   namespace test_rvalue_references
   11056   {
   11057 
   11058     template < int N >
   11059     struct answer
   11060     {
   11061       static constexpr int value = N;
   11062     };
   11063 
   11064     answer<1> f(int&)       { return answer<1>(); }
   11065     answer<2> f(const int&) { return answer<2>(); }
   11066     answer<3> f(int&&)      { return answer<3>(); }
   11067 
   11068     void
   11069     test()
   11070     {
   11071       int i = 0;
   11072       const int c = 0;
   11073       static_assert(decltype(f(i))::value == 1, "");
   11074       static_assert(decltype(f(c))::value == 2, "");
   11075       static_assert(decltype(f(0))::value == 3, "");
   11076     }
   11077 
   11078   }
   11079 
   11080   namespace test_uniform_initialization
   11081   {
   11082 
   11083     struct test
   11084     {
   11085       static const int zero {};
   11086       static const int one {1};
   11087     };
   11088 
   11089     static_assert(test::zero == 0, "");
   11090     static_assert(test::one == 1, "");
   11091 
   11092   }
   11093 
   11094   namespace test_lambdas
   11095   {
   11096 
   11097     void
   11098     test1()
   11099     {
   11100       auto lambda1 = [](){};
   11101       auto lambda2 = lambda1;
   11102       lambda1();
   11103       lambda2();
   11104     }
   11105 
   11106     int
   11107     test2()
   11108     {
   11109       auto a = [](int i, int j){ return i + j; }(1, 2);
   11110       auto b = []() -> int { return '0'; }();
   11111       auto c = [=](){ return a + b; }();
   11112       auto d = [&](){ return c; }();
   11113       auto e = [a, &b](int x) mutable {
   11114         const auto identity = [](int y){ return y; };
   11115         for (auto i = 0; i < a; ++i)
   11116           a += b--;
   11117         return x + identity(a + b);
   11118       }(0);
   11119       return a + b + c + d + e;
   11120     }
   11121 
   11122     int
   11123     test3()
   11124     {
   11125       const auto nullary = [](){ return 0; };
   11126       const auto unary = [](int x){ return x; };
   11127       using nullary_t = decltype(nullary);
   11128       using unary_t = decltype(unary);
   11129       const auto higher1st = [](nullary_t f){ return f(); };
   11130       const auto higher2nd = [unary](nullary_t f1){
   11131         return [unary, f1](unary_t f2){ return f2(unary(f1())); };
   11132       };
   11133       return higher1st(nullary) + higher2nd(nullary)(unary);
   11134     }
   11135 
   11136   }
   11137 
   11138   namespace test_variadic_templates
   11139   {
   11140 
   11141     template <int...>
   11142     struct sum;
   11143 
   11144     template <int N0, int... N1toN>
   11145     struct sum<N0, N1toN...>
   11146     {
   11147       static constexpr auto value = N0 + sum<N1toN...>::value;
   11148     };
   11149 
   11150     template <>
   11151     struct sum<>
   11152     {
   11153       static constexpr auto value = 0;
   11154     };
   11155 
   11156     static_assert(sum<>::value == 0, "");
   11157     static_assert(sum<1>::value == 1, "");
   11158     static_assert(sum<23>::value == 23, "");
   11159     static_assert(sum<1, 2>::value == 3, "");
   11160     static_assert(sum<5, 5, 11>::value == 21, "");
   11161     static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
   11162 
   11163   }
   11164 
   11165   // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
   11166   // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
   11167   // because of this.
   11168   namespace test_template_alias_sfinae
   11169   {
   11170 
   11171     struct foo {};
   11172 
   11173     template<typename T>
   11174     using member = typename T::member_type;
   11175 
   11176     template<typename T>
   11177     void func(...) {}
   11178 
   11179     template<typename T>
   11180     void func(member<T>*) {}
   11181 
   11182     void test();
   11183 
   11184     void test() { func<foo>(0); }
   11185 
   11186   }
   11187 
   11188 }  // namespace cxx11
   11189 
   11190 #endif  // __cplusplus >= 201103L
   11191 
   11192 
   11193 
   11194 
   11195 // If the compiler admits that it is not ready for C++14, why torture it?
   11196 // Hopefully, this will speed up the test.
   11197 
   11198 #ifndef __cplusplus
   11199 
   11200 #error "This is not a C++ compiler"
   11201 
   11202 #elif __cplusplus < 201402L
   11203 
   11204 #error "This is not a C++14 compiler"
   11205 
   11206 #else
   11207 
   11208 namespace cxx14
   11209 {
   11210 
   11211   namespace test_polymorphic_lambdas
   11212   {
   11213 
   11214     int
   11215     test()
   11216     {
   11217       const auto lambda = [](auto&&... args){
   11218         const auto istiny = [](auto x){
   11219           return (sizeof(x) == 1UL) ? 1 : 0;
   11220         };
   11221         const int aretiny[] = { istiny(args)... };
   11222         return aretiny[0];
   11223       };
   11224       return lambda(1, 1L, 1.0f, '1');
   11225     }
   11226 
   11227   }
   11228 
   11229   namespace test_binary_literals
   11230   {
   11231 
   11232     constexpr auto ivii = 0b0000000000101010;
   11233     static_assert(ivii == 42, "wrong value");
   11234 
   11235   }
   11236 
   11237   namespace test_generalized_constexpr
   11238   {
   11239 
   11240     template < typename CharT >
   11241     constexpr unsigned long
   11242     strlen_c(const CharT *const s) noexcept
   11243     {
   11244       auto length = 0UL;
   11245       for (auto p = s; *p; ++p)
   11246         ++length;
   11247       return length;
   11248     }
   11249 
   11250     static_assert(strlen_c("") == 0UL, "");
   11251     static_assert(strlen_c("x") == 1UL, "");
   11252     static_assert(strlen_c("test") == 4UL, "");
   11253     static_assert(strlen_c("another\0test") == 7UL, "");
   11254 
   11255   }
   11256 
   11257   namespace test_lambda_init_capture
   11258   {
   11259 
   11260     int
   11261     test()
   11262     {
   11263       auto x = 0;
   11264       const auto lambda1 = [a = x](int b){ return a + b; };
   11265       const auto lambda2 = [a = lambda1(x)](){ return a; };
   11266       return lambda2();
   11267     }
   11268 
   11269   }
   11270 
   11271   namespace test_digit_separators
   11272   {
   11273 
   11274     constexpr auto ten_million = 100'000'000;
   11275     static_assert(ten_million == 100000000, "");
   11276 
   11277   }
   11278 
   11279   namespace test_return_type_deduction
   11280   {
   11281 
   11282     auto f(int& x) { return x; }
   11283     decltype(auto) g(int& x) { return x; }
   11284 
   11285     template < typename T1, typename T2 >
   11286     struct is_same
   11287     {
   11288       static constexpr auto value = false;
   11289     };
   11290 
   11291     template < typename T >
   11292     struct is_same<T, T>
   11293     {
   11294       static constexpr auto value = true;
   11295     };
   11296 
   11297     int
   11298     test()
   11299     {
   11300       auto x = 0;
   11301       static_assert(is_same<int, decltype(f(x))>::value, "");
   11302       static_assert(is_same<int&, decltype(g(x))>::value, "");
   11303       return x;
   11304     }
   11305 
   11306   }
   11307 
   11308 }  // namespace cxx14
   11309 
   11310 #endif  // __cplusplus >= 201402L
   11311 
   11312 
   11313 
   11314 
   11315 // If the compiler admits that it is not ready for C++17, why torture it?
   11316 // Hopefully, this will speed up the test.
   11317 
   11318 #ifndef __cplusplus
   11319 
   11320 #error "This is not a C++ compiler"
   11321 
   11322 #elif __cplusplus < 201703L
   11323 
   11324 #error "This is not a C++17 compiler"
   11325 
   11326 #else
   11327 
   11328 #include <initializer_list>
   11329 #include <utility>
   11330 #include <type_traits>
   11331 
   11332 namespace cxx17
   11333 {
   11334 
   11335   namespace test_constexpr_lambdas
   11336   {
   11337 
   11338     constexpr int foo = [](){return 42;}();
   11339 
   11340   }
   11341 
   11342   namespace test::nested_namespace::definitions
   11343   {
   11344 
   11345   }
   11346 
   11347   namespace test_fold_expression
   11348   {
   11349 
   11350     template<typename... Args>
   11351     int multiply(Args... args)
   11352     {
   11353       return (args * ... * 1);
   11354     }
   11355 
   11356     template<typename... Args>
   11357     bool all(Args... args)
   11358     {
   11359       return (args && ...);
   11360     }
   11361 
   11362   }
   11363 
   11364   namespace test_extended_static_assert
   11365   {
   11366 
   11367     static_assert (true);
   11368 
   11369   }
   11370 
   11371   namespace test_auto_brace_init_list
   11372   {
   11373 
   11374     auto foo = {5};
   11375     auto bar {5};
   11376 
   11377     static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value);
   11378     static_assert(std::is_same<int, decltype(bar)>::value);
   11379   }
   11380 
   11381   namespace test_typename_in_template_template_parameter
   11382   {
   11383 
   11384     template<template<typename> typename X> struct D;
   11385 
   11386   }
   11387 
   11388   namespace test_fallthrough_nodiscard_maybe_unused_attributes
   11389   {
   11390 
   11391     int f1()
   11392     {
   11393       return 42;
   11394     }
   11395 
   11396     [[nodiscard]] int f2()
   11397     {
   11398       [[maybe_unused]] auto unused = f1();
   11399 
   11400       switch (f1())
   11401       {
   11402       case 17:
   11403         f1();
   11404         [[fallthrough]];
   11405       case 42:
   11406         f1();
   11407       }
   11408       return f1();
   11409     }
   11410 
   11411   }
   11412 
   11413   namespace test_extended_aggregate_initialization
   11414   {
   11415 
   11416     struct base1
   11417     {
   11418       int b1, b2 = 42;
   11419     };
   11420 
   11421     struct base2
   11422     {
   11423       base2() {
   11424         b3 = 42;
   11425       }
   11426       int b3;
   11427     };
   11428 
   11429     struct derived : base1, base2
   11430     {
   11431         int d;
   11432     };
   11433 
   11434     derived d1 {{1, 2}, {}, 4};  // full initialization
   11435     derived d2 {{}, {}, 4};      // value-initialized bases
   11436 
   11437   }
   11438 
   11439   namespace test_general_range_based_for_loop
   11440   {
   11441 
   11442     struct iter
   11443     {
   11444       int i;
   11445 
   11446       int& operator* ()
   11447       {
   11448         return i;
   11449       }
   11450 
   11451       const int& operator* () const
   11452       {
   11453         return i;
   11454       }
   11455 
   11456       iter& operator++()
   11457       {
   11458         ++i;
   11459         return *this;
   11460       }
   11461     };
   11462 
   11463     struct sentinel
   11464     {
   11465       int i;
   11466     };
   11467 
   11468     bool operator== (const iter& i, const sentinel& s)
   11469     {
   11470       return i.i == s.i;
   11471     }
   11472 
   11473     bool operator!= (const iter& i, const sentinel& s)
   11474     {
   11475       return !(i == s);
   11476     }
   11477 
   11478     struct range
   11479     {
   11480       iter begin() const
   11481       {
   11482         return {0};
   11483       }
   11484 
   11485       sentinel end() const
   11486       {
   11487         return {5};
   11488       }
   11489     };
   11490 
   11491     void f()
   11492     {
   11493       range r {};
   11494 
   11495       for (auto i : r)
   11496       {
   11497         [[maybe_unused]] auto v = i;
   11498       }
   11499     }
   11500 
   11501   }
   11502 
   11503   namespace test_lambda_capture_asterisk_this_by_value
   11504   {
   11505 
   11506     struct t
   11507     {
   11508       int i;
   11509       int foo()
   11510       {
   11511         return [*this]()
   11512         {
   11513           return i;
   11514         }();
   11515       }
   11516     };
   11517 
   11518   }
   11519 
   11520   namespace test_enum_class_construction
   11521   {
   11522 
   11523     enum class byte : unsigned char
   11524     {};
   11525 
   11526     byte foo {42};
   11527 
   11528   }
   11529 
   11530   namespace test_constexpr_if
   11531   {
   11532 
   11533     template <bool cond>
   11534     int f ()
   11535     {
   11536       if constexpr(cond)
   11537       {
   11538         return 13;
   11539       }
   11540       else
   11541       {
   11542         return 42;
   11543       }
   11544     }
   11545 
   11546   }
   11547 
   11548   namespace test_selection_statement_with_initializer
   11549   {
   11550 
   11551     int f()
   11552     {
   11553       return 13;
   11554     }
   11555 
   11556     int f2()
   11557     {
   11558       if (auto i = f(); i > 0)
   11559       {
   11560         return 3;
   11561       }
   11562 
   11563       switch (auto i = f(); i + 4)
   11564       {
   11565       case 17:
   11566         return 2;
   11567 
   11568       default:
   11569         return 1;
   11570       }
   11571     }
   11572 
   11573   }
   11574 
   11575   namespace test_template_argument_deduction_for_class_templates
   11576   {
   11577 
   11578     template <typename T1, typename T2>
   11579     struct pair
   11580     {
   11581       pair (T1 p1, T2 p2)
   11582         : m1 {p1},
   11583           m2 {p2}
   11584       {}
   11585 
   11586       T1 m1;
   11587       T2 m2;
   11588     };
   11589 
   11590     void f()
   11591     {
   11592       [[maybe_unused]] auto p = pair{13, 42u};
   11593     }
   11594 
   11595   }
   11596 
   11597   namespace test_non_type_auto_template_parameters
   11598   {
   11599 
   11600     template <auto n>
   11601     struct B
   11602     {};
   11603 
   11604     B<5> b1;
   11605     B<'a'> b2;
   11606 
   11607   }
   11608 
   11609   namespace test_structured_bindings
   11610   {
   11611 
   11612     int arr[2] = { 1, 2 };
   11613     std::pair<int, int> pr = { 1, 2 };
   11614 
   11615     auto f1() -> int(&)[2]
   11616     {
   11617       return arr;
   11618     }
   11619 
   11620     auto f2() -> std::pair<int, int>&
   11621     {
   11622       return pr;
   11623     }
   11624 
   11625     struct S
   11626     {
   11627       int x1 : 2;
   11628       volatile double y1;
   11629     };
   11630 
   11631     S f3()
   11632     {
   11633       return {};
   11634     }
   11635 
   11636     auto [ x1, y1 ] = f1();
   11637     auto& [ xr1, yr1 ] = f1();
   11638     auto [ x2, y2 ] = f2();
   11639     auto& [ xr2, yr2 ] = f2();
   11640     const auto [ x3, y3 ] = f3();
   11641 
   11642   }
   11643 
   11644   namespace test_exception_spec_type_system
   11645   {
   11646 
   11647     struct Good {};
   11648     struct Bad {};
   11649 
   11650     void g1() noexcept;
   11651     void g2();
   11652 
   11653     template<typename T>
   11654     Bad
   11655     f(T*, T*);
   11656 
   11657     template<typename T1, typename T2>
   11658     Good
   11659     f(T1*, T2*);
   11660 
   11661     static_assert (std::is_same_v<Good, decltype(f(g1, g2))>);
   11662 
   11663   }
   11664 
   11665   namespace test_inline_variables
   11666   {
   11667 
   11668     template<class T> void f(T)
   11669     {}
   11670 
   11671     template<class T> inline T g(T)
   11672     {
   11673       return T{};
   11674     }
   11675 
   11676     template<> inline void f<>(int)
   11677     {}
   11678 
   11679     template<> int g<>(int)
   11680     {
   11681       return 5;
   11682     }
   11683 
   11684   }
   11685 
   11686 }  // namespace cxx17
   11687 
   11688 #endif  // __cplusplus < 201703L
   11689 
   11690 
   11691 
   11692 _ACEOF
   11693 if ac_fn_cxx_try_compile "$LINENO"
   11694 then :
   11695   eval $cachevar=yes
   11696 else $as_nop
   11697   eval $cachevar=no
   11698 fi
   11699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11700            CXX="$ac_save_CXX"
   11701 fi
   11702 eval ac_res=\$$cachevar
   11703 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11704 printf "%s\n" "$ac_res" >&6; }
   11705         if eval test x\$$cachevar = xyes; then
   11706           CXX="$CXX $switch"
   11707           if test -n "$CXXCPP" ; then
   11708             CXXCPP="$CXXCPP $switch"
   11709           fi
   11710           ac_success=yes
   11711           break
   11712         fi
   11713       done
   11714       if test x$ac_success = xyes; then
   11715         break
   11716       fi
   11717     done
   11718   fi
   11719   ac_ext=c
   11720 ac_cpp='$CPP $CPPFLAGS'
   11721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11724 
   11725   if test x$ax_cxx_compile_cxx17_required = xtrue; then
   11726     if test x$ac_success = xno; then
   11727       as_fn_error $? "*** A compiler with support for C++17 language features is required." "$LINENO" 5
   11728     fi
   11729   fi
   11730   if test x$ac_success = xno; then
   11731     HAVE_CXX17=0
   11732     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5
   11733 printf "%s\n" "$as_me: No compiler with C++17 support was found" >&6;}
   11734   else
   11735     HAVE_CXX17=1
   11736 
   11737 printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h
   11738 
   11739   fi
   11740 
   11741 
   11742 
   11743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11744 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11745 if test ${ac_cv_path_GREP+y}
   11746 then :
   11747   printf %s "(cached) " >&6
   11748 else $as_nop
   11749   if test -z "$GREP"; then
   11750   ac_path_GREP_found=false
   11751   # Loop through the user's path and test for each of PROGNAME-LIST
   11752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11754 do
   11755   IFS=$as_save_IFS
   11756   case $as_dir in #(((
   11757     '') as_dir=./ ;;
   11758     */) ;;
   11759     *) as_dir=$as_dir/ ;;
   11760   esac
   11761     for ac_prog in grep ggrep
   11762    do
   11763     for ac_exec_ext in '' $ac_executable_extensions; do
   11764       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11765       as_fn_executable_p "$ac_path_GREP" || continue
   11766 # Check for GNU ac_path_GREP and select it if it is found.
   11767   # Check for GNU $ac_path_GREP
   11768 case `"$ac_path_GREP" --version 2>&1` in
   11769 *GNU*)
   11770   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11771 *)
   11772   ac_count=0
   11773   printf %s 0123456789 >"conftest.in"
   11774   while :
   11775   do
   11776     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11777     mv "conftest.tmp" "conftest.in"
   11778     cp "conftest.in" "conftest.nl"
   11779     printf "%s\n" 'GREP' >> "conftest.nl"
   11780     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11781     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11782     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11783     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11784       # Best one so far, save it but keep looking for a better one
   11785       ac_cv_path_GREP="$ac_path_GREP"
   11786       ac_path_GREP_max=$ac_count
   11787     fi
   11788     # 10*(2^10) chars as input seems more than enough
   11789     test $ac_count -gt 10 && break
   11790   done
   11791   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11792 esac
   11793 
   11794       $ac_path_GREP_found && break 3
   11795     done
   11796   done
   11797   done
   11798 IFS=$as_save_IFS
   11799   if test -z "$ac_cv_path_GREP"; then
   11800     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11801   fi
   11802 else
   11803   ac_cv_path_GREP=$GREP
   11804 fi
   11805 
   11806 fi
   11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11808 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11809  GREP="$ac_cv_path_GREP"
   11810 
   11811 
   11812 case `pwd` in
   11813   *\ * | *\	*)
   11814     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11815 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11816 esac
   11817 
   11818 
   11819 
   11820 macro_version='2.4.6'
   11821 macro_revision='2.4.6'
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 ltmain=$ac_aux_dir/ltmain.sh
   11837 
   11838 # Backslashify metacharacters that are still active within
   11839 # double-quoted strings.
   11840 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11841 
   11842 # Same as above, but do not quote variable references.
   11843 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11844 
   11845 # Sed substitution to delay expansion of an escaped shell variable in a
   11846 # double_quote_subst'ed string.
   11847 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11848 
   11849 # Sed substitution to delay expansion of an escaped single quote.
   11850 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11851 
   11852 # Sed substitution to avoid accidental globbing in evaled expressions
   11853 no_glob_subst='s/\*/\\\*/g'
   11854 
   11855 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11858 
   11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11860 printf %s "checking how to print strings... " >&6; }
   11861 # Test print first, because it will be a builtin if present.
   11862 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11863    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11864   ECHO='print -r --'
   11865 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11866   ECHO='printf %s\n'
   11867 else
   11868   # Use this function as a fallback that always works.
   11869   func_fallback_echo ()
   11870   {
   11871     eval 'cat <<_LTECHO_EOF
   11872 $1
   11873 _LTECHO_EOF'
   11874   }
   11875   ECHO='func_fallback_echo'
   11876 fi
   11877 
   11878 # func_echo_all arg...
   11879 # Invoke $ECHO with all args, space-separated.
   11880 func_echo_all ()
   11881 {
   11882     $ECHO ""
   11883 }
   11884 
   11885 case $ECHO in
   11886   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11887 printf "%s\n" "printf" >&6; } ;;
   11888   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11889 printf "%s\n" "print -r" >&6; } ;;
   11890   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11891 printf "%s\n" "cat" >&6; } ;;
   11892 esac
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11908 printf %s "checking for a sed that does not truncate output... " >&6; }
   11909 if test ${ac_cv_path_SED+y}
   11910 then :
   11911   printf %s "(cached) " >&6
   11912 else $as_nop
   11913             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11914      for ac_i in 1 2 3 4 5 6 7; do
   11915        ac_script="$ac_script$as_nl$ac_script"
   11916      done
   11917      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11918      { ac_script=; unset ac_script;}
   11919      if test -z "$SED"; then
   11920   ac_path_SED_found=false
   11921   # Loop through the user's path and test for each of PROGNAME-LIST
   11922   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11923 for as_dir in $PATH
   11924 do
   11925   IFS=$as_save_IFS
   11926   case $as_dir in #(((
   11927     '') as_dir=./ ;;
   11928     */) ;;
   11929     *) as_dir=$as_dir/ ;;
   11930   esac
   11931     for ac_prog in sed gsed
   11932    do
   11933     for ac_exec_ext in '' $ac_executable_extensions; do
   11934       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11935       as_fn_executable_p "$ac_path_SED" || continue
   11936 # Check for GNU ac_path_SED and select it if it is found.
   11937   # Check for GNU $ac_path_SED
   11938 case `"$ac_path_SED" --version 2>&1` in
   11939 *GNU*)
   11940   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11941 *)
   11942   ac_count=0
   11943   printf %s 0123456789 >"conftest.in"
   11944   while :
   11945   do
   11946     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11947     mv "conftest.tmp" "conftest.in"
   11948     cp "conftest.in" "conftest.nl"
   11949     printf "%s\n" '' >> "conftest.nl"
   11950     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11951     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11952     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11953     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11954       # Best one so far, save it but keep looking for a better one
   11955       ac_cv_path_SED="$ac_path_SED"
   11956       ac_path_SED_max=$ac_count
   11957     fi
   11958     # 10*(2^10) chars as input seems more than enough
   11959     test $ac_count -gt 10 && break
   11960   done
   11961   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11962 esac
   11963 
   11964       $ac_path_SED_found && break 3
   11965     done
   11966   done
   11967   done
   11968 IFS=$as_save_IFS
   11969   if test -z "$ac_cv_path_SED"; then
   11970     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11971   fi
   11972 else
   11973   ac_cv_path_SED=$SED
   11974 fi
   11975 
   11976 fi
   11977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11978 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11979  SED="$ac_cv_path_SED"
   11980   rm -f conftest.sed
   11981 
   11982 test -z "$SED" && SED=sed
   11983 Xsed="$SED -e 1s/^X//"
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11996 printf %s "checking for egrep... " >&6; }
   11997 if test ${ac_cv_path_EGREP+y}
   11998 then :
   11999   printf %s "(cached) " >&6
   12000 else $as_nop
   12001   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   12002    then ac_cv_path_EGREP="$GREP -E"
   12003    else
   12004      if test -z "$EGREP"; then
   12005   ac_path_EGREP_found=false
   12006   # Loop through the user's path and test for each of PROGNAME-LIST
   12007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12009 do
   12010   IFS=$as_save_IFS
   12011   case $as_dir in #(((
   12012     '') as_dir=./ ;;
   12013     */) ;;
   12014     *) as_dir=$as_dir/ ;;
   12015   esac
   12016     for ac_prog in egrep
   12017    do
   12018     for ac_exec_ext in '' $ac_executable_extensions; do
   12019       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   12020       as_fn_executable_p "$ac_path_EGREP" || continue
   12021 # Check for GNU ac_path_EGREP and select it if it is found.
   12022   # Check for GNU $ac_path_EGREP
   12023 case `"$ac_path_EGREP" --version 2>&1` in
   12024 *GNU*)
   12025   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   12026 *)
   12027   ac_count=0
   12028   printf %s 0123456789 >"conftest.in"
   12029   while :
   12030   do
   12031     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12032     mv "conftest.tmp" "conftest.in"
   12033     cp "conftest.in" "conftest.nl"
   12034     printf "%s\n" 'EGREP' >> "conftest.nl"
   12035     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12036     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12037     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12038     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   12039       # Best one so far, save it but keep looking for a better one
   12040       ac_cv_path_EGREP="$ac_path_EGREP"
   12041       ac_path_EGREP_max=$ac_count
   12042     fi
   12043     # 10*(2^10) chars as input seems more than enough
   12044     test $ac_count -gt 10 && break
   12045   done
   12046   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12047 esac
   12048 
   12049       $ac_path_EGREP_found && break 3
   12050     done
   12051   done
   12052   done
   12053 IFS=$as_save_IFS
   12054   if test -z "$ac_cv_path_EGREP"; then
   12055     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12056   fi
   12057 else
   12058   ac_cv_path_EGREP=$EGREP
   12059 fi
   12060 
   12061    fi
   12062 fi
   12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   12064 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   12065  EGREP="$ac_cv_path_EGREP"
   12066 
   12067 
   12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   12069 printf %s "checking for fgrep... " >&6; }
   12070 if test ${ac_cv_path_FGREP+y}
   12071 then :
   12072   printf %s "(cached) " >&6
   12073 else $as_nop
   12074   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   12075    then ac_cv_path_FGREP="$GREP -F"
   12076    else
   12077      if test -z "$FGREP"; then
   12078   ac_path_FGREP_found=false
   12079   # Loop through the user's path and test for each of PROGNAME-LIST
   12080   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12081 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   12082 do
   12083   IFS=$as_save_IFS
   12084   case $as_dir in #(((
   12085     '') as_dir=./ ;;
   12086     */) ;;
   12087     *) as_dir=$as_dir/ ;;
   12088   esac
   12089     for ac_prog in fgrep
   12090    do
   12091     for ac_exec_ext in '' $ac_executable_extensions; do
   12092       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   12093       as_fn_executable_p "$ac_path_FGREP" || continue
   12094 # Check for GNU ac_path_FGREP and select it if it is found.
   12095   # Check for GNU $ac_path_FGREP
   12096 case `"$ac_path_FGREP" --version 2>&1` in
   12097 *GNU*)
   12098   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   12099 *)
   12100   ac_count=0
   12101   printf %s 0123456789 >"conftest.in"
   12102   while :
   12103   do
   12104     cat "conftest.in" "conftest.in" >"conftest.tmp"
   12105     mv "conftest.tmp" "conftest.in"
   12106     cp "conftest.in" "conftest.nl"
   12107     printf "%s\n" 'FGREP' >> "conftest.nl"
   12108     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   12109     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   12110     as_fn_arith $ac_count + 1 && ac_count=$as_val
   12111     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   12112       # Best one so far, save it but keep looking for a better one
   12113       ac_cv_path_FGREP="$ac_path_FGREP"
   12114       ac_path_FGREP_max=$ac_count
   12115     fi
   12116     # 10*(2^10) chars as input seems more than enough
   12117     test $ac_count -gt 10 && break
   12118   done
   12119   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   12120 esac
   12121 
   12122       $ac_path_FGREP_found && break 3
   12123     done
   12124   done
   12125   done
   12126 IFS=$as_save_IFS
   12127   if test -z "$ac_cv_path_FGREP"; then
   12128     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   12129   fi
   12130 else
   12131   ac_cv_path_FGREP=$FGREP
   12132 fi
   12133 
   12134    fi
   12135 fi
   12136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   12137 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   12138  FGREP="$ac_cv_path_FGREP"
   12139 
   12140 
   12141 test -z "$GREP" && GREP=grep
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 # Check whether --with-gnu-ld was given.
   12162 if test ${with_gnu_ld+y}
   12163 then :
   12164   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   12165 else $as_nop
   12166   with_gnu_ld=no
   12167 fi
   12168 
   12169 ac_prog=ld
   12170 if test yes = "$GCC"; then
   12171   # Check if gcc -print-prog-name=ld gives a path.
   12172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12173 printf %s "checking for ld used by $CC... " >&6; }
   12174   case $host in
   12175   *-*-mingw*)
   12176     # gcc leaves a trailing carriage return, which upsets mingw
   12177     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12178   *)
   12179     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12180   esac
   12181   case $ac_prog in
   12182     # Accept absolute paths.
   12183     [\\/]* | ?:[\\/]*)
   12184       re_direlt='/[^/][^/]*/\.\./'
   12185       # Canonicalize the pathname of ld
   12186       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12187       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12188 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12189       done
   12190       test -z "$LD" && LD=$ac_prog
   12191       ;;
   12192   "")
   12193     # If it fails, then pretend we aren't using GCC.
   12194     ac_prog=ld
   12195     ;;
   12196   *)
   12197     # If it is relative, then search for the first ld in PATH.
   12198     with_gnu_ld=unknown
   12199     ;;
   12200   esac
   12201 elif test yes = "$with_gnu_ld"; then
   12202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12203 printf %s "checking for GNU ld... " >&6; }
   12204 else
   12205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12206 printf %s "checking for non-GNU ld... " >&6; }
   12207 fi
   12208 if test ${lt_cv_path_LD+y}
   12209 then :
   12210   printf %s "(cached) " >&6
   12211 else $as_nop
   12212   if test -z "$LD"; then
   12213   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12214   for ac_dir in $PATH; do
   12215     IFS=$lt_save_ifs
   12216     test -z "$ac_dir" && ac_dir=.
   12217     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12218       lt_cv_path_LD=$ac_dir/$ac_prog
   12219       # Check to see if the program is GNU ld.  I'd rather use --version,
   12220       # but apparently some variants of GNU ld only accept -v.
   12221       # Break only if it was the GNU/non-GNU ld that we prefer.
   12222       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12223       *GNU* | *'with BFD'*)
   12224 	test no != "$with_gnu_ld" && break
   12225 	;;
   12226       *)
   12227 	test yes != "$with_gnu_ld" && break
   12228 	;;
   12229       esac
   12230     fi
   12231   done
   12232   IFS=$lt_save_ifs
   12233 else
   12234   lt_cv_path_LD=$LD # Let the user override the test with a path.
   12235 fi
   12236 fi
   12237 
   12238 LD=$lt_cv_path_LD
   12239 if test -n "$LD"; then
   12240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12241 printf "%s\n" "$LD" >&6; }
   12242 else
   12243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12244 printf "%s\n" "no" >&6; }
   12245 fi
   12246 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12248 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12249 if test ${lt_cv_prog_gnu_ld+y}
   12250 then :
   12251   printf %s "(cached) " >&6
   12252 else $as_nop
   12253   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12254 case `$LD -v 2>&1 </dev/null` in
   12255 *GNU* | *'with BFD'*)
   12256   lt_cv_prog_gnu_ld=yes
   12257   ;;
   12258 *)
   12259   lt_cv_prog_gnu_ld=no
   12260   ;;
   12261 esac
   12262 fi
   12263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12264 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12265 with_gnu_ld=$lt_cv_prog_gnu_ld
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12276 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12277 if test ${lt_cv_path_NM+y}
   12278 then :
   12279   printf %s "(cached) " >&6
   12280 else $as_nop
   12281   if test -n "$NM"; then
   12282   # Let the user override the test.
   12283   lt_cv_path_NM=$NM
   12284 else
   12285   lt_nm_to_check=${ac_tool_prefix}nm
   12286   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12287     lt_nm_to_check="$lt_nm_to_check nm"
   12288   fi
   12289   for lt_tmp_nm in $lt_nm_to_check; do
   12290     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12291     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12292       IFS=$lt_save_ifs
   12293       test -z "$ac_dir" && ac_dir=.
   12294       tmp_nm=$ac_dir/$lt_tmp_nm
   12295       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12296 	# Check to see if the nm accepts a BSD-compat flag.
   12297 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12298 	#   nm: unknown option "B" ignored
   12299 	# Tru64's nm complains that /dev/null is an invalid object file
   12300 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12301 	case $build_os in
   12302 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   12303 	*) lt_bad_file=/dev/null ;;
   12304 	esac
   12305 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   12306 	*$lt_bad_file* | *'Invalid file or object type'*)
   12307 	  lt_cv_path_NM="$tmp_nm -B"
   12308 	  break 2
   12309 	  ;;
   12310 	*)
   12311 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   12312 	  */dev/null*)
   12313 	    lt_cv_path_NM="$tmp_nm -p"
   12314 	    break 2
   12315 	    ;;
   12316 	  *)
   12317 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12318 	    continue # so that we can try to find one that supports BSD flags
   12319 	    ;;
   12320 	  esac
   12321 	  ;;
   12322 	esac
   12323       fi
   12324     done
   12325     IFS=$lt_save_ifs
   12326   done
   12327   : ${lt_cv_path_NM=no}
   12328 fi
   12329 fi
   12330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12331 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12332 if test no != "$lt_cv_path_NM"; then
   12333   NM=$lt_cv_path_NM
   12334 else
   12335   # Didn't find any BSD compatible name lister, look for dumpbin.
   12336   if test -n "$DUMPBIN"; then :
   12337     # Let the user override the test.
   12338   else
   12339     if test -n "$ac_tool_prefix"; then
   12340   for ac_prog in dumpbin "link -dump"
   12341   do
   12342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12345 printf %s "checking for $ac_word... " >&6; }
   12346 if test ${ac_cv_prog_DUMPBIN+y}
   12347 then :
   12348   printf %s "(cached) " >&6
   12349 else $as_nop
   12350   if test -n "$DUMPBIN"; then
   12351   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12352 else
   12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12354 for as_dir in $PATH
   12355 do
   12356   IFS=$as_save_IFS
   12357   case $as_dir in #(((
   12358     '') as_dir=./ ;;
   12359     */) ;;
   12360     *) as_dir=$as_dir/ ;;
   12361   esac
   12362     for ac_exec_ext in '' $ac_executable_extensions; do
   12363   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12364     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12365     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12366     break 2
   12367   fi
   12368 done
   12369   done
   12370 IFS=$as_save_IFS
   12371 
   12372 fi
   12373 fi
   12374 DUMPBIN=$ac_cv_prog_DUMPBIN
   12375 if test -n "$DUMPBIN"; then
   12376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12377 printf "%s\n" "$DUMPBIN" >&6; }
   12378 else
   12379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12380 printf "%s\n" "no" >&6; }
   12381 fi
   12382 
   12383 
   12384     test -n "$DUMPBIN" && break
   12385   done
   12386 fi
   12387 if test -z "$DUMPBIN"; then
   12388   ac_ct_DUMPBIN=$DUMPBIN
   12389   for ac_prog in dumpbin "link -dump"
   12390 do
   12391   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12392 set dummy $ac_prog; ac_word=$2
   12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12394 printf %s "checking for $ac_word... " >&6; }
   12395 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12396 then :
   12397   printf %s "(cached) " >&6
   12398 else $as_nop
   12399   if test -n "$ac_ct_DUMPBIN"; then
   12400   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12401 else
   12402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12403 for as_dir in $PATH
   12404 do
   12405   IFS=$as_save_IFS
   12406   case $as_dir in #(((
   12407     '') as_dir=./ ;;
   12408     */) ;;
   12409     *) as_dir=$as_dir/ ;;
   12410   esac
   12411     for ac_exec_ext in '' $ac_executable_extensions; do
   12412   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12413     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12414     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12415     break 2
   12416   fi
   12417 done
   12418   done
   12419 IFS=$as_save_IFS
   12420 
   12421 fi
   12422 fi
   12423 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12424 if test -n "$ac_ct_DUMPBIN"; then
   12425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12426 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12427 else
   12428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12429 printf "%s\n" "no" >&6; }
   12430 fi
   12431 
   12432 
   12433   test -n "$ac_ct_DUMPBIN" && break
   12434 done
   12435 
   12436   if test "x$ac_ct_DUMPBIN" = x; then
   12437     DUMPBIN=":"
   12438   else
   12439     case $cross_compiling:$ac_tool_warned in
   12440 yes:)
   12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12442 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12443 ac_tool_warned=yes ;;
   12444 esac
   12445     DUMPBIN=$ac_ct_DUMPBIN
   12446   fi
   12447 fi
   12448 
   12449     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   12450     *COFF*)
   12451       DUMPBIN="$DUMPBIN -symbols -headers"
   12452       ;;
   12453     *)
   12454       DUMPBIN=:
   12455       ;;
   12456     esac
   12457   fi
   12458 
   12459   if test : != "$DUMPBIN"; then
   12460     NM=$DUMPBIN
   12461   fi
   12462 fi
   12463 test -z "$NM" && NM=nm
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12471 printf %s "checking the name lister ($NM) interface... " >&6; }
   12472 if test ${lt_cv_nm_interface+y}
   12473 then :
   12474   printf %s "(cached) " >&6
   12475 else $as_nop
   12476   lt_cv_nm_interface="BSD nm"
   12477   echo "int some_variable = 0;" > conftest.$ac_ext
   12478   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12479   (eval "$ac_compile" 2>conftest.err)
   12480   cat conftest.err >&5
   12481   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12482   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12483   cat conftest.err >&5
   12484   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12485   cat conftest.out >&5
   12486   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12487     lt_cv_nm_interface="MS dumpbin"
   12488   fi
   12489   rm -f conftest*
   12490 fi
   12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12492 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12493 
   12494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12495 printf %s "checking whether ln -s works... " >&6; }
   12496 LN_S=$as_ln_s
   12497 if test "$LN_S" = "ln -s"; then
   12498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12499 printf "%s\n" "yes" >&6; }
   12500 else
   12501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12502 printf "%s\n" "no, using $LN_S" >&6; }
   12503 fi
   12504 
   12505 # find the maximum length of command line arguments
   12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12507 printf %s "checking the maximum length of command line arguments... " >&6; }
   12508 if test ${lt_cv_sys_max_cmd_len+y}
   12509 then :
   12510   printf %s "(cached) " >&6
   12511 else $as_nop
   12512     i=0
   12513   teststring=ABCD
   12514 
   12515   case $build_os in
   12516   msdosdjgpp*)
   12517     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12518     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12519     # during glob expansion).  Even if it were fixed, the result of this
   12520     # check would be larger than it should be.
   12521     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12522     ;;
   12523 
   12524   gnu*)
   12525     # Under GNU Hurd, this test is not required because there is
   12526     # no limit to the length of command line arguments.
   12527     # Libtool will interpret -1 as no limit whatsoever
   12528     lt_cv_sys_max_cmd_len=-1;
   12529     ;;
   12530 
   12531   cygwin* | mingw* | cegcc*)
   12532     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12533     # about 5 minutes as the teststring grows exponentially.
   12534     # Worse, since 9x/ME are not pre-emptively multitasking,
   12535     # you end up with a "frozen" computer, even though with patience
   12536     # the test eventually succeeds (with a max line length of 256k).
   12537     # Instead, let's just punt: use the minimum linelength reported by
   12538     # all of the supported platforms: 8192 (on NT/2K/XP).
   12539     lt_cv_sys_max_cmd_len=8192;
   12540     ;;
   12541 
   12542   mint*)
   12543     # On MiNT this can take a long time and run out of memory.
   12544     lt_cv_sys_max_cmd_len=8192;
   12545     ;;
   12546 
   12547   amigaos*)
   12548     # On AmigaOS with pdksh, this test takes hours, literally.
   12549     # So we just punt and use a minimum line length of 8192.
   12550     lt_cv_sys_max_cmd_len=8192;
   12551     ;;
   12552 
   12553   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   12554     # This has been around since 386BSD, at least.  Likely further.
   12555     if test -x /sbin/sysctl; then
   12556       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12557     elif test -x /usr/sbin/sysctl; then
   12558       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12559     else
   12560       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12561     fi
   12562     # And add a safety zone
   12563     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12564     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12565     ;;
   12566 
   12567   interix*)
   12568     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12569     lt_cv_sys_max_cmd_len=196608
   12570     ;;
   12571 
   12572   os2*)
   12573     # The test takes a long time on OS/2.
   12574     lt_cv_sys_max_cmd_len=8192
   12575     ;;
   12576 
   12577   osf*)
   12578     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12579     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12580     # nice to cause kernel panics so lets avoid the loop below.
   12581     # First set a reasonable default.
   12582     lt_cv_sys_max_cmd_len=16384
   12583     #
   12584     if test -x /sbin/sysconfig; then
   12585       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12586         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12587       esac
   12588     fi
   12589     ;;
   12590   sco3.2v5*)
   12591     lt_cv_sys_max_cmd_len=102400
   12592     ;;
   12593   sysv5* | sco5v6* | sysv4.2uw2*)
   12594     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12595     if test -n "$kargmax"; then
   12596       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   12597     else
   12598       lt_cv_sys_max_cmd_len=32768
   12599     fi
   12600     ;;
   12601   *)
   12602     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12603     if test -n "$lt_cv_sys_max_cmd_len" && \
   12604        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12605       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12606       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12607     else
   12608       # Make teststring a little bigger before we do anything with it.
   12609       # a 1K string should be a reasonable start.
   12610       for i in 1 2 3 4 5 6 7 8; do
   12611         teststring=$teststring$teststring
   12612       done
   12613       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12614       # If test is not a shell built-in, we'll probably end up computing a
   12615       # maximum length that is only half of the actual maximum length, but
   12616       # we can't tell.
   12617       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12618 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12619 	      test 17 != "$i" # 1/2 MB should be enough
   12620       do
   12621         i=`expr $i + 1`
   12622         teststring=$teststring$teststring
   12623       done
   12624       # Only check the string length outside the loop.
   12625       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12626       teststring=
   12627       # Add a significant safety factor because C++ compilers can tack on
   12628       # massive amounts of additional arguments before passing them to the
   12629       # linker.  It appears as though 1/2 is a usable value.
   12630       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12631     fi
   12632     ;;
   12633   esac
   12634 
   12635 fi
   12636 
   12637 if test -n "$lt_cv_sys_max_cmd_len"; then
   12638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12639 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12640 else
   12641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12642 printf "%s\n" "none" >&6; }
   12643 fi
   12644 max_cmd_len=$lt_cv_sys_max_cmd_len
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 : ${CP="cp -f"}
   12652 : ${MV="mv -f"}
   12653 : ${RM="rm -f"}
   12654 
   12655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12656   lt_unset=unset
   12657 else
   12658   lt_unset=false
   12659 fi
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 # test EBCDIC or ASCII
   12666 case `echo X|tr X '\101'` in
   12667  A) # ASCII based system
   12668     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12669   lt_SP2NL='tr \040 \012'
   12670   lt_NL2SP='tr \015\012 \040\040'
   12671   ;;
   12672  *) # EBCDIC based system
   12673   lt_SP2NL='tr \100 \n'
   12674   lt_NL2SP='tr \r\n \100\100'
   12675   ;;
   12676 esac
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12687 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12688 if test ${lt_cv_to_host_file_cmd+y}
   12689 then :
   12690   printf %s "(cached) " >&6
   12691 else $as_nop
   12692   case $host in
   12693   *-*-mingw* )
   12694     case $build in
   12695       *-*-mingw* ) # actually msys
   12696         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12697         ;;
   12698       *-*-cygwin* )
   12699         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12700         ;;
   12701       * ) # otherwise, assume *nix
   12702         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12703         ;;
   12704     esac
   12705     ;;
   12706   *-*-cygwin* )
   12707     case $build in
   12708       *-*-mingw* ) # actually msys
   12709         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12710         ;;
   12711       *-*-cygwin* )
   12712         lt_cv_to_host_file_cmd=func_convert_file_noop
   12713         ;;
   12714       * ) # otherwise, assume *nix
   12715         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12716         ;;
   12717     esac
   12718     ;;
   12719   * ) # unhandled hosts (and "normal" native builds)
   12720     lt_cv_to_host_file_cmd=func_convert_file_noop
   12721     ;;
   12722 esac
   12723 
   12724 fi
   12725 
   12726 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12728 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12735 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12736 if test ${lt_cv_to_tool_file_cmd+y}
   12737 then :
   12738   printf %s "(cached) " >&6
   12739 else $as_nop
   12740   #assume ordinary cross tools, or native build.
   12741 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12742 case $host in
   12743   *-*-mingw* )
   12744     case $build in
   12745       *-*-mingw* ) # actually msys
   12746         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12747         ;;
   12748     esac
   12749     ;;
   12750 esac
   12751 
   12752 fi
   12753 
   12754 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12756 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12763 printf %s "checking for $LD option to reload object files... " >&6; }
   12764 if test ${lt_cv_ld_reload_flag+y}
   12765 then :
   12766   printf %s "(cached) " >&6
   12767 else $as_nop
   12768   lt_cv_ld_reload_flag='-r'
   12769 fi
   12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12771 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12772 reload_flag=$lt_cv_ld_reload_flag
   12773 case $reload_flag in
   12774 "" | " "*) ;;
   12775 *) reload_flag=" $reload_flag" ;;
   12776 esac
   12777 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12778 case $host_os in
   12779   cygwin* | mingw* | pw32* | cegcc*)
   12780     if test yes != "$GCC"; then
   12781       reload_cmds=false
   12782     fi
   12783     ;;
   12784   darwin*)
   12785     if test yes = "$GCC"; then
   12786       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12787     else
   12788       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12789     fi
   12790     ;;
   12791 esac
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 if test -n "$ac_tool_prefix"; then
   12802   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12803 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12805 printf %s "checking for $ac_word... " >&6; }
   12806 if test ${ac_cv_prog_OBJDUMP+y}
   12807 then :
   12808   printf %s "(cached) " >&6
   12809 else $as_nop
   12810   if test -n "$OBJDUMP"; then
   12811   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12812 else
   12813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12814 for as_dir in $PATH
   12815 do
   12816   IFS=$as_save_IFS
   12817   case $as_dir in #(((
   12818     '') as_dir=./ ;;
   12819     */) ;;
   12820     *) as_dir=$as_dir/ ;;
   12821   esac
   12822     for ac_exec_ext in '' $ac_executable_extensions; do
   12823   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12824     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12825     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12826     break 2
   12827   fi
   12828 done
   12829   done
   12830 IFS=$as_save_IFS
   12831 
   12832 fi
   12833 fi
   12834 OBJDUMP=$ac_cv_prog_OBJDUMP
   12835 if test -n "$OBJDUMP"; then
   12836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12837 printf "%s\n" "$OBJDUMP" >&6; }
   12838 else
   12839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12840 printf "%s\n" "no" >&6; }
   12841 fi
   12842 
   12843 
   12844 fi
   12845 if test -z "$ac_cv_prog_OBJDUMP"; then
   12846   ac_ct_OBJDUMP=$OBJDUMP
   12847   # Extract the first word of "objdump", so it can be a program name with args.
   12848 set dummy objdump; ac_word=$2
   12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12850 printf %s "checking for $ac_word... " >&6; }
   12851 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12852 then :
   12853   printf %s "(cached) " >&6
   12854 else $as_nop
   12855   if test -n "$ac_ct_OBJDUMP"; then
   12856   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12857 else
   12858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12859 for as_dir in $PATH
   12860 do
   12861   IFS=$as_save_IFS
   12862   case $as_dir in #(((
   12863     '') as_dir=./ ;;
   12864     */) ;;
   12865     *) as_dir=$as_dir/ ;;
   12866   esac
   12867     for ac_exec_ext in '' $ac_executable_extensions; do
   12868   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12869     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12870     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12871     break 2
   12872   fi
   12873 done
   12874   done
   12875 IFS=$as_save_IFS
   12876 
   12877 fi
   12878 fi
   12879 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12880 if test -n "$ac_ct_OBJDUMP"; then
   12881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12882 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12883 else
   12884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12885 printf "%s\n" "no" >&6; }
   12886 fi
   12887 
   12888   if test "x$ac_ct_OBJDUMP" = x; then
   12889     OBJDUMP="false"
   12890   else
   12891     case $cross_compiling:$ac_tool_warned in
   12892 yes:)
   12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12894 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12895 ac_tool_warned=yes ;;
   12896 esac
   12897     OBJDUMP=$ac_ct_OBJDUMP
   12898   fi
   12899 else
   12900   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12901 fi
   12902 
   12903 test -z "$OBJDUMP" && OBJDUMP=objdump
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12914 printf %s "checking how to recognize dependent libraries... " >&6; }
   12915 if test ${lt_cv_deplibs_check_method+y}
   12916 then :
   12917   printf %s "(cached) " >&6
   12918 else $as_nop
   12919   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12920 lt_cv_file_magic_test_file=
   12921 lt_cv_deplibs_check_method='unknown'
   12922 # Need to set the preceding variable on all platforms that support
   12923 # interlibrary dependencies.
   12924 # 'none' -- dependencies not supported.
   12925 # 'unknown' -- same as none, but documents that we really don't know.
   12926 # 'pass_all' -- all dependencies passed with no checks.
   12927 # 'test_compile' -- check by making test program.
   12928 # 'file_magic [[regex]]' -- check by looking for files in library path
   12929 # that responds to the $file_magic_cmd with a given extended regex.
   12930 # If you have 'file' or equivalent on your system and you're not sure
   12931 # whether 'pass_all' will *always* work, you probably want this one.
   12932 
   12933 case $host_os in
   12934 aix[4-9]*)
   12935   lt_cv_deplibs_check_method=pass_all
   12936   ;;
   12937 
   12938 beos*)
   12939   lt_cv_deplibs_check_method=pass_all
   12940   ;;
   12941 
   12942 bsdi[45]*)
   12943   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12944   lt_cv_file_magic_cmd='/usr/bin/file -L'
   12945   lt_cv_file_magic_test_file=/shlib/libc.so
   12946   ;;
   12947 
   12948 cygwin*)
   12949   # func_win32_libid is a shell function defined in ltmain.sh
   12950   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12951   lt_cv_file_magic_cmd='func_win32_libid'
   12952   ;;
   12953 
   12954 mingw* | pw32*)
   12955   # Base MSYS/MinGW do not provide the 'file' command needed by
   12956   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12957   # unless we find 'file', for example because we are cross-compiling.
   12958   if ( file / ) >/dev/null 2>&1; then
   12959     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12960     lt_cv_file_magic_cmd='func_win32_libid'
   12961   else
   12962     # Keep this pattern in sync with the one in func_win32_libid.
   12963     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12964     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12965   fi
   12966   ;;
   12967 
   12968 cegcc*)
   12969   # use the weaker test based on 'objdump'. See mingw*.
   12970   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12971   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12972   ;;
   12973 
   12974 darwin* | rhapsody*)
   12975   lt_cv_deplibs_check_method=pass_all
   12976   ;;
   12977 
   12978 freebsd* | dragonfly*)
   12979   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12980     case $host_cpu in
   12981     i*86 )
   12982       # Not sure whether the presence of OpenBSD here was a mistake.
   12983       # Let's accept both of them until this is cleared up.
   12984       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12985       lt_cv_file_magic_cmd=/usr/bin/file
   12986       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12987       ;;
   12988     esac
   12989   else
   12990     lt_cv_deplibs_check_method=pass_all
   12991   fi
   12992   ;;
   12993 
   12994 haiku*)
   12995   lt_cv_deplibs_check_method=pass_all
   12996   ;;
   12997 
   12998 hpux10.20* | hpux11*)
   12999   lt_cv_file_magic_cmd=/usr/bin/file
   13000   case $host_cpu in
   13001   ia64*)
   13002     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   13003     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   13004     ;;
   13005   hppa*64*)
   13006     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]'
   13007     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   13008     ;;
   13009   *)
   13010     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   13011     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   13012     ;;
   13013   esac
   13014   ;;
   13015 
   13016 interix[3-9]*)
   13017   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   13018   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   13019   ;;
   13020 
   13021 irix5* | irix6* | nonstopux*)
   13022   case $LD in
   13023   *-32|*"-32 ") libmagic=32-bit;;
   13024   *-n32|*"-n32 ") libmagic=N32;;
   13025   *-64|*"-64 ") libmagic=64-bit;;
   13026   *) libmagic=never-match;;
   13027   esac
   13028   lt_cv_deplibs_check_method=pass_all
   13029   ;;
   13030 
   13031 # This must be glibc/ELF.
   13032 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13033   lt_cv_deplibs_check_method=pass_all
   13034   ;;
   13035 
   13036 netbsd* | netbsdelf*-gnu)
   13037   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   13038     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13039   else
   13040     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   13041   fi
   13042   ;;
   13043 
   13044 newos6*)
   13045   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   13046   lt_cv_file_magic_cmd=/usr/bin/file
   13047   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   13048   ;;
   13049 
   13050 *nto* | *qnx*)
   13051   lt_cv_deplibs_check_method=pass_all
   13052   ;;
   13053 
   13054 openbsd* | bitrig*)
   13055   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13056     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   13057   else
   13058     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   13059   fi
   13060   ;;
   13061 
   13062 osf3* | osf4* | osf5*)
   13063   lt_cv_deplibs_check_method=pass_all
   13064   ;;
   13065 
   13066 rdos*)
   13067   lt_cv_deplibs_check_method=pass_all
   13068   ;;
   13069 
   13070 solaris*)
   13071   lt_cv_deplibs_check_method=pass_all
   13072   ;;
   13073 
   13074 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13075   lt_cv_deplibs_check_method=pass_all
   13076   ;;
   13077 
   13078 sysv4 | sysv4.3*)
   13079   case $host_vendor in
   13080   motorola)
   13081     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]'
   13082     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   13083     ;;
   13084   ncr)
   13085     lt_cv_deplibs_check_method=pass_all
   13086     ;;
   13087   sequent)
   13088     lt_cv_file_magic_cmd='/bin/file'
   13089     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   13090     ;;
   13091   sni)
   13092     lt_cv_file_magic_cmd='/bin/file'
   13093     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   13094     lt_cv_file_magic_test_file=/lib/libc.so
   13095     ;;
   13096   siemens)
   13097     lt_cv_deplibs_check_method=pass_all
   13098     ;;
   13099   pc)
   13100     lt_cv_deplibs_check_method=pass_all
   13101     ;;
   13102   esac
   13103   ;;
   13104 
   13105 tpf*)
   13106   lt_cv_deplibs_check_method=pass_all
   13107   ;;
   13108 os2*)
   13109   lt_cv_deplibs_check_method=pass_all
   13110   ;;
   13111 esac
   13112 
   13113 fi
   13114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   13115 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   13116 
   13117 file_magic_glob=
   13118 want_nocaseglob=no
   13119 if test "$build" = "$host"; then
   13120   case $host_os in
   13121   mingw* | pw32*)
   13122     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   13123       want_nocaseglob=yes
   13124     else
   13125       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   13126     fi
   13127     ;;
   13128   esac
   13129 fi
   13130 
   13131 file_magic_cmd=$lt_cv_file_magic_cmd
   13132 deplibs_check_method=$lt_cv_deplibs_check_method
   13133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 if test -n "$ac_tool_prefix"; then
   13157   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13158 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13160 printf %s "checking for $ac_word... " >&6; }
   13161 if test ${ac_cv_prog_DLLTOOL+y}
   13162 then :
   13163   printf %s "(cached) " >&6
   13164 else $as_nop
   13165   if test -n "$DLLTOOL"; then
   13166   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13167 else
   13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13169 for as_dir in $PATH
   13170 do
   13171   IFS=$as_save_IFS
   13172   case $as_dir in #(((
   13173     '') as_dir=./ ;;
   13174     */) ;;
   13175     *) as_dir=$as_dir/ ;;
   13176   esac
   13177     for ac_exec_ext in '' $ac_executable_extensions; do
   13178   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13179     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13180     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13181     break 2
   13182   fi
   13183 done
   13184   done
   13185 IFS=$as_save_IFS
   13186 
   13187 fi
   13188 fi
   13189 DLLTOOL=$ac_cv_prog_DLLTOOL
   13190 if test -n "$DLLTOOL"; then
   13191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13192 printf "%s\n" "$DLLTOOL" >&6; }
   13193 else
   13194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13195 printf "%s\n" "no" >&6; }
   13196 fi
   13197 
   13198 
   13199 fi
   13200 if test -z "$ac_cv_prog_DLLTOOL"; then
   13201   ac_ct_DLLTOOL=$DLLTOOL
   13202   # Extract the first word of "dlltool", so it can be a program name with args.
   13203 set dummy dlltool; ac_word=$2
   13204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13205 printf %s "checking for $ac_word... " >&6; }
   13206 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13207 then :
   13208   printf %s "(cached) " >&6
   13209 else $as_nop
   13210   if test -n "$ac_ct_DLLTOOL"; then
   13211   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13212 else
   13213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13214 for as_dir in $PATH
   13215 do
   13216   IFS=$as_save_IFS
   13217   case $as_dir in #(((
   13218     '') as_dir=./ ;;
   13219     */) ;;
   13220     *) as_dir=$as_dir/ ;;
   13221   esac
   13222     for ac_exec_ext in '' $ac_executable_extensions; do
   13223   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13224     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13225     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13226     break 2
   13227   fi
   13228 done
   13229   done
   13230 IFS=$as_save_IFS
   13231 
   13232 fi
   13233 fi
   13234 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13235 if test -n "$ac_ct_DLLTOOL"; then
   13236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13237 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13238 else
   13239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13240 printf "%s\n" "no" >&6; }
   13241 fi
   13242 
   13243   if test "x$ac_ct_DLLTOOL" = x; then
   13244     DLLTOOL="false"
   13245   else
   13246     case $cross_compiling:$ac_tool_warned in
   13247 yes:)
   13248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13249 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13250 ac_tool_warned=yes ;;
   13251 esac
   13252     DLLTOOL=$ac_ct_DLLTOOL
   13253   fi
   13254 else
   13255   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13256 fi
   13257 
   13258 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13270 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13271 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13272 then :
   13273   printf %s "(cached) " >&6
   13274 else $as_nop
   13275   lt_cv_sharedlib_from_linklib_cmd='unknown'
   13276 
   13277 case $host_os in
   13278 cygwin* | mingw* | pw32* | cegcc*)
   13279   # two different shell functions defined in ltmain.sh;
   13280   # decide which one to use based on capabilities of $DLLTOOL
   13281   case `$DLLTOOL --help 2>&1` in
   13282   *--identify-strict*)
   13283     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13284     ;;
   13285   *)
   13286     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13287     ;;
   13288   esac
   13289   ;;
   13290 *)
   13291   # fallback: assume linklib IS sharedlib
   13292   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13293   ;;
   13294 esac
   13295 
   13296 fi
   13297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13298 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13299 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13300 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 if test -n "$ac_tool_prefix"; then
   13309   for ac_prog in ar
   13310   do
   13311     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13312 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13314 printf %s "checking for $ac_word... " >&6; }
   13315 if test ${ac_cv_prog_AR+y}
   13316 then :
   13317   printf %s "(cached) " >&6
   13318 else $as_nop
   13319   if test -n "$AR"; then
   13320   ac_cv_prog_AR="$AR" # Let the user override the test.
   13321 else
   13322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13323 for as_dir in $PATH
   13324 do
   13325   IFS=$as_save_IFS
   13326   case $as_dir in #(((
   13327     '') as_dir=./ ;;
   13328     */) ;;
   13329     *) as_dir=$as_dir/ ;;
   13330   esac
   13331     for ac_exec_ext in '' $ac_executable_extensions; do
   13332   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13333     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13334     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13335     break 2
   13336   fi
   13337 done
   13338   done
   13339 IFS=$as_save_IFS
   13340 
   13341 fi
   13342 fi
   13343 AR=$ac_cv_prog_AR
   13344 if test -n "$AR"; then
   13345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13346 printf "%s\n" "$AR" >&6; }
   13347 else
   13348   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13349 printf "%s\n" "no" >&6; }
   13350 fi
   13351 
   13352 
   13353     test -n "$AR" && break
   13354   done
   13355 fi
   13356 if test -z "$AR"; then
   13357   ac_ct_AR=$AR
   13358   for ac_prog in ar
   13359 do
   13360   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13361 set dummy $ac_prog; ac_word=$2
   13362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13363 printf %s "checking for $ac_word... " >&6; }
   13364 if test ${ac_cv_prog_ac_ct_AR+y}
   13365 then :
   13366   printf %s "(cached) " >&6
   13367 else $as_nop
   13368   if test -n "$ac_ct_AR"; then
   13369   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13370 else
   13371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13372 for as_dir in $PATH
   13373 do
   13374   IFS=$as_save_IFS
   13375   case $as_dir in #(((
   13376     '') as_dir=./ ;;
   13377     */) ;;
   13378     *) as_dir=$as_dir/ ;;
   13379   esac
   13380     for ac_exec_ext in '' $ac_executable_extensions; do
   13381   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13382     ac_cv_prog_ac_ct_AR="$ac_prog"
   13383     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13384     break 2
   13385   fi
   13386 done
   13387   done
   13388 IFS=$as_save_IFS
   13389 
   13390 fi
   13391 fi
   13392 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13393 if test -n "$ac_ct_AR"; then
   13394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13395 printf "%s\n" "$ac_ct_AR" >&6; }
   13396 else
   13397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13398 printf "%s\n" "no" >&6; }
   13399 fi
   13400 
   13401 
   13402   test -n "$ac_ct_AR" && break
   13403 done
   13404 
   13405   if test "x$ac_ct_AR" = x; then
   13406     AR="false"
   13407   else
   13408     case $cross_compiling:$ac_tool_warned in
   13409 yes:)
   13410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13411 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13412 ac_tool_warned=yes ;;
   13413 esac
   13414     AR=$ac_ct_AR
   13415   fi
   13416 fi
   13417 
   13418 : ${AR=ar}
   13419 : ${AR_FLAGS=cr}
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13432 printf %s "checking for archiver @FILE support... " >&6; }
   13433 if test ${lt_cv_ar_at_file+y}
   13434 then :
   13435   printf %s "(cached) " >&6
   13436 else $as_nop
   13437   lt_cv_ar_at_file=no
   13438    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13439 /* end confdefs.h.  */
   13440 
   13441 int
   13442 main (void)
   13443 {
   13444 
   13445   ;
   13446   return 0;
   13447 }
   13448 _ACEOF
   13449 if ac_fn_c_try_compile "$LINENO"
   13450 then :
   13451   echo conftest.$ac_objext > conftest.lst
   13452       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13453       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13454   (eval $lt_ar_try) 2>&5
   13455   ac_status=$?
   13456   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13457   test $ac_status = 0; }
   13458       if test 0 -eq "$ac_status"; then
   13459 	# Ensure the archiver fails upon bogus file names.
   13460 	rm -f conftest.$ac_objext libconftest.a
   13461 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13462   (eval $lt_ar_try) 2>&5
   13463   ac_status=$?
   13464   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13465   test $ac_status = 0; }
   13466 	if test 0 -ne "$ac_status"; then
   13467           lt_cv_ar_at_file=@
   13468         fi
   13469       fi
   13470       rm -f conftest.* libconftest.a
   13471 
   13472 fi
   13473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13474 
   13475 fi
   13476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13477 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13478 
   13479 if test no = "$lt_cv_ar_at_file"; then
   13480   archiver_list_spec=
   13481 else
   13482   archiver_list_spec=$lt_cv_ar_at_file
   13483 fi
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 if test -n "$ac_tool_prefix"; then
   13492   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13493 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13495 printf %s "checking for $ac_word... " >&6; }
   13496 if test ${ac_cv_prog_STRIP+y}
   13497 then :
   13498   printf %s "(cached) " >&6
   13499 else $as_nop
   13500   if test -n "$STRIP"; then
   13501   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13502 else
   13503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13504 for as_dir in $PATH
   13505 do
   13506   IFS=$as_save_IFS
   13507   case $as_dir in #(((
   13508     '') as_dir=./ ;;
   13509     */) ;;
   13510     *) as_dir=$as_dir/ ;;
   13511   esac
   13512     for ac_exec_ext in '' $ac_executable_extensions; do
   13513   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13514     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13515     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13516     break 2
   13517   fi
   13518 done
   13519   done
   13520 IFS=$as_save_IFS
   13521 
   13522 fi
   13523 fi
   13524 STRIP=$ac_cv_prog_STRIP
   13525 if test -n "$STRIP"; then
   13526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13527 printf "%s\n" "$STRIP" >&6; }
   13528 else
   13529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13530 printf "%s\n" "no" >&6; }
   13531 fi
   13532 
   13533 
   13534 fi
   13535 if test -z "$ac_cv_prog_STRIP"; then
   13536   ac_ct_STRIP=$STRIP
   13537   # Extract the first word of "strip", so it can be a program name with args.
   13538 set dummy strip; ac_word=$2
   13539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13540 printf %s "checking for $ac_word... " >&6; }
   13541 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13542 then :
   13543   printf %s "(cached) " >&6
   13544 else $as_nop
   13545   if test -n "$ac_ct_STRIP"; then
   13546   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13547 else
   13548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13549 for as_dir in $PATH
   13550 do
   13551   IFS=$as_save_IFS
   13552   case $as_dir in #(((
   13553     '') as_dir=./ ;;
   13554     */) ;;
   13555     *) as_dir=$as_dir/ ;;
   13556   esac
   13557     for ac_exec_ext in '' $ac_executable_extensions; do
   13558   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13559     ac_cv_prog_ac_ct_STRIP="strip"
   13560     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13561     break 2
   13562   fi
   13563 done
   13564   done
   13565 IFS=$as_save_IFS
   13566 
   13567 fi
   13568 fi
   13569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13570 if test -n "$ac_ct_STRIP"; then
   13571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13572 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13573 else
   13574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13575 printf "%s\n" "no" >&6; }
   13576 fi
   13577 
   13578   if test "x$ac_ct_STRIP" = x; then
   13579     STRIP=":"
   13580   else
   13581     case $cross_compiling:$ac_tool_warned in
   13582 yes:)
   13583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13584 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13585 ac_tool_warned=yes ;;
   13586 esac
   13587     STRIP=$ac_ct_STRIP
   13588   fi
   13589 else
   13590   STRIP="$ac_cv_prog_STRIP"
   13591 fi
   13592 
   13593 test -z "$STRIP" && STRIP=:
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 if test -n "$ac_tool_prefix"; then
   13601   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13602 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13604 printf %s "checking for $ac_word... " >&6; }
   13605 if test ${ac_cv_prog_RANLIB+y}
   13606 then :
   13607   printf %s "(cached) " >&6
   13608 else $as_nop
   13609   if test -n "$RANLIB"; then
   13610   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13611 else
   13612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13613 for as_dir in $PATH
   13614 do
   13615   IFS=$as_save_IFS
   13616   case $as_dir in #(((
   13617     '') as_dir=./ ;;
   13618     */) ;;
   13619     *) as_dir=$as_dir/ ;;
   13620   esac
   13621     for ac_exec_ext in '' $ac_executable_extensions; do
   13622   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13623     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13624     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13625     break 2
   13626   fi
   13627 done
   13628   done
   13629 IFS=$as_save_IFS
   13630 
   13631 fi
   13632 fi
   13633 RANLIB=$ac_cv_prog_RANLIB
   13634 if test -n "$RANLIB"; then
   13635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13636 printf "%s\n" "$RANLIB" >&6; }
   13637 else
   13638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13639 printf "%s\n" "no" >&6; }
   13640 fi
   13641 
   13642 
   13643 fi
   13644 if test -z "$ac_cv_prog_RANLIB"; then
   13645   ac_ct_RANLIB=$RANLIB
   13646   # Extract the first word of "ranlib", so it can be a program name with args.
   13647 set dummy ranlib; ac_word=$2
   13648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13649 printf %s "checking for $ac_word... " >&6; }
   13650 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13651 then :
   13652   printf %s "(cached) " >&6
   13653 else $as_nop
   13654   if test -n "$ac_ct_RANLIB"; then
   13655   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13656 else
   13657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13658 for as_dir in $PATH
   13659 do
   13660   IFS=$as_save_IFS
   13661   case $as_dir in #(((
   13662     '') as_dir=./ ;;
   13663     */) ;;
   13664     *) as_dir=$as_dir/ ;;
   13665   esac
   13666     for ac_exec_ext in '' $ac_executable_extensions; do
   13667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13668     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13669     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13670     break 2
   13671   fi
   13672 done
   13673   done
   13674 IFS=$as_save_IFS
   13675 
   13676 fi
   13677 fi
   13678 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13679 if test -n "$ac_ct_RANLIB"; then
   13680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13681 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13682 else
   13683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13684 printf "%s\n" "no" >&6; }
   13685 fi
   13686 
   13687   if test "x$ac_ct_RANLIB" = x; then
   13688     RANLIB=":"
   13689   else
   13690     case $cross_compiling:$ac_tool_warned in
   13691 yes:)
   13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13694 ac_tool_warned=yes ;;
   13695 esac
   13696     RANLIB=$ac_ct_RANLIB
   13697   fi
   13698 else
   13699   RANLIB="$ac_cv_prog_RANLIB"
   13700 fi
   13701 
   13702 test -z "$RANLIB" && RANLIB=:
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 # Determine commands to create old-style static archives.
   13710 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13711 old_postinstall_cmds='chmod 644 $oldlib'
   13712 old_postuninstall_cmds=
   13713 
   13714 if test -n "$RANLIB"; then
   13715   case $host_os in
   13716   bitrig* | openbsd*)
   13717     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13718     ;;
   13719   *)
   13720     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13721     ;;
   13722   esac
   13723   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13724 fi
   13725 
   13726 case $host_os in
   13727   darwin*)
   13728     lock_old_archive_extraction=yes ;;
   13729   *)
   13730     lock_old_archive_extraction=no ;;
   13731 esac
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 # If no C compiler was specified, use CC.
   13772 LTCC=${LTCC-"$CC"}
   13773 
   13774 # If no C compiler flags were specified, use CFLAGS.
   13775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13776 
   13777 # Allow CC to be a program name with arguments.
   13778 compiler=$CC
   13779 
   13780 
   13781 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13783 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13784 if test ${lt_cv_sys_global_symbol_pipe+y}
   13785 then :
   13786   printf %s "(cached) " >&6
   13787 else $as_nop
   13788 
   13789 # These are sane defaults that work on at least a few old systems.
   13790 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13791 
   13792 # Character class describing NM global symbol codes.
   13793 symcode='[BCDEGRST]'
   13794 
   13795 # Regexp to match symbols that can be accessed directly from C.
   13796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13797 
   13798 # Define system-specific variables.
   13799 case $host_os in
   13800 aix*)
   13801   symcode='[BCDT]'
   13802   ;;
   13803 cygwin* | mingw* | pw32* | cegcc*)
   13804   symcode='[ABCDGISTW]'
   13805   ;;
   13806 hpux*)
   13807   if test ia64 = "$host_cpu"; then
   13808     symcode='[ABCDEGRST]'
   13809   fi
   13810   ;;
   13811 irix* | nonstopux*)
   13812   symcode='[BCDEGRST]'
   13813   ;;
   13814 osf*)
   13815   symcode='[BCDEGQRST]'
   13816   ;;
   13817 solaris*)
   13818   symcode='[BDRT]'
   13819   ;;
   13820 sco3.2v5*)
   13821   symcode='[DT]'
   13822   ;;
   13823 sysv4.2uw2*)
   13824   symcode='[DT]'
   13825   ;;
   13826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13827   symcode='[ABDT]'
   13828   ;;
   13829 sysv4)
   13830   symcode='[DFNSTU]'
   13831   ;;
   13832 esac
   13833 
   13834 # If we're using GNU nm, then use its standard symbol codes.
   13835 case `$NM -V 2>&1` in
   13836 *GNU* | *'with BFD'*)
   13837   symcode='[ABCDGIRSTW]' ;;
   13838 esac
   13839 
   13840 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13841   # Gets list of data symbols to import.
   13842   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   13843   # Adjust the below global symbol transforms to fixup imported variables.
   13844   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13845   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13846   lt_c_name_lib_hook="\
   13847   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13848   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13849 else
   13850   # Disable hooks by default.
   13851   lt_cv_sys_global_symbol_to_import=
   13852   lt_cdecl_hook=
   13853   lt_c_name_hook=
   13854   lt_c_name_lib_hook=
   13855 fi
   13856 
   13857 # Transform an extracted symbol line into a proper C declaration.
   13858 # Some systems (esp. on ia64) link data and code symbols differently,
   13859 # so use this general approach.
   13860 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   13861 $lt_cdecl_hook\
   13862 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13863 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13864 
   13865 # Transform an extracted symbol line into symbol name and symbol address
   13866 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   13867 $lt_c_name_hook\
   13868 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13869 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13870 
   13871 # Transform an extracted symbol line into symbol name with lib prefix and
   13872 # symbol address.
   13873 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   13874 $lt_c_name_lib_hook\
   13875 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13876 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13877 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13878 
   13879 # Handle CRLF in mingw tool chain
   13880 opt_cr=
   13881 case $build_os in
   13882 mingw*)
   13883   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13884   ;;
   13885 esac
   13886 
   13887 # Try without a prefix underscore, then with it.
   13888 for ac_symprfx in "" "_"; do
   13889 
   13890   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13891   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13892 
   13893   # Write the raw and C identifiers.
   13894   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13895     # Fake it for dumpbin and say T for any non-static function,
   13896     # D for any global variable and I for any imported variable.
   13897     # Also find C++ and __fastcall symbols from MSVC++,
   13898     # which start with @ or ?.
   13899     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13900 "     {last_section=section; section=\$ 3};"\
   13901 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13902 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13903 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13904 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13905 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13906 "     \$ 0!~/External *\|/{next};"\
   13907 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13908 "     {if(hide[section]) next};"\
   13909 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13910 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13911 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13912 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13913 "     ' prfx=^$ac_symprfx"
   13914   else
   13915     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13916   fi
   13917   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   13918 
   13919   # Check to see that the pipe works correctly.
   13920   pipe_works=no
   13921 
   13922   rm -f conftest*
   13923   cat > conftest.$ac_ext <<_LT_EOF
   13924 #ifdef __cplusplus
   13925 extern "C" {
   13926 #endif
   13927 char nm_test_var;
   13928 void nm_test_func(void);
   13929 void nm_test_func(void){}
   13930 #ifdef __cplusplus
   13931 }
   13932 #endif
   13933 int main(){nm_test_var='a';nm_test_func();return(0);}
   13934 _LT_EOF
   13935 
   13936   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13937   (eval $ac_compile) 2>&5
   13938   ac_status=$?
   13939   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13940   test $ac_status = 0; }; then
   13941     # Now try to grab the symbols.
   13942     nlist=conftest.nm
   13943     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   13944     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   13945       # Try sorting and uniquifying the output.
   13946       if sort "$nlist" | uniq > "$nlist"T; then
   13947 	mv -f "$nlist"T "$nlist"
   13948       else
   13949 	rm -f "$nlist"T
   13950       fi
   13951 
   13952       # Make sure that we snagged all the symbols we need.
   13953       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13954 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13955 	  cat <<_LT_EOF > conftest.$ac_ext
   13956 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13957 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13958 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13959    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13960 # define LT_DLSYM_CONST
   13961 #elif defined __osf__
   13962 /* This system does not cope well with relocations in const data.  */
   13963 # define LT_DLSYM_CONST
   13964 #else
   13965 # define LT_DLSYM_CONST const
   13966 #endif
   13967 
   13968 #ifdef __cplusplus
   13969 extern "C" {
   13970 #endif
   13971 
   13972 _LT_EOF
   13973 	  # Now generate the symbol file.
   13974 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13975 
   13976 	  cat <<_LT_EOF >> conftest.$ac_ext
   13977 
   13978 /* The mapping between symbol names and symbols.  */
   13979 LT_DLSYM_CONST struct {
   13980   const char *name;
   13981   void       *address;
   13982 }
   13983 lt__PROGRAM__LTX_preloaded_symbols[] =
   13984 {
   13985   { "@PROGRAM@", (void *) 0 },
   13986 _LT_EOF
   13987 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13988 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13989   {0, (void *) 0}
   13990 };
   13991 
   13992 /* This works around a problem in FreeBSD linker */
   13993 #ifdef FREEBSD_WORKAROUND
   13994 static const void *lt_preloaded_setup() {
   13995   return lt__PROGRAM__LTX_preloaded_symbols;
   13996 }
   13997 #endif
   13998 
   13999 #ifdef __cplusplus
   14000 }
   14001 #endif
   14002 _LT_EOF
   14003 	  # Now try linking the two files.
   14004 	  mv conftest.$ac_objext conftstm.$ac_objext
   14005 	  lt_globsym_save_LIBS=$LIBS
   14006 	  lt_globsym_save_CFLAGS=$CFLAGS
   14007 	  LIBS=conftstm.$ac_objext
   14008 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   14009 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14010   (eval $ac_link) 2>&5
   14011   ac_status=$?
   14012   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14013   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   14014 	    pipe_works=yes
   14015 	  fi
   14016 	  LIBS=$lt_globsym_save_LIBS
   14017 	  CFLAGS=$lt_globsym_save_CFLAGS
   14018 	else
   14019 	  echo "cannot find nm_test_func in $nlist" >&5
   14020 	fi
   14021       else
   14022 	echo "cannot find nm_test_var in $nlist" >&5
   14023       fi
   14024     else
   14025       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   14026     fi
   14027   else
   14028     echo "$progname: failed program was:" >&5
   14029     cat conftest.$ac_ext >&5
   14030   fi
   14031   rm -rf conftest* conftst*
   14032 
   14033   # Do not use the global_symbol_pipe unless it works.
   14034   if test yes = "$pipe_works"; then
   14035     break
   14036   else
   14037     lt_cv_sys_global_symbol_pipe=
   14038   fi
   14039 done
   14040 
   14041 fi
   14042 
   14043 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   14044   lt_cv_sys_global_symbol_to_cdecl=
   14045 fi
   14046 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   14047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   14048 printf "%s\n" "failed" >&6; }
   14049 else
   14050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   14051 printf "%s\n" "ok" >&6; }
   14052 fi
   14053 
   14054 # Response file support.
   14055 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   14056   nm_file_list_spec='@'
   14057 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   14058   nm_file_list_spec='@'
   14059 fi
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   14098 printf %s "checking for sysroot... " >&6; }
   14099 
   14100 # Check whether --with-sysroot was given.
   14101 if test ${with_sysroot+y}
   14102 then :
   14103   withval=$with_sysroot;
   14104 else $as_nop
   14105   with_sysroot=no
   14106 fi
   14107 
   14108 
   14109 lt_sysroot=
   14110 case $with_sysroot in #(
   14111  yes)
   14112    if test yes = "$GCC"; then
   14113      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   14114    fi
   14115    ;; #(
   14116  /*)
   14117    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   14118    ;; #(
   14119  no|'')
   14120    ;; #(
   14121  *)
   14122    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14123 printf "%s\n" "$with_sysroot" >&6; }
   14124    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14125    ;;
   14126 esac
   14127 
   14128  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14129 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14136 printf %s "checking for a working dd... " >&6; }
   14137 if test ${ac_cv_path_lt_DD+y}
   14138 then :
   14139   printf %s "(cached) " >&6
   14140 else $as_nop
   14141   printf 0123456789abcdef0123456789abcdef >conftest.i
   14142 cat conftest.i conftest.i >conftest2.i
   14143 : ${lt_DD:=$DD}
   14144 if test -z "$lt_DD"; then
   14145   ac_path_lt_DD_found=false
   14146   # Loop through the user's path and test for each of PROGNAME-LIST
   14147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14148 for as_dir in $PATH
   14149 do
   14150   IFS=$as_save_IFS
   14151   case $as_dir in #(((
   14152     '') as_dir=./ ;;
   14153     */) ;;
   14154     *) as_dir=$as_dir/ ;;
   14155   esac
   14156     for ac_prog in dd
   14157    do
   14158     for ac_exec_ext in '' $ac_executable_extensions; do
   14159       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14160       as_fn_executable_p "$ac_path_lt_DD" || continue
   14161 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14162   cmp -s conftest.i conftest.out \
   14163   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14164 fi
   14165       $ac_path_lt_DD_found && break 3
   14166     done
   14167   done
   14168   done
   14169 IFS=$as_save_IFS
   14170   if test -z "$ac_cv_path_lt_DD"; then
   14171     :
   14172   fi
   14173 else
   14174   ac_cv_path_lt_DD=$lt_DD
   14175 fi
   14176 
   14177 rm -f conftest.i conftest2.i conftest.out
   14178 fi
   14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14180 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14181 
   14182 
   14183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14184 printf %s "checking how to truncate binary pipes... " >&6; }
   14185 if test ${lt_cv_truncate_bin+y}
   14186 then :
   14187   printf %s "(cached) " >&6
   14188 else $as_nop
   14189   printf 0123456789abcdef0123456789abcdef >conftest.i
   14190 cat conftest.i conftest.i >conftest2.i
   14191 lt_cv_truncate_bin=
   14192 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14193   cmp -s conftest.i conftest.out \
   14194   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14195 fi
   14196 rm -f conftest.i conftest2.i conftest.out
   14197 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   14198 fi
   14199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14200 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14209 func_cc_basename ()
   14210 {
   14211     for cc_temp in $*""; do
   14212       case $cc_temp in
   14213         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14214         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14215         \-*) ;;
   14216         *) break;;
   14217       esac
   14218     done
   14219     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14220 }
   14221 
   14222 # Check whether --enable-libtool-lock was given.
   14223 if test ${enable_libtool_lock+y}
   14224 then :
   14225   enableval=$enable_libtool_lock;
   14226 fi
   14227 
   14228 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14229 
   14230 # Some flags need to be propagated to the compiler or linker for good
   14231 # libtool support.
   14232 case $host in
   14233 ia64-*-hpux*)
   14234   # Find out what ABI is being produced by ac_compile, and set mode
   14235   # options accordingly.
   14236   echo 'int i;' > conftest.$ac_ext
   14237   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14238   (eval $ac_compile) 2>&5
   14239   ac_status=$?
   14240   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14241   test $ac_status = 0; }; then
   14242     case `/usr/bin/file conftest.$ac_objext` in
   14243       *ELF-32*)
   14244 	HPUX_IA64_MODE=32
   14245 	;;
   14246       *ELF-64*)
   14247 	HPUX_IA64_MODE=64
   14248 	;;
   14249     esac
   14250   fi
   14251   rm -rf conftest*
   14252   ;;
   14253 *-*-irix6*)
   14254   # Find out what ABI is being produced by ac_compile, and set linker
   14255   # options accordingly.
   14256   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14257   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14258   (eval $ac_compile) 2>&5
   14259   ac_status=$?
   14260   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14261   test $ac_status = 0; }; then
   14262     if test yes = "$lt_cv_prog_gnu_ld"; then
   14263       case `/usr/bin/file conftest.$ac_objext` in
   14264 	*32-bit*)
   14265 	  LD="${LD-ld} -melf32bsmip"
   14266 	  ;;
   14267 	*N32*)
   14268 	  LD="${LD-ld} -melf32bmipn32"
   14269 	  ;;
   14270 	*64-bit*)
   14271 	  LD="${LD-ld} -melf64bmip"
   14272 	;;
   14273       esac
   14274     else
   14275       case `/usr/bin/file conftest.$ac_objext` in
   14276 	*32-bit*)
   14277 	  LD="${LD-ld} -32"
   14278 	  ;;
   14279 	*N32*)
   14280 	  LD="${LD-ld} -n32"
   14281 	  ;;
   14282 	*64-bit*)
   14283 	  LD="${LD-ld} -64"
   14284 	  ;;
   14285       esac
   14286     fi
   14287   fi
   14288   rm -rf conftest*
   14289   ;;
   14290 
   14291 mips64*-*linux*)
   14292   # Find out what ABI is being produced by ac_compile, and set linker
   14293   # options accordingly.
   14294   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14295   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14296   (eval $ac_compile) 2>&5
   14297   ac_status=$?
   14298   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14299   test $ac_status = 0; }; then
   14300     emul=elf
   14301     case `/usr/bin/file conftest.$ac_objext` in
   14302       *32-bit*)
   14303 	emul="${emul}32"
   14304 	;;
   14305       *64-bit*)
   14306 	emul="${emul}64"
   14307 	;;
   14308     esac
   14309     case `/usr/bin/file conftest.$ac_objext` in
   14310       *MSB*)
   14311 	emul="${emul}btsmip"
   14312 	;;
   14313       *LSB*)
   14314 	emul="${emul}ltsmip"
   14315 	;;
   14316     esac
   14317     case `/usr/bin/file conftest.$ac_objext` in
   14318       *N32*)
   14319 	emul="${emul}n32"
   14320 	;;
   14321     esac
   14322     LD="${LD-ld} -m $emul"
   14323   fi
   14324   rm -rf conftest*
   14325   ;;
   14326 
   14327 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14328 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14329   # Find out what ABI is being produced by ac_compile, and set linker
   14330   # options accordingly.  Note that the listed cases only cover the
   14331   # situations where additional linker options are needed (such as when
   14332   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14333   # vice versa); the common cases where no linker options are needed do
   14334   # not appear in the list.
   14335   echo 'int i;' > conftest.$ac_ext
   14336   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14337   (eval $ac_compile) 2>&5
   14338   ac_status=$?
   14339   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14340   test $ac_status = 0; }; then
   14341     case `/usr/bin/file conftest.o` in
   14342       *32-bit*)
   14343 	case $host in
   14344 	  x86_64-*kfreebsd*-gnu)
   14345 	    LD="${LD-ld} -m elf_i386_fbsd"
   14346 	    ;;
   14347 	  x86_64-*linux*)
   14348 	    case `/usr/bin/file conftest.o` in
   14349 	      *x86-64*)
   14350 		LD="${LD-ld} -m elf32_x86_64"
   14351 		;;
   14352 	      *)
   14353 		LD="${LD-ld} -m elf_i386"
   14354 		;;
   14355 	    esac
   14356 	    ;;
   14357 	  powerpc64le-*linux*)
   14358 	    LD="${LD-ld} -m elf32lppclinux"
   14359 	    ;;
   14360 	  powerpc64-*linux*)
   14361 	    LD="${LD-ld} -m elf32ppclinux"
   14362 	    ;;
   14363 	  s390x-*linux*)
   14364 	    LD="${LD-ld} -m elf_s390"
   14365 	    ;;
   14366 	  sparc64-*linux*)
   14367 	    LD="${LD-ld} -m elf32_sparc"
   14368 	    ;;
   14369 	esac
   14370 	;;
   14371       *64-bit*)
   14372 	case $host in
   14373 	  x86_64-*kfreebsd*-gnu)
   14374 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14375 	    ;;
   14376 	  x86_64-*linux*)
   14377 	    LD="${LD-ld} -m elf_x86_64"
   14378 	    ;;
   14379 	  powerpcle-*linux*)
   14380 	    LD="${LD-ld} -m elf64lppc"
   14381 	    ;;
   14382 	  powerpc-*linux*)
   14383 	    LD="${LD-ld} -m elf64ppc"
   14384 	    ;;
   14385 	  s390*-*linux*|s390*-*tpf*)
   14386 	    LD="${LD-ld} -m elf64_s390"
   14387 	    ;;
   14388 	  sparc*-*linux*)
   14389 	    LD="${LD-ld} -m elf64_sparc"
   14390 	    ;;
   14391 	esac
   14392 	;;
   14393     esac
   14394   fi
   14395   rm -rf conftest*
   14396   ;;
   14397 
   14398 *-*-sco3.2v5*)
   14399   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14400   SAVE_CFLAGS=$CFLAGS
   14401   CFLAGS="$CFLAGS -belf"
   14402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14403 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14404 if test ${lt_cv_cc_needs_belf+y}
   14405 then :
   14406   printf %s "(cached) " >&6
   14407 else $as_nop
   14408   ac_ext=c
   14409 ac_cpp='$CPP $CPPFLAGS'
   14410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14413 
   14414      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14415 /* end confdefs.h.  */
   14416 
   14417 int
   14418 main (void)
   14419 {
   14420 
   14421   ;
   14422   return 0;
   14423 }
   14424 _ACEOF
   14425 if ac_fn_c_try_link "$LINENO"
   14426 then :
   14427   lt_cv_cc_needs_belf=yes
   14428 else $as_nop
   14429   lt_cv_cc_needs_belf=no
   14430 fi
   14431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14432     conftest$ac_exeext conftest.$ac_ext
   14433      ac_ext=c
   14434 ac_cpp='$CPP $CPPFLAGS'
   14435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14438 
   14439 fi
   14440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14441 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14442   if test yes != "$lt_cv_cc_needs_belf"; then
   14443     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14444     CFLAGS=$SAVE_CFLAGS
   14445   fi
   14446   ;;
   14447 *-*solaris*)
   14448   # Find out what ABI is being produced by ac_compile, and set linker
   14449   # options accordingly.
   14450   echo 'int i;' > conftest.$ac_ext
   14451   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14452   (eval $ac_compile) 2>&5
   14453   ac_status=$?
   14454   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14455   test $ac_status = 0; }; then
   14456     case `/usr/bin/file conftest.o` in
   14457     *64-bit*)
   14458       case $lt_cv_prog_gnu_ld in
   14459       yes*)
   14460         case $host in
   14461         i?86-*-solaris*|x86_64-*-solaris*)
   14462           LD="${LD-ld} -m elf_x86_64"
   14463           ;;
   14464         sparc*-*-solaris*)
   14465           LD="${LD-ld} -m elf64_sparc"
   14466           ;;
   14467         esac
   14468         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14469         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14470           LD=${LD-ld}_sol2
   14471         fi
   14472         ;;
   14473       *)
   14474 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14475 	  LD="${LD-ld} -64"
   14476 	fi
   14477 	;;
   14478       esac
   14479       ;;
   14480     esac
   14481   fi
   14482   rm -rf conftest*
   14483   ;;
   14484 esac
   14485 
   14486 need_locks=$enable_libtool_lock
   14487 
   14488 if test -n "$ac_tool_prefix"; then
   14489   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14490 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14492 printf %s "checking for $ac_word... " >&6; }
   14493 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14494 then :
   14495   printf %s "(cached) " >&6
   14496 else $as_nop
   14497   if test -n "$MANIFEST_TOOL"; then
   14498   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14499 else
   14500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14501 for as_dir in $PATH
   14502 do
   14503   IFS=$as_save_IFS
   14504   case $as_dir in #(((
   14505     '') as_dir=./ ;;
   14506     */) ;;
   14507     *) as_dir=$as_dir/ ;;
   14508   esac
   14509     for ac_exec_ext in '' $ac_executable_extensions; do
   14510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14511     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14513     break 2
   14514   fi
   14515 done
   14516   done
   14517 IFS=$as_save_IFS
   14518 
   14519 fi
   14520 fi
   14521 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14522 if test -n "$MANIFEST_TOOL"; then
   14523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14524 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14525 else
   14526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14527 printf "%s\n" "no" >&6; }
   14528 fi
   14529 
   14530 
   14531 fi
   14532 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14533   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14534   # Extract the first word of "mt", so it can be a program name with args.
   14535 set dummy mt; ac_word=$2
   14536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14537 printf %s "checking for $ac_word... " >&6; }
   14538 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14539 then :
   14540   printf %s "(cached) " >&6
   14541 else $as_nop
   14542   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14543   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14544 else
   14545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14546 for as_dir in $PATH
   14547 do
   14548   IFS=$as_save_IFS
   14549   case $as_dir in #(((
   14550     '') as_dir=./ ;;
   14551     */) ;;
   14552     *) as_dir=$as_dir/ ;;
   14553   esac
   14554     for ac_exec_ext in '' $ac_executable_extensions; do
   14555   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14556     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14557     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14558     break 2
   14559   fi
   14560 done
   14561   done
   14562 IFS=$as_save_IFS
   14563 
   14564 fi
   14565 fi
   14566 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14567 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14569 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14570 else
   14571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14572 printf "%s\n" "no" >&6; }
   14573 fi
   14574 
   14575   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14576     MANIFEST_TOOL=":"
   14577   else
   14578     case $cross_compiling:$ac_tool_warned in
   14579 yes:)
   14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14582 ac_tool_warned=yes ;;
   14583 esac
   14584     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14585   fi
   14586 else
   14587   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14588 fi
   14589 
   14590 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14592 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14593 if test ${lt_cv_path_mainfest_tool+y}
   14594 then :
   14595   printf %s "(cached) " >&6
   14596 else $as_nop
   14597   lt_cv_path_mainfest_tool=no
   14598   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14599   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14600   cat conftest.err >&5
   14601   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14602     lt_cv_path_mainfest_tool=yes
   14603   fi
   14604   rm -f conftest*
   14605 fi
   14606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14607 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14608 if test yes != "$lt_cv_path_mainfest_tool"; then
   14609   MANIFEST_TOOL=:
   14610 fi
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617   case $host_os in
   14618     rhapsody* | darwin*)
   14619     if test -n "$ac_tool_prefix"; then
   14620   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14621 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14623 printf %s "checking for $ac_word... " >&6; }
   14624 if test ${ac_cv_prog_DSYMUTIL+y}
   14625 then :
   14626   printf %s "(cached) " >&6
   14627 else $as_nop
   14628   if test -n "$DSYMUTIL"; then
   14629   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14630 else
   14631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14632 for as_dir in $PATH
   14633 do
   14634   IFS=$as_save_IFS
   14635   case $as_dir in #(((
   14636     '') as_dir=./ ;;
   14637     */) ;;
   14638     *) as_dir=$as_dir/ ;;
   14639   esac
   14640     for ac_exec_ext in '' $ac_executable_extensions; do
   14641   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14642     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14643     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14644     break 2
   14645   fi
   14646 done
   14647   done
   14648 IFS=$as_save_IFS
   14649 
   14650 fi
   14651 fi
   14652 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14653 if test -n "$DSYMUTIL"; then
   14654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14655 printf "%s\n" "$DSYMUTIL" >&6; }
   14656 else
   14657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14658 printf "%s\n" "no" >&6; }
   14659 fi
   14660 
   14661 
   14662 fi
   14663 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14664   ac_ct_DSYMUTIL=$DSYMUTIL
   14665   # Extract the first word of "dsymutil", so it can be a program name with args.
   14666 set dummy dsymutil; ac_word=$2
   14667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14668 printf %s "checking for $ac_word... " >&6; }
   14669 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14670 then :
   14671   printf %s "(cached) " >&6
   14672 else $as_nop
   14673   if test -n "$ac_ct_DSYMUTIL"; then
   14674   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14675 else
   14676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14677 for as_dir in $PATH
   14678 do
   14679   IFS=$as_save_IFS
   14680   case $as_dir in #(((
   14681     '') as_dir=./ ;;
   14682     */) ;;
   14683     *) as_dir=$as_dir/ ;;
   14684   esac
   14685     for ac_exec_ext in '' $ac_executable_extensions; do
   14686   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14687     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14688     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14689     break 2
   14690   fi
   14691 done
   14692   done
   14693 IFS=$as_save_IFS
   14694 
   14695 fi
   14696 fi
   14697 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14698 if test -n "$ac_ct_DSYMUTIL"; then
   14699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14700 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14701 else
   14702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14703 printf "%s\n" "no" >&6; }
   14704 fi
   14705 
   14706   if test "x$ac_ct_DSYMUTIL" = x; then
   14707     DSYMUTIL=":"
   14708   else
   14709     case $cross_compiling:$ac_tool_warned in
   14710 yes:)
   14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14712 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14713 ac_tool_warned=yes ;;
   14714 esac
   14715     DSYMUTIL=$ac_ct_DSYMUTIL
   14716   fi
   14717 else
   14718   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14719 fi
   14720 
   14721     if test -n "$ac_tool_prefix"; then
   14722   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14723 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14725 printf %s "checking for $ac_word... " >&6; }
   14726 if test ${ac_cv_prog_NMEDIT+y}
   14727 then :
   14728   printf %s "(cached) " >&6
   14729 else $as_nop
   14730   if test -n "$NMEDIT"; then
   14731   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14732 else
   14733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14734 for as_dir in $PATH
   14735 do
   14736   IFS=$as_save_IFS
   14737   case $as_dir in #(((
   14738     '') as_dir=./ ;;
   14739     */) ;;
   14740     *) as_dir=$as_dir/ ;;
   14741   esac
   14742     for ac_exec_ext in '' $ac_executable_extensions; do
   14743   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14744     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14745     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14746     break 2
   14747   fi
   14748 done
   14749   done
   14750 IFS=$as_save_IFS
   14751 
   14752 fi
   14753 fi
   14754 NMEDIT=$ac_cv_prog_NMEDIT
   14755 if test -n "$NMEDIT"; then
   14756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14757 printf "%s\n" "$NMEDIT" >&6; }
   14758 else
   14759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14760 printf "%s\n" "no" >&6; }
   14761 fi
   14762 
   14763 
   14764 fi
   14765 if test -z "$ac_cv_prog_NMEDIT"; then
   14766   ac_ct_NMEDIT=$NMEDIT
   14767   # Extract the first word of "nmedit", so it can be a program name with args.
   14768 set dummy nmedit; ac_word=$2
   14769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14770 printf %s "checking for $ac_word... " >&6; }
   14771 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14772 then :
   14773   printf %s "(cached) " >&6
   14774 else $as_nop
   14775   if test -n "$ac_ct_NMEDIT"; then
   14776   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14777 else
   14778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14779 for as_dir in $PATH
   14780 do
   14781   IFS=$as_save_IFS
   14782   case $as_dir in #(((
   14783     '') as_dir=./ ;;
   14784     */) ;;
   14785     *) as_dir=$as_dir/ ;;
   14786   esac
   14787     for ac_exec_ext in '' $ac_executable_extensions; do
   14788   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14789     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14790     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14791     break 2
   14792   fi
   14793 done
   14794   done
   14795 IFS=$as_save_IFS
   14796 
   14797 fi
   14798 fi
   14799 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14800 if test -n "$ac_ct_NMEDIT"; then
   14801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14802 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14803 else
   14804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14805 printf "%s\n" "no" >&6; }
   14806 fi
   14807 
   14808   if test "x$ac_ct_NMEDIT" = x; then
   14809     NMEDIT=":"
   14810   else
   14811     case $cross_compiling:$ac_tool_warned in
   14812 yes:)
   14813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14814 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14815 ac_tool_warned=yes ;;
   14816 esac
   14817     NMEDIT=$ac_ct_NMEDIT
   14818   fi
   14819 else
   14820   NMEDIT="$ac_cv_prog_NMEDIT"
   14821 fi
   14822 
   14823     if test -n "$ac_tool_prefix"; then
   14824   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14825 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14827 printf %s "checking for $ac_word... " >&6; }
   14828 if test ${ac_cv_prog_LIPO+y}
   14829 then :
   14830   printf %s "(cached) " >&6
   14831 else $as_nop
   14832   if test -n "$LIPO"; then
   14833   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14834 else
   14835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14836 for as_dir in $PATH
   14837 do
   14838   IFS=$as_save_IFS
   14839   case $as_dir in #(((
   14840     '') as_dir=./ ;;
   14841     */) ;;
   14842     *) as_dir=$as_dir/ ;;
   14843   esac
   14844     for ac_exec_ext in '' $ac_executable_extensions; do
   14845   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14846     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14847     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14848     break 2
   14849   fi
   14850 done
   14851   done
   14852 IFS=$as_save_IFS
   14853 
   14854 fi
   14855 fi
   14856 LIPO=$ac_cv_prog_LIPO
   14857 if test -n "$LIPO"; then
   14858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14859 printf "%s\n" "$LIPO" >&6; }
   14860 else
   14861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14862 printf "%s\n" "no" >&6; }
   14863 fi
   14864 
   14865 
   14866 fi
   14867 if test -z "$ac_cv_prog_LIPO"; then
   14868   ac_ct_LIPO=$LIPO
   14869   # Extract the first word of "lipo", so it can be a program name with args.
   14870 set dummy lipo; ac_word=$2
   14871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14872 printf %s "checking for $ac_word... " >&6; }
   14873 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14874 then :
   14875   printf %s "(cached) " >&6
   14876 else $as_nop
   14877   if test -n "$ac_ct_LIPO"; then
   14878   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14879 else
   14880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14881 for as_dir in $PATH
   14882 do
   14883   IFS=$as_save_IFS
   14884   case $as_dir in #(((
   14885     '') as_dir=./ ;;
   14886     */) ;;
   14887     *) as_dir=$as_dir/ ;;
   14888   esac
   14889     for ac_exec_ext in '' $ac_executable_extensions; do
   14890   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14891     ac_cv_prog_ac_ct_LIPO="lipo"
   14892     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14893     break 2
   14894   fi
   14895 done
   14896   done
   14897 IFS=$as_save_IFS
   14898 
   14899 fi
   14900 fi
   14901 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14902 if test -n "$ac_ct_LIPO"; then
   14903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14904 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14905 else
   14906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14907 printf "%s\n" "no" >&6; }
   14908 fi
   14909 
   14910   if test "x$ac_ct_LIPO" = x; then
   14911     LIPO=":"
   14912   else
   14913     case $cross_compiling:$ac_tool_warned in
   14914 yes:)
   14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14917 ac_tool_warned=yes ;;
   14918 esac
   14919     LIPO=$ac_ct_LIPO
   14920   fi
   14921 else
   14922   LIPO="$ac_cv_prog_LIPO"
   14923 fi
   14924 
   14925     if test -n "$ac_tool_prefix"; then
   14926   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14927 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14929 printf %s "checking for $ac_word... " >&6; }
   14930 if test ${ac_cv_prog_OTOOL+y}
   14931 then :
   14932   printf %s "(cached) " >&6
   14933 else $as_nop
   14934   if test -n "$OTOOL"; then
   14935   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14936 else
   14937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14938 for as_dir in $PATH
   14939 do
   14940   IFS=$as_save_IFS
   14941   case $as_dir in #(((
   14942     '') as_dir=./ ;;
   14943     */) ;;
   14944     *) as_dir=$as_dir/ ;;
   14945   esac
   14946     for ac_exec_ext in '' $ac_executable_extensions; do
   14947   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14948     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14949     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14950     break 2
   14951   fi
   14952 done
   14953   done
   14954 IFS=$as_save_IFS
   14955 
   14956 fi
   14957 fi
   14958 OTOOL=$ac_cv_prog_OTOOL
   14959 if test -n "$OTOOL"; then
   14960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14961 printf "%s\n" "$OTOOL" >&6; }
   14962 else
   14963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14964 printf "%s\n" "no" >&6; }
   14965 fi
   14966 
   14967 
   14968 fi
   14969 if test -z "$ac_cv_prog_OTOOL"; then
   14970   ac_ct_OTOOL=$OTOOL
   14971   # Extract the first word of "otool", so it can be a program name with args.
   14972 set dummy otool; ac_word=$2
   14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14974 printf %s "checking for $ac_word... " >&6; }
   14975 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14976 then :
   14977   printf %s "(cached) " >&6
   14978 else $as_nop
   14979   if test -n "$ac_ct_OTOOL"; then
   14980   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14981 else
   14982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14983 for as_dir in $PATH
   14984 do
   14985   IFS=$as_save_IFS
   14986   case $as_dir in #(((
   14987     '') as_dir=./ ;;
   14988     */) ;;
   14989     *) as_dir=$as_dir/ ;;
   14990   esac
   14991     for ac_exec_ext in '' $ac_executable_extensions; do
   14992   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14993     ac_cv_prog_ac_ct_OTOOL="otool"
   14994     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14995     break 2
   14996   fi
   14997 done
   14998   done
   14999 IFS=$as_save_IFS
   15000 
   15001 fi
   15002 fi
   15003 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   15004 if test -n "$ac_ct_OTOOL"; then
   15005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   15006 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   15007 else
   15008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15009 printf "%s\n" "no" >&6; }
   15010 fi
   15011 
   15012   if test "x$ac_ct_OTOOL" = x; then
   15013     OTOOL=":"
   15014   else
   15015     case $cross_compiling:$ac_tool_warned in
   15016 yes:)
   15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15018 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15019 ac_tool_warned=yes ;;
   15020 esac
   15021     OTOOL=$ac_ct_OTOOL
   15022   fi
   15023 else
   15024   OTOOL="$ac_cv_prog_OTOOL"
   15025 fi
   15026 
   15027     if test -n "$ac_tool_prefix"; then
   15028   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   15029 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15031 printf %s "checking for $ac_word... " >&6; }
   15032 if test ${ac_cv_prog_OTOOL64+y}
   15033 then :
   15034   printf %s "(cached) " >&6
   15035 else $as_nop
   15036   if test -n "$OTOOL64"; then
   15037   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   15038 else
   15039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15040 for as_dir in $PATH
   15041 do
   15042   IFS=$as_save_IFS
   15043   case $as_dir in #(((
   15044     '') as_dir=./ ;;
   15045     */) ;;
   15046     *) as_dir=$as_dir/ ;;
   15047   esac
   15048     for ac_exec_ext in '' $ac_executable_extensions; do
   15049   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15050     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   15051     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15052     break 2
   15053   fi
   15054 done
   15055   done
   15056 IFS=$as_save_IFS
   15057 
   15058 fi
   15059 fi
   15060 OTOOL64=$ac_cv_prog_OTOOL64
   15061 if test -n "$OTOOL64"; then
   15062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   15063 printf "%s\n" "$OTOOL64" >&6; }
   15064 else
   15065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15066 printf "%s\n" "no" >&6; }
   15067 fi
   15068 
   15069 
   15070 fi
   15071 if test -z "$ac_cv_prog_OTOOL64"; then
   15072   ac_ct_OTOOL64=$OTOOL64
   15073   # Extract the first word of "otool64", so it can be a program name with args.
   15074 set dummy otool64; ac_word=$2
   15075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15076 printf %s "checking for $ac_word... " >&6; }
   15077 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   15078 then :
   15079   printf %s "(cached) " >&6
   15080 else $as_nop
   15081   if test -n "$ac_ct_OTOOL64"; then
   15082   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   15083 else
   15084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15085 for as_dir in $PATH
   15086 do
   15087   IFS=$as_save_IFS
   15088   case $as_dir in #(((
   15089     '') as_dir=./ ;;
   15090     */) ;;
   15091     *) as_dir=$as_dir/ ;;
   15092   esac
   15093     for ac_exec_ext in '' $ac_executable_extensions; do
   15094   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   15095     ac_cv_prog_ac_ct_OTOOL64="otool64"
   15096     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   15097     break 2
   15098   fi
   15099 done
   15100   done
   15101 IFS=$as_save_IFS
   15102 
   15103 fi
   15104 fi
   15105 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   15106 if test -n "$ac_ct_OTOOL64"; then
   15107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   15108 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15109 else
   15110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15111 printf "%s\n" "no" >&6; }
   15112 fi
   15113 
   15114   if test "x$ac_ct_OTOOL64" = x; then
   15115     OTOOL64=":"
   15116   else
   15117     case $cross_compiling:$ac_tool_warned in
   15118 yes:)
   15119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15120 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15121 ac_tool_warned=yes ;;
   15122 esac
   15123     OTOOL64=$ac_ct_OTOOL64
   15124   fi
   15125 else
   15126   OTOOL64="$ac_cv_prog_OTOOL64"
   15127 fi
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15156 printf %s "checking for -single_module linker flag... " >&6; }
   15157 if test ${lt_cv_apple_cc_single_mod+y}
   15158 then :
   15159   printf %s "(cached) " >&6
   15160 else $as_nop
   15161   lt_cv_apple_cc_single_mod=no
   15162       if test -z "$LT_MULTI_MODULE"; then
   15163 	# By default we will add the -single_module flag. You can override
   15164 	# by either setting the environment variable LT_MULTI_MODULE
   15165 	# non-empty at configure time, or by adding -multi_module to the
   15166 	# link flags.
   15167 	rm -rf libconftest.dylib*
   15168 	echo "int foo(void){return 1;}" > conftest.c
   15169 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15170 -dynamiclib -Wl,-single_module conftest.c" >&5
   15171 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15172 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15173         _lt_result=$?
   15174 	# If there is a non-empty error log, and "single_module"
   15175 	# appears in it, assume the flag caused a linker warning
   15176         if test -s conftest.err && $GREP single_module conftest.err; then
   15177 	  cat conftest.err >&5
   15178 	# Otherwise, if the output was created with a 0 exit code from
   15179 	# the compiler, it worked.
   15180 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15181 	  lt_cv_apple_cc_single_mod=yes
   15182 	else
   15183 	  cat conftest.err >&5
   15184 	fi
   15185 	rm -rf libconftest.dylib*
   15186 	rm -f conftest.*
   15187       fi
   15188 fi
   15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15190 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15191 
   15192     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15193 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15194 if test ${lt_cv_ld_exported_symbols_list+y}
   15195 then :
   15196   printf %s "(cached) " >&6
   15197 else $as_nop
   15198   lt_cv_ld_exported_symbols_list=no
   15199       save_LDFLAGS=$LDFLAGS
   15200       echo "_main" > conftest.sym
   15201       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15203 /* end confdefs.h.  */
   15204 
   15205 int
   15206 main (void)
   15207 {
   15208 
   15209   ;
   15210   return 0;
   15211 }
   15212 _ACEOF
   15213 if ac_fn_c_try_link "$LINENO"
   15214 then :
   15215   lt_cv_ld_exported_symbols_list=yes
   15216 else $as_nop
   15217   lt_cv_ld_exported_symbols_list=no
   15218 fi
   15219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15220     conftest$ac_exeext conftest.$ac_ext
   15221 	LDFLAGS=$save_LDFLAGS
   15222 
   15223 fi
   15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15225 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15226 
   15227     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15228 printf %s "checking for -force_load linker flag... " >&6; }
   15229 if test ${lt_cv_ld_force_load+y}
   15230 then :
   15231   printf %s "(cached) " >&6
   15232 else $as_nop
   15233   lt_cv_ld_force_load=no
   15234       cat > conftest.c << _LT_EOF
   15235 int forced_loaded() { return 2;}
   15236 _LT_EOF
   15237       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15238       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15239       echo "$AR cr libconftest.a conftest.o" >&5
   15240       $AR cr libconftest.a conftest.o 2>&5
   15241       echo "$RANLIB libconftest.a" >&5
   15242       $RANLIB libconftest.a 2>&5
   15243       cat > conftest.c << _LT_EOF
   15244 int main() { return 0;}
   15245 _LT_EOF
   15246       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15247       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15248       _lt_result=$?
   15249       if test -s conftest.err && $GREP force_load conftest.err; then
   15250 	cat conftest.err >&5
   15251       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15252 	lt_cv_ld_force_load=yes
   15253       else
   15254 	cat conftest.err >&5
   15255       fi
   15256         rm -f conftest.err libconftest.a conftest conftest.c
   15257         rm -rf conftest.dSYM
   15258 
   15259 fi
   15260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15261 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15262     case $host_os in
   15263     rhapsody* | darwin1.[012])
   15264       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15265     darwin1.*)
   15266       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15267     darwin*) # darwin 5.x on
   15268       # if running on 10.5 or later, the deployment target defaults
   15269       # to the OS version, if on x86, and 10.4, the deployment
   15270       # target defaults to 10.4. Don't you love it?
   15271       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   15272 	10.0,*86*-darwin8*|10.0,*-darwin[912]*)
   15273 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15274 	10.[012][,.]*)
   15275 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15276 	10.*|11.*)
   15277 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15278       esac
   15279     ;;
   15280   esac
   15281     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15282       _lt_dar_single_mod='$single_module'
   15283     fi
   15284     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15285       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15286     else
   15287       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15288     fi
   15289     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15290       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15291     else
   15292       _lt_dsymutil=
   15293     fi
   15294     ;;
   15295   esac
   15296 
   15297 # func_munge_path_list VARIABLE PATH
   15298 # -----------------------------------
   15299 # VARIABLE is name of variable containing _space_ separated list of
   15300 # directories to be munged by the contents of PATH, which is string
   15301 # having a format:
   15302 # "DIR[:DIR]:"
   15303 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15304 # ":DIR[:DIR]"
   15305 #       string "DIR[ DIR]" will be appended to VARIABLE
   15306 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15307 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15308 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15309 # "DIR[:DIR]"
   15310 #       VARIABLE will be replaced by "DIR[ DIR]"
   15311 func_munge_path_list ()
   15312 {
   15313     case x$2 in
   15314     x)
   15315         ;;
   15316     *:)
   15317         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15318         ;;
   15319     x:*)
   15320         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15321         ;;
   15322     *::*)
   15323         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15324         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15325         ;;
   15326     *)
   15327         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15328         ;;
   15329     esac
   15330 }
   15331 
   15332 ac_header= ac_cache=
   15333 for ac_item in $ac_header_c_list
   15334 do
   15335   if test $ac_cache; then
   15336     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   15337     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   15338       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   15339     fi
   15340     ac_header= ac_cache=
   15341   elif test $ac_header; then
   15342     ac_cache=$ac_item
   15343   else
   15344     ac_header=$ac_item
   15345   fi
   15346 done
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   15356 then :
   15357 
   15358 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   15359 
   15360 fi
   15361 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15362 "
   15363 if test "x$ac_cv_header_dlfcn_h" = xyes
   15364 then :
   15365   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15366 
   15367 fi
   15368 
   15369 
   15370 
   15371 func_stripname_cnf ()
   15372 {
   15373   case $2 in
   15374   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   15375   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   15376   esac
   15377 } # func_stripname_cnf
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 # Set options
   15384 
   15385 
   15386 
   15387         enable_dlopen=no
   15388 
   15389 
   15390   enable_win32_dll=no
   15391 
   15392 
   15393             # Check whether --enable-shared was given.
   15394 if test ${enable_shared+y}
   15395 then :
   15396   enableval=$enable_shared; p=${PACKAGE-default}
   15397     case $enableval in
   15398     yes) enable_shared=yes ;;
   15399     no) enable_shared=no ;;
   15400     *)
   15401       enable_shared=no
   15402       # Look at the argument we got.  We use all the common list separators.
   15403       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15404       for pkg in $enableval; do
   15405 	IFS=$lt_save_ifs
   15406 	if test "X$pkg" = "X$p"; then
   15407 	  enable_shared=yes
   15408 	fi
   15409       done
   15410       IFS=$lt_save_ifs
   15411       ;;
   15412     esac
   15413 else $as_nop
   15414   enable_shared=yes
   15415 fi
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425   # Check whether --enable-static was given.
   15426 if test ${enable_static+y}
   15427 then :
   15428   enableval=$enable_static; p=${PACKAGE-default}
   15429     case $enableval in
   15430     yes) enable_static=yes ;;
   15431     no) enable_static=no ;;
   15432     *)
   15433      enable_static=no
   15434       # Look at the argument we got.  We use all the common list separators.
   15435       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15436       for pkg in $enableval; do
   15437 	IFS=$lt_save_ifs
   15438 	if test "X$pkg" = "X$p"; then
   15439 	  enable_static=yes
   15440 	fi
   15441       done
   15442       IFS=$lt_save_ifs
   15443       ;;
   15444     esac
   15445 else $as_nop
   15446   enable_static=yes
   15447 fi
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 # Check whether --with-pic was given.
   15459 if test ${with_pic+y}
   15460 then :
   15461   withval=$with_pic; lt_p=${PACKAGE-default}
   15462     case $withval in
   15463     yes|no) pic_mode=$withval ;;
   15464     *)
   15465       pic_mode=default
   15466       # Look at the argument we got.  We use all the common list separators.
   15467       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15468       for lt_pkg in $withval; do
   15469 	IFS=$lt_save_ifs
   15470 	if test "X$lt_pkg" = "X$lt_p"; then
   15471 	  pic_mode=yes
   15472 	fi
   15473       done
   15474       IFS=$lt_save_ifs
   15475       ;;
   15476     esac
   15477 else $as_nop
   15478   pic_mode=default
   15479 fi
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488   # Check whether --enable-fast-install was given.
   15489 if test ${enable_fast_install+y}
   15490 then :
   15491   enableval=$enable_fast_install; p=${PACKAGE-default}
   15492     case $enableval in
   15493     yes) enable_fast_install=yes ;;
   15494     no) enable_fast_install=no ;;
   15495     *)
   15496       enable_fast_install=no
   15497       # Look at the argument we got.  We use all the common list separators.
   15498       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15499       for pkg in $enableval; do
   15500 	IFS=$lt_save_ifs
   15501 	if test "X$pkg" = "X$p"; then
   15502 	  enable_fast_install=yes
   15503 	fi
   15504       done
   15505       IFS=$lt_save_ifs
   15506       ;;
   15507     esac
   15508 else $as_nop
   15509   enable_fast_install=yes
   15510 fi
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519   shared_archive_member_spec=
   15520 case $host,$enable_shared in
   15521 power*-*-aix[5-9]*,yes)
   15522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15523 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15524 
   15525 # Check whether --with-aix-soname was given.
   15526 if test ${with_aix_soname+y}
   15527 then :
   15528   withval=$with_aix_soname; case $withval in
   15529     aix|svr4|both)
   15530       ;;
   15531     *)
   15532       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15533       ;;
   15534     esac
   15535     lt_cv_with_aix_soname=$with_aix_soname
   15536 else $as_nop
   15537   if test ${lt_cv_with_aix_soname+y}
   15538 then :
   15539   printf %s "(cached) " >&6
   15540 else $as_nop
   15541   lt_cv_with_aix_soname=aix
   15542 fi
   15543 
   15544     with_aix_soname=$lt_cv_with_aix_soname
   15545 fi
   15546 
   15547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15548 printf "%s\n" "$with_aix_soname" >&6; }
   15549   if test aix != "$with_aix_soname"; then
   15550     # For the AIX way of multilib, we name the shared archive member
   15551     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15552     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15553     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15554     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15555     if test 64 = "${OBJECT_MODE-32}"; then
   15556       shared_archive_member_spec=shr_64
   15557     else
   15558       shared_archive_member_spec=shr
   15559     fi
   15560   fi
   15561   ;;
   15562 *)
   15563   with_aix_soname=aix
   15564   ;;
   15565 esac
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575 
   15576 # This can be used to rebuild libtool when needed
   15577 LIBTOOL_DEPS=$ltmain
   15578 
   15579 # Always use our own libtool.
   15580 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 test -z "$LN_S" && LN_S="ln -s"
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 if test -n "${ZSH_VERSION+set}"; then
   15627    setopt NO_GLOB_SUBST
   15628 fi
   15629 
   15630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15631 printf %s "checking for objdir... " >&6; }
   15632 if test ${lt_cv_objdir+y}
   15633 then :
   15634   printf %s "(cached) " >&6
   15635 else $as_nop
   15636   rm -f .libs 2>/dev/null
   15637 mkdir .libs 2>/dev/null
   15638 if test -d .libs; then
   15639   lt_cv_objdir=.libs
   15640 else
   15641   # MS-DOS does not allow filenames that begin with a dot.
   15642   lt_cv_objdir=_libs
   15643 fi
   15644 rmdir .libs 2>/dev/null
   15645 fi
   15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15647 printf "%s\n" "$lt_cv_objdir" >&6; }
   15648 objdir=$lt_cv_objdir
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15655 
   15656 
   15657 
   15658 
   15659 case $host_os in
   15660 aix3*)
   15661   # AIX sometimes has problems with the GCC collect2 program.  For some
   15662   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15663   # vanish in a puff of smoke.
   15664   if test set != "${COLLECT_NAMES+set}"; then
   15665     COLLECT_NAMES=
   15666     export COLLECT_NAMES
   15667   fi
   15668   ;;
   15669 esac
   15670 
   15671 # Global variables:
   15672 ofile=libtool
   15673 can_build_shared=yes
   15674 
   15675 # All known linkers require a '.a' archive for static linking (except MSVC,
   15676 # which needs '.lib').
   15677 libext=a
   15678 
   15679 with_gnu_ld=$lt_cv_prog_gnu_ld
   15680 
   15681 old_CC=$CC
   15682 old_CFLAGS=$CFLAGS
   15683 
   15684 # Set sane defaults for various variables
   15685 test -z "$CC" && CC=cc
   15686 test -z "$LTCC" && LTCC=$CC
   15687 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15688 test -z "$LD" && LD=ld
   15689 test -z "$ac_objext" && ac_objext=o
   15690 
   15691 func_cc_basename $compiler
   15692 cc_basename=$func_cc_basename_result
   15693 
   15694 
   15695 # Only perform the check for file, if the check method requires it
   15696 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15697 case $deplibs_check_method in
   15698 file_magic*)
   15699   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15700     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15701 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15702 if test ${lt_cv_path_MAGIC_CMD+y}
   15703 then :
   15704   printf %s "(cached) " >&6
   15705 else $as_nop
   15706   case $MAGIC_CMD in
   15707 [\\/*] |  ?:[\\/]*)
   15708   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15709   ;;
   15710 *)
   15711   lt_save_MAGIC_CMD=$MAGIC_CMD
   15712   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15713   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15714   for ac_dir in $ac_dummy; do
   15715     IFS=$lt_save_ifs
   15716     test -z "$ac_dir" && ac_dir=.
   15717     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15718       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15719       if test -n "$file_magic_test_file"; then
   15720 	case $deplibs_check_method in
   15721 	"file_magic "*)
   15722 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15723 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15724 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15725 	    $EGREP "$file_magic_regex" > /dev/null; then
   15726 	    :
   15727 	  else
   15728 	    cat <<_LT_EOF 1>&2
   15729 
   15730 *** Warning: the command libtool uses to detect shared libraries,
   15731 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15732 *** The result is that libtool may fail to recognize shared libraries
   15733 *** as such.  This will affect the creation of libtool libraries that
   15734 *** depend on shared libraries, but programs linked with such libtool
   15735 *** libraries will work regardless of this problem.  Nevertheless, you
   15736 *** may want to report the problem to your system manager and/or to
   15737 *** bug-libtool@gnu.org
   15738 
   15739 _LT_EOF
   15740 	  fi ;;
   15741 	esac
   15742       fi
   15743       break
   15744     fi
   15745   done
   15746   IFS=$lt_save_ifs
   15747   MAGIC_CMD=$lt_save_MAGIC_CMD
   15748   ;;
   15749 esac
   15750 fi
   15751 
   15752 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15753 if test -n "$MAGIC_CMD"; then
   15754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15755 printf "%s\n" "$MAGIC_CMD" >&6; }
   15756 else
   15757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15758 printf "%s\n" "no" >&6; }
   15759 fi
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15766   if test -n "$ac_tool_prefix"; then
   15767     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15768 printf %s "checking for file... " >&6; }
   15769 if test ${lt_cv_path_MAGIC_CMD+y}
   15770 then :
   15771   printf %s "(cached) " >&6
   15772 else $as_nop
   15773   case $MAGIC_CMD in
   15774 [\\/*] |  ?:[\\/]*)
   15775   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15776   ;;
   15777 *)
   15778   lt_save_MAGIC_CMD=$MAGIC_CMD
   15779   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15780   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15781   for ac_dir in $ac_dummy; do
   15782     IFS=$lt_save_ifs
   15783     test -z "$ac_dir" && ac_dir=.
   15784     if test -f "$ac_dir/file"; then
   15785       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15786       if test -n "$file_magic_test_file"; then
   15787 	case $deplibs_check_method in
   15788 	"file_magic "*)
   15789 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15790 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15791 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15792 	    $EGREP "$file_magic_regex" > /dev/null; then
   15793 	    :
   15794 	  else
   15795 	    cat <<_LT_EOF 1>&2
   15796 
   15797 *** Warning: the command libtool uses to detect shared libraries,
   15798 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15799 *** The result is that libtool may fail to recognize shared libraries
   15800 *** as such.  This will affect the creation of libtool libraries that
   15801 *** depend on shared libraries, but programs linked with such libtool
   15802 *** libraries will work regardless of this problem.  Nevertheless, you
   15803 *** may want to report the problem to your system manager and/or to
   15804 *** bug-libtool@gnu.org
   15805 
   15806 _LT_EOF
   15807 	  fi ;;
   15808 	esac
   15809       fi
   15810       break
   15811     fi
   15812   done
   15813   IFS=$lt_save_ifs
   15814   MAGIC_CMD=$lt_save_MAGIC_CMD
   15815   ;;
   15816 esac
   15817 fi
   15818 
   15819 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15820 if test -n "$MAGIC_CMD"; then
   15821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15822 printf "%s\n" "$MAGIC_CMD" >&6; }
   15823 else
   15824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15825 printf "%s\n" "no" >&6; }
   15826 fi
   15827 
   15828 
   15829   else
   15830     MAGIC_CMD=:
   15831   fi
   15832 fi
   15833 
   15834   fi
   15835   ;;
   15836 esac
   15837 
   15838 # Use C for the default configuration in the libtool script
   15839 
   15840 lt_save_CC=$CC
   15841 ac_ext=c
   15842 ac_cpp='$CPP $CPPFLAGS'
   15843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15846 
   15847 
   15848 # Source file extension for C test sources.
   15849 ac_ext=c
   15850 
   15851 # Object file extension for compiled C test sources.
   15852 objext=o
   15853 objext=$objext
   15854 
   15855 # Code to be used in simple compile tests
   15856 lt_simple_compile_test_code="int some_variable = 0;"
   15857 
   15858 # Code to be used in simple link tests
   15859 lt_simple_link_test_code='int main(){return(0);}'
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 # If no C compiler was specified, use CC.
   15868 LTCC=${LTCC-"$CC"}
   15869 
   15870 # If no C compiler flags were specified, use CFLAGS.
   15871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15872 
   15873 # Allow CC to be a program name with arguments.
   15874 compiler=$CC
   15875 
   15876 # Save the default compiler, since it gets overwritten when the other
   15877 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15878 compiler_DEFAULT=$CC
   15879 
   15880 # save warnings/boilerplate of simple test code
   15881 ac_outfile=conftest.$ac_objext
   15882 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15883 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15884 _lt_compiler_boilerplate=`cat conftest.err`
   15885 $RM conftest*
   15886 
   15887 ac_outfile=conftest.$ac_objext
   15888 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15889 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15890 _lt_linker_boilerplate=`cat conftest.err`
   15891 $RM -r conftest*
   15892 
   15893 
   15894 ## CAVEAT EMPTOR:
   15895 ## There is no encapsulation within the following macros, do not change
   15896 ## the running order or otherwise move them around unless you know exactly
   15897 ## what you are doing...
   15898 if test -n "$compiler"; then
   15899 
   15900 lt_prog_compiler_no_builtin_flag=
   15901 
   15902 if test yes = "$GCC"; then
   15903   case $cc_basename in
   15904   nvcc*)
   15905     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15906   *)
   15907     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15908   esac
   15909 
   15910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15911 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15912 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15913 then :
   15914   printf %s "(cached) " >&6
   15915 else $as_nop
   15916   lt_cv_prog_compiler_rtti_exceptions=no
   15917    ac_outfile=conftest.$ac_objext
   15918    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15919    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15920    # Insert the option either (1) after the last *FLAGS variable, or
   15921    # (2) before a word containing "conftest.", or (3) at the end.
   15922    # Note that $ac_compile itself does not contain backslashes and begins
   15923    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15924    # The option is referenced via a variable to avoid confusing sed.
   15925    lt_compile=`echo "$ac_compile" | $SED \
   15926    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15927    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15928    -e 's:$: $lt_compiler_flag:'`
   15929    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15930    (eval "$lt_compile" 2>conftest.err)
   15931    ac_status=$?
   15932    cat conftest.err >&5
   15933    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15934    if (exit $ac_status) && test -s "$ac_outfile"; then
   15935      # The compiler can only warn and ignore the option if not recognized
   15936      # So say no if there are warnings other than the usual output.
   15937      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15938      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15939      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15940        lt_cv_prog_compiler_rtti_exceptions=yes
   15941      fi
   15942    fi
   15943    $RM conftest*
   15944 
   15945 fi
   15946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15947 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15948 
   15949 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15950     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15951 else
   15952     :
   15953 fi
   15954 
   15955 fi
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962   lt_prog_compiler_wl=
   15963 lt_prog_compiler_pic=
   15964 lt_prog_compiler_static=
   15965 
   15966 
   15967   if test yes = "$GCC"; then
   15968     lt_prog_compiler_wl='-Wl,'
   15969     lt_prog_compiler_static='-static'
   15970 
   15971     case $host_os in
   15972       aix*)
   15973       # All AIX code is PIC.
   15974       if test ia64 = "$host_cpu"; then
   15975 	# AIX 5 now supports IA64 processor
   15976 	lt_prog_compiler_static='-Bstatic'
   15977       fi
   15978       lt_prog_compiler_pic='-fPIC'
   15979       ;;
   15980 
   15981     amigaos*)
   15982       case $host_cpu in
   15983       powerpc)
   15984             # see comment about AmigaOS4 .so support
   15985             lt_prog_compiler_pic='-fPIC'
   15986         ;;
   15987       m68k)
   15988             # FIXME: we need at least 68020 code to build shared libraries, but
   15989             # adding the '-m68020' flag to GCC prevents building anything better,
   15990             # like '-m68040'.
   15991             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15992         ;;
   15993       esac
   15994       ;;
   15995 
   15996     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15997       # PIC is the default for these OSes.
   15998       ;;
   15999 
   16000     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16001       # This hack is so that the source file can tell whether it is being
   16002       # built for inclusion in a dll (and should export symbols for example).
   16003       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16004       # (--disable-auto-import) libraries
   16005       lt_prog_compiler_pic='-DDLL_EXPORT'
   16006       case $host_os in
   16007       os2*)
   16008 	lt_prog_compiler_static='$wl-static'
   16009 	;;
   16010       esac
   16011       ;;
   16012 
   16013     darwin* | rhapsody*)
   16014       # PIC is the default on this platform
   16015       # Common symbols not allowed in MH_DYLIB files
   16016       lt_prog_compiler_pic='-fno-common'
   16017       ;;
   16018 
   16019     haiku*)
   16020       # PIC is the default for Haiku.
   16021       # The "-static" flag exists, but is broken.
   16022       lt_prog_compiler_static=
   16023       ;;
   16024 
   16025     hpux*)
   16026       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   16027       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   16028       # sets the default TLS model and affects inlining.
   16029       case $host_cpu in
   16030       hppa*64*)
   16031 	# +Z the default
   16032 	;;
   16033       *)
   16034 	lt_prog_compiler_pic='-fPIC'
   16035 	;;
   16036       esac
   16037       ;;
   16038 
   16039     interix[3-9]*)
   16040       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16041       # Instead, we relocate shared libraries at runtime.
   16042       ;;
   16043 
   16044     msdosdjgpp*)
   16045       # Just because we use GCC doesn't mean we suddenly get shared libraries
   16046       # on systems that don't support them.
   16047       lt_prog_compiler_can_build_shared=no
   16048       enable_shared=no
   16049       ;;
   16050 
   16051     *nto* | *qnx*)
   16052       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16053       # it will coredump.
   16054       lt_prog_compiler_pic='-fPIC -shared'
   16055       ;;
   16056 
   16057     sysv4*MP*)
   16058       if test -d /usr/nec; then
   16059 	lt_prog_compiler_pic=-Kconform_pic
   16060       fi
   16061       ;;
   16062 
   16063     *)
   16064       lt_prog_compiler_pic='-fPIC'
   16065       ;;
   16066     esac
   16067 
   16068     case $cc_basename in
   16069     nvcc*) # Cuda Compiler Driver 2.2
   16070       lt_prog_compiler_wl='-Xlinker '
   16071       if test -n "$lt_prog_compiler_pic"; then
   16072         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   16073       fi
   16074       ;;
   16075     esac
   16076   else
   16077     # PORTME Check for flag to pass linker flags through the system compiler.
   16078     case $host_os in
   16079     aix*)
   16080       lt_prog_compiler_wl='-Wl,'
   16081       if test ia64 = "$host_cpu"; then
   16082 	# AIX 5 now supports IA64 processor
   16083 	lt_prog_compiler_static='-Bstatic'
   16084       else
   16085 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   16086       fi
   16087       ;;
   16088 
   16089     darwin* | rhapsody*)
   16090       # PIC is the default on this platform
   16091       # Common symbols not allowed in MH_DYLIB files
   16092       lt_prog_compiler_pic='-fno-common'
   16093       case $cc_basename in
   16094       nagfor*)
   16095         # NAG Fortran compiler
   16096         lt_prog_compiler_wl='-Wl,-Wl,,'
   16097         lt_prog_compiler_pic='-PIC'
   16098         lt_prog_compiler_static='-Bstatic'
   16099         ;;
   16100       esac
   16101       ;;
   16102 
   16103     mingw* | cygwin* | pw32* | os2* | cegcc*)
   16104       # This hack is so that the source file can tell whether it is being
   16105       # built for inclusion in a dll (and should export symbols for example).
   16106       lt_prog_compiler_pic='-DDLL_EXPORT'
   16107       case $host_os in
   16108       os2*)
   16109 	lt_prog_compiler_static='$wl-static'
   16110 	;;
   16111       esac
   16112       ;;
   16113 
   16114     hpux9* | hpux10* | hpux11*)
   16115       lt_prog_compiler_wl='-Wl,'
   16116       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   16117       # not for PA HP-UX.
   16118       case $host_cpu in
   16119       hppa*64*|ia64*)
   16120 	# +Z the default
   16121 	;;
   16122       *)
   16123 	lt_prog_compiler_pic='+Z'
   16124 	;;
   16125       esac
   16126       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   16127       lt_prog_compiler_static='$wl-a ${wl}archive'
   16128       ;;
   16129 
   16130     irix5* | irix6* | nonstopux*)
   16131       lt_prog_compiler_wl='-Wl,'
   16132       # PIC (with -KPIC) is the default.
   16133       lt_prog_compiler_static='-non_shared'
   16134       ;;
   16135 
   16136     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16137       case $cc_basename in
   16138       # old Intel for x86_64, which still supported -KPIC.
   16139       ecc*)
   16140 	lt_prog_compiler_wl='-Wl,'
   16141 	lt_prog_compiler_pic='-KPIC'
   16142 	lt_prog_compiler_static='-static'
   16143         ;;
   16144       # flang / f18. f95 an alias for gfortran or flang on Debian
   16145       flang* | f18* | f95*)
   16146 	lt_prog_compiler_wl='-Wl,'
   16147 	lt_prog_compiler_pic='-fPIC'
   16148 	lt_prog_compiler_static='-static'
   16149         ;;
   16150       # icc used to be incompatible with GCC.
   16151       # ICC 10 doesn't accept -KPIC any more.
   16152       icc* | ifort*)
   16153 	lt_prog_compiler_wl='-Wl,'
   16154 	lt_prog_compiler_pic='-fPIC'
   16155 	lt_prog_compiler_static='-static'
   16156         ;;
   16157       # Lahey Fortran 8.1.
   16158       lf95*)
   16159 	lt_prog_compiler_wl='-Wl,'
   16160 	lt_prog_compiler_pic='--shared'
   16161 	lt_prog_compiler_static='--static'
   16162 	;;
   16163       nagfor*)
   16164 	# NAG Fortran compiler
   16165 	lt_prog_compiler_wl='-Wl,-Wl,,'
   16166 	lt_prog_compiler_pic='-PIC'
   16167 	lt_prog_compiler_static='-Bstatic'
   16168 	;;
   16169       tcc*)
   16170 	# Fabrice Bellard et al's Tiny C Compiler
   16171 	lt_prog_compiler_wl='-Wl,'
   16172 	lt_prog_compiler_pic='-fPIC'
   16173 	lt_prog_compiler_static='-static'
   16174 	;;
   16175       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   16176         # Portland Group compilers (*not* the Pentium gcc compiler,
   16177 	# which looks to be a dead project)
   16178 	lt_prog_compiler_wl='-Wl,'
   16179 	lt_prog_compiler_pic='-fpic'
   16180 	lt_prog_compiler_static='-Bstatic'
   16181         ;;
   16182       ccc*)
   16183         lt_prog_compiler_wl='-Wl,'
   16184         # All Alpha code is PIC.
   16185         lt_prog_compiler_static='-non_shared'
   16186         ;;
   16187       xl* | bgxl* | bgf* | mpixl*)
   16188 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   16189 	lt_prog_compiler_wl='-Wl,'
   16190 	lt_prog_compiler_pic='-qpic'
   16191 	lt_prog_compiler_static='-qstaticlink'
   16192 	;;
   16193       *)
   16194 	case `$CC -V 2>&1 | sed 5q` in
   16195 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16196 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16197 	  lt_prog_compiler_pic='-KPIC'
   16198 	  lt_prog_compiler_static='-Bstatic'
   16199 	  lt_prog_compiler_wl=''
   16200 	  ;;
   16201 	*Sun\ F* | *Sun*Fortran*)
   16202 	  lt_prog_compiler_pic='-KPIC'
   16203 	  lt_prog_compiler_static='-Bstatic'
   16204 	  lt_prog_compiler_wl='-Qoption ld '
   16205 	  ;;
   16206 	*Sun\ C*)
   16207 	  # Sun C 5.9
   16208 	  lt_prog_compiler_pic='-KPIC'
   16209 	  lt_prog_compiler_static='-Bstatic'
   16210 	  lt_prog_compiler_wl='-Wl,'
   16211 	  ;;
   16212         *Intel*\ [CF]*Compiler*)
   16213 	  lt_prog_compiler_wl='-Wl,'
   16214 	  lt_prog_compiler_pic='-fPIC'
   16215 	  lt_prog_compiler_static='-static'
   16216 	  ;;
   16217 	*Portland\ Group*)
   16218 	  lt_prog_compiler_wl='-Wl,'
   16219 	  lt_prog_compiler_pic='-fpic'
   16220 	  lt_prog_compiler_static='-Bstatic'
   16221 	  ;;
   16222 	esac
   16223 	;;
   16224       esac
   16225       ;;
   16226 
   16227     newsos6)
   16228       lt_prog_compiler_pic='-KPIC'
   16229       lt_prog_compiler_static='-Bstatic'
   16230       ;;
   16231 
   16232     *nto* | *qnx*)
   16233       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16234       # it will coredump.
   16235       lt_prog_compiler_pic='-fPIC -shared'
   16236       ;;
   16237 
   16238     osf3* | osf4* | osf5*)
   16239       lt_prog_compiler_wl='-Wl,'
   16240       # All OSF/1 code is PIC.
   16241       lt_prog_compiler_static='-non_shared'
   16242       ;;
   16243 
   16244     rdos*)
   16245       lt_prog_compiler_static='-non_shared'
   16246       ;;
   16247 
   16248     solaris*)
   16249       lt_prog_compiler_pic='-KPIC'
   16250       lt_prog_compiler_static='-Bstatic'
   16251       case $cc_basename in
   16252       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16253 	lt_prog_compiler_wl='-Qoption ld ';;
   16254       *)
   16255 	lt_prog_compiler_wl='-Wl,';;
   16256       esac
   16257       ;;
   16258 
   16259     sunos4*)
   16260       lt_prog_compiler_wl='-Qoption ld '
   16261       lt_prog_compiler_pic='-PIC'
   16262       lt_prog_compiler_static='-Bstatic'
   16263       ;;
   16264 
   16265     sysv4 | sysv4.2uw2* | sysv4.3*)
   16266       lt_prog_compiler_wl='-Wl,'
   16267       lt_prog_compiler_pic='-KPIC'
   16268       lt_prog_compiler_static='-Bstatic'
   16269       ;;
   16270 
   16271     sysv4*MP*)
   16272       if test -d /usr/nec; then
   16273 	lt_prog_compiler_pic='-Kconform_pic'
   16274 	lt_prog_compiler_static='-Bstatic'
   16275       fi
   16276       ;;
   16277 
   16278     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16279       lt_prog_compiler_wl='-Wl,'
   16280       lt_prog_compiler_pic='-KPIC'
   16281       lt_prog_compiler_static='-Bstatic'
   16282       ;;
   16283 
   16284     unicos*)
   16285       lt_prog_compiler_wl='-Wl,'
   16286       lt_prog_compiler_can_build_shared=no
   16287       ;;
   16288 
   16289     uts4*)
   16290       lt_prog_compiler_pic='-pic'
   16291       lt_prog_compiler_static='-Bstatic'
   16292       ;;
   16293 
   16294     *)
   16295       lt_prog_compiler_can_build_shared=no
   16296       ;;
   16297     esac
   16298   fi
   16299 
   16300 case $host_os in
   16301   # For platforms that do not support PIC, -DPIC is meaningless:
   16302   *djgpp*)
   16303     lt_prog_compiler_pic=
   16304     ;;
   16305   *)
   16306     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16307     ;;
   16308 esac
   16309 
   16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16311 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16312 if test ${lt_cv_prog_compiler_pic+y}
   16313 then :
   16314   printf %s "(cached) " >&6
   16315 else $as_nop
   16316   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   16317 fi
   16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16319 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16320 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16321 
   16322 #
   16323 # Check to make sure the PIC flag actually works.
   16324 #
   16325 if test -n "$lt_prog_compiler_pic"; then
   16326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16327 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16328 if test ${lt_cv_prog_compiler_pic_works+y}
   16329 then :
   16330   printf %s "(cached) " >&6
   16331 else $as_nop
   16332   lt_cv_prog_compiler_pic_works=no
   16333    ac_outfile=conftest.$ac_objext
   16334    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16335    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16336    # Insert the option either (1) after the last *FLAGS variable, or
   16337    # (2) before a word containing "conftest.", or (3) at the end.
   16338    # Note that $ac_compile itself does not contain backslashes and begins
   16339    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16340    # The option is referenced via a variable to avoid confusing sed.
   16341    lt_compile=`echo "$ac_compile" | $SED \
   16342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16344    -e 's:$: $lt_compiler_flag:'`
   16345    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16346    (eval "$lt_compile" 2>conftest.err)
   16347    ac_status=$?
   16348    cat conftest.err >&5
   16349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16350    if (exit $ac_status) && test -s "$ac_outfile"; then
   16351      # The compiler can only warn and ignore the option if not recognized
   16352      # So say no if there are warnings other than the usual output.
   16353      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16354      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16355      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16356        lt_cv_prog_compiler_pic_works=yes
   16357      fi
   16358    fi
   16359    $RM conftest*
   16360 
   16361 fi
   16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16363 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16364 
   16365 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16366     case $lt_prog_compiler_pic in
   16367      "" | " "*) ;;
   16368      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16369      esac
   16370 else
   16371     lt_prog_compiler_pic=
   16372      lt_prog_compiler_can_build_shared=no
   16373 fi
   16374 
   16375 fi
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 #
   16388 # Check to make sure the static flag actually works.
   16389 #
   16390 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16392 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16393 if test ${lt_cv_prog_compiler_static_works+y}
   16394 then :
   16395   printf %s "(cached) " >&6
   16396 else $as_nop
   16397   lt_cv_prog_compiler_static_works=no
   16398    save_LDFLAGS=$LDFLAGS
   16399    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16400    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16401    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16402      # The linker can only warn and ignore the option if not recognized
   16403      # So say no if there are warnings
   16404      if test -s conftest.err; then
   16405        # Append any errors to the config.log.
   16406        cat conftest.err 1>&5
   16407        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16408        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16409        if diff conftest.exp conftest.er2 >/dev/null; then
   16410          lt_cv_prog_compiler_static_works=yes
   16411        fi
   16412      else
   16413        lt_cv_prog_compiler_static_works=yes
   16414      fi
   16415    fi
   16416    $RM -r conftest*
   16417    LDFLAGS=$save_LDFLAGS
   16418 
   16419 fi
   16420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16421 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16422 
   16423 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16424     :
   16425 else
   16426     lt_prog_compiler_static=
   16427 fi
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16436 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16437 if test ${lt_cv_prog_compiler_c_o+y}
   16438 then :
   16439   printf %s "(cached) " >&6
   16440 else $as_nop
   16441   lt_cv_prog_compiler_c_o=no
   16442    $RM -r conftest 2>/dev/null
   16443    mkdir conftest
   16444    cd conftest
   16445    mkdir out
   16446    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16447 
   16448    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16449    # Insert the option either (1) after the last *FLAGS variable, or
   16450    # (2) before a word containing "conftest.", or (3) at the end.
   16451    # Note that $ac_compile itself does not contain backslashes and begins
   16452    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16453    lt_compile=`echo "$ac_compile" | $SED \
   16454    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16455    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16456    -e 's:$: $lt_compiler_flag:'`
   16457    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16458    (eval "$lt_compile" 2>out/conftest.err)
   16459    ac_status=$?
   16460    cat out/conftest.err >&5
   16461    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16462    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16463    then
   16464      # The compiler can only warn and ignore the option if not recognized
   16465      # So say no if there are warnings
   16466      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16467      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16468      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16469        lt_cv_prog_compiler_c_o=yes
   16470      fi
   16471    fi
   16472    chmod u+w . 2>&5
   16473    $RM conftest*
   16474    # SGI C++ compiler will create directory out/ii_files/ for
   16475    # template instantiation
   16476    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16477    $RM out/* && rmdir out
   16478    cd ..
   16479    $RM -r conftest
   16480    $RM conftest*
   16481 
   16482 fi
   16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16484 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16492 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16493 if test ${lt_cv_prog_compiler_c_o+y}
   16494 then :
   16495   printf %s "(cached) " >&6
   16496 else $as_nop
   16497   lt_cv_prog_compiler_c_o=no
   16498    $RM -r conftest 2>/dev/null
   16499    mkdir conftest
   16500    cd conftest
   16501    mkdir out
   16502    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16503 
   16504    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16505    # Insert the option either (1) after the last *FLAGS variable, or
   16506    # (2) before a word containing "conftest.", or (3) at the end.
   16507    # Note that $ac_compile itself does not contain backslashes and begins
   16508    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16509    lt_compile=`echo "$ac_compile" | $SED \
   16510    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16511    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16512    -e 's:$: $lt_compiler_flag:'`
   16513    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16514    (eval "$lt_compile" 2>out/conftest.err)
   16515    ac_status=$?
   16516    cat out/conftest.err >&5
   16517    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16518    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16519    then
   16520      # The compiler can only warn and ignore the option if not recognized
   16521      # So say no if there are warnings
   16522      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16523      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16524      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16525        lt_cv_prog_compiler_c_o=yes
   16526      fi
   16527    fi
   16528    chmod u+w . 2>&5
   16529    $RM conftest*
   16530    # SGI C++ compiler will create directory out/ii_files/ for
   16531    # template instantiation
   16532    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16533    $RM out/* && rmdir out
   16534    cd ..
   16535    $RM -r conftest
   16536    $RM conftest*
   16537 
   16538 fi
   16539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16540 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16541 
   16542 
   16543 
   16544 
   16545 hard_links=nottested
   16546 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16547   # do not overwrite the value of need_locks provided by the user
   16548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16549 printf %s "checking if we can lock with hard links... " >&6; }
   16550   hard_links=yes
   16551   $RM conftest*
   16552   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16553   touch conftest.a
   16554   ln conftest.a conftest.b 2>&5 || hard_links=no
   16555   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16557 printf "%s\n" "$hard_links" >&6; }
   16558   if test no = "$hard_links"; then
   16559     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16560 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16561     need_locks=warn
   16562   fi
   16563 else
   16564   need_locks=no
   16565 fi
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16573 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16574 
   16575   runpath_var=
   16576   allow_undefined_flag=
   16577   always_export_symbols=no
   16578   archive_cmds=
   16579   archive_expsym_cmds=
   16580   compiler_needs_object=no
   16581   enable_shared_with_static_runtimes=no
   16582   export_dynamic_flag_spec=
   16583   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16584   hardcode_automatic=no
   16585   hardcode_direct=no
   16586   hardcode_direct_absolute=no
   16587   hardcode_libdir_flag_spec=
   16588   hardcode_libdir_separator=
   16589   hardcode_minus_L=no
   16590   hardcode_shlibpath_var=unsupported
   16591   inherit_rpath=no
   16592   link_all_deplibs=unknown
   16593   module_cmds=
   16594   module_expsym_cmds=
   16595   old_archive_from_new_cmds=
   16596   old_archive_from_expsyms_cmds=
   16597   thread_safe_flag_spec=
   16598   whole_archive_flag_spec=
   16599   # include_expsyms should be a list of space-separated symbols to be *always*
   16600   # included in the symbol list
   16601   include_expsyms=
   16602   # exclude_expsyms can be an extended regexp of symbols to exclude
   16603   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16604   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16605   # as well as any symbol that contains 'd'.
   16606   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16607   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16608   # platforms (ab)use it in PIC code, but their linkers get confused if
   16609   # the symbol is explicitly referenced.  Since portable code cannot
   16610   # rely on this symbol name, it's probably fine to never include it in
   16611   # preloaded symbol tables.
   16612   # Exclude shared library initialization/finalization symbols.
   16613   extract_expsyms_cmds=
   16614 
   16615   case $host_os in
   16616   cygwin* | mingw* | pw32* | cegcc*)
   16617     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16618     # When not using gcc, we currently assume that we are using
   16619     # Microsoft Visual C++.
   16620     if test yes != "$GCC"; then
   16621       with_gnu_ld=no
   16622     fi
   16623     ;;
   16624   interix*)
   16625     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16626     with_gnu_ld=yes
   16627     ;;
   16628   openbsd* | bitrig*)
   16629     with_gnu_ld=no
   16630     ;;
   16631   linux* | k*bsd*-gnu | gnu*)
   16632     link_all_deplibs=no
   16633     ;;
   16634   esac
   16635 
   16636   ld_shlibs=yes
   16637 
   16638   # On some targets, GNU ld is compatible enough with the native linker
   16639   # that we're better off using the native interface for both.
   16640   lt_use_gnu_ld_interface=no
   16641   if test yes = "$with_gnu_ld"; then
   16642     case $host_os in
   16643       aix*)
   16644 	# The AIX port of GNU ld has always aspired to compatibility
   16645 	# with the native linker.  However, as the warning in the GNU ld
   16646 	# block says, versions before 2.19.5* couldn't really create working
   16647 	# shared libraries, regardless of the interface used.
   16648 	case `$LD -v 2>&1` in
   16649 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16650 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16651 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16652 	  *)
   16653 	    lt_use_gnu_ld_interface=yes
   16654 	    ;;
   16655 	esac
   16656 	;;
   16657       *)
   16658 	lt_use_gnu_ld_interface=yes
   16659 	;;
   16660     esac
   16661   fi
   16662 
   16663   if test yes = "$lt_use_gnu_ld_interface"; then
   16664     # If archive_cmds runs LD, not CC, wlarc should be empty
   16665     wlarc='$wl'
   16666 
   16667     # Set some defaults for GNU ld with shared library support. These
   16668     # are reset later if shared libraries are not supported. Putting them
   16669     # here allows them to be overridden if necessary.
   16670     runpath_var=LD_RUN_PATH
   16671     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16672     export_dynamic_flag_spec='$wl--export-dynamic'
   16673     # ancient GNU ld didn't support --whole-archive et. al.
   16674     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16675       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16676     else
   16677       whole_archive_flag_spec=
   16678     fi
   16679     supports_anon_versioning=no
   16680     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   16681       *GNU\ gold*) supports_anon_versioning=yes ;;
   16682       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16683       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16684       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16685       *\ 2.11.*) ;; # other 2.11 versions
   16686       *) supports_anon_versioning=yes ;;
   16687     esac
   16688 
   16689     # See if GNU ld supports shared libraries.
   16690     case $host_os in
   16691     aix[3-9]*)
   16692       # On AIX/PPC, the GNU linker is very broken
   16693       if test ia64 != "$host_cpu"; then
   16694 	ld_shlibs=no
   16695 	cat <<_LT_EOF 1>&2
   16696 
   16697 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16698 *** to be unable to reliably create shared libraries on AIX.
   16699 *** Therefore, libtool is disabling shared libraries support.  If you
   16700 *** really care for shared libraries, you may want to install binutils
   16701 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16702 *** You will then need to restart the configuration process.
   16703 
   16704 _LT_EOF
   16705       fi
   16706       ;;
   16707 
   16708     amigaos*)
   16709       case $host_cpu in
   16710       powerpc)
   16711             # see comment about AmigaOS4 .so support
   16712             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16713             archive_expsym_cmds=''
   16714         ;;
   16715       m68k)
   16716             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)'
   16717             hardcode_libdir_flag_spec='-L$libdir'
   16718             hardcode_minus_L=yes
   16719         ;;
   16720       esac
   16721       ;;
   16722 
   16723     beos*)
   16724       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16725 	allow_undefined_flag=unsupported
   16726 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16727 	# support --undefined.  This deserves some investigation.  FIXME
   16728 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16729       else
   16730 	ld_shlibs=no
   16731       fi
   16732       ;;
   16733 
   16734     cygwin* | mingw* | pw32* | cegcc*)
   16735       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16736       # as there is no search path for DLLs.
   16737       hardcode_libdir_flag_spec='-L$libdir'
   16738       export_dynamic_flag_spec='$wl--export-all-symbols'
   16739       allow_undefined_flag=unsupported
   16740       always_export_symbols=no
   16741       enable_shared_with_static_runtimes=yes
   16742       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'
   16743       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16744 
   16745       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16746         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16747 	# If the export-symbols file already is a .def file, use it as
   16748 	# is; otherwise, prepend EXPORTS...
   16749 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16750           cp $export_symbols $output_objdir/$soname.def;
   16751         else
   16752           echo EXPORTS > $output_objdir/$soname.def;
   16753           cat $export_symbols >> $output_objdir/$soname.def;
   16754         fi~
   16755         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16756       else
   16757 	ld_shlibs=no
   16758       fi
   16759       ;;
   16760 
   16761     haiku*)
   16762       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16763       link_all_deplibs=yes
   16764       ;;
   16765 
   16766     os2*)
   16767       hardcode_libdir_flag_spec='-L$libdir'
   16768       hardcode_minus_L=yes
   16769       allow_undefined_flag=unsupported
   16770       shrext_cmds=.dll
   16771       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16772 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16773 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16774 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16775 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16776 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16777 	emximp -o $lib $output_objdir/$libname.def'
   16778       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16779 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16780 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16781 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16782 	prefix_cmds="$SED"~
   16783 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16784 	  prefix_cmds="$prefix_cmds -e 1d";
   16785 	fi~
   16786 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16787 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16788 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16789 	emximp -o $lib $output_objdir/$libname.def'
   16790       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16791       enable_shared_with_static_runtimes=yes
   16792       ;;
   16793 
   16794     interix[3-9]*)
   16795       hardcode_direct=no
   16796       hardcode_shlibpath_var=no
   16797       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16798       export_dynamic_flag_spec='$wl-E'
   16799       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16800       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16801       # default) and relocated if they conflict, which is a slow very memory
   16802       # consuming and fragmenting process.  To avoid this, we pick a random,
   16803       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16804       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16805       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16806       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'
   16807       ;;
   16808 
   16809     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16810       tmp_diet=no
   16811       if test linux-dietlibc = "$host_os"; then
   16812 	case $cc_basename in
   16813 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16814 	esac
   16815       fi
   16816       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16817 	 && test no = "$tmp_diet"
   16818       then
   16819 	tmp_addflag=' $pic_flag'
   16820 	tmp_sharedflag='-shared'
   16821 	case $cc_basename,$host_cpu in
   16822         pgcc*)				# Portland Group C compiler
   16823 	  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'
   16824 	  tmp_addflag=' $pic_flag'
   16825 	  ;;
   16826 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16827 					# Portland Group f77 and f90 compilers
   16828 	  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'
   16829 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16830 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16831 	  tmp_addflag=' -i_dynamic' ;;
   16832 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16833 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16834 	ifc* | ifort*)			# Intel Fortran compiler
   16835 	  tmp_addflag=' -nofor_main' ;;
   16836 	lf95*)				# Lahey Fortran 8.1
   16837 	  whole_archive_flag_spec=
   16838 	  tmp_sharedflag='--shared' ;;
   16839         nagfor*)                        # NAGFOR 5.3
   16840           tmp_sharedflag='-Wl,-shared' ;;
   16841 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16842 	  tmp_sharedflag='-qmkshrobj'
   16843 	  tmp_addflag= ;;
   16844 	nvcc*)	# Cuda Compiler Driver 2.2
   16845 	  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'
   16846 	  compiler_needs_object=yes
   16847 	  ;;
   16848 	esac
   16849 	case `$CC -V 2>&1 | sed 5q` in
   16850 	*Sun\ C*)			# Sun C 5.9
   16851 	  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'
   16852 	  compiler_needs_object=yes
   16853 	  tmp_sharedflag='-G' ;;
   16854 	*Sun\ F*)			# Sun Fortran 8.3
   16855 	  tmp_sharedflag='-G' ;;
   16856 	esac
   16857 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16858 
   16859         if test yes = "$supports_anon_versioning"; then
   16860           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16861             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16862             echo "local: *; };" >> $output_objdir/$libname.ver~
   16863             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16864         fi
   16865 
   16866 	case $cc_basename in
   16867 	tcc*)
   16868 	  export_dynamic_flag_spec='-rdynamic'
   16869 	  ;;
   16870 	xlf* | bgf* | bgxlf* | mpixlf*)
   16871 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16872 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16873 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16874 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16875 	  if test yes = "$supports_anon_versioning"; then
   16876 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16877               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16878               echo "local: *; };" >> $output_objdir/$libname.ver~
   16879               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16880 	  fi
   16881 	  ;;
   16882 	esac
   16883       else
   16884         ld_shlibs=no
   16885       fi
   16886       ;;
   16887 
   16888     netbsd* | netbsdelf*-gnu)
   16889       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16890 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16891 	wlarc=
   16892       else
   16893 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16894 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16895       fi
   16896       ;;
   16897 
   16898     solaris*)
   16899       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16900 	ld_shlibs=no
   16901 	cat <<_LT_EOF 1>&2
   16902 
   16903 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16904 *** create shared libraries on Solaris systems.  Therefore, libtool
   16905 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16906 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16907 *** your PATH or compiler configuration so that the native linker is
   16908 *** used, and then restart.
   16909 
   16910 _LT_EOF
   16911       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16912 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16913 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16914       else
   16915 	ld_shlibs=no
   16916       fi
   16917       ;;
   16918 
   16919     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16920       case `$LD -v 2>&1` in
   16921         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16922 	ld_shlibs=no
   16923 	cat <<_LT_EOF 1>&2
   16924 
   16925 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16926 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16927 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16928 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16929 *** your PATH or compiler configuration so that the native linker is
   16930 *** used, and then restart.
   16931 
   16932 _LT_EOF
   16933 	;;
   16934 	*)
   16935 	  # For security reasons, it is highly recommended that you always
   16936 	  # use absolute paths for naming shared libraries, and exclude the
   16937 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16938 	  # requires that you compile everything twice, which is a pain.
   16939 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16940 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16941 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16942 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16943 	  else
   16944 	    ld_shlibs=no
   16945 	  fi
   16946 	;;
   16947       esac
   16948       ;;
   16949 
   16950     sunos4*)
   16951       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16952       wlarc=
   16953       hardcode_direct=yes
   16954       hardcode_shlibpath_var=no
   16955       ;;
   16956 
   16957     *)
   16958       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16959 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16960 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16961       else
   16962 	ld_shlibs=no
   16963       fi
   16964       ;;
   16965     esac
   16966 
   16967     if test no = "$ld_shlibs"; then
   16968       runpath_var=
   16969       hardcode_libdir_flag_spec=
   16970       export_dynamic_flag_spec=
   16971       whole_archive_flag_spec=
   16972     fi
   16973   else
   16974     # PORTME fill in a description of your system's linker (not GNU ld)
   16975     case $host_os in
   16976     aix3*)
   16977       allow_undefined_flag=unsupported
   16978       always_export_symbols=yes
   16979       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'
   16980       # Note: this linker hardcodes the directories in LIBPATH if there
   16981       # are no directories specified by -L.
   16982       hardcode_minus_L=yes
   16983       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16984 	# Neither direct hardcoding nor static linking is supported with a
   16985 	# broken collect2.
   16986 	hardcode_direct=unsupported
   16987       fi
   16988       ;;
   16989 
   16990     aix[4-9]*)
   16991       if test ia64 = "$host_cpu"; then
   16992 	# On IA64, the linker does run time linking by default, so we don't
   16993 	# have to do anything special.
   16994 	aix_use_runtimelinking=no
   16995 	exp_sym_flag='-Bexport'
   16996 	no_entry_flag=
   16997       else
   16998 	# If we're using GNU nm, then we don't want the "-C" option.
   16999 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   17000 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   17001 	# weak defined symbols like other global defined symbols, whereas
   17002 	# GNU nm marks them as "W".
   17003 	# While the 'weak' keyword is ignored in the Export File, we need
   17004 	# it in the Import File for the 'aix-soname' feature, so we have
   17005 	# to replace the "-B" option with "-P" for AIX nm.
   17006 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   17007 	  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'
   17008 	else
   17009 	  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'
   17010 	fi
   17011 	aix_use_runtimelinking=no
   17012 
   17013 	# Test if we are trying to use run time linking or normal
   17014 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17015 	# have runtime linking enabled, and use it for executables.
   17016 	# For shared libraries, we enable/disable runtime linking
   17017 	# depending on the kind of the shared library created -
   17018 	# when "with_aix_soname,aix_use_runtimelinking" is:
   17019 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   17020 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   17021 	#            lib.a           static archive
   17022 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   17023 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   17024 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   17025 	#            lib.a(lib.so.V) shared, rtl:no
   17026 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   17027 	#            lib.a           static archive
   17028 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17029 	  for ld_flag in $LDFLAGS; do
   17030 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   17031 	    aix_use_runtimelinking=yes
   17032 	    break
   17033 	  fi
   17034 	  done
   17035 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   17036 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   17037 	    # so we don't have lib.a shared libs to link our executables.
   17038 	    # We have to force runtime linking in this case.
   17039 	    aix_use_runtimelinking=yes
   17040 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   17041 	  fi
   17042 	  ;;
   17043 	esac
   17044 
   17045 	exp_sym_flag='-bexport'
   17046 	no_entry_flag='-bnoentry'
   17047       fi
   17048 
   17049       # When large executables or shared objects are built, AIX ld can
   17050       # have problems creating the table of contents.  If linking a library
   17051       # or program results in "error TOC overflow" add -mminimal-toc to
   17052       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17053       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17054 
   17055       archive_cmds=''
   17056       hardcode_direct=yes
   17057       hardcode_direct_absolute=yes
   17058       hardcode_libdir_separator=':'
   17059       link_all_deplibs=yes
   17060       file_list_spec='$wl-f,'
   17061       case $with_aix_soname,$aix_use_runtimelinking in
   17062       aix,*) ;; # traditional, no import file
   17063       svr4,* | *,yes) # use import file
   17064 	# The Import File defines what to hardcode.
   17065 	hardcode_direct=no
   17066 	hardcode_direct_absolute=no
   17067 	;;
   17068       esac
   17069 
   17070       if test yes = "$GCC"; then
   17071 	case $host_os in aix4.[012]|aix4.[012].*)
   17072 	# We only want to do this on AIX 4.2 and lower, the check
   17073 	# below for broken collect2 doesn't work under 4.3+
   17074 	  collect2name=`$CC -print-prog-name=collect2`
   17075 	  if test -f "$collect2name" &&
   17076 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   17077 	  then
   17078 	  # We have reworked collect2
   17079 	  :
   17080 	  else
   17081 	  # We have old collect2
   17082 	  hardcode_direct=unsupported
   17083 	  # It fails to find uninstalled libraries when the uninstalled
   17084 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17085 	  # to unsupported forces relinking
   17086 	  hardcode_minus_L=yes
   17087 	  hardcode_libdir_flag_spec='-L$libdir'
   17088 	  hardcode_libdir_separator=
   17089 	  fi
   17090 	  ;;
   17091 	esac
   17092 	shared_flag='-shared'
   17093 	if test yes = "$aix_use_runtimelinking"; then
   17094 	  shared_flag="$shared_flag "'$wl-G'
   17095 	fi
   17096 	# Need to ensure runtime linking is disabled for the traditional
   17097 	# shared library, or the linker may eventually find shared libraries
   17098 	# /with/ Import File - we do not want to mix them.
   17099 	shared_flag_aix='-shared'
   17100 	shared_flag_svr4='-shared $wl-G'
   17101       else
   17102 	# not using gcc
   17103 	if test ia64 = "$host_cpu"; then
   17104 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17105 	# chokes on -Wl,-G. The following line is correct:
   17106 	  shared_flag='-G'
   17107 	else
   17108 	  if test yes = "$aix_use_runtimelinking"; then
   17109 	    shared_flag='$wl-G'
   17110 	  else
   17111 	    shared_flag='$wl-bM:SRE'
   17112 	  fi
   17113 	  shared_flag_aix='$wl-bM:SRE'
   17114 	  shared_flag_svr4='$wl-G'
   17115 	fi
   17116       fi
   17117 
   17118       export_dynamic_flag_spec='$wl-bexpall'
   17119       # It seems that -bexpall does not export symbols beginning with
   17120       # underscore (_), so it is better to generate a list of symbols to export.
   17121       always_export_symbols=yes
   17122       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   17123 	# Warning - without using the other runtime loading flags (-brtl),
   17124 	# -berok will link without error, but may produce a broken library.
   17125 	allow_undefined_flag='-berok'
   17126         # Determine the default libpath from the value encoded in an
   17127         # empty executable.
   17128         if test set = "${lt_cv_aix_libpath+set}"; then
   17129   aix_libpath=$lt_cv_aix_libpath
   17130 else
   17131   if test ${lt_cv_aix_libpath_+y}
   17132 then :
   17133   printf %s "(cached) " >&6
   17134 else $as_nop
   17135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17136 /* end confdefs.h.  */
   17137 
   17138 int
   17139 main (void)
   17140 {
   17141 
   17142   ;
   17143   return 0;
   17144 }
   17145 _ACEOF
   17146 if ac_fn_c_try_link "$LINENO"
   17147 then :
   17148 
   17149   lt_aix_libpath_sed='
   17150       /Import File Strings/,/^$/ {
   17151 	  /^0/ {
   17152 	      s/^0  *\([^ ]*\) *$/\1/
   17153 	      p
   17154 	  }
   17155       }'
   17156   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17157   # Check for a 64-bit object if we didn't find anything.
   17158   if test -z "$lt_cv_aix_libpath_"; then
   17159     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17160   fi
   17161 fi
   17162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17163     conftest$ac_exeext conftest.$ac_ext
   17164   if test -z "$lt_cv_aix_libpath_"; then
   17165     lt_cv_aix_libpath_=/usr/lib:/lib
   17166   fi
   17167 
   17168 fi
   17169 
   17170   aix_libpath=$lt_cv_aix_libpath_
   17171 fi
   17172 
   17173         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17174         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
   17175       else
   17176 	if test ia64 = "$host_cpu"; then
   17177 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   17178 	  allow_undefined_flag="-z nodefs"
   17179 	  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"
   17180 	else
   17181 	 # Determine the default libpath from the value encoded in an
   17182 	 # empty executable.
   17183 	 if test set = "${lt_cv_aix_libpath+set}"; then
   17184   aix_libpath=$lt_cv_aix_libpath
   17185 else
   17186   if test ${lt_cv_aix_libpath_+y}
   17187 then :
   17188   printf %s "(cached) " >&6
   17189 else $as_nop
   17190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17191 /* end confdefs.h.  */
   17192 
   17193 int
   17194 main (void)
   17195 {
   17196 
   17197   ;
   17198   return 0;
   17199 }
   17200 _ACEOF
   17201 if ac_fn_c_try_link "$LINENO"
   17202 then :
   17203 
   17204   lt_aix_libpath_sed='
   17205       /Import File Strings/,/^$/ {
   17206 	  /^0/ {
   17207 	      s/^0  *\([^ ]*\) *$/\1/
   17208 	      p
   17209 	  }
   17210       }'
   17211   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17212   # Check for a 64-bit object if we didn't find anything.
   17213   if test -z "$lt_cv_aix_libpath_"; then
   17214     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17215   fi
   17216 fi
   17217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17218     conftest$ac_exeext conftest.$ac_ext
   17219   if test -z "$lt_cv_aix_libpath_"; then
   17220     lt_cv_aix_libpath_=/usr/lib:/lib
   17221   fi
   17222 
   17223 fi
   17224 
   17225   aix_libpath=$lt_cv_aix_libpath_
   17226 fi
   17227 
   17228 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17229 	  # Warning - without using the other run time loading flags,
   17230 	  # -berok will link without error, but may produce a broken library.
   17231 	  no_undefined_flag=' $wl-bernotok'
   17232 	  allow_undefined_flag=' $wl-berok'
   17233 	  if test yes = "$with_gnu_ld"; then
   17234 	    # We only use this code for GNU lds that support --whole-archive.
   17235 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17236 	  else
   17237 	    # Exported symbols can be pulled into shared objects from archives
   17238 	    whole_archive_flag_spec='$convenience'
   17239 	  fi
   17240 	  archive_cmds_need_lc=yes
   17241 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17242 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17243 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17244 	  if test svr4 != "$with_aix_soname"; then
   17245 	    # This is similar to how AIX traditionally builds its shared libraries.
   17246 	    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'
   17247 	  fi
   17248 	  if test aix != "$with_aix_soname"; then
   17249 	    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'
   17250 	  else
   17251 	    # used by -dlpreopen to get the symbols
   17252 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17253 	  fi
   17254 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17255 	fi
   17256       fi
   17257       ;;
   17258 
   17259     amigaos*)
   17260       case $host_cpu in
   17261       powerpc)
   17262             # see comment about AmigaOS4 .so support
   17263             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17264             archive_expsym_cmds=''
   17265         ;;
   17266       m68k)
   17267             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)'
   17268             hardcode_libdir_flag_spec='-L$libdir'
   17269             hardcode_minus_L=yes
   17270         ;;
   17271       esac
   17272       ;;
   17273 
   17274     bsdi[45]*)
   17275       export_dynamic_flag_spec=-rdynamic
   17276       ;;
   17277 
   17278     cygwin* | mingw* | pw32* | cegcc*)
   17279       # When not using gcc, we currently assume that we are using
   17280       # Microsoft Visual C++.
   17281       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17282       # no search path for DLLs.
   17283       case $cc_basename in
   17284       cl*)
   17285 	# Native MSVC
   17286 	hardcode_libdir_flag_spec=' '
   17287 	allow_undefined_flag=unsupported
   17288 	always_export_symbols=yes
   17289 	file_list_spec='@'
   17290 	# Tell ltmain to make .lib files, not .a files.
   17291 	libext=lib
   17292 	# Tell ltmain to make .dll files, not .so files.
   17293 	shrext_cmds=.dll
   17294 	# FIXME: Setting linknames here is a bad hack.
   17295 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17296 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17297             cp "$export_symbols" "$output_objdir/$soname.def";
   17298             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17299           else
   17300             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17301           fi~
   17302           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17303           linknames='
   17304 	# The linker will not automatically build a static lib if we build a DLL.
   17305 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17306 	enable_shared_with_static_runtimes=yes
   17307 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17308 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17309 	# Don't use ranlib
   17310 	old_postinstall_cmds='chmod 644 $oldlib'
   17311 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17312           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17313           case $lt_outputfile in
   17314             *.exe|*.EXE) ;;
   17315             *)
   17316               lt_outputfile=$lt_outputfile.exe
   17317               lt_tool_outputfile=$lt_tool_outputfile.exe
   17318               ;;
   17319           esac~
   17320           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17321             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17322             $RM "$lt_outputfile.manifest";
   17323           fi'
   17324 	;;
   17325       *)
   17326 	# Assume MSVC wrapper
   17327 	hardcode_libdir_flag_spec=' '
   17328 	allow_undefined_flag=unsupported
   17329 	# Tell ltmain to make .lib files, not .a files.
   17330 	libext=lib
   17331 	# Tell ltmain to make .dll files, not .so files.
   17332 	shrext_cmds=.dll
   17333 	# FIXME: Setting linknames here is a bad hack.
   17334 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17335 	# The linker will automatically build a .lib file if we build a DLL.
   17336 	old_archive_from_new_cmds='true'
   17337 	# FIXME: Should let the user specify the lib program.
   17338 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17339 	enable_shared_with_static_runtimes=yes
   17340 	;;
   17341       esac
   17342       ;;
   17343 
   17344     darwin* | rhapsody*)
   17345 
   17346 
   17347   archive_cmds_need_lc=no
   17348   hardcode_direct=no
   17349   hardcode_automatic=yes
   17350   hardcode_shlibpath_var=unsupported
   17351   if test yes = "$lt_cv_ld_force_load"; then
   17352     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\"`'
   17353 
   17354   else
   17355     whole_archive_flag_spec=''
   17356   fi
   17357   link_all_deplibs=yes
   17358   allow_undefined_flag=$_lt_dar_allow_undefined
   17359   case $cc_basename in
   17360      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17361      *) _lt_dar_can_shared=$GCC ;;
   17362   esac
   17363   if test yes = "$_lt_dar_can_shared"; then
   17364     output_verbose_link_cmd=func_echo_all
   17365     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17366     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17367     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"
   17368     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"
   17369 
   17370   else
   17371   ld_shlibs=no
   17372   fi
   17373 
   17374       ;;
   17375 
   17376     dgux*)
   17377       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17378       hardcode_libdir_flag_spec='-L$libdir'
   17379       hardcode_shlibpath_var=no
   17380       ;;
   17381 
   17382     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17383     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17384     # does not break anything, and helps significantly (at the cost of a little
   17385     # extra space).
   17386     freebsd2.2*)
   17387       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17388       hardcode_libdir_flag_spec='-R$libdir'
   17389       hardcode_direct=yes
   17390       hardcode_shlibpath_var=no
   17391       ;;
   17392 
   17393     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17394     freebsd2.*)
   17395       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17396       hardcode_direct=yes
   17397       hardcode_minus_L=yes
   17398       hardcode_shlibpath_var=no
   17399       ;;
   17400 
   17401     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17402     freebsd* | dragonfly*)
   17403       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17404       hardcode_libdir_flag_spec='-R$libdir'
   17405       hardcode_direct=yes
   17406       hardcode_shlibpath_var=no
   17407       ;;
   17408 
   17409     hpux9*)
   17410       if test yes = "$GCC"; then
   17411 	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'
   17412       else
   17413 	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'
   17414       fi
   17415       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17416       hardcode_libdir_separator=:
   17417       hardcode_direct=yes
   17418 
   17419       # hardcode_minus_L: Not really in the search PATH,
   17420       # but as the default location of the library.
   17421       hardcode_minus_L=yes
   17422       export_dynamic_flag_spec='$wl-E'
   17423       ;;
   17424 
   17425     hpux10*)
   17426       if test yes,no = "$GCC,$with_gnu_ld"; then
   17427 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17428       else
   17429 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17430       fi
   17431       if test no = "$with_gnu_ld"; then
   17432 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17433 	hardcode_libdir_separator=:
   17434 	hardcode_direct=yes
   17435 	hardcode_direct_absolute=yes
   17436 	export_dynamic_flag_spec='$wl-E'
   17437 	# hardcode_minus_L: Not really in the search PATH,
   17438 	# but as the default location of the library.
   17439 	hardcode_minus_L=yes
   17440       fi
   17441       ;;
   17442 
   17443     hpux11*)
   17444       if test yes,no = "$GCC,$with_gnu_ld"; then
   17445 	case $host_cpu in
   17446 	hppa*64*)
   17447 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17448 	  ;;
   17449 	ia64*)
   17450 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17451 	  ;;
   17452 	*)
   17453 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17454 	  ;;
   17455 	esac
   17456       else
   17457 	case $host_cpu in
   17458 	hppa*64*)
   17459 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17460 	  ;;
   17461 	ia64*)
   17462 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17463 	  ;;
   17464 	*)
   17465 
   17466 	  # Older versions of the 11.00 compiler do not understand -b yet
   17467 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17468 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17469 printf %s "checking if $CC understands -b... " >&6; }
   17470 if test ${lt_cv_prog_compiler__b+y}
   17471 then :
   17472   printf %s "(cached) " >&6
   17473 else $as_nop
   17474   lt_cv_prog_compiler__b=no
   17475    save_LDFLAGS=$LDFLAGS
   17476    LDFLAGS="$LDFLAGS -b"
   17477    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17478    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17479      # The linker can only warn and ignore the option if not recognized
   17480      # So say no if there are warnings
   17481      if test -s conftest.err; then
   17482        # Append any errors to the config.log.
   17483        cat conftest.err 1>&5
   17484        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17485        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17486        if diff conftest.exp conftest.er2 >/dev/null; then
   17487          lt_cv_prog_compiler__b=yes
   17488        fi
   17489      else
   17490        lt_cv_prog_compiler__b=yes
   17491      fi
   17492    fi
   17493    $RM -r conftest*
   17494    LDFLAGS=$save_LDFLAGS
   17495 
   17496 fi
   17497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17498 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17499 
   17500 if test yes = "$lt_cv_prog_compiler__b"; then
   17501     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17502 else
   17503     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17504 fi
   17505 
   17506 	  ;;
   17507 	esac
   17508       fi
   17509       if test no = "$with_gnu_ld"; then
   17510 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17511 	hardcode_libdir_separator=:
   17512 
   17513 	case $host_cpu in
   17514 	hppa*64*|ia64*)
   17515 	  hardcode_direct=no
   17516 	  hardcode_shlibpath_var=no
   17517 	  ;;
   17518 	*)
   17519 	  hardcode_direct=yes
   17520 	  hardcode_direct_absolute=yes
   17521 	  export_dynamic_flag_spec='$wl-E'
   17522 
   17523 	  # hardcode_minus_L: Not really in the search PATH,
   17524 	  # but as the default location of the library.
   17525 	  hardcode_minus_L=yes
   17526 	  ;;
   17527 	esac
   17528       fi
   17529       ;;
   17530 
   17531     irix5* | irix6* | nonstopux*)
   17532       if test yes = "$GCC"; then
   17533 	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'
   17534 	# Try to use the -exported_symbol ld option, if it does not
   17535 	# work, assume that -exports_file does not work either and
   17536 	# implicitly export all symbols.
   17537 	# This should be the same for all languages, so no per-tag cache variable.
   17538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17539 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17540 if test ${lt_cv_irix_exported_symbol+y}
   17541 then :
   17542   printf %s "(cached) " >&6
   17543 else $as_nop
   17544   save_LDFLAGS=$LDFLAGS
   17545 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17546 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17547 /* end confdefs.h.  */
   17548 int foo (void) { return 0; }
   17549 _ACEOF
   17550 if ac_fn_c_try_link "$LINENO"
   17551 then :
   17552   lt_cv_irix_exported_symbol=yes
   17553 else $as_nop
   17554   lt_cv_irix_exported_symbol=no
   17555 fi
   17556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17557     conftest$ac_exeext conftest.$ac_ext
   17558            LDFLAGS=$save_LDFLAGS
   17559 fi
   17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17561 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17562 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17563           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'
   17564 	fi
   17565 	link_all_deplibs=no
   17566       else
   17567 	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'
   17568 	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'
   17569       fi
   17570       archive_cmds_need_lc='no'
   17571       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17572       hardcode_libdir_separator=:
   17573       inherit_rpath=yes
   17574       link_all_deplibs=yes
   17575       ;;
   17576 
   17577     linux*)
   17578       case $cc_basename in
   17579       tcc*)
   17580 	# Fabrice Bellard et al's Tiny C Compiler
   17581 	ld_shlibs=yes
   17582 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17583 	;;
   17584       esac
   17585       ;;
   17586 
   17587     netbsd* | netbsdelf*-gnu)
   17588       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17589 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17590       else
   17591 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17592       fi
   17593       hardcode_libdir_flag_spec='-R$libdir'
   17594       hardcode_direct=yes
   17595       hardcode_shlibpath_var=no
   17596       ;;
   17597 
   17598     newsos6)
   17599       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17600       hardcode_direct=yes
   17601       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17602       hardcode_libdir_separator=:
   17603       hardcode_shlibpath_var=no
   17604       ;;
   17605 
   17606     *nto* | *qnx*)
   17607       ;;
   17608 
   17609     openbsd* | bitrig*)
   17610       if test -f /usr/libexec/ld.so; then
   17611 	hardcode_direct=yes
   17612 	hardcode_shlibpath_var=no
   17613 	hardcode_direct_absolute=yes
   17614 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17615 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17616 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17617 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17618 	  export_dynamic_flag_spec='$wl-E'
   17619 	else
   17620 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17621 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17622 	fi
   17623       else
   17624 	ld_shlibs=no
   17625       fi
   17626       ;;
   17627 
   17628     os2*)
   17629       hardcode_libdir_flag_spec='-L$libdir'
   17630       hardcode_minus_L=yes
   17631       allow_undefined_flag=unsupported
   17632       shrext_cmds=.dll
   17633       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17634 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17635 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17636 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17637 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17638 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17639 	emximp -o $lib $output_objdir/$libname.def'
   17640       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17641 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17642 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17643 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17644 	prefix_cmds="$SED"~
   17645 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17646 	  prefix_cmds="$prefix_cmds -e 1d";
   17647 	fi~
   17648 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17649 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17650 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17651 	emximp -o $lib $output_objdir/$libname.def'
   17652       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17653       enable_shared_with_static_runtimes=yes
   17654       ;;
   17655 
   17656     osf3*)
   17657       if test yes = "$GCC"; then
   17658 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17659 	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'
   17660       else
   17661 	allow_undefined_flag=' -expect_unresolved \*'
   17662 	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'
   17663       fi
   17664       archive_cmds_need_lc='no'
   17665       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17666       hardcode_libdir_separator=:
   17667       ;;
   17668 
   17669     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17670       if test yes = "$GCC"; then
   17671 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17672 	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'
   17673 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17674       else
   17675 	allow_undefined_flag=' -expect_unresolved \*'
   17676 	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'
   17677 	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~
   17678           $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'
   17679 
   17680 	# Both c and cxx compiler support -rpath directly
   17681 	hardcode_libdir_flag_spec='-rpath $libdir'
   17682       fi
   17683       archive_cmds_need_lc='no'
   17684       hardcode_libdir_separator=:
   17685       ;;
   17686 
   17687     solaris*)
   17688       no_undefined_flag=' -z defs'
   17689       if test yes = "$GCC"; then
   17690 	wlarc='$wl'
   17691 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17692 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17693           $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'
   17694       else
   17695 	case `$CC -V 2>&1` in
   17696 	*"Compilers 5.0"*)
   17697 	  wlarc=''
   17698 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17699 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17700             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17701 	  ;;
   17702 	*)
   17703 	  wlarc='$wl'
   17704 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17705 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17706             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17707 	  ;;
   17708 	esac
   17709       fi
   17710       hardcode_libdir_flag_spec='-R$libdir'
   17711       hardcode_shlibpath_var=no
   17712       case $host_os in
   17713       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17714       *)
   17715 	# The compiler driver will combine and reorder linker options,
   17716 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17717 	# but is careful enough not to reorder.
   17718 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17719 	if test yes = "$GCC"; then
   17720 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17721 	else
   17722 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17723 	fi
   17724 	;;
   17725       esac
   17726       link_all_deplibs=yes
   17727       ;;
   17728 
   17729     sunos4*)
   17730       if test sequent = "$host_vendor"; then
   17731 	# Use $CC to link under sequent, because it throws in some extra .o
   17732 	# files that make .init and .fini sections work.
   17733 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17734       else
   17735 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17736       fi
   17737       hardcode_libdir_flag_spec='-L$libdir'
   17738       hardcode_direct=yes
   17739       hardcode_minus_L=yes
   17740       hardcode_shlibpath_var=no
   17741       ;;
   17742 
   17743     sysv4)
   17744       case $host_vendor in
   17745 	sni)
   17746 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17747 	  hardcode_direct=yes # is this really true???
   17748 	;;
   17749 	siemens)
   17750 	  ## LD is ld it makes a PLAMLIB
   17751 	  ## CC just makes a GrossModule.
   17752 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17753 	  reload_cmds='$CC -r -o $output$reload_objs'
   17754 	  hardcode_direct=no
   17755         ;;
   17756 	motorola)
   17757 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17758 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17759 	;;
   17760       esac
   17761       runpath_var='LD_RUN_PATH'
   17762       hardcode_shlibpath_var=no
   17763       ;;
   17764 
   17765     sysv4.3*)
   17766       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17767       hardcode_shlibpath_var=no
   17768       export_dynamic_flag_spec='-Bexport'
   17769       ;;
   17770 
   17771     sysv4*MP*)
   17772       if test -d /usr/nec; then
   17773 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17774 	hardcode_shlibpath_var=no
   17775 	runpath_var=LD_RUN_PATH
   17776 	hardcode_runpath_var=yes
   17777 	ld_shlibs=yes
   17778       fi
   17779       ;;
   17780 
   17781     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17782       no_undefined_flag='$wl-z,text'
   17783       archive_cmds_need_lc=no
   17784       hardcode_shlibpath_var=no
   17785       runpath_var='LD_RUN_PATH'
   17786 
   17787       if test yes = "$GCC"; then
   17788 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17789 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17790       else
   17791 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17792 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17793       fi
   17794       ;;
   17795 
   17796     sysv5* | sco3.2v5* | sco5v6*)
   17797       # Note: We CANNOT use -z defs as we might desire, because we do not
   17798       # link with -lc, and that would cause any symbols used from libc to
   17799       # always be unresolved, which means just about no library would
   17800       # ever link correctly.  If we're not using GNU ld we use -z text
   17801       # though, which does catch some bad symbols but isn't as heavy-handed
   17802       # as -z defs.
   17803       no_undefined_flag='$wl-z,text'
   17804       allow_undefined_flag='$wl-z,nodefs'
   17805       archive_cmds_need_lc=no
   17806       hardcode_shlibpath_var=no
   17807       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17808       hardcode_libdir_separator=':'
   17809       link_all_deplibs=yes
   17810       export_dynamic_flag_spec='$wl-Bexport'
   17811       runpath_var='LD_RUN_PATH'
   17812 
   17813       if test yes = "$GCC"; then
   17814 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17815 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17816       else
   17817 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17818 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17819       fi
   17820       ;;
   17821 
   17822     uts4*)
   17823       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17824       hardcode_libdir_flag_spec='-L$libdir'
   17825       hardcode_shlibpath_var=no
   17826       ;;
   17827 
   17828     *)
   17829       ld_shlibs=no
   17830       ;;
   17831     esac
   17832 
   17833     if test sni = "$host_vendor"; then
   17834       case $host in
   17835       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17836 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17837 	;;
   17838       esac
   17839     fi
   17840   fi
   17841 
   17842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17843 printf "%s\n" "$ld_shlibs" >&6; }
   17844 test no = "$ld_shlibs" && can_build_shared=no
   17845 
   17846 with_gnu_ld=$with_gnu_ld
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 
   17862 #
   17863 # Do we need to explicitly link libc?
   17864 #
   17865 case "x$archive_cmds_need_lc" in
   17866 x|xyes)
   17867   # Assume -lc should be added
   17868   archive_cmds_need_lc=yes
   17869 
   17870   if test yes,yes = "$GCC,$enable_shared"; then
   17871     case $archive_cmds in
   17872     *'~'*)
   17873       # FIXME: we may have to deal with multi-command sequences.
   17874       ;;
   17875     '$CC '*)
   17876       # Test whether the compiler implicitly links with -lc since on some
   17877       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17878       # to ld, don't add -lc before -lgcc.
   17879       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17880 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17881 if test ${lt_cv_archive_cmds_need_lc+y}
   17882 then :
   17883   printf %s "(cached) " >&6
   17884 else $as_nop
   17885   $RM conftest*
   17886 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17887 
   17888 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17889   (eval $ac_compile) 2>&5
   17890   ac_status=$?
   17891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17892   test $ac_status = 0; } 2>conftest.err; then
   17893 	  soname=conftest
   17894 	  lib=conftest
   17895 	  libobjs=conftest.$ac_objext
   17896 	  deplibs=
   17897 	  wl=$lt_prog_compiler_wl
   17898 	  pic_flag=$lt_prog_compiler_pic
   17899 	  compiler_flags=-v
   17900 	  linker_flags=-v
   17901 	  verstring=
   17902 	  output_objdir=.
   17903 	  libname=conftest
   17904 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17905 	  allow_undefined_flag=
   17906 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17907   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17908   ac_status=$?
   17909   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17910   test $ac_status = 0; }
   17911 	  then
   17912 	    lt_cv_archive_cmds_need_lc=no
   17913 	  else
   17914 	    lt_cv_archive_cmds_need_lc=yes
   17915 	  fi
   17916 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17917 	else
   17918 	  cat conftest.err 1>&5
   17919 	fi
   17920 	$RM conftest*
   17921 
   17922 fi
   17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17924 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17925       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17926       ;;
   17927     esac
   17928   fi
   17929   ;;
   17930 esac
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   18084 printf %s "checking dynamic linker characteristics... " >&6; }
   18085 
   18086 if test yes = "$GCC"; then
   18087   case $host_os in
   18088     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   18089     *) lt_awk_arg='/^libraries:/' ;;
   18090   esac
   18091   case $host_os in
   18092     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   18093     *) lt_sed_strip_eq='s|=/|/|g' ;;
   18094   esac
   18095   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   18096   case $lt_search_path_spec in
   18097   *\;*)
   18098     # if the path contains ";" then we assume it to be the separator
   18099     # otherwise default to the standard path separator (i.e. ":") - it is
   18100     # assumed that no part of a normal pathname contains ";" but that should
   18101     # okay in the real world where ";" in dirpaths is itself problematic.
   18102     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   18103     ;;
   18104   *)
   18105     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   18106     ;;
   18107   esac
   18108   # Ok, now we have the path, separated by spaces, we can step through it
   18109   # and add multilib dir if necessary...
   18110   lt_tmp_lt_search_path_spec=
   18111   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   18112   # ...but if some path component already ends with the multilib dir we assume
   18113   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   18114   case "$lt_multi_os_dir; $lt_search_path_spec " in
   18115   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   18116     lt_multi_os_dir=
   18117     ;;
   18118   esac
   18119   for lt_sys_path in $lt_search_path_spec; do
   18120     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   18121       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   18122     elif test -n "$lt_multi_os_dir"; then
   18123       test -d "$lt_sys_path" && \
   18124 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   18125     fi
   18126   done
   18127   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   18128 BEGIN {RS = " "; FS = "/|\n";} {
   18129   lt_foo = "";
   18130   lt_count = 0;
   18131   for (lt_i = NF; lt_i > 0; lt_i--) {
   18132     if ($lt_i != "" && $lt_i != ".") {
   18133       if ($lt_i == "..") {
   18134         lt_count++;
   18135       } else {
   18136         if (lt_count == 0) {
   18137           lt_foo = "/" $lt_i lt_foo;
   18138         } else {
   18139           lt_count--;
   18140         }
   18141       }
   18142     }
   18143   }
   18144   if (lt_foo != "") { lt_freq[lt_foo]++; }
   18145   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   18146 }'`
   18147   # AWK program above erroneously prepends '/' to C:/dos/paths
   18148   # for these hosts.
   18149   case $host_os in
   18150     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   18151       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   18152   esac
   18153   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   18154 else
   18155   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18156 fi
   18157 library_names_spec=
   18158 libname_spec='lib$name'
   18159 soname_spec=
   18160 shrext_cmds=.so
   18161 postinstall_cmds=
   18162 postuninstall_cmds=
   18163 finish_cmds=
   18164 finish_eval=
   18165 shlibpath_var=
   18166 shlibpath_overrides_runpath=unknown
   18167 version_type=none
   18168 dynamic_linker="$host_os ld.so"
   18169 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18170 need_lib_prefix=unknown
   18171 hardcode_into_libs=no
   18172 
   18173 # when you set need_version to no, make sure it does not cause -set_version
   18174 # flags to be left without arguments
   18175 need_version=unknown
   18176 
   18177 
   18178 
   18179 case $host_os in
   18180 aix3*)
   18181   version_type=linux # correct to gnu/linux during the next big refactor
   18182   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   18183   shlibpath_var=LIBPATH
   18184 
   18185   # AIX 3 has no versioning support, so we append a major version to the name.
   18186   soname_spec='$libname$release$shared_ext$major'
   18187   ;;
   18188 
   18189 aix[4-9]*)
   18190   version_type=linux # correct to gnu/linux during the next big refactor
   18191   need_lib_prefix=no
   18192   need_version=no
   18193   hardcode_into_libs=yes
   18194   if test ia64 = "$host_cpu"; then
   18195     # AIX 5 supports IA64
   18196     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18197     shlibpath_var=LD_LIBRARY_PATH
   18198   else
   18199     # With GCC up to 2.95.x, collect2 would create an import file
   18200     # for dependence libraries.  The import file would start with
   18201     # the line '#! .'.  This would cause the generated library to
   18202     # depend on '.', always an invalid library.  This was fixed in
   18203     # development snapshots of GCC prior to 3.0.
   18204     case $host_os in
   18205       aix4 | aix4.[01] | aix4.[01].*)
   18206       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18207 	   echo ' yes '
   18208 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18209 	:
   18210       else
   18211 	can_build_shared=no
   18212       fi
   18213       ;;
   18214     esac
   18215     # Using Import Files as archive members, it is possible to support
   18216     # filename-based versioning of shared library archives on AIX. While
   18217     # this would work for both with and without runtime linking, it will
   18218     # prevent static linking of such archives. So we do filename-based
   18219     # shared library versioning with .so extension only, which is used
   18220     # when both runtime linking and shared linking is enabled.
   18221     # Unfortunately, runtime linking may impact performance, so we do
   18222     # not want this to be the default eventually. Also, we use the
   18223     # versioned .so libs for executables only if there is the -brtl
   18224     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   18225     # To allow for filename-based versioning support, we need to create
   18226     # libNAME.so.V as an archive file, containing:
   18227     # *) an Import File, referring to the versioned filename of the
   18228     #    archive as well as the shared archive member, telling the
   18229     #    bitwidth (32 or 64) of that shared object, and providing the
   18230     #    list of exported symbols of that shared object, eventually
   18231     #    decorated with the 'weak' keyword
   18232     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18233     #    it being seen by the linker.
   18234     # At run time we better use the real file rather than another symlink,
   18235     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18236 
   18237     case $with_aix_soname,$aix_use_runtimelinking in
   18238     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18239     # soname into executable. Probably we can add versioning support to
   18240     # collect2, so additional links can be useful in future.
   18241     aix,yes) # traditional libtool
   18242       dynamic_linker='AIX unversionable lib.so'
   18243       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18244       # instead of lib<name>.a to let people know that these are not
   18245       # typical AIX shared libraries.
   18246       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18247       ;;
   18248     aix,no) # traditional AIX only
   18249       dynamic_linker='AIX lib.a(lib.so.V)'
   18250       # We preserve .a as extension for shared libraries through AIX4.2
   18251       # and later when we are not doing run time linking.
   18252       library_names_spec='$libname$release.a $libname.a'
   18253       soname_spec='$libname$release$shared_ext$major'
   18254       ;;
   18255     svr4,*) # full svr4 only
   18256       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18257       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18258       # We do not specify a path in Import Files, so LIBPATH fires.
   18259       shlibpath_overrides_runpath=yes
   18260       ;;
   18261     *,yes) # both, prefer svr4
   18262       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18263       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18264       # unpreferred sharedlib libNAME.a needs extra handling
   18265       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"'
   18266       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"'
   18267       # We do not specify a path in Import Files, so LIBPATH fires.
   18268       shlibpath_overrides_runpath=yes
   18269       ;;
   18270     *,no) # both, prefer aix
   18271       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18272       library_names_spec='$libname$release.a $libname.a'
   18273       soname_spec='$libname$release$shared_ext$major'
   18274       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18275       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)'
   18276       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"'
   18277       ;;
   18278     esac
   18279     shlibpath_var=LIBPATH
   18280   fi
   18281   ;;
   18282 
   18283 amigaos*)
   18284   case $host_cpu in
   18285   powerpc)
   18286     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18287     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18288     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18289     ;;
   18290   m68k)
   18291     library_names_spec='$libname.ixlibrary $libname.a'
   18292     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18293     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'
   18294     ;;
   18295   esac
   18296   ;;
   18297 
   18298 beos*)
   18299   library_names_spec='$libname$shared_ext'
   18300   dynamic_linker="$host_os ld.so"
   18301   shlibpath_var=LIBRARY_PATH
   18302   ;;
   18303 
   18304 bsdi[45]*)
   18305   version_type=linux # correct to gnu/linux during the next big refactor
   18306   need_version=no
   18307   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18308   soname_spec='$libname$release$shared_ext$major'
   18309   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18310   shlibpath_var=LD_LIBRARY_PATH
   18311   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18312   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18313   # the default ld.so.conf also contains /usr/contrib/lib and
   18314   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18315   # libtool to hard-code these into programs
   18316   ;;
   18317 
   18318 cygwin* | mingw* | pw32* | cegcc*)
   18319   version_type=windows
   18320   shrext_cmds=.dll
   18321   need_version=no
   18322   need_lib_prefix=no
   18323 
   18324   case $GCC,$cc_basename in
   18325   yes,*)
   18326     # gcc
   18327     library_names_spec='$libname.dll.a'
   18328     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18329     postinstall_cmds='base_file=`basename \$file`~
   18330       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18331       dldir=$destdir/`dirname \$dlpath`~
   18332       test -d \$dldir || mkdir -p \$dldir~
   18333       $install_prog $dir/$dlname \$dldir/$dlname~
   18334       chmod a+x \$dldir/$dlname~
   18335       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18336         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18337       fi'
   18338     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18339       dlpath=$dir/\$dldll~
   18340        $RM \$dlpath'
   18341     shlibpath_overrides_runpath=yes
   18342 
   18343     case $host_os in
   18344     cygwin*)
   18345       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18346       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18347 
   18348       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18349       ;;
   18350     mingw* | cegcc*)
   18351       # MinGW DLLs use traditional 'lib' prefix
   18352       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18353       ;;
   18354     pw32*)
   18355       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18356       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18357       ;;
   18358     esac
   18359     dynamic_linker='Win32 ld.exe'
   18360     ;;
   18361 
   18362   *,cl*)
   18363     # Native MSVC
   18364     libname_spec='$name'
   18365     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18366     library_names_spec='$libname.dll.lib'
   18367 
   18368     case $build_os in
   18369     mingw*)
   18370       sys_lib_search_path_spec=
   18371       lt_save_ifs=$IFS
   18372       IFS=';'
   18373       for lt_path in $LIB
   18374       do
   18375         IFS=$lt_save_ifs
   18376         # Let DOS variable expansion print the short 8.3 style file name.
   18377         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18378         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18379       done
   18380       IFS=$lt_save_ifs
   18381       # Convert to MSYS style.
   18382       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18383       ;;
   18384     cygwin*)
   18385       # Convert to unix form, then to dos form, then back to unix form
   18386       # but this time dos style (no spaces!) so that the unix form looks
   18387       # like /cygdrive/c/PROGRA~1:/cygdr...
   18388       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18389       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18390       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18391       ;;
   18392     *)
   18393       sys_lib_search_path_spec=$LIB
   18394       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18395         # It is most probably a Windows format PATH.
   18396         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18397       else
   18398         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18399       fi
   18400       # FIXME: find the short name or the path components, as spaces are
   18401       # common. (e.g. "Program Files" -> "PROGRA~1")
   18402       ;;
   18403     esac
   18404 
   18405     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18406     postinstall_cmds='base_file=`basename \$file`~
   18407       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18408       dldir=$destdir/`dirname \$dlpath`~
   18409       test -d \$dldir || mkdir -p \$dldir~
   18410       $install_prog $dir/$dlname \$dldir/$dlname'
   18411     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18412       dlpath=$dir/\$dldll~
   18413        $RM \$dlpath'
   18414     shlibpath_overrides_runpath=yes
   18415     dynamic_linker='Win32 link.exe'
   18416     ;;
   18417 
   18418   *)
   18419     # Assume MSVC wrapper
   18420     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18421     dynamic_linker='Win32 ld.exe'
   18422     ;;
   18423   esac
   18424   # FIXME: first we should search . and the directory the executable is in
   18425   shlibpath_var=PATH
   18426   ;;
   18427 
   18428 darwin* | rhapsody*)
   18429   dynamic_linker="$host_os dyld"
   18430   version_type=darwin
   18431   need_lib_prefix=no
   18432   need_version=no
   18433   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18434   soname_spec='$libname$release$major$shared_ext'
   18435   shlibpath_overrides_runpath=yes
   18436   shlibpath_var=DYLD_LIBRARY_PATH
   18437   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18438 
   18439   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18440   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18441   ;;
   18442 
   18443 dgux*)
   18444   version_type=linux # correct to gnu/linux during the next big refactor
   18445   need_lib_prefix=no
   18446   need_version=no
   18447   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18448   soname_spec='$libname$release$shared_ext$major'
   18449   shlibpath_var=LD_LIBRARY_PATH
   18450   ;;
   18451 
   18452 freebsd* | dragonfly*)
   18453   # DragonFly does not have aout.  When/if they implement a new
   18454   # versioning mechanism, adjust this.
   18455   if test -x /usr/bin/objformat; then
   18456     objformat=`/usr/bin/objformat`
   18457   else
   18458     case $host_os in
   18459     freebsd[23].*) objformat=aout ;;
   18460     *) objformat=elf ;;
   18461     esac
   18462   fi
   18463   version_type=freebsd-$objformat
   18464   case $version_type in
   18465     freebsd-elf*)
   18466       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18467       soname_spec='$libname$release$shared_ext$major'
   18468       need_version=no
   18469       need_lib_prefix=no
   18470       ;;
   18471     freebsd-*)
   18472       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18473       need_version=yes
   18474       ;;
   18475   esac
   18476   shlibpath_var=LD_LIBRARY_PATH
   18477   case $host_os in
   18478   freebsd2.*)
   18479     shlibpath_overrides_runpath=yes
   18480     ;;
   18481   freebsd3.[01]* | freebsdelf3.[01]*)
   18482     shlibpath_overrides_runpath=yes
   18483     hardcode_into_libs=yes
   18484     ;;
   18485   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18486   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18487     shlibpath_overrides_runpath=no
   18488     hardcode_into_libs=yes
   18489     ;;
   18490   *) # from 4.6 on, and DragonFly
   18491     shlibpath_overrides_runpath=yes
   18492     hardcode_into_libs=yes
   18493     ;;
   18494   esac
   18495   ;;
   18496 
   18497 haiku*)
   18498   version_type=linux # correct to gnu/linux during the next big refactor
   18499   need_lib_prefix=no
   18500   need_version=no
   18501   dynamic_linker="$host_os runtime_loader"
   18502   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18503   soname_spec='$libname$release$shared_ext$major'
   18504   shlibpath_var=LIBRARY_PATH
   18505   shlibpath_overrides_runpath=no
   18506   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18507   hardcode_into_libs=yes
   18508   ;;
   18509 
   18510 hpux9* | hpux10* | hpux11*)
   18511   # Give a soname corresponding to the major version so that dld.sl refuses to
   18512   # link against other versions.
   18513   version_type=sunos
   18514   need_lib_prefix=no
   18515   need_version=no
   18516   case $host_cpu in
   18517   ia64*)
   18518     shrext_cmds='.so'
   18519     hardcode_into_libs=yes
   18520     dynamic_linker="$host_os dld.so"
   18521     shlibpath_var=LD_LIBRARY_PATH
   18522     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18523     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18524     soname_spec='$libname$release$shared_ext$major'
   18525     if test 32 = "$HPUX_IA64_MODE"; then
   18526       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18527       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18528     else
   18529       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18530       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18531     fi
   18532     ;;
   18533   hppa*64*)
   18534     shrext_cmds='.sl'
   18535     hardcode_into_libs=yes
   18536     dynamic_linker="$host_os dld.sl"
   18537     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18538     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18539     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18540     soname_spec='$libname$release$shared_ext$major'
   18541     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18542     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18543     ;;
   18544   *)
   18545     shrext_cmds='.sl'
   18546     dynamic_linker="$host_os dld.sl"
   18547     shlibpath_var=SHLIB_PATH
   18548     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18549     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18550     soname_spec='$libname$release$shared_ext$major'
   18551     ;;
   18552   esac
   18553   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18554   postinstall_cmds='chmod 555 $lib'
   18555   # or fails outright, so override atomically:
   18556   install_override_mode=555
   18557   ;;
   18558 
   18559 interix[3-9]*)
   18560   version_type=linux # correct to gnu/linux during the next big refactor
   18561   need_lib_prefix=no
   18562   need_version=no
   18563   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18564   soname_spec='$libname$release$shared_ext$major'
   18565   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18566   shlibpath_var=LD_LIBRARY_PATH
   18567   shlibpath_overrides_runpath=no
   18568   hardcode_into_libs=yes
   18569   ;;
   18570 
   18571 irix5* | irix6* | nonstopux*)
   18572   case $host_os in
   18573     nonstopux*) version_type=nonstopux ;;
   18574     *)
   18575 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18576 		version_type=linux # correct to gnu/linux during the next big refactor
   18577 	else
   18578 		version_type=irix
   18579 	fi ;;
   18580   esac
   18581   need_lib_prefix=no
   18582   need_version=no
   18583   soname_spec='$libname$release$shared_ext$major'
   18584   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18585   case $host_os in
   18586   irix5* | nonstopux*)
   18587     libsuff= shlibsuff=
   18588     ;;
   18589   *)
   18590     case $LD in # libtool.m4 will add one of these switches to LD
   18591     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18592       libsuff= shlibsuff= libmagic=32-bit;;
   18593     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18594       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18595     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18596       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18597     *) libsuff= shlibsuff= libmagic=never-match;;
   18598     esac
   18599     ;;
   18600   esac
   18601   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18602   shlibpath_overrides_runpath=no
   18603   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18604   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18605   hardcode_into_libs=yes
   18606   ;;
   18607 
   18608 # No shared lib support for Linux oldld, aout, or coff.
   18609 linux*oldld* | linux*aout* | linux*coff*)
   18610   dynamic_linker=no
   18611   ;;
   18612 
   18613 linux*android*)
   18614   version_type=none # Android doesn't support versioned libraries.
   18615   need_lib_prefix=no
   18616   need_version=no
   18617   library_names_spec='$libname$release$shared_ext'
   18618   soname_spec='$libname$release$shared_ext'
   18619   finish_cmds=
   18620   shlibpath_var=LD_LIBRARY_PATH
   18621   shlibpath_overrides_runpath=yes
   18622 
   18623   # This implies no fast_install, which is unacceptable.
   18624   # Some rework will be needed to allow for fast_install
   18625   # before this can be enabled.
   18626   hardcode_into_libs=yes
   18627 
   18628   dynamic_linker='Android linker'
   18629   # Don't embed -rpath directories since the linker doesn't support them.
   18630   hardcode_libdir_flag_spec='-L$libdir'
   18631   ;;
   18632 
   18633 # This must be glibc/ELF.
   18634 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18635   version_type=linux # correct to gnu/linux during the next big refactor
   18636   need_lib_prefix=no
   18637   need_version=no
   18638   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18639   soname_spec='$libname$release$shared_ext$major'
   18640   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18641   shlibpath_var=LD_LIBRARY_PATH
   18642   shlibpath_overrides_runpath=no
   18643 
   18644   # Some binutils ld are patched to set DT_RUNPATH
   18645   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18646 then :
   18647   printf %s "(cached) " >&6
   18648 else $as_nop
   18649   lt_cv_shlibpath_overrides_runpath=no
   18650     save_LDFLAGS=$LDFLAGS
   18651     save_libdir=$libdir
   18652     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18653 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18654     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18655 /* end confdefs.h.  */
   18656 
   18657 int
   18658 main (void)
   18659 {
   18660 
   18661   ;
   18662   return 0;
   18663 }
   18664 _ACEOF
   18665 if ac_fn_c_try_link "$LINENO"
   18666 then :
   18667   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18668 then :
   18669   lt_cv_shlibpath_overrides_runpath=yes
   18670 fi
   18671 fi
   18672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18673     conftest$ac_exeext conftest.$ac_ext
   18674     LDFLAGS=$save_LDFLAGS
   18675     libdir=$save_libdir
   18676 
   18677 fi
   18678 
   18679   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18680 
   18681   # This implies no fast_install, which is unacceptable.
   18682   # Some rework will be needed to allow for fast_install
   18683   # before this can be enabled.
   18684   hardcode_into_libs=yes
   18685 
   18686   # Ideally, we could use ldconfig to report *all* directores which are
   18687   # searched for libraries, however this is still not possible.  Aside from not
   18688   # being certain /sbin/ldconfig is available, command
   18689   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18690   # even though it is searched at run-time.  Try to do the best guess by
   18691   # appending ld.so.conf contents (and includes) to the search path.
   18692   if test -f /etc/ld.so.conf; then
   18693     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' ' '`
   18694     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18695   fi
   18696 
   18697   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18698   # powerpc, because MkLinux only supported shared libraries with the
   18699   # GNU dynamic linker.  Since this was broken with cross compilers,
   18700   # most powerpc-linux boxes support dynamic linking these days and
   18701   # people can always --disable-shared, the test was removed, and we
   18702   # assume the GNU/Linux dynamic linker is in use.
   18703   dynamic_linker='GNU/Linux ld.so'
   18704   ;;
   18705 
   18706 netbsdelf*-gnu)
   18707   version_type=linux
   18708   need_lib_prefix=no
   18709   need_version=no
   18710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18711   soname_spec='${libname}${release}${shared_ext}$major'
   18712   shlibpath_var=LD_LIBRARY_PATH
   18713   shlibpath_overrides_runpath=no
   18714   hardcode_into_libs=yes
   18715   dynamic_linker='NetBSD ld.elf_so'
   18716   ;;
   18717 
   18718 netbsd*)
   18719   version_type=sunos
   18720   need_lib_prefix=no
   18721   need_version=no
   18722   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18723     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18724     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18725     dynamic_linker='NetBSD (a.out) ld.so'
   18726   else
   18727     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18728     soname_spec='$libname$release$shared_ext$major'
   18729     dynamic_linker='NetBSD ld.elf_so'
   18730   fi
   18731   shlibpath_var=LD_LIBRARY_PATH
   18732   shlibpath_overrides_runpath=yes
   18733   hardcode_into_libs=yes
   18734   ;;
   18735 
   18736 newsos6)
   18737   version_type=linux # correct to gnu/linux during the next big refactor
   18738   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18739   shlibpath_var=LD_LIBRARY_PATH
   18740   shlibpath_overrides_runpath=yes
   18741   ;;
   18742 
   18743 *nto* | *qnx*)
   18744   version_type=qnx
   18745   need_lib_prefix=no
   18746   need_version=no
   18747   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18748   soname_spec='$libname$release$shared_ext$major'
   18749   shlibpath_var=LD_LIBRARY_PATH
   18750   shlibpath_overrides_runpath=no
   18751   hardcode_into_libs=yes
   18752   dynamic_linker='ldqnx.so'
   18753   ;;
   18754 
   18755 openbsd* | bitrig*)
   18756   version_type=sunos
   18757   sys_lib_dlsearch_path_spec=/usr/lib
   18758   need_lib_prefix=no
   18759   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18760     need_version=no
   18761   else
   18762     need_version=yes
   18763   fi
   18764   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18765   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18766   shlibpath_var=LD_LIBRARY_PATH
   18767   shlibpath_overrides_runpath=yes
   18768   ;;
   18769 
   18770 os2*)
   18771   libname_spec='$name'
   18772   version_type=windows
   18773   shrext_cmds=.dll
   18774   need_version=no
   18775   need_lib_prefix=no
   18776   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18777   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18778     v=$($ECHO $release$versuffix | tr -d .-);
   18779     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18780     $ECHO $n$v`$shared_ext'
   18781   library_names_spec='${libname}_dll.$libext'
   18782   dynamic_linker='OS/2 ld.exe'
   18783   shlibpath_var=BEGINLIBPATH
   18784   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18785   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18786   postinstall_cmds='base_file=`basename \$file`~
   18787     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18788     dldir=$destdir/`dirname \$dlpath`~
   18789     test -d \$dldir || mkdir -p \$dldir~
   18790     $install_prog $dir/$dlname \$dldir/$dlname~
   18791     chmod a+x \$dldir/$dlname~
   18792     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18793       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18794     fi'
   18795   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18796     dlpath=$dir/\$dldll~
   18797     $RM \$dlpath'
   18798   ;;
   18799 
   18800 osf3* | osf4* | osf5*)
   18801   version_type=osf
   18802   need_lib_prefix=no
   18803   need_version=no
   18804   soname_spec='$libname$release$shared_ext$major'
   18805   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18806   shlibpath_var=LD_LIBRARY_PATH
   18807   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18808   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18809   ;;
   18810 
   18811 rdos*)
   18812   dynamic_linker=no
   18813   ;;
   18814 
   18815 solaris*)
   18816   version_type=linux # correct to gnu/linux during the next big refactor
   18817   need_lib_prefix=no
   18818   need_version=no
   18819   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18820   soname_spec='$libname$release$shared_ext$major'
   18821   shlibpath_var=LD_LIBRARY_PATH
   18822   shlibpath_overrides_runpath=yes
   18823   hardcode_into_libs=yes
   18824   # ldd complains unless libraries are executable
   18825   postinstall_cmds='chmod +x $lib'
   18826   ;;
   18827 
   18828 sunos4*)
   18829   version_type=sunos
   18830   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18831   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18832   shlibpath_var=LD_LIBRARY_PATH
   18833   shlibpath_overrides_runpath=yes
   18834   if test yes = "$with_gnu_ld"; then
   18835     need_lib_prefix=no
   18836   fi
   18837   need_version=yes
   18838   ;;
   18839 
   18840 sysv4 | sysv4.3*)
   18841   version_type=linux # correct to gnu/linux during the next big refactor
   18842   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18843   soname_spec='$libname$release$shared_ext$major'
   18844   shlibpath_var=LD_LIBRARY_PATH
   18845   case $host_vendor in
   18846     sni)
   18847       shlibpath_overrides_runpath=no
   18848       need_lib_prefix=no
   18849       runpath_var=LD_RUN_PATH
   18850       ;;
   18851     siemens)
   18852       need_lib_prefix=no
   18853       ;;
   18854     motorola)
   18855       need_lib_prefix=no
   18856       need_version=no
   18857       shlibpath_overrides_runpath=no
   18858       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18859       ;;
   18860   esac
   18861   ;;
   18862 
   18863 sysv4*MP*)
   18864   if test -d /usr/nec; then
   18865     version_type=linux # correct to gnu/linux during the next big refactor
   18866     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18867     soname_spec='$libname$shared_ext.$major'
   18868     shlibpath_var=LD_LIBRARY_PATH
   18869   fi
   18870   ;;
   18871 
   18872 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18873   version_type=sco
   18874   need_lib_prefix=no
   18875   need_version=no
   18876   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18877   soname_spec='$libname$release$shared_ext$major'
   18878   shlibpath_var=LD_LIBRARY_PATH
   18879   shlibpath_overrides_runpath=yes
   18880   hardcode_into_libs=yes
   18881   if test yes = "$with_gnu_ld"; then
   18882     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18883   else
   18884     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18885     case $host_os in
   18886       sco3.2v5*)
   18887         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18888 	;;
   18889     esac
   18890   fi
   18891   sys_lib_dlsearch_path_spec='/usr/lib'
   18892   ;;
   18893 
   18894 tpf*)
   18895   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18896   version_type=linux # correct to gnu/linux during the next big refactor
   18897   need_lib_prefix=no
   18898   need_version=no
   18899   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18900   shlibpath_var=LD_LIBRARY_PATH
   18901   shlibpath_overrides_runpath=no
   18902   hardcode_into_libs=yes
   18903   ;;
   18904 
   18905 uts4*)
   18906   version_type=linux # correct to gnu/linux during the next big refactor
   18907   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18908   soname_spec='$libname$release$shared_ext$major'
   18909   shlibpath_var=LD_LIBRARY_PATH
   18910   ;;
   18911 
   18912 *)
   18913   dynamic_linker=no
   18914   ;;
   18915 esac
   18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18917 printf "%s\n" "$dynamic_linker" >&6; }
   18918 test no = "$dynamic_linker" && can_build_shared=no
   18919 
   18920 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18921 if test yes = "$GCC"; then
   18922   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18923 fi
   18924 
   18925 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18926   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18927 fi
   18928 
   18929 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18930   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18931 fi
   18932 
   18933 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18934 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18935 
   18936 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18937 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18938 
   18939 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18940 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 
   18954 
   18955 
   18956 
   18957 
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 
   18971 
   18972 
   18973 
   18974 
   18975 
   18976 
   18977 
   18978 
   18979 
   18980 
   18981 
   18982 
   18983 
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 
   18999 
   19000 
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 
   19017 
   19018 
   19019 
   19020 
   19021 
   19022 
   19023 
   19024 
   19025 
   19026 
   19027 
   19028 
   19029 
   19030 
   19031 
   19032 
   19033 
   19034 
   19035 
   19036 
   19037 
   19038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   19039 printf %s "checking how to hardcode library paths into programs... " >&6; }
   19040 hardcode_action=
   19041 if test -n "$hardcode_libdir_flag_spec" ||
   19042    test -n "$runpath_var" ||
   19043    test yes = "$hardcode_automatic"; then
   19044 
   19045   # We can hardcode non-existent directories.
   19046   if test no != "$hardcode_direct" &&
   19047      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19048      # have to relink, otherwise we might link with an installed library
   19049      # when we should be linking with a yet-to-be-installed one
   19050      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   19051      test no != "$hardcode_minus_L"; then
   19052     # Linking always hardcodes the temporary library directory.
   19053     hardcode_action=relink
   19054   else
   19055     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19056     hardcode_action=immediate
   19057   fi
   19058 else
   19059   # We cannot hardcode anything, or else we can only hardcode existing
   19060   # directories.
   19061   hardcode_action=unsupported
   19062 fi
   19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   19064 printf "%s\n" "$hardcode_action" >&6; }
   19065 
   19066 if test relink = "$hardcode_action" ||
   19067    test yes = "$inherit_rpath"; then
   19068   # Fast installation is not supported
   19069   enable_fast_install=no
   19070 elif test yes = "$shlibpath_overrides_runpath" ||
   19071      test no = "$enable_shared"; then
   19072   # Fast installation is not necessary
   19073   enable_fast_install=needless
   19074 fi
   19075 
   19076 
   19077 
   19078 
   19079 
   19080 
   19081   if test yes != "$enable_dlopen"; then
   19082   enable_dlopen=unknown
   19083   enable_dlopen_self=unknown
   19084   enable_dlopen_self_static=unknown
   19085 else
   19086   lt_cv_dlopen=no
   19087   lt_cv_dlopen_libs=
   19088 
   19089   case $host_os in
   19090   beos*)
   19091     lt_cv_dlopen=load_add_on
   19092     lt_cv_dlopen_libs=
   19093     lt_cv_dlopen_self=yes
   19094     ;;
   19095 
   19096   mingw* | pw32* | cegcc*)
   19097     lt_cv_dlopen=LoadLibrary
   19098     lt_cv_dlopen_libs=
   19099     ;;
   19100 
   19101   cygwin*)
   19102     lt_cv_dlopen=dlopen
   19103     lt_cv_dlopen_libs=
   19104     ;;
   19105 
   19106   darwin*)
   19107     # if libdl is installed we need to link against it
   19108     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19109 printf %s "checking for dlopen in -ldl... " >&6; }
   19110 if test ${ac_cv_lib_dl_dlopen+y}
   19111 then :
   19112   printf %s "(cached) " >&6
   19113 else $as_nop
   19114   ac_check_lib_save_LIBS=$LIBS
   19115 LIBS="-ldl  $LIBS"
   19116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19117 /* end confdefs.h.  */
   19118 
   19119 /* Override any GCC internal prototype to avoid an error.
   19120    Use char because int might match the return type of a GCC
   19121    builtin and then its argument prototype would still apply.  */
   19122 char dlopen ();
   19123 int
   19124 main (void)
   19125 {
   19126 return dlopen ();
   19127   ;
   19128   return 0;
   19129 }
   19130 _ACEOF
   19131 if ac_fn_c_try_link "$LINENO"
   19132 then :
   19133   ac_cv_lib_dl_dlopen=yes
   19134 else $as_nop
   19135   ac_cv_lib_dl_dlopen=no
   19136 fi
   19137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19138     conftest$ac_exeext conftest.$ac_ext
   19139 LIBS=$ac_check_lib_save_LIBS
   19140 fi
   19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19142 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19143 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19144 then :
   19145   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19146 else $as_nop
   19147 
   19148     lt_cv_dlopen=dyld
   19149     lt_cv_dlopen_libs=
   19150     lt_cv_dlopen_self=yes
   19151 
   19152 fi
   19153 
   19154     ;;
   19155 
   19156   tpf*)
   19157     # Don't try to run any link tests for TPF.  We know it's impossible
   19158     # because TPF is a cross-compiler, and we know how we open DSOs.
   19159     lt_cv_dlopen=dlopen
   19160     lt_cv_dlopen_libs=
   19161     lt_cv_dlopen_self=no
   19162     ;;
   19163 
   19164   *)
   19165     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   19166 if test "x$ac_cv_func_shl_load" = xyes
   19167 then :
   19168   lt_cv_dlopen=shl_load
   19169 else $as_nop
   19170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   19171 printf %s "checking for shl_load in -ldld... " >&6; }
   19172 if test ${ac_cv_lib_dld_shl_load+y}
   19173 then :
   19174   printf %s "(cached) " >&6
   19175 else $as_nop
   19176   ac_check_lib_save_LIBS=$LIBS
   19177 LIBS="-ldld  $LIBS"
   19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19179 /* end confdefs.h.  */
   19180 
   19181 /* Override any GCC internal prototype to avoid an error.
   19182    Use char because int might match the return type of a GCC
   19183    builtin and then its argument prototype would still apply.  */
   19184 char shl_load ();
   19185 int
   19186 main (void)
   19187 {
   19188 return shl_load ();
   19189   ;
   19190   return 0;
   19191 }
   19192 _ACEOF
   19193 if ac_fn_c_try_link "$LINENO"
   19194 then :
   19195   ac_cv_lib_dld_shl_load=yes
   19196 else $as_nop
   19197   ac_cv_lib_dld_shl_load=no
   19198 fi
   19199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19200     conftest$ac_exeext conftest.$ac_ext
   19201 LIBS=$ac_check_lib_save_LIBS
   19202 fi
   19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   19204 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19205 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19206 then :
   19207   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19208 else $as_nop
   19209   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19210 if test "x$ac_cv_func_dlopen" = xyes
   19211 then :
   19212   lt_cv_dlopen=dlopen
   19213 else $as_nop
   19214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19215 printf %s "checking for dlopen in -ldl... " >&6; }
   19216 if test ${ac_cv_lib_dl_dlopen+y}
   19217 then :
   19218   printf %s "(cached) " >&6
   19219 else $as_nop
   19220   ac_check_lib_save_LIBS=$LIBS
   19221 LIBS="-ldl  $LIBS"
   19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19223 /* end confdefs.h.  */
   19224 
   19225 /* Override any GCC internal prototype to avoid an error.
   19226    Use char because int might match the return type of a GCC
   19227    builtin and then its argument prototype would still apply.  */
   19228 char dlopen ();
   19229 int
   19230 main (void)
   19231 {
   19232 return dlopen ();
   19233   ;
   19234   return 0;
   19235 }
   19236 _ACEOF
   19237 if ac_fn_c_try_link "$LINENO"
   19238 then :
   19239   ac_cv_lib_dl_dlopen=yes
   19240 else $as_nop
   19241   ac_cv_lib_dl_dlopen=no
   19242 fi
   19243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19244     conftest$ac_exeext conftest.$ac_ext
   19245 LIBS=$ac_check_lib_save_LIBS
   19246 fi
   19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19248 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19249 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19250 then :
   19251   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19252 else $as_nop
   19253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19254 printf %s "checking for dlopen in -lsvld... " >&6; }
   19255 if test ${ac_cv_lib_svld_dlopen+y}
   19256 then :
   19257   printf %s "(cached) " >&6
   19258 else $as_nop
   19259   ac_check_lib_save_LIBS=$LIBS
   19260 LIBS="-lsvld  $LIBS"
   19261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19262 /* end confdefs.h.  */
   19263 
   19264 /* Override any GCC internal prototype to avoid an error.
   19265    Use char because int might match the return type of a GCC
   19266    builtin and then its argument prototype would still apply.  */
   19267 char dlopen ();
   19268 int
   19269 main (void)
   19270 {
   19271 return dlopen ();
   19272   ;
   19273   return 0;
   19274 }
   19275 _ACEOF
   19276 if ac_fn_c_try_link "$LINENO"
   19277 then :
   19278   ac_cv_lib_svld_dlopen=yes
   19279 else $as_nop
   19280   ac_cv_lib_svld_dlopen=no
   19281 fi
   19282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19283     conftest$ac_exeext conftest.$ac_ext
   19284 LIBS=$ac_check_lib_save_LIBS
   19285 fi
   19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19287 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19288 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19289 then :
   19290   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19291 else $as_nop
   19292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19293 printf %s "checking for dld_link in -ldld... " >&6; }
   19294 if test ${ac_cv_lib_dld_dld_link+y}
   19295 then :
   19296   printf %s "(cached) " >&6
   19297 else $as_nop
   19298   ac_check_lib_save_LIBS=$LIBS
   19299 LIBS="-ldld  $LIBS"
   19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19301 /* end confdefs.h.  */
   19302 
   19303 /* Override any GCC internal prototype to avoid an error.
   19304    Use char because int might match the return type of a GCC
   19305    builtin and then its argument prototype would still apply.  */
   19306 char dld_link ();
   19307 int
   19308 main (void)
   19309 {
   19310 return dld_link ();
   19311   ;
   19312   return 0;
   19313 }
   19314 _ACEOF
   19315 if ac_fn_c_try_link "$LINENO"
   19316 then :
   19317   ac_cv_lib_dld_dld_link=yes
   19318 else $as_nop
   19319   ac_cv_lib_dld_dld_link=no
   19320 fi
   19321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19322     conftest$ac_exeext conftest.$ac_ext
   19323 LIBS=$ac_check_lib_save_LIBS
   19324 fi
   19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19326 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19327 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19328 then :
   19329   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19330 fi
   19331 
   19332 
   19333 fi
   19334 
   19335 
   19336 fi
   19337 
   19338 
   19339 fi
   19340 
   19341 
   19342 fi
   19343 
   19344 
   19345 fi
   19346 
   19347     ;;
   19348   esac
   19349 
   19350   if test no = "$lt_cv_dlopen"; then
   19351     enable_dlopen=no
   19352   else
   19353     enable_dlopen=yes
   19354   fi
   19355 
   19356   case $lt_cv_dlopen in
   19357   dlopen)
   19358     save_CPPFLAGS=$CPPFLAGS
   19359     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19360 
   19361     save_LDFLAGS=$LDFLAGS
   19362     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19363 
   19364     save_LIBS=$LIBS
   19365     LIBS="$lt_cv_dlopen_libs $LIBS"
   19366 
   19367     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19368 printf %s "checking whether a program can dlopen itself... " >&6; }
   19369 if test ${lt_cv_dlopen_self+y}
   19370 then :
   19371   printf %s "(cached) " >&6
   19372 else $as_nop
   19373   	  if test yes = "$cross_compiling"; then :
   19374   lt_cv_dlopen_self=cross
   19375 else
   19376   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19377   lt_status=$lt_dlunknown
   19378   cat > conftest.$ac_ext <<_LT_EOF
   19379 #line $LINENO "configure"
   19380 #include "confdefs.h"
   19381 
   19382 #if HAVE_DLFCN_H
   19383 #include <dlfcn.h>
   19384 #endif
   19385 
   19386 #include <stdio.h>
   19387 
   19388 #ifdef RTLD_GLOBAL
   19389 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19390 #else
   19391 #  ifdef DL_GLOBAL
   19392 #    define LT_DLGLOBAL		DL_GLOBAL
   19393 #  else
   19394 #    define LT_DLGLOBAL		0
   19395 #  endif
   19396 #endif
   19397 
   19398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19399    find out it does not work in some platform. */
   19400 #ifndef LT_DLLAZY_OR_NOW
   19401 #  ifdef RTLD_LAZY
   19402 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19403 #  else
   19404 #    ifdef DL_LAZY
   19405 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19406 #    else
   19407 #      ifdef RTLD_NOW
   19408 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19409 #      else
   19410 #        ifdef DL_NOW
   19411 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19412 #        else
   19413 #          define LT_DLLAZY_OR_NOW	0
   19414 #        endif
   19415 #      endif
   19416 #    endif
   19417 #  endif
   19418 #endif
   19419 
   19420 /* When -fvisibility=hidden is used, assume the code has been annotated
   19421    correspondingly for the symbols needed.  */
   19422 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19423 int fnord () __attribute__((visibility("default")));
   19424 #endif
   19425 
   19426 int fnord () { return 42; }
   19427 int main ()
   19428 {
   19429   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19430   int status = $lt_dlunknown;
   19431 
   19432   if (self)
   19433     {
   19434       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19435       else
   19436         {
   19437 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19438           else puts (dlerror ());
   19439 	}
   19440       /* dlclose (self); */
   19441     }
   19442   else
   19443     puts (dlerror ());
   19444 
   19445   return status;
   19446 }
   19447 _LT_EOF
   19448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19449   (eval $ac_link) 2>&5
   19450   ac_status=$?
   19451   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19452   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19453     (./conftest; exit; ) >&5 2>/dev/null
   19454     lt_status=$?
   19455     case x$lt_status in
   19456       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19457       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19458       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19459     esac
   19460   else :
   19461     # compilation failed
   19462     lt_cv_dlopen_self=no
   19463   fi
   19464 fi
   19465 rm -fr conftest*
   19466 
   19467 
   19468 fi
   19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19470 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19471 
   19472     if test yes = "$lt_cv_dlopen_self"; then
   19473       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19474       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19475 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19476 if test ${lt_cv_dlopen_self_static+y}
   19477 then :
   19478   printf %s "(cached) " >&6
   19479 else $as_nop
   19480   	  if test yes = "$cross_compiling"; then :
   19481   lt_cv_dlopen_self_static=cross
   19482 else
   19483   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19484   lt_status=$lt_dlunknown
   19485   cat > conftest.$ac_ext <<_LT_EOF
   19486 #line $LINENO "configure"
   19487 #include "confdefs.h"
   19488 
   19489 #if HAVE_DLFCN_H
   19490 #include <dlfcn.h>
   19491 #endif
   19492 
   19493 #include <stdio.h>
   19494 
   19495 #ifdef RTLD_GLOBAL
   19496 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19497 #else
   19498 #  ifdef DL_GLOBAL
   19499 #    define LT_DLGLOBAL		DL_GLOBAL
   19500 #  else
   19501 #    define LT_DLGLOBAL		0
   19502 #  endif
   19503 #endif
   19504 
   19505 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19506    find out it does not work in some platform. */
   19507 #ifndef LT_DLLAZY_OR_NOW
   19508 #  ifdef RTLD_LAZY
   19509 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19510 #  else
   19511 #    ifdef DL_LAZY
   19512 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19513 #    else
   19514 #      ifdef RTLD_NOW
   19515 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19516 #      else
   19517 #        ifdef DL_NOW
   19518 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19519 #        else
   19520 #          define LT_DLLAZY_OR_NOW	0
   19521 #        endif
   19522 #      endif
   19523 #    endif
   19524 #  endif
   19525 #endif
   19526 
   19527 /* When -fvisibility=hidden is used, assume the code has been annotated
   19528    correspondingly for the symbols needed.  */
   19529 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19530 int fnord () __attribute__((visibility("default")));
   19531 #endif
   19532 
   19533 int fnord () { return 42; }
   19534 int main ()
   19535 {
   19536   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19537   int status = $lt_dlunknown;
   19538 
   19539   if (self)
   19540     {
   19541       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19542       else
   19543         {
   19544 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19545           else puts (dlerror ());
   19546 	}
   19547       /* dlclose (self); */
   19548     }
   19549   else
   19550     puts (dlerror ());
   19551 
   19552   return status;
   19553 }
   19554 _LT_EOF
   19555   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19556   (eval $ac_link) 2>&5
   19557   ac_status=$?
   19558   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19559   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19560     (./conftest; exit; ) >&5 2>/dev/null
   19561     lt_status=$?
   19562     case x$lt_status in
   19563       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19564       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19565       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19566     esac
   19567   else :
   19568     # compilation failed
   19569     lt_cv_dlopen_self_static=no
   19570   fi
   19571 fi
   19572 rm -fr conftest*
   19573 
   19574 
   19575 fi
   19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19577 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19578     fi
   19579 
   19580     CPPFLAGS=$save_CPPFLAGS
   19581     LDFLAGS=$save_LDFLAGS
   19582     LIBS=$save_LIBS
   19583     ;;
   19584   esac
   19585 
   19586   case $lt_cv_dlopen_self in
   19587   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19588   *) enable_dlopen_self=unknown ;;
   19589   esac
   19590 
   19591   case $lt_cv_dlopen_self_static in
   19592   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19593   *) enable_dlopen_self_static=unknown ;;
   19594   esac
   19595 fi
   19596 
   19597 
   19598 
   19599 
   19600 
   19601 
   19602 
   19603 
   19604 
   19605 
   19606 
   19607 
   19608 
   19609 
   19610 
   19611 
   19612 
   19613 striplib=
   19614 old_striplib=
   19615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19616 printf %s "checking whether stripping libraries is possible... " >&6; }
   19617 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19618   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   19619   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   19620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19621 printf "%s\n" "yes" >&6; }
   19622 else
   19623 # FIXME - insert some real tests, host_os isn't really good enough
   19624   case $host_os in
   19625   darwin*)
   19626     if test -n "$STRIP"; then
   19627       striplib="$STRIP -x"
   19628       old_striplib="$STRIP -S"
   19629       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19630 printf "%s\n" "yes" >&6; }
   19631     else
   19632       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19633 printf "%s\n" "no" >&6; }
   19634     fi
   19635     ;;
   19636   *)
   19637     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19638 printf "%s\n" "no" >&6; }
   19639     ;;
   19640   esac
   19641 fi
   19642 
   19643 
   19644 
   19645 
   19646 
   19647 
   19648 
   19649 
   19650 
   19651 
   19652 
   19653 
   19654   # Report what library types will actually be built
   19655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19656 printf %s "checking if libtool supports shared libraries... " >&6; }
   19657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19658 printf "%s\n" "$can_build_shared" >&6; }
   19659 
   19660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19661 printf %s "checking whether to build shared libraries... " >&6; }
   19662   test no = "$can_build_shared" && enable_shared=no
   19663 
   19664   # On AIX, shared libraries and static libraries use the same namespace, and
   19665   # are all built from PIC.
   19666   case $host_os in
   19667   aix3*)
   19668     test yes = "$enable_shared" && enable_static=no
   19669     if test -n "$RANLIB"; then
   19670       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19671       postinstall_cmds='$RANLIB $lib'
   19672     fi
   19673     ;;
   19674 
   19675   aix[4-9]*)
   19676     if test ia64 != "$host_cpu"; then
   19677       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19678       yes,aix,yes) ;;			# shared object as lib.so file only
   19679       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19680       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19681       esac
   19682     fi
   19683     ;;
   19684   esac
   19685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19686 printf "%s\n" "$enable_shared" >&6; }
   19687 
   19688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19689 printf %s "checking whether to build static libraries... " >&6; }
   19690   # Make sure either enable_shared or enable_static is yes.
   19691   test yes = "$enable_shared" || enable_static=yes
   19692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19693 printf "%s\n" "$enable_static" >&6; }
   19694 
   19695 
   19696 
   19697 
   19698 fi
   19699 ac_ext=c
   19700 ac_cpp='$CPP $CPPFLAGS'
   19701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19704 
   19705 CC=$lt_save_CC
   19706 
   19707       if test -n "$CXX" && ( test no != "$CXX" &&
   19708     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   19709     (test g++ != "$CXX"))); then
   19710   ac_ext=cpp
   19711 ac_cpp='$CXXCPP $CPPFLAGS'
   19712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   19716 printf %s "checking how to run the C++ preprocessor... " >&6; }
   19717 if test -z "$CXXCPP"; then
   19718   if test ${ac_cv_prog_CXXCPP+y}
   19719 then :
   19720   printf %s "(cached) " >&6
   19721 else $as_nop
   19722       # Double quotes because $CXX needs to be expanded
   19723     for CXXCPP in "$CXX -E" cpp /lib/cpp
   19724     do
   19725       ac_preproc_ok=false
   19726 for ac_cxx_preproc_warn_flag in '' yes
   19727 do
   19728   # Use a header file that comes with gcc, so configuring glibc
   19729   # with a fresh cross-compiler works.
   19730   # On the NeXT, cc -E runs the code through the compiler's parser,
   19731   # not just through cpp. "Syntax error" is here to catch this case.
   19732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19733 /* end confdefs.h.  */
   19734 #include <limits.h>
   19735 		     Syntax error
   19736 _ACEOF
   19737 if ac_fn_cxx_try_cpp "$LINENO"
   19738 then :
   19739 
   19740 else $as_nop
   19741   # Broken: fails on valid input.
   19742 continue
   19743 fi
   19744 rm -f conftest.err conftest.i conftest.$ac_ext
   19745 
   19746   # OK, works on sane cases.  Now check whether nonexistent headers
   19747   # can be detected and how.
   19748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19749 /* end confdefs.h.  */
   19750 #include <ac_nonexistent.h>
   19751 _ACEOF
   19752 if ac_fn_cxx_try_cpp "$LINENO"
   19753 then :
   19754   # Broken: success on invalid input.
   19755 continue
   19756 else $as_nop
   19757   # Passes both tests.
   19758 ac_preproc_ok=:
   19759 break
   19760 fi
   19761 rm -f conftest.err conftest.i conftest.$ac_ext
   19762 
   19763 done
   19764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   19765 rm -f conftest.i conftest.err conftest.$ac_ext
   19766 if $ac_preproc_ok
   19767 then :
   19768   break
   19769 fi
   19770 
   19771     done
   19772     ac_cv_prog_CXXCPP=$CXXCPP
   19773 
   19774 fi
   19775   CXXCPP=$ac_cv_prog_CXXCPP
   19776 else
   19777   ac_cv_prog_CXXCPP=$CXXCPP
   19778 fi
   19779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   19780 printf "%s\n" "$CXXCPP" >&6; }
   19781 ac_preproc_ok=false
   19782 for ac_cxx_preproc_warn_flag in '' yes
   19783 do
   19784   # Use a header file that comes with gcc, so configuring glibc
   19785   # with a fresh cross-compiler works.
   19786   # On the NeXT, cc -E runs the code through the compiler's parser,
   19787   # not just through cpp. "Syntax error" is here to catch this case.
   19788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19789 /* end confdefs.h.  */
   19790 #include <limits.h>
   19791 		     Syntax error
   19792 _ACEOF
   19793 if ac_fn_cxx_try_cpp "$LINENO"
   19794 then :
   19795 
   19796 else $as_nop
   19797   # Broken: fails on valid input.
   19798 continue
   19799 fi
   19800 rm -f conftest.err conftest.i conftest.$ac_ext
   19801 
   19802   # OK, works on sane cases.  Now check whether nonexistent headers
   19803   # can be detected and how.
   19804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19805 /* end confdefs.h.  */
   19806 #include <ac_nonexistent.h>
   19807 _ACEOF
   19808 if ac_fn_cxx_try_cpp "$LINENO"
   19809 then :
   19810   # Broken: success on invalid input.
   19811 continue
   19812 else $as_nop
   19813   # Passes both tests.
   19814 ac_preproc_ok=:
   19815 break
   19816 fi
   19817 rm -f conftest.err conftest.i conftest.$ac_ext
   19818 
   19819 done
   19820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   19821 rm -f conftest.i conftest.err conftest.$ac_ext
   19822 if $ac_preproc_ok
   19823 then :
   19824 
   19825 else $as_nop
   19826   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19827 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19828 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   19829 See \`config.log' for more details" "$LINENO" 5; }
   19830 fi
   19831 
   19832 ac_ext=c
   19833 ac_cpp='$CPP $CPPFLAGS'
   19834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19837 
   19838 else
   19839   _lt_caught_CXX_error=yes
   19840 fi
   19841 
   19842 ac_ext=cpp
   19843 ac_cpp='$CXXCPP $CPPFLAGS'
   19844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19847 
   19848 archive_cmds_need_lc_CXX=no
   19849 allow_undefined_flag_CXX=
   19850 always_export_symbols_CXX=no
   19851 archive_expsym_cmds_CXX=
   19852 compiler_needs_object_CXX=no
   19853 export_dynamic_flag_spec_CXX=
   19854 hardcode_direct_CXX=no
   19855 hardcode_direct_absolute_CXX=no
   19856 hardcode_libdir_flag_spec_CXX=
   19857 hardcode_libdir_separator_CXX=
   19858 hardcode_minus_L_CXX=no
   19859 hardcode_shlibpath_var_CXX=unsupported
   19860 hardcode_automatic_CXX=no
   19861 inherit_rpath_CXX=no
   19862 module_cmds_CXX=
   19863 module_expsym_cmds_CXX=
   19864 link_all_deplibs_CXX=unknown
   19865 old_archive_cmds_CXX=$old_archive_cmds
   19866 reload_flag_CXX=$reload_flag
   19867 reload_cmds_CXX=$reload_cmds
   19868 no_undefined_flag_CXX=
   19869 whole_archive_flag_spec_CXX=
   19870 enable_shared_with_static_runtimes_CXX=no
   19871 
   19872 # Source file extension for C++ test sources.
   19873 ac_ext=cpp
   19874 
   19875 # Object file extension for compiled C++ test sources.
   19876 objext=o
   19877 objext_CXX=$objext
   19878 
   19879 # No sense in running all these tests if we already determined that
   19880 # the CXX compiler isn't working.  Some variables (like enable_shared)
   19881 # are currently assumed to apply to all compilers on this platform,
   19882 # and will be corrupted by setting them based on a non-working compiler.
   19883 if test yes != "$_lt_caught_CXX_error"; then
   19884   # Code to be used in simple compile tests
   19885   lt_simple_compile_test_code="int some_variable = 0;"
   19886 
   19887   # Code to be used in simple link tests
   19888   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   19889 
   19890   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19891 
   19892 
   19893 
   19894 
   19895 
   19896 
   19897 # If no C compiler was specified, use CC.
   19898 LTCC=${LTCC-"$CC"}
   19899 
   19900 # If no C compiler flags were specified, use CFLAGS.
   19901 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19902 
   19903 # Allow CC to be a program name with arguments.
   19904 compiler=$CC
   19905 
   19906 
   19907   # save warnings/boilerplate of simple test code
   19908   ac_outfile=conftest.$ac_objext
   19909 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19910 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19911 _lt_compiler_boilerplate=`cat conftest.err`
   19912 $RM conftest*
   19913 
   19914   ac_outfile=conftest.$ac_objext
   19915 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19916 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19917 _lt_linker_boilerplate=`cat conftest.err`
   19918 $RM -r conftest*
   19919 
   19920 
   19921   # Allow CC to be a program name with arguments.
   19922   lt_save_CC=$CC
   19923   lt_save_CFLAGS=$CFLAGS
   19924   lt_save_LD=$LD
   19925   lt_save_GCC=$GCC
   19926   GCC=$GXX
   19927   lt_save_with_gnu_ld=$with_gnu_ld
   19928   lt_save_path_LD=$lt_cv_path_LD
   19929   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   19930     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   19931   else
   19932     $as_unset lt_cv_prog_gnu_ld
   19933   fi
   19934   if test -n "${lt_cv_path_LDCXX+set}"; then
   19935     lt_cv_path_LD=$lt_cv_path_LDCXX
   19936   else
   19937     $as_unset lt_cv_path_LD
   19938   fi
   19939   test -z "${LDCXX+set}" || LD=$LDCXX
   19940   CC=${CXX-"c++"}
   19941   CFLAGS=$CXXFLAGS
   19942   compiler=$CC
   19943   compiler_CXX=$CC
   19944   func_cc_basename $compiler
   19945 cc_basename=$func_cc_basename_result
   19946 
   19947 
   19948   if test -n "$compiler"; then
   19949     # We don't want -fno-exception when compiling C++ code, so set the
   19950     # no_builtin_flag separately
   19951     if test yes = "$GXX"; then
   19952       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   19953     else
   19954       lt_prog_compiler_no_builtin_flag_CXX=
   19955     fi
   19956 
   19957     if test yes = "$GXX"; then
   19958       # Set up default GNU C++ configuration
   19959 
   19960 
   19961 
   19962 # Check whether --with-gnu-ld was given.
   19963 if test ${with_gnu_ld+y}
   19964 then :
   19965   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   19966 else $as_nop
   19967   with_gnu_ld=no
   19968 fi
   19969 
   19970 ac_prog=ld
   19971 if test yes = "$GCC"; then
   19972   # Check if gcc -print-prog-name=ld gives a path.
   19973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   19974 printf %s "checking for ld used by $CC... " >&6; }
   19975   case $host in
   19976   *-*-mingw*)
   19977     # gcc leaves a trailing carriage return, which upsets mingw
   19978     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   19979   *)
   19980     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   19981   esac
   19982   case $ac_prog in
   19983     # Accept absolute paths.
   19984     [\\/]* | ?:[\\/]*)
   19985       re_direlt='/[^/][^/]*/\.\./'
   19986       # Canonicalize the pathname of ld
   19987       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   19988       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   19989 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   19990       done
   19991       test -z "$LD" && LD=$ac_prog
   19992       ;;
   19993   "")
   19994     # If it fails, then pretend we aren't using GCC.
   19995     ac_prog=ld
   19996     ;;
   19997   *)
   19998     # If it is relative, then search for the first ld in PATH.
   19999     with_gnu_ld=unknown
   20000     ;;
   20001   esac
   20002 elif test yes = "$with_gnu_ld"; then
   20003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   20004 printf %s "checking for GNU ld... " >&6; }
   20005 else
   20006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   20007 printf %s "checking for non-GNU ld... " >&6; }
   20008 fi
   20009 if test ${lt_cv_path_LD+y}
   20010 then :
   20011   printf %s "(cached) " >&6
   20012 else $as_nop
   20013   if test -z "$LD"; then
   20014   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   20015   for ac_dir in $PATH; do
   20016     IFS=$lt_save_ifs
   20017     test -z "$ac_dir" && ac_dir=.
   20018     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   20019       lt_cv_path_LD=$ac_dir/$ac_prog
   20020       # Check to see if the program is GNU ld.  I'd rather use --version,
   20021       # but apparently some variants of GNU ld only accept -v.
   20022       # Break only if it was the GNU/non-GNU ld that we prefer.
   20023       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   20024       *GNU* | *'with BFD'*)
   20025 	test no != "$with_gnu_ld" && break
   20026 	;;
   20027       *)
   20028 	test yes != "$with_gnu_ld" && break
   20029 	;;
   20030       esac
   20031     fi
   20032   done
   20033   IFS=$lt_save_ifs
   20034 else
   20035   lt_cv_path_LD=$LD # Let the user override the test with a path.
   20036 fi
   20037 fi
   20038 
   20039 LD=$lt_cv_path_LD
   20040 if test -n "$LD"; then
   20041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   20042 printf "%s\n" "$LD" >&6; }
   20043 else
   20044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20045 printf "%s\n" "no" >&6; }
   20046 fi
   20047 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   20048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   20049 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   20050 if test ${lt_cv_prog_gnu_ld+y}
   20051 then :
   20052   printf %s "(cached) " >&6
   20053 else $as_nop
   20054   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   20055 case `$LD -v 2>&1 </dev/null` in
   20056 *GNU* | *'with BFD'*)
   20057   lt_cv_prog_gnu_ld=yes
   20058   ;;
   20059 *)
   20060   lt_cv_prog_gnu_ld=no
   20061   ;;
   20062 esac
   20063 fi
   20064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   20065 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   20066 with_gnu_ld=$lt_cv_prog_gnu_ld
   20067 
   20068 
   20069 
   20070 
   20071 
   20072 
   20073 
   20074       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   20075       # archiving commands below assume that GNU ld is being used.
   20076       if test yes = "$with_gnu_ld"; then
   20077         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20078         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20079 
   20080         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20081         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20082 
   20083         # If archive_cmds runs LD, not CC, wlarc should be empty
   20084         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   20085         #     investigate it a little bit more. (MM)
   20086         wlarc='$wl'
   20087 
   20088         # ancient GNU ld didn't support --whole-archive et. al.
   20089         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   20090 	  $GREP 'no-whole-archive' > /dev/null; then
   20091           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   20092         else
   20093           whole_archive_flag_spec_CXX=
   20094         fi
   20095       else
   20096         with_gnu_ld=no
   20097         wlarc=
   20098 
   20099         # A generic and very simple default shared library creation
   20100         # command for GNU C++ for the case where it uses the native
   20101         # linker, instead of GNU ld.  If possible, this setting should
   20102         # overridden to take advantage of the native linker features on
   20103         # the platform it is being used on.
   20104         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   20105       fi
   20106 
   20107       # Commands to make compiler produce verbose output that lists
   20108       # what "hidden" libraries, object files and flags are used when
   20109       # linking a shared library.
   20110       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
   20111 
   20112     else
   20113       GXX=no
   20114       with_gnu_ld=no
   20115       wlarc=
   20116     fi
   20117 
   20118     # PORTME: fill in a description of your system's C++ link characteristics
   20119     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   20120 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   20121     ld_shlibs_CXX=yes
   20122     case $host_os in
   20123       aix3*)
   20124         # FIXME: insert proper C++ library support
   20125         ld_shlibs_CXX=no
   20126         ;;
   20127       aix[4-9]*)
   20128         if test ia64 = "$host_cpu"; then
   20129           # On IA64, the linker does run time linking by default, so we don't
   20130           # have to do anything special.
   20131           aix_use_runtimelinking=no
   20132           exp_sym_flag='-Bexport'
   20133           no_entry_flag=
   20134         else
   20135           aix_use_runtimelinking=no
   20136 
   20137           # Test if we are trying to use run time linking or normal
   20138           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   20139           # have runtime linking enabled, and use it for executables.
   20140           # For shared libraries, we enable/disable runtime linking
   20141           # depending on the kind of the shared library created -
   20142           # when "with_aix_soname,aix_use_runtimelinking" is:
   20143           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   20144           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   20145           #            lib.a           static archive
   20146           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   20147           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   20148           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   20149           #            lib.a(lib.so.V) shared, rtl:no
   20150           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   20151           #            lib.a           static archive
   20152           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   20153 	    for ld_flag in $LDFLAGS; do
   20154 	      case $ld_flag in
   20155 	      *-brtl*)
   20156 	        aix_use_runtimelinking=yes
   20157 	        break
   20158 	        ;;
   20159 	      esac
   20160 	    done
   20161 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   20162 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   20163 	      # so we don't have lib.a shared libs to link our executables.
   20164 	      # We have to force runtime linking in this case.
   20165 	      aix_use_runtimelinking=yes
   20166 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   20167 	    fi
   20168 	    ;;
   20169           esac
   20170 
   20171           exp_sym_flag='-bexport'
   20172           no_entry_flag='-bnoentry'
   20173         fi
   20174 
   20175         # When large executables or shared objects are built, AIX ld can
   20176         # have problems creating the table of contents.  If linking a library
   20177         # or program results in "error TOC overflow" add -mminimal-toc to
   20178         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   20179         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   20180 
   20181         archive_cmds_CXX=''
   20182         hardcode_direct_CXX=yes
   20183         hardcode_direct_absolute_CXX=yes
   20184         hardcode_libdir_separator_CXX=':'
   20185         link_all_deplibs_CXX=yes
   20186         file_list_spec_CXX='$wl-f,'
   20187         case $with_aix_soname,$aix_use_runtimelinking in
   20188         aix,*) ;;	# no import file
   20189         svr4,* | *,yes) # use import file
   20190           # The Import File defines what to hardcode.
   20191           hardcode_direct_CXX=no
   20192           hardcode_direct_absolute_CXX=no
   20193           ;;
   20194         esac
   20195 
   20196         if test yes = "$GXX"; then
   20197           case $host_os in aix4.[012]|aix4.[012].*)
   20198           # We only want to do this on AIX 4.2 and lower, the check
   20199           # below for broken collect2 doesn't work under 4.3+
   20200 	  collect2name=`$CC -print-prog-name=collect2`
   20201 	  if test -f "$collect2name" &&
   20202 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   20203 	  then
   20204 	    # We have reworked collect2
   20205 	    :
   20206 	  else
   20207 	    # We have old collect2
   20208 	    hardcode_direct_CXX=unsupported
   20209 	    # It fails to find uninstalled libraries when the uninstalled
   20210 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   20211 	    # to unsupported forces relinking
   20212 	    hardcode_minus_L_CXX=yes
   20213 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   20214 	    hardcode_libdir_separator_CXX=
   20215 	  fi
   20216           esac
   20217           shared_flag='-shared'
   20218 	  if test yes = "$aix_use_runtimelinking"; then
   20219 	    shared_flag=$shared_flag' $wl-G'
   20220 	  fi
   20221 	  # Need to ensure runtime linking is disabled for the traditional
   20222 	  # shared library, or the linker may eventually find shared libraries
   20223 	  # /with/ Import File - we do not want to mix them.
   20224 	  shared_flag_aix='-shared'
   20225 	  shared_flag_svr4='-shared $wl-G'
   20226         else
   20227           # not using gcc
   20228           if test ia64 = "$host_cpu"; then
   20229 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   20230 	  # chokes on -Wl,-G. The following line is correct:
   20231 	  shared_flag='-G'
   20232           else
   20233 	    if test yes = "$aix_use_runtimelinking"; then
   20234 	      shared_flag='$wl-G'
   20235 	    else
   20236 	      shared_flag='$wl-bM:SRE'
   20237 	    fi
   20238 	    shared_flag_aix='$wl-bM:SRE'
   20239 	    shared_flag_svr4='$wl-G'
   20240           fi
   20241         fi
   20242 
   20243         export_dynamic_flag_spec_CXX='$wl-bexpall'
   20244         # It seems that -bexpall does not export symbols beginning with
   20245         # underscore (_), so it is better to generate a list of symbols to
   20246 	# export.
   20247         always_export_symbols_CXX=yes
   20248 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   20249           # Warning - without using the other runtime loading flags (-brtl),
   20250           # -berok will link without error, but may produce a broken library.
   20251           # The "-G" linker flag allows undefined symbols.
   20252           no_undefined_flag_CXX='-bernotok'
   20253           # Determine the default libpath from the value encoded in an empty
   20254           # executable.
   20255           if test set = "${lt_cv_aix_libpath+set}"; then
   20256   aix_libpath=$lt_cv_aix_libpath
   20257 else
   20258   if test ${lt_cv_aix_libpath__CXX+y}
   20259 then :
   20260   printf %s "(cached) " >&6
   20261 else $as_nop
   20262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20263 /* end confdefs.h.  */
   20264 
   20265 int
   20266 main (void)
   20267 {
   20268 
   20269   ;
   20270   return 0;
   20271 }
   20272 _ACEOF
   20273 if ac_fn_cxx_try_link "$LINENO"
   20274 then :
   20275 
   20276   lt_aix_libpath_sed='
   20277       /Import File Strings/,/^$/ {
   20278 	  /^0/ {
   20279 	      s/^0  *\([^ ]*\) *$/\1/
   20280 	      p
   20281 	  }
   20282       }'
   20283   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   20284   # Check for a 64-bit object if we didn't find anything.
   20285   if test -z "$lt_cv_aix_libpath__CXX"; then
   20286     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   20287   fi
   20288 fi
   20289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20290     conftest$ac_exeext conftest.$ac_ext
   20291   if test -z "$lt_cv_aix_libpath__CXX"; then
   20292     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   20293   fi
   20294 
   20295 fi
   20296 
   20297   aix_libpath=$lt_cv_aix_libpath__CXX
   20298 fi
   20299 
   20300           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   20301 
   20302           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   20303         else
   20304           if test ia64 = "$host_cpu"; then
   20305 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   20306 	    allow_undefined_flag_CXX="-z nodefs"
   20307 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
   20308           else
   20309 	    # Determine the default libpath from the value encoded in an
   20310 	    # empty executable.
   20311 	    if test set = "${lt_cv_aix_libpath+set}"; then
   20312   aix_libpath=$lt_cv_aix_libpath
   20313 else
   20314   if test ${lt_cv_aix_libpath__CXX+y}
   20315 then :
   20316   printf %s "(cached) " >&6
   20317 else $as_nop
   20318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20319 /* end confdefs.h.  */
   20320 
   20321 int
   20322 main (void)
   20323 {
   20324 
   20325   ;
   20326   return 0;
   20327 }
   20328 _ACEOF
   20329 if ac_fn_cxx_try_link "$LINENO"
   20330 then :
   20331 
   20332   lt_aix_libpath_sed='
   20333       /Import File Strings/,/^$/ {
   20334 	  /^0/ {
   20335 	      s/^0  *\([^ ]*\) *$/\1/
   20336 	      p
   20337 	  }
   20338       }'
   20339   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   20340   # Check for a 64-bit object if we didn't find anything.
   20341   if test -z "$lt_cv_aix_libpath__CXX"; then
   20342     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   20343   fi
   20344 fi
   20345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20346     conftest$ac_exeext conftest.$ac_ext
   20347   if test -z "$lt_cv_aix_libpath__CXX"; then
   20348     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   20349   fi
   20350 
   20351 fi
   20352 
   20353   aix_libpath=$lt_cv_aix_libpath__CXX
   20354 fi
   20355 
   20356 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   20357 	    # Warning - without using the other run time loading flags,
   20358 	    # -berok will link without error, but may produce a broken library.
   20359 	    no_undefined_flag_CXX=' $wl-bernotok'
   20360 	    allow_undefined_flag_CXX=' $wl-berok'
   20361 	    if test yes = "$with_gnu_ld"; then
   20362 	      # We only use this code for GNU lds that support --whole-archive.
   20363 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   20364 	    else
   20365 	      # Exported symbols can be pulled into shared objects from archives
   20366 	      whole_archive_flag_spec_CXX='$convenience'
   20367 	    fi
   20368 	    archive_cmds_need_lc_CXX=yes
   20369 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   20370 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   20371 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   20372 	    if test svr4 != "$with_aix_soname"; then
   20373 	      # This is similar to how AIX traditionally builds its shared
   20374 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   20375 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   20376 	    fi
   20377 	    if test aix != "$with_aix_soname"; then
   20378 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   20379 	    else
   20380 	      # used by -dlpreopen to get the symbols
   20381 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   20382 	    fi
   20383 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   20384           fi
   20385         fi
   20386         ;;
   20387 
   20388       beos*)
   20389 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   20390 	  allow_undefined_flag_CXX=unsupported
   20391 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   20392 	  # support --undefined.  This deserves some investigation.  FIXME
   20393 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20394 	else
   20395 	  ld_shlibs_CXX=no
   20396 	fi
   20397 	;;
   20398 
   20399       chorus*)
   20400         case $cc_basename in
   20401           *)
   20402 	  # FIXME: insert proper C++ library support
   20403 	  ld_shlibs_CXX=no
   20404 	  ;;
   20405         esac
   20406         ;;
   20407 
   20408       cygwin* | mingw* | pw32* | cegcc*)
   20409 	case $GXX,$cc_basename in
   20410 	,cl* | no,cl*)
   20411 	  # Native MSVC
   20412 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   20413 	  # no search path for DLLs.
   20414 	  hardcode_libdir_flag_spec_CXX=' '
   20415 	  allow_undefined_flag_CXX=unsupported
   20416 	  always_export_symbols_CXX=yes
   20417 	  file_list_spec_CXX='@'
   20418 	  # Tell ltmain to make .lib files, not .a files.
   20419 	  libext=lib
   20420 	  # Tell ltmain to make .dll files, not .so files.
   20421 	  shrext_cmds=.dll
   20422 	  # FIXME: Setting linknames here is a bad hack.
   20423 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   20424 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   20425               cp "$export_symbols" "$output_objdir/$soname.def";
   20426               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   20427             else
   20428               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   20429             fi~
   20430             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   20431             linknames='
   20432 	  # The linker will not automatically build a static lib if we build a DLL.
   20433 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   20434 	  enable_shared_with_static_runtimes_CXX=yes
   20435 	  # Don't use ranlib
   20436 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   20437 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   20438             lt_tool_outputfile="@TOOL_OUTPUT@"~
   20439             case $lt_outputfile in
   20440               *.exe|*.EXE) ;;
   20441               *)
   20442                 lt_outputfile=$lt_outputfile.exe
   20443                 lt_tool_outputfile=$lt_tool_outputfile.exe
   20444                 ;;
   20445             esac~
   20446             func_to_tool_file "$lt_outputfile"~
   20447             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   20448               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   20449               $RM "$lt_outputfile.manifest";
   20450             fi'
   20451 	  ;;
   20452 	*)
   20453 	  # g++
   20454 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   20455 	  # as there is no search path for DLLs.
   20456 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   20457 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   20458 	  allow_undefined_flag_CXX=unsupported
   20459 	  always_export_symbols_CXX=no
   20460 	  enable_shared_with_static_runtimes_CXX=yes
   20461 
   20462 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   20463 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   20464 	    # If the export-symbols file already is a .def file, use it as
   20465 	    # is; otherwise, prepend EXPORTS...
   20466 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   20467               cp $export_symbols $output_objdir/$soname.def;
   20468             else
   20469               echo EXPORTS > $output_objdir/$soname.def;
   20470               cat $export_symbols >> $output_objdir/$soname.def;
   20471             fi~
   20472             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   20473 	  else
   20474 	    ld_shlibs_CXX=no
   20475 	  fi
   20476 	  ;;
   20477 	esac
   20478 	;;
   20479       darwin* | rhapsody*)
   20480 
   20481 
   20482   archive_cmds_need_lc_CXX=no
   20483   hardcode_direct_CXX=no
   20484   hardcode_automatic_CXX=yes
   20485   hardcode_shlibpath_var_CXX=unsupported
   20486   if test yes = "$lt_cv_ld_force_load"; then
   20487     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   20488 
   20489   else
   20490     whole_archive_flag_spec_CXX=''
   20491   fi
   20492   link_all_deplibs_CXX=yes
   20493   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   20494   case $cc_basename in
   20495      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   20496      *) _lt_dar_can_shared=$GCC ;;
   20497   esac
   20498   if test yes = "$_lt_dar_can_shared"; then
   20499     output_verbose_link_cmd=func_echo_all
   20500     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   20501     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   20502     archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
   20503     module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
   20504        if test yes != "$lt_cv_apple_cc_single_mod"; then
   20505       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
   20506       archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
   20507     fi
   20508 
   20509   else
   20510   ld_shlibs_CXX=no
   20511   fi
   20512 
   20513 	;;
   20514 
   20515       os2*)
   20516 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   20517 	hardcode_minus_L_CXX=yes
   20518 	allow_undefined_flag_CXX=unsupported
   20519 	shrext_cmds=.dll
   20520 	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   20521 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   20522 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   20523 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   20524 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   20525 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   20526 	  emximp -o $lib $output_objdir/$libname.def'
   20527 	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   20528 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   20529 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   20530 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   20531 	  prefix_cmds="$SED"~
   20532 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   20533 	    prefix_cmds="$prefix_cmds -e 1d";
   20534 	  fi~
   20535 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   20536 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   20537 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   20538 	  emximp -o $lib $output_objdir/$libname.def'
   20539 	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   20540 	enable_shared_with_static_runtimes_CXX=yes
   20541 	;;
   20542 
   20543       dgux*)
   20544         case $cc_basename in
   20545           ec++*)
   20546 	    # FIXME: insert proper C++ library support
   20547 	    ld_shlibs_CXX=no
   20548 	    ;;
   20549           ghcx*)
   20550 	    # Green Hills C++ Compiler
   20551 	    # FIXME: insert proper C++ library support
   20552 	    ld_shlibs_CXX=no
   20553 	    ;;
   20554           *)
   20555 	    # FIXME: insert proper C++ library support
   20556 	    ld_shlibs_CXX=no
   20557 	    ;;
   20558         esac
   20559         ;;
   20560 
   20561       freebsd2.*)
   20562         # C++ shared libraries reported to be fairly broken before
   20563 	# switch to ELF
   20564         ld_shlibs_CXX=no
   20565         ;;
   20566 
   20567       freebsd-elf*)
   20568         archive_cmds_need_lc_CXX=no
   20569         ;;
   20570 
   20571       freebsd* | dragonfly*)
   20572         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   20573         # conventions
   20574         ld_shlibs_CXX=yes
   20575         ;;
   20576 
   20577       haiku*)
   20578         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20579         link_all_deplibs_CXX=yes
   20580         ;;
   20581 
   20582       hpux9*)
   20583         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   20584         hardcode_libdir_separator_CXX=:
   20585         export_dynamic_flag_spec_CXX='$wl-E'
   20586         hardcode_direct_CXX=yes
   20587         hardcode_minus_L_CXX=yes # Not in the search PATH,
   20588 				             # but as the default
   20589 				             # location of the library.
   20590 
   20591         case $cc_basename in
   20592           CC*)
   20593             # FIXME: insert proper C++ library support
   20594             ld_shlibs_CXX=no
   20595             ;;
   20596           aCC*)
   20597             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   20598             # Commands to make compiler produce verbose output that lists
   20599             # what "hidden" libraries, object files and flags are used when
   20600             # linking a shared library.
   20601             #
   20602             # There doesn't appear to be a way to prevent this compiler from
   20603             # explicitly linking system object files so we need to strip them
   20604             # from the output so that they don't get included in the library
   20605             # dependencies.
   20606             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20607             ;;
   20608           *)
   20609             if test yes = "$GXX"; then
   20610               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   20611             else
   20612               # FIXME: insert proper C++ library support
   20613               ld_shlibs_CXX=no
   20614             fi
   20615             ;;
   20616         esac
   20617         ;;
   20618 
   20619       hpux10*|hpux11*)
   20620         if test no = "$with_gnu_ld"; then
   20621 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   20622 	  hardcode_libdir_separator_CXX=:
   20623 
   20624           case $host_cpu in
   20625             hppa*64*|ia64*)
   20626               ;;
   20627             *)
   20628 	      export_dynamic_flag_spec_CXX='$wl-E'
   20629               ;;
   20630           esac
   20631         fi
   20632         case $host_cpu in
   20633           hppa*64*|ia64*)
   20634             hardcode_direct_CXX=no
   20635             hardcode_shlibpath_var_CXX=no
   20636             ;;
   20637           *)
   20638             hardcode_direct_CXX=yes
   20639             hardcode_direct_absolute_CXX=yes
   20640             hardcode_minus_L_CXX=yes # Not in the search PATH,
   20641 					         # but as the default
   20642 					         # location of the library.
   20643             ;;
   20644         esac
   20645 
   20646         case $cc_basename in
   20647           CC*)
   20648 	    # FIXME: insert proper C++ library support
   20649 	    ld_shlibs_CXX=no
   20650 	    ;;
   20651           aCC*)
   20652 	    case $host_cpu in
   20653 	      hppa*64*)
   20654 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20655 	        ;;
   20656 	      ia64*)
   20657 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20658 	        ;;
   20659 	      *)
   20660 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20661 	        ;;
   20662 	    esac
   20663 	    # Commands to make compiler produce verbose output that lists
   20664 	    # what "hidden" libraries, object files and flags are used when
   20665 	    # linking a shared library.
   20666 	    #
   20667 	    # There doesn't appear to be a way to prevent this compiler from
   20668 	    # explicitly linking system object files so we need to strip them
   20669 	    # from the output so that they don't get included in the library
   20670 	    # dependencies.
   20671 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20672 	    ;;
   20673           *)
   20674 	    if test yes = "$GXX"; then
   20675 	      if test no = "$with_gnu_ld"; then
   20676 	        case $host_cpu in
   20677 	          hppa*64*)
   20678 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20679 	            ;;
   20680 	          ia64*)
   20681 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20682 	            ;;
   20683 	          *)
   20684 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20685 	            ;;
   20686 	        esac
   20687 	      fi
   20688 	    else
   20689 	      # FIXME: insert proper C++ library support
   20690 	      ld_shlibs_CXX=no
   20691 	    fi
   20692 	    ;;
   20693         esac
   20694         ;;
   20695 
   20696       interix[3-9]*)
   20697 	hardcode_direct_CXX=no
   20698 	hardcode_shlibpath_var_CXX=no
   20699 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20700 	export_dynamic_flag_spec_CXX='$wl-E'
   20701 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   20702 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   20703 	# default) and relocated if they conflict, which is a slow very memory
   20704 	# consuming and fragmenting process.  To avoid this, we pick a random,
   20705 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   20706 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   20707 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   20708 	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   20709 	;;
   20710       irix5* | irix6*)
   20711         case $cc_basename in
   20712           CC*)
   20713 	    # SGI C++
   20714 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   20715 
   20716 	    # Archives containing C++ object files must be created using
   20717 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   20718 	    # necessary to make sure instantiated templates are included
   20719 	    # in the archive.
   20720 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   20721 	    ;;
   20722           *)
   20723 	    if test yes = "$GXX"; then
   20724 	      if test no = "$with_gnu_ld"; then
   20725 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   20726 	      else
   20727 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
   20728 	      fi
   20729 	    fi
   20730 	    link_all_deplibs_CXX=yes
   20731 	    ;;
   20732         esac
   20733         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20734         hardcode_libdir_separator_CXX=:
   20735         inherit_rpath_CXX=yes
   20736         ;;
   20737 
   20738       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   20739         case $cc_basename in
   20740           KCC*)
   20741 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   20742 
   20743 	    # KCC will only create a shared library if the output file
   20744 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   20745 	    # to its proper name (with version) after linking.
   20746 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   20747 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
   20748 	    # Commands to make compiler produce verbose output that lists
   20749 	    # what "hidden" libraries, object files and flags are used when
   20750 	    # linking a shared library.
   20751 	    #
   20752 	    # There doesn't appear to be a way to prevent this compiler from
   20753 	    # explicitly linking system object files so we need to strip them
   20754 	    # from the output so that they don't get included in the library
   20755 	    # dependencies.
   20756 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20757 
   20758 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20759 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20760 
   20761 	    # Archives containing C++ object files must be created using
   20762 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   20763 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   20764 	    ;;
   20765 	  icpc* | ecpc* )
   20766 	    # Intel C++
   20767 	    with_gnu_ld=yes
   20768 	    # version 8.0 and above of icpc choke on multiply defined symbols
   20769 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   20770 	    # earlier do not add the objects themselves.
   20771 	    case `$CC -V 2>&1` in
   20772 	      *"Version 7."*)
   20773 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20774 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20775 		;;
   20776 	      *)  # Version 8.0 or newer
   20777 	        tmp_idyn=
   20778 	        case $host_cpu in
   20779 		  ia64*) tmp_idyn=' -i_dynamic';;
   20780 		esac
   20781 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20782 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20783 		;;
   20784 	    esac
   20785 	    archive_cmds_need_lc_CXX=no
   20786 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20787 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20788 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   20789 	    ;;
   20790           pgCC* | pgcpp*)
   20791             # Portland Group C++ compiler
   20792 	    case `$CC -V` in
   20793 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   20794 	      prelink_cmds_CXX='tpldir=Template.dir~
   20795                rm -rf $tpldir~
   20796                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   20797                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   20798 	      old_archive_cmds_CXX='tpldir=Template.dir~
   20799                 rm -rf $tpldir~
   20800                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   20801                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   20802                 $RANLIB $oldlib'
   20803 	      archive_cmds_CXX='tpldir=Template.dir~
   20804                 rm -rf $tpldir~
   20805                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   20806                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20807 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   20808                 rm -rf $tpldir~
   20809                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   20810                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20811 	      ;;
   20812 	    *) # Version 6 and above use weak symbols
   20813 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20814 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20815 	      ;;
   20816 	    esac
   20817 
   20818 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   20819 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20820 	    whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   20821             ;;
   20822 	  cxx*)
   20823 	    # Compaq C++
   20824 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20825 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
   20826 
   20827 	    runpath_var=LD_RUN_PATH
   20828 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   20829 	    hardcode_libdir_separator_CXX=:
   20830 
   20831 	    # Commands to make compiler produce verbose output that lists
   20832 	    # what "hidden" libraries, object files and flags are used when
   20833 	    # linking a shared library.
   20834 	    #
   20835 	    # There doesn't appear to be a way to prevent this compiler from
   20836 	    # explicitly linking system object files so we need to strip them
   20837 	    # from the output so that they don't get included in the library
   20838 	    # dependencies.
   20839 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   20840 	    ;;
   20841 	  xl* | mpixl* | bgxl*)
   20842 	    # IBM XL 8.0 on PPC, with GNU ld
   20843 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20844 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20845 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20846 	    if test yes = "$supports_anon_versioning"; then
   20847 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   20848                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   20849                 echo "local: *; };" >> $output_objdir/$libname.ver~
   20850                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   20851 	    fi
   20852 	    ;;
   20853 	  *)
   20854 	    case `$CC -V 2>&1 | sed 5q` in
   20855 	    *Sun\ C*)
   20856 	      # Sun C++ 5.9
   20857 	      no_undefined_flag_CXX=' -zdefs'
   20858 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20859 	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
   20860 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   20861 	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   20862 	      compiler_needs_object_CXX=yes
   20863 
   20864 	      # Not sure whether something based on
   20865 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   20866 	      # would be better.
   20867 	      output_verbose_link_cmd='func_echo_all'
   20868 
   20869 	      # Archives containing C++ object files must be created using
   20870 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   20871 	      # necessary to make sure instantiated templates are included
   20872 	      # in the archive.
   20873 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   20874 	      ;;
   20875 	    esac
   20876 	    ;;
   20877 	esac
   20878 	;;
   20879 
   20880       lynxos*)
   20881         # FIXME: insert proper C++ library support
   20882 	ld_shlibs_CXX=no
   20883 	;;
   20884 
   20885       m88k*)
   20886         # FIXME: insert proper C++ library support
   20887         ld_shlibs_CXX=no
   20888 	;;
   20889 
   20890       mvs*)
   20891         case $cc_basename in
   20892           cxx*)
   20893 	    # FIXME: insert proper C++ library support
   20894 	    ld_shlibs_CXX=no
   20895 	    ;;
   20896 	  *)
   20897 	    # FIXME: insert proper C++ library support
   20898 	    ld_shlibs_CXX=no
   20899 	    ;;
   20900 	esac
   20901 	;;
   20902 
   20903       netbsd*)
   20904         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   20905 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   20906 	  wlarc=
   20907 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   20908 	  hardcode_direct_CXX=yes
   20909 	  hardcode_shlibpath_var_CXX=no
   20910 	fi
   20911 	# Workaround some broken pre-1.5 toolchains
   20912 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   20913 	;;
   20914 
   20915       *nto* | *qnx*)
   20916         ld_shlibs_CXX=yes
   20917 	;;
   20918 
   20919       openbsd* | bitrig*)
   20920 	if test -f /usr/libexec/ld.so; then
   20921 	  hardcode_direct_CXX=yes
   20922 	  hardcode_shlibpath_var_CXX=no
   20923 	  hardcode_direct_absolute_CXX=yes
   20924 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   20925 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20926 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   20927 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   20928 	    export_dynamic_flag_spec_CXX='$wl-E'
   20929 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   20930 	  fi
   20931 	  output_verbose_link_cmd=func_echo_all
   20932 	else
   20933 	  ld_shlibs_CXX=no
   20934 	fi
   20935 	;;
   20936 
   20937       osf3* | osf4* | osf5*)
   20938         case $cc_basename in
   20939           KCC*)
   20940 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   20941 
   20942 	    # KCC will only create a shared library if the output file
   20943 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   20944 	    # to its proper name (with version) after linking.
   20945 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   20946 
   20947 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20948 	    hardcode_libdir_separator_CXX=:
   20949 
   20950 	    # Archives containing C++ object files must be created using
   20951 	    # the KAI C++ compiler.
   20952 	    case $host in
   20953 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   20954 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   20955 	    esac
   20956 	    ;;
   20957           RCC*)
   20958 	    # Rational C++ 2.4.1
   20959 	    # FIXME: insert proper C++ library support
   20960 	    ld_shlibs_CXX=no
   20961 	    ;;
   20962           cxx*)
   20963 	    case $host in
   20964 	      osf3*)
   20965 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   20966 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   20967 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20968 		;;
   20969 	      *)
   20970 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   20971 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   20972 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   20973                   echo "-hidden">> $lib.exp~
   20974                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
   20975                   $RM $lib.exp'
   20976 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   20977 		;;
   20978 	    esac
   20979 
   20980 	    hardcode_libdir_separator_CXX=:
   20981 
   20982 	    # Commands to make compiler produce verbose output that lists
   20983 	    # what "hidden" libraries, object files and flags are used when
   20984 	    # linking a shared library.
   20985 	    #
   20986 	    # There doesn't appear to be a way to prevent this compiler from
   20987 	    # explicitly linking system object files so we need to strip them
   20988 	    # from the output so that they don't get included in the library
   20989 	    # dependencies.
   20990 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20991 	    ;;
   20992 	  *)
   20993 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   20994 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   20995 	      case $host in
   20996 	        osf3*)
   20997 	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   20998 		  ;;
   20999 	        *)
   21000 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   21001 		  ;;
   21002 	      esac
   21003 
   21004 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   21005 	      hardcode_libdir_separator_CXX=:
   21006 
   21007 	      # Commands to make compiler produce verbose output that lists
   21008 	      # what "hidden" libraries, object files and flags are used when
   21009 	      # linking a shared library.
   21010 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
   21011 
   21012 	    else
   21013 	      # FIXME: insert proper C++ library support
   21014 	      ld_shlibs_CXX=no
   21015 	    fi
   21016 	    ;;
   21017         esac
   21018         ;;
   21019 
   21020       psos*)
   21021         # FIXME: insert proper C++ library support
   21022         ld_shlibs_CXX=no
   21023         ;;
   21024 
   21025       sunos4*)
   21026         case $cc_basename in
   21027           CC*)
   21028 	    # Sun C++ 4.x
   21029 	    # FIXME: insert proper C++ library support
   21030 	    ld_shlibs_CXX=no
   21031 	    ;;
   21032           lcc*)
   21033 	    # Lucid
   21034 	    # FIXME: insert proper C++ library support
   21035 	    ld_shlibs_CXX=no
   21036 	    ;;
   21037           *)
   21038 	    # FIXME: insert proper C++ library support
   21039 	    ld_shlibs_CXX=no
   21040 	    ;;
   21041         esac
   21042         ;;
   21043 
   21044       solaris*)
   21045         case $cc_basename in
   21046           CC* | sunCC*)
   21047 	    # Sun C++ 4.2, 5.x and Centerline C++
   21048             archive_cmds_need_lc_CXX=yes
   21049 	    no_undefined_flag_CXX=' -zdefs'
   21050 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   21051 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   21052               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   21053 
   21054 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   21055 	    hardcode_shlibpath_var_CXX=no
   21056 	    case $host_os in
   21057 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   21058 	      *)
   21059 		# The compiler driver will combine and reorder linker options,
   21060 		# but understands '-z linker_flag'.
   21061 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   21062 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   21063 	        ;;
   21064 	    esac
   21065 	    link_all_deplibs_CXX=yes
   21066 
   21067 	    output_verbose_link_cmd='func_echo_all'
   21068 
   21069 	    # Archives containing C++ object files must be created using
   21070 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   21071 	    # necessary to make sure instantiated templates are included
   21072 	    # in the archive.
   21073 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   21074 	    ;;
   21075           gcx*)
   21076 	    # Green Hills C++ Compiler
   21077 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   21078 
   21079 	    # The C++ compiler must be used to create the archive.
   21080 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   21081 	    ;;
   21082           *)
   21083 	    # GNU C++ compiler with Solaris linker
   21084 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   21085 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   21086 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   21087 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   21088 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   21089                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   21090 
   21091 	        # Commands to make compiler produce verbose output that lists
   21092 	        # what "hidden" libraries, object files and flags are used when
   21093 	        # linking a shared library.
   21094 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
   21095 	      else
   21096 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   21097 	        # platform.
   21098 	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   21099 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   21100                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   21101 
   21102 	        # Commands to make compiler produce verbose output that lists
   21103 	        # what "hidden" libraries, object files and flags are used when
   21104 	        # linking a shared library.
   21105 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
   21106 	      fi
   21107 
   21108 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   21109 	      case $host_os in
   21110 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   21111 		*)
   21112 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   21113 		  ;;
   21114 	      esac
   21115 	    fi
   21116 	    ;;
   21117         esac
   21118         ;;
   21119 
   21120     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   21121       no_undefined_flag_CXX='$wl-z,text'
   21122       archive_cmds_need_lc_CXX=no
   21123       hardcode_shlibpath_var_CXX=no
   21124       runpath_var='LD_RUN_PATH'
   21125 
   21126       case $cc_basename in
   21127         CC*)
   21128 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21129 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21130 	  ;;
   21131 	*)
   21132 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21133 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21134 	  ;;
   21135       esac
   21136       ;;
   21137 
   21138       sysv5* | sco3.2v5* | sco5v6*)
   21139 	# Note: We CANNOT use -z defs as we might desire, because we do not
   21140 	# link with -lc, and that would cause any symbols used from libc to
   21141 	# always be unresolved, which means just about no library would
   21142 	# ever link correctly.  If we're not using GNU ld we use -z text
   21143 	# though, which does catch some bad symbols but isn't as heavy-handed
   21144 	# as -z defs.
   21145 	no_undefined_flag_CXX='$wl-z,text'
   21146 	allow_undefined_flag_CXX='$wl-z,nodefs'
   21147 	archive_cmds_need_lc_CXX=no
   21148 	hardcode_shlibpath_var_CXX=no
   21149 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   21150 	hardcode_libdir_separator_CXX=':'
   21151 	link_all_deplibs_CXX=yes
   21152 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   21153 	runpath_var='LD_RUN_PATH'
   21154 
   21155 	case $cc_basename in
   21156           CC*)
   21157 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21158 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21159 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   21160               '"$old_archive_cmds_CXX"
   21161 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   21162               '"$reload_cmds_CXX"
   21163 	    ;;
   21164 	  *)
   21165 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21166 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   21167 	    ;;
   21168 	esac
   21169       ;;
   21170 
   21171       tandem*)
   21172         case $cc_basename in
   21173           NCC*)
   21174 	    # NonStop-UX NCC 3.20
   21175 	    # FIXME: insert proper C++ library support
   21176 	    ld_shlibs_CXX=no
   21177 	    ;;
   21178           *)
   21179 	    # FIXME: insert proper C++ library support
   21180 	    ld_shlibs_CXX=no
   21181 	    ;;
   21182         esac
   21183         ;;
   21184 
   21185       vxworks*)
   21186         # FIXME: insert proper C++ library support
   21187         ld_shlibs_CXX=no
   21188         ;;
   21189 
   21190       *)
   21191         # FIXME: insert proper C++ library support
   21192         ld_shlibs_CXX=no
   21193         ;;
   21194     esac
   21195 
   21196     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   21197 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   21198     test no = "$ld_shlibs_CXX" && can_build_shared=no
   21199 
   21200     GCC_CXX=$GXX
   21201     LD_CXX=$LD
   21202 
   21203     ## CAVEAT EMPTOR:
   21204     ## There is no encapsulation within the following macros, do not change
   21205     ## the running order or otherwise move them around unless you know exactly
   21206     ## what you are doing...
   21207     # Dependencies to place before and after the object being linked:
   21208 predep_objects_CXX=
   21209 postdep_objects_CXX=
   21210 predeps_CXX=
   21211 postdeps_CXX=
   21212 compiler_lib_search_path_CXX=
   21213 
   21214 cat > conftest.$ac_ext <<_LT_EOF
   21215 class Foo
   21216 {
   21217 public:
   21218   Foo (void) { a = 0; }
   21219 private:
   21220   int a;
   21221 };
   21222 _LT_EOF
   21223 
   21224 
   21225 _lt_libdeps_save_CFLAGS=$CFLAGS
   21226 case "$CC $CFLAGS " in #(
   21227 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   21228 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   21229 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   21230 esac
   21231 
   21232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   21233   (eval $ac_compile) 2>&5
   21234   ac_status=$?
   21235   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21236   test $ac_status = 0; }; then
   21237   # Parse the compiler output and extract the necessary
   21238   # objects, libraries and library flags.
   21239 
   21240   # Sentinel used to keep track of whether or not we are before
   21241   # the conftest object file.
   21242   pre_test_object_deps_done=no
   21243 
   21244   for p in `eval "$output_verbose_link_cmd"`; do
   21245     case $prev$p in
   21246 
   21247     -L* | -R* | -l*)
   21248        # Some compilers place space between "-{L,R}" and the path.
   21249        # Remove the space.
   21250        if test x-L = "$p" ||
   21251           test x-R = "$p"; then
   21252 	 prev=$p
   21253 	 continue
   21254        fi
   21255 
   21256        # Expand the sysroot to ease extracting the directories later.
   21257        if test -z "$prev"; then
   21258          case $p in
   21259          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   21260          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   21261          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   21262          esac
   21263        fi
   21264        case $p in
   21265        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   21266        esac
   21267        if test no = "$pre_test_object_deps_done"; then
   21268 	 case $prev in
   21269 	 -L | -R)
   21270 	   # Internal compiler library paths should come after those
   21271 	   # provided the user.  The postdeps already come after the
   21272 	   # user supplied libs so there is no need to process them.
   21273 	   if test -z "$compiler_lib_search_path_CXX"; then
   21274 	     compiler_lib_search_path_CXX=$prev$p
   21275 	   else
   21276 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   21277 	   fi
   21278 	   ;;
   21279 	 # The "-l" case would never come before the object being
   21280 	 # linked, so don't bother handling this case.
   21281 	 esac
   21282        else
   21283 	 if test -z "$postdeps_CXX"; then
   21284 	   postdeps_CXX=$prev$p
   21285 	 else
   21286 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   21287 	 fi
   21288        fi
   21289        prev=
   21290        ;;
   21291 
   21292     *.lto.$objext) ;; # Ignore GCC LTO objects
   21293     *.$objext)
   21294        # This assumes that the test object file only shows up
   21295        # once in the compiler output.
   21296        if test "$p" = "conftest.$objext"; then
   21297 	 pre_test_object_deps_done=yes
   21298 	 continue
   21299        fi
   21300 
   21301        if test no = "$pre_test_object_deps_done"; then
   21302 	 if test -z "$predep_objects_CXX"; then
   21303 	   predep_objects_CXX=$p
   21304 	 else
   21305 	   predep_objects_CXX="$predep_objects_CXX $p"
   21306 	 fi
   21307        else
   21308 	 if test -z "$postdep_objects_CXX"; then
   21309 	   postdep_objects_CXX=$p
   21310 	 else
   21311 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   21312 	 fi
   21313        fi
   21314        ;;
   21315 
   21316     *) ;; # Ignore the rest.
   21317 
   21318     esac
   21319   done
   21320 
   21321   # Clean up.
   21322   rm -f a.out a.exe
   21323 else
   21324   echo "libtool.m4: error: problem compiling CXX test program"
   21325 fi
   21326 
   21327 $RM -f confest.$objext
   21328 CFLAGS=$_lt_libdeps_save_CFLAGS
   21329 
   21330 # PORTME: override above test on systems where it is broken
   21331 case $host_os in
   21332 interix[3-9]*)
   21333   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   21334   # hack all around it, let's just trust "g++" to DTRT.
   21335   predep_objects_CXX=
   21336   postdep_objects_CXX=
   21337   postdeps_CXX=
   21338   ;;
   21339 esac
   21340 
   21341 
   21342 case " $postdeps_CXX " in
   21343 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   21344 esac
   21345  compiler_lib_search_dirs_CXX=
   21346 if test -n "${compiler_lib_search_path_CXX}"; then
   21347  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   21348 fi
   21349 
   21350 
   21351 
   21352 
   21353 
   21354 
   21355 
   21356 
   21357 
   21358 
   21359 
   21360 
   21361 
   21362 
   21363 
   21364 
   21365 
   21366 
   21367 
   21368 
   21369 
   21370 
   21371 
   21372 
   21373 
   21374 
   21375 
   21376 
   21377 
   21378 
   21379 
   21380     lt_prog_compiler_wl_CXX=
   21381 lt_prog_compiler_pic_CXX=
   21382 lt_prog_compiler_static_CXX=
   21383 
   21384 
   21385   # C++ specific cases for pic, static, wl, etc.
   21386   if test yes = "$GXX"; then
   21387     lt_prog_compiler_wl_CXX='-Wl,'
   21388     lt_prog_compiler_static_CXX='-static'
   21389 
   21390     case $host_os in
   21391     aix*)
   21392       # All AIX code is PIC.
   21393       if test ia64 = "$host_cpu"; then
   21394 	# AIX 5 now supports IA64 processor
   21395 	lt_prog_compiler_static_CXX='-Bstatic'
   21396       fi
   21397       lt_prog_compiler_pic_CXX='-fPIC'
   21398       ;;
   21399 
   21400     amigaos*)
   21401       case $host_cpu in
   21402       powerpc)
   21403             # see comment about AmigaOS4 .so support
   21404             lt_prog_compiler_pic_CXX='-fPIC'
   21405         ;;
   21406       m68k)
   21407             # FIXME: we need at least 68020 code to build shared libraries, but
   21408             # adding the '-m68020' flag to GCC prevents building anything better,
   21409             # like '-m68040'.
   21410             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   21411         ;;
   21412       esac
   21413       ;;
   21414 
   21415     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   21416       # PIC is the default for these OSes.
   21417       ;;
   21418     mingw* | cygwin* | os2* | pw32* | cegcc*)
   21419       # This hack is so that the source file can tell whether it is being
   21420       # built for inclusion in a dll (and should export symbols for example).
   21421       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   21422       # (--disable-auto-import) libraries
   21423       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   21424       case $host_os in
   21425       os2*)
   21426 	lt_prog_compiler_static_CXX='$wl-static'
   21427 	;;
   21428       esac
   21429       ;;
   21430     darwin* | rhapsody*)
   21431       # PIC is the default on this platform
   21432       # Common symbols not allowed in MH_DYLIB files
   21433       lt_prog_compiler_pic_CXX='-fno-common'
   21434       ;;
   21435     *djgpp*)
   21436       # DJGPP does not support shared libraries at all
   21437       lt_prog_compiler_pic_CXX=
   21438       ;;
   21439     haiku*)
   21440       # PIC is the default for Haiku.
   21441       # The "-static" flag exists, but is broken.
   21442       lt_prog_compiler_static_CXX=
   21443       ;;
   21444     interix[3-9]*)
   21445       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   21446       # Instead, we relocate shared libraries at runtime.
   21447       ;;
   21448     sysv4*MP*)
   21449       if test -d /usr/nec; then
   21450 	lt_prog_compiler_pic_CXX=-Kconform_pic
   21451       fi
   21452       ;;
   21453     hpux*)
   21454       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   21455       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   21456       # sets the default TLS model and affects inlining.
   21457       case $host_cpu in
   21458       hppa*64*)
   21459 	;;
   21460       *)
   21461 	lt_prog_compiler_pic_CXX='-fPIC'
   21462 	;;
   21463       esac
   21464       ;;
   21465     *qnx* | *nto*)
   21466       # QNX uses GNU C++, but need to define -shared option too, otherwise
   21467       # it will coredump.
   21468       lt_prog_compiler_pic_CXX='-fPIC -shared'
   21469       ;;
   21470     *)
   21471       lt_prog_compiler_pic_CXX='-fPIC'
   21472       ;;
   21473     esac
   21474   else
   21475     case $host_os in
   21476       aix[4-9]*)
   21477 	# All AIX code is PIC.
   21478 	if test ia64 = "$host_cpu"; then
   21479 	  # AIX 5 now supports IA64 processor
   21480 	  lt_prog_compiler_static_CXX='-Bstatic'
   21481 	else
   21482 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   21483 	fi
   21484 	;;
   21485       chorus*)
   21486 	case $cc_basename in
   21487 	cxch68*)
   21488 	  # Green Hills C++ Compiler
   21489 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   21490 	  ;;
   21491 	esac
   21492 	;;
   21493       mingw* | cygwin* | os2* | pw32* | cegcc*)
   21494 	# This hack is so that the source file can tell whether it is being
   21495 	# built for inclusion in a dll (and should export symbols for example).
   21496 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   21497 	;;
   21498       dgux*)
   21499 	case $cc_basename in
   21500 	  ec++*)
   21501 	    lt_prog_compiler_pic_CXX='-KPIC'
   21502 	    ;;
   21503 	  ghcx*)
   21504 	    # Green Hills C++ Compiler
   21505 	    lt_prog_compiler_pic_CXX='-pic'
   21506 	    ;;
   21507 	  *)
   21508 	    ;;
   21509 	esac
   21510 	;;
   21511       freebsd* | dragonfly*)
   21512 	# FreeBSD uses GNU C++
   21513 	;;
   21514       hpux9* | hpux10* | hpux11*)
   21515 	case $cc_basename in
   21516 	  CC*)
   21517 	    lt_prog_compiler_wl_CXX='-Wl,'
   21518 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   21519 	    if test ia64 != "$host_cpu"; then
   21520 	      lt_prog_compiler_pic_CXX='+Z'
   21521 	    fi
   21522 	    ;;
   21523 	  aCC*)
   21524 	    lt_prog_compiler_wl_CXX='-Wl,'
   21525 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   21526 	    case $host_cpu in
   21527 	    hppa*64*|ia64*)
   21528 	      # +Z the default
   21529 	      ;;
   21530 	    *)
   21531 	      lt_prog_compiler_pic_CXX='+Z'
   21532 	      ;;
   21533 	    esac
   21534 	    ;;
   21535 	  *)
   21536 	    ;;
   21537 	esac
   21538 	;;
   21539       interix*)
   21540 	# This is c89, which is MS Visual C++ (no shared libs)
   21541 	# Anyone wants to do a port?
   21542 	;;
   21543       irix5* | irix6* | nonstopux*)
   21544 	case $cc_basename in
   21545 	  CC*)
   21546 	    lt_prog_compiler_wl_CXX='-Wl,'
   21547 	    lt_prog_compiler_static_CXX='-non_shared'
   21548 	    # CC pic flag -KPIC is the default.
   21549 	    ;;
   21550 	  *)
   21551 	    ;;
   21552 	esac
   21553 	;;
   21554       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   21555 	case $cc_basename in
   21556 	  KCC*)
   21557 	    # KAI C++ Compiler
   21558 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   21559 	    lt_prog_compiler_pic_CXX='-fPIC'
   21560 	    ;;
   21561 	  ecpc* )
   21562 	    # old Intel C++ for x86_64, which still supported -KPIC.
   21563 	    lt_prog_compiler_wl_CXX='-Wl,'
   21564 	    lt_prog_compiler_pic_CXX='-KPIC'
   21565 	    lt_prog_compiler_static_CXX='-static'
   21566 	    ;;
   21567 	  icpc* )
   21568 	    # Intel C++, used to be incompatible with GCC.
   21569 	    # ICC 10 doesn't accept -KPIC any more.
   21570 	    lt_prog_compiler_wl_CXX='-Wl,'
   21571 	    lt_prog_compiler_pic_CXX='-fPIC'
   21572 	    lt_prog_compiler_static_CXX='-static'
   21573 	    ;;
   21574 	  pgCC* | pgcpp*)
   21575 	    # Portland Group C++ compiler
   21576 	    lt_prog_compiler_wl_CXX='-Wl,'
   21577 	    lt_prog_compiler_pic_CXX='-fpic'
   21578 	    lt_prog_compiler_static_CXX='-Bstatic'
   21579 	    ;;
   21580 	  cxx*)
   21581 	    # Compaq C++
   21582 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   21583 	    # Linux and Compaq Tru64 Unix objects are PIC.
   21584 	    lt_prog_compiler_pic_CXX=
   21585 	    lt_prog_compiler_static_CXX='-non_shared'
   21586 	    ;;
   21587 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   21588 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   21589 	    lt_prog_compiler_wl_CXX='-Wl,'
   21590 	    lt_prog_compiler_pic_CXX='-qpic'
   21591 	    lt_prog_compiler_static_CXX='-qstaticlink'
   21592 	    ;;
   21593 	  *)
   21594 	    case `$CC -V 2>&1 | sed 5q` in
   21595 	    *Sun\ C*)
   21596 	      # Sun C++ 5.9
   21597 	      lt_prog_compiler_pic_CXX='-KPIC'
   21598 	      lt_prog_compiler_static_CXX='-Bstatic'
   21599 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   21600 	      ;;
   21601 	    esac
   21602 	    ;;
   21603 	esac
   21604 	;;
   21605       lynxos*)
   21606 	;;
   21607       m88k*)
   21608 	;;
   21609       mvs*)
   21610 	case $cc_basename in
   21611 	  cxx*)
   21612 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   21613 	    ;;
   21614 	  *)
   21615 	    ;;
   21616 	esac
   21617 	;;
   21618       netbsd* | netbsdelf*-gnu)
   21619 	;;
   21620       *qnx* | *nto*)
   21621         # QNX uses GNU C++, but need to define -shared option too, otherwise
   21622         # it will coredump.
   21623         lt_prog_compiler_pic_CXX='-fPIC -shared'
   21624         ;;
   21625       osf3* | osf4* | osf5*)
   21626 	case $cc_basename in
   21627 	  KCC*)
   21628 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   21629 	    ;;
   21630 	  RCC*)
   21631 	    # Rational C++ 2.4.1
   21632 	    lt_prog_compiler_pic_CXX='-pic'
   21633 	    ;;
   21634 	  cxx*)
   21635 	    # Digital/Compaq C++
   21636 	    lt_prog_compiler_wl_CXX='-Wl,'
   21637 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   21638 	    # Linux and Compaq Tru64 Unix objects are PIC.
   21639 	    lt_prog_compiler_pic_CXX=
   21640 	    lt_prog_compiler_static_CXX='-non_shared'
   21641 	    ;;
   21642 	  *)
   21643 	    ;;
   21644 	esac
   21645 	;;
   21646       psos*)
   21647 	;;
   21648       solaris*)
   21649 	case $cc_basename in
   21650 	  CC* | sunCC*)
   21651 	    # Sun C++ 4.2, 5.x and Centerline C++
   21652 	    lt_prog_compiler_pic_CXX='-KPIC'
   21653 	    lt_prog_compiler_static_CXX='-Bstatic'
   21654 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   21655 	    ;;
   21656 	  gcx*)
   21657 	    # Green Hills C++ Compiler
   21658 	    lt_prog_compiler_pic_CXX='-PIC'
   21659 	    ;;
   21660 	  *)
   21661 	    ;;
   21662 	esac
   21663 	;;
   21664       sunos4*)
   21665 	case $cc_basename in
   21666 	  CC*)
   21667 	    # Sun C++ 4.x
   21668 	    lt_prog_compiler_pic_CXX='-pic'
   21669 	    lt_prog_compiler_static_CXX='-Bstatic'
   21670 	    ;;
   21671 	  lcc*)
   21672 	    # Lucid
   21673 	    lt_prog_compiler_pic_CXX='-pic'
   21674 	    ;;
   21675 	  *)
   21676 	    ;;
   21677 	esac
   21678 	;;
   21679       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   21680 	case $cc_basename in
   21681 	  CC*)
   21682 	    lt_prog_compiler_wl_CXX='-Wl,'
   21683 	    lt_prog_compiler_pic_CXX='-KPIC'
   21684 	    lt_prog_compiler_static_CXX='-Bstatic'
   21685 	    ;;
   21686 	esac
   21687 	;;
   21688       tandem*)
   21689 	case $cc_basename in
   21690 	  NCC*)
   21691 	    # NonStop-UX NCC 3.20
   21692 	    lt_prog_compiler_pic_CXX='-KPIC'
   21693 	    ;;
   21694 	  *)
   21695 	    ;;
   21696 	esac
   21697 	;;
   21698       vxworks*)
   21699 	;;
   21700       *)
   21701 	lt_prog_compiler_can_build_shared_CXX=no
   21702 	;;
   21703     esac
   21704   fi
   21705 
   21706 case $host_os in
   21707   # For platforms that do not support PIC, -DPIC is meaningless:
   21708   *djgpp*)
   21709     lt_prog_compiler_pic_CXX=
   21710     ;;
   21711   *)
   21712     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   21713     ;;
   21714 esac
   21715 
   21716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   21717 printf %s "checking for $compiler option to produce PIC... " >&6; }
   21718 if test ${lt_cv_prog_compiler_pic_CXX+y}
   21719 then :
   21720   printf %s "(cached) " >&6
   21721 else $as_nop
   21722   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   21723 fi
   21724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   21725 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
   21726 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   21727 
   21728 #
   21729 # Check to make sure the PIC flag actually works.
   21730 #
   21731 if test -n "$lt_prog_compiler_pic_CXX"; then
   21732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   21733 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   21734 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
   21735 then :
   21736   printf %s "(cached) " >&6
   21737 else $as_nop
   21738   lt_cv_prog_compiler_pic_works_CXX=no
   21739    ac_outfile=conftest.$ac_objext
   21740    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21741    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   21742    # Insert the option either (1) after the last *FLAGS variable, or
   21743    # (2) before a word containing "conftest.", or (3) at the end.
   21744    # Note that $ac_compile itself does not contain backslashes and begins
   21745    # with a dollar sign (not a hyphen), so the echo should work correctly.
   21746    # The option is referenced via a variable to avoid confusing sed.
   21747    lt_compile=`echo "$ac_compile" | $SED \
   21748    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   21749    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   21750    -e 's:$: $lt_compiler_flag:'`
   21751    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   21752    (eval "$lt_compile" 2>conftest.err)
   21753    ac_status=$?
   21754    cat conftest.err >&5
   21755    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21756    if (exit $ac_status) && test -s "$ac_outfile"; then
   21757      # The compiler can only warn and ignore the option if not recognized
   21758      # So say no if there are warnings other than the usual output.
   21759      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   21760      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   21761      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   21762        lt_cv_prog_compiler_pic_works_CXX=yes
   21763      fi
   21764    fi
   21765    $RM conftest*
   21766 
   21767 fi
   21768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   21769 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   21770 
   21771 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   21772     case $lt_prog_compiler_pic_CXX in
   21773      "" | " "*) ;;
   21774      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   21775      esac
   21776 else
   21777     lt_prog_compiler_pic_CXX=
   21778      lt_prog_compiler_can_build_shared_CXX=no
   21779 fi
   21780 
   21781 fi
   21782 
   21783 
   21784 
   21785 
   21786 
   21787 #
   21788 # Check to make sure the static flag actually works.
   21789 #
   21790 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   21791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   21792 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   21793 if test ${lt_cv_prog_compiler_static_works_CXX+y}
   21794 then :
   21795   printf %s "(cached) " >&6
   21796 else $as_nop
   21797   lt_cv_prog_compiler_static_works_CXX=no
   21798    save_LDFLAGS=$LDFLAGS
   21799    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   21800    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   21801    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   21802      # The linker can only warn and ignore the option if not recognized
   21803      # So say no if there are warnings
   21804      if test -s conftest.err; then
   21805        # Append any errors to the config.log.
   21806        cat conftest.err 1>&5
   21807        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   21808        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   21809        if diff conftest.exp conftest.er2 >/dev/null; then
   21810          lt_cv_prog_compiler_static_works_CXX=yes
   21811        fi
   21812      else
   21813        lt_cv_prog_compiler_static_works_CXX=yes
   21814      fi
   21815    fi
   21816    $RM -r conftest*
   21817    LDFLAGS=$save_LDFLAGS
   21818 
   21819 fi
   21820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   21821 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   21822 
   21823 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   21824     :
   21825 else
   21826     lt_prog_compiler_static_CXX=
   21827 fi
   21828 
   21829 
   21830 
   21831 
   21832     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   21833 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   21834 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   21835 then :
   21836   printf %s "(cached) " >&6
   21837 else $as_nop
   21838   lt_cv_prog_compiler_c_o_CXX=no
   21839    $RM -r conftest 2>/dev/null
   21840    mkdir conftest
   21841    cd conftest
   21842    mkdir out
   21843    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21844 
   21845    lt_compiler_flag="-o out/conftest2.$ac_objext"
   21846    # Insert the option either (1) after the last *FLAGS variable, or
   21847    # (2) before a word containing "conftest.", or (3) at the end.
   21848    # Note that $ac_compile itself does not contain backslashes and begins
   21849    # with a dollar sign (not a hyphen), so the echo should work correctly.
   21850    lt_compile=`echo "$ac_compile" | $SED \
   21851    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   21852    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   21853    -e 's:$: $lt_compiler_flag:'`
   21854    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   21855    (eval "$lt_compile" 2>out/conftest.err)
   21856    ac_status=$?
   21857    cat out/conftest.err >&5
   21858    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21859    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   21860    then
   21861      # The compiler can only warn and ignore the option if not recognized
   21862      # So say no if there are warnings
   21863      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   21864      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   21865      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   21866        lt_cv_prog_compiler_c_o_CXX=yes
   21867      fi
   21868    fi
   21869    chmod u+w . 2>&5
   21870    $RM conftest*
   21871    # SGI C++ compiler will create directory out/ii_files/ for
   21872    # template instantiation
   21873    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   21874    $RM out/* && rmdir out
   21875    cd ..
   21876    $RM -r conftest
   21877    $RM conftest*
   21878 
   21879 fi
   21880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   21881 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   21882 
   21883 
   21884 
   21885     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   21886 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   21887 if test ${lt_cv_prog_compiler_c_o_CXX+y}
   21888 then :
   21889   printf %s "(cached) " >&6
   21890 else $as_nop
   21891   lt_cv_prog_compiler_c_o_CXX=no
   21892    $RM -r conftest 2>/dev/null
   21893    mkdir conftest
   21894    cd conftest
   21895    mkdir out
   21896    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21897 
   21898    lt_compiler_flag="-o out/conftest2.$ac_objext"
   21899    # Insert the option either (1) after the last *FLAGS variable, or
   21900    # (2) before a word containing "conftest.", or (3) at the end.
   21901    # Note that $ac_compile itself does not contain backslashes and begins
   21902    # with a dollar sign (not a hyphen), so the echo should work correctly.
   21903    lt_compile=`echo "$ac_compile" | $SED \
   21904    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   21905    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   21906    -e 's:$: $lt_compiler_flag:'`
   21907    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   21908    (eval "$lt_compile" 2>out/conftest.err)
   21909    ac_status=$?
   21910    cat out/conftest.err >&5
   21911    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21912    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   21913    then
   21914      # The compiler can only warn and ignore the option if not recognized
   21915      # So say no if there are warnings
   21916      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   21917      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   21918      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   21919        lt_cv_prog_compiler_c_o_CXX=yes
   21920      fi
   21921    fi
   21922    chmod u+w . 2>&5
   21923    $RM conftest*
   21924    # SGI C++ compiler will create directory out/ii_files/ for
   21925    # template instantiation
   21926    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   21927    $RM out/* && rmdir out
   21928    cd ..
   21929    $RM -r conftest
   21930    $RM conftest*
   21931 
   21932 fi
   21933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   21934 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   21935 
   21936 
   21937 
   21938 
   21939 hard_links=nottested
   21940 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   21941   # do not overwrite the value of need_locks provided by the user
   21942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   21943 printf %s "checking if we can lock with hard links... " >&6; }
   21944   hard_links=yes
   21945   $RM conftest*
   21946   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   21947   touch conftest.a
   21948   ln conftest.a conftest.b 2>&5 || hard_links=no
   21949   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   21950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   21951 printf "%s\n" "$hard_links" >&6; }
   21952   if test no = "$hard_links"; then
   21953     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   21954 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   21955     need_locks=warn
   21956   fi
   21957 else
   21958   need_locks=no
   21959 fi
   21960 
   21961 
   21962 
   21963     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   21964 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   21965 
   21966   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   21967   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   21968   case $host_os in
   21969   aix[4-9]*)
   21970     # If we're using GNU nm, then we don't want the "-C" option.
   21971     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   21972     # Without the "-l" option, or with the "-B" option, AIX nm treats
   21973     # weak defined symbols like other global defined symbols, whereas
   21974     # GNU nm marks them as "W".
   21975     # While the 'weak' keyword is ignored in the Export File, we need
   21976     # it in the Import File for the 'aix-soname' feature, so we have
   21977     # to replace the "-B" option with "-P" for AIX nm.
   21978     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   21979       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   21980     else
   21981       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   21982     fi
   21983     ;;
   21984   pw32*)
   21985     export_symbols_cmds_CXX=$ltdll_cmds
   21986     ;;
   21987   cygwin* | mingw* | cegcc*)
   21988     case $cc_basename in
   21989     cl*)
   21990       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   21991       ;;
   21992     *)
   21993       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   21994       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   21995       ;;
   21996     esac
   21997     ;;
   21998   linux* | k*bsd*-gnu | gnu*)
   21999     link_all_deplibs_CXX=no
   22000     ;;
   22001   *)
   22002     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   22003     ;;
   22004   esac
   22005 
   22006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   22007 printf "%s\n" "$ld_shlibs_CXX" >&6; }
   22008 test no = "$ld_shlibs_CXX" && can_build_shared=no
   22009 
   22010 with_gnu_ld_CXX=$with_gnu_ld
   22011 
   22012 
   22013 
   22014 
   22015 
   22016 
   22017 #
   22018 # Do we need to explicitly link libc?
   22019 #
   22020 case "x$archive_cmds_need_lc_CXX" in
   22021 x|xyes)
   22022   # Assume -lc should be added
   22023   archive_cmds_need_lc_CXX=yes
   22024 
   22025   if test yes,yes = "$GCC,$enable_shared"; then
   22026     case $archive_cmds_CXX in
   22027     *'~'*)
   22028       # FIXME: we may have to deal with multi-command sequences.
   22029       ;;
   22030     '$CC '*)
   22031       # Test whether the compiler implicitly links with -lc since on some
   22032       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   22033       # to ld, don't add -lc before -lgcc.
   22034       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   22035 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   22036 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
   22037 then :
   22038   printf %s "(cached) " >&6
   22039 else $as_nop
   22040   $RM conftest*
   22041 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   22042 
   22043 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   22044   (eval $ac_compile) 2>&5
   22045   ac_status=$?
   22046   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22047   test $ac_status = 0; } 2>conftest.err; then
   22048 	  soname=conftest
   22049 	  lib=conftest
   22050 	  libobjs=conftest.$ac_objext
   22051 	  deplibs=
   22052 	  wl=$lt_prog_compiler_wl_CXX
   22053 	  pic_flag=$lt_prog_compiler_pic_CXX
   22054 	  compiler_flags=-v
   22055 	  linker_flags=-v
   22056 	  verstring=
   22057 	  output_objdir=.
   22058 	  libname=conftest
   22059 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   22060 	  allow_undefined_flag_CXX=
   22061 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   22062   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   22063   ac_status=$?
   22064   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22065   test $ac_status = 0; }
   22066 	  then
   22067 	    lt_cv_archive_cmds_need_lc_CXX=no
   22068 	  else
   22069 	    lt_cv_archive_cmds_need_lc_CXX=yes
   22070 	  fi
   22071 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   22072 	else
   22073 	  cat conftest.err 1>&5
   22074 	fi
   22075 	$RM conftest*
   22076 
   22077 fi
   22078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   22079 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   22080       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   22081       ;;
   22082     esac
   22083   fi
   22084   ;;
   22085 esac
   22086 
   22087 
   22088 
   22089 
   22090 
   22091 
   22092 
   22093 
   22094 
   22095 
   22096 
   22097 
   22098 
   22099 
   22100 
   22101 
   22102 
   22103 
   22104 
   22105 
   22106 
   22107 
   22108 
   22109 
   22110 
   22111 
   22112 
   22113 
   22114 
   22115 
   22116 
   22117 
   22118 
   22119 
   22120 
   22121 
   22122 
   22123 
   22124 
   22125 
   22126 
   22127 
   22128 
   22129 
   22130 
   22131 
   22132 
   22133 
   22134 
   22135 
   22136 
   22137 
   22138 
   22139 
   22140 
   22141 
   22142 
   22143 
   22144 
   22145 
   22146 
   22147 
   22148     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   22149 printf %s "checking dynamic linker characteristics... " >&6; }
   22150 
   22151 library_names_spec=
   22152 libname_spec='lib$name'
   22153 soname_spec=
   22154 shrext_cmds=.so
   22155 postinstall_cmds=
   22156 postuninstall_cmds=
   22157 finish_cmds=
   22158 finish_eval=
   22159 shlibpath_var=
   22160 shlibpath_overrides_runpath=unknown
   22161 version_type=none
   22162 dynamic_linker="$host_os ld.so"
   22163 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   22164 need_lib_prefix=unknown
   22165 hardcode_into_libs=no
   22166 
   22167 # when you set need_version to no, make sure it does not cause -set_version
   22168 # flags to be left without arguments
   22169 need_version=unknown
   22170 
   22171 
   22172 
   22173 case $host_os in
   22174 aix3*)
   22175   version_type=linux # correct to gnu/linux during the next big refactor
   22176   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   22177   shlibpath_var=LIBPATH
   22178 
   22179   # AIX 3 has no versioning support, so we append a major version to the name.
   22180   soname_spec='$libname$release$shared_ext$major'
   22181   ;;
   22182 
   22183 aix[4-9]*)
   22184   version_type=linux # correct to gnu/linux during the next big refactor
   22185   need_lib_prefix=no
   22186   need_version=no
   22187   hardcode_into_libs=yes
   22188   if test ia64 = "$host_cpu"; then
   22189     # AIX 5 supports IA64
   22190     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   22191     shlibpath_var=LD_LIBRARY_PATH
   22192   else
   22193     # With GCC up to 2.95.x, collect2 would create an import file
   22194     # for dependence libraries.  The import file would start with
   22195     # the line '#! .'.  This would cause the generated library to
   22196     # depend on '.', always an invalid library.  This was fixed in
   22197     # development snapshots of GCC prior to 3.0.
   22198     case $host_os in
   22199       aix4 | aix4.[01] | aix4.[01].*)
   22200       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   22201 	   echo ' yes '
   22202 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   22203 	:
   22204       else
   22205 	can_build_shared=no
   22206       fi
   22207       ;;
   22208     esac
   22209     # Using Import Files as archive members, it is possible to support
   22210     # filename-based versioning of shared library archives on AIX. While
   22211     # this would work for both with and without runtime linking, it will
   22212     # prevent static linking of such archives. So we do filename-based
   22213     # shared library versioning with .so extension only, which is used
   22214     # when both runtime linking and shared linking is enabled.
   22215     # Unfortunately, runtime linking may impact performance, so we do
   22216     # not want this to be the default eventually. Also, we use the
   22217     # versioned .so libs for executables only if there is the -brtl
   22218     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   22219     # To allow for filename-based versioning support, we need to create
   22220     # libNAME.so.V as an archive file, containing:
   22221     # *) an Import File, referring to the versioned filename of the
   22222     #    archive as well as the shared archive member, telling the
   22223     #    bitwidth (32 or 64) of that shared object, and providing the
   22224     #    list of exported symbols of that shared object, eventually
   22225     #    decorated with the 'weak' keyword
   22226     # *) the shared object with the F_LOADONLY flag set, to really avoid
   22227     #    it being seen by the linker.
   22228     # At run time we better use the real file rather than another symlink,
   22229     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   22230 
   22231     case $with_aix_soname,$aix_use_runtimelinking in
   22232     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   22233     # soname into executable. Probably we can add versioning support to
   22234     # collect2, so additional links can be useful in future.
   22235     aix,yes) # traditional libtool
   22236       dynamic_linker='AIX unversionable lib.so'
   22237       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   22238       # instead of lib<name>.a to let people know that these are not
   22239       # typical AIX shared libraries.
   22240       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22241       ;;
   22242     aix,no) # traditional AIX only
   22243       dynamic_linker='AIX lib.a(lib.so.V)'
   22244       # We preserve .a as extension for shared libraries through AIX4.2
   22245       # and later when we are not doing run time linking.
   22246       library_names_spec='$libname$release.a $libname.a'
   22247       soname_spec='$libname$release$shared_ext$major'
   22248       ;;
   22249     svr4,*) # full svr4 only
   22250       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   22251       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   22252       # We do not specify a path in Import Files, so LIBPATH fires.
   22253       shlibpath_overrides_runpath=yes
   22254       ;;
   22255     *,yes) # both, prefer svr4
   22256       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   22257       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   22258       # unpreferred sharedlib libNAME.a needs extra handling
   22259       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"'
   22260       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"'
   22261       # We do not specify a path in Import Files, so LIBPATH fires.
   22262       shlibpath_overrides_runpath=yes
   22263       ;;
   22264     *,no) # both, prefer aix
   22265       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   22266       library_names_spec='$libname$release.a $libname.a'
   22267       soname_spec='$libname$release$shared_ext$major'
   22268       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   22269       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)'
   22270       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"'
   22271       ;;
   22272     esac
   22273     shlibpath_var=LIBPATH
   22274   fi
   22275   ;;
   22276 
   22277 amigaos*)
   22278   case $host_cpu in
   22279   powerpc)
   22280     # Since July 2007 AmigaOS4 officially supports .so libraries.
   22281     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   22282     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22283     ;;
   22284   m68k)
   22285     library_names_spec='$libname.ixlibrary $libname.a'
   22286     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   22287     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'
   22288     ;;
   22289   esac
   22290   ;;
   22291 
   22292 beos*)
   22293   library_names_spec='$libname$shared_ext'
   22294   dynamic_linker="$host_os ld.so"
   22295   shlibpath_var=LIBRARY_PATH
   22296   ;;
   22297 
   22298 bsdi[45]*)
   22299   version_type=linux # correct to gnu/linux during the next big refactor
   22300   need_version=no
   22301   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22302   soname_spec='$libname$release$shared_ext$major'
   22303   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   22304   shlibpath_var=LD_LIBRARY_PATH
   22305   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   22306   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   22307   # the default ld.so.conf also contains /usr/contrib/lib and
   22308   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   22309   # libtool to hard-code these into programs
   22310   ;;
   22311 
   22312 cygwin* | mingw* | pw32* | cegcc*)
   22313   version_type=windows
   22314   shrext_cmds=.dll
   22315   need_version=no
   22316   need_lib_prefix=no
   22317 
   22318   case $GCC,$cc_basename in
   22319   yes,*)
   22320     # gcc
   22321     library_names_spec='$libname.dll.a'
   22322     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   22323     postinstall_cmds='base_file=`basename \$file`~
   22324       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   22325       dldir=$destdir/`dirname \$dlpath`~
   22326       test -d \$dldir || mkdir -p \$dldir~
   22327       $install_prog $dir/$dlname \$dldir/$dlname~
   22328       chmod a+x \$dldir/$dlname~
   22329       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   22330         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   22331       fi'
   22332     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   22333       dlpath=$dir/\$dldll~
   22334        $RM \$dlpath'
   22335     shlibpath_overrides_runpath=yes
   22336 
   22337     case $host_os in
   22338     cygwin*)
   22339       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   22340       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   22341 
   22342       ;;
   22343     mingw* | cegcc*)
   22344       # MinGW DLLs use traditional 'lib' prefix
   22345       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   22346       ;;
   22347     pw32*)
   22348       # pw32 DLLs use 'pw' prefix rather than 'lib'
   22349       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   22350       ;;
   22351     esac
   22352     dynamic_linker='Win32 ld.exe'
   22353     ;;
   22354 
   22355   *,cl*)
   22356     # Native MSVC
   22357     libname_spec='$name'
   22358     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   22359     library_names_spec='$libname.dll.lib'
   22360 
   22361     case $build_os in
   22362     mingw*)
   22363       sys_lib_search_path_spec=
   22364       lt_save_ifs=$IFS
   22365       IFS=';'
   22366       for lt_path in $LIB
   22367       do
   22368         IFS=$lt_save_ifs
   22369         # Let DOS variable expansion print the short 8.3 style file name.
   22370         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   22371         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   22372       done
   22373       IFS=$lt_save_ifs
   22374       # Convert to MSYS style.
   22375       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   22376       ;;
   22377     cygwin*)
   22378       # Convert to unix form, then to dos form, then back to unix form
   22379       # but this time dos style (no spaces!) so that the unix form looks
   22380       # like /cygdrive/c/PROGRA~1:/cygdr...
   22381       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   22382       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   22383       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   22384       ;;
   22385     *)
   22386       sys_lib_search_path_spec=$LIB
   22387       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   22388         # It is most probably a Windows format PATH.
   22389         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   22390       else
   22391         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   22392       fi
   22393       # FIXME: find the short name or the path components, as spaces are
   22394       # common. (e.g. "Program Files" -> "PROGRA~1")
   22395       ;;
   22396     esac
   22397 
   22398     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   22399     postinstall_cmds='base_file=`basename \$file`~
   22400       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   22401       dldir=$destdir/`dirname \$dlpath`~
   22402       test -d \$dldir || mkdir -p \$dldir~
   22403       $install_prog $dir/$dlname \$dldir/$dlname'
   22404     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   22405       dlpath=$dir/\$dldll~
   22406        $RM \$dlpath'
   22407     shlibpath_overrides_runpath=yes
   22408     dynamic_linker='Win32 link.exe'
   22409     ;;
   22410 
   22411   *)
   22412     # Assume MSVC wrapper
   22413     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   22414     dynamic_linker='Win32 ld.exe'
   22415     ;;
   22416   esac
   22417   # FIXME: first we should search . and the directory the executable is in
   22418   shlibpath_var=PATH
   22419   ;;
   22420 
   22421 darwin* | rhapsody*)
   22422   dynamic_linker="$host_os dyld"
   22423   version_type=darwin
   22424   need_lib_prefix=no
   22425   need_version=no
   22426   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   22427   soname_spec='$libname$release$major$shared_ext'
   22428   shlibpath_overrides_runpath=yes
   22429   shlibpath_var=DYLD_LIBRARY_PATH
   22430   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   22431 
   22432   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   22433   ;;
   22434 
   22435 dgux*)
   22436   version_type=linux # correct to gnu/linux during the next big refactor
   22437   need_lib_prefix=no
   22438   need_version=no
   22439   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22440   soname_spec='$libname$release$shared_ext$major'
   22441   shlibpath_var=LD_LIBRARY_PATH
   22442   ;;
   22443 
   22444 freebsd* | dragonfly*)
   22445   # DragonFly does not have aout.  When/if they implement a new
   22446   # versioning mechanism, adjust this.
   22447   if test -x /usr/bin/objformat; then
   22448     objformat=`/usr/bin/objformat`
   22449   else
   22450     case $host_os in
   22451     freebsd[23].*) objformat=aout ;;
   22452     *) objformat=elf ;;
   22453     esac
   22454   fi
   22455   version_type=freebsd-$objformat
   22456   case $version_type in
   22457     freebsd-elf*)
   22458       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22459       soname_spec='$libname$release$shared_ext$major'
   22460       need_version=no
   22461       need_lib_prefix=no
   22462       ;;
   22463     freebsd-*)
   22464       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22465       need_version=yes
   22466       ;;
   22467   esac
   22468   shlibpath_var=LD_LIBRARY_PATH
   22469   case $host_os in
   22470   freebsd2.*)
   22471     shlibpath_overrides_runpath=yes
   22472     ;;
   22473   freebsd3.[01]* | freebsdelf3.[01]*)
   22474     shlibpath_overrides_runpath=yes
   22475     hardcode_into_libs=yes
   22476     ;;
   22477   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   22478   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   22479     shlibpath_overrides_runpath=no
   22480     hardcode_into_libs=yes
   22481     ;;
   22482   *) # from 4.6 on, and DragonFly
   22483     shlibpath_overrides_runpath=yes
   22484     hardcode_into_libs=yes
   22485     ;;
   22486   esac
   22487   ;;
   22488 
   22489 haiku*)
   22490   version_type=linux # correct to gnu/linux during the next big refactor
   22491   need_lib_prefix=no
   22492   need_version=no
   22493   dynamic_linker="$host_os runtime_loader"
   22494   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22495   soname_spec='$libname$release$shared_ext$major'
   22496   shlibpath_var=LIBRARY_PATH
   22497   shlibpath_overrides_runpath=no
   22498   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   22499   hardcode_into_libs=yes
   22500   ;;
   22501 
   22502 hpux9* | hpux10* | hpux11*)
   22503   # Give a soname corresponding to the major version so that dld.sl refuses to
   22504   # link against other versions.
   22505   version_type=sunos
   22506   need_lib_prefix=no
   22507   need_version=no
   22508   case $host_cpu in
   22509   ia64*)
   22510     shrext_cmds='.so'
   22511     hardcode_into_libs=yes
   22512     dynamic_linker="$host_os dld.so"
   22513     shlibpath_var=LD_LIBRARY_PATH
   22514     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   22515     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22516     soname_spec='$libname$release$shared_ext$major'
   22517     if test 32 = "$HPUX_IA64_MODE"; then
   22518       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   22519       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   22520     else
   22521       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   22522       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   22523     fi
   22524     ;;
   22525   hppa*64*)
   22526     shrext_cmds='.sl'
   22527     hardcode_into_libs=yes
   22528     dynamic_linker="$host_os dld.sl"
   22529     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   22530     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   22531     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22532     soname_spec='$libname$release$shared_ext$major'
   22533     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   22534     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   22535     ;;
   22536   *)
   22537     shrext_cmds='.sl'
   22538     dynamic_linker="$host_os dld.sl"
   22539     shlibpath_var=SHLIB_PATH
   22540     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   22541     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22542     soname_spec='$libname$release$shared_ext$major'
   22543     ;;
   22544   esac
   22545   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   22546   postinstall_cmds='chmod 555 $lib'
   22547   # or fails outright, so override atomically:
   22548   install_override_mode=555
   22549   ;;
   22550 
   22551 interix[3-9]*)
   22552   version_type=linux # correct to gnu/linux during the next big refactor
   22553   need_lib_prefix=no
   22554   need_version=no
   22555   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22556   soname_spec='$libname$release$shared_ext$major'
   22557   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   22558   shlibpath_var=LD_LIBRARY_PATH
   22559   shlibpath_overrides_runpath=no
   22560   hardcode_into_libs=yes
   22561   ;;
   22562 
   22563 irix5* | irix6* | nonstopux*)
   22564   case $host_os in
   22565     nonstopux*) version_type=nonstopux ;;
   22566     *)
   22567 	if test yes = "$lt_cv_prog_gnu_ld"; then
   22568 		version_type=linux # correct to gnu/linux during the next big refactor
   22569 	else
   22570 		version_type=irix
   22571 	fi ;;
   22572   esac
   22573   need_lib_prefix=no
   22574   need_version=no
   22575   soname_spec='$libname$release$shared_ext$major'
   22576   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   22577   case $host_os in
   22578   irix5* | nonstopux*)
   22579     libsuff= shlibsuff=
   22580     ;;
   22581   *)
   22582     case $LD in # libtool.m4 will add one of these switches to LD
   22583     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   22584       libsuff= shlibsuff= libmagic=32-bit;;
   22585     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   22586       libsuff=32 shlibsuff=N32 libmagic=N32;;
   22587     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   22588       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   22589     *) libsuff= shlibsuff= libmagic=never-match;;
   22590     esac
   22591     ;;
   22592   esac
   22593   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   22594   shlibpath_overrides_runpath=no
   22595   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   22596   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   22597   hardcode_into_libs=yes
   22598   ;;
   22599 
   22600 # No shared lib support for Linux oldld, aout, or coff.
   22601 linux*oldld* | linux*aout* | linux*coff*)
   22602   dynamic_linker=no
   22603   ;;
   22604 
   22605 linux*android*)
   22606   version_type=none # Android doesn't support versioned libraries.
   22607   need_lib_prefix=no
   22608   need_version=no
   22609   library_names_spec='$libname$release$shared_ext'
   22610   soname_spec='$libname$release$shared_ext'
   22611   finish_cmds=
   22612   shlibpath_var=LD_LIBRARY_PATH
   22613   shlibpath_overrides_runpath=yes
   22614 
   22615   # This implies no fast_install, which is unacceptable.
   22616   # Some rework will be needed to allow for fast_install
   22617   # before this can be enabled.
   22618   hardcode_into_libs=yes
   22619 
   22620   dynamic_linker='Android linker'
   22621   # Don't embed -rpath directories since the linker doesn't support them.
   22622   hardcode_libdir_flag_spec_CXX='-L$libdir'
   22623   ;;
   22624 
   22625 # This must be glibc/ELF.
   22626 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   22627   version_type=linux # correct to gnu/linux during the next big refactor
   22628   need_lib_prefix=no
   22629   need_version=no
   22630   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22631   soname_spec='$libname$release$shared_ext$major'
   22632   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   22633   shlibpath_var=LD_LIBRARY_PATH
   22634   shlibpath_overrides_runpath=no
   22635 
   22636   # Some binutils ld are patched to set DT_RUNPATH
   22637   if test ${lt_cv_shlibpath_overrides_runpath+y}
   22638 then :
   22639   printf %s "(cached) " >&6
   22640 else $as_nop
   22641   lt_cv_shlibpath_overrides_runpath=no
   22642     save_LDFLAGS=$LDFLAGS
   22643     save_libdir=$libdir
   22644     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   22645 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   22646     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22647 /* end confdefs.h.  */
   22648 
   22649 int
   22650 main (void)
   22651 {
   22652 
   22653   ;
   22654   return 0;
   22655 }
   22656 _ACEOF
   22657 if ac_fn_cxx_try_link "$LINENO"
   22658 then :
   22659   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   22660 then :
   22661   lt_cv_shlibpath_overrides_runpath=yes
   22662 fi
   22663 fi
   22664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22665     conftest$ac_exeext conftest.$ac_ext
   22666     LDFLAGS=$save_LDFLAGS
   22667     libdir=$save_libdir
   22668 
   22669 fi
   22670 
   22671   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   22672 
   22673   # This implies no fast_install, which is unacceptable.
   22674   # Some rework will be needed to allow for fast_install
   22675   # before this can be enabled.
   22676   hardcode_into_libs=yes
   22677 
   22678   # Ideally, we could use ldconfig to report *all* directores which are
   22679   # searched for libraries, however this is still not possible.  Aside from not
   22680   # being certain /sbin/ldconfig is available, command
   22681   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   22682   # even though it is searched at run-time.  Try to do the best guess by
   22683   # appending ld.so.conf contents (and includes) to the search path.
   22684   if test -f /etc/ld.so.conf; then
   22685     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' ' '`
   22686     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   22687   fi
   22688 
   22689   # We used to test for /lib/ld.so.1 and disable shared libraries on
   22690   # powerpc, because MkLinux only supported shared libraries with the
   22691   # GNU dynamic linker.  Since this was broken with cross compilers,
   22692   # most powerpc-linux boxes support dynamic linking these days and
   22693   # people can always --disable-shared, the test was removed, and we
   22694   # assume the GNU/Linux dynamic linker is in use.
   22695   dynamic_linker='GNU/Linux ld.so'
   22696   ;;
   22697 
   22698 netbsdelf*-gnu)
   22699   version_type=linux
   22700   need_lib_prefix=no
   22701   need_version=no
   22702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   22703   soname_spec='${libname}${release}${shared_ext}$major'
   22704   shlibpath_var=LD_LIBRARY_PATH
   22705   shlibpath_overrides_runpath=no
   22706   hardcode_into_libs=yes
   22707   dynamic_linker='NetBSD ld.elf_so'
   22708   ;;
   22709 
   22710 netbsd*)
   22711   version_type=sunos
   22712   need_lib_prefix=no
   22713   need_version=no
   22714   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   22715     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22716     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   22717     dynamic_linker='NetBSD (a.out) ld.so'
   22718   else
   22719     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22720     soname_spec='$libname$release$shared_ext$major'
   22721     dynamic_linker='NetBSD ld.elf_so'
   22722   fi
   22723   shlibpath_var=LD_LIBRARY_PATH
   22724   shlibpath_overrides_runpath=yes
   22725   hardcode_into_libs=yes
   22726   ;;
   22727 
   22728 newsos6)
   22729   version_type=linux # correct to gnu/linux during the next big refactor
   22730   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22731   shlibpath_var=LD_LIBRARY_PATH
   22732   shlibpath_overrides_runpath=yes
   22733   ;;
   22734 
   22735 *nto* | *qnx*)
   22736   version_type=qnx
   22737   need_lib_prefix=no
   22738   need_version=no
   22739   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22740   soname_spec='$libname$release$shared_ext$major'
   22741   shlibpath_var=LD_LIBRARY_PATH
   22742   shlibpath_overrides_runpath=no
   22743   hardcode_into_libs=yes
   22744   dynamic_linker='ldqnx.so'
   22745   ;;
   22746 
   22747 openbsd* | bitrig*)
   22748   version_type=sunos
   22749   sys_lib_dlsearch_path_spec=/usr/lib
   22750   need_lib_prefix=no
   22751   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   22752     need_version=no
   22753   else
   22754     need_version=yes
   22755   fi
   22756   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22757   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   22758   shlibpath_var=LD_LIBRARY_PATH
   22759   shlibpath_overrides_runpath=yes
   22760   ;;
   22761 
   22762 os2*)
   22763   libname_spec='$name'
   22764   version_type=windows
   22765   shrext_cmds=.dll
   22766   need_version=no
   22767   need_lib_prefix=no
   22768   # OS/2 can only load a DLL with a base name of 8 characters or less.
   22769   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   22770     v=$($ECHO $release$versuffix | tr -d .-);
   22771     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   22772     $ECHO $n$v`$shared_ext'
   22773   library_names_spec='${libname}_dll.$libext'
   22774   dynamic_linker='OS/2 ld.exe'
   22775   shlibpath_var=BEGINLIBPATH
   22776   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   22777   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   22778   postinstall_cmds='base_file=`basename \$file`~
   22779     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   22780     dldir=$destdir/`dirname \$dlpath`~
   22781     test -d \$dldir || mkdir -p \$dldir~
   22782     $install_prog $dir/$dlname \$dldir/$dlname~
   22783     chmod a+x \$dldir/$dlname~
   22784     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   22785       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   22786     fi'
   22787   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   22788     dlpath=$dir/\$dldll~
   22789     $RM \$dlpath'
   22790   ;;
   22791 
   22792 osf3* | osf4* | osf5*)
   22793   version_type=osf
   22794   need_lib_prefix=no
   22795   need_version=no
   22796   soname_spec='$libname$release$shared_ext$major'
   22797   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22798   shlibpath_var=LD_LIBRARY_PATH
   22799   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   22800   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   22801   ;;
   22802 
   22803 rdos*)
   22804   dynamic_linker=no
   22805   ;;
   22806 
   22807 solaris*)
   22808   version_type=linux # correct to gnu/linux during the next big refactor
   22809   need_lib_prefix=no
   22810   need_version=no
   22811   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22812   soname_spec='$libname$release$shared_ext$major'
   22813   shlibpath_var=LD_LIBRARY_PATH
   22814   shlibpath_overrides_runpath=yes
   22815   hardcode_into_libs=yes
   22816   # ldd complains unless libraries are executable
   22817   postinstall_cmds='chmod +x $lib'
   22818   ;;
   22819 
   22820 sunos4*)
   22821   version_type=sunos
   22822   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22823   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   22824   shlibpath_var=LD_LIBRARY_PATH
   22825   shlibpath_overrides_runpath=yes
   22826   if test yes = "$with_gnu_ld"; then
   22827     need_lib_prefix=no
   22828   fi
   22829   need_version=yes
   22830   ;;
   22831 
   22832 sysv4 | sysv4.3*)
   22833   version_type=linux # correct to gnu/linux during the next big refactor
   22834   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22835   soname_spec='$libname$release$shared_ext$major'
   22836   shlibpath_var=LD_LIBRARY_PATH
   22837   case $host_vendor in
   22838     sni)
   22839       shlibpath_overrides_runpath=no
   22840       need_lib_prefix=no
   22841       runpath_var=LD_RUN_PATH
   22842       ;;
   22843     siemens)
   22844       need_lib_prefix=no
   22845       ;;
   22846     motorola)
   22847       need_lib_prefix=no
   22848       need_version=no
   22849       shlibpath_overrides_runpath=no
   22850       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   22851       ;;
   22852   esac
   22853   ;;
   22854 
   22855 sysv4*MP*)
   22856   if test -d /usr/nec; then
   22857     version_type=linux # correct to gnu/linux during the next big refactor
   22858     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   22859     soname_spec='$libname$shared_ext.$major'
   22860     shlibpath_var=LD_LIBRARY_PATH
   22861   fi
   22862   ;;
   22863 
   22864 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   22865   version_type=sco
   22866   need_lib_prefix=no
   22867   need_version=no
   22868   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   22869   soname_spec='$libname$release$shared_ext$major'
   22870   shlibpath_var=LD_LIBRARY_PATH
   22871   shlibpath_overrides_runpath=yes
   22872   hardcode_into_libs=yes
   22873   if test yes = "$with_gnu_ld"; then
   22874     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   22875   else
   22876     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   22877     case $host_os in
   22878       sco3.2v5*)
   22879         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   22880 	;;
   22881     esac
   22882   fi
   22883   sys_lib_dlsearch_path_spec='/usr/lib'
   22884   ;;
   22885 
   22886 tpf*)
   22887   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   22888   version_type=linux # correct to gnu/linux during the next big refactor
   22889   need_lib_prefix=no
   22890   need_version=no
   22891   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22892   shlibpath_var=LD_LIBRARY_PATH
   22893   shlibpath_overrides_runpath=no
   22894   hardcode_into_libs=yes
   22895   ;;
   22896 
   22897 uts4*)
   22898   version_type=linux # correct to gnu/linux during the next big refactor
   22899   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22900   soname_spec='$libname$release$shared_ext$major'
   22901   shlibpath_var=LD_LIBRARY_PATH
   22902   ;;
   22903 
   22904 *)
   22905   dynamic_linker=no
   22906   ;;
   22907 esac
   22908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   22909 printf "%s\n" "$dynamic_linker" >&6; }
   22910 test no = "$dynamic_linker" && can_build_shared=no
   22911 
   22912 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   22913 if test yes = "$GCC"; then
   22914   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   22915 fi
   22916 
   22917 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   22918   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   22919 fi
   22920 
   22921 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   22922   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   22923 fi
   22924 
   22925 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   22926 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   22927 
   22928 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   22929 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   22930 
   22931 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   22932 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   22933 
   22934 
   22935 
   22936 
   22937 
   22938 
   22939 
   22940 
   22941 
   22942 
   22943 
   22944 
   22945 
   22946 
   22947 
   22948 
   22949 
   22950 
   22951 
   22952 
   22953 
   22954 
   22955 
   22956 
   22957 
   22958 
   22959 
   22960 
   22961 
   22962 
   22963 
   22964 
   22965 
   22966 
   22967 
   22968 
   22969 
   22970 
   22971 
   22972 
   22973     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   22974 printf %s "checking how to hardcode library paths into programs... " >&6; }
   22975 hardcode_action_CXX=
   22976 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   22977    test -n "$runpath_var_CXX" ||
   22978    test yes = "$hardcode_automatic_CXX"; then
   22979 
   22980   # We can hardcode non-existent directories.
   22981   if test no != "$hardcode_direct_CXX" &&
   22982      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   22983      # have to relink, otherwise we might link with an installed library
   22984      # when we should be linking with a yet-to-be-installed one
   22985      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   22986      test no != "$hardcode_minus_L_CXX"; then
   22987     # Linking always hardcodes the temporary library directory.
   22988     hardcode_action_CXX=relink
   22989   else
   22990     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   22991     hardcode_action_CXX=immediate
   22992   fi
   22993 else
   22994   # We cannot hardcode anything, or else we can only hardcode existing
   22995   # directories.
   22996   hardcode_action_CXX=unsupported
   22997 fi
   22998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   22999 printf "%s\n" "$hardcode_action_CXX" >&6; }
   23000 
   23001 if test relink = "$hardcode_action_CXX" ||
   23002    test yes = "$inherit_rpath_CXX"; then
   23003   # Fast installation is not supported
   23004   enable_fast_install=no
   23005 elif test yes = "$shlibpath_overrides_runpath" ||
   23006      test no = "$enable_shared"; then
   23007   # Fast installation is not necessary
   23008   enable_fast_install=needless
   23009 fi
   23010 
   23011 
   23012 
   23013 
   23014 
   23015 
   23016 
   23017   fi # test -n "$compiler"
   23018 
   23019   CC=$lt_save_CC
   23020   CFLAGS=$lt_save_CFLAGS
   23021   LDCXX=$LD
   23022   LD=$lt_save_LD
   23023   GCC=$lt_save_GCC
   23024   with_gnu_ld=$lt_save_with_gnu_ld
   23025   lt_cv_path_LDCXX=$lt_cv_path_LD
   23026   lt_cv_path_LD=$lt_save_path_LD
   23027   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   23028   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   23029 fi # test yes != "$_lt_caught_CXX_error"
   23030 
   23031 ac_ext=c
   23032 ac_cpp='$CPP $CPPFLAGS'
   23033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   23034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   23035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   23036 
   23037 
   23038 
   23039 
   23040 
   23041 
   23042 
   23043 
   23044 
   23045 
   23046 
   23047 
   23048 
   23049 
   23050 
   23051         ac_config_commands="$ac_config_commands libtool"
   23052 
   23053 
   23054 
   23055 
   23056 # Only expand once:
   23057 
   23058 
   23059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   23060 printf %s "checking for a sed that does not truncate output... " >&6; }
   23061 if test ${ac_cv_path_SED+y}
   23062 then :
   23063   printf %s "(cached) " >&6
   23064 else $as_nop
   23065             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   23066      for ac_i in 1 2 3 4 5 6 7; do
   23067        ac_script="$ac_script$as_nl$ac_script"
   23068      done
   23069      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   23070      { ac_script=; unset ac_script;}
   23071      if test -z "$SED"; then
   23072   ac_path_SED_found=false
   23073   # Loop through the user's path and test for each of PROGNAME-LIST
   23074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23075 for as_dir in $PATH
   23076 do
   23077   IFS=$as_save_IFS
   23078   case $as_dir in #(((
   23079     '') as_dir=./ ;;
   23080     */) ;;
   23081     *) as_dir=$as_dir/ ;;
   23082   esac
   23083     for ac_prog in sed gsed
   23084    do
   23085     for ac_exec_ext in '' $ac_executable_extensions; do
   23086       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   23087       as_fn_executable_p "$ac_path_SED" || continue
   23088 # Check for GNU ac_path_SED and select it if it is found.
   23089   # Check for GNU $ac_path_SED
   23090 case `"$ac_path_SED" --version 2>&1` in
   23091 *GNU*)
   23092   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   23093 *)
   23094   ac_count=0
   23095   printf %s 0123456789 >"conftest.in"
   23096   while :
   23097   do
   23098     cat "conftest.in" "conftest.in" >"conftest.tmp"
   23099     mv "conftest.tmp" "conftest.in"
   23100     cp "conftest.in" "conftest.nl"
   23101     printf "%s\n" '' >> "conftest.nl"
   23102     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   23103     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   23104     as_fn_arith $ac_count + 1 && ac_count=$as_val
   23105     if test $ac_count -gt ${ac_path_SED_max-0}; then
   23106       # Best one so far, save it but keep looking for a better one
   23107       ac_cv_path_SED="$ac_path_SED"
   23108       ac_path_SED_max=$ac_count
   23109     fi
   23110     # 10*(2^10) chars as input seems more than enough
   23111     test $ac_count -gt 10 && break
   23112   done
   23113   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   23114 esac
   23115 
   23116       $ac_path_SED_found && break 3
   23117     done
   23118   done
   23119   done
   23120 IFS=$as_save_IFS
   23121   if test -z "$ac_cv_path_SED"; then
   23122     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   23123   fi
   23124 else
   23125   ac_cv_path_SED=$SED
   23126 fi
   23127 
   23128 fi
   23129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   23130 printf "%s\n" "$ac_cv_path_SED" >&6; }
   23131  SED="$ac_cv_path_SED"
   23132   rm -f conftest.sed
   23133 
   23134 
   23135 
   23136 
   23137 
   23138 
   23139 
   23140         if test -n "$PYTHON"; then
   23141       # If the user set $PYTHON, use it and don't search something else.
   23142       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.6" >&5
   23143 printf %s "checking whether $PYTHON version is >= 3.6... " >&6; }
   23144       prog="import sys
   23145 # split strings by '.' and convert to numeric.  Append some zeros
   23146 # because we need at least 4 digits for the hex conversion.
   23147 # map returns an iterator in Python 3.0 and a list in 2.x
   23148 minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
   23149 minverhex = 0
   23150 # xrange is not present in Python 3.0 and range returns an iterator
   23151 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   23152 sys.exit(sys.hexversion < minverhex)"
   23153   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   23154    ($PYTHON -c "$prog") >&5 2>&5
   23155    ac_status=$?
   23156    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23157    (exit $ac_status); }
   23158 then :
   23159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23160 printf "%s\n" "yes" >&6; }
   23161 else $as_nop
   23162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23163 printf "%s\n" "no" >&6; }
   23164 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   23165 fi
   23166       am_display_PYTHON=$PYTHON
   23167     else
   23168       # Otherwise, try each interpreter until we find one that satisfies
   23169       # VERSION.
   23170       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.6" >&5
   23171 printf %s "checking for a Python interpreter with version >= 3.6... " >&6; }
   23172 if test ${am_cv_pathless_PYTHON+y}
   23173 then :
   23174   printf %s "(cached) " >&6
   23175 else $as_nop
   23176 
   23177 	for am_cv_pathless_PYTHON in python python2 python3  python3.11 python3.10  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
   23178 	  test "$am_cv_pathless_PYTHON" = none && break
   23179 	  prog="import sys
   23180 # split strings by '.' and convert to numeric.  Append some zeros
   23181 # because we need at least 4 digits for the hex conversion.
   23182 # map returns an iterator in Python 3.0 and a list in 2.x
   23183 minver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
   23184 minverhex = 0
   23185 # xrange is not present in Python 3.0 and range returns an iterator
   23186 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   23187 sys.exit(sys.hexversion < minverhex)"
   23188   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   23189    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   23190    ac_status=$?
   23191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23192    (exit $ac_status); }
   23193 then :
   23194   break
   23195 fi
   23196 	done
   23197 fi
   23198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   23199 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   23200       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   23201       if test "$am_cv_pathless_PYTHON" = none; then
   23202 	PYTHON=:
   23203       else
   23204         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   23205 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   23206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23207 printf %s "checking for $ac_word... " >&6; }
   23208 if test ${ac_cv_path_PYTHON+y}
   23209 then :
   23210   printf %s "(cached) " >&6
   23211 else $as_nop
   23212   case $PYTHON in
   23213   [\\/]* | ?:[\\/]*)
   23214   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   23215   ;;
   23216   *)
   23217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23218 for as_dir in $PATH
   23219 do
   23220   IFS=$as_save_IFS
   23221   case $as_dir in #(((
   23222     '') as_dir=./ ;;
   23223     */) ;;
   23224     *) as_dir=$as_dir/ ;;
   23225   esac
   23226     for ac_exec_ext in '' $ac_executable_extensions; do
   23227   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23228     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   23229     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23230     break 2
   23231   fi
   23232 done
   23233   done
   23234 IFS=$as_save_IFS
   23235 
   23236   ;;
   23237 esac
   23238 fi
   23239 PYTHON=$ac_cv_path_PYTHON
   23240 if test -n "$PYTHON"; then
   23241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   23242 printf "%s\n" "$PYTHON" >&6; }
   23243 else
   23244   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23245 printf "%s\n" "no" >&6; }
   23246 fi
   23247 
   23248 
   23249       fi
   23250       am_display_PYTHON=$am_cv_pathless_PYTHON
   23251     fi
   23252 
   23253 
   23254   if test "$PYTHON" = :; then
   23255         :
   23256   else
   23257 
   23258               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   23259 printf %s "checking for $am_display_PYTHON version... " >&6; }
   23260 if test ${am_cv_python_version+y}
   23261 then :
   23262   printf %s "(cached) " >&6
   23263 else $as_nop
   23264   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
   23265 fi
   23266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   23267 printf "%s\n" "$am_cv_python_version" >&6; }
   23268   PYTHON_VERSION=$am_cv_python_version
   23269 
   23270 
   23271         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   23272 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   23273 if test ${am_cv_python_platform+y}
   23274 then :
   23275   printf %s "(cached) " >&6
   23276 else $as_nop
   23277   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   23278 fi
   23279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   23280 printf "%s\n" "$am_cv_python_platform" >&6; }
   23281   PYTHON_PLATFORM=$am_cv_python_platform
   23282 
   23283 
   23284                             if test "x$prefix" = xNONE; then
   23285     am__usable_prefix=$ac_default_prefix
   23286   else
   23287     am__usable_prefix=$prefix
   23288   fi
   23289 
   23290   # Allow user to request using sys.* values from Python,
   23291   # instead of the GNU $prefix values.
   23292 
   23293 # Check whether --with-python-sys-prefix was given.
   23294 if test ${with_python_sys_prefix+y}
   23295 then :
   23296   withval=$with_python_sys_prefix; am_use_python_sys=:
   23297 else $as_nop
   23298   am_use_python_sys=false
   23299 fi
   23300 
   23301 
   23302   # Allow user to override whatever the default Python prefix is.
   23303 
   23304 # Check whether --with-python_prefix was given.
   23305 if test ${with_python_prefix+y}
   23306 then :
   23307   withval=$with_python_prefix; am_python_prefix_subst=$withval
   23308    am_cv_python_prefix=$withval
   23309    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   23310 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   23311    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   23312 printf "%s\n" "$am_cv_python_prefix" >&6; }
   23313 else $as_nop
   23314 
   23315    if $am_use_python_sys; then
   23316      # using python sys.prefix value, not GNU
   23317      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   23318 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   23319 if test ${am_cv_python_prefix+y}
   23320 then :
   23321   printf %s "(cached) " >&6
   23322 else $as_nop
   23323   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
   23324 fi
   23325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   23326 printf "%s\n" "$am_cv_python_prefix" >&6; }
   23327 
   23328                case $am_cv_python_prefix in
   23329      $am__usable_prefix*)
   23330        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   23331        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   23332        ;;
   23333      *)
   23334        am_python_prefix_subst=$am_cv_python_prefix
   23335        ;;
   23336      esac
   23337    else # using GNU prefix value, not python sys.prefix
   23338      am_python_prefix_subst='${prefix}'
   23339      am_python_prefix=$am_python_prefix_subst
   23340      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   23341 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   23342      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   23343 printf "%s\n" "$am_python_prefix" >&6; }
   23344    fi
   23345 fi
   23346 
   23347   # Substituting python_prefix_subst value.
   23348   PYTHON_PREFIX=$am_python_prefix_subst
   23349 
   23350 
   23351   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   23352   # another conditional: fall back to regular prefix if that was specified.
   23353 
   23354 # Check whether --with-python_exec_prefix was given.
   23355 if test ${with_python_exec_prefix+y}
   23356 then :
   23357   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   23358    am_cv_python_exec_prefix=$withval
   23359    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   23360 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   23361    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   23362 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   23363 else $as_nop
   23364 
   23365    # no explicit --with-python_exec_prefix, but if
   23366    # --with-python_prefix was given, use its value for python_exec_prefix too.
   23367    if test -n "$with_python_prefix"
   23368 then :
   23369   am_python_exec_prefix_subst=$with_python_prefix
   23370     am_cv_python_exec_prefix=$with_python_prefix
   23371     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   23372 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   23373     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   23374 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   23375 else $as_nop
   23376 
   23377     # Set am__usable_exec_prefix whether using GNU or Python values,
   23378     # since we use that variable for pyexecdir.
   23379     if test "x$exec_prefix" = xNONE; then
   23380       am__usable_exec_prefix=$am__usable_prefix
   23381     else
   23382       am__usable_exec_prefix=$exec_prefix
   23383     fi
   23384     #
   23385     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   23386       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   23387 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   23388 if test ${am_cv_python_exec_prefix+y}
   23389 then :
   23390   printf %s "(cached) " >&6
   23391 else $as_nop
   23392   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
   23393 fi
   23394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   23395 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   23396                         case $am_cv_python_exec_prefix in
   23397       $am__usable_exec_prefix*)
   23398         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   23399         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   23400         ;;
   23401       *)
   23402         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   23403         ;;
   23404      esac
   23405    else # using GNU $exec_prefix, not python sys.exec_prefix
   23406      am_python_exec_prefix_subst='${exec_prefix}'
   23407      am_python_exec_prefix=$am_python_exec_prefix_subst
   23408      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   23409 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   23410      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   23411 printf "%s\n" "$am_python_exec_prefix" >&6; }
   23412    fi
   23413 fi
   23414 fi
   23415 
   23416   # Substituting python_exec_prefix_subst.
   23417   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   23418 
   23419 
   23420   # Factor out some code duplication into this shell variable.
   23421   am_python_setup_sysconfig="\
   23422 import sys
   23423 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   23424 # with python 3.x.  See automake bug#10227.
   23425 try:
   23426     import sysconfig
   23427 except ImportError:
   23428     can_use_sysconfig = 0
   23429 else:
   23430     can_use_sysconfig = 1
   23431 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   23432 # <https://github.com/pypa/virtualenv/issues/118>
   23433 try:
   23434     from platform import python_implementation
   23435     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   23436         can_use_sysconfig = 0
   23437 except ImportError:
   23438     pass"
   23439 
   23440 
   23441               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   23442 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   23443 if test ${am_cv_python_pythondir+y}
   23444 then :
   23445   printf %s "(cached) " >&6
   23446 else $as_nop
   23447   if test "x$am_cv_python_prefix" = x; then
   23448      am_py_prefix=$am__usable_prefix
   23449    else
   23450      am_py_prefix=$am_cv_python_prefix
   23451    fi
   23452    am_cv_python_pythondir=`$PYTHON -c "
   23453 $am_python_setup_sysconfig
   23454 if can_use_sysconfig:
   23455   if hasattr(sysconfig, 'get_default_scheme'):
   23456     scheme = sysconfig.get_default_scheme()
   23457   else:
   23458     scheme = sysconfig._get_default_scheme()
   23459   if scheme == 'posix_local':
   23460     # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
   23461     scheme = 'posix_prefix'
   23462   sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
   23463 else:
   23464   from distutils import sysconfig
   23465   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   23466 sys.stdout.write(sitedir)"`
   23467    #
   23468    case $am_cv_python_pythondir in
   23469    $am_py_prefix*)
   23470      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   23471      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   23472      ;;
   23473    *)
   23474      case $am_py_prefix in
   23475        /usr|/System*) ;;
   23476        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   23477           ;;
   23478      esac
   23479      ;;
   23480    esac
   23481 
   23482 fi
   23483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   23484 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   23485   pythondir=$am_cv_python_pythondir
   23486 
   23487 
   23488           pkgpythondir=\${pythondir}/$PACKAGE
   23489 
   23490 
   23491           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   23492 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   23493 if test ${am_cv_python_pyexecdir+y}
   23494 then :
   23495   printf %s "(cached) " >&6
   23496 else $as_nop
   23497   if test "x$am_cv_python_exec_prefix" = x; then
   23498      am_py_exec_prefix=$am__usable_exec_prefix
   23499    else
   23500      am_py_exec_prefix=$am_cv_python_exec_prefix
   23501    fi
   23502    am_cv_python_pyexecdir=`$PYTHON -c "
   23503 $am_python_setup_sysconfig
   23504 if can_use_sysconfig:
   23505   if hasattr(sysconfig, 'get_default_scheme'):
   23506     scheme = sysconfig.get_default_scheme()
   23507   else:
   23508     scheme = sysconfig._get_default_scheme()
   23509   if scheme == 'posix_local':
   23510     # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
   23511     scheme = 'posix_prefix'
   23512   sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
   23513 else:
   23514   from distutils import sysconfig
   23515   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   23516 sys.stdout.write(sitedir)"`
   23517    #
   23518    case $am_cv_python_pyexecdir in
   23519    $am_py_exec_prefix*)
   23520      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   23521      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   23522      ;;
   23523    *)
   23524      case $am_py_exec_prefix in
   23525        /usr|/System*) ;;
   23526        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   23527           ;;
   23528      esac
   23529      ;;
   23530    esac
   23531 
   23532 fi
   23533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   23534 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   23535   pyexecdir=$am_cv_python_pyexecdir
   23536 
   23537 
   23538       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   23539 
   23540 
   23541 
   23542   fi
   23543 
   23544  if test "$PYTHON" != :; then
   23545   HAVE_PYTHON_TRUE=
   23546   HAVE_PYTHON_FALSE='#'
   23547 else
   23548   HAVE_PYTHON_TRUE='#'
   23549   HAVE_PYTHON_FALSE=
   23550 fi
   23551 
   23552 
   23553 # Extract the first word of "cygpath", so it can be a program name with args.
   23554 set dummy cygpath; ac_word=$2
   23555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23556 printf %s "checking for $ac_word... " >&6; }
   23557 if test ${ac_cv_prog_CYGPATH+y}
   23558 then :
   23559   printf %s "(cached) " >&6
   23560 else $as_nop
   23561   if test -n "$CYGPATH"; then
   23562   ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test.
   23563 else
   23564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23565 for as_dir in $PATH
   23566 do
   23567   IFS=$as_save_IFS
   23568   case $as_dir in #(((
   23569     '') as_dir=./ ;;
   23570     */) ;;
   23571     *) as_dir=$as_dir/ ;;
   23572   esac
   23573     for ac_exec_ext in '' $ac_executable_extensions; do
   23574   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23575     ac_cv_prog_CYGPATH="cygpath"
   23576     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23577     break 2
   23578   fi
   23579 done
   23580   done
   23581 IFS=$as_save_IFS
   23582 
   23583 fi
   23584 fi
   23585 CYGPATH=$ac_cv_prog_CYGPATH
   23586 if test -n "$CYGPATH"; then
   23587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
   23588 printf "%s\n" "$CYGPATH" >&6; }
   23589 else
   23590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23591 printf "%s\n" "no" >&6; }
   23592 fi
   23593 
   23594 
   23595 # Extract the first word of "perl", so it can be a program name with args.
   23596 set dummy perl; ac_word=$2
   23597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23598 printf %s "checking for $ac_word... " >&6; }
   23599 if test ${ac_cv_prog_PERL+y}
   23600 then :
   23601   printf %s "(cached) " >&6
   23602 else $as_nop
   23603   if test -n "$PERL"; then
   23604   ac_cv_prog_PERL="$PERL" # Let the user override the test.
   23605 else
   23606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23607 for as_dir in $PATH
   23608 do
   23609   IFS=$as_save_IFS
   23610   case $as_dir in #(((
   23611     '') as_dir=./ ;;
   23612     */) ;;
   23613     *) as_dir=$as_dir/ ;;
   23614   esac
   23615     for ac_exec_ext in '' $ac_executable_extensions; do
   23616   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23617     ac_cv_prog_PERL="perl"
   23618     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23619     break 2
   23620   fi
   23621 done
   23622   done
   23623 IFS=$as_save_IFS
   23624 
   23625 fi
   23626 fi
   23627 PERL=$ac_cv_prog_PERL
   23628 if test -n "$PERL"; then
   23629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   23630 printf "%s\n" "$PERL" >&6; }
   23631 else
   23632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23633 printf "%s\n" "no" >&6; }
   23634 fi
   23635 
   23636 
   23637 # Extract the first word of "pdflatex", so it can be a program name with args.
   23638 set dummy pdflatex; ac_word=$2
   23639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23640 printf %s "checking for $ac_word... " >&6; }
   23641 if test ${ac_cv_prog_PDFLATEX+y}
   23642 then :
   23643   printf %s "(cached) " >&6
   23644 else $as_nop
   23645   if test -n "$PDFLATEX"; then
   23646   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
   23647 else
   23648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23649 for as_dir in $PATH
   23650 do
   23651   IFS=$as_save_IFS
   23652   case $as_dir in #(((
   23653     '') as_dir=./ ;;
   23654     */) ;;
   23655     *) as_dir=$as_dir/ ;;
   23656   esac
   23657     for ac_exec_ext in '' $ac_executable_extensions; do
   23658   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23659     ac_cv_prog_PDFLATEX="pdflatex"
   23660     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23661     break 2
   23662   fi
   23663 done
   23664   done
   23665 IFS=$as_save_IFS
   23666 
   23667 fi
   23668 fi
   23669 PDFLATEX=$ac_cv_prog_PDFLATEX
   23670 if test -n "$PDFLATEX"; then
   23671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
   23672 printf "%s\n" "$PDFLATEX" >&6; }
   23673 else
   23674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23675 printf "%s\n" "no" >&6; }
   23676 fi
   23677 
   23678 
   23679 # Extract the first word of "pod2html", so it can be a program name with args.
   23680 set dummy pod2html; ac_word=$2
   23681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23682 printf %s "checking for $ac_word... " >&6; }
   23683 if test ${ac_cv_prog_POD2HTML+y}
   23684 then :
   23685   printf %s "(cached) " >&6
   23686 else $as_nop
   23687   if test -n "$POD2HTML"; then
   23688   ac_cv_prog_POD2HTML="$POD2HTML" # Let the user override the test.
   23689 else
   23690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23691 for as_dir in $PATH
   23692 do
   23693   IFS=$as_save_IFS
   23694   case $as_dir in #(((
   23695     '') as_dir=./ ;;
   23696     */) ;;
   23697     *) as_dir=$as_dir/ ;;
   23698   esac
   23699     for ac_exec_ext in '' $ac_executable_extensions; do
   23700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23701     ac_cv_prog_POD2HTML="pod2html"
   23702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23703     break 2
   23704   fi
   23705 done
   23706   done
   23707 IFS=$as_save_IFS
   23708 
   23709 fi
   23710 fi
   23711 POD2HTML=$ac_cv_prog_POD2HTML
   23712 if test -n "$POD2HTML"; then
   23713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $POD2HTML" >&5
   23714 printf "%s\n" "$POD2HTML" >&6; }
   23715 else
   23716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23717 printf "%s\n" "no" >&6; }
   23718 fi
   23719 
   23720 
   23721 
   23722 
   23723 if test "$host_os" = "mingw32" -a -n "$CYGPATH"; then
   23724 	OS_SRCDIR=`$CYGPATH -m "$srcdir"`
   23725 else
   23726 	OS_SRCDIR="$srcdir"
   23727 fi
   23728 
   23729  if test -n "$PERL" -a -n "$PDFLATEX" -a -n "$POD2HTML"; then
   23730   GENERATE_DOC_TRUE=
   23731   GENERATE_DOC_FALSE='#'
   23732 else
   23733   GENERATE_DOC_TRUE='#'
   23734   GENERATE_DOC_FALSE=
   23735 fi
   23736 
   23737 
   23738 # ------ AX CREATE STDINT H -------------------------------------
   23739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
   23740 printf %s "checking for stdint types... " >&6; }
   23741 ac_stdint_h=`echo include/isl/stdint.h`
   23742 # try to shortcircuit - if the default include path of the compiler
   23743 # can find a "stdint.h" header then we assume that all compilers can.
   23744 if test ${ac_cv_header_stdint_t+y}
   23745 then :
   23746   printf %s "(cached) " >&6
   23747 else $as_nop
   23748 
   23749 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
   23750 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
   23751 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
   23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23753 /* end confdefs.h.  */
   23754 #include <stdint.h>
   23755 int
   23756 main (void)
   23757 {
   23758 int_least32_t v = 0;
   23759   ;
   23760   return 0;
   23761 }
   23762 _ACEOF
   23763 if ac_fn_c_try_compile "$LINENO"
   23764 then :
   23765   ac_cv_stdint_result="(assuming C99 compatible system)"
   23766  ac_cv_header_stdint_t="stdint.h";
   23767 else $as_nop
   23768   ac_cv_header_stdint_t=""
   23769 fi
   23770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23771 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
   23772 CFLAGS="-std=c99"
   23773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23774 /* end confdefs.h.  */
   23775 #include <stdint.h>
   23776 int
   23777 main (void)
   23778 {
   23779 int_least32_t v = 0;
   23780   ;
   23781   return 0;
   23782 }
   23783 _ACEOF
   23784 if ac_fn_c_try_compile "$LINENO"
   23785 then :
   23786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
   23787 printf "%s\n" "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
   23788 fi
   23789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23790 fi
   23791 CXXFLAGS="$old_CXXFLAGS"
   23792 CPPFLAGS="$old_CPPFLAGS"
   23793 CFLAGS="$old_CFLAGS"
   23794 fi
   23795 
   23796 
   23797 v="... $ac_cv_header_stdint_h"
   23798 if test "$ac_stdint_h" = "stdint.h" ; then
   23799  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
   23800 printf "%s\n" "(are you sure you want them in ./stdint.h?)" >&6; }
   23801 elif test "$ac_stdint_h" = "inttypes.h" ; then
   23802  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
   23803 printf "%s\n" "(are you sure you want them in ./inttypes.h?)" >&6; }
   23804 elif test "_$ac_cv_header_stdint_t" = "_" ; then
   23805  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
   23806 printf "%s\n" "(putting them into $ac_stdint_h)$v" >&6; }
   23807 else
   23808  ac_cv_header_stdint="$ac_cv_header_stdint_t"
   23809  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
   23810 printf "%s\n" "$ac_cv_header_stdint (shortcircuit)" >&6; }
   23811 fi
   23812 
   23813 if test "_$ac_cv_header_stdint_t" = "_" ; then # cannot shortcircuit..
   23814 
   23815 
   23816 inttype_headers=`echo  | sed -e 's/,/ /g'`
   23817 
   23818 ac_cv_stdint_result="(no helpful system typedefs seen)"
   23819 
   23820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   23821 printf %s "checking for stdint uintptr_t... " >&6; }
   23822 if test ${ac_cv_header_stdint_x+y}
   23823 then :
   23824   printf %s "(cached) " >&6
   23825 else $as_nop
   23826 
   23827  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
   23828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   23829 printf "%s\n" "(..)" >&6; }
   23830   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
   23831   do
   23832    unset ac_cv_type_uintptr_t
   23833    unset ac_cv_type_uint64_t
   23834    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
   23835 "
   23836 if test "x$ac_cv_type_uintptr_t" = xyes
   23837 then :
   23838   ac_cv_header_stdint_x=$i
   23839 else $as_nop
   23840   continue
   23841 fi
   23842 
   23843    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   23844 "
   23845 if test "x$ac_cv_type_uint64_t" = xyes
   23846 then :
   23847   and64="/uint64_t"
   23848 else $as_nop
   23849   and64=""
   23850 fi
   23851 
   23852    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
   23853  break
   23854   done
   23855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   23856 printf %s "checking for stdint uintptr_t... " >&6; }
   23857 
   23858 fi
   23859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
   23860 printf "%s\n" "$ac_cv_header_stdint_x" >&6; }
   23861 
   23862 
   23863 if test "_$ac_cv_header_stdint_x" = "_" ; then
   23864 
   23865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   23866 printf %s "checking for stdint uint32_t... " >&6; }
   23867 if test ${ac_cv_header_stdint_o+y}
   23868 then :
   23869   printf %s "(cached) " >&6
   23870 else $as_nop
   23871 
   23872  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
   23873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   23874 printf "%s\n" "(..)" >&6; }
   23875   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
   23876   do
   23877    unset ac_cv_type_uint32_t
   23878    unset ac_cv_type_uint64_t
   23879    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
   23880 "
   23881 if test "x$ac_cv_type_uint32_t" = xyes
   23882 then :
   23883   ac_cv_header_stdint_o=$i
   23884 else $as_nop
   23885   continue
   23886 fi
   23887 
   23888    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   23889 "
   23890 if test "x$ac_cv_type_uint64_t" = xyes
   23891 then :
   23892   and64="/uint64_t"
   23893 else $as_nop
   23894   and64=""
   23895 fi
   23896 
   23897    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
   23898  break
   23899    break;
   23900   done
   23901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   23902 printf %s "checking for stdint uint32_t... " >&6; }
   23903 
   23904 fi
   23905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
   23906 printf "%s\n" "$ac_cv_header_stdint_o" >&6; }
   23907 
   23908 fi
   23909 
   23910 if test "_$ac_cv_header_stdint_x" = "_" ; then
   23911 if test "_$ac_cv_header_stdint_o" = "_" ; then
   23912 
   23913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   23914 printf %s "checking for stdint u_int32_t... " >&6; }
   23915 if test ${ac_cv_header_stdint_u+y}
   23916 then :
   23917   printf %s "(cached) " >&6
   23918 else $as_nop
   23919 
   23920  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
   23921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   23922 printf "%s\n" "(..)" >&6; }
   23923   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
   23924    unset ac_cv_type_u_int32_t
   23925    unset ac_cv_type_u_int64_t
   23926    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
   23927 "
   23928 if test "x$ac_cv_type_u_int32_t" = xyes
   23929 then :
   23930   ac_cv_header_stdint_u=$i
   23931 else $as_nop
   23932   continue
   23933 fi
   23934 
   23935    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
   23936 "
   23937 if test "x$ac_cv_type_u_int64_t" = xyes
   23938 then :
   23939   and64="/u_int64_t"
   23940 else $as_nop
   23941   and64=""
   23942 fi
   23943 
   23944    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
   23945  break
   23946    break;
   23947   done
   23948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   23949 printf %s "checking for stdint u_int32_t... " >&6; }
   23950 
   23951 fi
   23952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
   23953 printf "%s\n" "$ac_cv_header_stdint_u" >&6; }
   23954 
   23955 fi fi
   23956 
   23957 if test "_$ac_cv_header_stdint_x" = "_" ; then
   23958    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
   23959 printf %s "checking for stdint datatype model... " >&6; }
   23960    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   23961 printf "%s\n" "(..)" >&6; }
   23962 
   23963    # The cast to long int works around a bug in the HP C Compiler
   23964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   23965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   23966 # This bug is HP SR number 8606223364.
   23967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   23968 printf %s "checking size of char... " >&6; }
   23969 if test ${ac_cv_sizeof_char+y}
   23970 then :
   23971   printf %s "(cached) " >&6
   23972 else $as_nop
   23973   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"
   23974 then :
   23975 
   23976 else $as_nop
   23977   if test "$ac_cv_type_char" = yes; then
   23978      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23979 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23980 as_fn_error 77 "cannot compute sizeof (char)
   23981 See \`config.log' for more details" "$LINENO" 5; }
   23982    else
   23983      ac_cv_sizeof_char=0
   23984    fi
   23985 fi
   23986 
   23987 fi
   23988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   23989 printf "%s\n" "$ac_cv_sizeof_char" >&6; }
   23990 
   23991 
   23992 
   23993 printf "%s\n" "#define SIZEOF_CHAR $ac_cv_sizeof_char" >>confdefs.h
   23994 
   23995 
   23996    # The cast to long int works around a bug in the HP C Compiler
   23997 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   23998 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   23999 # This bug is HP SR number 8606223364.
   24000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   24001 printf %s "checking size of short... " >&6; }
   24002 if test ${ac_cv_sizeof_short+y}
   24003 then :
   24004   printf %s "(cached) " >&6
   24005 else $as_nop
   24006   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"
   24007 then :
   24008 
   24009 else $as_nop
   24010   if test "$ac_cv_type_short" = yes; then
   24011      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24012 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24013 as_fn_error 77 "cannot compute sizeof (short)
   24014 See \`config.log' for more details" "$LINENO" 5; }
   24015    else
   24016      ac_cv_sizeof_short=0
   24017    fi
   24018 fi
   24019 
   24020 fi
   24021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   24022 printf "%s\n" "$ac_cv_sizeof_short" >&6; }
   24023 
   24024 
   24025 
   24026 printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
   24027 
   24028 
   24029    # The cast to long int works around a bug in the HP C Compiler
   24030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   24031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   24032 # This bug is HP SR number 8606223364.
   24033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   24034 printf %s "checking size of int... " >&6; }
   24035 if test ${ac_cv_sizeof_int+y}
   24036 then :
   24037   printf %s "(cached) " >&6
   24038 else $as_nop
   24039   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"
   24040 then :
   24041 
   24042 else $as_nop
   24043   if test "$ac_cv_type_int" = yes; then
   24044      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24045 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24046 as_fn_error 77 "cannot compute sizeof (int)
   24047 See \`config.log' for more details" "$LINENO" 5; }
   24048    else
   24049      ac_cv_sizeof_int=0
   24050    fi
   24051 fi
   24052 
   24053 fi
   24054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   24055 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
   24056 
   24057 
   24058 
   24059 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
   24060 
   24061 
   24062    # The cast to long int works around a bug in the HP C Compiler
   24063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   24064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   24065 # This bug is HP SR number 8606223364.
   24066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   24067 printf %s "checking size of long... " >&6; }
   24068 if test ${ac_cv_sizeof_long+y}
   24069 then :
   24070   printf %s "(cached) " >&6
   24071 else $as_nop
   24072   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"
   24073 then :
   24074 
   24075 else $as_nop
   24076   if test "$ac_cv_type_long" = yes; then
   24077      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24078 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24079 as_fn_error 77 "cannot compute sizeof (long)
   24080 See \`config.log' for more details" "$LINENO" 5; }
   24081    else
   24082      ac_cv_sizeof_long=0
   24083    fi
   24084 fi
   24085 
   24086 fi
   24087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   24088 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
   24089 
   24090 
   24091 
   24092 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
   24093 
   24094 
   24095    # The cast to long int works around a bug in the HP C Compiler
   24096 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   24097 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   24098 # This bug is HP SR number 8606223364.
   24099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
   24100 printf %s "checking size of void*... " >&6; }
   24101 if test ${ac_cv_sizeof_voidp+y}
   24102 then :
   24103   printf %s "(cached) " >&6
   24104 else $as_nop
   24105   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"
   24106 then :
   24107 
   24108 else $as_nop
   24109   if test "$ac_cv_type_voidp" = yes; then
   24110      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24112 as_fn_error 77 "cannot compute sizeof (void*)
   24113 See \`config.log' for more details" "$LINENO" 5; }
   24114    else
   24115      ac_cv_sizeof_voidp=0
   24116    fi
   24117 fi
   24118 
   24119 fi
   24120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
   24121 printf "%s\n" "$ac_cv_sizeof_voidp" >&6; }
   24122 
   24123 
   24124 
   24125 printf "%s\n" "#define SIZEOF_VOIDP $ac_cv_sizeof_voidp" >>confdefs.h
   24126 
   24127 
   24128    ac_cv_char_data_model=""
   24129    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
   24130    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
   24131    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
   24132    ac_cv_long_data_model=""
   24133    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
   24134    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
   24135    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
   24136    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking data model" >&5
   24137 printf %s "checking data model... " >&6; }
   24138    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
   24139     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
   24140     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
   24141     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
   24142     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
   24143     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
   24144     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
   24145     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
   24146     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
   24147     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
   24148     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
   24149     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
   24150     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
   24151     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
   24152     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
   24153     222/*|333/*|444/*|666/*|888/*) :
   24154                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
   24155      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
   24156    esac
   24157    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
   24158 printf "%s\n" "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
   24159 
   24160 fi
   24161 
   24162 if test "_$ac_cv_header_stdint_x" != "_" ; then
   24163    ac_cv_header_stdint="$ac_cv_header_stdint_x"
   24164 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
   24165    ac_cv_header_stdint="$ac_cv_header_stdint_o"
   24166 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
   24167    ac_cv_header_stdint="$ac_cv_header_stdint_u"
   24168 else
   24169    ac_cv_header_stdint="stddef.h"
   24170 fi
   24171 
   24172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
   24173 printf %s "checking for extra inttypes in chosen header... " >&6; }
   24174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
   24175 printf "%s\n" "($ac_cv_header_stdint)" >&6; }
   24176 unset ac_cv_type_int_least32_t
   24177 unset ac_cv_type_int_fast32_t
   24178 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
   24179 "
   24180 if test "x$ac_cv_type_int_least32_t" = xyes
   24181 then :
   24182 
   24183 fi
   24184 
   24185 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
   24186 "
   24187 if test "x$ac_cv_type_int_fast32_t" = xyes
   24188 then :
   24189 
   24190 fi
   24191 
   24192 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
   24193 "
   24194 if test "x$ac_cv_type_intmax_t" = xyes
   24195 then :
   24196 
   24197 fi
   24198 
   24199 
   24200 fi # shortcircuit to system "stdint.h"
   24201 # ------------------ PREPARE VARIABLES ------------------------------
   24202 if test "$GCC" = "yes" ; then
   24203 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
   24204 else
   24205 ac_cv_stdint_message="using $CC"
   24206 fi
   24207 
   24208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
   24209 printf "%s\n" "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
   24210 
   24211 # ----------------- DONE inttypes.h checks START header -------------
   24212 ac_config_commands="$ac_config_commands $ac_stdint_h"
   24213 
   24214 
   24215 
   24216 
   24217 # Check whether --with-int was given.
   24218 if test ${with_int+y}
   24219 then :
   24220   withval=$with_int;
   24221 else $as_nop
   24222   with_int=gmp
   24223 fi
   24224 
   24225 case "$with_int" in
   24226 gmp|imath|imath-32)
   24227 	;;
   24228 *)
   24229 	as_fn_error $? "bad value ${withval} for --with-int (use gmp, imath or imath-32)" "$LINENO" 5
   24230 esac
   24231 
   24232 
   24233 
   24234 
   24235 
   24236 case "$with_int" in
   24237 gmp)
   24238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   24239 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   24240 if test ${ac_cv_c_undeclared_builtin_options+y}
   24241 then :
   24242   printf %s "(cached) " >&6
   24243 else $as_nop
   24244   ac_save_CFLAGS=$CFLAGS
   24245    ac_cv_c_undeclared_builtin_options='cannot detect'
   24246    for ac_arg in '' -fno-builtin; do
   24247      CFLAGS="$ac_save_CFLAGS $ac_arg"
   24248      # This test program should *not* compile successfully.
   24249      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24250 /* end confdefs.h.  */
   24251 
   24252 int
   24253 main (void)
   24254 {
   24255 (void) strchr;
   24256   ;
   24257   return 0;
   24258 }
   24259 _ACEOF
   24260 if ac_fn_c_try_compile "$LINENO"
   24261 then :
   24262 
   24263 else $as_nop
   24264   # This test program should compile successfully.
   24265         # No library function is consistently available on
   24266         # freestanding implementations, so test against a dummy
   24267         # declaration.  Include always-available headers on the
   24268         # off chance that they somehow elicit warnings.
   24269         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24270 /* end confdefs.h.  */
   24271 #include <float.h>
   24272 #include <limits.h>
   24273 #include <stdarg.h>
   24274 #include <stddef.h>
   24275 extern void ac_decl (int, char *);
   24276 
   24277 int
   24278 main (void)
   24279 {
   24280 (void) ac_decl (0, (char *) 0);
   24281   (void) ac_decl;
   24282 
   24283   ;
   24284   return 0;
   24285 }
   24286 _ACEOF
   24287 if ac_fn_c_try_compile "$LINENO"
   24288 then :
   24289   if test x"$ac_arg" = x
   24290 then :
   24291   ac_cv_c_undeclared_builtin_options='none needed'
   24292 else $as_nop
   24293   ac_cv_c_undeclared_builtin_options=$ac_arg
   24294 fi
   24295           break
   24296 fi
   24297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   24298 fi
   24299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   24300     done
   24301     CFLAGS=$ac_save_CFLAGS
   24302 
   24303 fi
   24304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   24305 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   24306   case $ac_cv_c_undeclared_builtin_options in #(
   24307   'cannot detect') :
   24308     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24309 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24310 as_fn_error $? "cannot make $CC report undeclared builtins
   24311 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   24312   'none needed') :
   24313     ac_c_undeclared_builtin_options='' ;; #(
   24314   *) :
   24315     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   24316 esac
   24317 
   24318 
   24319 
   24320 printf "%s\n" "#define USE_GMP_FOR_MP /**/" >>confdefs.h
   24321 
   24322 
   24323 
   24324 
   24325 # Check whether --with-gmp was given.
   24326 if test ${with_gmp+y}
   24327 then :
   24328   withval=$with_gmp;
   24329 fi
   24330 
   24331 case "system" in
   24332 system|build)
   24333 
   24334 # Check whether --with-gmp_prefix was given.
   24335 if test ${with_gmp_prefix+y}
   24336 then :
   24337   withval=$with_gmp_prefix;
   24338 fi
   24339 
   24340 
   24341 # Check whether --with-gmp_exec_prefix was given.
   24342 if test ${with_gmp_exec_prefix+y}
   24343 then :
   24344   withval=$with_gmp_exec_prefix;
   24345 fi
   24346 
   24347 esac
   24348 
   24349 # Check whether --with-gmp_builddir was given.
   24350 if test ${with_gmp_builddir+y}
   24351 then :
   24352   withval=$with_gmp_builddir;
   24353 fi
   24354 
   24355 if test "x$with_gmp_prefix" != "x" -a "x$with_gmp_exec_prefix" = "x"; then
   24356 	with_gmp_exec_prefix=$with_gmp_prefix
   24357 fi
   24358 if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
   24359 	if test "x$with_gmp" != "x" -a "x$with_gmp" != "xyes" -a "x$with_gmp" != "xsystem"; then
   24360 		as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
   24361 	fi
   24362 	with_gmp="system"
   24363 fi
   24364 if test "x$with_gmp_builddir" != "x"; then
   24365 	if test "x$with_gmp" != "x" -a "x$with_gmp" != "xyes" -a "x$with_gmp" != "xbuild"; then
   24366 		as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
   24367 	fi
   24368 	with_gmp="build"
   24369 	gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
   24370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: gmp sources in $gmp_srcdir" >&5
   24371 printf "%s\n" "$as_me: gmp sources in $gmp_srcdir" >&6;}
   24372 fi
   24373 if test "x$with_gmp_exec_prefix" != "x"; then
   24374 	export PKG_CONFIG_PATH="$with_gmp_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
   24375 fi
   24376 case "$with_gmp" in
   24377 system|build)
   24378 	;;
   24379 *)
   24380 	case "system" in
   24381 	bundled)
   24382 		if test -d $srcdir/.git -a \
   24383 			-d $srcdir/gmp -a \
   24384 			! -d $srcdir/gmp/.git; then
   24385 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule gmp not initialized" >&5
   24386 printf "%s\n" "$as_me: WARNING: git repo detected, but submodule gmp not initialized" >&2;}
   24387 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
   24388 printf "%s\n" "$as_me: WARNING: You may want to run" >&2;}
   24389 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
   24390 printf "%s\n" "$as_me: WARNING: 	git submodule init" >&2;}
   24391 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
   24392 printf "%s\n" "$as_me: WARNING: 	git submodule update" >&2;}
   24393 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
   24394 printf "%s\n" "$as_me: WARNING: 	sh autogen.sh" >&2;}
   24395 		fi
   24396 		if test -f $srcdir/gmp/configure; then
   24397 			with_gmp="bundled"
   24398 		else
   24399 			with_gmp="no"
   24400 		fi
   24401 		;;
   24402 	*)
   24403 		with_gmp="system"
   24404 		;;
   24405 	esac
   24406 	;;
   24407 esac
   24408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which gmp to use" >&5
   24409 printf %s "checking which gmp to use... " >&6; }
   24410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_gmp" >&5
   24411 printf "%s\n" "$with_gmp" >&6; }
   24412 
   24413 
   24414 case "$with_gmp" in
   24415 system)
   24416 	if test "x$with_gmp_prefix" != "x"; then
   24417 		MP_CPPFLAGS="-I$with_gmp_prefix/include"
   24418 		MP_LDFLAGS="-L$with_gmp_prefix/lib"
   24419 	fi
   24420 	MP_LIBS=-lgmp
   24421 	SAVE_CPPFLAGS="$CPPFLAGS"
   24422 	SAVE_LDFLAGS="$LDFLAGS"
   24423 	SAVE_LIBS="$LIBS"
   24424 	CPPFLAGS="$MP_CPPFLAGS $CPPFLAGS"
   24425 	LDFLAGS="$MP_LDFLAGS $LDFLAGS"
   24426 	LIBS="$MP_LIBS $LIBS"
   24427 	ac_fn_c_check_header_compile "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
   24428 if test "x$ac_cv_header_gmp_h" = xyes
   24429 then :
   24430 
   24431 else $as_nop
   24432   as_fn_error $? "gmp.h header not found" "$LINENO" 5
   24433 fi
   24434 
   24435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5
   24436 printf %s "checking for main in -lgmp... " >&6; }
   24437 if test ${ac_cv_lib_gmp_main+y}
   24438 then :
   24439   printf %s "(cached) " >&6
   24440 else $as_nop
   24441   ac_check_lib_save_LIBS=$LIBS
   24442 LIBS="-lgmp  $LIBS"
   24443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24444 /* end confdefs.h.  */
   24445 
   24446 
   24447 int
   24448 main (void)
   24449 {
   24450 return main ();
   24451   ;
   24452   return 0;
   24453 }
   24454 _ACEOF
   24455 if ac_fn_c_try_link "$LINENO"
   24456 then :
   24457   ac_cv_lib_gmp_main=yes
   24458 else $as_nop
   24459   ac_cv_lib_gmp_main=no
   24460 fi
   24461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   24462     conftest$ac_exeext conftest.$ac_ext
   24463 LIBS=$ac_check_lib_save_LIBS
   24464 fi
   24465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5
   24466 printf "%s\n" "$ac_cv_lib_gmp_main" >&6; }
   24467 if test "x$ac_cv_lib_gmp_main" = xyes
   24468 then :
   24469   printf "%s\n" "#define HAVE_LIBGMP 1" >>confdefs.h
   24470 
   24471   LIBS="-lgmp $LIBS"
   24472 
   24473 else $as_nop
   24474   as_fn_error $? "gmp library not found" "$LINENO" 5
   24475 fi
   24476 
   24477 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24478 /* end confdefs.h.  */
   24479 #include <gmp.h>
   24480 int
   24481 main (void)
   24482 {
   24483 
   24484 		mpz_t n, d;
   24485 		if (mpz_divisible_p(n, d))
   24486 			mpz_divexact_ui(n, n, 4);
   24487 
   24488   ;
   24489   return 0;
   24490 }
   24491 _ACEOF
   24492 if ac_fn_c_try_link "$LINENO"
   24493 then :
   24494 
   24495 else $as_nop
   24496   as_fn_error $? "gmp library too old" "$LINENO" 5
   24497 fi
   24498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   24499     conftest$ac_exeext conftest.$ac_ext
   24500 	CPPFLAGS="$SAVE_CPPFLAGS"
   24501 	LDFLAGS="$SAVE_LDFLAGS"
   24502 	LIBS="$SAVE_LIBS"
   24503 	;;
   24504 build)
   24505 	MP_CPPFLAGS="-I$gmp_srcdir -I$with_gmp_builddir"
   24506 	MP_LIBS="$with_gmp_builddir/libgmp.la"
   24507 	;;
   24508 esac
   24509 SAVE_CPPFLAGS="$CPPFLAGS"
   24510 SAVE_LDFLAGS="$LDFLAGS"
   24511 SAVE_LIBS="$LIBS"
   24512 CPPFLAGS="$MP_CPPFLAGS $CPPFLAGS"
   24513 LDFLAGS="$MP_LDFLAGS $LDFLAGS"
   24514 LIBS="$MP_LIBS $LIBS"
   24515 need_get_memory_functions=false
   24516 ac_fn_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h>
   24517 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24518 if test "x$ac_cv_have_decl_mp_get_memory_functions" = xyes
   24519 then :
   24520   ac_have_decl=1
   24521 else $as_nop
   24522   ac_have_decl=0
   24523 fi
   24524 printf "%s\n" "#define HAVE_DECL_MP_GET_MEMORY_FUNCTIONS $ac_have_decl" >>confdefs.h
   24525 if test $ac_have_decl = 1
   24526 then :
   24527 
   24528 else $as_nop
   24529 
   24530 	need_get_memory_functions=true
   24531 
   24532 fi
   24533 
   24534 CPPFLAGS="$SAVE_CPPFLAGS"
   24535 LDFLAGS="$SAVE_LDFLAGS"
   24536 LIBS="$SAVE_LIBS"
   24537  if test x$need_get_memory_functions = xtrue; then
   24538   NEED_GET_MEMORY_FUNCTIONS_TRUE=
   24539   NEED_GET_MEMORY_FUNCTIONS_FALSE='#'
   24540 else
   24541   NEED_GET_MEMORY_FUNCTIONS_TRUE='#'
   24542   NEED_GET_MEMORY_FUNCTIONS_FALSE=
   24543 fi
   24544 
   24545 
   24546 	;;
   24547 imath|imath-32)
   24548 
   24549 
   24550 printf "%s\n" "#define USE_IMATH_FOR_MP /**/" >>confdefs.h
   24551 
   24552 
   24553 MP_CPPFLAGS="-I$srcdir/imath_wrap"
   24554 MP_LDFLAGS=""
   24555 MP_LIBS=""
   24556 
   24557 SAVE_CPPFLAGS="$CPPFLAGS"
   24558 CPPFLAGS="$MP_CPPFLAGS $CPPFLAGS"
   24559 ac_fn_c_check_header_compile "$LINENO" "imath.h" "ac_cv_header_imath_h" "$ac_includes_default"
   24560 if test "x$ac_cv_header_imath_h" = xyes
   24561 then :
   24562 
   24563 else $as_nop
   24564   as_fn_error $? "imath.h header not found" "$LINENO" 5
   24565 fi
   24566 
   24567 ac_fn_c_check_header_compile "$LINENO" "gmp_compat.h" "ac_cv_header_gmp_compat_h" "$ac_includes_default"
   24568 if test "x$ac_cv_header_gmp_compat_h" = xyes
   24569 then :
   24570 
   24571 else $as_nop
   24572   as_fn_error $? "gmp_compat.h header not found" "$LINENO" 5
   24573 fi
   24574 
   24575 CPPFLAGS="$SAVE_CPPFLAGS"
   24576 
   24577  if test x = xfalse; then
   24578   NEED_GET_MEMORY_FUNCTIONS_TRUE=
   24579   NEED_GET_MEMORY_FUNCTIONS_FALSE='#'
   24580 else
   24581   NEED_GET_MEMORY_FUNCTIONS_TRUE='#'
   24582   NEED_GET_MEMORY_FUNCTIONS_FALSE=
   24583 fi
   24584 
   24585 
   24586 	;;
   24587 esac
   24588 if test "x$with_int" = "ximath-32" -a "x$GCC" = "xyes"; then
   24589 	MP_CFLAGS="-std=gnu99 $MP_CFLAGS"
   24590 fi
   24591 
   24592  if test x$with_int = ximath -o x$with_int = ximath-32; then
   24593   IMATH_FOR_MP_TRUE=
   24594   IMATH_FOR_MP_FALSE='#'
   24595 else
   24596   IMATH_FOR_MP_TRUE='#'
   24597   IMATH_FOR_MP_FALSE=
   24598 fi
   24599 
   24600  if test x$with_int = xgmp; then
   24601   GMP_FOR_MP_TRUE=
   24602   GMP_FOR_MP_FALSE='#'
   24603 else
   24604   GMP_FOR_MP_TRUE='#'
   24605   GMP_FOR_MP_FALSE=
   24606 fi
   24607 
   24608 
   24609  if test "x$HAVE_CXX11" = "x1"; then
   24610   HAVE_CXX11_TRUE=
   24611   HAVE_CXX11_FALSE='#'
   24612 else
   24613   HAVE_CXX11_TRUE='#'
   24614   HAVE_CXX11_FALSE=
   24615 fi
   24616 
   24617  if test "x$HAVE_CXX17" = "x1"; then
   24618   HAVE_CXX17_TRUE=
   24619   HAVE_CXX17_FALSE='#'
   24620 else
   24621   HAVE_CXX17_TRUE='#'
   24622   HAVE_CXX17_FALSE=
   24623 fi
   24624 
   24625  if test "x$with_int" = "ximath-32"; then
   24626   SMALL_INT_OPT_TRUE=
   24627   SMALL_INT_OPT_FALSE='#'
   24628 else
   24629   SMALL_INT_OPT_TRUE='#'
   24630   SMALL_INT_OPT_FALSE=
   24631 fi
   24632 
   24633 if test "x$with_int" = "ximath-32"
   24634 then :
   24635 
   24636 
   24637 printf "%s\n" "#define USE_SMALL_INT_OPT /**/" >>confdefs.h
   24638 
   24639 
   24640 fi
   24641 
   24642 ac_fn_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "#include <strings.h>
   24643 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24644 if test "x$ac_cv_have_decl_ffs" = xyes
   24645 then :
   24646   ac_have_decl=1
   24647 else $as_nop
   24648   ac_have_decl=0
   24649 fi
   24650 printf "%s\n" "#define HAVE_DECL_FFS $ac_have_decl" >>confdefs.h
   24651 
   24652 ac_fn_check_decl "$LINENO" "__builtin_ffs" "ac_cv_have_decl___builtin_ffs" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   24653 if test "x$ac_cv_have_decl___builtin_ffs" = xyes
   24654 then :
   24655   ac_have_decl=1
   24656 else $as_nop
   24657   ac_have_decl=0
   24658 fi
   24659 printf "%s\n" "#define HAVE_DECL___BUILTIN_FFS $ac_have_decl" >>confdefs.h
   24660 
   24661 ac_fn_check_decl "$LINENO" "_BitScanForward" "ac_cv_have_decl__BitScanForward" "#include <intrin.h>
   24662 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24663 if test "x$ac_cv_have_decl__BitScanForward" = xyes
   24664 then :
   24665   ac_have_decl=1
   24666 else $as_nop
   24667   ac_have_decl=0
   24668 fi
   24669 printf "%s\n" "#define HAVE_DECL__BITSCANFORWARD $ac_have_decl" >>confdefs.h
   24670 
   24671 if test "x$ac_cv_have_decl_ffs" = xno -a \
   24672 		"x$ac_cv_have_decl___builtin_ffs" = xno -a \
   24673 		"x$ac_cv_have_decl__BitScanForward" = xno; then
   24674 	as_fn_error $? "No ffs implementation found" "$LINENO" 5
   24675 fi
   24676 ac_fn_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" "#include <strings.h>
   24677 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24678 if test "x$ac_cv_have_decl_strcasecmp" = xyes
   24679 then :
   24680   ac_have_decl=1
   24681 else $as_nop
   24682   ac_have_decl=0
   24683 fi
   24684 printf "%s\n" "#define HAVE_DECL_STRCASECMP $ac_have_decl" >>confdefs.h
   24685 ac_fn_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "#include <strings.h>
   24686 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24687 if test "x$ac_cv_have_decl_strncasecmp" = xyes
   24688 then :
   24689   ac_have_decl=1
   24690 else $as_nop
   24691   ac_have_decl=0
   24692 fi
   24693 printf "%s\n" "#define HAVE_DECL_STRNCASECMP $ac_have_decl" >>confdefs.h
   24694 
   24695 ac_fn_check_decl "$LINENO" "_stricmp" "ac_cv_have_decl__stricmp" "#include <string.h>
   24696 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24697 if test "x$ac_cv_have_decl__stricmp" = xyes
   24698 then :
   24699   ac_have_decl=1
   24700 else $as_nop
   24701   ac_have_decl=0
   24702 fi
   24703 printf "%s\n" "#define HAVE_DECL__STRICMP $ac_have_decl" >>confdefs.h
   24704 ac_fn_check_decl "$LINENO" "_strnicmp" "ac_cv_have_decl__strnicmp" "#include <string.h>
   24705 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24706 if test "x$ac_cv_have_decl__strnicmp" = xyes
   24707 then :
   24708   ac_have_decl=1
   24709 else $as_nop
   24710   ac_have_decl=0
   24711 fi
   24712 printf "%s\n" "#define HAVE_DECL__STRNICMP $ac_have_decl" >>confdefs.h
   24713 
   24714 if test "x$ac_cv_have_decl_strcasecmp" = xno -a \
   24715 		"x$ac_cv_have_decl__stricmp" = xno; then
   24716 	as_fn_error $? "No strcasecmp implementation found" "$LINENO" 5
   24717 fi
   24718 if test "x$ac_cv_have_decl_strncasecmp" = xno -a \
   24719 		"x$ac_cv_have_decl__strnicmp" = xno; then
   24720 	as_fn_error $? "No strncasecmp implementation found" "$LINENO" 5
   24721 fi
   24722 ac_fn_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include <stdio.h>
   24723 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24724 if test "x$ac_cv_have_decl_snprintf" = xyes
   24725 then :
   24726   ac_have_decl=1
   24727 else $as_nop
   24728   ac_have_decl=0
   24729 fi
   24730 printf "%s\n" "#define HAVE_DECL_SNPRINTF $ac_have_decl" >>confdefs.h
   24731 ac_fn_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
   24732 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   24733 if test "x$ac_cv_have_decl__snprintf" = xyes
   24734 then :
   24735   ac_have_decl=1
   24736 else $as_nop
   24737   ac_have_decl=0
   24738 fi
   24739 printf "%s\n" "#define HAVE_DECL__SNPRINTF $ac_have_decl" >>confdefs.h
   24740 
   24741 if test "x$ac_cv_have_decl_snprintf" = xno -a \
   24742 		"x$ac_cv_have_decl__snprintf" = xno; then
   24743 	as_fn_error $? "No snprintf implementation found" "$LINENO" 5
   24744 fi
   24745 
   24746 
   24747 
   24748 
   24749 # Check whether --with-clang was given.
   24750 if test ${with_clang+y}
   24751 then :
   24752   withval=$with_clang;
   24753 fi
   24754 
   24755 case "system" in
   24756 system|no)
   24757 
   24758 # Check whether --with-clang_prefix was given.
   24759 if test ${with_clang_prefix+y}
   24760 then :
   24761   withval=$with_clang_prefix;
   24762 fi
   24763 
   24764 
   24765 # Check whether --with-clang_exec_prefix was given.
   24766 if test ${with_clang_exec_prefix+y}
   24767 then :
   24768   withval=$with_clang_exec_prefix;
   24769 fi
   24770 
   24771 esac
   24772 
   24773 if test "x$with_clang_prefix" != "x" -a "x$with_clang_exec_prefix" = "x"; then
   24774 	with_clang_exec_prefix=$with_clang_prefix
   24775 fi
   24776 if test "x$with_clang_prefix" != "x" -o "x$with_clang_exec_prefix" != "x"; then
   24777 	if test "x$with_clang" != "x" -a "x$with_clang" != "xyes" -a "x$with_clang" != "xsystem"; then
   24778 		as_fn_error $? "Setting $with_clang_prefix implies use of system clang" "$LINENO" 5
   24779 	fi
   24780 	with_clang="system"
   24781 fi
   24782 if test "x$with_clang_builddir" != "x"; then
   24783 	if test "x$with_clang" != "x" -a "x$with_clang" != "xyes" -a "x$with_clang" != "xbuild"; then
   24784 		as_fn_error $? "Setting $with_clang_builddir implies use of build clang" "$LINENO" 5
   24785 	fi
   24786 	with_clang="build"
   24787 	clang_srcdir=`echo @abs_srcdir@ | $with_clang_builddir/config.status --file=-`
   24788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: clang sources in $clang_srcdir" >&5
   24789 printf "%s\n" "$as_me: clang sources in $clang_srcdir" >&6;}
   24790 fi
   24791 if test "x$with_clang_exec_prefix" != "x"; then
   24792 	export PKG_CONFIG_PATH="$with_clang_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
   24793 fi
   24794 case "$with_clang" in
   24795 system|no)
   24796 	;;
   24797 *)
   24798 	case "no" in
   24799 	bundled)
   24800 		if test -d $srcdir/.git -a \
   24801 			-d $srcdir/clang -a \
   24802 			! -d $srcdir/clang/.git; then
   24803 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule clang not initialized" >&5
   24804 printf "%s\n" "$as_me: WARNING: git repo detected, but submodule clang not initialized" >&2;}
   24805 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
   24806 printf "%s\n" "$as_me: WARNING: You may want to run" >&2;}
   24807 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule init" >&5
   24808 printf "%s\n" "$as_me: WARNING: 	git submodule init" >&2;}
   24809 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 	git submodule update" >&5
   24810 printf "%s\n" "$as_me: WARNING: 	git submodule update" >&2;}
   24811 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 	sh autogen.sh" >&5
   24812 printf "%s\n" "$as_me: WARNING: 	sh autogen.sh" >&2;}
   24813 		fi
   24814 		if test -f $srcdir/clang/configure; then
   24815 			with_clang="bundled"
   24816 		else
   24817 			with_clang="no"
   24818 		fi
   24819 		;;
   24820 	*)
   24821 		with_clang="no"
   24822 		;;
   24823 	esac
   24824 	;;
   24825 esac
   24826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which clang to use" >&5
   24827 printf %s "checking which clang to use... " >&6; }
   24828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_clang" >&5
   24829 printf "%s\n" "$with_clang" >&6; }
   24830 
   24831 
   24832  if test $with_clang = system; then
   24833   HAVE_CLANG_TRUE=
   24834   HAVE_CLANG_FALSE='#'
   24835 else
   24836   HAVE_CLANG_TRUE='#'
   24837   HAVE_CLANG_FALSE=
   24838 fi
   24839 
   24840  if (test $with_clang = system -a "x$HAVE_CXX11" = "x1") || \
   24841      test -f $srcdir/include/isl/cpp.h; then
   24842   HAVE_CPP_ISL_H_TRUE=
   24843   HAVE_CPP_ISL_H_FALSE='#'
   24844 else
   24845   HAVE_CPP_ISL_H_TRUE='#'
   24846   HAVE_CPP_ISL_H_FALSE=
   24847 fi
   24848 
   24849 
   24850 	    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
   24851 printf %s "checking for C compiler vendor... " >&6; }
   24852 if test ${ax_cv_c_compiler_vendor+y}
   24853 then :
   24854   printf %s "(cached) " >&6
   24855 else $as_nop
   24856 
   24857 	vendors="
   24858 		intel:		__ICC,__ECC,__INTEL_COMPILER
   24859 		ibm:		__xlc__,__xlC__,__IBMC__,__IBMCPP__,__ibmxl__
   24860 		pathscale:	__PATHCC__,__PATHSCALE__
   24861 		clang:		__clang__
   24862 		cray:		_CRAYC
   24863 		fujitsu:	__FUJITSU
   24864 		sdcc:		SDCC,__SDCC
   24865 		sx:		_SX
   24866 		nvhpc:		__NVCOMPILER
   24867 		portland:	__PGI
   24868 		pcc:		__PCC__
   24869 		gnu:		__GNUC__
   24870 		sun:		__SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95
   24871 		hp:		__HP_cc,__HP_aCC
   24872 		dec:		__DECC,__DECCXX,__DECC_VER,__DECCXX_VER
   24873 		borland:	__BORLANDC__,__CODEGEARC__,__TURBOC__
   24874 		comeau:		__COMO__
   24875 		kai:		__KCC
   24876 		lcc:		__LCC__
   24877 		sgi:		__sgi,sgi
   24878 		microsoft:	_MSC_VER
   24879 		metrowerks:	__MWERKS__
   24880 		watcom:		__WATCOMC__
   24881 		tcc:		__TINYC__
   24882 		unknown:	UNKNOWN
   24883 	"
   24884 	for ventest in $vendors; do
   24885 	    case $ventest in
   24886 		*:)
   24887 		    vendor=$ventest
   24888 		    continue
   24889 		    ;;
   24890 		*)
   24891 		    vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")"
   24892 		    ;;
   24893 	    esac
   24894 
   24895 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24896 /* end confdefs.h.  */
   24897 
   24898 int
   24899 main (void)
   24900 {
   24901 
   24902 #if !($vencpp)
   24903       thisisanerror;
   24904 #endif
   24905 
   24906   ;
   24907   return 0;
   24908 }
   24909 _ACEOF
   24910 if ac_fn_c_try_compile "$LINENO"
   24911 then :
   24912   break
   24913 fi
   24914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   24915 	done
   24916 
   24917 	ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
   24918 
   24919 fi
   24920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
   24921 printf "%s\n" "$ax_cv_c_compiler_vendor" >&6; }
   24922 
   24923 
   24924 	WARNING_FLAGS=""
   24925 
   24926 	if test "${ax_cv_c_compiler_vendor}" = "clang"; then
   24927 												WARNING_FLAGS="-Wall"
   24928 	fi
   24929 
   24930 
   24931 
   24932 
   24933 PACKAGE_CFLAGS="$MP_CPPFLAGS"
   24934 PACKAGE_LDFLAGS="$MP_LDFLAGS"
   24935 PACKAGE_LIBS="-lisl $MP_LIBS"
   24936 
   24937 # we need the expanded forms...
   24938 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24939 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24940 
   24941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
   24942 printf %s "checking our pkgconfig libname... " >&6; }
   24943 test ".$ax_create_pkgconfig_libname" != "." || \
   24944 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
   24945 test ".$ax_create_pkgconfig_libname" != "." || \
   24946 ax_create_pkgconfig_libname="$PACKAGE"
   24947 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
   24948 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
   24949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
   24950 printf "%s\n" "$ax_create_pkgconfig_libname" >&6; }
   24951 
   24952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
   24953 printf %s "checking our pkgconfig version... " >&6; }
   24954 test ".$ax_create_pkgconfig_version" != "." || \
   24955 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
   24956 test ".$ax_create_pkgconfig_version" != "." || \
   24957 ax_create_pkgconfig_version="$VERSION"
   24958 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
   24959 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
   24960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
   24961 printf "%s\n" "$ax_create_pkgconfig_version" >&6; }
   24962 
   24963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
   24964 printf %s "checking our pkgconfig_libdir... " >&6; }
   24965 test ".$pkgconfig_libdir" = "." && \
   24966 pkgconfig_libdir='${libdir}/pkgconfig'
   24967 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
   24968 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
   24969 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
   24970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
   24971 printf "%s\n" "$pkgconfig_libdir" >&6; }
   24972 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
   24973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
   24974 printf "%s\n" "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
   24975 
   24976 
   24977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
   24978 printf %s "checking our pkgconfig_libfile... " >&6; }
   24979 test ".$pkgconfig_libfile" != "." || \
   24980 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
   24981 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
   24982 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
   24983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
   24984 printf "%s\n" "$pkgconfig_libfile" >&6; }
   24985 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
   24986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
   24987 printf "%s\n" "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
   24988 
   24989 
   24990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
   24991 printf %s "checking our package / suffix... " >&6; }
   24992 ax_create_pkgconfig_suffix="$program_suffix"
   24993 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
   24994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
   24995 printf "%s\n" "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
   24996 
   24997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
   24998 printf %s "checking our pkgconfig description... " >&6; }
   24999 ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
   25000 test ".$ax_create_pkgconfig_description" != "." || \
   25001 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
   25002 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
   25003 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
   25004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
   25005 printf "%s\n" "$ax_create_pkgconfig_description" >&6; }
   25006 
   25007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
   25008 printf %s "checking our pkgconfig requires... " >&6; }
   25009 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
   25010 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
   25011 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
   25012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
   25013 printf "%s\n" "$ax_create_pkgconfig_requires" >&6; }
   25014 
   25015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
   25016 printf %s "checking our pkgconfig ext libs... " >&6; }
   25017 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
   25018 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
   25019 ax_create_pkgconfig_libs="$ax_create_pkgconfig_pkglibs $LIBS"
   25020 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
   25021 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
   25022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
   25023 printf "%s\n" "$ax_create_pkgconfig_libs" >&6; }
   25024 
   25025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
   25026 printf %s "checking our pkgconfig cppflags... " >&6; }
   25027 ax_create_pkgconfig_cppflags="$PACKAGE_CFLAGS"
   25028 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
   25029 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
   25030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
   25031 printf "%s\n" "$ax_create_pkgconfig_cppflags" >&6; }
   25032 
   25033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
   25034 printf %s "checking our pkgconfig ldflags... " >&6; }
   25035 ax_create_pkgconfig_ldflags="$PACKAGE_LDFLAGS"
   25036 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
   25037 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
   25038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
   25039 printf "%s\n" "$ax_create_pkgconfig_ldflags" >&6; }
   25040 
   25041 test ".$ax_create_pkgconfig_generate" != "." || \
   25042 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
   25043 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
   25044 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
   25045 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
   25046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
   25047 printf "%s\n" "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
   25048 
   25049 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
   25050 ax_create_pkgconfig_src_libdir=`pwd`
   25051 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
   25052 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25053 	 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
   25054 	 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
   25055 	 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
   25056 printf "%s\n" X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
   25057     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25058 	    s//\1/
   25059 	    q
   25060 	  }
   25061 	  /^X\(\/\/\)[^/].*/{
   25062 	    s//\1/
   25063 	    q
   25064 	  }
   25065 	  /^X\(\/\/\)$/{
   25066 	    s//\1/
   25067 	    q
   25068 	  }
   25069 	  /^X\(\/\).*/{
   25070 	    s//\1/
   25071 	    q
   25072 	  }
   25073 	  s/.*/./; q'`
   25074 test ! -d $ax_create_pkgconfig_src_libdir/src || \
   25075 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
   25076 case ".$objdir" in
   25077 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
   25078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
   25079 printf "%s\n" "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
   25080 fi
   25081 
   25082 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
   25083 ax_create_pkgconfig_src_headers=`pwd`
   25084 v="$ac_top_srcdir" ;
   25085 test ".$v" != "." || v="$ax_spec_dir"
   25086 test ".$v" != "." || v="$srcdir"
   25087 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
   25088 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
   25089 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25090 	 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
   25091 	 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
   25092 	 X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
   25093 printf "%s\n" X"$ax_create_pkgconfig_src_headers/$v/x" |
   25094     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25095 	    s//\1/
   25096 	    q
   25097 	  }
   25098 	  /^X\(\/\/\)[^/].*/{
   25099 	    s//\1/
   25100 	    q
   25101 	  }
   25102 	  /^X\(\/\/\)$/{
   25103 	    s//\1/
   25104 	    q
   25105 	  }
   25106 	  /^X\(\/\).*/{
   25107 	    s//\1/
   25108 	    q
   25109 	  }
   25110 	  s/.*/./; q'`
   25111 test ! -d $ax_create_pkgconfig_src_headers/include || \
   25112 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
   25113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
   25114 printf "%s\n" "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
   25115 fi
   25116 
   25117 
   25118 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
   25119 
   25120 
   25121 
   25122 
   25123 
   25124 
   25125 	if test -f $srcdir/.git; then
   25126 		gitdir=`GIT_DIR=$srcdir/.git git rev-parse --git-dir`
   25127 		GIT_HEAD="$gitdir/index"
   25128 		GIT_REPO="$gitdir"
   25129 		GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe --always`
   25130 	elif test -f $srcdir/.git/HEAD; then
   25131 		GIT_HEAD="$srcdir/.git/index"
   25132 		GIT_REPO="$srcdir/.git"
   25133 		GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe --always`
   25134 	elif test -f $srcdir/GIT_HEAD_ID; then
   25135 		GIT_HEAD_ID=`cat $srcdir/GIT_HEAD_ID`
   25136 	else
   25137 		mysrcdir=`(cd $srcdir; pwd)`
   25138 		head=`basename $mysrcdir | sed -e 's/.*-//'`
   25139 		head2=`echo $head | sed -e 's/^0-9a-f//'`
   25140 		head3=`echo $head2 | sed -e 's/........................................//'`
   25141 		if test "x$head3" = "x" -a "x$head" = "x$head2"; then
   25142 			GIT_HEAD_ID="$head"
   25143 		else
   25144 			GIT_HEAD_ID="UNKNOWN"
   25145 		fi
   25146 	fi
   25147 	if test -z "$GIT_REPO" ; then
   25148 		GIT_HEAD_VERSION="$GIT_HEAD_ID"
   25149 	else
   25150 	    GIT_HEAD_VERSION="\`GIT_DIR=$GIT_REPO git describe --always\`"
   25151 	fi
   25152 
   25153 
   25154 
   25155 ac_config_headers="$ac_config_headers isl_config.h"
   25156 
   25157 ac_config_files="$ac_config_files isl_srcdir.c"
   25158 
   25159 ac_config_files="$ac_config_files Makefile"
   25160 
   25161 ac_config_files="$ac_config_files doc/Makefile"
   25162 
   25163 if test $with_clang = system; then
   25164 
   25165 
   25166 subdirs="$subdirs interface"
   25167 
   25168 fi
   25169 ac_config_files="$ac_config_files bound_test.sh"
   25170 
   25171 ac_config_files="$ac_config_files codegen_test.sh"
   25172 
   25173 ac_config_files="$ac_config_files pip_test.sh"
   25174 
   25175 ac_config_files="$ac_config_files flow_test.sh"
   25176 
   25177 ac_config_files="$ac_config_files schedule_test.sh"
   25178 
   25179 cat >confcache <<\_ACEOF
   25180 # This file is a shell script that caches the results of configure
   25181 # tests run on this system so they can be shared between configure
   25182 # scripts and configure runs, see configure's option --config-cache.
   25183 # It is not useful on other systems.  If it contains results you don't
   25184 # want to keep, you may remove or edit it.
   25185 #
   25186 # config.status only pays attention to the cache file if you give it
   25187 # the --recheck option to rerun configure.
   25188 #
   25189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   25190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   25191 # following values.
   25192 
   25193 _ACEOF
   25194 
   25195 # The following way of writing the cache mishandles newlines in values,
   25196 # but we know of no workaround that is simple, portable, and efficient.
   25197 # So, we kill variables containing newlines.
   25198 # Ultrix sh set writes to stderr and can't be redirected directly,
   25199 # and sets the high bit in the cache file unless we assign to the vars.
   25200 (
   25201   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   25202     eval ac_val=\$$ac_var
   25203     case $ac_val in #(
   25204     *${as_nl}*)
   25205       case $ac_var in #(
   25206       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   25207 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   25208       esac
   25209       case $ac_var in #(
   25210       _ | IFS | as_nl) ;; #(
   25211       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   25212       *) { eval $ac_var=; unset $ac_var;} ;;
   25213       esac ;;
   25214     esac
   25215   done
   25216 
   25217   (set) 2>&1 |
   25218     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   25219     *${as_nl}ac_space=\ *)
   25220       # `set' does not quote correctly, so add quotes: double-quote
   25221       # substitution turns \\\\ into \\, and sed turns \\ into \.
   25222       sed -n \
   25223 	"s/'/'\\\\''/g;
   25224 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   25225       ;; #(
   25226     *)
   25227       # `set' quotes correctly as required by POSIX, so do not add quotes.
   25228       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   25229       ;;
   25230     esac |
   25231     sort
   25232 ) |
   25233   sed '
   25234      /^ac_cv_env_/b end
   25235      t clear
   25236      :clear
   25237      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   25238      t end
   25239      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   25240      :end' >>confcache
   25241 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   25242   if test -w "$cache_file"; then
   25243     if test "x$cache_file" != "x/dev/null"; then
   25244       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   25245 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   25246       if test ! -f "$cache_file" || test -h "$cache_file"; then
   25247 	cat confcache >"$cache_file"
   25248       else
   25249         case $cache_file in #(
   25250         */* | ?:*)
   25251 	  mv -f confcache "$cache_file"$$ &&
   25252 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   25253         *)
   25254 	  mv -f confcache "$cache_file" ;;
   25255 	esac
   25256       fi
   25257     fi
   25258   else
   25259     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   25260 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   25261   fi
   25262 fi
   25263 rm -f confcache
   25264 
   25265 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   25266 # Let make expand exec_prefix.
   25267 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   25268 
   25269 DEFS=-DHAVE_CONFIG_H
   25270 
   25271 ac_libobjs=
   25272 ac_ltlibobjs=
   25273 U=
   25274 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   25275   # 1. Remove the extension, and $U if already installed.
   25276   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   25277   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   25278   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   25279   #    will be set to the directory where LIBOBJS objects are built.
   25280   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   25281   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   25282 done
   25283 LIBOBJS=$ac_libobjs
   25284 
   25285 LTLIBOBJS=$ac_ltlibobjs
   25286 
   25287 
   25288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   25289 printf %s "checking that generated files are newer than configure... " >&6; }
   25290    if test -n "$am_sleep_pid"; then
   25291      # Hide warnings about reused PIDs.
   25292      wait $am_sleep_pid 2>/dev/null
   25293    fi
   25294    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   25295 printf "%s\n" "done" >&6; }
   25296  if test -n "$EXEEXT"; then
   25297   am__EXEEXT_TRUE=
   25298   am__EXEEXT_FALSE='#'
   25299 else
   25300   am__EXEEXT_TRUE='#'
   25301   am__EXEEXT_FALSE=
   25302 fi
   25303 
   25304 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   25305   as_fn_error $? "conditional \"AMDEP\" was never defined.
   25306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25307 fi
   25308 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   25309   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   25310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25311 fi
   25312 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   25313   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   25314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25315 fi
   25316 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   25317   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   25318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25319 fi
   25320 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
   25321   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
   25322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25323 fi
   25324 if test -z "${GENERATE_DOC_TRUE}" && test -z "${GENERATE_DOC_FALSE}"; then
   25325   as_fn_error $? "conditional \"GENERATE_DOC\" was never defined.
   25326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25327 fi
   25328 if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then
   25329   as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
   25330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25331 fi
   25332 if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then
   25333   as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
   25334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25335 fi
   25336 if test -z "${IMATH_FOR_MP_TRUE}" && test -z "${IMATH_FOR_MP_FALSE}"; then
   25337   as_fn_error $? "conditional \"IMATH_FOR_MP\" was never defined.
   25338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25339 fi
   25340 if test -z "${GMP_FOR_MP_TRUE}" && test -z "${GMP_FOR_MP_FALSE}"; then
   25341   as_fn_error $? "conditional \"GMP_FOR_MP\" was never defined.
   25342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25343 fi
   25344 if test -z "${HAVE_CXX11_TRUE}" && test -z "${HAVE_CXX11_FALSE}"; then
   25345   as_fn_error $? "conditional \"HAVE_CXX11\" was never defined.
   25346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25347 fi
   25348 if test -z "${HAVE_CXX17_TRUE}" && test -z "${HAVE_CXX17_FALSE}"; then
   25349   as_fn_error $? "conditional \"HAVE_CXX17\" was never defined.
   25350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25351 fi
   25352 if test -z "${SMALL_INT_OPT_TRUE}" && test -z "${SMALL_INT_OPT_FALSE}"; then
   25353   as_fn_error $? "conditional \"SMALL_INT_OPT\" was never defined.
   25354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25355 fi
   25356 if test -z "${HAVE_CLANG_TRUE}" && test -z "${HAVE_CLANG_FALSE}"; then
   25357   as_fn_error $? "conditional \"HAVE_CLANG\" was never defined.
   25358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25359 fi
   25360 if test -z "${HAVE_CPP_ISL_H_TRUE}" && test -z "${HAVE_CPP_ISL_H_FALSE}"; then
   25361   as_fn_error $? "conditional \"HAVE_CPP_ISL_H\" was never defined.
   25362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25363 fi
   25364 
   25365 : "${CONFIG_STATUS=./config.status}"
   25366 ac_write_fail=0
   25367 ac_clean_files_save=$ac_clean_files
   25368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   25369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   25370 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   25371 as_write_fail=0
   25372 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   25373 #! $SHELL
   25374 # Generated by $as_me.
   25375 # Run this file to recreate the current configuration.
   25376 # Compiler output produced by configure, useful for debugging
   25377 # configure, is in config.log if it exists.
   25378 
   25379 debug=false
   25380 ac_cs_recheck=false
   25381 ac_cs_silent=false
   25382 
   25383 SHELL=\${CONFIG_SHELL-$SHELL}
   25384 export SHELL
   25385 _ASEOF
   25386 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   25387 ## -------------------- ##
   25388 ## M4sh Initialization. ##
   25389 ## -------------------- ##
   25390 
   25391 # Be more Bourne compatible
   25392 DUALCASE=1; export DUALCASE # for MKS sh
   25393 as_nop=:
   25394 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   25395 then :
   25396   emulate sh
   25397   NULLCMD=:
   25398   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   25399   # is contrary to our usage.  Disable this feature.
   25400   alias -g '${1+"$@"}'='"$@"'
   25401   setopt NO_GLOB_SUBST
   25402 else $as_nop
   25403   case `(set -o) 2>/dev/null` in #(
   25404   *posix*) :
   25405     set -o posix ;; #(
   25406   *) :
   25407      ;;
   25408 esac
   25409 fi
   25410 
   25411 
   25412 
   25413 # Reset variables that may have inherited troublesome values from
   25414 # the environment.
   25415 
   25416 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   25417 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   25418 # side effect of setting IFS to empty, thus disabling word splitting.)
   25419 # Quoting is to prevent editors from complaining about space-tab.
   25420 as_nl='
   25421 '
   25422 export as_nl
   25423 IFS=" ""	$as_nl"
   25424 
   25425 PS1='$ '
   25426 PS2='> '
   25427 PS4='+ '
   25428 
   25429 # Ensure predictable behavior from utilities with locale-dependent output.
   25430 LC_ALL=C
   25431 export LC_ALL
   25432 LANGUAGE=C
   25433 export LANGUAGE
   25434 
   25435 # We cannot yet rely on "unset" to work, but we need these variables
   25436 # to be unset--not just set to an empty or harmless value--now, to
   25437 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   25438 # also avoids known problems related to "unset" and subshell syntax
   25439 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   25440 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   25441 do eval test \${$as_var+y} \
   25442   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   25443 done
   25444 
   25445 # Ensure that fds 0, 1, and 2 are open.
   25446 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   25447 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   25448 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   25449 
   25450 # The user is always right.
   25451 if ${PATH_SEPARATOR+false} :; then
   25452   PATH_SEPARATOR=:
   25453   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   25454     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   25455       PATH_SEPARATOR=';'
   25456   }
   25457 fi
   25458 
   25459 
   25460 # Find who we are.  Look in the path if we contain no directory separator.
   25461 as_myself=
   25462 case $0 in #((
   25463   *[\\/]* ) as_myself=$0 ;;
   25464   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25465 for as_dir in $PATH
   25466 do
   25467   IFS=$as_save_IFS
   25468   case $as_dir in #(((
   25469     '') as_dir=./ ;;
   25470     */) ;;
   25471     *) as_dir=$as_dir/ ;;
   25472   esac
   25473     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   25474   done
   25475 IFS=$as_save_IFS
   25476 
   25477      ;;
   25478 esac
   25479 # We did not find ourselves, most probably we were run as `sh COMMAND'
   25480 # in which case we are not to be found in the path.
   25481 if test "x$as_myself" = x; then
   25482   as_myself=$0
   25483 fi
   25484 if test ! -f "$as_myself"; then
   25485   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   25486   exit 1
   25487 fi
   25488 
   25489 
   25490 
   25491 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   25492 # ----------------------------------------
   25493 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   25494 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   25495 # script with STATUS, using 1 if that was 0.
   25496 as_fn_error ()
   25497 {
   25498   as_status=$1; test $as_status -eq 0 && as_status=1
   25499   if test "$4"; then
   25500     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   25501     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   25502   fi
   25503   printf "%s\n" "$as_me: error: $2" >&2
   25504   as_fn_exit $as_status
   25505 } # as_fn_error
   25506 
   25507 
   25508 
   25509 # as_fn_set_status STATUS
   25510 # -----------------------
   25511 # Set $? to STATUS, without forking.
   25512 as_fn_set_status ()
   25513 {
   25514   return $1
   25515 } # as_fn_set_status
   25516 
   25517 # as_fn_exit STATUS
   25518 # -----------------
   25519 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   25520 as_fn_exit ()
   25521 {
   25522   set +e
   25523   as_fn_set_status $1
   25524   exit $1
   25525 } # as_fn_exit
   25526 
   25527 # as_fn_unset VAR
   25528 # ---------------
   25529 # Portably unset VAR.
   25530 as_fn_unset ()
   25531 {
   25532   { eval $1=; unset $1;}
   25533 }
   25534 as_unset=as_fn_unset
   25535 
   25536 # as_fn_append VAR VALUE
   25537 # ----------------------
   25538 # Append the text in VALUE to the end of the definition contained in VAR. Take
   25539 # advantage of any shell optimizations that allow amortized linear growth over
   25540 # repeated appends, instead of the typical quadratic growth present in naive
   25541 # implementations.
   25542 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   25543 then :
   25544   eval 'as_fn_append ()
   25545   {
   25546     eval $1+=\$2
   25547   }'
   25548 else $as_nop
   25549   as_fn_append ()
   25550   {
   25551     eval $1=\$$1\$2
   25552   }
   25553 fi # as_fn_append
   25554 
   25555 # as_fn_arith ARG...
   25556 # ------------------
   25557 # Perform arithmetic evaluation on the ARGs, and store the result in the
   25558 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   25559 # must be portable across $(()) and expr.
   25560 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   25561 then :
   25562   eval 'as_fn_arith ()
   25563   {
   25564     as_val=$(( $* ))
   25565   }'
   25566 else $as_nop
   25567   as_fn_arith ()
   25568   {
   25569     as_val=`expr "$@" || test $? -eq 1`
   25570   }
   25571 fi # as_fn_arith
   25572 
   25573 
   25574 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25575    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25576   as_expr=expr
   25577 else
   25578   as_expr=false
   25579 fi
   25580 
   25581 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   25582   as_basename=basename
   25583 else
   25584   as_basename=false
   25585 fi
   25586 
   25587 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25588   as_dirname=dirname
   25589 else
   25590   as_dirname=false
   25591 fi
   25592 
   25593 as_me=`$as_basename -- "$0" ||
   25594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   25595 	 X"$0" : 'X\(//\)$' \| \
   25596 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   25597 printf "%s\n" X/"$0" |
   25598     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25599 	    s//\1/
   25600 	    q
   25601 	  }
   25602 	  /^X\/\(\/\/\)$/{
   25603 	    s//\1/
   25604 	    q
   25605 	  }
   25606 	  /^X\/\(\/\).*/{
   25607 	    s//\1/
   25608 	    q
   25609 	  }
   25610 	  s/.*/./; q'`
   25611 
   25612 # Avoid depending upon Character Ranges.
   25613 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   25614 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   25615 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   25616 as_cr_digits='0123456789'
   25617 as_cr_alnum=$as_cr_Letters$as_cr_digits
   25618 
   25619 
   25620 # Determine whether it's possible to make 'echo' print without a newline.
   25621 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   25622 # for compatibility with existing Makefiles.
   25623 ECHO_C= ECHO_N= ECHO_T=
   25624 case `echo -n x` in #(((((
   25625 -n*)
   25626   case `echo 'xy\c'` in
   25627   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   25628   xy)  ECHO_C='\c';;
   25629   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   25630        ECHO_T='	';;
   25631   esac;;
   25632 *)
   25633   ECHO_N='-n';;
   25634 esac
   25635 
   25636 # For backward compatibility with old third-party macros, we provide
   25637 # the shell variables $as_echo and $as_echo_n.  New code should use
   25638 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   25639 as_echo='printf %s\n'
   25640 as_echo_n='printf %s'
   25641 
   25642 rm -f conf$$ conf$$.exe conf$$.file
   25643 if test -d conf$$.dir; then
   25644   rm -f conf$$.dir/conf$$.file
   25645 else
   25646   rm -f conf$$.dir
   25647   mkdir conf$$.dir 2>/dev/null
   25648 fi
   25649 if (echo >conf$$.file) 2>/dev/null; then
   25650   if ln -s conf$$.file conf$$ 2>/dev/null; then
   25651     as_ln_s='ln -s'
   25652     # ... but there are two gotchas:
   25653     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   25654     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   25655     # In both cases, we have to default to `cp -pR'.
   25656     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25657       as_ln_s='cp -pR'
   25658   elif ln conf$$.file conf$$ 2>/dev/null; then
   25659     as_ln_s=ln
   25660   else
   25661     as_ln_s='cp -pR'
   25662   fi
   25663 else
   25664   as_ln_s='cp -pR'
   25665 fi
   25666 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25667 rmdir conf$$.dir 2>/dev/null
   25668 
   25669 
   25670 # as_fn_mkdir_p
   25671 # -------------
   25672 # Create "$as_dir" as a directory, including parents if necessary.
   25673 as_fn_mkdir_p ()
   25674 {
   25675 
   25676   case $as_dir in #(
   25677   -*) as_dir=./$as_dir;;
   25678   esac
   25679   test -d "$as_dir" || eval $as_mkdir_p || {
   25680     as_dirs=
   25681     while :; do
   25682       case $as_dir in #(
   25683       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25684       *) as_qdir=$as_dir;;
   25685       esac
   25686       as_dirs="'$as_qdir' $as_dirs"
   25687       as_dir=`$as_dirname -- "$as_dir" ||
   25688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25689 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25690 	 X"$as_dir" : 'X\(//\)$' \| \
   25691 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25692 printf "%s\n" X"$as_dir" |
   25693     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25694 	    s//\1/
   25695 	    q
   25696 	  }
   25697 	  /^X\(\/\/\)[^/].*/{
   25698 	    s//\1/
   25699 	    q
   25700 	  }
   25701 	  /^X\(\/\/\)$/{
   25702 	    s//\1/
   25703 	    q
   25704 	  }
   25705 	  /^X\(\/\).*/{
   25706 	    s//\1/
   25707 	    q
   25708 	  }
   25709 	  s/.*/./; q'`
   25710       test -d "$as_dir" && break
   25711     done
   25712     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25713   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   25714 
   25715 
   25716 } # as_fn_mkdir_p
   25717 if mkdir -p . 2>/dev/null; then
   25718   as_mkdir_p='mkdir -p "$as_dir"'
   25719 else
   25720   test -d ./-p && rmdir ./-p
   25721   as_mkdir_p=false
   25722 fi
   25723 
   25724 
   25725 # as_fn_executable_p FILE
   25726 # -----------------------
   25727 # Test if FILE is an executable regular file.
   25728 as_fn_executable_p ()
   25729 {
   25730   test -f "$1" && test -x "$1"
   25731 } # as_fn_executable_p
   25732 as_test_x='test -x'
   25733 as_executable_p=as_fn_executable_p
   25734 
   25735 # Sed expression to map a string onto a valid CPP name.
   25736 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   25737 
   25738 # Sed expression to map a string onto a valid variable name.
   25739 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   25740 
   25741 
   25742 exec 6>&1
   25743 ## ----------------------------------- ##
   25744 ## Main body of $CONFIG_STATUS script. ##
   25745 ## ----------------------------------- ##
   25746 _ASEOF
   25747 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   25748 
   25749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25750 # Save the log message, to keep $0 and so on meaningful, and to
   25751 # report actual input values of CONFIG_FILES etc. instead of their
   25752 # values after options handling.
   25753 ac_log="
   25754 This file was extended by isl $as_me 0.26, which was
   25755 generated by GNU Autoconf 2.71.  Invocation command line was
   25756 
   25757   CONFIG_FILES    = $CONFIG_FILES
   25758   CONFIG_HEADERS  = $CONFIG_HEADERS
   25759   CONFIG_LINKS    = $CONFIG_LINKS
   25760   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25761   $ $0 $@
   25762 
   25763 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25764 "
   25765 
   25766 _ACEOF
   25767 
   25768 case $ac_config_files in *"
   25769 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   25770 esac
   25771 
   25772 case $ac_config_headers in *"
   25773 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   25774 esac
   25775 
   25776 
   25777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25778 # Files that config.status was made for.
   25779 config_files="$ac_config_files"
   25780 config_headers="$ac_config_headers"
   25781 config_commands="$ac_config_commands"
   25782 
   25783 _ACEOF
   25784 
   25785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25786 ac_cs_usage="\
   25787 \`$as_me' instantiates files and other configuration actions
   25788 from templates according to the current configuration.  Unless the files
   25789 and actions are specified as TAGs, all are instantiated by default.
   25790 
   25791 Usage: $0 [OPTION]... [TAG]...
   25792 
   25793   -h, --help       print this help, then exit
   25794   -V, --version    print version number and configuration settings, then exit
   25795       --config     print configuration, then exit
   25796   -q, --quiet, --silent
   25797                    do not print progress messages
   25798   -d, --debug      don't remove temporary files
   25799       --recheck    update $as_me by reconfiguring in the same conditions
   25800       --file=FILE[:TEMPLATE]
   25801                    instantiate the configuration file FILE
   25802       --header=FILE[:TEMPLATE]
   25803                    instantiate the configuration header FILE
   25804 
   25805 Configuration files:
   25806 $config_files
   25807 
   25808 Configuration headers:
   25809 $config_headers
   25810 
   25811 Configuration commands:
   25812 $config_commands
   25813 
   25814 Report bugs to <isl-development@googlegroups.com>."
   25815 
   25816 _ACEOF
   25817 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   25818 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   25819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25820 ac_cs_config='$ac_cs_config_escaped'
   25821 ac_cs_version="\\
   25822 isl config.status 0.26
   25823 configured by $0, generated by GNU Autoconf 2.71,
   25824   with options \\"\$ac_cs_config\\"
   25825 
   25826 Copyright (C) 2021 Free Software Foundation, Inc.
   25827 This config.status script is free software; the Free Software Foundation
   25828 gives unlimited permission to copy, distribute and modify it."
   25829 
   25830 ac_pwd='$ac_pwd'
   25831 srcdir='$srcdir'
   25832 INSTALL='$INSTALL'
   25833 MKDIR_P='$MKDIR_P'
   25834 AWK='$AWK'
   25835 test -n "\$AWK" || AWK=awk
   25836 _ACEOF
   25837 
   25838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25839 # The default lists apply if the user does not specify any file.
   25840 ac_need_defaults=:
   25841 while test $# != 0
   25842 do
   25843   case $1 in
   25844   --*=?*)
   25845     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25846     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25847     ac_shift=:
   25848     ;;
   25849   --*=)
   25850     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25851     ac_optarg=
   25852     ac_shift=:
   25853     ;;
   25854   *)
   25855     ac_option=$1
   25856     ac_optarg=$2
   25857     ac_shift=shift
   25858     ;;
   25859   esac
   25860 
   25861   case $ac_option in
   25862   # Handling of the options.
   25863   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25864     ac_cs_recheck=: ;;
   25865   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25866     printf "%s\n" "$ac_cs_version"; exit ;;
   25867   --config | --confi | --conf | --con | --co | --c )
   25868     printf "%s\n" "$ac_cs_config"; exit ;;
   25869   --debug | --debu | --deb | --de | --d | -d )
   25870     debug=: ;;
   25871   --file | --fil | --fi | --f )
   25872     $ac_shift
   25873     case $ac_optarg in
   25874     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25875     '') as_fn_error $? "missing file argument" ;;
   25876     esac
   25877     as_fn_append CONFIG_FILES " '$ac_optarg'"
   25878     ac_need_defaults=false;;
   25879   --header | --heade | --head | --hea )
   25880     $ac_shift
   25881     case $ac_optarg in
   25882     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25883     esac
   25884     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   25885     ac_need_defaults=false;;
   25886   --he | --h)
   25887     # Conflict between --help and --header
   25888     as_fn_error $? "ambiguous option: \`$1'
   25889 Try \`$0 --help' for more information.";;
   25890   --help | --hel | -h )
   25891     printf "%s\n" "$ac_cs_usage"; exit ;;
   25892   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25893   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25894     ac_cs_silent=: ;;
   25895 
   25896   # This is an error.
   25897   -*) as_fn_error $? "unrecognized option: \`$1'
   25898 Try \`$0 --help' for more information." ;;
   25899 
   25900   *) as_fn_append ac_config_targets " $1"
   25901      ac_need_defaults=false ;;
   25902 
   25903   esac
   25904   shift
   25905 done
   25906 
   25907 ac_configure_extra_args=
   25908 
   25909 if $ac_cs_silent; then
   25910   exec 6>/dev/null
   25911   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25912 fi
   25913 
   25914 _ACEOF
   25915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25916 if \$ac_cs_recheck; then
   25917   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25918   shift
   25919   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   25920   CONFIG_SHELL='$SHELL'
   25921   export CONFIG_SHELL
   25922   exec "\$@"
   25923 fi
   25924 
   25925 _ACEOF
   25926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25927 exec 5>>config.log
   25928 {
   25929   echo
   25930   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25931 ## Running $as_me. ##
   25932 _ASBOX
   25933   printf "%s\n" "$ac_log"
   25934 } >&5
   25935 
   25936 _ACEOF
   25937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25938 #
   25939 # INIT-COMMANDS
   25940 #
   25941 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   25942 
   25943 
   25944 # The HP-UX ksh and POSIX shell print the target directory to stdout
   25945 # if CDPATH is set.
   25946 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   25947 
   25948 sed_quote_subst='$sed_quote_subst'
   25949 double_quote_subst='$double_quote_subst'
   25950 delay_variable_subst='$delay_variable_subst'
   25951 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   25952 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   25953 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   25954 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   25955 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   25956 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   25957 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   25958 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   25959 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   25960 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   25961 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   25962 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   25963 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   25964 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   25965 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   25966 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   25967 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   25968 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   25969 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   25970 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   25971 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   25972 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   25973 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   25974 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   25975 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   25976 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   25977 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   25978 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   25979 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   25980 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   25981 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   25982 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   25983 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   25984 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   25985 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   25986 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   25987 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   25988 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   25989 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   25990 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   25991 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   25992 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   25993 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   25994 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   25995 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   25996 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   25997 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25998 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25999 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   26000 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   26001 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   26002 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   26003 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   26004 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   26005 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   26006 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   26007 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   26008 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   26009 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"`'
   26010 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   26011 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   26012 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   26013 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   26014 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   26015 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   26016 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   26017 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   26018 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   26019 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   26020 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   26021 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   26022 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   26023 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   26024 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   26025 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   26026 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   26027 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   26028 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   26029 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   26030 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   26031 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   26032 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   26033 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   26034 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   26035 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   26036 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   26037 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   26038 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   26039 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   26040 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   26041 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   26042 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   26043 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   26044 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   26045 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   26046 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   26047 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   26048 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   26049 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   26050 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   26051 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   26052 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   26053 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   26054 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   26055 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   26056 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   26057 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   26058 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   26059 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   26060 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   26061 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   26062 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   26063 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   26064 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   26065 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   26066 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   26067 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   26068 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   26069 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   26070 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   26071 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   26072 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   26073 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   26074 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   26075 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   26076 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   26077 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   26078 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   26079 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   26080 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   26081 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   26082 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   26083 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   26084 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   26085 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   26086 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   26087 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   26088 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   26089 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   26090 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   26091 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   26092 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   26093 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   26094 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26095 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26096 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   26097 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   26098 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   26099 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   26100 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   26101 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   26102 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   26103 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   26104 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   26105 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   26106 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   26107 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   26108 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26109 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26110 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26111 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26112 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26113 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26114 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   26115 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   26116 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   26117 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   26118 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   26119 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   26120 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   26121 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   26122 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   26123 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   26124 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   26125 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   26126 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   26127 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26128 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   26129 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   26130 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26131 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   26132 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   26133 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   26134 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   26135 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   26136 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   26137 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   26138 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   26139 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   26140 
   26141 LTCC='$LTCC'
   26142 LTCFLAGS='$LTCFLAGS'
   26143 compiler='$compiler_DEFAULT'
   26144 
   26145 # A function that is used when there is no print builtin or printf.
   26146 func_fallback_echo ()
   26147 {
   26148   eval 'cat <<_LTECHO_EOF
   26149 \$1
   26150 _LTECHO_EOF'
   26151 }
   26152 
   26153 # Quote evaled strings.
   26154 for var in SHELL \
   26155 ECHO \
   26156 PATH_SEPARATOR \
   26157 SED \
   26158 GREP \
   26159 EGREP \
   26160 FGREP \
   26161 LD \
   26162 NM \
   26163 LN_S \
   26164 lt_SP2NL \
   26165 lt_NL2SP \
   26166 reload_flag \
   26167 OBJDUMP \
   26168 deplibs_check_method \
   26169 file_magic_cmd \
   26170 file_magic_glob \
   26171 want_nocaseglob \
   26172 DLLTOOL \
   26173 sharedlib_from_linklib_cmd \
   26174 AR \
   26175 AR_FLAGS \
   26176 archiver_list_spec \
   26177 STRIP \
   26178 RANLIB \
   26179 CC \
   26180 CFLAGS \
   26181 compiler \
   26182 lt_cv_sys_global_symbol_pipe \
   26183 lt_cv_sys_global_symbol_to_cdecl \
   26184 lt_cv_sys_global_symbol_to_import \
   26185 lt_cv_sys_global_symbol_to_c_name_address \
   26186 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   26187 lt_cv_nm_interface \
   26188 nm_file_list_spec \
   26189 lt_cv_truncate_bin \
   26190 lt_prog_compiler_no_builtin_flag \
   26191 lt_prog_compiler_pic \
   26192 lt_prog_compiler_wl \
   26193 lt_prog_compiler_static \
   26194 lt_cv_prog_compiler_c_o \
   26195 need_locks \
   26196 MANIFEST_TOOL \
   26197 DSYMUTIL \
   26198 NMEDIT \
   26199 LIPO \
   26200 OTOOL \
   26201 OTOOL64 \
   26202 shrext_cmds \
   26203 export_dynamic_flag_spec \
   26204 whole_archive_flag_spec \
   26205 compiler_needs_object \
   26206 with_gnu_ld \
   26207 allow_undefined_flag \
   26208 no_undefined_flag \
   26209 hardcode_libdir_flag_spec \
   26210 hardcode_libdir_separator \
   26211 exclude_expsyms \
   26212 include_expsyms \
   26213 file_list_spec \
   26214 variables_saved_for_relink \
   26215 libname_spec \
   26216 library_names_spec \
   26217 soname_spec \
   26218 install_override_mode \
   26219 finish_eval \
   26220 old_striplib \
   26221 striplib \
   26222 compiler_lib_search_dirs \
   26223 predep_objects \
   26224 postdep_objects \
   26225 predeps \
   26226 postdeps \
   26227 compiler_lib_search_path \
   26228 LD_CXX \
   26229 reload_flag_CXX \
   26230 compiler_CXX \
   26231 lt_prog_compiler_no_builtin_flag_CXX \
   26232 lt_prog_compiler_pic_CXX \
   26233 lt_prog_compiler_wl_CXX \
   26234 lt_prog_compiler_static_CXX \
   26235 lt_cv_prog_compiler_c_o_CXX \
   26236 export_dynamic_flag_spec_CXX \
   26237 whole_archive_flag_spec_CXX \
   26238 compiler_needs_object_CXX \
   26239 with_gnu_ld_CXX \
   26240 allow_undefined_flag_CXX \
   26241 no_undefined_flag_CXX \
   26242 hardcode_libdir_flag_spec_CXX \
   26243 hardcode_libdir_separator_CXX \
   26244 exclude_expsyms_CXX \
   26245 include_expsyms_CXX \
   26246 file_list_spec_CXX \
   26247 compiler_lib_search_dirs_CXX \
   26248 predep_objects_CXX \
   26249 postdep_objects_CXX \
   26250 predeps_CXX \
   26251 postdeps_CXX \
   26252 compiler_lib_search_path_CXX; do
   26253     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   26254     *[\\\\\\\`\\"\\\$]*)
   26255       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   26256       ;;
   26257     *)
   26258       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   26259       ;;
   26260     esac
   26261 done
   26262 
   26263 # Double-quote double-evaled strings.
   26264 for var in reload_cmds \
   26265 old_postinstall_cmds \
   26266 old_postuninstall_cmds \
   26267 old_archive_cmds \
   26268 extract_expsyms_cmds \
   26269 old_archive_from_new_cmds \
   26270 old_archive_from_expsyms_cmds \
   26271 archive_cmds \
   26272 archive_expsym_cmds \
   26273 module_cmds \
   26274 module_expsym_cmds \
   26275 export_symbols_cmds \
   26276 prelink_cmds \
   26277 postlink_cmds \
   26278 postinstall_cmds \
   26279 postuninstall_cmds \
   26280 finish_cmds \
   26281 sys_lib_search_path_spec \
   26282 configure_time_dlsearch_path \
   26283 configure_time_lt_sys_library_path \
   26284 reload_cmds_CXX \
   26285 old_archive_cmds_CXX \
   26286 old_archive_from_new_cmds_CXX \
   26287 old_archive_from_expsyms_cmds_CXX \
   26288 archive_cmds_CXX \
   26289 archive_expsym_cmds_CXX \
   26290 module_cmds_CXX \
   26291 module_expsym_cmds_CXX \
   26292 export_symbols_cmds_CXX \
   26293 prelink_cmds_CXX \
   26294 postlink_cmds_CXX; do
   26295     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   26296     *[\\\\\\\`\\"\\\$]*)
   26297       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   26298       ;;
   26299     *)
   26300       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   26301       ;;
   26302     esac
   26303 done
   26304 
   26305 ac_aux_dir='$ac_aux_dir'
   26306 
   26307 # See if we are running on zsh, and set the options that allow our
   26308 # commands through without removal of \ escapes INIT.
   26309 if test -n "\${ZSH_VERSION+set}"; then
   26310    setopt NO_GLOB_SUBST
   26311 fi
   26312 
   26313 
   26314     PACKAGE='$PACKAGE'
   26315     VERSION='$VERSION'
   26316     RM='$RM'
   26317     ofile='$ofile'
   26318 
   26319 
   26320 
   26321 
   26322 
   26323 # variables for create stdint.h replacement
   26324 PACKAGE="$PACKAGE"
   26325 VERSION="$VERSION"
   26326 ac_stdint_h="$ac_stdint_h"
   26327 _ac_stdint_h=`printf "%s\n" "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
   26328 ac_cv_stdint_message="$ac_cv_stdint_message"
   26329 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
   26330 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
   26331 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
   26332 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
   26333 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   26334 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   26335 ac_cv_char_data_model="$ac_cv_char_data_model"
   26336 ac_cv_long_data_model="$ac_cv_long_data_model"
   26337 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   26338 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   26339 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
   26340 
   26341 
   26342 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
   26343 pkgconfig_prefix='$prefix'
   26344 pkgconfig_execprefix='$exec_prefix'
   26345 pkgconfig_bindir='$bindir'
   26346 pkgconfig_libdir='$libdir'
   26347 pkgconfig_includedir='$includedir'
   26348 pkgconfig_datarootdir='$datarootdir'
   26349 pkgconfig_datadir='$datadir'
   26350 pkgconfig_sysconfdir='$sysconfdir'
   26351 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
   26352 pkgconfig_package='$PACKAGE_NAME'
   26353 pkgconfig_libname='$ax_create_pkgconfig_libname'
   26354 pkgconfig_description='$ax_create_pkgconfig_description'
   26355 pkgconfig_version='$ax_create_pkgconfig_version'
   26356 pkgconfig_requires='$ax_create_pkgconfig_requires'
   26357 pkgconfig_libs='$ax_create_pkgconfig_libs'
   26358 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
   26359 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
   26360 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
   26361 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
   26362 
   26363 
   26364 _ACEOF
   26365 
   26366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26367 
   26368 # Handling of arguments.
   26369 for ac_config_target in $ac_config_targets
   26370 do
   26371   case $ac_config_target in
   26372     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   26373     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   26374     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
   26375     "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
   26376     "isl_config.h") CONFIG_HEADERS="$CONFIG_HEADERS isl_config.h" ;;
   26377     "isl_srcdir.c") CONFIG_FILES="$CONFIG_FILES isl_srcdir.c" ;;
   26378     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   26379     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   26380     "bound_test.sh") CONFIG_FILES="$CONFIG_FILES bound_test.sh" ;;
   26381     "codegen_test.sh") CONFIG_FILES="$CONFIG_FILES codegen_test.sh" ;;
   26382     "pip_test.sh") CONFIG_FILES="$CONFIG_FILES pip_test.sh" ;;
   26383     "flow_test.sh") CONFIG_FILES="$CONFIG_FILES flow_test.sh" ;;
   26384     "schedule_test.sh") CONFIG_FILES="$CONFIG_FILES schedule_test.sh" ;;
   26385 
   26386   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   26387   esac
   26388 done
   26389 
   26390 
   26391 # If the user did not use the arguments to specify the items to instantiate,
   26392 # then the envvar interface is used.  Set only those that are not.
   26393 # We use the long form for the default assignment because of an extremely
   26394 # bizarre bug on SunOS 4.1.3.
   26395 if $ac_need_defaults; then
   26396   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   26397   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   26398   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   26399 fi
   26400 
   26401 # Have a temporary directory for convenience.  Make it in the build tree
   26402 # simply because there is no reason against having it here, and in addition,
   26403 # creating and moving files from /tmp can sometimes cause problems.
   26404 # Hook for its removal unless debugging.
   26405 # Note that there is a small window in which the directory will not be cleaned:
   26406 # after its creation but before its name has been assigned to `$tmp'.
   26407 $debug ||
   26408 {
   26409   tmp= ac_tmp=
   26410   trap 'exit_status=$?
   26411   : "${ac_tmp:=$tmp}"
   26412   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   26413 ' 0
   26414   trap 'as_fn_exit 1' 1 2 13 15
   26415 }
   26416 # Create a (secure) tmp directory for tmp files.
   26417 
   26418 {
   26419   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   26420   test -d "$tmp"
   26421 }  ||
   26422 {
   26423   tmp=./conf$$-$RANDOM
   26424   (umask 077 && mkdir "$tmp")
   26425 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   26426 ac_tmp=$tmp
   26427 
   26428 # Set up the scripts for CONFIG_FILES section.
   26429 # No need to generate them if there are no CONFIG_FILES.
   26430 # This happens for instance with `./config.status config.h'.
   26431 if test -n "$CONFIG_FILES"; then
   26432 
   26433 
   26434 ac_cr=`echo X | tr X '\015'`
   26435 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   26436 # But we know of no other shell where ac_cr would be empty at this
   26437 # point, so we can use a bashism as a fallback.
   26438 if test "x$ac_cr" = x; then
   26439   eval ac_cr=\$\'\\r\'
   26440 fi
   26441 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   26442 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   26443   ac_cs_awk_cr='\\r'
   26444 else
   26445   ac_cs_awk_cr=$ac_cr
   26446 fi
   26447 
   26448 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   26449 _ACEOF
   26450 
   26451 
   26452 {
   26453   echo "cat >conf$$subs.awk <<_ACEOF" &&
   26454   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   26455   echo "_ACEOF"
   26456 } >conf$$subs.sh ||
   26457   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   26458 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   26459 ac_delim='%!_!# '
   26460 for ac_last_try in false false false false false :; do
   26461   . ./conf$$subs.sh ||
   26462     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   26463 
   26464   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   26465   if test $ac_delim_n = $ac_delim_num; then
   26466     break
   26467   elif $ac_last_try; then
   26468     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   26469   else
   26470     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   26471   fi
   26472 done
   26473 rm -f conf$$subs.sh
   26474 
   26475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26476 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   26477 _ACEOF
   26478 sed -n '
   26479 h
   26480 s/^/S["/; s/!.*/"]=/
   26481 p
   26482 g
   26483 s/^[^!]*!//
   26484 :repl
   26485 t repl
   26486 s/'"$ac_delim"'$//
   26487 t delim
   26488 :nl
   26489 h
   26490 s/\(.\{148\}\)..*/\1/
   26491 t more1
   26492 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   26493 p
   26494 n
   26495 b repl
   26496 :more1
   26497 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   26498 p
   26499 g
   26500 s/.\{148\}//
   26501 t nl
   26502 :delim
   26503 h
   26504 s/\(.\{148\}\)..*/\1/
   26505 t more2
   26506 s/["\\]/\\&/g; s/^/"/; s/$/"/
   26507 p
   26508 b
   26509 :more2
   26510 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   26511 p
   26512 g
   26513 s/.\{148\}//
   26514 t delim
   26515 ' <conf$$subs.awk | sed '
   26516 /^[^""]/{
   26517   N
   26518   s/\n//
   26519 }
   26520 ' >>$CONFIG_STATUS || ac_write_fail=1
   26521 rm -f conf$$subs.awk
   26522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26523 _ACAWK
   26524 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   26525   for (key in S) S_is_set[key] = 1
   26526   FS = ""
   26527 
   26528 }
   26529 {
   26530   line = $ 0
   26531   nfields = split(line, field, "@")
   26532   substed = 0
   26533   len = length(field[1])
   26534   for (i = 2; i < nfields; i++) {
   26535     key = field[i]
   26536     keylen = length(key)
   26537     if (S_is_set[key]) {
   26538       value = S[key]
   26539       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   26540       len += length(value) + length(field[++i])
   26541       substed = 1
   26542     } else
   26543       len += 1 + keylen
   26544   }
   26545 
   26546   print line
   26547 }
   26548 
   26549 _ACAWK
   26550 _ACEOF
   26551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26552 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   26553   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   26554 else
   26555   cat
   26556 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   26557   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   26558 _ACEOF
   26559 
   26560 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   26561 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   26562 # trailing colons and then remove the whole line if VPATH becomes empty
   26563 # (actually we leave an empty line to preserve line numbers).
   26564 if test "x$srcdir" = x.; then
   26565   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   26566 h
   26567 s///
   26568 s/^/:/
   26569 s/[	 ]*$/:/
   26570 s/:\$(srcdir):/:/g
   26571 s/:\${srcdir}:/:/g
   26572 s/:@srcdir@:/:/g
   26573 s/^:*//
   26574 s/:*$//
   26575 x
   26576 s/\(=[	 ]*\).*/\1/
   26577 G
   26578 s/\n//
   26579 s/^[^=]*=[	 ]*$//
   26580 }'
   26581 fi
   26582 
   26583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26584 fi # test -n "$CONFIG_FILES"
   26585 
   26586 # Set up the scripts for CONFIG_HEADERS section.
   26587 # No need to generate them if there are no CONFIG_HEADERS.
   26588 # This happens for instance with `./config.status Makefile'.
   26589 if test -n "$CONFIG_HEADERS"; then
   26590 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   26591 BEGIN {
   26592 _ACEOF
   26593 
   26594 # Transform confdefs.h into an awk script `defines.awk', embedded as
   26595 # here-document in config.status, that substitutes the proper values into
   26596 # config.h.in to produce config.h.
   26597 
   26598 # Create a delimiter string that does not exist in confdefs.h, to ease
   26599 # handling of long lines.
   26600 ac_delim='%!_!# '
   26601 for ac_last_try in false false :; do
   26602   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   26603   if test -z "$ac_tt"; then
   26604     break
   26605   elif $ac_last_try; then
   26606     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   26607   else
   26608     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   26609   fi
   26610 done
   26611 
   26612 # For the awk script, D is an array of macro values keyed by name,
   26613 # likewise P contains macro parameters if any.  Preserve backslash
   26614 # newline sequences.
   26615 
   26616 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   26617 sed -n '
   26618 s/.\{148\}/&'"$ac_delim"'/g
   26619 t rset
   26620 :rset
   26621 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   26622 t def
   26623 d
   26624 :def
   26625 s/\\$//
   26626 t bsnl
   26627 s/["\\]/\\&/g
   26628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   26629 D["\1"]=" \3"/p
   26630 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   26631 d
   26632 :bsnl
   26633 s/["\\]/\\&/g
   26634 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   26635 D["\1"]=" \3\\\\\\n"\\/p
   26636 t cont
   26637 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   26638 t cont
   26639 d
   26640 :cont
   26641 n
   26642 s/.\{148\}/&'"$ac_delim"'/g
   26643 t clear
   26644 :clear
   26645 s/\\$//
   26646 t bsnlc
   26647 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   26648 d
   26649 :bsnlc
   26650 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   26651 b cont
   26652 ' <confdefs.h | sed '
   26653 s/'"$ac_delim"'/"\\\
   26654 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   26655 
   26656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26657   for (key in D) D_is_set[key] = 1
   26658   FS = ""
   26659 }
   26660 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   26661   line = \$ 0
   26662   split(line, arg, " ")
   26663   if (arg[1] == "#") {
   26664     defundef = arg[2]
   26665     mac1 = arg[3]
   26666   } else {
   26667     defundef = substr(arg[1], 2)
   26668     mac1 = arg[2]
   26669   }
   26670   split(mac1, mac2, "(") #)
   26671   macro = mac2[1]
   26672   prefix = substr(line, 1, index(line, defundef) - 1)
   26673   if (D_is_set[macro]) {
   26674     # Preserve the white space surrounding the "#".
   26675     print prefix "define", macro P[macro] D[macro]
   26676     next
   26677   } else {
   26678     # Replace #undef with comments.  This is necessary, for example,
   26679     # in the case of _POSIX_SOURCE, which is predefined and required
   26680     # on some systems where configure will not decide to define it.
   26681     if (defundef == "undef") {
   26682       print "/*", prefix defundef, macro, "*/"
   26683       next
   26684     }
   26685   }
   26686 }
   26687 { print }
   26688 _ACAWK
   26689 _ACEOF
   26690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26691   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   26692 fi # test -n "$CONFIG_HEADERS"
   26693 
   26694 
   26695 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   26696 shift
   26697 for ac_tag
   26698 do
   26699   case $ac_tag in
   26700   :[FHLC]) ac_mode=$ac_tag; continue;;
   26701   esac
   26702   case $ac_mode$ac_tag in
   26703   :[FHL]*:*);;
   26704   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   26705   :[FH]-) ac_tag=-:-;;
   26706   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   26707   esac
   26708   ac_save_IFS=$IFS
   26709   IFS=:
   26710   set x $ac_tag
   26711   IFS=$ac_save_IFS
   26712   shift
   26713   ac_file=$1
   26714   shift
   26715 
   26716   case $ac_mode in
   26717   :L) ac_source=$1;;
   26718   :[FH])
   26719     ac_file_inputs=
   26720     for ac_f
   26721     do
   26722       case $ac_f in
   26723       -) ac_f="$ac_tmp/stdin";;
   26724       *) # Look for the file first in the build tree, then in the source tree
   26725 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   26726 	 # because $ac_f cannot contain `:'.
   26727 	 test -f "$ac_f" ||
   26728 	   case $ac_f in
   26729 	   [\\/$]*) false;;
   26730 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   26731 	   esac ||
   26732 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   26733       esac
   26734       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   26735       as_fn_append ac_file_inputs " '$ac_f'"
   26736     done
   26737 
   26738     # Let's still pretend it is `configure' which instantiates (i.e., don't
   26739     # use $as_me), people would be surprised to read:
   26740     #    /* config.h.  Generated by config.status.  */
   26741     configure_input='Generated from '`
   26742 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   26743 	`' by configure.'
   26744     if test x"$ac_file" != x-; then
   26745       configure_input="$ac_file.  $configure_input"
   26746       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   26747 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   26748     fi
   26749     # Neutralize special characters interpreted by sed in replacement strings.
   26750     case $configure_input in #(
   26751     *\&* | *\|* | *\\* )
   26752        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   26753        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   26754     *) ac_sed_conf_input=$configure_input;;
   26755     esac
   26756 
   26757     case $ac_tag in
   26758     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   26759       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   26760     esac
   26761     ;;
   26762   esac
   26763 
   26764   ac_dir=`$as_dirname -- "$ac_file" ||
   26765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26766 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   26767 	 X"$ac_file" : 'X\(//\)$' \| \
   26768 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   26769 printf "%s\n" X"$ac_file" |
   26770     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26771 	    s//\1/
   26772 	    q
   26773 	  }
   26774 	  /^X\(\/\/\)[^/].*/{
   26775 	    s//\1/
   26776 	    q
   26777 	  }
   26778 	  /^X\(\/\/\)$/{
   26779 	    s//\1/
   26780 	    q
   26781 	  }
   26782 	  /^X\(\/\).*/{
   26783 	    s//\1/
   26784 	    q
   26785 	  }
   26786 	  s/.*/./; q'`
   26787   as_dir="$ac_dir"; as_fn_mkdir_p
   26788   ac_builddir=.
   26789 
   26790 case "$ac_dir" in
   26791 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26792 *)
   26793   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   26794   # A ".." for each directory in $ac_dir_suffix.
   26795   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   26796   case $ac_top_builddir_sub in
   26797   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26798   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   26799   esac ;;
   26800 esac
   26801 ac_abs_top_builddir=$ac_pwd
   26802 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   26803 # for backward compatibility:
   26804 ac_top_builddir=$ac_top_build_prefix
   26805 
   26806 case $srcdir in
   26807   .)  # We are building in place.
   26808     ac_srcdir=.
   26809     ac_top_srcdir=$ac_top_builddir_sub
   26810     ac_abs_top_srcdir=$ac_pwd ;;
   26811   [\\/]* | ?:[\\/]* )  # Absolute name.
   26812     ac_srcdir=$srcdir$ac_dir_suffix;
   26813     ac_top_srcdir=$srcdir
   26814     ac_abs_top_srcdir=$srcdir ;;
   26815   *) # Relative name.
   26816     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   26817     ac_top_srcdir=$ac_top_build_prefix$srcdir
   26818     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   26819 esac
   26820 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   26821 
   26822 
   26823   case $ac_mode in
   26824   :F)
   26825   #
   26826   # CONFIG_FILE
   26827   #
   26828 
   26829   case $INSTALL in
   26830   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   26831   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   26832   esac
   26833   ac_MKDIR_P=$MKDIR_P
   26834   case $MKDIR_P in
   26835   [\\/$]* | ?:[\\/]* ) ;;
   26836   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   26837   esac
   26838 _ACEOF
   26839 
   26840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26841 # If the template does not know about datarootdir, expand it.
   26842 # FIXME: This hack should be removed a few years after 2.60.
   26843 ac_datarootdir_hack=; ac_datarootdir_seen=
   26844 ac_sed_dataroot='
   26845 /datarootdir/ {
   26846   p
   26847   q
   26848 }
   26849 /@datadir@/p
   26850 /@docdir@/p
   26851 /@infodir@/p
   26852 /@localedir@/p
   26853 /@mandir@/p'
   26854 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   26855 *datarootdir*) ac_datarootdir_seen=yes;;
   26856 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   26857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   26858 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   26859 _ACEOF
   26860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26861   ac_datarootdir_hack='
   26862   s&@datadir@&$datadir&g
   26863   s&@docdir@&$docdir&g
   26864   s&@infodir@&$infodir&g
   26865   s&@localedir@&$localedir&g
   26866   s&@mandir@&$mandir&g
   26867   s&\\\${datarootdir}&$datarootdir&g' ;;
   26868 esac
   26869 _ACEOF
   26870 
   26871 # Neutralize VPATH when `$srcdir' = `.'.
   26872 # Shell code in configure.ac might set extrasub.
   26873 # FIXME: do we really want to maintain this feature?
   26874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26875 ac_sed_extra="$ac_vpsub
   26876 $extrasub
   26877 _ACEOF
   26878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26879 :t
   26880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   26881 s|@configure_input@|$ac_sed_conf_input|;t t
   26882 s&@top_builddir@&$ac_top_builddir_sub&;t t
   26883 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   26884 s&@srcdir@&$ac_srcdir&;t t
   26885 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   26886 s&@top_srcdir@&$ac_top_srcdir&;t t
   26887 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   26888 s&@builddir@&$ac_builddir&;t t
   26889 s&@abs_builddir@&$ac_abs_builddir&;t t
   26890 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   26891 s&@INSTALL@&$ac_INSTALL&;t t
   26892 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   26893 $ac_datarootdir_hack
   26894 "
   26895 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   26896   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26897 
   26898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   26899   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   26900   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   26901       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   26902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26903 which seems to be undefined.  Please make sure it is defined" >&5
   26904 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26905 which seems to be undefined.  Please make sure it is defined" >&2;}
   26906 
   26907   rm -f "$ac_tmp/stdin"
   26908   case $ac_file in
   26909   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   26910   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   26911   esac \
   26912   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26913  ;;
   26914   :H)
   26915   #
   26916   # CONFIG_HEADER
   26917   #
   26918   if test x"$ac_file" != x-; then
   26919     {
   26920       printf "%s\n" "/* $configure_input  */" >&1 \
   26921       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   26922     } >"$ac_tmp/config.h" \
   26923       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26924     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   26925       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   26926 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   26927     else
   26928       rm -f "$ac_file"
   26929       mv "$ac_tmp/config.h" "$ac_file" \
   26930 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26931     fi
   26932   else
   26933     printf "%s\n" "/* $configure_input  */" >&1 \
   26934       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   26935       || as_fn_error $? "could not create -" "$LINENO" 5
   26936   fi
   26937 # Compute "$ac_file"'s index in $config_headers.
   26938 _am_arg="$ac_file"
   26939 _am_stamp_count=1
   26940 for _am_header in $config_headers :; do
   26941   case $_am_header in
   26942     $_am_arg | $_am_arg:* )
   26943       break ;;
   26944     * )
   26945       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26946   esac
   26947 done
   26948 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   26949 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26950 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   26951 	 X"$_am_arg" : 'X\(//\)$' \| \
   26952 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   26953 printf "%s\n" X"$_am_arg" |
   26954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26955 	    s//\1/
   26956 	    q
   26957 	  }
   26958 	  /^X\(\/\/\)[^/].*/{
   26959 	    s//\1/
   26960 	    q
   26961 	  }
   26962 	  /^X\(\/\/\)$/{
   26963 	    s//\1/
   26964 	    q
   26965 	  }
   26966 	  /^X\(\/\).*/{
   26967 	    s//\1/
   26968 	    q
   26969 	  }
   26970 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26971  ;;
   26972 
   26973   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   26974 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   26975  ;;
   26976   esac
   26977 
   26978 
   26979   case $ac_file$ac_mode in
   26980     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   26981   # Older Autoconf quotes --file arguments for eval, but not when files
   26982   # are listed without --file.  Let's play safe and only enable the eval
   26983   # if we detect the quoting.
   26984   # TODO: see whether this extra hack can be removed once we start
   26985   # requiring Autoconf 2.70 or later.
   26986   case $CONFIG_FILES in #(
   26987   *\'*) :
   26988     eval set x "$CONFIG_FILES" ;; #(
   26989   *) :
   26990     set x $CONFIG_FILES ;; #(
   26991   *) :
   26992      ;;
   26993 esac
   26994   shift
   26995   # Used to flag and report bootstrapping failures.
   26996   am_rc=0
   26997   for am_mf
   26998   do
   26999     # Strip MF so we end up with the name of the file.
   27000     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   27001     # Check whether this is an Automake generated Makefile which includes
   27002     # dependency-tracking related rules and includes.
   27003     # Grep'ing the whole file directly is not great: AIX grep has a line
   27004     # limit of 2048, but all sed's we know have understand at least 4000.
   27005     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   27006       || continue
   27007     am_dirpart=`$as_dirname -- "$am_mf" ||
   27008 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   27009 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   27010 	 X"$am_mf" : 'X\(//\)$' \| \
   27011 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   27012 printf "%s\n" X"$am_mf" |
   27013     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   27014 	    s//\1/
   27015 	    q
   27016 	  }
   27017 	  /^X\(\/\/\)[^/].*/{
   27018 	    s//\1/
   27019 	    q
   27020 	  }
   27021 	  /^X\(\/\/\)$/{
   27022 	    s//\1/
   27023 	    q
   27024 	  }
   27025 	  /^X\(\/\).*/{
   27026 	    s//\1/
   27027 	    q
   27028 	  }
   27029 	  s/.*/./; q'`
   27030     am_filepart=`$as_basename -- "$am_mf" ||
   27031 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   27032 	 X"$am_mf" : 'X\(//\)$' \| \
   27033 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   27034 printf "%s\n" X/"$am_mf" |
   27035     sed '/^.*\/\([^/][^/]*\)\/*$/{
   27036 	    s//\1/
   27037 	    q
   27038 	  }
   27039 	  /^X\/\(\/\/\)$/{
   27040 	    s//\1/
   27041 	    q
   27042 	  }
   27043 	  /^X\/\(\/\).*/{
   27044 	    s//\1/
   27045 	    q
   27046 	  }
   27047 	  s/.*/./; q'`
   27048     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   27049       && sed -e '/# am--include-marker/d' "$am_filepart" \
   27050         | $MAKE -f - am--depfiles" >&5
   27051    (cd "$am_dirpart" \
   27052       && sed -e '/# am--include-marker/d' "$am_filepart" \
   27053         | $MAKE -f - am--depfiles) >&5 2>&5
   27054    ac_status=$?
   27055    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   27056    (exit $ac_status); } || am_rc=$?
   27057   done
   27058   if test $am_rc -ne 0; then
   27059     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   27060 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   27061 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   27062     for automatic dependency tracking.  If GNU make was not used, consider
   27063     re-running the configure script with MAKE=\"gmake\" (or whatever is
   27064     necessary).  You can also try re-running configure with the
   27065     '--disable-dependency-tracking' option to at least be able to build
   27066     the package (albeit without support for automatic dependency tracking).
   27067 See \`config.log' for more details" "$LINENO" 5; }
   27068   fi
   27069   { am_dirpart=; unset am_dirpart;}
   27070   { am_filepart=; unset am_filepart;}
   27071   { am_mf=; unset am_mf;}
   27072   { am_rc=; unset am_rc;}
   27073   rm -f conftest-deps.mk
   27074 }
   27075  ;;
   27076     "libtool":C)
   27077 
   27078     # See if we are running on zsh, and set the options that allow our
   27079     # commands through without removal of \ escapes.
   27080     if test -n "${ZSH_VERSION+set}"; then
   27081       setopt NO_GLOB_SUBST
   27082     fi
   27083 
   27084     cfgfile=${ofile}T
   27085     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   27086     $RM "$cfgfile"
   27087 
   27088     cat <<_LT_EOF >> "$cfgfile"
   27089 #! $SHELL
   27090 # Generated automatically by $as_me ($PACKAGE) $VERSION
   27091 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   27092 
   27093 # Provide generalized library-building support services.
   27094 # Written by Gordon Matzigkeit, 1996
   27095 
   27096 # Copyright (C) 2014 Free Software Foundation, Inc.
   27097 # This is free software; see the source for copying conditions.  There is NO
   27098 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   27099 
   27100 # GNU Libtool is free software; you can redistribute it and/or modify
   27101 # it under the terms of the GNU General Public License as published by
   27102 # the Free Software Foundation; either version 2 of of the License, or
   27103 # (at your option) any later version.
   27104 #
   27105 # As a special exception to the GNU General Public License, if you
   27106 # distribute this file as part of a program or library that is built
   27107 # using GNU Libtool, you may include this file under the  same
   27108 # distribution terms that you use for the rest of that program.
   27109 #
   27110 # GNU Libtool is distributed in the hope that it will be useful, but
   27111 # WITHOUT ANY WARRANTY; without even the implied warranty of
   27112 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   27113 # GNU General Public License for more details.
   27114 #
   27115 # You should have received a copy of the GNU General Public License
   27116 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   27117 
   27118 
   27119 # The names of the tagged configurations supported by this script.
   27120 available_tags='CXX '
   27121 
   27122 # Configured defaults for sys_lib_dlsearch_path munging.
   27123 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   27124 
   27125 # ### BEGIN LIBTOOL CONFIG
   27126 
   27127 # Which release of libtool.m4 was used?
   27128 macro_version=$macro_version
   27129 macro_revision=$macro_revision
   27130 
   27131 # Whether or not to build shared libraries.
   27132 build_libtool_libs=$enable_shared
   27133 
   27134 # Whether or not to build static libraries.
   27135 build_old_libs=$enable_static
   27136 
   27137 # What type of objects to build.
   27138 pic_mode=$pic_mode
   27139 
   27140 # Whether or not to optimize for fast installation.
   27141 fast_install=$enable_fast_install
   27142 
   27143 # Shared archive member basename,for filename based shared library versioning on AIX.
   27144 shared_archive_member_spec=$shared_archive_member_spec
   27145 
   27146 # Shell to use when invoking shell scripts.
   27147 SHELL=$lt_SHELL
   27148 
   27149 # An echo program that protects backslashes.
   27150 ECHO=$lt_ECHO
   27151 
   27152 # The PATH separator for the build system.
   27153 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   27154 
   27155 # The host system.
   27156 host_alias=$host_alias
   27157 host=$host
   27158 host_os=$host_os
   27159 
   27160 # The build system.
   27161 build_alias=$build_alias
   27162 build=$build
   27163 build_os=$build_os
   27164 
   27165 # A sed program that does not truncate output.
   27166 SED=$lt_SED
   27167 
   27168 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   27169 Xsed="\$SED -e 1s/^X//"
   27170 
   27171 # A grep program that handles long lines.
   27172 GREP=$lt_GREP
   27173 
   27174 # An ERE matcher.
   27175 EGREP=$lt_EGREP
   27176 
   27177 # A literal string matcher.
   27178 FGREP=$lt_FGREP
   27179 
   27180 # A BSD- or MS-compatible name lister.
   27181 NM=$lt_NM
   27182 
   27183 # Whether we need soft or hard links.
   27184 LN_S=$lt_LN_S
   27185 
   27186 # What is the maximum length of a command?
   27187 max_cmd_len=$max_cmd_len
   27188 
   27189 # Object file suffix (normally "o").
   27190 objext=$ac_objext
   27191 
   27192 # Executable file suffix (normally "").
   27193 exeext=$exeext
   27194 
   27195 # whether the shell understands "unset".
   27196 lt_unset=$lt_unset
   27197 
   27198 # turn spaces into newlines.
   27199 SP2NL=$lt_lt_SP2NL
   27200 
   27201 # turn newlines into spaces.
   27202 NL2SP=$lt_lt_NL2SP
   27203 
   27204 # convert \$build file names to \$host format.
   27205 to_host_file_cmd=$lt_cv_to_host_file_cmd
   27206 
   27207 # convert \$build files to toolchain format.
   27208 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   27209 
   27210 # An object symbol dumper.
   27211 OBJDUMP=$lt_OBJDUMP
   27212 
   27213 # Method to check whether dependent libraries are shared objects.
   27214 deplibs_check_method=$lt_deplibs_check_method
   27215 
   27216 # Command to use when deplibs_check_method = "file_magic".
   27217 file_magic_cmd=$lt_file_magic_cmd
   27218 
   27219 # How to find potential files when deplibs_check_method = "file_magic".
   27220 file_magic_glob=$lt_file_magic_glob
   27221 
   27222 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   27223 want_nocaseglob=$lt_want_nocaseglob
   27224 
   27225 # DLL creation program.
   27226 DLLTOOL=$lt_DLLTOOL
   27227 
   27228 # Command to associate shared and link libraries.
   27229 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   27230 
   27231 # The archiver.
   27232 AR=$lt_AR
   27233 
   27234 # Flags to create an archive.
   27235 AR_FLAGS=$lt_AR_FLAGS
   27236 
   27237 # How to feed a file listing to the archiver.
   27238 archiver_list_spec=$lt_archiver_list_spec
   27239 
   27240 # A symbol stripping program.
   27241 STRIP=$lt_STRIP
   27242 
   27243 # Commands used to install an old-style archive.
   27244 RANLIB=$lt_RANLIB
   27245 old_postinstall_cmds=$lt_old_postinstall_cmds
   27246 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   27247 
   27248 # Whether to use a lock for old archive extraction.
   27249 lock_old_archive_extraction=$lock_old_archive_extraction
   27250 
   27251 # A C compiler.
   27252 LTCC=$lt_CC
   27253 
   27254 # LTCC compiler flags.
   27255 LTCFLAGS=$lt_CFLAGS
   27256 
   27257 # Take the output of nm and produce a listing of raw symbols and C names.
   27258 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   27259 
   27260 # Transform the output of nm in a proper C declaration.
   27261 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   27262 
   27263 # Transform the output of nm into a list of symbols to manually relocate.
   27264 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   27265 
   27266 # Transform the output of nm in a C name address pair.
   27267 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   27268 
   27269 # Transform the output of nm in a C name address pair when lib prefix is needed.
   27270 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   27271 
   27272 # The name lister interface.
   27273 nm_interface=$lt_lt_cv_nm_interface
   27274 
   27275 # Specify filename containing input files for \$NM.
   27276 nm_file_list_spec=$lt_nm_file_list_spec
   27277 
   27278 # The root where to search for dependent libraries,and where our libraries should be installed.
   27279 lt_sysroot=$lt_sysroot
   27280 
   27281 # Command to truncate a binary pipe.
   27282 lt_truncate_bin=$lt_lt_cv_truncate_bin
   27283 
   27284 # The name of the directory that contains temporary libtool files.
   27285 objdir=$objdir
   27286 
   27287 # Used to examine libraries when file_magic_cmd begins with "file".
   27288 MAGIC_CMD=$MAGIC_CMD
   27289 
   27290 # Must we lock files when doing compilation?
   27291 need_locks=$lt_need_locks
   27292 
   27293 # Manifest tool.
   27294 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   27295 
   27296 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   27297 DSYMUTIL=$lt_DSYMUTIL
   27298 
   27299 # Tool to change global to local symbols on Mac OS X.
   27300 NMEDIT=$lt_NMEDIT
   27301 
   27302 # Tool to manipulate fat objects and archives on Mac OS X.
   27303 LIPO=$lt_LIPO
   27304 
   27305 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   27306 OTOOL=$lt_OTOOL
   27307 
   27308 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   27309 OTOOL64=$lt_OTOOL64
   27310 
   27311 # Old archive suffix (normally "a").
   27312 libext=$libext
   27313 
   27314 # Shared library suffix (normally ".so").
   27315 shrext_cmds=$lt_shrext_cmds
   27316 
   27317 # The commands to extract the exported symbol list from a shared archive.
   27318 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   27319 
   27320 # Variables whose values should be saved in libtool wrapper scripts and
   27321 # restored at link time.
   27322 variables_saved_for_relink=$lt_variables_saved_for_relink
   27323 
   27324 # Do we need the "lib" prefix for modules?
   27325 need_lib_prefix=$need_lib_prefix
   27326 
   27327 # Do we need a version for libraries?
   27328 need_version=$need_version
   27329 
   27330 # Library versioning type.
   27331 version_type=$version_type
   27332 
   27333 # Shared library runtime path variable.
   27334 runpath_var=$runpath_var
   27335 
   27336 # Shared library path variable.
   27337 shlibpath_var=$shlibpath_var
   27338 
   27339 # Is shlibpath searched before the hard-coded library search path?
   27340 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   27341 
   27342 # Format of library name prefix.
   27343 libname_spec=$lt_libname_spec
   27344 
   27345 # List of archive names.  First name is the real one, the rest are links.
   27346 # The last name is the one that the linker finds with -lNAME
   27347 library_names_spec=$lt_library_names_spec
   27348 
   27349 # The coded name of the library, if different from the real name.
   27350 soname_spec=$lt_soname_spec
   27351 
   27352 # Permission mode override for installation of shared libraries.
   27353 install_override_mode=$lt_install_override_mode
   27354 
   27355 # Command to use after installation of a shared archive.
   27356 postinstall_cmds=$lt_postinstall_cmds
   27357 
   27358 # Command to use after uninstallation of a shared archive.
   27359 postuninstall_cmds=$lt_postuninstall_cmds
   27360 
   27361 # Commands used to finish a libtool library installation in a directory.
   27362 finish_cmds=$lt_finish_cmds
   27363 
   27364 # As "finish_cmds", except a single script fragment to be evaled but
   27365 # not shown.
   27366 finish_eval=$lt_finish_eval
   27367 
   27368 # Whether we should hardcode library paths into libraries.
   27369 hardcode_into_libs=$hardcode_into_libs
   27370 
   27371 # Compile-time system search path for libraries.
   27372 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   27373 
   27374 # Detected run-time system search path for libraries.
   27375 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   27376 
   27377 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   27378 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   27379 
   27380 # Whether dlopen is supported.
   27381 dlopen_support=$enable_dlopen
   27382 
   27383 # Whether dlopen of programs is supported.
   27384 dlopen_self=$enable_dlopen_self
   27385 
   27386 # Whether dlopen of statically linked programs is supported.
   27387 dlopen_self_static=$enable_dlopen_self_static
   27388 
   27389 # Commands to strip libraries.
   27390 old_striplib=$lt_old_striplib
   27391 striplib=$lt_striplib
   27392 
   27393 
   27394 # The linker used to build libraries.
   27395 LD=$lt_LD
   27396 
   27397 # How to create reloadable object files.
   27398 reload_flag=$lt_reload_flag
   27399 reload_cmds=$lt_reload_cmds
   27400 
   27401 # Commands used to build an old-style archive.
   27402 old_archive_cmds=$lt_old_archive_cmds
   27403 
   27404 # A language specific compiler.
   27405 CC=$lt_compiler
   27406 
   27407 # Is the compiler the GNU compiler?
   27408 with_gcc=$GCC
   27409 
   27410 # Compiler flag to turn off builtin functions.
   27411 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   27412 
   27413 # Additional compiler flags for building library objects.
   27414 pic_flag=$lt_lt_prog_compiler_pic
   27415 
   27416 # How to pass a linker flag through the compiler.
   27417 wl=$lt_lt_prog_compiler_wl
   27418 
   27419 # Compiler flag to prevent dynamic linking.
   27420 link_static_flag=$lt_lt_prog_compiler_static
   27421 
   27422 # Does compiler simultaneously support -c and -o options?
   27423 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   27424 
   27425 # Whether or not to add -lc for building shared libraries.
   27426 build_libtool_need_lc=$archive_cmds_need_lc
   27427 
   27428 # Whether or not to disallow shared libs when runtime libs are static.
   27429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   27430 
   27431 # Compiler flag to allow reflexive dlopens.
   27432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   27433 
   27434 # Compiler flag to generate shared objects directly from archives.
   27435 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   27436 
   27437 # Whether the compiler copes with passing no objects directly.
   27438 compiler_needs_object=$lt_compiler_needs_object
   27439 
   27440 # Create an old-style archive from a shared archive.
   27441 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   27442 
   27443 # Create a temporary old-style archive to link instead of a shared archive.
   27444 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   27445 
   27446 # Commands used to build a shared archive.
   27447 archive_cmds=$lt_archive_cmds
   27448 archive_expsym_cmds=$lt_archive_expsym_cmds
   27449 
   27450 # Commands used to build a loadable module if different from building
   27451 # a shared archive.
   27452 module_cmds=$lt_module_cmds
   27453 module_expsym_cmds=$lt_module_expsym_cmds
   27454 
   27455 # Whether we are building with GNU ld or not.
   27456 with_gnu_ld=$lt_with_gnu_ld
   27457 
   27458 # Flag that allows shared libraries with undefined symbols to be built.
   27459 allow_undefined_flag=$lt_allow_undefined_flag
   27460 
   27461 # Flag that enforces no undefined symbols.
   27462 no_undefined_flag=$lt_no_undefined_flag
   27463 
   27464 # Flag to hardcode \$libdir into a binary during linking.
   27465 # This must work even if \$libdir does not exist
   27466 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   27467 
   27468 # Whether we need a single "-rpath" flag with a separated argument.
   27469 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   27470 
   27471 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   27472 # DIR into the resulting binary.
   27473 hardcode_direct=$hardcode_direct
   27474 
   27475 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   27476 # DIR into the resulting binary and the resulting library dependency is
   27477 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   27478 # library is relocated.
   27479 hardcode_direct_absolute=$hardcode_direct_absolute
   27480 
   27481 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   27482 # into the resulting binary.
   27483 hardcode_minus_L=$hardcode_minus_L
   27484 
   27485 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   27486 # into the resulting binary.
   27487 hardcode_shlibpath_var=$hardcode_shlibpath_var
   27488 
   27489 # Set to "yes" if building a shared library automatically hardcodes DIR
   27490 # into the library and all subsequent libraries and executables linked
   27491 # against it.
   27492 hardcode_automatic=$hardcode_automatic
   27493 
   27494 # Set to yes if linker adds runtime paths of dependent libraries
   27495 # to runtime path list.
   27496 inherit_rpath=$inherit_rpath
   27497 
   27498 # Whether libtool must link a program against all its dependency libraries.
   27499 link_all_deplibs=$link_all_deplibs
   27500 
   27501 # Set to "yes" if exported symbols are required.
   27502 always_export_symbols=$always_export_symbols
   27503 
   27504 # The commands to list exported symbols.
   27505 export_symbols_cmds=$lt_export_symbols_cmds
   27506 
   27507 # Symbols that should not be listed in the preloaded symbols.
   27508 exclude_expsyms=$lt_exclude_expsyms
   27509 
   27510 # Symbols that must always be exported.
   27511 include_expsyms=$lt_include_expsyms
   27512 
   27513 # Commands necessary for linking programs (against libraries) with templates.
   27514 prelink_cmds=$lt_prelink_cmds
   27515 
   27516 # Commands necessary for finishing linking programs.
   27517 postlink_cmds=$lt_postlink_cmds
   27518 
   27519 # Specify filename containing input files.
   27520 file_list_spec=$lt_file_list_spec
   27521 
   27522 # How to hardcode a shared library path into an executable.
   27523 hardcode_action=$hardcode_action
   27524 
   27525 # The directories searched by this compiler when creating a shared library.
   27526 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   27527 
   27528 # Dependencies to place before and after the objects being linked to
   27529 # create a shared library.
   27530 predep_objects=$lt_predep_objects
   27531 postdep_objects=$lt_postdep_objects
   27532 predeps=$lt_predeps
   27533 postdeps=$lt_postdeps
   27534 
   27535 # The library search path used internally by the compiler when linking
   27536 # a shared library.
   27537 compiler_lib_search_path=$lt_compiler_lib_search_path
   27538 
   27539 # ### END LIBTOOL CONFIG
   27540 
   27541 _LT_EOF
   27542 
   27543     cat <<'_LT_EOF' >> "$cfgfile"
   27544 
   27545 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   27546 
   27547 # func_munge_path_list VARIABLE PATH
   27548 # -----------------------------------
   27549 # VARIABLE is name of variable containing _space_ separated list of
   27550 # directories to be munged by the contents of PATH, which is string
   27551 # having a format:
   27552 # "DIR[:DIR]:"
   27553 #       string "DIR[ DIR]" will be prepended to VARIABLE
   27554 # ":DIR[:DIR]"
   27555 #       string "DIR[ DIR]" will be appended to VARIABLE
   27556 # "DIRP[:DIRP]::[DIRA:]DIRA"
   27557 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   27558 #       "DIRA[ DIRA]" will be appended to VARIABLE
   27559 # "DIR[:DIR]"
   27560 #       VARIABLE will be replaced by "DIR[ DIR]"
   27561 func_munge_path_list ()
   27562 {
   27563     case x$2 in
   27564     x)
   27565         ;;
   27566     *:)
   27567         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   27568         ;;
   27569     x:*)
   27570         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   27571         ;;
   27572     *::*)
   27573         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   27574         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   27575         ;;
   27576     *)
   27577         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   27578         ;;
   27579     esac
   27580 }
   27581 
   27582 
   27583 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   27584 func_cc_basename ()
   27585 {
   27586     for cc_temp in $*""; do
   27587       case $cc_temp in
   27588         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   27589         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   27590         \-*) ;;
   27591         *) break;;
   27592       esac
   27593     done
   27594     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   27595 }
   27596 
   27597 
   27598 # ### END FUNCTIONS SHARED WITH CONFIGURE
   27599 
   27600 _LT_EOF
   27601 
   27602   case $host_os in
   27603   aix3*)
   27604     cat <<\_LT_EOF >> "$cfgfile"
   27605 # AIX sometimes has problems with the GCC collect2 program.  For some
   27606 # reason, if we set the COLLECT_NAMES environment variable, the problems
   27607 # vanish in a puff of smoke.
   27608 if test set != "${COLLECT_NAMES+set}"; then
   27609   COLLECT_NAMES=
   27610   export COLLECT_NAMES
   27611 fi
   27612 _LT_EOF
   27613     ;;
   27614   esac
   27615 
   27616 
   27617 
   27618 ltmain=$ac_aux_dir/ltmain.sh
   27619 
   27620 
   27621   # We use sed instead of cat because bash on DJGPP gets confused if
   27622   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   27623   # text mode, it properly converts lines to CR/LF.  This bash problem
   27624   # is reportedly fixed, but why not run on old versions too?
   27625   sed '$q' "$ltmain" >> "$cfgfile" \
   27626      || (rm -f "$cfgfile"; exit 1)
   27627 
   27628    mv -f "$cfgfile" "$ofile" ||
   27629     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   27630   chmod +x "$ofile"
   27631 
   27632 
   27633     cat <<_LT_EOF >> "$ofile"
   27634 
   27635 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   27636 
   27637 # The linker used to build libraries.
   27638 LD=$lt_LD_CXX
   27639 
   27640 # How to create reloadable object files.
   27641 reload_flag=$lt_reload_flag_CXX
   27642 reload_cmds=$lt_reload_cmds_CXX
   27643 
   27644 # Commands used to build an old-style archive.
   27645 old_archive_cmds=$lt_old_archive_cmds_CXX
   27646 
   27647 # A language specific compiler.
   27648 CC=$lt_compiler_CXX
   27649 
   27650 # Is the compiler the GNU compiler?
   27651 with_gcc=$GCC_CXX
   27652 
   27653 # Compiler flag to turn off builtin functions.
   27654 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   27655 
   27656 # Additional compiler flags for building library objects.
   27657 pic_flag=$lt_lt_prog_compiler_pic_CXX
   27658 
   27659 # How to pass a linker flag through the compiler.
   27660 wl=$lt_lt_prog_compiler_wl_CXX
   27661 
   27662 # Compiler flag to prevent dynamic linking.
   27663 link_static_flag=$lt_lt_prog_compiler_static_CXX
   27664 
   27665 # Does compiler simultaneously support -c and -o options?
   27666 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   27667 
   27668 # Whether or not to add -lc for building shared libraries.
   27669 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   27670 
   27671 # Whether or not to disallow shared libs when runtime libs are static.
   27672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   27673 
   27674 # Compiler flag to allow reflexive dlopens.
   27675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   27676 
   27677 # Compiler flag to generate shared objects directly from archives.
   27678 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   27679 
   27680 # Whether the compiler copes with passing no objects directly.
   27681 compiler_needs_object=$lt_compiler_needs_object_CXX
   27682 
   27683 # Create an old-style archive from a shared archive.
   27684 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   27685 
   27686 # Create a temporary old-style archive to link instead of a shared archive.
   27687 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   27688 
   27689 # Commands used to build a shared archive.
   27690 archive_cmds=$lt_archive_cmds_CXX
   27691 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   27692 
   27693 # Commands used to build a loadable module if different from building
   27694 # a shared archive.
   27695 module_cmds=$lt_module_cmds_CXX
   27696 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   27697 
   27698 # Whether we are building with GNU ld or not.
   27699 with_gnu_ld=$lt_with_gnu_ld_CXX
   27700 
   27701 # Flag that allows shared libraries with undefined symbols to be built.
   27702 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   27703 
   27704 # Flag that enforces no undefined symbols.
   27705 no_undefined_flag=$lt_no_undefined_flag_CXX
   27706 
   27707 # Flag to hardcode \$libdir into a binary during linking.
   27708 # This must work even if \$libdir does not exist
   27709 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   27710 
   27711 # Whether we need a single "-rpath" flag with a separated argument.
   27712 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   27713 
   27714 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   27715 # DIR into the resulting binary.
   27716 hardcode_direct=$hardcode_direct_CXX
   27717 
   27718 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   27719 # DIR into the resulting binary and the resulting library dependency is
   27720 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   27721 # library is relocated.
   27722 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   27723 
   27724 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   27725 # into the resulting binary.
   27726 hardcode_minus_L=$hardcode_minus_L_CXX
   27727 
   27728 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   27729 # into the resulting binary.
   27730 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   27731 
   27732 # Set to "yes" if building a shared library automatically hardcodes DIR
   27733 # into the library and all subsequent libraries and executables linked
   27734 # against it.
   27735 hardcode_automatic=$hardcode_automatic_CXX
   27736 
   27737 # Set to yes if linker adds runtime paths of dependent libraries
   27738 # to runtime path list.
   27739 inherit_rpath=$inherit_rpath_CXX
   27740 
   27741 # Whether libtool must link a program against all its dependency libraries.
   27742 link_all_deplibs=$link_all_deplibs_CXX
   27743 
   27744 # Set to "yes" if exported symbols are required.
   27745 always_export_symbols=$always_export_symbols_CXX
   27746 
   27747 # The commands to list exported symbols.
   27748 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   27749 
   27750 # Symbols that should not be listed in the preloaded symbols.
   27751 exclude_expsyms=$lt_exclude_expsyms_CXX
   27752 
   27753 # Symbols that must always be exported.
   27754 include_expsyms=$lt_include_expsyms_CXX
   27755 
   27756 # Commands necessary for linking programs (against libraries) with templates.
   27757 prelink_cmds=$lt_prelink_cmds_CXX
   27758 
   27759 # Commands necessary for finishing linking programs.
   27760 postlink_cmds=$lt_postlink_cmds_CXX
   27761 
   27762 # Specify filename containing input files.
   27763 file_list_spec=$lt_file_list_spec_CXX
   27764 
   27765 # How to hardcode a shared library path into an executable.
   27766 hardcode_action=$hardcode_action_CXX
   27767 
   27768 # The directories searched by this compiler when creating a shared library.
   27769 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   27770 
   27771 # Dependencies to place before and after the objects being linked to
   27772 # create a shared library.
   27773 predep_objects=$lt_predep_objects_CXX
   27774 postdep_objects=$lt_postdep_objects_CXX
   27775 predeps=$lt_predeps_CXX
   27776 postdeps=$lt_postdeps_CXX
   27777 
   27778 # The library search path used internally by the compiler when linking
   27779 # a shared library.
   27780 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   27781 
   27782 # ### END LIBTOOL TAG CONFIG: CXX
   27783 _LT_EOF
   27784 
   27785  ;;
   27786     "$ac_stdint_h":C)
   27787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
   27788 printf "%s\n" "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
   27789 ac_stdint=$tmp/_stdint.h
   27790 
   27791 echo "#ifndef" $_ac_stdint_h >$ac_stdint
   27792 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
   27793 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
   27794 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
   27795 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
   27796 if test "_$ac_cv_header_stdint_t" != "_" ; then
   27797 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
   27798 echo "#include <stdint.h>" >>$ac_stdint
   27799 echo "#endif" >>$ac_stdint
   27800 echo "#endif" >>$ac_stdint
   27801 else
   27802 
   27803 cat >>$ac_stdint <<STDINT_EOF
   27804 
   27805 /* ................... shortcircuit part ........................... */
   27806 
   27807 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
   27808 #include <stdint.h>
   27809 #else
   27810 #include <stddef.h>
   27811 
   27812 /* .................... configured part ............................ */
   27813 
   27814 STDINT_EOF
   27815 
   27816 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
   27817 if test "_$ac_cv_header_stdint_x" != "_" ; then
   27818   ac_header="$ac_cv_header_stdint_x"
   27819   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
   27820 else
   27821   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
   27822 fi
   27823 
   27824 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
   27825 if  test "_$ac_cv_header_stdint_o" != "_" ; then
   27826   ac_header="$ac_cv_header_stdint_o"
   27827   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
   27828 else
   27829   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
   27830 fi
   27831 
   27832 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
   27833 if  test "_$ac_cv_header_stdint_u" != "_" ; then
   27834   ac_header="$ac_cv_header_stdint_u"
   27835   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
   27836 else
   27837   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
   27838 fi
   27839 
   27840 echo "" >>$ac_stdint
   27841 
   27842 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
   27843   echo "#include <$ac_header>" >>$ac_stdint
   27844   echo "" >>$ac_stdint
   27845 fi fi
   27846 
   27847 echo "/* which 64bit typedef has been found */" >>$ac_stdint
   27848 if test "$ac_cv_type_uint64_t" = "yes" ; then
   27849 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
   27850 else
   27851 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
   27852 fi
   27853 if test "$ac_cv_type_u_int64_t" = "yes" ; then
   27854 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
   27855 else
   27856 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
   27857 fi
   27858 echo "" >>$ac_stdint
   27859 
   27860 echo "/* which type model has been detected */" >>$ac_stdint
   27861 if test "_$ac_cv_char_data_model" != "_" ; then
   27862 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
   27863 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
   27864 else
   27865 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
   27866 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
   27867 fi
   27868 echo "" >>$ac_stdint
   27869 
   27870 echo "/* whether int_least types were detected */" >>$ac_stdint
   27871 if test "$ac_cv_type_int_least32_t" = "yes"; then
   27872 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
   27873 else
   27874 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
   27875 fi
   27876 echo "/* whether int_fast types were detected */" >>$ac_stdint
   27877 if test "$ac_cv_type_int_fast32_t" = "yes"; then
   27878 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
   27879 else
   27880 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
   27881 fi
   27882 echo "/* whether intmax_t type was detected */" >>$ac_stdint
   27883 if test "$ac_cv_type_intmax_t" = "yes"; then
   27884 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
   27885 else
   27886 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
   27887 fi
   27888 echo "" >>$ac_stdint
   27889 
   27890   cat >>$ac_stdint <<STDINT_EOF
   27891 /* .................... detections part ............................ */
   27892 
   27893 /* whether we need to define bit specific types from compiler base types */
   27894 #ifndef _STDINT_HEADER_INTPTR
   27895 #ifndef _STDINT_HEADER_UINT32
   27896 #ifndef _STDINT_HEADER_U_INT32
   27897 #define _STDINT_NEED_INT_MODEL_T
   27898 #else
   27899 #define _STDINT_HAVE_U_INT_TYPES
   27900 #endif
   27901 #endif
   27902 #endif
   27903 
   27904 #ifdef _STDINT_HAVE_U_INT_TYPES
   27905 #undef _STDINT_NEED_INT_MODEL_T
   27906 #endif
   27907 
   27908 #ifdef  _STDINT_CHAR_MODEL
   27909 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
   27910 #ifndef _STDINT_BYTE_MODEL
   27911 #define _STDINT_BYTE_MODEL 12
   27912 #endif
   27913 #endif
   27914 #endif
   27915 
   27916 #ifndef _STDINT_HAVE_INT_LEAST32_T
   27917 #define _STDINT_NEED_INT_LEAST_T
   27918 #endif
   27919 
   27920 #ifndef _STDINT_HAVE_INT_FAST32_T
   27921 #define _STDINT_NEED_INT_FAST_T
   27922 #endif
   27923 
   27924 #ifndef _STDINT_HEADER_INTPTR
   27925 #define _STDINT_NEED_INTPTR_T
   27926 #ifndef _STDINT_HAVE_INTMAX_T
   27927 #define _STDINT_NEED_INTMAX_T
   27928 #endif
   27929 #endif
   27930 
   27931 
   27932 /* .................... definition part ............................ */
   27933 
   27934 /* some system headers have good uint64_t */
   27935 #ifndef _HAVE_UINT64_T
   27936 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
   27937 #define _HAVE_UINT64_T
   27938 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
   27939 #define _HAVE_UINT64_T
   27940 typedef u_int64_t uint64_t;
   27941 #endif
   27942 #endif
   27943 
   27944 #ifndef _HAVE_UINT64_T
   27945 /* .. here are some common heuristics using compiler runtime specifics */
   27946 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
   27947 #define _HAVE_UINT64_T
   27948 #define _HAVE_LONGLONG_UINT64_T
   27949 typedef long long int64_t;
   27950 typedef unsigned long long uint64_t;
   27951 
   27952 #elif !defined __STRICT_ANSI__
   27953 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   27954 #define _HAVE_UINT64_T
   27955 typedef __int64 int64_t;
   27956 typedef unsigned __int64 uint64_t;
   27957 
   27958 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
   27959 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
   27960 #if !defined _NO_LONGLONG
   27961 #define _HAVE_UINT64_T
   27962 #define _HAVE_LONGLONG_UINT64_T
   27963 typedef long long int64_t;
   27964 typedef unsigned long long uint64_t;
   27965 #endif
   27966 
   27967 #elif defined __alpha || (defined __mips && defined _ABIN32)
   27968 #if !defined _NO_LONGLONG
   27969 typedef long int64_t;
   27970 typedef unsigned long uint64_t;
   27971 #endif
   27972   /* compiler/cpu type to define int64_t */
   27973 #endif
   27974 #endif
   27975 #endif
   27976 
   27977 #if defined _STDINT_HAVE_U_INT_TYPES
   27978 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
   27979 typedef u_int8_t uint8_t;
   27980 typedef u_int16_t uint16_t;
   27981 typedef u_int32_t uint32_t;
   27982 
   27983 /* glibc compatibility */
   27984 #ifndef __int8_t_defined
   27985 #define __int8_t_defined
   27986 #endif
   27987 #endif
   27988 
   27989 #ifdef _STDINT_NEED_INT_MODEL_T
   27990 /* we must guess all the basic types. Apart from byte-addressable system, */
   27991 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
   27992 /* (btw, those nibble-addressable systems are way off, or so we assume) */
   27993 
   27994 
   27995 #if defined _STDINT_BYTE_MODEL
   27996 #if _STDINT_LONG_MODEL+0 == 242
   27997 /* 2:4:2 =  IP16 = a normal 16-bit system                */
   27998 typedef unsigned char   uint8_t;
   27999 typedef unsigned short  uint16_t;
   28000 typedef unsigned long   uint32_t;
   28001 #ifndef __int8_t_defined
   28002 #define __int8_t_defined
   28003 typedef          char    int8_t;
   28004 typedef          short   int16_t;
   28005 typedef          long    int32_t;
   28006 #endif
   28007 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
   28008 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
   28009 /* 4:4:4 = ILP32 = a normal 32-bit system                */
   28010 typedef unsigned char   uint8_t;
   28011 typedef unsigned short  uint16_t;
   28012 typedef unsigned int    uint32_t;
   28013 #ifndef __int8_t_defined
   28014 #define __int8_t_defined
   28015 typedef          char    int8_t;
   28016 typedef          short   int16_t;
   28017 typedef          int     int32_t;
   28018 #endif
   28019 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
   28020 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
   28021 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
   28022 typedef unsigned char   uint8_t;
   28023 typedef unsigned short  uint16_t;
   28024 typedef unsigned int    uint32_t;
   28025 #ifndef __int8_t_defined
   28026 #define __int8_t_defined
   28027 typedef          char    int8_t;
   28028 typedef          short   int16_t;
   28029 typedef          int     int32_t;
   28030 #endif
   28031 /* this system has a "long" of 64bit */
   28032 #ifndef _HAVE_UINT64_T
   28033 #define _HAVE_UINT64_T
   28034 typedef unsigned long   uint64_t;
   28035 typedef          long    int64_t;
   28036 #endif
   28037 #elif _STDINT_LONG_MODEL+0 == 448
   28038 /*      LLP64   a 64-bit system derived from a 32-bit system */
   28039 typedef unsigned char   uint8_t;
   28040 typedef unsigned short  uint16_t;
   28041 typedef unsigned int    uint32_t;
   28042 #ifndef __int8_t_defined
   28043 #define __int8_t_defined
   28044 typedef          char    int8_t;
   28045 typedef          short   int16_t;
   28046 typedef          int     int32_t;
   28047 #endif
   28048 /* assuming the system has a "long long" */
   28049 #ifndef _HAVE_UINT64_T
   28050 #define _HAVE_UINT64_T
   28051 #define _HAVE_LONGLONG_UINT64_T
   28052 typedef unsigned long long uint64_t;
   28053 typedef          long long  int64_t;
   28054 #endif
   28055 #else
   28056 #define _STDINT_NO_INT32_T
   28057 #endif
   28058 #else
   28059 #define _STDINT_NO_INT8_T
   28060 #define _STDINT_NO_INT32_T
   28061 #endif
   28062 #endif
   28063 
   28064 /*
   28065  * quote from SunOS-5.8 sys/inttypes.h:
   28066  * Use at your own risk.  As of February 1996, the committee is squarely
   28067  * behind the fixed sized types; the "least" and "fast" types are still being
   28068  * discussed.  The probability that the "fast" types may be removed before
   28069  * the standard is finalized is high enough that they are not currently
   28070  * implemented.
   28071  */
   28072 
   28073 #if defined _STDINT_NEED_INT_LEAST_T
   28074 typedef  int8_t    int_least8_t;
   28075 typedef  int16_t   int_least16_t;
   28076 typedef  int32_t   int_least32_t;
   28077 #ifdef _HAVE_UINT64_T
   28078 typedef  int64_t   int_least64_t;
   28079 #endif
   28080 
   28081 typedef uint8_t   uint_least8_t;
   28082 typedef uint16_t  uint_least16_t;
   28083 typedef uint32_t  uint_least32_t;
   28084 #ifdef _HAVE_UINT64_T
   28085 typedef uint64_t  uint_least64_t;
   28086 #endif
   28087   /* least types */
   28088 #endif
   28089 
   28090 #if defined _STDINT_NEED_INT_FAST_T
   28091 typedef  int8_t    int_fast8_t;
   28092 typedef  int       int_fast16_t;
   28093 typedef  int32_t   int_fast32_t;
   28094 #ifdef _HAVE_UINT64_T
   28095 typedef  int64_t   int_fast64_t;
   28096 #endif
   28097 
   28098 typedef uint8_t   uint_fast8_t;
   28099 typedef unsigned  uint_fast16_t;
   28100 typedef uint32_t  uint_fast32_t;
   28101 #ifdef _HAVE_UINT64_T
   28102 typedef uint64_t  uint_fast64_t;
   28103 #endif
   28104   /* fast types */
   28105 #endif
   28106 
   28107 #ifdef _STDINT_NEED_INTMAX_T
   28108 #ifdef _HAVE_UINT64_T
   28109 typedef  int64_t       intmax_t;
   28110 typedef uint64_t      uintmax_t;
   28111 #else
   28112 typedef          long  intmax_t;
   28113 typedef unsigned long uintmax_t;
   28114 #endif
   28115 #endif
   28116 
   28117 #ifdef _STDINT_NEED_INTPTR_T
   28118 #ifndef __intptr_t_defined
   28119 #define __intptr_t_defined
   28120 /* we encourage using "long" to store pointer values, never use "int" ! */
   28121 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
   28122 typedef  unsigned int   uintptr_t;
   28123 typedef           int    intptr_t;
   28124 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
   28125 typedef  unsigned long  uintptr_t;
   28126 typedef           long   intptr_t;
   28127 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
   28128 typedef        uint64_t uintptr_t;
   28129 typedef         int64_t  intptr_t;
   28130 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
   28131 typedef  unsigned long  uintptr_t;
   28132 typedef           long   intptr_t;
   28133 #endif
   28134 #endif
   28135 #endif
   28136 
   28137 /* The ISO C99 standard specifies that in C++ implementations these
   28138    should only be defined if explicitly requested.  */
   28139 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
   28140 #ifndef UINT32_C
   28141 
   28142 /* Signed.  */
   28143 # define INT8_C(c)      c
   28144 # define INT16_C(c)     c
   28145 # define INT32_C(c)     c
   28146 # ifdef _HAVE_LONGLONG_UINT64_T
   28147 #  define INT64_C(c)    c ## L
   28148 # else
   28149 #  define INT64_C(c)    c ## LL
   28150 # endif
   28151 
   28152 /* Unsigned.  */
   28153 # define UINT8_C(c)     c ## U
   28154 # define UINT16_C(c)    c ## U
   28155 # define UINT32_C(c)    c ## U
   28156 # ifdef _HAVE_LONGLONG_UINT64_T
   28157 #  define UINT64_C(c)   c ## UL
   28158 # else
   28159 #  define UINT64_C(c)   c ## ULL
   28160 # endif
   28161 
   28162 /* Maximal type.  */
   28163 # ifdef _HAVE_LONGLONG_UINT64_T
   28164 #  define INTMAX_C(c)   c ## L
   28165 #  define UINTMAX_C(c)  c ## UL
   28166 # else
   28167 #  define INTMAX_C(c)   c ## LL
   28168 #  define UINTMAX_C(c)  c ## ULL
   28169 # endif
   28170 
   28171   /* literalnumbers */
   28172 #endif
   28173 #endif
   28174 
   28175 /* These limits are merrily those of a two complement byte-oriented system */
   28176 
   28177 /* Minimum of signed integral types.  */
   28178 # define INT8_MIN               (-128)
   28179 # define INT16_MIN              (-32767-1)
   28180 # define INT32_MIN              (-2147483647-1)
   28181 #ifndef INT64_MIN
   28182 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
   28183 #endif
   28184 /* Maximum of signed integral types.  */
   28185 # define INT8_MAX               (127)
   28186 # define INT16_MAX              (32767)
   28187 # define INT32_MAX              (2147483647)
   28188 #ifndef INT64_MAX
   28189 # define INT64_MAX              (__INT64_C(9223372036854775807))
   28190 #endif
   28191 
   28192 /* Maximum of unsigned integral types.  */
   28193 #ifndef UINT8_MAX
   28194 # define UINT8_MAX              (255)
   28195 #endif
   28196 #ifndef UINT16_MAX
   28197 # define UINT16_MAX             (65535)
   28198 #endif
   28199 # define UINT32_MAX             (4294967295U)
   28200 #ifndef UINT64_MAX
   28201 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
   28202 #endif
   28203 
   28204 /* Minimum of signed integral types having a minimum size.  */
   28205 # define INT_LEAST8_MIN         INT8_MIN
   28206 # define INT_LEAST16_MIN        INT16_MIN
   28207 # define INT_LEAST32_MIN        INT32_MIN
   28208 # define INT_LEAST64_MIN        INT64_MIN
   28209 /* Maximum of signed integral types having a minimum size.  */
   28210 # define INT_LEAST8_MAX         INT8_MAX
   28211 # define INT_LEAST16_MAX        INT16_MAX
   28212 # define INT_LEAST32_MAX        INT32_MAX
   28213 # define INT_LEAST64_MAX        INT64_MAX
   28214 
   28215 /* Maximum of unsigned integral types having a minimum size.  */
   28216 # define UINT_LEAST8_MAX        UINT8_MAX
   28217 # define UINT_LEAST16_MAX       UINT16_MAX
   28218 # define UINT_LEAST32_MAX       UINT32_MAX
   28219 # define UINT_LEAST64_MAX       UINT64_MAX
   28220 
   28221   /* shortcircuit*/
   28222 #endif
   28223   /* once */
   28224 #endif
   28225 #endif
   28226 STDINT_EOF
   28227 fi
   28228     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
   28229       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
   28230 printf "%s\n" "$as_me: $ac_stdint_h is unchanged" >&6;}
   28231     else
   28232       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
   28233 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   28234 	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
   28235 	 X"$ac_stdint_h" : 'X\(//\)$' \| \
   28236 	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
   28237 printf "%s\n" X"$ac_stdint_h" |
   28238     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   28239 	    s//\1/
   28240 	    q
   28241 	  }
   28242 	  /^X\(\/\/\)[^/].*/{
   28243 	    s//\1/
   28244 	    q
   28245 	  }
   28246 	  /^X\(\/\/\)$/{
   28247 	    s//\1/
   28248 	    q
   28249 	  }
   28250 	  /^X\(\/\).*/{
   28251 	    s//\1/
   28252 	    q
   28253 	  }
   28254 	  s/.*/./; q'`
   28255       as_dir="$ac_dir"; as_fn_mkdir_p
   28256       rm -f $ac_stdint_h
   28257       mv $ac_stdint $ac_stdint_h
   28258     fi
   28259  ;;
   28260     "$ax_create_pkgconfig_generate":C)
   28261 pkgconfig_generate="$ax_create_pkgconfig_generate"
   28262 if test ! -f "$pkgconfig_generate.in"
   28263 then generate="true"
   28264 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
   28265 then generate="true"
   28266 else generate="false";
   28267 fi
   28268 if $generate ; then
   28269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
   28270 printf "%s\n" "$as_me: creating $pkgconfig_generate.in" >&6;}
   28271 cat > $pkgconfig_generate.in <<AXEOF
   28272 # generated by configure / remove this line to disable regeneration
   28273 prefix=@prefix@
   28274 exec_prefix=@exec_prefix@
   28275 bindir=@bindir@
   28276 libdir=@libdir@
   28277 datarootdir=@datarootdir@
   28278 datadir=@datadir@
   28279 sysconfdir=@sysconfdir@
   28280 includedir=@includedir@
   28281 package=@PACKAGE@
   28282 suffix=@suffix@
   28283 
   28284 Name: @PACKAGE_NAME@
   28285 Description: @PACKAGE_DESCRIPTION@
   28286 Version: @PACKAGE_VERSION@
   28287 Requires: @PACKAGE_REQUIRES@
   28288 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
   28289 Cflags: -I\${includedir} @CPPFLAGS@
   28290 AXEOF
   28291 fi # DONE generate $pkgconfig_generate.in
   28292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
   28293 printf "%s\n" "$as_me: creating $pkgconfig_generate" >&6;}
   28294 cat >conftest.sed <<AXEOF
   28295 s|@prefix@|${pkgconfig_prefix}|
   28296 s|@exec_prefix@|${pkgconfig_execprefix}|
   28297 s|@bindir@|${pkgconfig_bindir}|
   28298 s|@libdir@|${pkgconfig_libdir}|
   28299 s|@datarootdir@|${pkgconfig_datarootdir}|
   28300 s|@datadir@|${pkgconfig_datadir}|
   28301 s|@sysconfdir@|${pkgconfig_sysconfdir}|
   28302 s|@includedir@|${pkgconfig_includedir}|
   28303 s|@suffix@|${pkgconfig_suffix}|
   28304 s|@PACKAGE@|${pkgconfig_package}|
   28305 s|@PACKAGE_NAME@|${pkgconfig_libname}|
   28306 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
   28307 s|@PACKAGE_VERSION@|${pkgconfig_version}|
   28308 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
   28309 s|@LIBS@|${pkgconfig_libs}|
   28310 s|@LDFLAGS@|${pkgconfig_ldflags}|
   28311 s|@CPPFLAGS@|${pkgconfig_cppflags}|
   28312 AXEOF
   28313 sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_generate
   28314 if test ! -s $pkgconfig_generate ; then
   28315     as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
   28316 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
   28317 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
   28318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
   28319 printf "%s\n" "$as_me: creating $pkgconfig_uninstalled" >&6;}
   28320 cat >conftest.sed <<AXEOF
   28321 s|@prefix@|${pkgconfig_prefix}|
   28322 s|@exec_prefix@|${pkgconfig_execprefix}|
   28323 s|@bindir@|${pkgconfig_bindir}|
   28324 s|@libdir@|${pkgconfig_src_libdir}|
   28325 s|@datarootdir@|${pkgconfig_datarootdir}|
   28326 s|@datadir@|${pkgconfig_datadir}|
   28327 s|@sysconfdir@|${pkgconfig_sysconfdir}|
   28328 s|@includedir@|${pkgconfig_src_headers}|
   28329 s|@suffix@|${pkgconfig_suffix}|
   28330 s|@PACKAGE@|${pkgconfig_package}|
   28331 s|@PACKAGE_NAME@|${pkgconfig_libname}|
   28332 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
   28333 s|@PACKAGE_VERSION@|${pkgconfig_version}|
   28334 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
   28335 s|@LIBS@|${pkgconfig_libs}|
   28336 s|@LDFLAGS@|${pkgconfig_ldflags}|
   28337 s|@CPPFLAGS@|${pkgconfig_cppflags}|
   28338 AXEOF
   28339 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
   28340 if test ! -s $pkgconfig_uninstalled ; then
   28341     as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
   28342 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
   28343            pkgconfig_requires_add=`echo ${pkgconfig_requires}`
   28344 if test ".$pkgconfig_requires_add" != "." ; then
   28345            pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
   28346     else   pkgconfig_requires_add=":" ; fi
   28347 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
   28348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
   28349 printf "%s\n" "$as_me: creating $pkgconfig_uninstalled" >&6;}
   28350 cat >conftest.sed <<AXEOF
   28351 s|@prefix@|\"${pkgconfig_prefix}\"|
   28352 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
   28353 s|@bindir@|\"${pkgconfig_bindir}\"|
   28354 s|@libdir@|\"${pkgconfig_src_libdir}\"|
   28355 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
   28356 s|@datadir@|\"${pkgconfig_datadir}\"|
   28357 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
   28358 s|@includedir@|\"${pkgconfig_src_headers}\"|
   28359 s|@suffix@|\"${pkgconfig_suffix}\"|
   28360 s|@PACKAGE@|\"${pkgconfig_package}\"|
   28361 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
   28362 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
   28363 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
   28364 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
   28365 s|@LIBS@|\"${pkgconfig_libs}\"|
   28366 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
   28367 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
   28368 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
   28369 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
   28370 s>Version: *>\\;\\; --modversion|--version) echo >
   28371 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
   28372 s>Libs: *>\\;\\; --libs) echo >
   28373 s>Cflags: *>\\;\\; --cflags) echo >
   28374 /--libs)/a\\
   28375        $pkgconfig_requires_add
   28376 /--cflags)/a\\
   28377        $pkgconfig_requires_add\\
   28378 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
   28379 ;; --uninstalled) exit 0 \\
   28380 ;; *) ;; esac done
   28381 AXEOF
   28382 sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_uninstalled
   28383 if test ! -s $pkgconfig_uninstalled ; then
   28384     as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
   28385 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
   28386  ;;
   28387     "bound_test.sh":F) chmod +x bound_test.sh ;;
   28388     "codegen_test.sh":F) chmod +x codegen_test.sh ;;
   28389     "pip_test.sh":F) chmod +x pip_test.sh ;;
   28390     "flow_test.sh":F) chmod +x flow_test.sh ;;
   28391     "schedule_test.sh":F) chmod +x schedule_test.sh ;;
   28392 
   28393   esac
   28394 done # for ac_tag
   28395 
   28396 
   28397 as_fn_exit 0
   28398 _ACEOF
   28399 ac_clean_files=$ac_clean_files_save
   28400 
   28401 test $ac_write_fail = 0 ||
   28402   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   28403 
   28404 
   28405 # configure is writing to config.log, and then calls config.status.
   28406 # config.status does its own redirection, appending to config.log.
   28407 # Unfortunately, on DOS this fails, as config.log is still kept open
   28408 # by configure, so config.status won't be able to write to it; its
   28409 # output is simply discarded.  So we exec the FD to /dev/null,
   28410 # effectively closing config.log, so it can be properly (re)opened and
   28411 # appended to by config.status.  When coming back to configure, we
   28412 # need to make the FD available again.
   28413 if test "$no_create" != yes; then
   28414   ac_cs_success=:
   28415   ac_config_status_args=
   28416   test "$silent" = yes &&
   28417     ac_config_status_args="$ac_config_status_args --quiet"
   28418   exec 5>/dev/null
   28419   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   28420   exec 5>>config.log
   28421   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   28422   # would make configure fail if this is the last instruction.
   28423   $ac_cs_success || as_fn_exit 1
   28424 fi
   28425 
   28426 #
   28427 # CONFIG_SUBDIRS section.
   28428 #
   28429 if test "$no_recursion" != yes; then
   28430 
   28431   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
   28432   # so they do not pile up.
   28433   ac_sub_configure_args=
   28434   ac_prev=
   28435   eval "set x $ac_configure_args"
   28436   shift
   28437   for ac_arg
   28438   do
   28439     if test -n "$ac_prev"; then
   28440       ac_prev=
   28441       continue
   28442     fi
   28443     case $ac_arg in
   28444     -cache-file | --cache-file | --cache-fil | --cache-fi \
   28445     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   28446       ac_prev=cache_file ;;
   28447     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   28448     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
   28449     | --c=*)
   28450       ;;
   28451     --config-cache | -C)
   28452       ;;
   28453     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   28454       ac_prev=srcdir ;;
   28455     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   28456       ;;
   28457     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   28458       ac_prev=prefix ;;
   28459     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   28460       ;;
   28461     --disable-option-checking)
   28462       ;;
   28463     *)
   28464       case $ac_arg in
   28465       *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   28466       esac
   28467       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
   28468     esac
   28469   done
   28470 
   28471   # Always prepend --prefix to ensure using the same prefix
   28472   # in subdir configurations.
   28473   ac_arg="--prefix=$prefix"
   28474   case $ac_arg in
   28475   *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   28476   esac
   28477   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
   28478 
   28479   # Pass --silent
   28480   if test "$silent" = yes; then
   28481     ac_sub_configure_args="--silent $ac_sub_configure_args"
   28482   fi
   28483 
   28484   # Always prepend --disable-option-checking to silence warnings, since
   28485   # different subdirs can have different --enable and --with options.
   28486   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
   28487 
   28488   ac_popdir=`pwd`
   28489   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
   28490 
   28491     # Do not complain, so a configure script can configure whichever
   28492     # parts of a large source tree are present.
   28493     test -d "$srcdir/$ac_dir" || continue
   28494 
   28495     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
   28496     printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
   28497     printf "%s\n" "$ac_msg" >&6
   28498     as_dir="$ac_dir"; as_fn_mkdir_p
   28499     ac_builddir=.
   28500 
   28501 case "$ac_dir" in
   28502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   28503 *)
   28504   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   28505   # A ".." for each directory in $ac_dir_suffix.
   28506   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   28507   case $ac_top_builddir_sub in
   28508   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   28509   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   28510   esac ;;
   28511 esac
   28512 ac_abs_top_builddir=$ac_pwd
   28513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   28514 # for backward compatibility:
   28515 ac_top_builddir=$ac_top_build_prefix
   28516 
   28517 case $srcdir in
   28518   .)  # We are building in place.
   28519     ac_srcdir=.
   28520     ac_top_srcdir=$ac_top_builddir_sub
   28521     ac_abs_top_srcdir=$ac_pwd ;;
   28522   [\\/]* | ?:[\\/]* )  # Absolute name.
   28523     ac_srcdir=$srcdir$ac_dir_suffix;
   28524     ac_top_srcdir=$srcdir
   28525     ac_abs_top_srcdir=$srcdir ;;
   28526   *) # Relative name.
   28527     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   28528     ac_top_srcdir=$ac_top_build_prefix$srcdir
   28529     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   28530 esac
   28531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   28532 
   28533 
   28534     cd "$ac_dir"
   28535 
   28536     # Check for configure.gnu first; this name is used for a wrapper for
   28537     # Metaconfig's "Configure" on case-insensitive file systems.
   28538     if test -f "$ac_srcdir/configure.gnu"; then
   28539       ac_sub_configure=$ac_srcdir/configure.gnu
   28540     elif test -f "$ac_srcdir/configure"; then
   28541       ac_sub_configure=$ac_srcdir/configure
   28542     else
   28543       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
   28544 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
   28545       ac_sub_configure=
   28546     fi
   28547 
   28548     # The recursion is here.
   28549     if test -n "$ac_sub_configure"; then
   28550       # Make the cache file name correct relative to the subdirectory.
   28551       case $cache_file in
   28552       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
   28553       *) # Relative name.
   28554 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
   28555       esac
   28556 
   28557       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
   28558 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
   28559       # The eval makes quoting arguments work.
   28560       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
   28561 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
   28562 	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
   28563     fi
   28564 
   28565     cd "$ac_popdir"
   28566   done
   28567 fi
   28568 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   28569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   28570 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   28571 fi
   28572 
   28573 
   28574