lac : f16c84a39c2c6e7d2b43cfc77c4e5822a1200685

     1: #! /bin/sh
     2: # Guess values for system-dependent variables and create Makefiles.
     3: # Generated by GNU Autoconf 2.69 for lac 0.1.0.
     4: #
     5: # Report bugs to <lac@tlbflush.org>.
     6: #
     7: #
     8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9: #
    10: #
    11: # This configure script is free software; the Free Software Foundation
    12: # gives unlimited permission to copy, distribute and modify it.
    13: ## -------------------- ##
    14: ## M4sh Initialization. ##
    15: ## -------------------- ##
    16: 
    17: # Be more Bourne compatible
    18: DUALCASE=1; export DUALCASE # for MKS sh
    19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    20:   emulate sh
    21:   NULLCMD=:
    22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    23:   # is contrary to our usage.  Disable this feature.
    24:   alias -g '${1+"$@"}'='"$@"'
    25:   setopt NO_GLOB_SUBST
    26: else
    27:   case `(set -o) 2>/dev/null` in #(
    28:   *posix*) :
    29:     set -o posix ;; #(
    30:   *) :
    31:      ;;
    32: esac
    33: fi
    34: 
    35: 
    36: as_nl='
    37: '
    38: export as_nl
    39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
    40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43: # Prefer a ksh shell builtin over an external printf program on Solaris,
    44: # but without wasting forks for bash or zsh.
    45: if test -z "$BASH_VERSION$ZSH_VERSION" \
    46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    47:   as_echo='print -r --'
    48:   as_echo_n='print -rn --'
    49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50:   as_echo='printf %s\n'
    51:   as_echo_n='printf %s'
    52: else
    53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55:     as_echo_n='/usr/ucb/echo -n'
    56:   else
    57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58:     as_echo_n_body='eval
    59:       arg=$1;
    60:       case $arg in #(
    61:       *"$as_nl"*)
    62: 	expr "X$arg" : "X\\(.*\\)$as_nl";
    63: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64:       esac;
    65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66:     '
    67:     export as_echo_n_body
    68:     as_echo_n='sh -c $as_echo_n_body as_echo'
    69:   fi
    70:   export as_echo_body
    71:   as_echo='sh -c $as_echo_body as_echo'
    72: fi
    73: 
    74: # The user is always right.
    75: if test "${PATH_SEPARATOR+set}" != set; then
    76:   PATH_SEPARATOR=:
    77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79:       PATH_SEPARATOR=';'
    80:   }
    81: fi
    82: 
    83: 
    84: # IFS
    85: # We need space, tab and new line, in precisely that order.  Quoting is
    86: # there to prevent editors from complaining about space-tab.
    87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    88: # splitting by setting IFS to empty value.)
    89: IFS=" ""	$as_nl"
    90: 
    91: # Find who we are.  Look in the path if we contain no directory separator.
    92: as_myself=
    93: case $0 in #((
    94:   *[\\/]* ) as_myself=$0 ;;
    95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    96: for as_dir in $PATH
    97: do
    98:   IFS=$as_save_IFS
    99:   test -z "$as_dir" && as_dir=.
   100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   101:   done
   102: IFS=$as_save_IFS
   103: 
   104:      ;;
   105: esac
   106: # We did not find ourselves, most probably we were run as `sh COMMAND'
   107: # in which case we are not to be found in the path.
   108: if test "x$as_myself" = x; then
   109:   as_myself=$0
   110: fi
   111: if test ! -f "$as_myself"; then
   112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   113:   exit 1
   114: fi
   115: 
   116: # Unset variables that we do not need and which cause bugs (e.g. in
   117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   118: # suppresses any "Segmentation fault" message there.  '((' could
   119: # trigger a bug in pdksh 5.2.14.
   120: for as_var in BASH_ENV ENV MAIL MAILPATH
   121: do eval test x\${$as_var+set} = xset \
   122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   123: done
   124: PS1='$ '
   125: PS2='> '
   126: PS4='+ '
   127: 
   128: # NLS nuisances.
   129: LC_ALL=C
   130: export LC_ALL
   131: LANGUAGE=C
   132: export LANGUAGE
   133: 
   134: # CDPATH.
   135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   136: 
   137: # Use a proper internal environment variable to ensure we don't fall
   138:   # into an infinite loop, continuously re-executing ourselves.
   139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
   140:     _as_can_reexec=no; export _as_can_reexec;
   141:     # We cannot yet assume a decent shell, so we have to provide a
   142: # neutralization value for shells without unset; and this also
   143: # works around shells that cannot unset nonexistent variables.
   144: # Preserve -v and -x to the replacement shell.
   145: BASH_ENV=/dev/null
   146: ENV=/dev/null
   147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   148: case $- in # ((((
   149:   *v*x* | *x*v* ) as_opts=-vx ;;
   150:   *v* ) as_opts=-v ;;
   151:   *x* ) as_opts=-x ;;
   152:   * ) as_opts= ;;
   153: esac
   154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   155: # Admittedly, this is quite paranoid, since all the known shells bail
   156: # out after a failed `exec'.
   157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   158: as_fn_exit 255
   159:   fi
   160:   # We don't want this to propagate to other subprocesses.
   161:           { _as_can_reexec=; unset _as_can_reexec;}
   162: if test "x$CONFIG_SHELL" = x; then
   163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   164:   emulate sh
   165:   NULLCMD=:
   166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   167:   # is contrary to our usage.  Disable this feature.
   168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
   169:   setopt NO_GLOB_SUBST
   170: else
   171:   case \`(set -o) 2>/dev/null\` in #(
   172:   *posix*) :
   173:     set -o posix ;; #(
   174:   *) :
   175:      ;;
   176: esac
   177: fi
   178: "
   179:   as_required="as_fn_return () { (exit \$1); }
   180: as_fn_success () { as_fn_return 0; }
   181: as_fn_failure () { as_fn_return 1; }
   182: as_fn_ret_success () { return 0; }
   183: as_fn_ret_failure () { return 1; }
   184: 
   185: exitcode=0
   186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   191: 
   192: else
   193:   exitcode=1; echo positional parameters were not saved.
   194: fi
   195: test x\$exitcode = x0 || exit 1
   196: test -x / || exit 1"
   197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   201: test \$(( 1 + 1 )) = 2 || exit 1
   202: 
   203:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   204:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   205:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   206:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   207:     PATH=/empty FPATH=/empty; export PATH FPATH
   208:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   209:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
   210:   if (eval "$as_required") 2>/dev/null; then :
   211:   as_have_required=yes
   212: else
   213:   as_have_required=no
   214: fi
   215:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   216: 
   217: else
   218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   219: as_found=false
   220: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   221: do
   222:   IFS=$as_save_IFS
   223:   test -z "$as_dir" && as_dir=.
   224:   as_found=:
   225:   case $as_dir in #(
   226: 	 /*)
   227: 	   for as_base in sh bash ksh sh5; do
   228: 	     # Try only shells that exist, to save several forks.
   229: 	     as_shell=$as_dir/$as_base
   230: 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   231: 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   232:   CONFIG_SHELL=$as_shell as_have_required=yes
   233: 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   234:   break 2
   235: fi
   236: fi
   237: 	   done;;
   238:        esac
   239:   as_found=false
   240: done
   241: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   242: 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   243:   CONFIG_SHELL=$SHELL as_have_required=yes
   244: fi; }
   245: IFS=$as_save_IFS
   246: 
   247: 
   248:       if test "x$CONFIG_SHELL" != x; then :
   249:   export CONFIG_SHELL
   250:              # We cannot yet assume a decent shell, so we have to provide a
   251: # neutralization value for shells without unset; and this also
   252: # works around shells that cannot unset nonexistent variables.
   253: # Preserve -v and -x to the replacement shell.
   254: BASH_ENV=/dev/null
   255: ENV=/dev/null
   256: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   257: case $- in # ((((
   258:   *v*x* | *x*v* ) as_opts=-vx ;;
   259:   *v* ) as_opts=-v ;;
   260:   *x* ) as_opts=-x ;;
   261:   * ) as_opts= ;;
   262: esac
   263: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
   264: # Admittedly, this is quite paranoid, since all the known shells bail
   265: # out after a failed `exec'.
   266: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
   267: exit 255
   268: fi
   269: 
   270:     if test x$as_have_required = xno; then :
   271:   $as_echo "$0: This script requires a shell more modern than all"
   272:   $as_echo "$0: the shells that I found on your system."
   273:   if test x${ZSH_VERSION+set} = xset ; then
   274:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   275:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   276:   else
   277:     $as_echo "$0: Please tell bug-autoconf@gnu.org and lac@tlbflush.org
   278: $0: about your system, including any error possibly output
   279: $0: before this message. Then install a modern shell, or
   280: $0: manually run the script under such a shell if you do
   281: $0: have one."
   282:   fi
   283:   exit 1
   284: fi
   285: fi
   286: fi
   287: SHELL=${CONFIG_SHELL-/bin/sh}
   288: export SHELL
   289: # Unset more variables known to interfere with behavior of common tools.
   290: CLICOLOR_FORCE= GREP_OPTIONS=
   291: unset CLICOLOR_FORCE GREP_OPTIONS
   292: 
   293: ## --------------------- ##
   294: ## M4sh Shell Functions. ##
   295: ## --------------------- ##
   296: # as_fn_unset VAR
   297: # ---------------
   298: # Portably unset VAR.
   299: as_fn_unset ()
   300: {
   301:   { eval $1=; unset $1;}
   302: }
   303: as_unset=as_fn_unset
   304: 
   305: # as_fn_set_status STATUS
   306: # -----------------------
   307: # Set $? to STATUS, without forking.
   308: as_fn_set_status ()
   309: {
   310:   return $1
   311: } # as_fn_set_status
   312: 
   313: # as_fn_exit STATUS
   314: # -----------------
   315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   316: as_fn_exit ()
   317: {
   318:   set +e
   319:   as_fn_set_status $1
   320:   exit $1
   321: } # as_fn_exit
   322: 
   323: # as_fn_mkdir_p
   324: # -------------
   325: # Create "$as_dir" as a directory, including parents if necessary.
   326: as_fn_mkdir_p ()
   327: {
   328: 
   329:   case $as_dir in #(
   330:   -*) as_dir=./$as_dir;;
   331:   esac
   332:   test -d "$as_dir" || eval $as_mkdir_p || {
   333:     as_dirs=
   334:     while :; do
   335:       case $as_dir in #(
   336:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   337:       *) as_qdir=$as_dir;;
   338:       esac
   339:       as_dirs="'$as_qdir' $as_dirs"
   340:       as_dir=`$as_dirname -- "$as_dir" ||
   341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   342: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   343: 	 X"$as_dir" : 'X\(//\)$' \| \
   344: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   345: $as_echo X"$as_dir" |
   346:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   347: 	    s//\1/
   348: 	    q
   349: 	  }
   350: 	  /^X\(\/\/\)[^/].*/{
   351: 	    s//\1/
   352: 	    q
   353: 	  }
   354: 	  /^X\(\/\/\)$/{
   355: 	    s//\1/
   356: 	    q
   357: 	  }
   358: 	  /^X\(\/\).*/{
   359: 	    s//\1/
   360: 	    q
   361: 	  }
   362: 	  s/.*/./; q'`
   363:       test -d "$as_dir" && break
   364:     done
   365:     test -z "$as_dirs" || eval "mkdir $as_dirs"
   366:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   367: 
   368: 
   369: } # as_fn_mkdir_p
   370: 
   371: # as_fn_executable_p FILE
   372: # -----------------------
   373: # Test if FILE is an executable regular file.
   374: as_fn_executable_p ()
   375: {
   376:   test -f "$1" && test -x "$1"
   377: } # as_fn_executable_p
   378: # as_fn_append VAR VALUE
   379: # ----------------------
   380: # Append the text in VALUE to the end of the definition contained in VAR. Take
   381: # advantage of any shell optimizations that allow amortized linear growth over
   382: # repeated appends, instead of the typical quadratic growth present in naive
   383: # implementations.
   384: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   385:   eval 'as_fn_append ()
   386:   {
   387:     eval $1+=\$2
   388:   }'
   389: else
   390:   as_fn_append ()
   391:   {
   392:     eval $1=\$$1\$2
   393:   }
   394: fi # as_fn_append
   395: 
   396: # as_fn_arith ARG...
   397: # ------------------
   398: # Perform arithmetic evaluation on the ARGs, and store the result in the
   399: # global $as_val. Take advantage of shells that can avoid forks. The arguments
   400: # must be portable across $(()) and expr.
   401: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   402:   eval 'as_fn_arith ()
   403:   {
   404:     as_val=$(( $* ))
   405:   }'
   406: else
   407:   as_fn_arith ()
   408:   {
   409:     as_val=`expr "$@" || test $? -eq 1`
   410:   }
   411: fi # as_fn_arith
   412: 
   413: 
   414: # as_fn_error STATUS ERROR [LINENO LOG_FD]
   415: # ----------------------------------------
   416: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   417: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   418: # script with STATUS, using 1 if that was 0.
   419: as_fn_error ()
   420: {
   421:   as_status=$1; test $as_status -eq 0 && as_status=1
   422:   if test "$4"; then
   423:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   424:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   425:   fi
   426:   $as_echo "$as_me: error: $2" >&2
   427:   as_fn_exit $as_status
   428: } # as_fn_error
   429: 
   430: if expr a : '\(a\)' >/dev/null 2>&1 &&
   431:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   432:   as_expr=expr
   433: else
   434:   as_expr=false
   435: fi
   436: 
   437: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   438:   as_basename=basename
   439: else
   440:   as_basename=false
   441: fi
   442: 
   443: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   444:   as_dirname=dirname
   445: else
   446:   as_dirname=false
   447: fi
   448: 
   449: as_me=`$as_basename -- "$0" ||
   450: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   451: 	 X"$0" : 'X\(//\)$' \| \
   452: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   453: $as_echo X/"$0" |
   454:     sed '/^.*\/\([^/][^/]*\)\/*$/{
   455: 	    s//\1/
   456: 	    q
   457: 	  }
   458: 	  /^X\/\(\/\/\)$/{
   459: 	    s//\1/
   460: 	    q
   461: 	  }
   462: 	  /^X\/\(\/\).*/{
   463: 	    s//\1/
   464: 	    q
   465: 	  }
   466: 	  s/.*/./; q'`
   467: 
   468: # Avoid depending upon Character Ranges.
   469: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   470: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   471: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   472: as_cr_digits='0123456789'
   473: as_cr_alnum=$as_cr_Letters$as_cr_digits
   474: 
   475: 
   476:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
   477:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
   478:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   479:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   480:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   481:   sed -n '
   482:     p
   483:     /[$]LINENO/=
   484:   ' <$as_myself |
   485:     sed '
   486:       s/[$]LINENO.*/&-/
   487:       t lineno
   488:       b
   489:       :lineno
   490:       N
   491:       :loop
   492:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   493:       t loop
   494:       s/-\n.*//
   495:     ' >$as_me.lineno &&
   496:   chmod +x "$as_me.lineno" ||
   497:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   498: 
   499:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
   500:   # already done that, so ensure we don't try to do so again and fall
   501:   # in an infinite loop.  This has already happened in practice.
   502:   _as_can_reexec=no; export _as_can_reexec
   503:   # Don't try to exec as it changes $[0], causing all sort of problems
   504:   # (the dirname of $[0] is not the place where we might find the
   505:   # original and so on.  Autoconf is especially sensitive to this).
   506:   . "./$as_me.lineno"
   507:   # Exit status is that of the last command.
   508:   exit
   509: }
   510: 
   511: ECHO_C= ECHO_N= ECHO_T=
   512: case `echo -n x` in #(((((
   513: -n*)
   514:   case `echo 'xy\c'` in
   515:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   516:   xy)  ECHO_C='\c';;
   517:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   518:        ECHO_T='	';;
   519:   esac;;
   520: *)
   521:   ECHO_N='-n';;
   522: esac
   523: 
   524: rm -f conf$$ conf$$.exe conf$$.file
   525: if test -d conf$$.dir; then
   526:   rm -f conf$$.dir/conf$$.file
   527: else
   528:   rm -f conf$$.dir
   529:   mkdir conf$$.dir 2>/dev/null
   530: fi
   531: if (echo >conf$$.file) 2>/dev/null; then
   532:   if ln -s conf$$.file conf$$ 2>/dev/null; then
   533:     as_ln_s='ln -s'
   534:     # ... but there are two gotchas:
   535:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   536:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   537:     # In both cases, we have to default to `cp -pR'.
   538:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   539:       as_ln_s='cp -pR'
   540:   elif ln conf$$.file conf$$ 2>/dev/null; then
   541:     as_ln_s=ln
   542:   else
   543:     as_ln_s='cp -pR'
   544:   fi
   545: else
   546:   as_ln_s='cp -pR'
   547: fi
   548: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   549: rmdir conf$$.dir 2>/dev/null
   550: 
   551: if mkdir -p . 2>/dev/null; then
   552:   as_mkdir_p='mkdir -p "$as_dir"'
   553: else
   554:   test -d ./-p && rmdir ./-p
   555:   as_mkdir_p=false
   556: fi
   557: 
   558: as_test_x='test -x'
   559: as_executable_p=as_fn_executable_p
   560: 
   561: # Sed expression to map a string onto a valid CPP name.
   562: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   563: 
   564: # Sed expression to map a string onto a valid variable name.
   565: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   566: 
   567: SHELL=${CONFIG_SHELL-/bin/sh}
   568: 
   569: 
   570: test -n "$DJDIR" || exec 7<&0 </dev/null
   571: exec 6>&1
   572: 
   573: # Name of the host.
   574: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   575: # so uname gets run too.
   576: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   577: 
   578: #
   579: # Initializations.
   580: #
   581: ac_default_prefix=/usr/local
   582: ac_clean_files=
   583: ac_config_libobj_dir=.
   584: LIBOBJS=
   585: cross_compiling=no
   586: subdirs=
   587: MFLAGS=
   588: MAKEFLAGS=
   589: 
   590: # Identity of this package.
   591: PACKAGE_NAME='lac'
   592: PACKAGE_TARNAME='lac'
   593: PACKAGE_VERSION='0.1.0'
   594: PACKAGE_STRING='lac 0.1.0'
   595: PACKAGE_BUGREPORT='lac@tlbflush.org'
   596: PACKAGE_URL=''
   597: 
   598: ac_unique_file="src/repl/lac.c"
   599: # Factoring default headers for most tests.
   600: ac_includes_default="\
   601: #include <stdio.h>
   602: #ifdef HAVE_SYS_TYPES_H
   603: # include <sys/types.h>
   604: #endif
   605: #ifdef HAVE_SYS_STAT_H
   606: # include <sys/stat.h>
   607: #endif
   608: #ifdef STDC_HEADERS
   609: # include <stdlib.h>
   610: # include <stddef.h>
   611: #else
   612: # ifdef HAVE_STDLIB_H
   613: #  include <stdlib.h>
   614: # endif
   615: #endif
   616: #ifdef HAVE_STRING_H
   617: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   618: #  include <memory.h>
   619: # endif
   620: # include <string.h>
   621: #endif
   622: #ifdef HAVE_STRINGS_H
   623: # include <strings.h>
   624: #endif
   625: #ifdef HAVE_INTTYPES_H
   626: # include <inttypes.h>
   627: #endif
   628: #ifdef HAVE_STDINT_H
   629: # include <stdint.h>
   630: #endif
   631: #ifdef HAVE_UNISTD_H
   632: # include <unistd.h>
   633: #endif"
   634: 
   635: ac_subst_vars='am__EXEEXT_FALSE
   636: am__EXEEXT_TRUE
   637: LTLIBOBJS
   638: LT_SYS_LIBRARY_PATH
   639: OTOOL64
   640: OTOOL
   641: LIPO
   642: NMEDIT
   643: DSYMUTIL
   644: MANIFEST_TOOL
   645: RANLIB
   646: ac_ct_AR
   647: AR
   648: DLLTOOL
   649: OBJDUMP
   650: LN_S
   651: NM
   652: ac_ct_DUMPBIN
   653: DUMPBIN
   654: LD
   655: FGREP
   656: LIBTOOL
   657: LIBOBJS
   658: ALLOCA
   659: LTLIBREADLINE
   660: LIBREADLINE
   661: LIBSIGSEGV_PREFIX
   662: LTLIBSIGSEGV
   663: LIBSIGSEGV
   664: HAVE_LIBSIGSEGV
   665: CPP
   666: host_os
   667: host_vendor
   668: host_cpu
   669: host
   670: build_os
   671: build_vendor
   672: build_cpu
   673: build
   674: BDW_GC_LIBS
   675: BDW_GC_CFLAGS
   676: PKG_CONFIG_LIBDIR
   677: PKG_CONFIG_PATH
   678: PKG_CONFIG
   679: YFLAGS
   680: YACC
   681: EGREP
   682: LEXLIB
   683: LEX_OUTPUT_ROOT
   684: LEX
   685: BISON_VERSION
   686: GREP
   687: SED
   688: BISON
   689: am__fastdepCC_FALSE
   690: am__fastdepCC_TRUE
   691: CCDEPMODE
   692: am__nodep
   693: AMDEPBACKSLASH
   694: AMDEP_FALSE
   695: AMDEP_TRUE
   696: am__quote
   697: am__include
   698: DEPDIR
   699: OBJEXT
   700: EXEEXT
   701: ac_ct_CC
   702: CPPFLAGS
   703: LDFLAGS
   704: CFLAGS
   705: CC
   706: AM_BACKSLASH
   707: AM_DEFAULT_VERBOSITY
   708: AM_DEFAULT_V
   709: AM_V
   710: am__untar
   711: am__tar
   712: AMTAR
   713: am__leading_dot
   714: SET_MAKE
   715: AWK
   716: mkdir_p
   717: MKDIR_P
   718: INSTALL_STRIP_PROGRAM
   719: STRIP
   720: install_sh
   721: MAKEINFO
   722: AUTOHEADER
   723: AUTOMAKE
   724: AUTOCONF
   725: ACLOCAL
   726: VERSION
   727: PACKAGE
   728: CYGPATH_W
   729: am__isrc
   730: INSTALL_DATA
   731: INSTALL_SCRIPT
   732: INSTALL_PROGRAM
   733: target_alias
   734: host_alias
   735: build_alias
   736: LIBS
   737: ECHO_T
   738: ECHO_N
   739: ECHO_C
   740: DEFS
   741: mandir
   742: localedir
   743: libdir
   744: psdir
   745: pdfdir
   746: dvidir
   747: htmldir
   748: infodir
   749: docdir
   750: oldincludedir
   751: includedir
   752: localstatedir
   753: sharedstatedir
   754: sysconfdir
   755: datadir
   756: datarootdir
   757: libexecdir
   758: sbindir
   759: bindir
   760: program_transform_name
   761: prefix
   762: exec_prefix
   763: PACKAGE_URL
   764: PACKAGE_BUGREPORT
   765: PACKAGE_STRING
   766: PACKAGE_VERSION
   767: PACKAGE_TARNAME
   768: PACKAGE_NAME
   769: PATH_SEPARATOR
   770: SHELL'
   771: ac_subst_files=''
   772: ac_user_opts='
   773: enable_option_checking
   774: enable_silent_rules
   775: enable_dependency_tracking
   776: with_gnu_ld
   777: enable_rpath
   778: with_libsigsegv_prefix
   779: with_libreadline_prefix
   780: enable_shared
   781: enable_static
   782: with_pic
   783: enable_fast_install
   784: with_aix_soname
   785: with_sysroot
   786: enable_libtool_lock
   787: '
   788:       ac_precious_vars='build_alias
   789: host_alias
   790: target_alias
   791: CC
   792: CFLAGS
   793: LDFLAGS
   794: LIBS
   795: CPPFLAGS
   796: YACC
   797: YFLAGS
   798: PKG_CONFIG
   799: PKG_CONFIG_PATH
   800: PKG_CONFIG_LIBDIR
   801: BDW_GC_CFLAGS
   802: BDW_GC_LIBS
   803: CPP
   804: LT_SYS_LIBRARY_PATH'
   805: 
   806: 
   807: # Initialize some variables set by options.
   808: ac_init_help=
   809: ac_init_version=false
   810: ac_unrecognized_opts=
   811: ac_unrecognized_sep=
   812: # The variables have the same names as the options, with
   813: # dashes changed to underlines.
   814: cache_file=/dev/null
   815: exec_prefix=NONE
   816: no_create=
   817: no_recursion=
   818: prefix=NONE
   819: program_prefix=NONE
   820: program_suffix=NONE
   821: program_transform_name=s,x,x,
   822: silent=
   823: site=
   824: srcdir=
   825: verbose=
   826: x_includes=NONE
   827: x_libraries=NONE
   828: 
   829: # Installation directory options.
   830: # These are left unexpanded so users can "make install exec_prefix=/foo"
   831: # and all the variables that are supposed to be based on exec_prefix
   832: # by default will actually change.
   833: # Use braces instead of parens because sh, perl, etc. also accept them.
   834: # (The list follows the same order as the GNU Coding Standards.)
   835: bindir='${exec_prefix}/bin'
   836: sbindir='${exec_prefix}/sbin'
   837: libexecdir='${exec_prefix}/libexec'
   838: datarootdir='${prefix}/share'
   839: datadir='${datarootdir}'
   840: sysconfdir='${prefix}/etc'
   841: sharedstatedir='${prefix}/com'
   842: localstatedir='${prefix}/var'
   843: includedir='${prefix}/include'
   844: oldincludedir='/usr/include'
   845: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   846: infodir='${datarootdir}/info'
   847: htmldir='${docdir}'
   848: dvidir='${docdir}'
   849: pdfdir='${docdir}'
   850: psdir='${docdir}'
   851: libdir='${exec_prefix}/lib'
   852: localedir='${datarootdir}/locale'
   853: mandir='${datarootdir}/man'
   854: 
   855: ac_prev=
   856: ac_dashdash=
   857: for ac_option
   858: do
   859:   # If the previous option needs an argument, assign it.
   860:   if test -n "$ac_prev"; then
   861:     eval $ac_prev=\$ac_option
   862:     ac_prev=
   863:     continue
   864:   fi
   865: 
   866:   case $ac_option in
   867:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   868:   *=)   ac_optarg= ;;
   869:   *)    ac_optarg=yes ;;
   870:   esac
   871: 
   872:   # Accept the important Cygnus configure options, so we can diagnose typos.
   873: 
   874:   case $ac_dashdash$ac_option in
   875:   --)
   876:     ac_dashdash=yes ;;
   877: 
   878:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   879:     ac_prev=bindir ;;
   880:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   881:     bindir=$ac_optarg ;;
   882: 
   883:   -build | --build | --buil | --bui | --bu)
   884:     ac_prev=build_alias ;;
   885:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   886:     build_alias=$ac_optarg ;;
   887: 
   888:   -cache-file | --cache-file | --cache-fil | --cache-fi \
   889:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   890:     ac_prev=cache_file ;;
   891:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   892:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   893:     cache_file=$ac_optarg ;;
   894: 
   895:   --config-cache | -C)
   896:     cache_file=config.cache ;;
   897: 
   898:   -datadir | --datadir | --datadi | --datad)
   899:     ac_prev=datadir ;;
   900:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   901:     datadir=$ac_optarg ;;
   902: 
   903:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   904:   | --dataroo | --dataro | --datar)
   905:     ac_prev=datarootdir ;;
   906:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   907:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   908:     datarootdir=$ac_optarg ;;
   909: 
   910:   -disable-* | --disable-*)
   911:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   912:     # Reject names that are not valid shell variable names.
   913:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   914:       as_fn_error $? "invalid feature name: $ac_useropt"
   915:     ac_useropt_orig=$ac_useropt
   916:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   917:     case $ac_user_opts in
   918:       *"
   919: "enable_$ac_useropt"
   920: "*) ;;
   921:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   922: 	 ac_unrecognized_sep=', ';;
   923:     esac
   924:     eval enable_$ac_useropt=no ;;
   925: 
   926:   -docdir | --docdir | --docdi | --doc | --do)
   927:     ac_prev=docdir ;;
   928:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   929:     docdir=$ac_optarg ;;
   930: 
   931:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   932:     ac_prev=dvidir ;;
   933:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   934:     dvidir=$ac_optarg ;;
   935: 
   936:   -enable-* | --enable-*)
   937:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   938:     # Reject names that are not valid shell variable names.
   939:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   940:       as_fn_error $? "invalid feature name: $ac_useropt"
   941:     ac_useropt_orig=$ac_useropt
   942:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   943:     case $ac_user_opts in
   944:       *"
   945: "enable_$ac_useropt"
   946: "*) ;;
   947:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   948: 	 ac_unrecognized_sep=', ';;
   949:     esac
   950:     eval enable_$ac_useropt=\$ac_optarg ;;
   951: 
   952:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   953:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   954:   | --exec | --exe | --ex)
   955:     ac_prev=exec_prefix ;;
   956:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   957:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   958:   | --exec=* | --exe=* | --ex=*)
   959:     exec_prefix=$ac_optarg ;;
   960: 
   961:   -gas | --gas | --ga | --g)
   962:     # Obsolete; use --with-gas.
   963:     with_gas=yes ;;
   964: 
   965:   -help | --help | --hel | --he | -h)
   966:     ac_init_help=long ;;
   967:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   968:     ac_init_help=recursive ;;
   969:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   970:     ac_init_help=short ;;
   971: 
   972:   -host | --host | --hos | --ho)
   973:     ac_prev=host_alias ;;
   974:   -host=* | --host=* | --hos=* | --ho=*)
   975:     host_alias=$ac_optarg ;;
   976: 
   977:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   978:     ac_prev=htmldir ;;
   979:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   980:   | --ht=*)
   981:     htmldir=$ac_optarg ;;
   982: 
   983:   -includedir | --includedir | --includedi | --included | --include \
   984:   | --includ | --inclu | --incl | --inc)
   985:     ac_prev=includedir ;;
   986:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   987:   | --includ=* | --inclu=* | --incl=* | --inc=*)
   988:     includedir=$ac_optarg ;;
   989: 
   990:   -infodir | --infodir | --infodi | --infod | --info | --inf)
   991:     ac_prev=infodir ;;
   992:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   993:     infodir=$ac_optarg ;;
   994: 
   995:   -libdir | --libdir | --libdi | --libd)
   996:     ac_prev=libdir ;;
   997:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   998:     libdir=$ac_optarg ;;
   999: 
  1000:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1001:   | --libexe | --libex | --libe)
  1002:     ac_prev=libexecdir ;;
  1003:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1004:   | --libexe=* | --libex=* | --libe=*)
  1005:     libexecdir=$ac_optarg ;;
  1006: 
  1007:   -localedir | --localedir | --localedi | --localed | --locale)
  1008:     ac_prev=localedir ;;
  1009:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1010:     localedir=$ac_optarg ;;
  1011: 
  1012:   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1013:   | --localstate | --localstat | --localsta | --localst | --locals)
  1014:     ac_prev=localstatedir ;;
  1015:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1016:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1017:     localstatedir=$ac_optarg ;;
  1018: 
  1019:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1020:     ac_prev=mandir ;;
  1021:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1022:     mandir=$ac_optarg ;;
  1023: 
  1024:   -nfp | --nfp | --nf)
  1025:     # Obsolete; use --without-fp.
  1026:     with_fp=no ;;
  1027: 
  1028:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1029:   | --no-cr | --no-c | -n)
  1030:     no_create=yes ;;
  1031: 
  1032:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1033:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1034:     no_recursion=yes ;;
  1035: 
  1036:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1037:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1038:   | --oldin | --oldi | --old | --ol | --o)
  1039:     ac_prev=oldincludedir ;;
  1040:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1041:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1042:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1043:     oldincludedir=$ac_optarg ;;
  1044: 
  1045:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1046:     ac_prev=prefix ;;
  1047:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1048:     prefix=$ac_optarg ;;
  1049: 
  1050:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1051:   | --program-pre | --program-pr | --program-p)
  1052:     ac_prev=program_prefix ;;
  1053:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1054:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1055:     program_prefix=$ac_optarg ;;
  1056: 
  1057:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1058:   | --program-suf | --program-su | --program-s)
  1059:     ac_prev=program_suffix ;;
  1060:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1061:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1062:     program_suffix=$ac_optarg ;;
  1063: 
  1064:   -program-transform-name | --program-transform-name \
  1065:   | --program-transform-nam | --program-transform-na \
  1066:   | --program-transform-n | --program-transform- \
  1067:   | --program-transform | --program-transfor \
  1068:   | --program-transfo | --program-transf \
  1069:   | --program-trans | --program-tran \
  1070:   | --progr-tra | --program-tr | --program-t)
  1071:     ac_prev=program_transform_name ;;
  1072:   -program-transform-name=* | --program-transform-name=* \
  1073:   | --program-transform-nam=* | --program-transform-na=* \
  1074:   | --program-transform-n=* | --program-transform-=* \
  1075:   | --program-transform=* | --program-transfor=* \
  1076:   | --program-transfo=* | --program-transf=* \
  1077:   | --program-trans=* | --program-tran=* \
  1078:   | --progr-tra=* | --program-tr=* | --program-t=*)
  1079:     program_transform_name=$ac_optarg ;;
  1080: 
  1081:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1082:     ac_prev=pdfdir ;;
  1083:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1084:     pdfdir=$ac_optarg ;;
  1085: 
  1086:   -psdir | --psdir | --psdi | --psd | --ps)
  1087:     ac_prev=psdir ;;
  1088:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1089:     psdir=$ac_optarg ;;
  1090: 
  1091:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1092:   | -silent | --silent | --silen | --sile | --sil)
  1093:     silent=yes ;;
  1094: 
  1095:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1096:     ac_prev=sbindir ;;
  1097:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1098:   | --sbi=* | --sb=*)
  1099:     sbindir=$ac_optarg ;;
  1100: 
  1101:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1102:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1103:   | --sharedst | --shareds | --shared | --share | --shar \
  1104:   | --sha | --sh)
  1105:     ac_prev=sharedstatedir ;;
  1106:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1107:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1108:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1109:   | --sha=* | --sh=*)
  1110:     sharedstatedir=$ac_optarg ;;
  1111: 
  1112:   -site | --site | --sit)
  1113:     ac_prev=site ;;
  1114:   -site=* | --site=* | --sit=*)
  1115:     site=$ac_optarg ;;
  1116: 
  1117:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1118:     ac_prev=srcdir ;;
  1119:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1120:     srcdir=$ac_optarg ;;
  1121: 
  1122:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1123:   | --syscon | --sysco | --sysc | --sys | --sy)
  1124:     ac_prev=sysconfdir ;;
  1125:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1126:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1127:     sysconfdir=$ac_optarg ;;
  1128: 
  1129:   -target | --target | --targe | --targ | --tar | --ta | --t)
  1130:     ac_prev=target_alias ;;
  1131:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1132:     target_alias=$ac_optarg ;;
  1133: 
  1134:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1135:     verbose=yes ;;
  1136: 
  1137:   -version | --version | --versio | --versi | --vers | -V)
  1138:     ac_init_version=: ;;
  1139: 
  1140:   -with-* | --with-*)
  1141:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1142:     # Reject names that are not valid shell variable names.
  1143:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1144:       as_fn_error $? "invalid package name: $ac_useropt"
  1145:     ac_useropt_orig=$ac_useropt
  1146:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1147:     case $ac_user_opts in
  1148:       *"
  1149: "with_$ac_useropt"
  1150: "*) ;;
  1151:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1152: 	 ac_unrecognized_sep=', ';;
  1153:     esac
  1154:     eval with_$ac_useropt=\$ac_optarg ;;
  1155: 
  1156:   -without-* | --without-*)
  1157:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1158:     # Reject names that are not valid shell variable names.
  1159:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1160:       as_fn_error $? "invalid package name: $ac_useropt"
  1161:     ac_useropt_orig=$ac_useropt
  1162:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1163:     case $ac_user_opts in
  1164:       *"
  1165: "with_$ac_useropt"
  1166: "*) ;;
  1167:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1168: 	 ac_unrecognized_sep=', ';;
  1169:     esac
  1170:     eval with_$ac_useropt=no ;;
  1171: 
  1172:   --x)
  1173:     # Obsolete; use --with-x.
  1174:     with_x=yes ;;
  1175: 
  1176:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1177:   | --x-incl | --x-inc | --x-in | --x-i)
  1178:     ac_prev=x_includes ;;
  1179:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1180:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1181:     x_includes=$ac_optarg ;;
  1182: 
  1183:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1184:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1185:     ac_prev=x_libraries ;;
  1186:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1187:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1188:     x_libraries=$ac_optarg ;;
  1189: 
  1190:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1191: Try \`$0 --help' for more information"
  1192:     ;;
  1193: 
  1194:   *=*)
  1195:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1196:     # Reject names that are not valid shell variable names.
  1197:     case $ac_envvar in #(
  1198:       '' | [0-9]* | *[!_$as_cr_alnum]* )
  1199:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1200:     esac
  1201:     eval $ac_envvar=\$ac_optarg
  1202:     export $ac_envvar ;;
  1203: 
  1204:   *)
  1205:     # FIXME: should be removed in autoconf 3.0.
  1206:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1207:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1208:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1209:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1210:     ;;
  1211: 
  1212:   esac
  1213: done
  1214: 
  1215: if test -n "$ac_prev"; then
  1216:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1217:   as_fn_error $? "missing argument to $ac_option"
  1218: fi
  1219: 
  1220: if test -n "$ac_unrecognized_opts"; then
  1221:   case $enable_option_checking in
  1222:     no) ;;
  1223:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1224:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1225:   esac
  1226: fi
  1227: 
  1228: # Check all directory arguments for consistency.
  1229: for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1230: 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1231: 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1232: 		libdir localedir mandir
  1233: do
  1234:   eval ac_val=\$$ac_var
  1235:   # Remove trailing slashes.
  1236:   case $ac_val in
  1237:     */ )
  1238:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1239:       eval $ac_var=\$ac_val;;
  1240:   esac
  1241:   # Be sure to have absolute directory names.
  1242:   case $ac_val in
  1243:     [\\/$]* | ?:[\\/]* )  continue;;
  1244:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1245:   esac
  1246:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1247: done
  1248: 
  1249: # There might be people who depend on the old broken behavior: `$host'
  1250: # used to hold the argument of --host etc.
  1251: # FIXME: To remove some day.
  1252: build=$build_alias
  1253: host=$host_alias
  1254: target=$target_alias
  1255: 
  1256: # FIXME: To remove some day.
  1257: if test "x$host_alias" != x; then
  1258:   if test "x$build_alias" = x; then
  1259:     cross_compiling=maybe
  1260:   elif test "x$build_alias" != "x$host_alias"; then
  1261:     cross_compiling=yes
  1262:   fi
  1263: fi
  1264: 
  1265: ac_tool_prefix=
  1266: test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1267: 
  1268: test "$silent" = yes && exec 6>/dev/null
  1269: 
  1270: 
  1271: ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1272: ac_ls_di=`ls -di .` &&
  1273: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1274:   as_fn_error $? "working directory cannot be determined"
  1275: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1276:   as_fn_error $? "pwd does not report name of working directory"
  1277: 
  1278: 
  1279: # Find the source files, if location was not specified.
  1280: if test -z "$srcdir"; then
  1281:   ac_srcdir_defaulted=yes
  1282:   # Try the directory containing this script, then the parent directory.
  1283:   ac_confdir=`$as_dirname -- "$as_myself" ||
  1284: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1285: 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1286: 	 X"$as_myself" : 'X\(//\)$' \| \
  1287: 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1288: $as_echo X"$as_myself" |
  1289:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1290: 	    s//\1/
  1291: 	    q
  1292: 	  }
  1293: 	  /^X\(\/\/\)[^/].*/{
  1294: 	    s//\1/
  1295: 	    q
  1296: 	  }
  1297: 	  /^X\(\/\/\)$/{
  1298: 	    s//\1/
  1299: 	    q
  1300: 	  }
  1301: 	  /^X\(\/\).*/{
  1302: 	    s//\1/
  1303: 	    q
  1304: 	  }
  1305: 	  s/.*/./; q'`
  1306:   srcdir=$ac_confdir
  1307:   if test ! -r "$srcdir/$ac_unique_file"; then
  1308:     srcdir=..
  1309:   fi
  1310: else
  1311:   ac_srcdir_defaulted=no
  1312: fi
  1313: if test ! -r "$srcdir/$ac_unique_file"; then
  1314:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1315:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1316: fi
  1317: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1318: ac_abs_confdir=`(
  1319: 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1320: 	pwd)`
  1321: # When building in place, set srcdir=.
  1322: if test "$ac_abs_confdir" = "$ac_pwd"; then
  1323:   srcdir=.
  1324: fi
  1325: # Remove unnecessary trailing slashes from srcdir.
  1326: # Double slashes in file names in object file debugging info
  1327: # mess up M-x gdb in Emacs.
  1328: case $srcdir in
  1329: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1330: esac
  1331: for ac_var in $ac_precious_vars; do
  1332:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1333:   eval ac_env_${ac_var}_value=\$${ac_var}
  1334:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1335:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1336: done
  1337: 
  1338: #
  1339: # Report the --help message.
  1340: #
  1341: if test "$ac_init_help" = "long"; then
  1342:   # Omit some internal or obsolete options to make the list less imposing.
  1343:   # This message is too long to be a string in the A/UX 3.1 sh.
  1344:   cat <<_ACEOF
  1345: \`configure' configures lac 0.1.0 to adapt to many kinds of systems.
  1346: 
  1347: Usage: $0 [OPTION]... [VAR=VALUE]...
  1348: 
  1349: To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1350: VAR=VALUE.  See below for descriptions of some of the useful variables.
  1351: 
  1352: Defaults for the options are specified in brackets.
  1353: 
  1354: Configuration:
  1355:   -h, --help              display this help and exit
  1356:       --help=short        display options specific to this package
  1357:       --help=recursive    display the short help of all the included packages
  1358:   -V, --version           display version information and exit
  1359:   -q, --quiet, --silent   do not print \`checking ...' messages
  1360:       --cache-file=FILE   cache test results in FILE [disabled]
  1361:   -C, --config-cache      alias for \`--cache-file=config.cache'
  1362:   -n, --no-create         do not create output files
  1363:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1364: 
  1365: Installation directories:
  1366:   --prefix=PREFIX         install architecture-independent files in PREFIX
  1367:                           [$ac_default_prefix]
  1368:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1369:                           [PREFIX]
  1370: 
  1371: By default, \`make install' will install all the files in
  1372: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1373: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1374: for instance \`--prefix=\$HOME'.
  1375: 
  1376: For better control, use the options below.
  1377: 
  1378: Fine tuning of the installation directories:
  1379:   --bindir=DIR            user executables [EPREFIX/bin]
  1380:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1381:   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1382:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1383:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1384:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1385:   --libdir=DIR            object code libraries [EPREFIX/lib]
  1386:   --includedir=DIR        C header files [PREFIX/include]
  1387:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1388:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1389:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1390:   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1391:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1392:   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1393:   --docdir=DIR            documentation root [DATAROOTDIR/doc/lac]
  1394:   --htmldir=DIR           html documentation [DOCDIR]
  1395:   --dvidir=DIR            dvi documentation [DOCDIR]
  1396:   --pdfdir=DIR            pdf documentation [DOCDIR]
  1397:   --psdir=DIR             ps documentation [DOCDIR]
  1398: _ACEOF
  1399: 
  1400:   cat <<\_ACEOF
  1401: 
  1402: Program names:
  1403:   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1404:   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1405:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1406: 
  1407: System types:
  1408:   --build=BUILD     configure for building on BUILD [guessed]
  1409:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1410: _ACEOF
  1411: fi
  1412: 
  1413: if test -n "$ac_init_help"; then
  1414:   case $ac_init_help in
  1415:      short | recursive ) echo "Configuration of lac 0.1.0:";;
  1416:    esac
  1417:   cat <<\_ACEOF
  1418: 
  1419: Optional Features:
  1420:   --disable-option-checking  ignore unrecognized --enable/--with options
  1421:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1422:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1423:   --enable-silent-rules   less verbose build output (undo: "make V=1")
  1424:   --disable-silent-rules  verbose build output (undo: "make V=0")
  1425:   --enable-dependency-tracking
  1426:                           do not reject slow dependency extractors
  1427:   --disable-dependency-tracking
  1428:                           speeds up one-time build
  1429:   --disable-rpath         do not hardcode runtime library paths
  1430:   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1431:   --enable-static[=PKGS]  build static libraries [default=yes]
  1432:   --enable-fast-install[=PKGS]
  1433:                           optimize for fast installation [default=yes]
  1434:   --disable-libtool-lock  avoid locking (might break parallel builds)
  1435: 
  1436: Optional Packages:
  1437:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1438:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1439:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1440:   --with-libsigsegv-prefix[=DIR]  search for libsigsegv in DIR/include and DIR/lib
  1441:   --without-libsigsegv-prefix     don't search for libsigsegv in includedir and libdir
  1442:   --with-libreadline-prefix[=DIR]  search for libreadline in DIR/include and DIR/lib
  1443:   --without-libreadline-prefix     don't search for libreadline in includedir and libdir
  1444:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
  1445:                           both]
  1446:   --with-aix-soname=aix|svr4|both
  1447:                           shared library versioning (aka "SONAME") variant to
  1448:                           provide on AIX, [default=aix].
  1449:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1450:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
  1451:                           compiler's sysroot if not specified).
  1452: 
  1453: Some influential environment variables:
  1454:   CC          C compiler command
  1455:   CFLAGS      C compiler flags
  1456:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1457:               nonstandard directory <lib dir>
  1458:   LIBS        libraries to pass to the linker, e.g. -l<library>
  1459:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1460:               you have headers in a nonstandard directory <include dir>
  1461:   YACC        The `Yet Another Compiler Compiler' implementation to use.
  1462:               Defaults to the first program found out of: `bison -y', `byacc',
  1463:               `yacc'.
  1464:   YFLAGS      The list of arguments that will be passed by default to $YACC.
  1465:               This script will default YFLAGS to the empty string to avoid a
  1466:               default value of `-d' given by some make applications.
  1467:   PKG_CONFIG  path to pkg-config utility
  1468:   PKG_CONFIG_PATH
  1469:               directories to add to pkg-config's search path
  1470:   PKG_CONFIG_LIBDIR
  1471:               path overriding pkg-config's built-in search path
  1472:   BDW_GC_CFLAGS
  1473:               C compiler flags for BDW_GC, overriding pkg-config
  1474:   BDW_GC_LIBS linker flags for BDW_GC, overriding pkg-config
  1475:   CPP         C preprocessor
  1476:   LT_SYS_LIBRARY_PATH
  1477:               User-defined run-time library search path.
  1478: 
  1479: Use these variables to override the choices made by `configure' or to help
  1480: it to find libraries and programs with nonstandard names/locations.
  1481: 
  1482: Report bugs to <lac@tlbflush.org>.
  1483: _ACEOF
  1484: ac_status=$?
  1485: fi
  1486: 
  1487: if test "$ac_init_help" = "recursive"; then
  1488:   # If there are subdirs, report their specific --help.
  1489:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1490:     test -d "$ac_dir" ||
  1491:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1492:       continue
  1493:     ac_builddir=.
  1494: 
  1495: case "$ac_dir" in
  1496: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1497: *)
  1498:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1499:   # A ".." for each directory in $ac_dir_suffix.
  1500:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1501:   case $ac_top_builddir_sub in
  1502:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1503:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1504:   esac ;;
  1505: esac
  1506: ac_abs_top_builddir=$ac_pwd
  1507: ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1508: # for backward compatibility:
  1509: ac_top_builddir=$ac_top_build_prefix
  1510: 
  1511: case $srcdir in
  1512:   .)  # We are building in place.
  1513:     ac_srcdir=.
  1514:     ac_top_srcdir=$ac_top_builddir_sub
  1515:     ac_abs_top_srcdir=$ac_pwd ;;
  1516:   [\\/]* | ?:[\\/]* )  # Absolute name.
  1517:     ac_srcdir=$srcdir$ac_dir_suffix;
  1518:     ac_top_srcdir=$srcdir
  1519:     ac_abs_top_srcdir=$srcdir ;;
  1520:   *) # Relative name.
  1521:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1522:     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1523:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1524: esac
  1525: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1526: 
  1527:     cd "$ac_dir" || { ac_status=$?; continue; }
  1528:     # Check for guested configure.
  1529:     if test -f "$ac_srcdir/configure.gnu"; then
  1530:       echo &&
  1531:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1532:     elif test -f "$ac_srcdir/configure"; then
  1533:       echo &&
  1534:       $SHELL "$ac_srcdir/configure" --help=recursive
  1535:     else
  1536:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1537:     fi || ac_status=$?
  1538:     cd "$ac_pwd" || { ac_status=$?; break; }
  1539:   done
  1540: fi
  1541: 
  1542: test -n "$ac_init_help" && exit $ac_status
  1543: if $ac_init_version; then
  1544:   cat <<\_ACEOF
  1545: lac configure 0.1.0
  1546: generated by GNU Autoconf 2.69
  1547: 
  1548: Copyright (C) 2012 Free Software Foundation, Inc.
  1549: This configure script is free software; the Free Software Foundation
  1550: gives unlimited permission to copy, distribute and modify it.
  1551: _ACEOF
  1552:   exit
  1553: fi
  1554: 
  1555: ## ------------------------ ##
  1556: ## Autoconf initialization. ##
  1557: ## ------------------------ ##
  1558: 
  1559: # ac_fn_c_try_compile LINENO
  1560: # --------------------------
  1561: # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1562: ac_fn_c_try_compile ()
  1563: {
  1564:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1565:   rm -f conftest.$ac_objext
  1566:   if { { ac_try="$ac_compile"
  1567: case "(($ac_try" in
  1568:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1569:   *) ac_try_echo=$ac_try;;
  1570: esac
  1571: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1572: $as_echo "$ac_try_echo"; } >&5
  1573:   (eval "$ac_compile") 2>conftest.err
  1574:   ac_status=$?
  1575:   if test -s conftest.err; then
  1576:     grep -v '^ *+' conftest.err >conftest.er1
  1577:     cat conftest.er1 >&5
  1578:     mv -f conftest.er1 conftest.err
  1579:   fi
  1580:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1581:   test $ac_status = 0; } && {
  1582: 	 test -z "$ac_c_werror_flag" ||
  1583: 	 test ! -s conftest.err
  1584:        } && test -s conftest.$ac_objext; then :
  1585:   ac_retval=0
  1586: else
  1587:   $as_echo "$as_me: failed program was:" >&5
  1588: sed 's/^/| /' conftest.$ac_ext >&5
  1589: 
  1590: 	ac_retval=1
  1591: fi
  1592:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1593:   as_fn_set_status $ac_retval
  1594: 
  1595: } # ac_fn_c_try_compile
  1596: 
  1597: # ac_fn_c_try_link LINENO
  1598: # -----------------------
  1599: # Try to link conftest.$ac_ext, and return whether this succeeded.
  1600: ac_fn_c_try_link ()
  1601: {
  1602:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1603:   rm -f conftest.$ac_objext conftest$ac_exeext
  1604:   if { { ac_try="$ac_link"
  1605: case "(($ac_try" in
  1606:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1607:   *) ac_try_echo=$ac_try;;
  1608: esac
  1609: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1610: $as_echo "$ac_try_echo"; } >&5
  1611:   (eval "$ac_link") 2>conftest.err
  1612:   ac_status=$?
  1613:   if test -s conftest.err; then
  1614:     grep -v '^ *+' conftest.err >conftest.er1
  1615:     cat conftest.er1 >&5
  1616:     mv -f conftest.er1 conftest.err
  1617:   fi
  1618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1619:   test $ac_status = 0; } && {
  1620: 	 test -z "$ac_c_werror_flag" ||
  1621: 	 test ! -s conftest.err
  1622:        } && test -s conftest$ac_exeext && {
  1623: 	 test "$cross_compiling" = yes ||
  1624: 	 test -x conftest$ac_exeext
  1625:        }; then :
  1626:   ac_retval=0
  1627: else
  1628:   $as_echo "$as_me: failed program was:" >&5
  1629: sed 's/^/| /' conftest.$ac_ext >&5
  1630: 
  1631: 	ac_retval=1
  1632: fi
  1633:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1634:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1635:   # interfere with the next link command; also delete a directory that is
  1636:   # left behind by Apple's compiler.  We do this before executing the actions.
  1637:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1638:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1639:   as_fn_set_status $ac_retval
  1640: 
  1641: } # ac_fn_c_try_link
  1642: 
  1643: # ac_fn_c_try_cpp LINENO
  1644: # ----------------------
  1645: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1646: ac_fn_c_try_cpp ()
  1647: {
  1648:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1649:   if { { ac_try="$ac_cpp conftest.$ac_ext"
  1650: case "(($ac_try" in
  1651:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1652:   *) ac_try_echo=$ac_try;;
  1653: esac
  1654: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1655: $as_echo "$ac_try_echo"; } >&5
  1656:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1657:   ac_status=$?
  1658:   if test -s conftest.err; then
  1659:     grep -v '^ *+' conftest.err >conftest.er1
  1660:     cat conftest.er1 >&5
  1661:     mv -f conftest.er1 conftest.err
  1662:   fi
  1663:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1664:   test $ac_status = 0; } > conftest.i && {
  1665: 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1666: 	 test ! -s conftest.err
  1667:        }; then :
  1668:   ac_retval=0
  1669: else
  1670:   $as_echo "$as_me: failed program was:" >&5
  1671: sed 's/^/| /' conftest.$ac_ext >&5
  1672: 
  1673:     ac_retval=1
  1674: fi
  1675:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1676:   as_fn_set_status $ac_retval
  1677: 
  1678: } # ac_fn_c_try_cpp
  1679: 
  1680: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1681: # -------------------------------------------------------
  1682: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1683: # the include files in INCLUDES and setting the cache variable VAR
  1684: # accordingly.
  1685: ac_fn_c_check_header_mongrel ()
  1686: {
  1687:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1688:   if eval \${$3+:} false; then :
  1689:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1690: $as_echo_n "checking for $2... " >&6; }
  1691: if eval \${$3+:} false; then :
  1692:   $as_echo_n "(cached) " >&6
  1693: fi
  1694: eval ac_res=\$$3
  1695: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1696: $as_echo "$ac_res" >&6; }
  1697: else
  1698:   # Is the header compilable?
  1699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1700: $as_echo_n "checking $2 usability... " >&6; }
  1701: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1702: /* end confdefs.h.  */
  1703: $4
  1704: #include <$2>
  1705: _ACEOF
  1706: if ac_fn_c_try_compile "$LINENO"; then :
  1707:   ac_header_compiler=yes
  1708: else
  1709:   ac_header_compiler=no
  1710: fi
  1711: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1713: $as_echo "$ac_header_compiler" >&6; }
  1714: 
  1715: # Is the header present?
  1716: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1717: $as_echo_n "checking $2 presence... " >&6; }
  1718: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1719: /* end confdefs.h.  */
  1720: #include <$2>
  1721: _ACEOF
  1722: if ac_fn_c_try_cpp "$LINENO"; then :
  1723:   ac_header_preproc=yes
  1724: else
  1725:   ac_header_preproc=no
  1726: fi
  1727: rm -f conftest.err conftest.i conftest.$ac_ext
  1728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1729: $as_echo "$ac_header_preproc" >&6; }
  1730: 
  1731: # So?  What about this header?
  1732: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1733:   yes:no: )
  1734:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1735: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1736:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1737: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1738:     ;;
  1739:   no:yes:* )
  1740:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1741: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1742:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1743: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1744:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1745: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1746:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1747: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1748:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1749: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1750: ( $as_echo "## ------------------------------- ##
  1751: ## Report this to lac@tlbflush.org ##
  1752: ## ------------------------------- ##"
  1753:      ) | sed "s/^/$as_me: WARNING:     /" >&2
  1754:     ;;
  1755: esac
  1756:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1757: $as_echo_n "checking for $2... " >&6; }
  1758: if eval \${$3+:} false; then :
  1759:   $as_echo_n "(cached) " >&6
  1760: else
  1761:   eval "$3=\$ac_header_compiler"
  1762: fi
  1763: eval ac_res=\$$3
  1764: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1765: $as_echo "$ac_res" >&6; }
  1766: fi
  1767:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1768: 
  1769: } # ac_fn_c_check_header_mongrel
  1770: 
  1771: # ac_fn_c_try_run LINENO
  1772: # ----------------------
  1773: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1774: # that executables *can* be run.
  1775: ac_fn_c_try_run ()
  1776: {
  1777:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1778:   if { { ac_try="$ac_link"
  1779: case "(($ac_try" in
  1780:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1781:   *) ac_try_echo=$ac_try;;
  1782: esac
  1783: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1784: $as_echo "$ac_try_echo"; } >&5
  1785:   (eval "$ac_link") 2>&5
  1786:   ac_status=$?
  1787:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1788:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1789:   { { case "(($ac_try" in
  1790:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1791:   *) ac_try_echo=$ac_try;;
  1792: esac
  1793: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1794: $as_echo "$ac_try_echo"; } >&5
  1795:   (eval "$ac_try") 2>&5
  1796:   ac_status=$?
  1797:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1798:   test $ac_status = 0; }; }; then :
  1799:   ac_retval=0
  1800: else
  1801:   $as_echo "$as_me: program exited with status $ac_status" >&5
  1802:        $as_echo "$as_me: failed program was:" >&5
  1803: sed 's/^/| /' conftest.$ac_ext >&5
  1804: 
  1805:        ac_retval=$ac_status
  1806: fi
  1807:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1808:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1809:   as_fn_set_status $ac_retval
  1810: 
  1811: } # ac_fn_c_try_run
  1812: 
  1813: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1814: # -------------------------------------------------------
  1815: # Tests whether HEADER exists and can be compiled using the include files in
  1816: # INCLUDES, setting the cache variable VAR accordingly.
  1817: ac_fn_c_check_header_compile ()
  1818: {
  1819:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1820:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1821: $as_echo_n "checking for $2... " >&6; }
  1822: if eval \${$3+:} false; then :
  1823:   $as_echo_n "(cached) " >&6
  1824: else
  1825:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1826: /* end confdefs.h.  */
  1827: $4
  1828: #include <$2>
  1829: _ACEOF
  1830: if ac_fn_c_try_compile "$LINENO"; then :
  1831:   eval "$3=yes"
  1832: else
  1833:   eval "$3=no"
  1834: fi
  1835: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1836: fi
  1837: eval ac_res=\$$3
  1838: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1839: $as_echo "$ac_res" >&6; }
  1840:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1841: 
  1842: } # ac_fn_c_check_header_compile
  1843: 
  1844: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1845: # -------------------------------------------
  1846: # Tests whether TYPE exists after having included INCLUDES, setting cache
  1847: # variable VAR accordingly.
  1848: ac_fn_c_check_type ()
  1849: {
  1850:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1851:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1852: $as_echo_n "checking for $2... " >&6; }
  1853: if eval \${$3+:} false; then :
  1854:   $as_echo_n "(cached) " >&6
  1855: else
  1856:   eval "$3=no"
  1857:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1858: /* end confdefs.h.  */
  1859: $4
  1860: int
  1861: main ()
  1862: {
  1863: if (sizeof ($2))
  1864: 	 return 0;
  1865:   ;
  1866:   return 0;
  1867: }
  1868: _ACEOF
  1869: if ac_fn_c_try_compile "$LINENO"; then :
  1870:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1871: /* end confdefs.h.  */
  1872: $4
  1873: int
  1874: main ()
  1875: {
  1876: if (sizeof (($2)))
  1877: 	    return 0;
  1878:   ;
  1879:   return 0;
  1880: }
  1881: _ACEOF
  1882: if ac_fn_c_try_compile "$LINENO"; then :
  1883: 
  1884: else
  1885:   eval "$3=yes"
  1886: fi
  1887: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1888: fi
  1889: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1890: fi
  1891: eval ac_res=\$$3
  1892: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1893: $as_echo "$ac_res" >&6; }
  1894:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1895: 
  1896: } # ac_fn_c_check_type
  1897: 
  1898: # ac_fn_c_check_func LINENO FUNC VAR
  1899: # ----------------------------------
  1900: # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1901: ac_fn_c_check_func ()
  1902: {
  1903:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1904:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1905: $as_echo_n "checking for $2... " >&6; }
  1906: if eval \${$3+:} false; then :
  1907:   $as_echo_n "(cached) " >&6
  1908: else
  1909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1910: /* end confdefs.h.  */
  1911: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1912:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1913: #define $2 innocuous_$2
  1914: 
  1915: /* System header to define __stub macros and hopefully few prototypes,
  1916:     which can conflict with char $2 (); below.
  1917:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1918:     <limits.h> exists even on freestanding compilers.  */
  1919: 
  1920: #ifdef __STDC__
  1921: # include <limits.h>
  1922: #else
  1923: # include <assert.h>
  1924: #endif
  1925: 
  1926: #undef $2
  1927: 
  1928: /* Override any GCC internal prototype to avoid an error.
  1929:    Use char because int might match the return type of a GCC
  1930:    builtin and then its argument prototype would still apply.  */
  1931: #ifdef __cplusplus
  1932: extern "C"
  1933: #endif
  1934: char $2 ();
  1935: /* The GNU C library defines this for functions which it implements
  1936:     to always fail with ENOSYS.  Some functions are actually named
  1937:     something starting with __ and the normal name is an alias.  */
  1938: #if defined __stub_$2 || defined __stub___$2
  1939: choke me
  1940: #endif
  1941: 
  1942: int
  1943: main ()
  1944: {
  1945: return $2 ();
  1946:   ;
  1947:   return 0;
  1948: }
  1949: _ACEOF
  1950: if ac_fn_c_try_link "$LINENO"; then :
  1951:   eval "$3=yes"
  1952: else
  1953:   eval "$3=no"
  1954: fi
  1955: rm -f core conftest.err conftest.$ac_objext \
  1956:     conftest$ac_exeext conftest.$ac_ext
  1957: fi
  1958: eval ac_res=\$$3
  1959: 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1960: $as_echo "$ac_res" >&6; }
  1961:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1962: 
  1963: } # ac_fn_c_check_func
  1964: cat >config.log <<_ACEOF
  1965: This file contains any messages produced by compilers while
  1966: running configure, to aid debugging if configure makes a mistake.
  1967: 
  1968: It was created by lac $as_me 0.1.0, which was
  1969: generated by GNU Autoconf 2.69.  Invocation command line was
  1970: 
  1971:   $ $0 $@
  1972: 
  1973: _ACEOF
  1974: exec 5>>config.log
  1975: {
  1976: cat <<_ASUNAME
  1977: ## --------- ##
  1978: ## Platform. ##
  1979: ## --------- ##
  1980: 
  1981: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1982: uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1983: uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1984: uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1985: uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1986: 
  1987: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1988: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1989: 
  1990: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1991: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1992: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1993: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1994: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1995: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1996: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1997: 
  1998: _ASUNAME
  1999: 
  2000: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2001: for as_dir in $PATH
  2002: do
  2003:   IFS=$as_save_IFS
  2004:   test -z "$as_dir" && as_dir=.
  2005:     $as_echo "PATH: $as_dir"
  2006:   done
  2007: IFS=$as_save_IFS
  2008: 
  2009: } >&5
  2010: 
  2011: cat >&5 <<_ACEOF
  2012: 
  2013: 
  2014: ## ----------- ##
  2015: ## Core tests. ##
  2016: ## ----------- ##
  2017: 
  2018: _ACEOF
  2019: 
  2020: 
  2021: # Keep a trace of the command line.
  2022: # Strip out --no-create and --no-recursion so they do not pile up.
  2023: # Strip out --silent because we don't want to record it for future runs.
  2024: # Also quote any args containing shell meta-characters.
  2025: # Make two passes to allow for proper duplicate-argument suppression.
  2026: ac_configure_args=
  2027: ac_configure_args0=
  2028: ac_configure_args1=
  2029: ac_must_keep_next=false
  2030: for ac_pass in 1 2
  2031: do
  2032:   for ac_arg
  2033:   do
  2034:     case $ac_arg in
  2035:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2036:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2037:     | -silent | --silent | --silen | --sile | --sil)
  2038:       continue ;;
  2039:     *\'*)
  2040:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2041:     esac
  2042:     case $ac_pass in
  2043:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2044:     2)
  2045:       as_fn_append ac_configure_args1 " '$ac_arg'"
  2046:       if test $ac_must_keep_next = true; then
  2047: 	ac_must_keep_next=false # Got value, back to normal.
  2048:       else
  2049: 	case $ac_arg in
  2050: 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  2051: 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2052: 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2053: 	  | -with-* | --with-* | -without-* | --without-* | --x)
  2054: 	    case "$ac_configure_args0 " in
  2055: 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2056: 	    esac
  2057: 	    ;;
  2058: 	  -* ) ac_must_keep_next=true ;;
  2059: 	esac
  2060:       fi
  2061:       as_fn_append ac_configure_args " '$ac_arg'"
  2062:       ;;
  2063:     esac
  2064:   done
  2065: done
  2066: { ac_configure_args0=; unset ac_configure_args0;}
  2067: { ac_configure_args1=; unset ac_configure_args1;}
  2068: 
  2069: # When interrupted or exit'd, cleanup temporary files, and complete
  2070: # config.log.  We remove comments because anyway the quotes in there
  2071: # would cause problems or look ugly.
  2072: # WARNING: Use '\'' to represent an apostrophe within the trap.
  2073: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2074: trap 'exit_status=$?
  2075:   # Save into config.log some information that might help in debugging.
  2076:   {
  2077:     echo
  2078: 
  2079:     $as_echo "## ---------------- ##
  2080: ## Cache variables. ##
  2081: ## ---------------- ##"
  2082:     echo
  2083:     # The following way of writing the cache mishandles newlines in values,
  2084: (
  2085:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2086:     eval ac_val=\$$ac_var
  2087:     case $ac_val in #(
  2088:     *${as_nl}*)
  2089:       case $ac_var in #(
  2090:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2091: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2092:       esac
  2093:       case $ac_var in #(
  2094:       _ | IFS | as_nl) ;; #(
  2095:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2096:       *) { eval $ac_var=; unset $ac_var;} ;;
  2097:       esac ;;
  2098:     esac
  2099:   done
  2100:   (set) 2>&1 |
  2101:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2102:     *${as_nl}ac_space=\ *)
  2103:       sed -n \
  2104: 	"s/'\''/'\''\\\\'\'''\''/g;
  2105: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2106:       ;; #(
  2107:     *)
  2108:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2109:       ;;
  2110:     esac |
  2111:     sort
  2112: )
  2113:     echo
  2114: 
  2115:     $as_echo "## ----------------- ##
  2116: ## Output variables. ##
  2117: ## ----------------- ##"
  2118:     echo
  2119:     for ac_var in $ac_subst_vars
  2120:     do
  2121:       eval ac_val=\$$ac_var
  2122:       case $ac_val in
  2123:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2124:       esac
  2125:       $as_echo "$ac_var='\''$ac_val'\''"
  2126:     done | sort
  2127:     echo
  2128: 
  2129:     if test -n "$ac_subst_files"; then
  2130:       $as_echo "## ------------------- ##
  2131: ## File substitutions. ##
  2132: ## ------------------- ##"
  2133:       echo
  2134:       for ac_var in $ac_subst_files
  2135:       do
  2136: 	eval ac_val=\$$ac_var
  2137: 	case $ac_val in
  2138: 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2139: 	esac
  2140: 	$as_echo "$ac_var='\''$ac_val'\''"
  2141:       done | sort
  2142:       echo
  2143:     fi
  2144: 
  2145:     if test -s confdefs.h; then
  2146:       $as_echo "## ----------- ##
  2147: ## confdefs.h. ##
  2148: ## ----------- ##"
  2149:       echo
  2150:       cat confdefs.h
  2151:       echo
  2152:     fi
  2153:     test "$ac_signal" != 0 &&
  2154:       $as_echo "$as_me: caught signal $ac_signal"
  2155:     $as_echo "$as_me: exit $exit_status"
  2156:   } >&5
  2157:   rm -f core *.core core.conftest.* &&
  2158:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2159:     exit $exit_status
  2160: ' 0
  2161: for ac_signal in 1 2 13 15; do
  2162:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2163: done
  2164: ac_signal=0
  2165: 
  2166: # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2167: rm -f -r conftest* confdefs.h
  2168: 
  2169: $as_echo "/* confdefs.h */" > confdefs.h
  2170: 
  2171: # Predefined preprocessor variables.
  2172: 
  2173: cat >>confdefs.h <<_ACEOF
  2174: #define PACKAGE_NAME "$PACKAGE_NAME"
  2175: _ACEOF
  2176: 
  2177: cat >>confdefs.h <<_ACEOF
  2178: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2179: _ACEOF
  2180: 
  2181: cat >>confdefs.h <<_ACEOF
  2182: #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2183: _ACEOF
  2184: 
  2185: cat >>confdefs.h <<_ACEOF
  2186: #define PACKAGE_STRING "$PACKAGE_STRING"
  2187: _ACEOF
  2188: 
  2189: cat >>confdefs.h <<_ACEOF
  2190: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2191: _ACEOF
  2192: 
  2193: cat >>confdefs.h <<_ACEOF
  2194: #define PACKAGE_URL "$PACKAGE_URL"
  2195: _ACEOF
  2196: 
  2197: 
  2198: # Let the site file select an alternate cache file if it wants to.
  2199: # Prefer an explicitly selected file to automatically selected ones.
  2200: ac_site_file1=NONE
  2201: ac_site_file2=NONE
  2202: if test -n "$CONFIG_SITE"; then
  2203:   # We do not want a PATH search for config.site.
  2204:   case $CONFIG_SITE in #((
  2205:     -*)  ac_site_file1=./$CONFIG_SITE;;
  2206:     */*) ac_site_file1=$CONFIG_SITE;;
  2207:     *)   ac_site_file1=./$CONFIG_SITE;;
  2208:   esac
  2209: elif test "x$prefix" != xNONE; then
  2210:   ac_site_file1=$prefix/share/config.site
  2211:   ac_site_file2=$prefix/etc/config.site
  2212: else
  2213:   ac_site_file1=$ac_default_prefix/share/config.site
  2214:   ac_site_file2=$ac_default_prefix/etc/config.site
  2215: fi
  2216: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2217: do
  2218:   test "x$ac_site_file" = xNONE && continue
  2219:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2220:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2221: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2222:     sed 's/^/| /' "$ac_site_file" >&5
  2223:     . "$ac_site_file" \
  2224:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2225: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2226: as_fn_error $? "failed to load site script $ac_site_file
  2227: See \`config.log' for more details" "$LINENO" 5; }
  2228:   fi
  2229: done
  2230: 
  2231: if test -r "$cache_file"; then
  2232:   # Some versions of bash will fail to source /dev/null (special files
  2233:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2234:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2235:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2236: $as_echo "$as_me: loading cache $cache_file" >&6;}
  2237:     case $cache_file in
  2238:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2239:       *)                      . "./$cache_file";;
  2240:     esac
  2241:   fi
  2242: else
  2243:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2244: $as_echo "$as_me: creating cache $cache_file" >&6;}
  2245:   >$cache_file
  2246: fi
  2247: 
  2248: # Check that the precious variables saved in the cache have kept the same
  2249: # value.
  2250: ac_cache_corrupted=false
  2251: for ac_var in $ac_precious_vars; do
  2252:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2253:   eval ac_new_set=\$ac_env_${ac_var}_set
  2254:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2255:   eval ac_new_val=\$ac_env_${ac_var}_value
  2256:   case $ac_old_set,$ac_new_set in
  2257:     set,)
  2258:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2259: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2260:       ac_cache_corrupted=: ;;
  2261:     ,set)
  2262:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2263: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2264:       ac_cache_corrupted=: ;;
  2265:     ,);;
  2266:     *)
  2267:       if test "x$ac_old_val" != "x$ac_new_val"; then
  2268: 	# differences in whitespace do not lead to failure.
  2269: 	ac_old_val_w=`echo x $ac_old_val`
  2270: 	ac_new_val_w=`echo x $ac_new_val`
  2271: 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2272: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2273: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2274: 	  ac_cache_corrupted=:
  2275: 	else
  2276: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2277: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2278: 	  eval $ac_var=\$ac_old_val
  2279: 	fi
  2280: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2281: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2282: 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2283: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2284:       fi;;
  2285:   esac
  2286:   # Pass precious variables to config.status.
  2287:   if test "$ac_new_set" = set; then
  2288:     case $ac_new_val in
  2289:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2290:     *) ac_arg=$ac_var=$ac_new_val ;;
  2291:     esac
  2292:     case " $ac_configure_args " in
  2293:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2294:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2295:     esac
  2296:   fi
  2297: done
  2298: if $ac_cache_corrupted; then
  2299:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2300: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2301:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2302: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2303:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2304: fi
  2305: ## -------------------- ##
  2306: ## Main body of script. ##
  2307: ## -------------------- ##
  2308: 
  2309: ac_ext=c
  2310: ac_cpp='$CPP $CPPFLAGS'
  2311: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2312: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2313: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2314: 
  2315: 
  2316: am__api_version='1.15'
  2317: 
  2318: ac_aux_dir=
  2319: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2320:   if test -f "$ac_dir/install-sh"; then
  2321:     ac_aux_dir=$ac_dir
  2322:     ac_install_sh="$ac_aux_dir/install-sh -c"
  2323:     break
  2324:   elif test -f "$ac_dir/install.sh"; then
  2325:     ac_aux_dir=$ac_dir
  2326:     ac_install_sh="$ac_aux_dir/install.sh -c"
  2327:     break
  2328:   elif test -f "$ac_dir/shtool"; then
  2329:     ac_aux_dir=$ac_dir
  2330:     ac_install_sh="$ac_aux_dir/shtool install -c"
  2331:     break
  2332:   fi
  2333: done
  2334: if test -z "$ac_aux_dir"; then
  2335:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2336: fi
  2337: 
  2338: # These three variables are undocumented and unsupported,
  2339: # and are intended to be withdrawn in a future Autoconf release.
  2340: # They can cause serious problems if a builder's source tree is in a directory
  2341: # whose full name contains unusual characters.
  2342: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2343: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2344: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2345: 
  2346: 
  2347: # Find a good install program.  We prefer a C program (faster),
  2348: # so one script is as good as another.  But avoid the broken or
  2349: # incompatible versions:
  2350: # SysV /etc/install, /usr/sbin/install
  2351: # SunOS /usr/etc/install
  2352: # IRIX /sbin/install
  2353: # AIX /bin/install
  2354: # AmigaOS /C/install, which installs bootblocks on floppy discs
  2355: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2356: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2357: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2358: # OS/2's system install, which has a completely different semantic
  2359: # ./install, which can be erroneously created by make from ./install.sh.
  2360: # Reject install programs that cannot install multiple files.
  2361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2362: $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2363: if test -z "$INSTALL"; then
  2364: if ${ac_cv_path_install+:} false; then :
  2365:   $as_echo_n "(cached) " >&6
  2366: else
  2367:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2368: for as_dir in $PATH
  2369: do
  2370:   IFS=$as_save_IFS
  2371:   test -z "$as_dir" && as_dir=.
  2372:     # Account for people who put trailing slashes in PATH elements.
  2373: case $as_dir/ in #((
  2374:   ./ | .// | /[cC]/* | \
  2375:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2376:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2377:   /usr/ucb/* ) ;;
  2378:   *)
  2379:     # OSF1 and SCO ODT 3.0 have their own names for install.
  2380:     # Don't use installbsd from OSF since it installs stuff as root
  2381:     # by default.
  2382:     for ac_prog in ginstall scoinst install; do
  2383:       for ac_exec_ext in '' $ac_executable_extensions; do
  2384: 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2385: 	  if test $ac_prog = install &&
  2386: 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2387: 	    # AIX install.  It has an incompatible calling convention.
  2388: 	    :
  2389: 	  elif test $ac_prog = install &&
  2390: 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2391: 	    # program-specific install script used by HP pwplus--don't use.
  2392: 	    :
  2393: 	  else
  2394: 	    rm -rf conftest.one conftest.two conftest.dir
  2395: 	    echo one > conftest.one
  2396: 	    echo two > conftest.two
  2397: 	    mkdir conftest.dir
  2398: 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2399: 	      test -s conftest.one && test -s conftest.two &&
  2400: 	      test -s conftest.dir/conftest.one &&
  2401: 	      test -s conftest.dir/conftest.two
  2402: 	    then
  2403: 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2404: 	      break 3
  2405: 	    fi
  2406: 	  fi
  2407: 	fi
  2408:       done
  2409:     done
  2410:     ;;
  2411: esac
  2412: 
  2413:   done
  2414: IFS=$as_save_IFS
  2415: 
  2416: rm -rf conftest.one conftest.two conftest.dir
  2417: 
  2418: fi
  2419:   if test "${ac_cv_path_install+set}" = set; then
  2420:     INSTALL=$ac_cv_path_install
  2421:   else
  2422:     # As a last resort, use the slow shell script.  Don't cache a
  2423:     # value for INSTALL within a source directory, because that will
  2424:     # break other packages using the cache if that directory is
  2425:     # removed, or if the value is a relative name.
  2426:     INSTALL=$ac_install_sh
  2427:   fi
  2428: fi
  2429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2430: $as_echo "$INSTALL" >&6; }
  2431: 
  2432: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2433: # It thinks the first close brace ends the variable substitution.
  2434: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2435: 
  2436: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2437: 
  2438: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2439: 
  2440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2441: $as_echo_n "checking whether build environment is sane... " >&6; }
  2442: # Reject unsafe characters in $srcdir or the absolute working directory
  2443: # name.  Accept space and tab only in the latter.
  2444: am_lf='
  2445: '
  2446: case `pwd` in
  2447:   *[\\\"\#\$\&\'\`$am_lf]*)
  2448:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2449: esac
  2450: case $srcdir in
  2451:   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
  2452:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2453: esac
  2454: 
  2455: # Do 'set' in a subshell so we don't clobber the current shell's
  2456: # arguments.  Must try -L first in case configure is actually a
  2457: # symlink; some systems play weird games with the mod time of symlinks
  2458: # (eg FreeBSD returns the mod time of the symlink's containing
  2459: # directory).
  2460: if (
  2461:    am_has_slept=no
  2462:    for am_try in 1 2; do
  2463:      echo "timestamp, slept: $am_has_slept" > conftest.file
  2464:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2465:      if test "$*" = "X"; then
  2466: 	# -L didn't work.
  2467: 	set X `ls -t "$srcdir/configure" conftest.file`
  2468:      fi
  2469:      if test "$*" != "X $srcdir/configure conftest.file" \
  2470: 	&& test "$*" != "X conftest.file $srcdir/configure"; then
  2471: 
  2472: 	# If neither matched, then we have a broken ls.  This can happen
  2473: 	# if, for instance, CONFIG_SHELL is bash and it inherits a
  2474: 	# broken ls alias from the environment.  This has actually
  2475: 	# happened.  Such a system could not be considered "sane".
  2476: 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  2477:   alias in your environment" "$LINENO" 5
  2478:      fi
  2479:      if test "$2" = conftest.file || test $am_try -eq 2; then
  2480:        break
  2481:      fi
  2482:      # Just in case.
  2483:      sleep 1
  2484:      am_has_slept=yes
  2485:    done
  2486:    test "$2" = conftest.file
  2487:    )
  2488: then
  2489:    # Ok.
  2490:    :
  2491: else
  2492:    as_fn_error $? "newly created file is older than distributed files!
  2493: Check your system clock" "$LINENO" 5
  2494: fi
  2495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2496: $as_echo "yes" >&6; }
  2497: # If we didn't sleep, we still need to ensure time stamps of config.status and
  2498: # generated files are strictly newer.
  2499: am_sleep_pid=
  2500: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2501:   ( sleep 1 ) &
  2502:   am_sleep_pid=$!
  2503: fi
  2504: 
  2505: rm -f conftest.file
  2506: 
  2507: test "$program_prefix" != NONE &&
  2508:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2509: # Use a double $ so make ignores it.
  2510: test "$program_suffix" != NONE &&
  2511:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2512: # Double any \ or $.
  2513: # By default was `s,x,x', remove it if useless.
  2514: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2515: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2516: 
  2517: # Expand $ac_aux_dir to an absolute path.
  2518: am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2519: 
  2520: if test x"${MISSING+set}" != xset; then
  2521:   case $am_aux_dir in
  2522:   *\ * | *\	*)
  2523:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2524:   *)
  2525:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2526:   esac
  2527: fi
  2528: # Use eval to expand $SHELL
  2529: if eval "$MISSING --is-lightweight"; then
  2530:   am_missing_run="$MISSING "
  2531: else
  2532:   am_missing_run=
  2533:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2534: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2535: fi
  2536: 
  2537: if test x"${install_sh+set}" != xset; then
  2538:   case $am_aux_dir in
  2539:   *\ * | *\	*)
  2540:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2541:   *)
  2542:     install_sh="\${SHELL} $am_aux_dir/install-sh"
  2543:   esac
  2544: fi
  2545: 
  2546: # Installed binaries are usually stripped using 'strip' when the user
  2547: # run "make install-strip".  However 'strip' might not be the right
  2548: # tool to use in cross-compilation environments, therefore Automake
  2549: # will honor the 'STRIP' environment variable to overrule this program.
  2550: if test "$cross_compiling" != no; then
  2551:   if test -n "$ac_tool_prefix"; then
  2552:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2553: set dummy ${ac_tool_prefix}strip; ac_word=$2
  2554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2555: $as_echo_n "checking for $ac_word... " >&6; }
  2556: if ${ac_cv_prog_STRIP+:} false; then :
  2557:   $as_echo_n "(cached) " >&6
  2558: else
  2559:   if test -n "$STRIP"; then
  2560:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2561: else
  2562: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2563: for as_dir in $PATH
  2564: do
  2565:   IFS=$as_save_IFS
  2566:   test -z "$as_dir" && as_dir=.
  2567:     for ac_exec_ext in '' $ac_executable_extensions; do
  2568:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2569:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2570:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2571:     break 2
  2572:   fi
  2573: done
  2574:   done
  2575: IFS=$as_save_IFS
  2576: 
  2577: fi
  2578: fi
  2579: STRIP=$ac_cv_prog_STRIP
  2580: if test -n "$STRIP"; then
  2581:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2582: $as_echo "$STRIP" >&6; }
  2583: else
  2584:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2585: $as_echo "no" >&6; }
  2586: fi
  2587: 
  2588: 
  2589: fi
  2590: if test -z "$ac_cv_prog_STRIP"; then
  2591:   ac_ct_STRIP=$STRIP
  2592:   # Extract the first word of "strip", so it can be a program name with args.
  2593: set dummy strip; ac_word=$2
  2594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2595: $as_echo_n "checking for $ac_word... " >&6; }
  2596: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2597:   $as_echo_n "(cached) " >&6
  2598: else
  2599:   if test -n "$ac_ct_STRIP"; then
  2600:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2601: else
  2602: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2603: for as_dir in $PATH
  2604: do
  2605:   IFS=$as_save_IFS
  2606:   test -z "$as_dir" && as_dir=.
  2607:     for ac_exec_ext in '' $ac_executable_extensions; do
  2608:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2609:     ac_cv_prog_ac_ct_STRIP="strip"
  2610:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2611:     break 2
  2612:   fi
  2613: done
  2614:   done
  2615: IFS=$as_save_IFS
  2616: 
  2617: fi
  2618: fi
  2619: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2620: if test -n "$ac_ct_STRIP"; then
  2621:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2622: $as_echo "$ac_ct_STRIP" >&6; }
  2623: else
  2624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2625: $as_echo "no" >&6; }
  2626: fi
  2627: 
  2628:   if test "x$ac_ct_STRIP" = x; then
  2629:     STRIP=":"
  2630:   else
  2631:     case $cross_compiling:$ac_tool_warned in
  2632: yes:)
  2633: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2634: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2635: ac_tool_warned=yes ;;
  2636: esac
  2637:     STRIP=$ac_ct_STRIP
  2638:   fi
  2639: else
  2640:   STRIP="$ac_cv_prog_STRIP"
  2641: fi
  2642: 
  2643: fi
  2644: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2645: 
  2646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2647: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2648: if test -z "$MKDIR_P"; then
  2649:   if ${ac_cv_path_mkdir+:} false; then :
  2650:   $as_echo_n "(cached) " >&6
  2651: else
  2652:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2653: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2654: do
  2655:   IFS=$as_save_IFS
  2656:   test -z "$as_dir" && as_dir=.
  2657:     for ac_prog in mkdir gmkdir; do
  2658: 	 for ac_exec_ext in '' $ac_executable_extensions; do
  2659: 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2660: 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2661: 	     'mkdir (GNU coreutils) '* | \
  2662: 	     'mkdir (coreutils) '* | \
  2663: 	     'mkdir (fileutils) '4.1*)
  2664: 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2665: 	       break 3;;
  2666: 	   esac
  2667: 	 done
  2668:        done
  2669:   done
  2670: IFS=$as_save_IFS
  2671: 
  2672: fi
  2673: 
  2674:   test -d ./--version && rmdir ./--version
  2675:   if test "${ac_cv_path_mkdir+set}" = set; then
  2676:     MKDIR_P="$ac_cv_path_mkdir -p"
  2677:   else
  2678:     # As a last resort, use the slow shell script.  Don't cache a
  2679:     # value for MKDIR_P within a source directory, because that will
  2680:     # break other packages using the cache if that directory is
  2681:     # removed, or if the value is a relative name.
  2682:     MKDIR_P="$ac_install_sh -d"
  2683:   fi
  2684: fi
  2685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2686: $as_echo "$MKDIR_P" >&6; }
  2687: 
  2688: for ac_prog in gawk mawk nawk awk
  2689: do
  2690:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2691: set dummy $ac_prog; ac_word=$2
  2692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2693: $as_echo_n "checking for $ac_word... " >&6; }
  2694: if ${ac_cv_prog_AWK+:} false; then :
  2695:   $as_echo_n "(cached) " >&6
  2696: else
  2697:   if test -n "$AWK"; then
  2698:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2699: else
  2700: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2701: for as_dir in $PATH
  2702: do
  2703:   IFS=$as_save_IFS
  2704:   test -z "$as_dir" && as_dir=.
  2705:     for ac_exec_ext in '' $ac_executable_extensions; do
  2706:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2707:     ac_cv_prog_AWK="$ac_prog"
  2708:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2709:     break 2
  2710:   fi
  2711: done
  2712:   done
  2713: IFS=$as_save_IFS
  2714: 
  2715: fi
  2716: fi
  2717: AWK=$ac_cv_prog_AWK
  2718: if test -n "$AWK"; then
  2719:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2720: $as_echo "$AWK" >&6; }
  2721: else
  2722:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2723: $as_echo "no" >&6; }
  2724: fi
  2725: 
  2726: 
  2727:   test -n "$AWK" && break
  2728: done
  2729: 
  2730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2731: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2732: set x ${MAKE-make}
  2733: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2734: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2735:   $as_echo_n "(cached) " >&6
  2736: else
  2737:   cat >conftest.make <<\_ACEOF
  2738: SHELL = /bin/sh
  2739: all:
  2740: 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2741: _ACEOF
  2742: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2743: case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2744:   *@@@%%%=?*=@@@%%%*)
  2745:     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2746:   *)
  2747:     eval ac_cv_prog_make_${ac_make}_set=no;;
  2748: esac
  2749: rm -f conftest.make
  2750: fi
  2751: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2753: $as_echo "yes" >&6; }
  2754:   SET_MAKE=
  2755: else
  2756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2757: $as_echo "no" >&6; }
  2758:   SET_MAKE="MAKE=${MAKE-make}"
  2759: fi
  2760: 
  2761: rm -rf .tst 2>/dev/null
  2762: mkdir .tst 2>/dev/null
  2763: if test -d .tst; then
  2764:   am__leading_dot=.
  2765: else
  2766:   am__leading_dot=_
  2767: fi
  2768: rmdir .tst 2>/dev/null
  2769: 
  2770: # Check whether --enable-silent-rules was given.
  2771: if test "${enable_silent_rules+set}" = set; then :
  2772:   enableval=$enable_silent_rules;
  2773: fi
  2774: 
  2775: case $enable_silent_rules in # (((
  2776:   yes) AM_DEFAULT_VERBOSITY=0;;
  2777:    no) AM_DEFAULT_VERBOSITY=1;;
  2778:     *) AM_DEFAULT_VERBOSITY=1;;
  2779: esac
  2780: am_make=${MAKE-make}
  2781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2782: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2783: if ${am_cv_make_support_nested_variables+:} false; then :
  2784:   $as_echo_n "(cached) " >&6
  2785: else
  2786:   if $as_echo 'TRUE=$(BAR$(V))
  2787: BAR0=false
  2788: BAR1=true
  2789: V=1
  2790: am__doit:
  2791: 	@$(TRUE)
  2792: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2793:   am_cv_make_support_nested_variables=yes
  2794: else
  2795:   am_cv_make_support_nested_variables=no
  2796: fi
  2797: fi
  2798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2799: $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2800: if test $am_cv_make_support_nested_variables = yes; then
  2801:     AM_V='$(V)'
  2802:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2803: else
  2804:   AM_V=$AM_DEFAULT_VERBOSITY
  2805:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2806: fi
  2807: AM_BACKSLASH='\'
  2808: 
  2809: if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2810:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2811:   # is not polluted with repeated "-I."
  2812:   am__isrc=' -I$(srcdir)'
  2813:   # test to see if srcdir already configured
  2814:   if test -f $srcdir/config.status; then
  2815:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2816:   fi
  2817: fi
  2818: 
  2819: # test whether we have cygpath
  2820: if test -z "$CYGPATH_W"; then
  2821:   if (cygpath --version) >/dev/null 2>/dev/null; then
  2822:     CYGPATH_W='cygpath -w'
  2823:   else
  2824:     CYGPATH_W=echo
  2825:   fi
  2826: fi
  2827: 
  2828: 
  2829: # Define the identity of the package.
  2830:  PACKAGE='lac'
  2831:  VERSION='0.1.0'
  2832: 
  2833: 
  2834: cat >>confdefs.h <<_ACEOF
  2835: #define PACKAGE "$PACKAGE"
  2836: _ACEOF
  2837: 
  2838: 
  2839: cat >>confdefs.h <<_ACEOF
  2840: #define VERSION "$VERSION"
  2841: _ACEOF
  2842: 
  2843: # Some tools Automake needs.
  2844: 
  2845: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2846: 
  2847: 
  2848: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2849: 
  2850: 
  2851: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2852: 
  2853: 
  2854: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2855: 
  2856: 
  2857: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2858: 
  2859: # For better backward compatibility.  To be removed once Automake 1.9.x
  2860: # dies out for good.  For more background, see:
  2861: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2862: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2863: mkdir_p='$(MKDIR_P)'
  2864: 
  2865: # We need awk for the "check" target (and possibly the TAP driver).  The
  2866: # system "awk" is bad on some platforms.
  2867: # Always define AMTAR for backward compatibility.  Yes, it's still used
  2868: # in the wild :-(  We should find a proper way to deprecate it ...
  2869: AMTAR='$${TAR-tar}'
  2870: 
  2871: 
  2872: # We'll loop over all known methods to create a tar archive until one works.
  2873: _am_tools='gnutar  pax cpio none'
  2874: 
  2875: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2876: 
  2877: 
  2878: 
  2879: 
  2880: 
  2881: 
  2882: # POSIX will say in a future version that running "rm -f" with no argument
  2883: # is OK; and we want to be able to make that assumption in our Makefile
  2884: # recipes.  So use an aggressive probe to check that the usage we want is
  2885: # actually supported "in the wild" to an acceptable degree.
  2886: # See automake bug#10828.
  2887: # To make any issue more visible, cause the running configure to be aborted
  2888: # by default if the 'rm' program in use doesn't match our expectations; the
  2889: # user can still override this though.
  2890: if rm -f && rm -fr && rm -rf; then : OK; else
  2891:   cat >&2 <<'END'
  2892: Oops!
  2893: 
  2894: Your 'rm' program seems unable to run without file operands specified
  2895: on the command line, even when the '-f' option is present.  This is contrary
  2896: to the behaviour of most rm programs out there, and not conforming with
  2897: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2898: 
  2899: Please tell bug-automake@gnu.org about your system, including the value
  2900: of your $PATH and any error possibly output before this message.  This
  2901: can help us improve future automake versions.
  2902: 
  2903: END
  2904:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2905:     echo 'Configuration will proceed anyway, since you have set the' >&2
  2906:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2907:     echo >&2
  2908:   else
  2909:     cat >&2 <<'END'
  2910: Aborting the configuration process, to ensure you take notice of the issue.
  2911: 
  2912: You can download and install GNU coreutils to get an 'rm' implementation
  2913: that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2914: 
  2915: If you want to complete the configuration process using your problematic
  2916: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2917: to "yes", and re-run configure.
  2918: 
  2919: END
  2920:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2921:   fi
  2922: fi
  2923: 
  2924: 
  2925: 
  2926: 
  2927: # Checks for programs.
  2928: ac_ext=c
  2929: ac_cpp='$CPP $CPPFLAGS'
  2930: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2931: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2932: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2933: if test -n "$ac_tool_prefix"; then
  2934:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2935: set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2937: $as_echo_n "checking for $ac_word... " >&6; }
  2938: if ${ac_cv_prog_CC+:} false; then :
  2939:   $as_echo_n "(cached) " >&6
  2940: else
  2941:   if test -n "$CC"; then
  2942:   ac_cv_prog_CC="$CC" # Let the user override the test.
  2943: else
  2944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2945: for as_dir in $PATH
  2946: do
  2947:   IFS=$as_save_IFS
  2948:   test -z "$as_dir" && as_dir=.
  2949:     for ac_exec_ext in '' $ac_executable_extensions; do
  2950:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2951:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2952:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2953:     break 2
  2954:   fi
  2955: done
  2956:   done
  2957: IFS=$as_save_IFS
  2958: 
  2959: fi
  2960: fi
  2961: CC=$ac_cv_prog_CC
  2962: if test -n "$CC"; then
  2963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2964: $as_echo "$CC" >&6; }
  2965: else
  2966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2967: $as_echo "no" >&6; }
  2968: fi
  2969: 
  2970: 
  2971: fi
  2972: if test -z "$ac_cv_prog_CC"; then
  2973:   ac_ct_CC=$CC
  2974:   # Extract the first word of "gcc", so it can be a program name with args.
  2975: set dummy gcc; ac_word=$2
  2976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2977: $as_echo_n "checking for $ac_word... " >&6; }
  2978: if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2979:   $as_echo_n "(cached) " >&6
  2980: else
  2981:   if test -n "$ac_ct_CC"; then
  2982:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2983: else
  2984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2985: for as_dir in $PATH
  2986: do
  2987:   IFS=$as_save_IFS
  2988:   test -z "$as_dir" && as_dir=.
  2989:     for ac_exec_ext in '' $ac_executable_extensions; do
  2990:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2991:     ac_cv_prog_ac_ct_CC="gcc"
  2992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2993:     break 2
  2994:   fi
  2995: done
  2996:   done
  2997: IFS=$as_save_IFS
  2998: 
  2999: fi
  3000: fi
  3001: ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3002: if test -n "$ac_ct_CC"; then
  3003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3004: $as_echo "$ac_ct_CC" >&6; }
  3005: else
  3006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3007: $as_echo "no" >&6; }
  3008: fi
  3009: 
  3010:   if test "x$ac_ct_CC" = x; then
  3011:     CC=""
  3012:   else
  3013:     case $cross_compiling:$ac_tool_warned in
  3014: yes:)
  3015: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3016: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3017: ac_tool_warned=yes ;;
  3018: esac
  3019:     CC=$ac_ct_CC
  3020:   fi
  3021: else
  3022:   CC="$ac_cv_prog_CC"
  3023: fi
  3024: 
  3025: if test -z "$CC"; then
  3026:           if test -n "$ac_tool_prefix"; then
  3027:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3028: set dummy ${ac_tool_prefix}cc; ac_word=$2
  3029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3030: $as_echo_n "checking for $ac_word... " >&6; }
  3031: if ${ac_cv_prog_CC+:} false; then :
  3032:   $as_echo_n "(cached) " >&6
  3033: else
  3034:   if test -n "$CC"; then
  3035:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3036: else
  3037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3038: for as_dir in $PATH
  3039: do
  3040:   IFS=$as_save_IFS
  3041:   test -z "$as_dir" && as_dir=.
  3042:     for ac_exec_ext in '' $ac_executable_extensions; do
  3043:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3044:     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3045:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3046:     break 2
  3047:   fi
  3048: done
  3049:   done
  3050: IFS=$as_save_IFS
  3051: 
  3052: fi
  3053: fi
  3054: CC=$ac_cv_prog_CC
  3055: if test -n "$CC"; then
  3056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3057: $as_echo "$CC" >&6; }
  3058: else
  3059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3060: $as_echo "no" >&6; }
  3061: fi
  3062: 
  3063: 
  3064:   fi
  3065: fi
  3066: if test -z "$CC"; then
  3067:   # Extract the first word of "cc", so it can be a program name with args.
  3068: set dummy cc; ac_word=$2
  3069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3070: $as_echo_n "checking for $ac_word... " >&6; }
  3071: if ${ac_cv_prog_CC+:} false; then :
  3072:   $as_echo_n "(cached) " >&6
  3073: else
  3074:   if test -n "$CC"; then
  3075:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3076: else
  3077:   ac_prog_rejected=no
  3078: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3079: for as_dir in $PATH
  3080: do
  3081:   IFS=$as_save_IFS
  3082:   test -z "$as_dir" && as_dir=.
  3083:     for ac_exec_ext in '' $ac_executable_extensions; do
  3084:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3085:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3086:        ac_prog_rejected=yes
  3087:        continue
  3088:      fi
  3089:     ac_cv_prog_CC="cc"
  3090:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3091:     break 2
  3092:   fi
  3093: done
  3094:   done
  3095: IFS=$as_save_IFS
  3096: 
  3097: if test $ac_prog_rejected = yes; then
  3098:   # We found a bogon in the path, so make sure we never use it.
  3099:   set dummy $ac_cv_prog_CC
  3100:   shift
  3101:   if test $# != 0; then
  3102:     # We chose a different compiler from the bogus one.
  3103:     # However, it has the same basename, so the bogon will be chosen
  3104:     # first if we set CC to just the basename; use the full file name.
  3105:     shift
  3106:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3107:   fi
  3108: fi
  3109: fi
  3110: fi
  3111: CC=$ac_cv_prog_CC
  3112: if test -n "$CC"; then
  3113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3114: $as_echo "$CC" >&6; }
  3115: else
  3116:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3117: $as_echo "no" >&6; }
  3118: fi
  3119: 
  3120: 
  3121: fi
  3122: if test -z "$CC"; then
  3123:   if test -n "$ac_tool_prefix"; then
  3124:   for ac_prog in cl.exe
  3125:   do
  3126:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3127: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3129: $as_echo_n "checking for $ac_word... " >&6; }
  3130: if ${ac_cv_prog_CC+:} false; then :
  3131:   $as_echo_n "(cached) " >&6
  3132: else
  3133:   if test -n "$CC"; then
  3134:   ac_cv_prog_CC="$CC" # Let the user override the test.
  3135: else
  3136: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3137: for as_dir in $PATH
  3138: do
  3139:   IFS=$as_save_IFS
  3140:   test -z "$as_dir" && as_dir=.
  3141:     for ac_exec_ext in '' $ac_executable_extensions; do
  3142:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3143:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3144:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3145:     break 2
  3146:   fi
  3147: done
  3148:   done
  3149: IFS=$as_save_IFS
  3150: 
  3151: fi
  3152: fi
  3153: CC=$ac_cv_prog_CC
  3154: if test -n "$CC"; then
  3155:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3156: $as_echo "$CC" >&6; }
  3157: else
  3158:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3159: $as_echo "no" >&6; }
  3160: fi
  3161: 
  3162: 
  3163:     test -n "$CC" && break
  3164:   done
  3165: fi
  3166: if test -z "$CC"; then
  3167:   ac_ct_CC=$CC
  3168:   for ac_prog in cl.exe
  3169: do
  3170:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3171: set dummy $ac_prog; ac_word=$2
  3172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3173: $as_echo_n "checking for $ac_word... " >&6; }
  3174: if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3175:   $as_echo_n "(cached) " >&6
  3176: else
  3177:   if test -n "$ac_ct_CC"; then
  3178:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3179: else
  3180: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3181: for as_dir in $PATH
  3182: do
  3183:   IFS=$as_save_IFS
  3184:   test -z "$as_dir" && as_dir=.
  3185:     for ac_exec_ext in '' $ac_executable_extensions; do
  3186:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3187:     ac_cv_prog_ac_ct_CC="$ac_prog"
  3188:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3189:     break 2
  3190:   fi
  3191: done
  3192:   done
  3193: IFS=$as_save_IFS
  3194: 
  3195: fi
  3196: fi
  3197: ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3198: if test -n "$ac_ct_CC"; then
  3199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3200: $as_echo "$ac_ct_CC" >&6; }
  3201: else
  3202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3203: $as_echo "no" >&6; }
  3204: fi
  3205: 
  3206: 
  3207:   test -n "$ac_ct_CC" && break
  3208: done
  3209: 
  3210:   if test "x$ac_ct_CC" = x; then
  3211:     CC=""
  3212:   else
  3213:     case $cross_compiling:$ac_tool_warned in
  3214: yes:)
  3215: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3216: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3217: ac_tool_warned=yes ;;
  3218: esac
  3219:     CC=$ac_ct_CC
  3220:   fi
  3221: fi
  3222: 
  3223: fi
  3224: 
  3225: 
  3226: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3227: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3228: as_fn_error $? "no acceptable C compiler found in \$PATH
  3229: See \`config.log' for more details" "$LINENO" 5; }
  3230: 
  3231: # Provide some information about the compiler.
  3232: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3233: set X $ac_compile
  3234: ac_compiler=$2
  3235: for ac_option in --version -v -V -qversion; do
  3236:   { { ac_try="$ac_compiler $ac_option >&5"
  3237: case "(($ac_try" in
  3238:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3239:   *) ac_try_echo=$ac_try;;
  3240: esac
  3241: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3242: $as_echo "$ac_try_echo"; } >&5
  3243:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3244:   ac_status=$?
  3245:   if test -s conftest.err; then
  3246:     sed '10a\
  3247: ... rest of stderr output deleted ...
  3248:          10q' conftest.err >conftest.er1
  3249:     cat conftest.er1 >&5
  3250:   fi
  3251:   rm -f conftest.er1 conftest.err
  3252:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3253:   test $ac_status = 0; }
  3254: done
  3255: 
  3256: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3257: /* end confdefs.h.  */
  3258: 
  3259: int
  3260: main ()
  3261: {
  3262: 
  3263:   ;
  3264:   return 0;
  3265: }
  3266: _ACEOF
  3267: ac_clean_files_save=$ac_clean_files
  3268: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3269: # Try to create an executable without -o first, disregard a.out.
  3270: # It will help us diagnose broken compilers, and finding out an intuition
  3271: # of exeext.
  3272: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3273: $as_echo_n "checking whether the C compiler works... " >&6; }
  3274: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3275: 
  3276: # The possible output files:
  3277: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3278: 
  3279: ac_rmfiles=
  3280: for ac_file in $ac_files
  3281: do
  3282:   case $ac_file in
  3283:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3284:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3285:   esac
  3286: done
  3287: rm -f $ac_rmfiles
  3288: 
  3289: if { { ac_try="$ac_link_default"
  3290: case "(($ac_try" in
  3291:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3292:   *) ac_try_echo=$ac_try;;
  3293: esac
  3294: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3295: $as_echo "$ac_try_echo"; } >&5
  3296:   (eval "$ac_link_default") 2>&5
  3297:   ac_status=$?
  3298:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3299:   test $ac_status = 0; }; then :
  3300:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3301: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3302: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3303: # so that the user can short-circuit this test for compilers unknown to
  3304: # Autoconf.
  3305: for ac_file in $ac_files ''
  3306: do
  3307:   test -f "$ac_file" || continue
  3308:   case $ac_file in
  3309:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3310: 	;;
  3311:     [ab].out )
  3312: 	# We found the default executable, but exeext='' is most
  3313: 	# certainly right.
  3314: 	break;;
  3315:     *.* )
  3316: 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3317: 	then :; else
  3318: 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3319: 	fi
  3320: 	# We set ac_cv_exeext here because the later test for it is not
  3321: 	# safe: cross compilers may not add the suffix if given an `-o'
  3322: 	# argument, so we may need to know it at that point already.
  3323: 	# Even if this section looks crufty: it has the advantage of
  3324: 	# actually working.
  3325: 	break;;
  3326:     * )
  3327: 	break;;
  3328:   esac
  3329: done
  3330: test "$ac_cv_exeext" = no && ac_cv_exeext=
  3331: 
  3332: else
  3333:   ac_file=''
  3334: fi
  3335: if test -z "$ac_file"; then :
  3336:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3337: $as_echo "no" >&6; }
  3338: $as_echo "$as_me: failed program was:" >&5
  3339: sed 's/^/| /' conftest.$ac_ext >&5
  3340: 
  3341: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3342: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3343: as_fn_error 77 "C compiler cannot create executables
  3344: See \`config.log' for more details" "$LINENO" 5; }
  3345: else
  3346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3347: $as_echo "yes" >&6; }
  3348: fi
  3349: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3350: $as_echo_n "checking for C compiler default output file name... " >&6; }
  3351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3352: $as_echo "$ac_file" >&6; }
  3353: ac_exeext=$ac_cv_exeext
  3354: 
  3355: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3356: ac_clean_files=$ac_clean_files_save
  3357: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3358: $as_echo_n "checking for suffix of executables... " >&6; }
  3359: if { { ac_try="$ac_link"
  3360: case "(($ac_try" in
  3361:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3362:   *) ac_try_echo=$ac_try;;
  3363: esac
  3364: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3365: $as_echo "$ac_try_echo"; } >&5
  3366:   (eval "$ac_link") 2>&5
  3367:   ac_status=$?
  3368:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3369:   test $ac_status = 0; }; then :
  3370:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3371: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3372: # work properly (i.e., refer to `conftest.exe'), while it won't with
  3373: # `rm'.
  3374: for ac_file in conftest.exe conftest conftest.*; do
  3375:   test -f "$ac_file" || continue
  3376:   case $ac_file in
  3377:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3378:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3379: 	  break;;
  3380:     * ) break;;
  3381:   esac
  3382: done
  3383: else
  3384:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3385: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3386: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3387: See \`config.log' for more details" "$LINENO" 5; }
  3388: fi
  3389: rm -f conftest conftest$ac_cv_exeext
  3390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3391: $as_echo "$ac_cv_exeext" >&6; }
  3392: 
  3393: rm -f conftest.$ac_ext
  3394: EXEEXT=$ac_cv_exeext
  3395: ac_exeext=$EXEEXT
  3396: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3397: /* end confdefs.h.  */
  3398: #include <stdio.h>
  3399: int
  3400: main ()
  3401: {
  3402: FILE *f = fopen ("conftest.out", "w");
  3403:  return ferror (f) || fclose (f) != 0;
  3404: 
  3405:   ;
  3406:   return 0;
  3407: }
  3408: _ACEOF
  3409: ac_clean_files="$ac_clean_files conftest.out"
  3410: # Check that the compiler produces executables we can run.  If not, either
  3411: # the compiler is broken, or we cross compile.
  3412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3413: $as_echo_n "checking whether we are cross compiling... " >&6; }
  3414: if test "$cross_compiling" != yes; then
  3415:   { { ac_try="$ac_link"
  3416: case "(($ac_try" in
  3417:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3418:   *) ac_try_echo=$ac_try;;
  3419: esac
  3420: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3421: $as_echo "$ac_try_echo"; } >&5
  3422:   (eval "$ac_link") 2>&5
  3423:   ac_status=$?
  3424:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3425:   test $ac_status = 0; }
  3426:   if { ac_try='./conftest$ac_cv_exeext'
  3427:   { { case "(($ac_try" in
  3428:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3429:   *) ac_try_echo=$ac_try;;
  3430: esac
  3431: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3432: $as_echo "$ac_try_echo"; } >&5
  3433:   (eval "$ac_try") 2>&5
  3434:   ac_status=$?
  3435:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3436:   test $ac_status = 0; }; }; then
  3437:     cross_compiling=no
  3438:   else
  3439:     if test "$cross_compiling" = maybe; then
  3440: 	cross_compiling=yes
  3441:     else
  3442: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3443: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3444: as_fn_error $? "cannot run C compiled programs.
  3445: If you meant to cross compile, use \`--host'.
  3446: See \`config.log' for more details" "$LINENO" 5; }
  3447:     fi
  3448:   fi
  3449: fi
  3450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3451: $as_echo "$cross_compiling" >&6; }
  3452: 
  3453: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3454: ac_clean_files=$ac_clean_files_save
  3455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3456: $as_echo_n "checking for suffix of object files... " >&6; }
  3457: if ${ac_cv_objext+:} false; then :
  3458:   $as_echo_n "(cached) " >&6
  3459: else
  3460:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3461: /* end confdefs.h.  */
  3462: 
  3463: int
  3464: main ()
  3465: {
  3466: 
  3467:   ;
  3468:   return 0;
  3469: }
  3470: _ACEOF
  3471: rm -f conftest.o conftest.obj
  3472: if { { ac_try="$ac_compile"
  3473: case "(($ac_try" in
  3474:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3475:   *) ac_try_echo=$ac_try;;
  3476: esac
  3477: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3478: $as_echo "$ac_try_echo"; } >&5
  3479:   (eval "$ac_compile") 2>&5
  3480:   ac_status=$?
  3481:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3482:   test $ac_status = 0; }; then :
  3483:   for ac_file in conftest.o conftest.obj conftest.*; do
  3484:   test -f "$ac_file" || continue;
  3485:   case $ac_file in
  3486:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3487:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3488:        break;;
  3489:   esac
  3490: done
  3491: else
  3492:   $as_echo "$as_me: failed program was:" >&5
  3493: sed 's/^/| /' conftest.$ac_ext >&5
  3494: 
  3495: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3496: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3497: as_fn_error $? "cannot compute suffix of object files: cannot compile
  3498: See \`config.log' for more details" "$LINENO" 5; }
  3499: fi
  3500: rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3501: fi
  3502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3503: $as_echo "$ac_cv_objext" >&6; }
  3504: OBJEXT=$ac_cv_objext
  3505: ac_objext=$OBJEXT
  3506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3507: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3508: if ${ac_cv_c_compiler_gnu+:} false; then :
  3509:   $as_echo_n "(cached) " >&6
  3510: else
  3511:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3512: /* end confdefs.h.  */
  3513: 
  3514: int
  3515: main ()
  3516: {
  3517: #ifndef __GNUC__
  3518:        choke me
  3519: #endif
  3520: 
  3521:   ;
  3522:   return 0;
  3523: }
  3524: _ACEOF
  3525: if ac_fn_c_try_compile "$LINENO"; then :
  3526:   ac_compiler_gnu=yes
  3527: else
  3528:   ac_compiler_gnu=no
  3529: fi
  3530: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3531: ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3532: 
  3533: fi
  3534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3535: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3536: if test $ac_compiler_gnu = yes; then
  3537:   GCC=yes
  3538: else
  3539:   GCC=
  3540: fi
  3541: ac_test_CFLAGS=${CFLAGS+set}
  3542: ac_save_CFLAGS=$CFLAGS
  3543: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3544: $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3545: if ${ac_cv_prog_cc_g+:} false; then :
  3546:   $as_echo_n "(cached) " >&6
  3547: else
  3548:   ac_save_c_werror_flag=$ac_c_werror_flag
  3549:    ac_c_werror_flag=yes
  3550:    ac_cv_prog_cc_g=no
  3551:    CFLAGS="-g"
  3552:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3553: /* end confdefs.h.  */
  3554: 
  3555: int
  3556: main ()
  3557: {
  3558: 
  3559:   ;
  3560:   return 0;
  3561: }
  3562: _ACEOF
  3563: if ac_fn_c_try_compile "$LINENO"; then :
  3564:   ac_cv_prog_cc_g=yes
  3565: else
  3566:   CFLAGS=""
  3567:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3568: /* end confdefs.h.  */
  3569: 
  3570: int
  3571: main ()
  3572: {
  3573: 
  3574:   ;
  3575:   return 0;
  3576: }
  3577: _ACEOF
  3578: if ac_fn_c_try_compile "$LINENO"; then :
  3579: 
  3580: else
  3581:   ac_c_werror_flag=$ac_save_c_werror_flag
  3582: 	 CFLAGS="-g"
  3583: 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3584: /* end confdefs.h.  */
  3585: 
  3586: int
  3587: main ()
  3588: {
  3589: 
  3590:   ;
  3591:   return 0;
  3592: }
  3593: _ACEOF
  3594: if ac_fn_c_try_compile "$LINENO"; then :
  3595:   ac_cv_prog_cc_g=yes
  3596: fi
  3597: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3598: fi
  3599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3600: fi
  3601: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3602:    ac_c_werror_flag=$ac_save_c_werror_flag
  3603: fi
  3604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3605: $as_echo "$ac_cv_prog_cc_g" >&6; }
  3606: if test "$ac_test_CFLAGS" = set; then
  3607:   CFLAGS=$ac_save_CFLAGS
  3608: elif test $ac_cv_prog_cc_g = yes; then
  3609:   if test "$GCC" = yes; then
  3610:     CFLAGS="-g -O2"
  3611:   else
  3612:     CFLAGS="-g"
  3613:   fi
  3614: else
  3615:   if test "$GCC" = yes; then
  3616:     CFLAGS="-O2"
  3617:   else
  3618:     CFLAGS=
  3619:   fi
  3620: fi
  3621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3622: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3623: if ${ac_cv_prog_cc_c89+:} false; then :
  3624:   $as_echo_n "(cached) " >&6
  3625: else
  3626:   ac_cv_prog_cc_c89=no
  3627: ac_save_CC=$CC
  3628: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3629: /* end confdefs.h.  */
  3630: #include <stdarg.h>
  3631: #include <stdio.h>
  3632: struct stat;
  3633: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3634: struct buf { int x; };
  3635: FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3636: static char *e (p, i)
  3637:      char **p;
  3638:      int i;
  3639: {
  3640:   return p[i];
  3641: }
  3642: static char *f (char * (*g) (char **, int), char **p, ...)
  3643: {
  3644:   char *s;
  3645:   va_list v;
  3646:   va_start (v,p);
  3647:   s = g (p, va_arg (v,int));
  3648:   va_end (v);
  3649:   return s;
  3650: }
  3651: 
  3652: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3653:    function prototypes and stuff, but not '\xHH' hex character constants.
  3654:    These don't provoke an error unfortunately, instead are silently treated
  3655:    as 'x'.  The following induces an error, until -std is added to get
  3656:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3657:    array size at least.  It's necessary to write '\x00'==0 to get something
  3658:    that's true only with -std.  */
  3659: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3660: 
  3661: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3662:    inside strings and character constants.  */
  3663: #define FOO(x) 'x'
  3664: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3665: 
  3666: int test (int i, double x);
  3667: struct s1 {int (*f) (int a);};
  3668: struct s2 {int (*f) (double a);};
  3669: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3670: int argc;
  3671: char **argv;
  3672: int
  3673: main ()
  3674: {
  3675: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3676:   ;
  3677:   return 0;
  3678: }
  3679: _ACEOF
  3680: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3681: 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3682: do
  3683:   CC="$ac_save_CC $ac_arg"
  3684:   if ac_fn_c_try_compile "$LINENO"; then :
  3685:   ac_cv_prog_cc_c89=$ac_arg
  3686: fi
  3687: rm -f core conftest.err conftest.$ac_objext
  3688:   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3689: done
  3690: rm -f conftest.$ac_ext
  3691: CC=$ac_save_CC
  3692: 
  3693: fi
  3694: # AC_CACHE_VAL
  3695: case "x$ac_cv_prog_cc_c89" in
  3696:   x)
  3697:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3698: $as_echo "none needed" >&6; } ;;
  3699:   xno)
  3700:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3701: $as_echo "unsupported" >&6; } ;;
  3702:   *)
  3703:     CC="$CC $ac_cv_prog_cc_c89"
  3704:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3705: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3706: esac
  3707: if test "x$ac_cv_prog_cc_c89" != xno; then :
  3708: 
  3709: fi
  3710: 
  3711: ac_ext=c
  3712: ac_cpp='$CPP $CPPFLAGS'
  3713: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3714: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3715: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3716: 
  3717: ac_ext=c
  3718: ac_cpp='$CPP $CPPFLAGS'
  3719: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3720: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3721: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3723: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3724: if ${am_cv_prog_cc_c_o+:} false; then :
  3725:   $as_echo_n "(cached) " >&6
  3726: else
  3727:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3728: /* end confdefs.h.  */
  3729: 
  3730: int
  3731: main ()
  3732: {
  3733: 
  3734:   ;
  3735:   return 0;
  3736: }
  3737: _ACEOF
  3738:   # Make sure it works both with $CC and with simple cc.
  3739:   # Following AC_PROG_CC_C_O, we do the test twice because some
  3740:   # compilers refuse to overwrite an existing .o file with -o,
  3741:   # though they will create one.
  3742:   am_cv_prog_cc_c_o=yes
  3743:   for am_i in 1 2; do
  3744:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3745:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3746:    ac_status=$?
  3747:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3748:    (exit $ac_status); } \
  3749:          && test -f conftest2.$ac_objext; then
  3750:       : OK
  3751:     else
  3752:       am_cv_prog_cc_c_o=no
  3753:       break
  3754:     fi
  3755:   done
  3756:   rm -f core conftest*
  3757:   unset am_i
  3758: fi
  3759: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3760: $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3761: if test "$am_cv_prog_cc_c_o" != yes; then
  3762:    # Losing compiler, so override with the script.
  3763:    # FIXME: It is wrong to rewrite CC.
  3764:    # But if we don't then we get into trouble of one sort or another.
  3765:    # A longer-term fix would be to have automake use am__CC in this case,
  3766:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3767:    CC="$am_aux_dir/compile $CC"
  3768: fi
  3769: ac_ext=c
  3770: ac_cpp='$CPP $CPPFLAGS'
  3771: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3772: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3773: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3774: 
  3775: DEPDIR="${am__leading_dot}deps"
  3776: 
  3777: ac_config_commands="$ac_config_commands depfiles"
  3778: 
  3779: 
  3780: am_make=${MAKE-make}
  3781: cat > confinc << 'END'
  3782: am__doit:
  3783: 	@echo this is the am__doit target
  3784: .PHONY: am__doit
  3785: END
  3786: # If we don't find an include directive, just comment out the code.
  3787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3788: $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3789: am__include="#"
  3790: am__quote=
  3791: _am_result=none
  3792: # First try GNU make style include.
  3793: echo "include confinc" > confmf
  3794: # Ignore all kinds of additional output from 'make'.
  3795: case `$am_make -s -f confmf 2> /dev/null` in #(
  3796: *the\ am__doit\ target*)
  3797:   am__include=include
  3798:   am__quote=
  3799:   _am_result=GNU
  3800:   ;;
  3801: esac
  3802: # Now try BSD make style include.
  3803: if test "$am__include" = "#"; then
  3804:    echo '.include "confinc"' > confmf
  3805:    case `$am_make -s -f confmf 2> /dev/null` in #(
  3806:    *the\ am__doit\ target*)
  3807:      am__include=.include
  3808:      am__quote="\""
  3809:      _am_result=BSD
  3810:      ;;
  3811:    esac
  3812: fi
  3813: 
  3814: 
  3815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3816: $as_echo "$_am_result" >&6; }
  3817: rm -f confinc confmf
  3818: 
  3819: # Check whether --enable-dependency-tracking was given.
  3820: if test "${enable_dependency_tracking+set}" = set; then :
  3821:   enableval=$enable_dependency_tracking;
  3822: fi
  3823: 
  3824: if test "x$enable_dependency_tracking" != xno; then
  3825:   am_depcomp="$ac_aux_dir/depcomp"
  3826:   AMDEPBACKSLASH='\'
  3827:   am__nodep='_no'
  3828: fi
  3829:  if test "x$enable_dependency_tracking" != xno; then
  3830:   AMDEP_TRUE=
  3831:   AMDEP_FALSE='#'
  3832: else
  3833:   AMDEP_TRUE='#'
  3834:   AMDEP_FALSE=
  3835: fi
  3836: 
  3837: 
  3838: 
  3839: depcc="$CC"   am_compiler_list=
  3840: 
  3841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3842: $as_echo_n "checking dependency style of $depcc... " >&6; }
  3843: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3844:   $as_echo_n "(cached) " >&6
  3845: else
  3846:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3847:   # We make a subdir and do the tests there.  Otherwise we can end up
  3848:   # making bogus files that we don't know about and never remove.  For
  3849:   # instance it was reported that on HP-UX the gcc test will end up
  3850:   # making a dummy file named 'D' -- because '-MD' means "put the output
  3851:   # in D".
  3852:   rm -rf conftest.dir
  3853:   mkdir conftest.dir
  3854:   # Copy depcomp to subdir because otherwise we won't find it if we're
  3855:   # using a relative directory.
  3856:   cp "$am_depcomp" conftest.dir
  3857:   cd conftest.dir
  3858:   # We will build objects and dependencies in a subdirectory because
  3859:   # it helps to detect inapplicable dependency modes.  For instance
  3860:   # both Tru64's cc and ICC support -MD to output dependencies as a
  3861:   # side effect of compilation, but ICC will put the dependencies in
  3862:   # the current directory while Tru64 will put them in the object
  3863:   # directory.
  3864:   mkdir sub
  3865: 
  3866:   am_cv_CC_dependencies_compiler_type=none
  3867:   if test "$am_compiler_list" = ""; then
  3868:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3869:   fi
  3870:   am__universal=false
  3871:   case " $depcc " in #(
  3872:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3873:      esac
  3874: 
  3875:   for depmode in $am_compiler_list; do
  3876:     # Setup a source with many dependencies, because some compilers
  3877:     # like to wrap large dependency lists on column 80 (with \), and
  3878:     # we should not choose a depcomp mode which is confused by this.
  3879:     #
  3880:     # We need to recreate these files for each test, as the compiler may
  3881:     # overwrite some of them when testing with obscure command lines.
  3882:     # This happens at least with the AIX C compiler.
  3883:     : > sub/conftest.c
  3884:     for i in 1 2 3 4 5 6; do
  3885:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3886:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3887:       # Solaris 10 /bin/sh.
  3888:       echo '/* dummy */' > sub/conftst$i.h
  3889:     done
  3890:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3891: 
  3892:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3893:     # mode.  It turns out that the SunPro C++ compiler does not properly
  3894:     # handle '-M -o', and we need to detect this.  Also, some Intel
  3895:     # versions had trouble with output in subdirs.
  3896:     am__obj=sub/conftest.${OBJEXT-o}
  3897:     am__minus_obj="-o $am__obj"
  3898:     case $depmode in
  3899:     gcc)
  3900:       # This depmode causes a compiler race in universal mode.
  3901:       test "$am__universal" = false || continue
  3902:       ;;
  3903:     nosideeffect)
  3904:       # After this tag, mechanisms are not by side-effect, so they'll
  3905:       # only be used when explicitly requested.
  3906:       if test "x$enable_dependency_tracking" = xyes; then
  3907: 	continue
  3908:       else
  3909: 	break
  3910:       fi
  3911:       ;;
  3912:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3913:       # This compiler won't grok '-c -o', but also, the minuso test has
  3914:       # not run yet.  These depmodes are late enough in the game, and
  3915:       # so weak that their functioning should not be impacted.
  3916:       am__obj=conftest.${OBJEXT-o}
  3917:       am__minus_obj=
  3918:       ;;
  3919:     none) break ;;
  3920:     esac
  3921:     if depmode=$depmode \
  3922:        source=sub/conftest.c object=$am__obj \
  3923:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3924:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3925:          >/dev/null 2>conftest.err &&
  3926:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3927:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3928:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3929:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3930:       # icc doesn't choke on unknown options, it will just issue warnings
  3931:       # or remarks (even with -Werror).  So we grep stderr for any message
  3932:       # that says an option was ignored or not supported.
  3933:       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3934:       #   icc: Command line warning: ignoring option '-M'; no argument required
  3935:       # The diagnosis changed in icc 8.0:
  3936:       #   icc: Command line remark: option '-MP' not supported
  3937:       if (grep 'ignoring option' conftest.err ||
  3938:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3939:         am_cv_CC_dependencies_compiler_type=$depmode
  3940:         break
  3941:       fi
  3942:     fi
  3943:   done
  3944: 
  3945:   cd ..
  3946:   rm -rf conftest.dir
  3947: else
  3948:   am_cv_CC_dependencies_compiler_type=none
  3949: fi
  3950: 
  3951: fi
  3952: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3953: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3954: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3955: 
  3956:  if
  3957:   test "x$enable_dependency_tracking" != xno \
  3958:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3959:   am__fastdepCC_TRUE=
  3960:   am__fastdepCC_FALSE='#'
  3961: else
  3962:   am__fastdepCC_TRUE='#'
  3963:   am__fastdepCC_FALSE=
  3964: fi
  3965: 
  3966: 
  3967: 
  3968: # Extract the first word of "bison", so it can be a program name with args.
  3969: set dummy bison; ac_word=$2
  3970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3971: $as_echo_n "checking for $ac_word... " >&6; }
  3972: if ${ac_cv_path_BISON+:} false; then :
  3973:   $as_echo_n "(cached) " >&6
  3974: else
  3975:   case $BISON in
  3976:   [\\/]* | ?:[\\/]*)
  3977:   ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
  3978:   ;;
  3979:   *)
  3980:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3981: for as_dir in $PATH
  3982: do
  3983:   IFS=$as_save_IFS
  3984:   test -z "$as_dir" && as_dir=.
  3985:     for ac_exec_ext in '' $ac_executable_extensions; do
  3986:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3987:     ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
  3988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3989:     break 2
  3990:   fi
  3991: done
  3992:   done
  3993: IFS=$as_save_IFS
  3994: 
  3995:   ;;
  3996: esac
  3997: fi
  3998: BISON=$ac_cv_path_BISON
  3999: if test -n "$BISON"; then
  4000:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  4001: $as_echo "$BISON" >&6; }
  4002: else
  4003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4004: $as_echo "no" >&6; }
  4005: fi
  4006: 
  4007: 
  4008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4009: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4010: if ${ac_cv_path_SED+:} false; then :
  4011:   $as_echo_n "(cached) " >&6
  4012: else
  4013:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4014:      for ac_i in 1 2 3 4 5 6 7; do
  4015:        ac_script="$ac_script$as_nl$ac_script"
  4016:      done
  4017:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4018:      { ac_script=; unset ac_script;}
  4019:      if test -z "$SED"; then
  4020:   ac_path_SED_found=false
  4021:   # Loop through the user's path and test for each of PROGNAME-LIST
  4022:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4023: for as_dir in $PATH
  4024: do
  4025:   IFS=$as_save_IFS
  4026:   test -z "$as_dir" && as_dir=.
  4027:     for ac_prog in sed gsed; do
  4028:     for ac_exec_ext in '' $ac_executable_extensions; do
  4029:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4030:       as_fn_executable_p "$ac_path_SED" || continue
  4031: # Check for GNU ac_path_SED and select it if it is found.
  4032:   # Check for GNU $ac_path_SED
  4033: case `"$ac_path_SED" --version 2>&1` in
  4034: *GNU*)
  4035:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4036: *)
  4037:   ac_count=0
  4038:   $as_echo_n 0123456789 >"conftest.in"
  4039:   while :
  4040:   do
  4041:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4042:     mv "conftest.tmp" "conftest.in"
  4043:     cp "conftest.in" "conftest.nl"
  4044:     $as_echo '' >> "conftest.nl"
  4045:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4046:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4047:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4048:     if test $ac_count -gt ${ac_path_SED_max-0}; then
  4049:       # Best one so far, save it but keep looking for a better one
  4050:       ac_cv_path_SED="$ac_path_SED"
  4051:       ac_path_SED_max=$ac_count
  4052:     fi
  4053:     # 10*(2^10) chars as input seems more than enough
  4054:     test $ac_count -gt 10 && break
  4055:   done
  4056:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4057: esac
  4058: 
  4059:       $ac_path_SED_found && break 3
  4060:     done
  4061:   done
  4062:   done
  4063: IFS=$as_save_IFS
  4064:   if test -z "$ac_cv_path_SED"; then
  4065:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4066:   fi
  4067: else
  4068:   ac_cv_path_SED=$SED
  4069: fi
  4070: 
  4071: fi
  4072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4073: $as_echo "$ac_cv_path_SED" >&6; }
  4074:  SED="$ac_cv_path_SED"
  4075:   rm -f conftest.sed
  4076: 
  4077: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4078: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4079: if ${ac_cv_path_GREP+:} false; then :
  4080:   $as_echo_n "(cached) " >&6
  4081: else
  4082:   if test -z "$GREP"; then
  4083:   ac_path_GREP_found=false
  4084:   # Loop through the user's path and test for each of PROGNAME-LIST
  4085:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4086: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4087: do
  4088:   IFS=$as_save_IFS
  4089:   test -z "$as_dir" && as_dir=.
  4090:     for ac_prog in grep ggrep; do
  4091:     for ac_exec_ext in '' $ac_executable_extensions; do
  4092:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4093:       as_fn_executable_p "$ac_path_GREP" || continue
  4094: # Check for GNU ac_path_GREP and select it if it is found.
  4095:   # Check for GNU $ac_path_GREP
  4096: case `"$ac_path_GREP" --version 2>&1` in
  4097: *GNU*)
  4098:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4099: *)
  4100:   ac_count=0
  4101:   $as_echo_n 0123456789 >"conftest.in"
  4102:   while :
  4103:   do
  4104:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4105:     mv "conftest.tmp" "conftest.in"
  4106:     cp "conftest.in" "conftest.nl"
  4107:     $as_echo 'GREP' >> "conftest.nl"
  4108:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4109:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4110:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4111:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4112:       # Best one so far, save it but keep looking for a better one
  4113:       ac_cv_path_GREP="$ac_path_GREP"
  4114:       ac_path_GREP_max=$ac_count
  4115:     fi
  4116:     # 10*(2^10) chars as input seems more than enough
  4117:     test $ac_count -gt 10 && break
  4118:   done
  4119:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4120: esac
  4121: 
  4122:       $ac_path_GREP_found && break 3
  4123:     done
  4124:   done
  4125:   done
  4126: IFS=$as_save_IFS
  4127:   if test -z "$ac_cv_path_GREP"; then
  4128:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4129:   fi
  4130: else
  4131:   ac_cv_path_GREP=$GREP
  4132: fi
  4133: 
  4134: fi
  4135: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4136: $as_echo "$ac_cv_path_GREP" >&6; }
  4137:  GREP="$ac_cv_path_GREP"
  4138: 
  4139: 
  4140: 
  4141: 
  4142: 
  4143: 
  4144:     if test -n "$BISON"; then :
  4145: 
  4146:         ax_bison_version="3.0"
  4147: 
  4148:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison version" >&5
  4149: $as_echo_n "checking for bison version... " >&6; }
  4150: 
  4151:         bison_version=`$BISON --version 2>&1 \
  4152:           | $SED -n -e '/bison (GNU Bison)/b inspect
  4153: b
  4154: : inspect
  4155: s/.* (\{0,1\}\([0-9]*\.[0-9]*\.[0-9]*\))\{0,1\}.*/\1/;p'`
  4156: 
  4157:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bison_version" >&5
  4158: $as_echo "$bison_version" >&6; }
  4159: 
  4160: 	BISON_VERSION=$bison_version
  4161: 
  4162: 
  4163: 
  4164: 
  4165: 
  4166:   # Used to indicate true or false condition
  4167:   ax_compare_version=false
  4168: 
  4169:   # Convert the two version strings to be compared into a format that
  4170:   # allows a simple string comparison.  The end result is that a version
  4171:   # string of the form 1.12.5-r617 will be converted to the form
  4172:   # 0001001200050617.  In other words, each number is zero padded to four
  4173:   # digits, and non digits are removed.
  4174: 
  4175:   ax_compare_version_A=`echo "$bison_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
  4176:                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
  4177:                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
  4178:                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
  4179:                      -e 's/[^0-9]//g'`
  4180: 
  4181: 
  4182:   ax_compare_version_B=`echo "$ax_bison_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
  4183:                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
  4184:                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
  4185:                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
  4186:                      -e 's/[^0-9]//g'`
  4187: 
  4188: 
  4189:     ax_compare_version=`echo "x$ax_compare_version_A
  4190: x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
  4191: 
  4192: 
  4193: 
  4194:     if test "$ax_compare_version" = "true" ; then
  4195: 
  4196: 	    :
  4197: 
  4198: 
  4199:     else
  4200: 	    :
  4201:             as_fn_error $? "Requires bison 3.0 or later" "$LINENO" 5
  4202: 
  4203:   fi
  4204: 
  4205: 
  4206: else
  4207: 
  4208:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find bison" >&5
  4209: $as_echo "$as_me: WARNING: could not find bison" >&2;}
  4210:         as_fn_error $? "Requires bison 3.0 or later" "$LINENO" 5
  4211: 
  4212: fi
  4213: 
  4214: 
  4215: for ac_prog in flex lex
  4216: do
  4217:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4218: set dummy $ac_prog; ac_word=$2
  4219: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4220: $as_echo_n "checking for $ac_word... " >&6; }
  4221: if ${ac_cv_prog_LEX+:} false; then :
  4222:   $as_echo_n "(cached) " >&6
  4223: else
  4224:   if test -n "$LEX"; then
  4225:   ac_cv_prog_LEX="$LEX" # Let the user override the test.
  4226: else
  4227: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4228: for as_dir in $PATH
  4229: do
  4230:   IFS=$as_save_IFS
  4231:   test -z "$as_dir" && as_dir=.
  4232:     for ac_exec_ext in '' $ac_executable_extensions; do
  4233:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4234:     ac_cv_prog_LEX="$ac_prog"
  4235:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4236:     break 2
  4237:   fi
  4238: done
  4239:   done
  4240: IFS=$as_save_IFS
  4241: 
  4242: fi
  4243: fi
  4244: LEX=$ac_cv_prog_LEX
  4245: if test -n "$LEX"; then
  4246:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  4247: $as_echo "$LEX" >&6; }
  4248: else
  4249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4250: $as_echo "no" >&6; }
  4251: fi
  4252: 
  4253: 
  4254:   test -n "$LEX" && break
  4255: done
  4256: test -n "$LEX" || LEX=":"
  4257: 
  4258: if test "x$LEX" != "x:"; then
  4259:   cat >conftest.l <<_ACEOF
  4260: %%
  4261: a { ECHO; }
  4262: b { REJECT; }
  4263: c { yymore (); }
  4264: d { yyless (1); }
  4265: e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
  4266:     yyless ((input () != 0)); }
  4267: f { unput (yytext[0]); }
  4268: . { BEGIN INITIAL; }
  4269: %%
  4270: #ifdef YYTEXT_POINTER
  4271: extern char *yytext;
  4272: #endif
  4273: int
  4274: main (void)
  4275: {
  4276:   return ! yylex () + ! yywrap ();
  4277: }
  4278: _ACEOF
  4279: { { ac_try="$LEX conftest.l"
  4280: case "(($ac_try" in
  4281:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4282:   *) ac_try_echo=$ac_try;;
  4283: esac
  4284: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4285: $as_echo "$ac_try_echo"; } >&5
  4286:   (eval "$LEX conftest.l") 2>&5
  4287:   ac_status=$?
  4288:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4289:   test $ac_status = 0; }
  4290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  4291: $as_echo_n "checking lex output file root... " >&6; }
  4292: if ${ac_cv_prog_lex_root+:} false; then :
  4293:   $as_echo_n "(cached) " >&6
  4294: else
  4295: 
  4296: if test -f lex.yy.c; then
  4297:   ac_cv_prog_lex_root=lex.yy
  4298: elif test -f lexyy.c; then
  4299:   ac_cv_prog_lex_root=lexyy
  4300: else
  4301:   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
  4302: fi
  4303: fi
  4304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  4305: $as_echo "$ac_cv_prog_lex_root" >&6; }
  4306: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  4307: 
  4308: if test -z "${LEXLIB+set}"; then
  4309:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  4310: $as_echo_n "checking lex library... " >&6; }
  4311: if ${ac_cv_lib_lex+:} false; then :
  4312:   $as_echo_n "(cached) " >&6
  4313: else
  4314: 
  4315:     ac_save_LIBS=$LIBS
  4316:     ac_cv_lib_lex='none needed'
  4317:     for ac_lib in '' -lfl -ll; do
  4318:       LIBS="$ac_lib $ac_save_LIBS"
  4319:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4320: /* end confdefs.h.  */
  4321: `cat $LEX_OUTPUT_ROOT.c`
  4322: _ACEOF
  4323: if ac_fn_c_try_link "$LINENO"; then :
  4324:   ac_cv_lib_lex=$ac_lib
  4325: fi
  4326: rm -f core conftest.err conftest.$ac_objext \
  4327:     conftest$ac_exeext conftest.$ac_ext
  4328:       test "$ac_cv_lib_lex" != 'none needed' && break
  4329:     done
  4330:     LIBS=$ac_save_LIBS
  4331: 
  4332: fi
  4333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  4334: $as_echo "$ac_cv_lib_lex" >&6; }
  4335:   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  4336: fi
  4337: 
  4338: 
  4339: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  4340: $as_echo_n "checking whether yytext is a pointer... " >&6; }
  4341: if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
  4342:   $as_echo_n "(cached) " >&6
  4343: else
  4344:   # POSIX says lex can declare yytext either as a pointer or an array; the
  4345: # default is implementation-dependent.  Figure out which it is, since
  4346: # not all implementations provide the %pointer and %array declarations.
  4347: ac_cv_prog_lex_yytext_pointer=no
  4348: ac_save_LIBS=$LIBS
  4349: LIBS="$LEXLIB $ac_save_LIBS"
  4350: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4351: /* end confdefs.h.  */
  4352: 
  4353:   #define YYTEXT_POINTER 1
  4354: `cat $LEX_OUTPUT_ROOT.c`
  4355: _ACEOF
  4356: if ac_fn_c_try_link "$LINENO"; then :
  4357:   ac_cv_prog_lex_yytext_pointer=yes
  4358: fi
  4359: rm -f core conftest.err conftest.$ac_objext \
  4360:     conftest$ac_exeext conftest.$ac_ext
  4361: LIBS=$ac_save_LIBS
  4362: 
  4363: fi
  4364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  4365: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  4366: if test $ac_cv_prog_lex_yytext_pointer = yes; then
  4367: 
  4368: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
  4369: 
  4370: fi
  4371: rm -f conftest.l $LEX_OUTPUT_ROOT.c
  4372: 
  4373: fi
  4374: if test "$LEX" = :; then
  4375:   LEX=${am_missing_run}flex
  4376: fi
  4377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4378: $as_echo_n "checking for egrep... " >&6; }
  4379: if ${ac_cv_path_EGREP+:} false; then :
  4380:   $as_echo_n "(cached) " >&6
  4381: else
  4382:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4383:    then ac_cv_path_EGREP="$GREP -E"
  4384:    else
  4385:      if test -z "$EGREP"; then
  4386:   ac_path_EGREP_found=false
  4387:   # Loop through the user's path and test for each of PROGNAME-LIST
  4388:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4389: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4390: do
  4391:   IFS=$as_save_IFS
  4392:   test -z "$as_dir" && as_dir=.
  4393:     for ac_prog in egrep; do
  4394:     for ac_exec_ext in '' $ac_executable_extensions; do
  4395:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4396:       as_fn_executable_p "$ac_path_EGREP" || continue
  4397: # Check for GNU ac_path_EGREP and select it if it is found.
  4398:   # Check for GNU $ac_path_EGREP
  4399: case `"$ac_path_EGREP" --version 2>&1` in
  4400: *GNU*)
  4401:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4402: *)
  4403:   ac_count=0
  4404:   $as_echo_n 0123456789 >"conftest.in"
  4405:   while :
  4406:   do
  4407:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4408:     mv "conftest.tmp" "conftest.in"
  4409:     cp "conftest.in" "conftest.nl"
  4410:     $as_echo 'EGREP' >> "conftest.nl"
  4411:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4412:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4413:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  4414:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4415:       # Best one so far, save it but keep looking for a better one
  4416:       ac_cv_path_EGREP="$ac_path_EGREP"
  4417:       ac_path_EGREP_max=$ac_count
  4418:     fi
  4419:     # 10*(2^10) chars as input seems more than enough
  4420:     test $ac_count -gt 10 && break
  4421:   done
  4422:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4423: esac
  4424: 
  4425:       $ac_path_EGREP_found && break 3
  4426:     done
  4427:   done
  4428:   done
  4429: IFS=$as_save_IFS
  4430:   if test -z "$ac_cv_path_EGREP"; then
  4431:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4432:   fi
  4433: else
  4434:   ac_cv_path_EGREP=$EGREP
  4435: fi
  4436: 
  4437:    fi
  4438: fi
  4439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4440: $as_echo "$ac_cv_path_EGREP" >&6; }
  4441:  EGREP="$ac_cv_path_EGREP"
  4442: 
  4443: 
  4444: 
  4445: 
  4446: 
  4447: 
  4448:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
  4449: $as_echo_n "checking if flex is the lexer generator... " >&6; }
  4450: if ${ax_cv_prog_flex+:} false; then :
  4451:   $as_echo_n "(cached) " >&6
  4452: else
  4453: 
  4454:     if $LEX --version 2>/dev/null | $EGREP -qw '^g?flex'; then :
  4455:   ax_cv_prog_flex=yes
  4456: else
  4457:   ax_cv_prog_flex=no
  4458: fi
  4459: 
  4460: fi
  4461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
  4462: $as_echo "$ax_cv_prog_flex" >&6; }
  4463:   if test "$ax_cv_prog_flex" = "yes"; then :
  4464: 
  4465: else
  4466:   as_fn_error $? "Requires flex" "$LINENO" 5
  4467: 
  4468: fi
  4469: 
  4470: for ac_prog in 'bison -y' byacc
  4471: do
  4472:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4473: set dummy $ac_prog; ac_word=$2
  4474: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4475: $as_echo_n "checking for $ac_word... " >&6; }
  4476: if ${ac_cv_prog_YACC+:} false; then :
  4477:   $as_echo_n "(cached) " >&6
  4478: else
  4479:   if test -n "$YACC"; then
  4480:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
  4481: else
  4482: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4483: for as_dir in $PATH
  4484: do
  4485:   IFS=$as_save_IFS
  4486:   test -z "$as_dir" && as_dir=.
  4487:     for ac_exec_ext in '' $ac_executable_extensions; do
  4488:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4489:     ac_cv_prog_YACC="$ac_prog"
  4490:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4491:     break 2
  4492:   fi
  4493: done
  4494:   done
  4495: IFS=$as_save_IFS
  4496: 
  4497: fi
  4498: fi
  4499: YACC=$ac_cv_prog_YACC
  4500: if test -n "$YACC"; then
  4501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
  4502: $as_echo "$YACC" >&6; }
  4503: else
  4504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4505: $as_echo "no" >&6; }
  4506: fi
  4507: 
  4508: 
  4509:   test -n "$YACC" && break
  4510: done
  4511: test -n "$YACC" || YACC="yacc"
  4512: 
  4513: if test "$LEX" = :; then
  4514:   LEX=${am_missing_run}flex
  4515: fi
  4516: 
  4517: # Checks for libraries.
  4518: 
  4519: 
  4520: 
  4521: 
  4522: 
  4523: 
  4524: 
  4525: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  4526: 	if test -n "$ac_tool_prefix"; then
  4527:   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  4528: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  4529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4530: $as_echo_n "checking for $ac_word... " >&6; }
  4531: if ${ac_cv_path_PKG_CONFIG+:} false; then :
  4532:   $as_echo_n "(cached) " >&6
  4533: else
  4534:   case $PKG_CONFIG in
  4535:   [\\/]* | ?:[\\/]*)
  4536:   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4537:   ;;
  4538:   *)
  4539:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4540: for as_dir in $PATH
  4541: do
  4542:   IFS=$as_save_IFS
  4543:   test -z "$as_dir" && as_dir=.
  4544:     for ac_exec_ext in '' $ac_executable_extensions; do
  4545:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4546:     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4547:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4548:     break 2
  4549:   fi
  4550: done
  4551:   done
  4552: IFS=$as_save_IFS
  4553: 
  4554:   ;;
  4555: esac
  4556: fi
  4557: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  4558: if test -n "$PKG_CONFIG"; then
  4559:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  4560: $as_echo "$PKG_CONFIG" >&6; }
  4561: else
  4562:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4563: $as_echo "no" >&6; }
  4564: fi
  4565: 
  4566: 
  4567: fi
  4568: if test -z "$ac_cv_path_PKG_CONFIG"; then
  4569:   ac_pt_PKG_CONFIG=$PKG_CONFIG
  4570:   # Extract the first word of "pkg-config", so it can be a program name with args.
  4571: set dummy pkg-config; ac_word=$2
  4572: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4573: $as_echo_n "checking for $ac_word... " >&6; }
  4574: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  4575:   $as_echo_n "(cached) " >&6
  4576: else
  4577:   case $ac_pt_PKG_CONFIG in
  4578:   [\\/]* | ?:[\\/]*)
  4579:   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  4580:   ;;
  4581:   *)
  4582:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4583: for as_dir in $PATH
  4584: do
  4585:   IFS=$as_save_IFS
  4586:   test -z "$as_dir" && as_dir=.
  4587:     for ac_exec_ext in '' $ac_executable_extensions; do
  4588:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4589:     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4590:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4591:     break 2
  4592:   fi
  4593: done
  4594:   done
  4595: IFS=$as_save_IFS
  4596: 
  4597:   ;;
  4598: esac
  4599: fi
  4600: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  4601: if test -n "$ac_pt_PKG_CONFIG"; then
  4602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  4603: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  4604: else
  4605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4606: $as_echo "no" >&6; }
  4607: fi
  4608: 
  4609:   if test "x$ac_pt_PKG_CONFIG" = x; then
  4610:     PKG_CONFIG=""
  4611:   else
  4612:     case $cross_compiling:$ac_tool_warned in
  4613: yes:)
  4614: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4615: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4616: ac_tool_warned=yes ;;
  4617: esac
  4618:     PKG_CONFIG=$ac_pt_PKG_CONFIG
  4619:   fi
  4620: else
  4621:   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  4622: fi
  4623: 
  4624: fi
  4625: if test -n "$PKG_CONFIG"; then
  4626: 	_pkg_min_version=0.9.0
  4627: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  4628: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  4629: 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  4630: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4631: $as_echo "yes" >&6; }
  4632: 	else
  4633: 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4634: $as_echo "no" >&6; }
  4635: 		PKG_CONFIG=""
  4636: 	fi
  4637: fi
  4638: 
  4639: pkg_failed=no
  4640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BDW_GC" >&5
  4641: $as_echo_n "checking for BDW_GC... " >&6; }
  4642: 
  4643: if test -n "$BDW_GC_CFLAGS"; then
  4644:     pkg_cv_BDW_GC_CFLAGS="$BDW_GC_CFLAGS"
  4645:  elif test -n "$PKG_CONFIG"; then
  4646:     if test -n "$PKG_CONFIG" && \
  4647:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
  4648:   ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
  4649:   ac_status=$?
  4650:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4651:   test $ac_status = 0; }; then
  4652:   pkg_cv_BDW_GC_CFLAGS=`$PKG_CONFIG --cflags "bdw-gc" 2>/dev/null`
  4653: 		      test "x$?" != "x0" && pkg_failed=yes
  4654: else
  4655:   pkg_failed=yes
  4656: fi
  4657:  else
  4658:     pkg_failed=untried
  4659: fi
  4660: if test -n "$BDW_GC_LIBS"; then
  4661:     pkg_cv_BDW_GC_LIBS="$BDW_GC_LIBS"
  4662:  elif test -n "$PKG_CONFIG"; then
  4663:     if test -n "$PKG_CONFIG" && \
  4664:     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
  4665:   ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
  4666:   ac_status=$?
  4667:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4668:   test $ac_status = 0; }; then
  4669:   pkg_cv_BDW_GC_LIBS=`$PKG_CONFIG --libs "bdw-gc" 2>/dev/null`
  4670: 		      test "x$?" != "x0" && pkg_failed=yes
  4671: else
  4672:   pkg_failed=yes
  4673: fi
  4674:  else
  4675:     pkg_failed=untried
  4676: fi
  4677: 
  4678: 
  4679: 
  4680: if test $pkg_failed = yes; then
  4681:    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4682: $as_echo "no" >&6; }
  4683: 
  4684: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  4685:         _pkg_short_errors_supported=yes
  4686: else
  4687:         _pkg_short_errors_supported=no
  4688: fi
  4689:         if test $_pkg_short_errors_supported = yes; then
  4690: 	        BDW_GC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bdw-gc" 2>&1`
  4691:         else
  4692: 	        BDW_GC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bdw-gc" 2>&1`
  4693:         fi
  4694: 	# Put the nasty error message in config.log where it belongs
  4695: 	echo "$BDW_GC_PKG_ERRORS" >&5
  4696: 
  4697: 	as_fn_error $? "Package requirements (bdw-gc) were not met:
  4698: 
  4699: $BDW_GC_PKG_ERRORS
  4700: 
  4701: Consider adjusting the PKG_CONFIG_PATH environment variable if you
  4702: installed software in a non-standard prefix.
  4703: 
  4704: Alternatively, you may set the environment variables BDW_GC_CFLAGS
  4705: and BDW_GC_LIBS to avoid the need to call pkg-config.
  4706: See the pkg-config man page for more details." "$LINENO" 5
  4707: elif test $pkg_failed = untried; then
  4708:      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4709: $as_echo "no" >&6; }
  4710: 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4711: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4712: as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
  4713: is in your PATH or set the PKG_CONFIG environment variable to the full
  4714: path to pkg-config.
  4715: 
  4716: Alternatively, you may set the environment variables BDW_GC_CFLAGS
  4717: and BDW_GC_LIBS to avoid the need to call pkg-config.
  4718: See the pkg-config man page for more details.
  4719: 
  4720: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  4721: See \`config.log' for more details" "$LINENO" 5; }
  4722: else
  4723: 	BDW_GC_CFLAGS=$pkg_cv_BDW_GC_CFLAGS
  4724: 	BDW_GC_LIBS=$pkg_cv_BDW_GC_LIBS
  4725:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4726: $as_echo "yes" >&6; }
  4727: 
  4728: fi
  4729: 
  4730:       if test "X$prefix" = "XNONE"; then
  4731:     acl_final_prefix="$ac_default_prefix"
  4732:   else
  4733:     acl_final_prefix="$prefix"
  4734:   fi
  4735:   if test "X$exec_prefix" = "XNONE"; then
  4736:     acl_final_exec_prefix='${prefix}'
  4737:   else
  4738:     acl_final_exec_prefix="$exec_prefix"
  4739:   fi
  4740:   acl_save_prefix="$prefix"
  4741:   prefix="$acl_final_prefix"
  4742:   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  4743:   prefix="$acl_save_prefix"
  4744: 
  4745: # Make sure we can run config.sub.
  4746: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4747:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  4748: 
  4749: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4750: $as_echo_n "checking build system type... " >&6; }
  4751: if ${ac_cv_build+:} false; then :
  4752:   $as_echo_n "(cached) " >&6
  4753: else
  4754:   ac_build_alias=$build_alias
  4755: test "x$ac_build_alias" = x &&
  4756:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4757: test "x$ac_build_alias" = x &&
  4758:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4759: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4760:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  4761: 
  4762: fi
  4763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4764: $as_echo "$ac_cv_build" >&6; }
  4765: case $ac_cv_build in
  4766: *-*-*) ;;
  4767: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4768: esac
  4769: build=$ac_cv_build
  4770: ac_save_IFS=$IFS; IFS='-'
  4771: set x $ac_cv_build
  4772: shift
  4773: build_cpu=$1
  4774: build_vendor=$2
  4775: shift; shift
  4776: # Remember, the first character of IFS is used to create $*,
  4777: # except with old shells:
  4778: build_os=$*
  4779: IFS=$ac_save_IFS
  4780: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4781: 
  4782: 
  4783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4784: $as_echo_n "checking host system type... " >&6; }
  4785: if ${ac_cv_host+:} false; then :
  4786:   $as_echo_n "(cached) " >&6
  4787: else
  4788:   if test "x$host_alias" = x; then
  4789:   ac_cv_host=$ac_cv_build
  4790: else
  4791:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4792:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  4793: fi
  4794: 
  4795: fi
  4796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4797: $as_echo "$ac_cv_host" >&6; }
  4798: case $ac_cv_host in
  4799: *-*-*) ;;
  4800: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4801: esac
  4802: host=$ac_cv_host
  4803: ac_save_IFS=$IFS; IFS='-'
  4804: set x $ac_cv_host
  4805: shift
  4806: host_cpu=$1
  4807: host_vendor=$2
  4808: shift; shift
  4809: # Remember, the first character of IFS is used to create $*,
  4810: # except with old shells:
  4811: host_os=$*
  4812: IFS=$ac_save_IFS
  4813: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4814: 
  4815: 
  4816: 
  4817: 
  4818: # Check whether --with-gnu-ld was given.
  4819: if test "${with_gnu_ld+set}" = set; then :
  4820:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4821: else
  4822:   with_gnu_ld=no
  4823: fi
  4824: 
  4825: # Prepare PATH_SEPARATOR.
  4826: # The user is always right.
  4827: if test "${PATH_SEPARATOR+set}" != set; then
  4828:   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  4829:   # contains only /bin. Note that ksh looks also at the FPATH variable,
  4830:   # so we have to set that as well for the test.
  4831:   PATH_SEPARATOR=:
  4832:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  4833:     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  4834:            || PATH_SEPARATOR=';'
  4835:        }
  4836: fi
  4837: 
  4838: ac_prog=ld
  4839: if test "$GCC" = yes; then
  4840:   # Check if gcc -print-prog-name=ld gives a path.
  4841:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4842: $as_echo_n "checking for ld used by $CC... " >&6; }
  4843:   case $host in
  4844:   *-*-mingw*)
  4845:     # gcc leaves a trailing carriage return which upsets mingw
  4846:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4847:   *)
  4848:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4849:   esac
  4850:   case $ac_prog in
  4851:     # Accept absolute paths.
  4852:     [\\/]* | ?:[\\/]*)
  4853:       re_direlt='/[^/][^/]*/\.\./'
  4854:       # Canonicalize the pathname of ld
  4855:       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
  4856:       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
  4857:         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  4858:       done
  4859:       test -z "$LD" && LD="$ac_prog"
  4860:       ;;
  4861:   "")
  4862:     # If it fails, then pretend we aren't using GCC.
  4863:     ac_prog=ld
  4864:     ;;
  4865:   *)
  4866:     # If it is relative, then search for the first ld in PATH.
  4867:     with_gnu_ld=unknown
  4868:     ;;
  4869:   esac
  4870: elif test "$with_gnu_ld" = yes; then
  4871:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4872: $as_echo_n "checking for GNU ld... " >&6; }
  4873: else
  4874:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4875: $as_echo_n "checking for non-GNU ld... " >&6; }
  4876: fi
  4877: if ${acl_cv_path_LD+:} false; then :
  4878:   $as_echo_n "(cached) " >&6
  4879: else
  4880:   if test -z "$LD"; then
  4881:   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4882:   for ac_dir in $PATH; do
  4883:     IFS="$acl_save_ifs"
  4884:     test -z "$ac_dir" && ac_dir=.
  4885:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4886:       acl_cv_path_LD="$ac_dir/$ac_prog"
  4887:       # Check to see if the program is GNU ld.  I'd rather use --version,
  4888:       # but apparently some variants of GNU ld only accept -v.
  4889:       # Break only if it was the GNU/non-GNU ld that we prefer.
  4890:       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
  4891:       *GNU* | *'with BFD'*)
  4892:         test "$with_gnu_ld" != no && break
  4893:         ;;
  4894:       *)
  4895:         test "$with_gnu_ld" != yes && break
  4896:         ;;
  4897:       esac
  4898:     fi
  4899:   done
  4900:   IFS="$acl_save_ifs"
  4901: else
  4902:   acl_cv_path_LD="$LD" # Let the user override the test with a path.
  4903: fi
  4904: fi
  4905: 
  4906: LD="$acl_cv_path_LD"
  4907: if test -n "$LD"; then
  4908:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4909: $as_echo "$LD" >&6; }
  4910: else
  4911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4912: $as_echo "no" >&6; }
  4913: fi
  4914: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  4915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4916: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4917: if ${acl_cv_prog_gnu_ld+:} false; then :
  4918:   $as_echo_n "(cached) " >&6
  4919: else
  4920:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4921: case `$LD -v 2>&1 </dev/null` in
  4922: *GNU* | *'with BFD'*)
  4923:   acl_cv_prog_gnu_ld=yes
  4924:   ;;
  4925: *)
  4926:   acl_cv_prog_gnu_ld=no
  4927:   ;;
  4928: esac
  4929: fi
  4930: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
  4931: $as_echo "$acl_cv_prog_gnu_ld" >&6; }
  4932: with_gnu_ld=$acl_cv_prog_gnu_ld
  4933: 
  4934: 
  4935: 
  4936: 
  4937:                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  4938: $as_echo_n "checking for shared library run path origin... " >&6; }
  4939: if ${acl_cv_rpath+:} false; then :
  4940:   $as_echo_n "(cached) " >&6
  4941: else
  4942: 
  4943:     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  4944:     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  4945:     . ./conftest.sh
  4946:     rm -f ./conftest.sh
  4947:     acl_cv_rpath=done
  4948: 
  4949: fi
  4950: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  4951: $as_echo "$acl_cv_rpath" >&6; }
  4952:   wl="$acl_cv_wl"
  4953:   acl_libext="$acl_cv_libext"
  4954:   acl_shlibext="$acl_cv_shlibext"
  4955:   acl_libname_spec="$acl_cv_libname_spec"
  4956:   acl_library_names_spec="$acl_cv_library_names_spec"
  4957:   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  4958:   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  4959:   acl_hardcode_direct="$acl_cv_hardcode_direct"
  4960:   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
  4961:     # Check whether --enable-rpath was given.
  4962: if test "${enable_rpath+set}" = set; then :
  4963:   enableval=$enable_rpath; :
  4964: else
  4965:   enable_rpath=yes
  4966: fi
  4967: 
  4968: 
  4969: ac_ext=c
  4970: ac_cpp='$CPP $CPPFLAGS'
  4971: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4972: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4973: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4975: $as_echo_n "checking how to run the C preprocessor... " >&6; }
  4976: # On Suns, sometimes $CPP names a directory.
  4977: if test -n "$CPP" && test -d "$CPP"; then
  4978:   CPP=
  4979: fi
  4980: if test -z "$CPP"; then
  4981:   if ${ac_cv_prog_CPP+:} false; then :
  4982:   $as_echo_n "(cached) " >&6
  4983: else
  4984:       # Double quotes because CPP needs to be expanded
  4985:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4986:     do
  4987:       ac_preproc_ok=false
  4988: for ac_c_preproc_warn_flag in '' yes
  4989: do
  4990:   # Use a header file that comes with gcc, so configuring glibc
  4991:   # with a fresh cross-compiler works.
  4992:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4993:   # <limits.h> exists even on freestanding compilers.
  4994:   # On the NeXT, cc -E runs the code through the compiler's parser,
  4995:   # not just through cpp. "Syntax error" is here to catch this case.
  4996:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4997: /* end confdefs.h.  */
  4998: #ifdef __STDC__
  4999: # include <limits.h>
  5000: #else
  5001: # include <assert.h>
  5002: #endif
  5003: 		     Syntax error
  5004: _ACEOF
  5005: if ac_fn_c_try_cpp "$LINENO"; then :
  5006: 
  5007: else
  5008:   # Broken: fails on valid input.
  5009: continue
  5010: fi
  5011: rm -f conftest.err conftest.i conftest.$ac_ext
  5012: 
  5013:   # OK, works on sane cases.  Now check whether nonexistent headers
  5014:   # can be detected and how.
  5015:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5016: /* end confdefs.h.  */
  5017: #include <ac_nonexistent.h>
  5018: _ACEOF
  5019: if ac_fn_c_try_cpp "$LINENO"; then :
  5020:   # Broken: success on invalid input.
  5021: continue
  5022: else
  5023:   # Passes both tests.
  5024: ac_preproc_ok=:
  5025: break
  5026: fi
  5027: rm -f conftest.err conftest.i conftest.$ac_ext
  5028: 
  5029: done
  5030: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5031: rm -f conftest.i conftest.err conftest.$ac_ext
  5032: if $ac_preproc_ok; then :
  5033:   break
  5034: fi
  5035: 
  5036:     done
  5037:     ac_cv_prog_CPP=$CPP
  5038: 
  5039: fi
  5040:   CPP=$ac_cv_prog_CPP
  5041: else
  5042:   ac_cv_prog_CPP=$CPP
  5043: fi
  5044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  5045: $as_echo "$CPP" >&6; }
  5046: ac_preproc_ok=false
  5047: for ac_c_preproc_warn_flag in '' yes
  5048: do
  5049:   # Use a header file that comes with gcc, so configuring glibc
  5050:   # with a fresh cross-compiler works.
  5051:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5052:   # <limits.h> exists even on freestanding compilers.
  5053:   # On the NeXT, cc -E runs the code through the compiler's parser,
  5054:   # not just through cpp. "Syntax error" is here to catch this case.
  5055:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5056: /* end confdefs.h.  */
  5057: #ifdef __STDC__
  5058: # include <limits.h>
  5059: #else
  5060: # include <assert.h>
  5061: #endif
  5062: 		     Syntax error
  5063: _ACEOF
  5064: if ac_fn_c_try_cpp "$LINENO"; then :
  5065: 
  5066: else
  5067:   # Broken: fails on valid input.
  5068: continue
  5069: fi
  5070: rm -f conftest.err conftest.i conftest.$ac_ext
  5071: 
  5072:   # OK, works on sane cases.  Now check whether nonexistent headers
  5073:   # can be detected and how.
  5074:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5075: /* end confdefs.h.  */
  5076: #include <ac_nonexistent.h>
  5077: _ACEOF
  5078: if ac_fn_c_try_cpp "$LINENO"; then :
  5079:   # Broken: success on invalid input.
  5080: continue
  5081: else
  5082:   # Passes both tests.
  5083: ac_preproc_ok=:
  5084: break
  5085: fi
  5086: rm -f conftest.err conftest.i conftest.$ac_ext
  5087: 
  5088: done
  5089: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5090: rm -f conftest.i conftest.err conftest.$ac_ext
  5091: if $ac_preproc_ok; then :
  5092: 
  5093: else
  5094:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5095: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5096: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  5097: See \`config.log' for more details" "$LINENO" 5; }
  5098: fi
  5099: 
  5100: ac_ext=c
  5101: ac_cpp='$CPP $CPPFLAGS'
  5102: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5103: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5104: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5105: 
  5106: 
  5107: 
  5108: 
  5109:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
  5110: $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; }
  5111: if ${acl_cv_libdirstems+:} false; then :
  5112:   $as_echo_n "(cached) " >&6
  5113: else
  5114:   acl_libdirstem=lib
  5115:      acl_libdirstem2=
  5116:      case "$host_os" in
  5117:        solaris*)
  5118:                                                       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  5119: $as_echo_n "checking for 64-bit host... " >&6; }
  5120: if ${gl_cv_solaris_64bit+:} false; then :
  5121:   $as_echo_n "(cached) " >&6
  5122: else
  5123:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5124: /* end confdefs.h.  */
  5125: 
  5126: #ifdef _LP64
  5127: sixtyfour bits
  5128: #endif
  5129: 
  5130: _ACEOF
  5131: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5132:   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
  5133:   gl_cv_solaris_64bit=yes
  5134: else
  5135:   gl_cv_solaris_64bit=no
  5136: fi
  5137: rm -f conftest*
  5138: 
  5139: 
  5140: fi
  5141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
  5142: $as_echo "$gl_cv_solaris_64bit" >&6; }
  5143:          if test $gl_cv_solaris_64bit = yes; then
  5144:            acl_libdirstem=lib/64
  5145:            case "$host_cpu" in
  5146:              sparc*)        acl_libdirstem2=lib/sparcv9 ;;
  5147:              i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  5148:            esac
  5149:          fi
  5150:          ;;
  5151:        *)
  5152:                                     searchpath=`(if test -f /usr/bin/gcc \
  5153:                          && LC_ALL=C /usr/bin/gcc -print-search-dirs >/dev/null 2>/dev/null; then \
  5154:                         LC_ALL=C /usr/bin/gcc -print-search-dirs; \
  5155:                       else \
  5156:                         LC_ALL=C $CC -print-search-dirs; \
  5157:                       fi) 2>/dev/null \
  5158:                      | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  5159:          if test -n "$searchpath"; then
  5160:            acl_save_IFS="${IFS= 	}"; IFS=":"
  5161:            for searchdir in $searchpath; do
  5162:              if test -d "$searchdir"; then
  5163:                case "$searchdir" in
  5164:                  */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  5165:                  */../ | */.. )
  5166:                    # Better ignore directories of this form. They are misleading.
  5167:                    ;;
  5168:                  *) searchdir=`cd "$searchdir" && pwd`
  5169:                     case "$searchdir" in
  5170:                       */lib64 ) acl_libdirstem=lib64 ;;
  5171:                     esac ;;
  5172:                esac
  5173:              fi
  5174:            done
  5175:            IFS="$acl_save_IFS"
  5176:          fi
  5177:          ;;
  5178:      esac
  5179:      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  5180:      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2"
  5181: 
  5182: fi
  5183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
  5184: $as_echo "$acl_cv_libdirstems" >&6; }
  5185:   # Decompose acl_cv_libdirstems into acl_libdirstem and acl_libdirstem2.
  5186:   acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
  5187:   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e '/,/s/.*,//'`
  5188: 
  5189: 
  5190: 
  5191: 
  5192: 
  5193: 
  5194: 
  5195: 
  5196: 
  5197: 
  5198: 
  5199: 
  5200: 
  5201: 
  5202: 
  5203:     use_additional=yes
  5204: 
  5205:   acl_save_prefix="$prefix"
  5206:   prefix="$acl_final_prefix"
  5207:   acl_save_exec_prefix="$exec_prefix"
  5208:   exec_prefix="$acl_final_exec_prefix"
  5209: 
  5210:     eval additional_includedir=\"$includedir\"
  5211:     eval additional_libdir=\"$libdir\"
  5212: 
  5213:   exec_prefix="$acl_save_exec_prefix"
  5214:   prefix="$acl_save_prefix"
  5215: 
  5216: 
  5217: # Check whether --with-libsigsegv-prefix was given.
  5218: if test "${with_libsigsegv_prefix+set}" = set; then :
  5219:   withval=$with_libsigsegv_prefix;
  5220:     if test "X$withval" = "Xno"; then
  5221:       use_additional=no
  5222:     else
  5223:       if test "X$withval" = "X"; then
  5224: 
  5225:   acl_save_prefix="$prefix"
  5226:   prefix="$acl_final_prefix"
  5227:   acl_save_exec_prefix="$exec_prefix"
  5228:   exec_prefix="$acl_final_exec_prefix"
  5229: 
  5230:           eval additional_includedir=\"$includedir\"
  5231:           eval additional_libdir=\"$libdir\"
  5232: 
  5233:   exec_prefix="$acl_save_exec_prefix"
  5234:   prefix="$acl_save_prefix"
  5235: 
  5236:       else
  5237:         additional_includedir="$withval/include"
  5238:         additional_libdir="$withval/$acl_libdirstem"
  5239:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
  5240:            && ! test -d "$withval/$acl_libdirstem"; then
  5241:           additional_libdir="$withval/$acl_libdirstem2"
  5242:         fi
  5243:       fi
  5244:     fi
  5245: 
  5246: fi
  5247: 
  5248:       LIBSIGSEGV=
  5249:   LTLIBSIGSEGV=
  5250:   INCSIGSEGV=
  5251:   LIBSIGSEGV_PREFIX=
  5252:       HAVE_LIBSIGSEGV=
  5253:   rpathdirs=
  5254:   ltrpathdirs=
  5255:   names_already_handled=
  5256:   names_next_round='sigsegv '
  5257:   while test -n "$names_next_round"; do
  5258:     names_this_round="$names_next_round"
  5259:     names_next_round=
  5260:     for name in $names_this_round; do
  5261:       already_handled=
  5262:       for n in $names_already_handled; do
  5263:         if test "$n" = "$name"; then
  5264:           already_handled=yes
  5265:           break
  5266:         fi
  5267:       done
  5268:       if test -z "$already_handled"; then
  5269:         names_already_handled="$names_already_handled $name"
  5270:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  5271:         eval value=\"\$HAVE_LIB$uppername\"
  5272:         if test -n "$value"; then
  5273:           if test "$value" = yes; then
  5274:             eval value=\"\$LIB$uppername\"
  5275:             test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value"
  5276:             eval value=\"\$LTLIB$uppername\"
  5277:             test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value"
  5278:           else
  5279:                                     :
  5280:           fi
  5281:         else
  5282:                               found_dir=
  5283:           found_la=
  5284:           found_so=
  5285:           found_a=
  5286:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
  5287:           if test -n "$acl_shlibext"; then
  5288:             shrext=".$acl_shlibext"             # typically: shrext=.so
  5289:           else
  5290:             shrext=
  5291:           fi
  5292:           if test $use_additional = yes; then
  5293:             dir="$additional_libdir"
  5294:                                     if test -n "$acl_shlibext"; then
  5295:               if test -f "$dir/$libname$shrext"; then
  5296:                 found_dir="$dir"
  5297:                 found_so="$dir/$libname$shrext"
  5298:               else
  5299:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5300:                   ver=`(cd "$dir" && \
  5301:                         for f in "$libname$shrext".*; do echo "$f"; done \
  5302:                         | sed -e "s,^$libname$shrext\\\\.,," \
  5303:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5304:                         | sed 1q ) 2>/dev/null`
  5305:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5306:                     found_dir="$dir"
  5307:                     found_so="$dir/$libname$shrext.$ver"
  5308:                   fi
  5309:                 else
  5310:                   eval library_names=\"$acl_library_names_spec\"
  5311:                   for f in $library_names; do
  5312:                     if test -f "$dir/$f"; then
  5313:                       found_dir="$dir"
  5314:                       found_so="$dir/$f"
  5315:                       break
  5316:                     fi
  5317:                   done
  5318:                 fi
  5319:               fi
  5320:             fi
  5321:                         if test "X$found_dir" = "X"; then
  5322:               if test -f "$dir/$libname.$acl_libext"; then
  5323:                 found_dir="$dir"
  5324:                 found_a="$dir/$libname.$acl_libext"
  5325:               fi
  5326:             fi
  5327:             if test "X$found_dir" != "X"; then
  5328:               if test -f "$dir/$libname.la"; then
  5329:                 found_la="$dir/$libname.la"
  5330:               fi
  5331:             fi
  5332:           fi
  5333:           if test "X$found_dir" = "X"; then
  5334:             for x in $LDFLAGS $LTLIBSIGSEGV; do
  5335: 
  5336:   acl_save_prefix="$prefix"
  5337:   prefix="$acl_final_prefix"
  5338:   acl_save_exec_prefix="$exec_prefix"
  5339:   exec_prefix="$acl_final_exec_prefix"
  5340:   eval x=\"$x\"
  5341:   exec_prefix="$acl_save_exec_prefix"
  5342:   prefix="$acl_save_prefix"
  5343: 
  5344:               case "$x" in
  5345:                 -L*)
  5346:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
  5347:                                     if test -n "$acl_shlibext"; then
  5348:                     if test -f "$dir/$libname$shrext"; then
  5349:                       found_dir="$dir"
  5350:                       found_so="$dir/$libname$shrext"
  5351:                     else
  5352:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5353:                         ver=`(cd "$dir" && \
  5354:                               for f in "$libname$shrext".*; do echo "$f"; done \
  5355:                               | sed -e "s,^$libname$shrext\\\\.,," \
  5356:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5357:                               | sed 1q ) 2>/dev/null`
  5358:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5359:                           found_dir="$dir"
  5360:                           found_so="$dir/$libname$shrext.$ver"
  5361:                         fi
  5362:                       else
  5363:                         eval library_names=\"$acl_library_names_spec\"
  5364:                         for f in $library_names; do
  5365:                           if test -f "$dir/$f"; then
  5366:                             found_dir="$dir"
  5367:                             found_so="$dir/$f"
  5368:                             break
  5369:                           fi
  5370:                         done
  5371:                       fi
  5372:                     fi
  5373:                   fi
  5374:                                     if test "X$found_dir" = "X"; then
  5375:                     if test -f "$dir/$libname.$acl_libext"; then
  5376:                       found_dir="$dir"
  5377:                       found_a="$dir/$libname.$acl_libext"
  5378:                     fi
  5379:                   fi
  5380:                   if test "X$found_dir" != "X"; then
  5381:                     if test -f "$dir/$libname.la"; then
  5382:                       found_la="$dir/$libname.la"
  5383:                     fi
  5384:                   fi
  5385:                   ;;
  5386:               esac
  5387:               if test "X$found_dir" != "X"; then
  5388:                 break
  5389:               fi
  5390:             done
  5391:           fi
  5392:           if test "X$found_dir" != "X"; then
  5393:                         LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name"
  5394:             if test "X$found_so" != "X"; then
  5395:                                                         if test "$enable_rpath" = no \
  5396:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  5397:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  5398:                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5399:               else
  5400:                                                                                 haveit=
  5401:                 for x in $ltrpathdirs; do
  5402:                   if test "X$x" = "X$found_dir"; then
  5403:                     haveit=yes
  5404:                     break
  5405:                   fi
  5406:                 done
  5407:                 if test -z "$haveit"; then
  5408:                   ltrpathdirs="$ltrpathdirs $found_dir"
  5409:                 fi
  5410:                                 if test "$acl_hardcode_direct" = yes; then
  5411:                                                       LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5412:                 else
  5413:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  5414:                                                             LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5415:                                                             haveit=
  5416:                     for x in $rpathdirs; do
  5417:                       if test "X$x" = "X$found_dir"; then
  5418:                         haveit=yes
  5419:                         break
  5420:                       fi
  5421:                     done
  5422:                     if test -z "$haveit"; then
  5423:                       rpathdirs="$rpathdirs $found_dir"
  5424:                     fi
  5425:                   else
  5426:                                                                                 haveit=
  5427:                     for x in $LDFLAGS $LIBSIGSEGV; do
  5428: 
  5429:   acl_save_prefix="$prefix"
  5430:   prefix="$acl_final_prefix"
  5431:   acl_save_exec_prefix="$exec_prefix"
  5432:   exec_prefix="$acl_final_exec_prefix"
  5433:   eval x=\"$x\"
  5434:   exec_prefix="$acl_save_exec_prefix"
  5435:   prefix="$acl_save_prefix"
  5436: 
  5437:                       if test "X$x" = "X-L$found_dir"; then
  5438:                         haveit=yes
  5439:                         break
  5440:                       fi
  5441:                     done
  5442:                     if test -z "$haveit"; then
  5443:                       LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir"
  5444:                     fi
  5445:                     if test "$acl_hardcode_minus_L" != no; then
  5446:                                                                                         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  5447:                     else
  5448:                                                                                                                                                                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  5449:                     fi
  5450:                   fi
  5451:                 fi
  5452:               fi
  5453:             else
  5454:               if test "X$found_a" != "X"; then
  5455:                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a"
  5456:               else
  5457:                                                 LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name"
  5458:               fi
  5459:             fi
  5460:                         additional_includedir=
  5461:             case "$found_dir" in
  5462:               */$acl_libdirstem | */$acl_libdirstem/)
  5463:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  5464:                 if test "$name" = 'sigsegv'; then
  5465:                   LIBSIGSEGV_PREFIX="$basedir"
  5466:                 fi
  5467:                 additional_includedir="$basedir/include"
  5468:                 ;;
  5469:               */$acl_libdirstem2 | */$acl_libdirstem2/)
  5470:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  5471:                 if test "$name" = 'sigsegv'; then
  5472:                   LIBSIGSEGV_PREFIX="$basedir"
  5473:                 fi
  5474:                 additional_includedir="$basedir/include"
  5475:                 ;;
  5476:             esac
  5477:             if test "X$additional_includedir" != "X"; then
  5478:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
  5479:                 haveit=
  5480:                 if test "X$additional_includedir" = "X/usr/local/include"; then
  5481:                   if test -n "$GCC"; then
  5482:                     case $host_os in
  5483:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5484:                     esac
  5485:                   fi
  5486:                 fi
  5487:                 if test -z "$haveit"; then
  5488:                   for x in $CPPFLAGS $INCSIGSEGV; do
  5489: 
  5490:   acl_save_prefix="$prefix"
  5491:   prefix="$acl_final_prefix"
  5492:   acl_save_exec_prefix="$exec_prefix"
  5493:   exec_prefix="$acl_final_exec_prefix"
  5494:   eval x=\"$x\"
  5495:   exec_prefix="$acl_save_exec_prefix"
  5496:   prefix="$acl_save_prefix"
  5497: 
  5498:                     if test "X$x" = "X-I$additional_includedir"; then
  5499:                       haveit=yes
  5500:                       break
  5501:                     fi
  5502:                   done
  5503:                   if test -z "$haveit"; then
  5504:                     if test -d "$additional_includedir"; then
  5505:                                             INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir"
  5506:                     fi
  5507:                   fi
  5508:                 fi
  5509:               fi
  5510:             fi
  5511:                         if test -n "$found_la"; then
  5512:                                                         save_libdir="$libdir"
  5513:               case "$found_la" in
  5514:                 */* | *\\*) . "$found_la" ;;
  5515:                 *) . "./$found_la" ;;
  5516:               esac
  5517:               libdir="$save_libdir"
  5518:                             for dep in $dependency_libs; do
  5519:                 case "$dep" in
  5520:                   -L*)
  5521:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  5522:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  5523:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  5524:                       haveit=
  5525:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  5526:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  5527:                         if test -n "$GCC"; then
  5528:                           case $host_os in
  5529:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  5530:                           esac
  5531:                         fi
  5532:                       fi
  5533:                       if test -z "$haveit"; then
  5534:                         haveit=
  5535:                         for x in $LDFLAGS $LIBSIGSEGV; do
  5536: 
  5537:   acl_save_prefix="$prefix"
  5538:   prefix="$acl_final_prefix"
  5539:   acl_save_exec_prefix="$exec_prefix"
  5540:   exec_prefix="$acl_final_exec_prefix"
  5541:   eval x=\"$x\"
  5542:   exec_prefix="$acl_save_exec_prefix"
  5543:   prefix="$acl_save_prefix"
  5544: 
  5545:                           if test "X$x" = "X-L$additional_libdir"; then
  5546:                             haveit=yes
  5547:                             break
  5548:                           fi
  5549:                         done
  5550:                         if test -z "$haveit"; then
  5551:                           if test -d "$additional_libdir"; then
  5552:                                                         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir"
  5553:                           fi
  5554:                         fi
  5555:                         haveit=
  5556:                         for x in $LDFLAGS $LTLIBSIGSEGV; do
  5557: 
  5558:   acl_save_prefix="$prefix"
  5559:   prefix="$acl_final_prefix"
  5560:   acl_save_exec_prefix="$exec_prefix"
  5561:   exec_prefix="$acl_final_exec_prefix"
  5562:   eval x=\"$x\"
  5563:   exec_prefix="$acl_save_exec_prefix"
  5564:   prefix="$acl_save_prefix"
  5565: 
  5566:                           if test "X$x" = "X-L$additional_libdir"; then
  5567:                             haveit=yes
  5568:                             break
  5569:                           fi
  5570:                         done
  5571:                         if test -z "$haveit"; then
  5572:                           if test -d "$additional_libdir"; then
  5573:                                                         LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir"
  5574:                           fi
  5575:                         fi
  5576:                       fi
  5577:                     fi
  5578:                     ;;
  5579:                   -R*)
  5580:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
  5581:                     if test "$enable_rpath" != no; then
  5582:                                                                   haveit=
  5583:                       for x in $rpathdirs; do
  5584:                         if test "X$x" = "X$dir"; then
  5585:                           haveit=yes
  5586:                           break
  5587:                         fi
  5588:                       done
  5589:                       if test -z "$haveit"; then
  5590:                         rpathdirs="$rpathdirs $dir"
  5591:                       fi
  5592:                                                                   haveit=
  5593:                       for x in $ltrpathdirs; do
  5594:                         if test "X$x" = "X$dir"; then
  5595:                           haveit=yes
  5596:                           break
  5597:                         fi
  5598:                       done
  5599:                       if test -z "$haveit"; then
  5600:                         ltrpathdirs="$ltrpathdirs $dir"
  5601:                       fi
  5602:                     fi
  5603:                     ;;
  5604:                   -l*)
  5605:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  5606:                     ;;
  5607:                   *.la)
  5608:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  5609:                     ;;
  5610:                   *)
  5611:                                         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep"
  5612:                     LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep"
  5613:                     ;;
  5614:                 esac
  5615:               done
  5616:             fi
  5617:           else
  5618:                                                             LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  5619:             LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name"
  5620:           fi
  5621:         fi
  5622:       fi
  5623:     done
  5624:   done
  5625:   if test "X$rpathdirs" != "X"; then
  5626:     if test -n "$acl_hardcode_libdir_separator"; then
  5627:                         alldirs=
  5628:       for found_dir in $rpathdirs; do
  5629:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  5630:       done
  5631:             acl_save_libdir="$libdir"
  5632:       libdir="$alldirs"
  5633:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
  5634:       libdir="$acl_save_libdir"
  5635:       LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  5636:     else
  5637:             for found_dir in $rpathdirs; do
  5638:         acl_save_libdir="$libdir"
  5639:         libdir="$found_dir"
  5640:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
  5641:         libdir="$acl_save_libdir"
  5642:         LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  5643:       done
  5644:     fi
  5645:   fi
  5646:   if test "X$ltrpathdirs" != "X"; then
  5647:             for found_dir in $ltrpathdirs; do
  5648:       LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir"
  5649:     done
  5650:   fi
  5651: 
  5652: 
  5653: 
  5654: 
  5655: 
  5656: 
  5657: 
  5658:         ac_save_CPPFLAGS="$CPPFLAGS"
  5659: 
  5660:   for element in $INCSIGSEGV; do
  5661:     haveit=
  5662:     for x in $CPPFLAGS; do
  5663: 
  5664:   acl_save_prefix="$prefix"
  5665:   prefix="$acl_final_prefix"
  5666:   acl_save_exec_prefix="$exec_prefix"
  5667:   exec_prefix="$acl_final_exec_prefix"
  5668:   eval x=\"$x\"
  5669:   exec_prefix="$acl_save_exec_prefix"
  5670:   prefix="$acl_save_prefix"
  5671: 
  5672:       if test "X$x" = "X$element"; then
  5673:         haveit=yes
  5674:         break
  5675:       fi
  5676:     done
  5677:     if test -z "$haveit"; then
  5678:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  5679:     fi
  5680:   done
  5681: 
  5682: 
  5683:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  5684: $as_echo_n "checking for libsigsegv... " >&6; }
  5685: if ${ac_cv_libsigsegv+:} false; then :
  5686:   $as_echo_n "(cached) " >&6
  5687: else
  5688: 
  5689:     ac_save_LIBS="$LIBS"
  5690:                                 case " $LIBSIGSEGV" in
  5691:       *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;;
  5692:       *)       LIBS="$LIBSIGSEGV $LIBS" ;;
  5693:     esac
  5694:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5695: /* end confdefs.h.  */
  5696: #include <sigsegv.h>
  5697: int
  5698: main ()
  5699: {
  5700: sigsegv_deinstall_handler();
  5701:   ;
  5702:   return 0;
  5703: }
  5704: _ACEOF
  5705: if ac_fn_c_try_link "$LINENO"; then :
  5706:   ac_cv_libsigsegv=yes
  5707: else
  5708:   ac_cv_libsigsegv='as_fn_error $? "requires GNU libsigsegv" "$LINENO" 5'
  5709: fi
  5710: rm -f core conftest.err conftest.$ac_objext \
  5711:     conftest$ac_exeext conftest.$ac_ext
  5712:     LIBS="$ac_save_LIBS"
  5713: 
  5714: fi
  5715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5
  5716: $as_echo "$ac_cv_libsigsegv" >&6; }
  5717:   if test "$ac_cv_libsigsegv" = yes; then
  5718:     HAVE_LIBSIGSEGV=yes
  5719: 
  5720: $as_echo "#define HAVE_LIBSIGSEGV 1" >>confdefs.h
  5721: 
  5722:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5
  5723: $as_echo_n "checking how to link with libsigsegv... " >&6; }
  5724:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5
  5725: $as_echo "$LIBSIGSEGV" >&6; }
  5726:   else
  5727:     HAVE_LIBSIGSEGV=no
  5728:             CPPFLAGS="$ac_save_CPPFLAGS"
  5729:     LIBSIGSEGV=
  5730:     LTLIBSIGSEGV=
  5731:     LIBSIGSEGV_PREFIX=
  5732:   fi
  5733: 
  5734: 
  5735: 
  5736: 
  5737: 
  5738: 
  5739: 
  5740:     gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  5741: 
  5742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  5743: $as_echo_n "checking for ANSI C header files... " >&6; }
  5744: if ${ac_cv_header_stdc+:} false; then :
  5745:   $as_echo_n "(cached) " >&6
  5746: else
  5747:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5748: /* end confdefs.h.  */
  5749: #include <stdlib.h>
  5750: #include <stdarg.h>
  5751: #include <string.h>
  5752: #include <float.h>
  5753: 
  5754: int
  5755: main ()
  5756: {
  5757: 
  5758:   ;
  5759:   return 0;
  5760: }
  5761: _ACEOF
  5762: if ac_fn_c_try_compile "$LINENO"; then :
  5763:   ac_cv_header_stdc=yes
  5764: else
  5765:   ac_cv_header_stdc=no
  5766: fi
  5767: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5768: 
  5769: if test $ac_cv_header_stdc = yes; then
  5770:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5771:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5772: /* end confdefs.h.  */
  5773: #include <string.h>
  5774: 
  5775: _ACEOF
  5776: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5777:   $EGREP "memchr" >/dev/null 2>&1; then :
  5778: 
  5779: else
  5780:   ac_cv_header_stdc=no
  5781: fi
  5782: rm -f conftest*
  5783: 
  5784: fi
  5785: 
  5786: if test $ac_cv_header_stdc = yes; then
  5787:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5788:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5789: /* end confdefs.h.  */
  5790: #include <stdlib.h>
  5791: 
  5792: _ACEOF
  5793: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5794:   $EGREP "free" >/dev/null 2>&1; then :
  5795: 
  5796: else
  5797:   ac_cv_header_stdc=no
  5798: fi
  5799: rm -f conftest*
  5800: 
  5801: fi
  5802: 
  5803: if test $ac_cv_header_stdc = yes; then
  5804:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5805:   if test "$cross_compiling" = yes; then :
  5806:   :
  5807: else
  5808:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5809: /* end confdefs.h.  */
  5810: #include <ctype.h>
  5811: #include <stdlib.h>
  5812: #if ((' ' & 0x0FF) == 0x020)
  5813: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5814: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5815: #else
  5816: # define ISLOWER(c) \
  5817: 		   (('a' <= (c) && (c) <= 'i') \
  5818: 		     || ('j' <= (c) && (c) <= 'r') \
  5819: 		     || ('s' <= (c) && (c) <= 'z'))
  5820: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5821: #endif
  5822: 
  5823: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5824: int
  5825: main ()
  5826: {
  5827:   int i;
  5828:   for (i = 0; i < 256; i++)
  5829:     if (XOR (islower (i), ISLOWER (i))
  5830: 	|| toupper (i) != TOUPPER (i))
  5831:       return 2;
  5832:   return 0;
  5833: }
  5834: _ACEOF
  5835: if ac_fn_c_try_run "$LINENO"; then :
  5836: 
  5837: else
  5838:   ac_cv_header_stdc=no
  5839: fi
  5840: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5841:   conftest.$ac_objext conftest.beam conftest.$ac_ext
  5842: fi
  5843: 
  5844: fi
  5845: fi
  5846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  5847: $as_echo "$ac_cv_header_stdc" >&6; }
  5848: if test $ac_cv_header_stdc = yes; then
  5849: 
  5850: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  5851: 
  5852: fi
  5853: 
  5854: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5855: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5856: 		  inttypes.h stdint.h unistd.h
  5857: do :
  5858:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5859: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  5860: "
  5861: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  5862:   cat >>confdefs.h <<_ACEOF
  5863: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5864: _ACEOF
  5865: 
  5866: fi
  5867: 
  5868: done
  5869: 
  5870: 
  5871: 
  5872: 
  5873: 
  5874: 
  5875: 
  5876: 
  5877: 
  5878: 
  5879: 
  5880: 
  5881: 
  5882:     use_additional=yes
  5883: 
  5884:   acl_save_prefix="$prefix"
  5885:   prefix="$acl_final_prefix"
  5886:   acl_save_exec_prefix="$exec_prefix"
  5887:   exec_prefix="$acl_final_exec_prefix"
  5888: 
  5889:     eval additional_includedir=\"$includedir\"
  5890:     eval additional_libdir=\"$libdir\"
  5891: 
  5892:   exec_prefix="$acl_save_exec_prefix"
  5893:   prefix="$acl_save_prefix"
  5894: 
  5895: 
  5896: # Check whether --with-libreadline-prefix was given.
  5897: if test "${with_libreadline_prefix+set}" = set; then :
  5898:   withval=$with_libreadline_prefix;
  5899:     if test "X$withval" = "Xno"; then
  5900:       use_additional=no
  5901:     else
  5902:       if test "X$withval" = "X"; then
  5903: 
  5904:   acl_save_prefix="$prefix"
  5905:   prefix="$acl_final_prefix"
  5906:   acl_save_exec_prefix="$exec_prefix"
  5907:   exec_prefix="$acl_final_exec_prefix"
  5908: 
  5909:           eval additional_includedir=\"$includedir\"
  5910:           eval additional_libdir=\"$libdir\"
  5911: 
  5912:   exec_prefix="$acl_save_exec_prefix"
  5913:   prefix="$acl_save_prefix"
  5914: 
  5915:       else
  5916:         additional_includedir="$withval/include"
  5917:         additional_libdir="$withval/$acl_libdirstem"
  5918:         if test "$acl_libdirstem2" != "$acl_libdirstem" \
  5919:            && ! test -d "$withval/$acl_libdirstem"; then
  5920:           additional_libdir="$withval/$acl_libdirstem2"
  5921:         fi
  5922:       fi
  5923:     fi
  5924: 
  5925: fi
  5926: 
  5927:       LIBREADLINE=
  5928:   LTLIBREADLINE=
  5929:   INCREADLINE=
  5930:   LIBREADLINE_PREFIX=
  5931:       HAVE_LIBREADLINE=
  5932:   rpathdirs=
  5933:   ltrpathdirs=
  5934:   names_already_handled=
  5935:   names_next_round='readline '
  5936:   while test -n "$names_next_round"; do
  5937:     names_this_round="$names_next_round"
  5938:     names_next_round=
  5939:     for name in $names_this_round; do
  5940:       already_handled=
  5941:       for n in $names_already_handled; do
  5942:         if test "$n" = "$name"; then
  5943:           already_handled=yes
  5944:           break
  5945:         fi
  5946:       done
  5947:       if test -z "$already_handled"; then
  5948:         names_already_handled="$names_already_handled $name"
  5949:                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  5950:         eval value=\"\$HAVE_LIB$uppername\"
  5951:         if test -n "$value"; then
  5952:           if test "$value" = yes; then
  5953:             eval value=\"\$LIB$uppername\"
  5954:             test -z "$value" || LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$value"
  5955:             eval value=\"\$LTLIB$uppername\"
  5956:             test -z "$value" || LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }$value"
  5957:           else
  5958:                                     :
  5959:           fi
  5960:         else
  5961:                               found_dir=
  5962:           found_la=
  5963:           found_so=
  5964:           found_a=
  5965:           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
  5966:           if test -n "$acl_shlibext"; then
  5967:             shrext=".$acl_shlibext"             # typically: shrext=.so
  5968:           else
  5969:             shrext=
  5970:           fi
  5971:           if test $use_additional = yes; then
  5972:             dir="$additional_libdir"
  5973:                                     if test -n "$acl_shlibext"; then
  5974:               if test -f "$dir/$libname$shrext"; then
  5975:                 found_dir="$dir"
  5976:                 found_so="$dir/$libname$shrext"
  5977:               else
  5978:                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  5979:                   ver=`(cd "$dir" && \
  5980:                         for f in "$libname$shrext".*; do echo "$f"; done \
  5981:                         | sed -e "s,^$libname$shrext\\\\.,," \
  5982:                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  5983:                         | sed 1q ) 2>/dev/null`
  5984:                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  5985:                     found_dir="$dir"
  5986:                     found_so="$dir/$libname$shrext.$ver"
  5987:                   fi
  5988:                 else
  5989:                   eval library_names=\"$acl_library_names_spec\"
  5990:                   for f in $library_names; do
  5991:                     if test -f "$dir/$f"; then
  5992:                       found_dir="$dir"
  5993:                       found_so="$dir/$f"
  5994:                       break
  5995:                     fi
  5996:                   done
  5997:                 fi
  5998:               fi
  5999:             fi
  6000:                         if test "X$found_dir" = "X"; then
  6001:               if test -f "$dir/$libname.$acl_libext"; then
  6002:                 found_dir="$dir"
  6003:                 found_a="$dir/$libname.$acl_libext"
  6004:               fi
  6005:             fi
  6006:             if test "X$found_dir" != "X"; then
  6007:               if test -f "$dir/$libname.la"; then
  6008:                 found_la="$dir/$libname.la"
  6009:               fi
  6010:             fi
  6011:           fi
  6012:           if test "X$found_dir" = "X"; then
  6013:             for x in $LDFLAGS $LTLIBREADLINE; do
  6014: 
  6015:   acl_save_prefix="$prefix"
  6016:   prefix="$acl_final_prefix"
  6017:   acl_save_exec_prefix="$exec_prefix"
  6018:   exec_prefix="$acl_final_exec_prefix"
  6019:   eval x=\"$x\"
  6020:   exec_prefix="$acl_save_exec_prefix"
  6021:   prefix="$acl_save_prefix"
  6022: 
  6023:               case "$x" in
  6024:                 -L*)
  6025:                   dir=`echo "X$x" | sed -e 's/^X-L//'`
  6026:                                     if test -n "$acl_shlibext"; then
  6027:                     if test -f "$dir/$libname$shrext"; then
  6028:                       found_dir="$dir"
  6029:                       found_so="$dir/$libname$shrext"
  6030:                     else
  6031:                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  6032:                         ver=`(cd "$dir" && \
  6033:                               for f in "$libname$shrext".*; do echo "$f"; done \
  6034:                               | sed -e "s,^$libname$shrext\\\\.,," \
  6035:                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  6036:                               | sed 1q ) 2>/dev/null`
  6037:                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  6038:                           found_dir="$dir"
  6039:                           found_so="$dir/$libname$shrext.$ver"
  6040:                         fi
  6041:                       else
  6042:                         eval library_names=\"$acl_library_names_spec\"
  6043:                         for f in $library_names; do
  6044:                           if test -f "$dir/$f"; then
  6045:                             found_dir="$dir"
  6046:                             found_so="$dir/$f"
  6047:                             break
  6048:                           fi
  6049:                         done
  6050:                       fi
  6051:                     fi
  6052:                   fi
  6053:                                     if test "X$found_dir" = "X"; then
  6054:                     if test -f "$dir/$libname.$acl_libext"; then
  6055:                       found_dir="$dir"
  6056:                       found_a="$dir/$libname.$acl_libext"
  6057:                     fi
  6058:                   fi
  6059:                   if test "X$found_dir" != "X"; then
  6060:                     if test -f "$dir/$libname.la"; then
  6061:                       found_la="$dir/$libname.la"
  6062:                     fi
  6063:                   fi
  6064:                   ;;
  6065:               esac
  6066:               if test "X$found_dir" != "X"; then
  6067:                 break
  6068:               fi
  6069:             done
  6070:           fi
  6071:           if test "X$found_dir" != "X"; then
  6072:                         LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$found_dir -l$name"
  6073:             if test "X$found_so" != "X"; then
  6074:                                                         if test "$enable_rpath" = no \
  6075:                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  6076:                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  6077:                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6078:               else
  6079:                                                                                 haveit=
  6080:                 for x in $ltrpathdirs; do
  6081:                   if test "X$x" = "X$found_dir"; then
  6082:                     haveit=yes
  6083:                     break
  6084:                   fi
  6085:                 done
  6086:                 if test -z "$haveit"; then
  6087:                   ltrpathdirs="$ltrpathdirs $found_dir"
  6088:                 fi
  6089:                                 if test "$acl_hardcode_direct" = yes; then
  6090:                                                       LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6091:                 else
  6092:                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  6093:                                                             LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6094:                                                             haveit=
  6095:                     for x in $rpathdirs; do
  6096:                       if test "X$x" = "X$found_dir"; then
  6097:                         haveit=yes
  6098:                         break
  6099:                       fi
  6100:                     done
  6101:                     if test -z "$haveit"; then
  6102:                       rpathdirs="$rpathdirs $found_dir"
  6103:                     fi
  6104:                   else
  6105:                                                                                 haveit=
  6106:                     for x in $LDFLAGS $LIBREADLINE; do
  6107: 
  6108:   acl_save_prefix="$prefix"
  6109:   prefix="$acl_final_prefix"
  6110:   acl_save_exec_prefix="$exec_prefix"
  6111:   exec_prefix="$acl_final_exec_prefix"
  6112:   eval x=\"$x\"
  6113:   exec_prefix="$acl_save_exec_prefix"
  6114:   prefix="$acl_save_prefix"
  6115: 
  6116:                       if test "X$x" = "X-L$found_dir"; then
  6117:                         haveit=yes
  6118:                         break
  6119:                       fi
  6120:                     done
  6121:                     if test -z "$haveit"; then
  6122:                       LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$found_dir"
  6123:                     fi
  6124:                     if test "$acl_hardcode_minus_L" != no; then
  6125:                                                                                         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
  6126:                     else
  6127:                                                                                                                                                                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-l$name"
  6128:                     fi
  6129:                   fi
  6130:                 fi
  6131:               fi
  6132:             else
  6133:               if test "X$found_a" != "X"; then
  6134:                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_a"
  6135:               else
  6136:                                                 LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$found_dir -l$name"
  6137:               fi
  6138:             fi
  6139:                         additional_includedir=
  6140:             case "$found_dir" in
  6141:               */$acl_libdirstem | */$acl_libdirstem/)
  6142:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  6143:                 if test "$name" = 'readline'; then
  6144:                   LIBREADLINE_PREFIX="$basedir"
  6145:                 fi
  6146:                 additional_includedir="$basedir/include"
  6147:                 ;;
  6148:               */$acl_libdirstem2 | */$acl_libdirstem2/)
  6149:                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  6150:                 if test "$name" = 'readline'; then
  6151:                   LIBREADLINE_PREFIX="$basedir"
  6152:                 fi
  6153:                 additional_includedir="$basedir/include"
  6154:                 ;;
  6155:             esac
  6156:             if test "X$additional_includedir" != "X"; then
  6157:                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
  6158:                 haveit=
  6159:                 if test "X$additional_includedir" = "X/usr/local/include"; then
  6160:                   if test -n "$GCC"; then
  6161:                     case $host_os in
  6162:                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  6163:                     esac
  6164:                   fi
  6165:                 fi
  6166:                 if test -z "$haveit"; then
  6167:                   for x in $CPPFLAGS $INCREADLINE; do
  6168: 
  6169:   acl_save_prefix="$prefix"
  6170:   prefix="$acl_final_prefix"
  6171:   acl_save_exec_prefix="$exec_prefix"
  6172:   exec_prefix="$acl_final_exec_prefix"
  6173:   eval x=\"$x\"
  6174:   exec_prefix="$acl_save_exec_prefix"
  6175:   prefix="$acl_save_prefix"
  6176: 
  6177:                     if test "X$x" = "X-I$additional_includedir"; then
  6178:                       haveit=yes
  6179:                       break
  6180:                     fi
  6181:                   done
  6182:                   if test -z "$haveit"; then
  6183:                     if test -d "$additional_includedir"; then
  6184:                                             INCREADLINE="${INCREADLINE}${INCREADLINE:+ }-I$additional_includedir"
  6185:                     fi
  6186:                   fi
  6187:                 fi
  6188:               fi
  6189:             fi
  6190:                         if test -n "$found_la"; then
  6191:                                                         save_libdir="$libdir"
  6192:               case "$found_la" in
  6193:                 */* | *\\*) . "$found_la" ;;
  6194:                 *) . "./$found_la" ;;
  6195:               esac
  6196:               libdir="$save_libdir"
  6197:                             for dep in $dependency_libs; do
  6198:                 case "$dep" in
  6199:                   -L*)
  6200:                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  6201:                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  6202:                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  6203:                       haveit=
  6204:                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  6205:                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  6206:                         if test -n "$GCC"; then
  6207:                           case $host_os in
  6208:                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  6209:                           esac
  6210:                         fi
  6211:                       fi
  6212:                       if test -z "$haveit"; then
  6213:                         haveit=
  6214:                         for x in $LDFLAGS $LIBREADLINE; do
  6215: 
  6216:   acl_save_prefix="$prefix"
  6217:   prefix="$acl_final_prefix"
  6218:   acl_save_exec_prefix="$exec_prefix"
  6219:   exec_prefix="$acl_final_exec_prefix"
  6220:   eval x=\"$x\"
  6221:   exec_prefix="$acl_save_exec_prefix"
  6222:   prefix="$acl_save_prefix"
  6223: 
  6224:                           if test "X$x" = "X-L$additional_libdir"; then
  6225:                             haveit=yes
  6226:                             break
  6227:                           fi
  6228:                         done
  6229:                         if test -z "$haveit"; then
  6230:                           if test -d "$additional_libdir"; then
  6231:                                                         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-L$additional_libdir"
  6232:                           fi
  6233:                         fi
  6234:                         haveit=
  6235:                         for x in $LDFLAGS $LTLIBREADLINE; do
  6236: 
  6237:   acl_save_prefix="$prefix"
  6238:   prefix="$acl_final_prefix"
  6239:   acl_save_exec_prefix="$exec_prefix"
  6240:   exec_prefix="$acl_final_exec_prefix"
  6241:   eval x=\"$x\"
  6242:   exec_prefix="$acl_save_exec_prefix"
  6243:   prefix="$acl_save_prefix"
  6244: 
  6245:                           if test "X$x" = "X-L$additional_libdir"; then
  6246:                             haveit=yes
  6247:                             break
  6248:                           fi
  6249:                         done
  6250:                         if test -z "$haveit"; then
  6251:                           if test -d "$additional_libdir"; then
  6252:                                                         LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$additional_libdir"
  6253:                           fi
  6254:                         fi
  6255:                       fi
  6256:                     fi
  6257:                     ;;
  6258:                   -R*)
  6259:                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
  6260:                     if test "$enable_rpath" != no; then
  6261:                                                                   haveit=
  6262:                       for x in $rpathdirs; do
  6263:                         if test "X$x" = "X$dir"; then
  6264:                           haveit=yes
  6265:                           break
  6266:                         fi
  6267:                       done
  6268:                       if test -z "$haveit"; then
  6269:                         rpathdirs="$rpathdirs $dir"
  6270:                       fi
  6271:                                                                   haveit=
  6272:                       for x in $ltrpathdirs; do
  6273:                         if test "X$x" = "X$dir"; then
  6274:                           haveit=yes
  6275:                           break
  6276:                         fi
  6277:                       done
  6278:                       if test -z "$haveit"; then
  6279:                         ltrpathdirs="$ltrpathdirs $dir"
  6280:                       fi
  6281:                     fi
  6282:                     ;;
  6283:                   -l*)
  6284:                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  6285:                     ;;
  6286:                   *.la)
  6287:                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  6288:                     ;;
  6289:                   *)
  6290:                                         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$dep"
  6291:                     LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }$dep"
  6292:                     ;;
  6293:                 esac
  6294:               done
  6295:             fi
  6296:           else
  6297:                                                             LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }-l$name"
  6298:             LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-l$name"
  6299:           fi
  6300:         fi
  6301:       fi
  6302:     done
  6303:   done
  6304:   if test "X$rpathdirs" != "X"; then
  6305:     if test -n "$acl_hardcode_libdir_separator"; then
  6306:                         alldirs=
  6307:       for found_dir in $rpathdirs; do
  6308:         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  6309:       done
  6310:             acl_save_libdir="$libdir"
  6311:       libdir="$alldirs"
  6312:       eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6313:       libdir="$acl_save_libdir"
  6314:       LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$flag"
  6315:     else
  6316:             for found_dir in $rpathdirs; do
  6317:         acl_save_libdir="$libdir"
  6318:         libdir="$found_dir"
  6319:         eval flag=\"$acl_hardcode_libdir_flag_spec\"
  6320:         libdir="$acl_save_libdir"
  6321:         LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$flag"
  6322:       done
  6323:     fi
  6324:   fi
  6325:   if test "X$ltrpathdirs" != "X"; then
  6326:             for found_dir in $ltrpathdirs; do
  6327:       LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-R$found_dir"
  6328:     done
  6329:   fi
  6330: 
  6331: 
  6332: 
  6333: 
  6334: 
  6335: 
  6336: 
  6337:           am_save_CPPFLAGS="$CPPFLAGS"
  6338: 
  6339:   for element in $INCREADLINE; do
  6340:     haveit=
  6341:     for x in $CPPFLAGS; do
  6342: 
  6343:   acl_save_prefix="$prefix"
  6344:   prefix="$acl_final_prefix"
  6345:   acl_save_exec_prefix="$exec_prefix"
  6346:   exec_prefix="$acl_final_exec_prefix"
  6347:   eval x=\"$x\"
  6348:   exec_prefix="$acl_save_exec_prefix"
  6349:   prefix="$acl_save_prefix"
  6350: 
  6351:       if test "X$x" = "X$element"; then
  6352:         haveit=yes
  6353:         break
  6354:       fi
  6355:     done
  6356:     if test -z "$haveit"; then
  6357:       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  6358:     fi
  6359:   done
  6360: 
  6361: 
  6362:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
  6363: $as_echo_n "checking for readline... " >&6; }
  6364: if ${gl_cv_lib_readline+:} false; then :
  6365:   $as_echo_n "(cached) " >&6
  6366: else
  6367: 
  6368:     gl_cv_lib_readline=no
  6369:     am_save_LIBS="$LIBS"
  6370:                         for extra_lib in "" ncurses termcap curses; do
  6371:       LIBS="$am_save_LIBS $LIBREADLINE"
  6372:       if test -n "$extra_lib"; then
  6373:         LIBS="$LIBS -l$extra_lib"
  6374:       fi
  6375:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6376: /* end confdefs.h.  */
  6377: #include <stdio.h>
  6378: #include <readline/readline.h>
  6379: int
  6380: main ()
  6381: {
  6382: readline((char*)0);
  6383:   ;
  6384:   return 0;
  6385: }
  6386: _ACEOF
  6387: if ac_fn_c_try_link "$LINENO"; then :
  6388:   if test -n "$extra_lib"; then
  6389:            gl_cv_lib_readline="yes, requires -l$extra_lib"
  6390:          else
  6391:            gl_cv_lib_readline="yes"
  6392:          fi
  6393: 
  6394: fi
  6395: rm -f core conftest.err conftest.$ac_objext \
  6396:     conftest$ac_exeext conftest.$ac_ext
  6397:       if test "$gl_cv_lib_readline" != no; then
  6398:         break
  6399:       fi
  6400:     done
  6401:     LIBS="$am_save_LIBS"
  6402: 
  6403: fi
  6404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_readline" >&5
  6405: $as_echo "$gl_cv_lib_readline" >&6; }
  6406: 
  6407:   if test "$gl_cv_lib_readline" != no; then
  6408: 
  6409: $as_echo "#define HAVE_READLINE 1" >>confdefs.h
  6410: 
  6411:     extra_lib=`echo "$gl_cv_lib_readline" | sed -n -e 's/yes, requires //p'`
  6412:     if test -n "$extra_lib"; then
  6413:       LIBREADLINE="$LIBREADLINE $extra_lib"
  6414:       LTLIBREADLINE="$LTLIBREADLINE $extra_lib"
  6415:     fi
  6416:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libreadline" >&5
  6417: $as_echo_n "checking how to link with libreadline... " >&6; }
  6418:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBREADLINE" >&5
  6419: $as_echo "$LIBREADLINE" >&6; }
  6420:   else
  6421:             CPPFLAGS="$am_save_CPPFLAGS"
  6422:     LIBREADLINE=
  6423:     LTLIBREADLINE=
  6424:   fi
  6425: 
  6426: 
  6427: 
  6428:   for ac_header in readline/readline.h readline/history.h
  6429: do :
  6430:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6431: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6432: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6433:   cat >>confdefs.h <<_ACEOF
  6434: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6435: _ACEOF
  6436: 
  6437: fi
  6438: 
  6439: done
  6440: 
  6441: 
  6442: 
  6443: # Checks for header files.
  6444: for ac_header in inttypes.h limits.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h
  6445: do :
  6446:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6447: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6448: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6449:   cat >>confdefs.h <<_ACEOF
  6450: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6451: _ACEOF
  6452: 
  6453: fi
  6454: 
  6455: done
  6456: 
  6457: 
  6458: # Checks for typedefs, structures, and compiler characteristics.
  6459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  6460: $as_echo_n "checking for inline... " >&6; }
  6461: if ${ac_cv_c_inline+:} false; then :
  6462:   $as_echo_n "(cached) " >&6
  6463: else
  6464:   ac_cv_c_inline=no
  6465: for ac_kw in inline __inline__ __inline; do
  6466:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6467: /* end confdefs.h.  */
  6468: #ifndef __cplusplus
  6469: typedef int foo_t;
  6470: static $ac_kw foo_t static_foo () {return 0; }
  6471: $ac_kw foo_t foo () {return 0; }
  6472: #endif
  6473: 
  6474: _ACEOF
  6475: if ac_fn_c_try_compile "$LINENO"; then :
  6476:   ac_cv_c_inline=$ac_kw
  6477: fi
  6478: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6479:   test "$ac_cv_c_inline" != no && break
  6480: done
  6481: 
  6482: fi
  6483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  6484: $as_echo "$ac_cv_c_inline" >&6; }
  6485: 
  6486: case $ac_cv_c_inline in
  6487:   inline | yes) ;;
  6488:   *)
  6489:     case $ac_cv_c_inline in
  6490:       no) ac_val=;;
  6491:       *) ac_val=$ac_cv_c_inline;;
  6492:     esac
  6493:     cat >>confdefs.h <<_ACEOF
  6494: #ifndef __cplusplus
  6495: #define inline $ac_val
  6496: #endif
  6497: _ACEOF
  6498:     ;;
  6499: esac
  6500: 
  6501: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  6502: if test "x$ac_cv_type_size_t" = xyes; then :
  6503: 
  6504: else
  6505: 
  6506: cat >>confdefs.h <<_ACEOF
  6507: #define size_t unsigned int
  6508: _ACEOF
  6509: 
  6510: fi
  6511: 
  6512: 
  6513: # Checks for library functions.
  6514: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  6515: # for constant arguments.  Useless!
  6516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  6517: $as_echo_n "checking for working alloca.h... " >&6; }
  6518: if ${ac_cv_working_alloca_h+:} false; then :
  6519:   $as_echo_n "(cached) " >&6
  6520: else
  6521:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6522: /* end confdefs.h.  */
  6523: #include <alloca.h>
  6524: int
  6525: main ()
  6526: {
  6527: char *p = (char *) alloca (2 * sizeof (int));
  6528: 			  if (p) return 0;
  6529:   ;
  6530:   return 0;
  6531: }
  6532: _ACEOF
  6533: if ac_fn_c_try_link "$LINENO"; then :
  6534:   ac_cv_working_alloca_h=yes
  6535: else
  6536:   ac_cv_working_alloca_h=no
  6537: fi
  6538: rm -f core conftest.err conftest.$ac_objext \
  6539:     conftest$ac_exeext conftest.$ac_ext
  6540: fi
  6541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  6542: $as_echo "$ac_cv_working_alloca_h" >&6; }
  6543: if test $ac_cv_working_alloca_h = yes; then
  6544: 
  6545: $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  6546: 
  6547: fi
  6548: 
  6549: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  6550: $as_echo_n "checking for alloca... " >&6; }
  6551: if ${ac_cv_func_alloca_works+:} false; then :
  6552:   $as_echo_n "(cached) " >&6
  6553: else
  6554:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6555: /* end confdefs.h.  */
  6556: #ifdef __GNUC__
  6557: # define alloca __builtin_alloca
  6558: #else
  6559: # ifdef _MSC_VER
  6560: #  include <malloc.h>
  6561: #  define alloca _alloca
  6562: # else
  6563: #  ifdef HAVE_ALLOCA_H
  6564: #   include <alloca.h>
  6565: #  else
  6566: #   ifdef _AIX
  6567:  #pragma alloca
  6568: #   else
  6569: #    ifndef alloca /* predefined by HP cc +Olibcalls */
  6570: void *alloca (size_t);
  6571: #    endif
  6572: #   endif
  6573: #  endif
  6574: # endif
  6575: #endif
  6576: 
  6577: int
  6578: main ()
  6579: {
  6580: char *p = (char *) alloca (1);
  6581: 				    if (p) return 0;
  6582:   ;
  6583:   return 0;
  6584: }
  6585: _ACEOF
  6586: if ac_fn_c_try_link "$LINENO"; then :
  6587:   ac_cv_func_alloca_works=yes
  6588: else
  6589:   ac_cv_func_alloca_works=no
  6590: fi
  6591: rm -f core conftest.err conftest.$ac_objext \
  6592:     conftest$ac_exeext conftest.$ac_ext
  6593: fi
  6594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  6595: $as_echo "$ac_cv_func_alloca_works" >&6; }
  6596: 
  6597: if test $ac_cv_func_alloca_works = yes; then
  6598: 
  6599: $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  6600: 
  6601: else
  6602:   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  6603: # that cause trouble.  Some versions do not even contain alloca or
  6604: # contain a buggy version.  If you still want to use their alloca,
  6605: # use ar to extract alloca.o from them instead of compiling alloca.c.
  6606: 
  6607: ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  6608: 
  6609: $as_echo "#define C_ALLOCA 1" >>confdefs.h
  6610: 
  6611: 
  6612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  6613: $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  6614: if ${ac_cv_os_cray+:} false; then :
  6615:   $as_echo_n "(cached) " >&6
  6616: else
  6617:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6618: /* end confdefs.h.  */
  6619: #if defined CRAY && ! defined CRAY2
  6620: webecray
  6621: #else
  6622: wenotbecray
  6623: #endif
  6624: 
  6625: _ACEOF
  6626: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6627:   $EGREP "webecray" >/dev/null 2>&1; then :
  6628:   ac_cv_os_cray=yes
  6629: else
  6630:   ac_cv_os_cray=no
  6631: fi
  6632: rm -f conftest*
  6633: 
  6634: fi
  6635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  6636: $as_echo "$ac_cv_os_cray" >&6; }
  6637: if test $ac_cv_os_cray = yes; then
  6638:   for ac_func in _getb67 GETB67 getb67; do
  6639:     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6640: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  6641: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  6642: 
  6643: cat >>confdefs.h <<_ACEOF
  6644: #define CRAY_STACKSEG_END $ac_func
  6645: _ACEOF
  6646: 
  6647:     break
  6648: fi
  6649: 
  6650:   done
  6651: fi
  6652: 
  6653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  6654: $as_echo_n "checking stack direction for C alloca... " >&6; }
  6655: if ${ac_cv_c_stack_direction+:} false; then :
  6656:   $as_echo_n "(cached) " >&6
  6657: else
  6658:   if test "$cross_compiling" = yes; then :
  6659:   ac_cv_c_stack_direction=0
  6660: else
  6661:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6662: /* end confdefs.h.  */
  6663: $ac_includes_default
  6664: int
  6665: find_stack_direction (int *addr, int depth)
  6666: {
  6667:   int dir, dummy = 0;
  6668:   if (! addr)
  6669:     addr = &dummy;
  6670:   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  6671:   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  6672:   return dir + dummy;
  6673: }
  6674: 
  6675: int
  6676: main (int argc, char **argv)
  6677: {
  6678:   return find_stack_direction (0, argc + !argv + 20) < 0;
  6679: }
  6680: _ACEOF
  6681: if ac_fn_c_try_run "$LINENO"; then :
  6682:   ac_cv_c_stack_direction=1
  6683: else
  6684:   ac_cv_c_stack_direction=-1
  6685: fi
  6686: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6687:   conftest.$ac_objext conftest.beam conftest.$ac_ext
  6688: fi
  6689: 
  6690: fi
  6691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  6692: $as_echo "$ac_cv_c_stack_direction" >&6; }
  6693: cat >>confdefs.h <<_ACEOF
  6694: #define STACK_DIRECTION $ac_cv_c_stack_direction
  6695: _ACEOF
  6696: 
  6697: 
  6698: fi
  6699: 
  6700: for ac_header in stdlib.h
  6701: do :
  6702:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  6703: if test "x$ac_cv_header_stdlib_h" = xyes; then :
  6704:   cat >>confdefs.h <<_ACEOF
  6705: #define HAVE_STDLIB_H 1
  6706: _ACEOF
  6707: 
  6708: fi
  6709: 
  6710: done
  6711: 
  6712: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  6713: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  6714: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  6715:   $as_echo_n "(cached) " >&6
  6716: else
  6717:   if test "$cross_compiling" = yes; then :
  6718:   ac_cv_func_malloc_0_nonnull=no
  6719: else
  6720:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6721: /* end confdefs.h.  */
  6722: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
  6723: # include <stdlib.h>
  6724: #else
  6725: char *malloc ();
  6726: #endif
  6727: 
  6728: int
  6729: main ()
  6730: {
  6731: return ! malloc (0);
  6732:   ;
  6733:   return 0;
  6734: }
  6735: _ACEOF
  6736: if ac_fn_c_try_run "$LINENO"; then :
  6737:   ac_cv_func_malloc_0_nonnull=yes
  6738: else
  6739:   ac_cv_func_malloc_0_nonnull=no
  6740: fi
  6741: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6742:   conftest.$ac_objext conftest.beam conftest.$ac_ext
  6743: fi
  6744: 
  6745: fi
  6746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  6747: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  6748: if test $ac_cv_func_malloc_0_nonnull = yes; then :
  6749: 
  6750: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
  6751: 
  6752: else
  6753:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
  6754: 
  6755:    case " $LIBOBJS " in
  6756:   *" malloc.$ac_objext "* ) ;;
  6757:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  6758:  ;;
  6759: esac
  6760: 
  6761: 
  6762: $as_echo "#define malloc rpl_malloc" >>confdefs.h
  6763: 
  6764: fi
  6765: 
  6766: 
  6767: for ac_func in gettimeofday memset strtol
  6768: do :
  6769:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6770: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  6771: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  6772:   cat >>confdefs.h <<_ACEOF
  6773: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6774: _ACEOF
  6775: 
  6776: fi
  6777: done
  6778: 
  6779: 
  6780: case `pwd` in
  6781:   *\ * | *\	*)
  6782:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  6783: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  6784: esac
  6785: 
  6786: 
  6787: 
  6788: macro_version='2.4.6'
  6789: macro_revision='2.4.6'
  6790: 
  6791: 
  6792: 
  6793: 
  6794: 
  6795: 
  6796: 
  6797: 
  6798: 
  6799: 
  6800: 
  6801: 
  6802: 
  6803: ltmain=$ac_aux_dir/ltmain.sh
  6804: 
  6805: # Backslashify metacharacters that are still active within
  6806: # double-quoted strings.
  6807: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  6808: 
  6809: # Same as above, but do not quote variable references.
  6810: double_quote_subst='s/\(["`\\]\)/\\\1/g'
  6811: 
  6812: # Sed substitution to delay expansion of an escaped shell variable in a
  6813: # double_quote_subst'ed string.
  6814: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  6815: 
  6816: # Sed substitution to delay expansion of an escaped single quote.
  6817: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  6818: 
  6819: # Sed substitution to avoid accidental globbing in evaled expressions
  6820: no_glob_subst='s/\*/\\\*/g'
  6821: 
  6822: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  6823: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  6824: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  6825: 
  6826: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  6827: $as_echo_n "checking how to print strings... " >&6; }
  6828: # Test print first, because it will be a builtin if present.
  6829: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  6830:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  6831:   ECHO='print -r --'
  6832: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  6833:   ECHO='printf %s\n'
  6834: else
  6835:   # Use this function as a fallback that always works.
  6836:   func_fallback_echo ()
  6837:   {
  6838:     eval 'cat <<_LTECHO_EOF
  6839: $1
  6840: _LTECHO_EOF'
  6841:   }
  6842:   ECHO='func_fallback_echo'
  6843: fi
  6844: 
  6845: # func_echo_all arg...
  6846: # Invoke $ECHO with all args, space-separated.
  6847: func_echo_all ()
  6848: {
  6849:     $ECHO ""
  6850: }
  6851: 
  6852: case $ECHO in
  6853:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  6854: $as_echo "printf" >&6; } ;;
  6855:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  6856: $as_echo "print -r" >&6; } ;;
  6857:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  6858: $as_echo "cat" >&6; } ;;
  6859: esac
  6860: 
  6861: 
  6862: 
  6863: 
  6864: 
  6865: 
  6866: 
  6867: 
  6868: 
  6869: 
  6870: 
  6871: 
  6872: 
  6873: 
  6874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  6875: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  6876: if ${ac_cv_path_SED+:} false; then :
  6877:   $as_echo_n "(cached) " >&6
  6878: else
  6879:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  6880:      for ac_i in 1 2 3 4 5 6 7; do
  6881:        ac_script="$ac_script$as_nl$ac_script"
  6882:      done
  6883:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  6884:      { ac_script=; unset ac_script;}
  6885:      if test -z "$SED"; then
  6886:   ac_path_SED_found=false
  6887:   # Loop through the user's path and test for each of PROGNAME-LIST
  6888:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6889: for as_dir in $PATH
  6890: do
  6891:   IFS=$as_save_IFS
  6892:   test -z "$as_dir" && as_dir=.
  6893:     for ac_prog in sed gsed; do
  6894:     for ac_exec_ext in '' $ac_executable_extensions; do
  6895:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  6896:       as_fn_executable_p "$ac_path_SED" || continue
  6897: # Check for GNU ac_path_SED and select it if it is found.
  6898:   # Check for GNU $ac_path_SED
  6899: case `"$ac_path_SED" --version 2>&1` in
  6900: *GNU*)
  6901:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  6902: *)
  6903:   ac_count=0
  6904:   $as_echo_n 0123456789 >"conftest.in"
  6905:   while :
  6906:   do
  6907:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6908:     mv "conftest.tmp" "conftest.in"
  6909:     cp "conftest.in" "conftest.nl"
  6910:     $as_echo '' >> "conftest.nl"
  6911:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6912:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6913:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  6914:     if test $ac_count -gt ${ac_path_SED_max-0}; then
  6915:       # Best one so far, save it but keep looking for a better one
  6916:       ac_cv_path_SED="$ac_path_SED"
  6917:       ac_path_SED_max=$ac_count
  6918:     fi
  6919:     # 10*(2^10) chars as input seems more than enough
  6920:     test $ac_count -gt 10 && break
  6921:   done
  6922:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6923: esac
  6924: 
  6925:       $ac_path_SED_found && break 3
  6926:     done
  6927:   done
  6928:   done
  6929: IFS=$as_save_IFS
  6930:   if test -z "$ac_cv_path_SED"; then
  6931:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  6932:   fi
  6933: else
  6934:   ac_cv_path_SED=$SED
  6935: fi
  6936: 
  6937: fi
  6938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  6939: $as_echo "$ac_cv_path_SED" >&6; }
  6940:  SED="$ac_cv_path_SED"
  6941:   rm -f conftest.sed
  6942: 
  6943: test -z "$SED" && SED=sed
  6944: Xsed="$SED -e 1s/^X//"
  6945: 
  6946: 
  6947: 
  6948: 
  6949: 
  6950: 
  6951: 
  6952: 
  6953: 
  6954: 
  6955: 
  6956: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  6957: $as_echo_n "checking for fgrep... " >&6; }
  6958: if ${ac_cv_path_FGREP+:} false; then :
  6959:   $as_echo_n "(cached) " >&6
  6960: else
  6961:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  6962:    then ac_cv_path_FGREP="$GREP -F"
  6963:    else
  6964:      if test -z "$FGREP"; then
  6965:   ac_path_FGREP_found=false
  6966:   # Loop through the user's path and test for each of PROGNAME-LIST
  6967:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6968: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6969: do
  6970:   IFS=$as_save_IFS
  6971:   test -z "$as_dir" && as_dir=.
  6972:     for ac_prog in fgrep; do
  6973:     for ac_exec_ext in '' $ac_executable_extensions; do
  6974:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  6975:       as_fn_executable_p "$ac_path_FGREP" || continue
  6976: # Check for GNU ac_path_FGREP and select it if it is found.
  6977:   # Check for GNU $ac_path_FGREP
  6978: case `"$ac_path_FGREP" --version 2>&1` in
  6979: *GNU*)
  6980:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  6981: *)
  6982:   ac_count=0
  6983:   $as_echo_n 0123456789 >"conftest.in"
  6984:   while :
  6985:   do
  6986:     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6987:     mv "conftest.tmp" "conftest.in"
  6988:     cp "conftest.in" "conftest.nl"
  6989:     $as_echo 'FGREP' >> "conftest.nl"
  6990:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6991:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6992:     as_fn_arith $ac_count + 1 && ac_count=$as_val
  6993:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  6994:       # Best one so far, save it but keep looking for a better one
  6995:       ac_cv_path_FGREP="$ac_path_FGREP"
  6996:       ac_path_FGREP_max=$ac_count
  6997:     fi
  6998:     # 10*(2^10) chars as input seems more than enough
  6999:     test $ac_count -gt 10 && break
  7000:   done
  7001:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7002: esac
  7003: 
  7004:       $ac_path_FGREP_found && break 3
  7005:     done
  7006:   done
  7007:   done
  7008: IFS=$as_save_IFS
  7009:   if test -z "$ac_cv_path_FGREP"; then
  7010:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  7011:   fi
  7012: else
  7013:   ac_cv_path_FGREP=$FGREP
  7014: fi
  7015: 
  7016:    fi
  7017: fi
  7018: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  7019: $as_echo "$ac_cv_path_FGREP" >&6; }
  7020:  FGREP="$ac_cv_path_FGREP"
  7021: 
  7022: 
  7023: test -z "$GREP" && GREP=grep
  7024: 
  7025: 
  7026: 
  7027: 
  7028: 
  7029: 
  7030: 
  7031: 
  7032: 
  7033: 
  7034: 
  7035: 
  7036: 
  7037: 
  7038: 
  7039: 
  7040: 
  7041: 
  7042: 
  7043: # Check whether --with-gnu-ld was given.
  7044: if test "${with_gnu_ld+set}" = set; then :
  7045:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  7046: else
  7047:   with_gnu_ld=no
  7048: fi
  7049: 
  7050: ac_prog=ld
  7051: if test yes = "$GCC"; then
  7052:   # Check if gcc -print-prog-name=ld gives a path.
  7053:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  7054: $as_echo_n "checking for ld used by $CC... " >&6; }
  7055:   case $host in
  7056:   *-*-mingw*)
  7057:     # gcc leaves a trailing carriage return, which upsets mingw
  7058:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  7059:   *)
  7060:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  7061:   esac
  7062:   case $ac_prog in
  7063:     # Accept absolute paths.
  7064:     [\\/]* | ?:[\\/]*)
  7065:       re_direlt='/[^/][^/]*/\.\./'
  7066:       # Canonicalize the pathname of ld
  7067:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  7068:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  7069: 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  7070:       done
  7071:       test -z "$LD" && LD=$ac_prog
  7072:       ;;
  7073:   "")
  7074:     # If it fails, then pretend we aren't using GCC.
  7075:     ac_prog=ld
  7076:     ;;
  7077:   *)
  7078:     # If it is relative, then search for the first ld in PATH.
  7079:     with_gnu_ld=unknown
  7080:     ;;
  7081:   esac
  7082: elif test yes = "$with_gnu_ld"; then
  7083:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  7084: $as_echo_n "checking for GNU ld... " >&6; }
  7085: else
  7086:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  7087: $as_echo_n "checking for non-GNU ld... " >&6; }
  7088: fi
  7089: if ${lt_cv_path_LD+:} false; then :
  7090:   $as_echo_n "(cached) " >&6
  7091: else
  7092:   if test -z "$LD"; then
  7093:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7094:   for ac_dir in $PATH; do
  7095:     IFS=$lt_save_ifs
  7096:     test -z "$ac_dir" && ac_dir=.
  7097:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  7098:       lt_cv_path_LD=$ac_dir/$ac_prog
  7099:       # Check to see if the program is GNU ld.  I'd rather use --version,
  7100:       # but apparently some variants of GNU ld only accept -v.
  7101:       # Break only if it was the GNU/non-GNU ld that we prefer.
  7102:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  7103:       *GNU* | *'with BFD'*)
  7104: 	test no != "$with_gnu_ld" && break
  7105: 	;;
  7106:       *)
  7107: 	test yes != "$with_gnu_ld" && break
  7108: 	;;
  7109:       esac
  7110:     fi
  7111:   done
  7112:   IFS=$lt_save_ifs
  7113: else
  7114:   lt_cv_path_LD=$LD # Let the user override the test with a path.
  7115: fi
  7116: fi
  7117: 
  7118: LD=$lt_cv_path_LD
  7119: if test -n "$LD"; then
  7120:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  7121: $as_echo "$LD" >&6; }
  7122: else
  7123:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7124: $as_echo "no" >&6; }
  7125: fi
  7126: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  7127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  7128: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  7129: if ${lt_cv_prog_gnu_ld+:} false; then :
  7130:   $as_echo_n "(cached) " >&6
  7131: else
  7132:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  7133: case `$LD -v 2>&1 </dev/null` in
  7134: *GNU* | *'with BFD'*)
  7135:   lt_cv_prog_gnu_ld=yes
  7136:   ;;
  7137: *)
  7138:   lt_cv_prog_gnu_ld=no
  7139:   ;;
  7140: esac
  7141: fi
  7142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  7143: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  7144: with_gnu_ld=$lt_cv_prog_gnu_ld
  7145: 
  7146: 
  7147: 
  7148: 
  7149: 
  7150: 
  7151: 
  7152: 
  7153: 
  7154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  7155: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  7156: if ${lt_cv_path_NM+:} false; then :
  7157:   $as_echo_n "(cached) " >&6
  7158: else
  7159:   if test -n "$NM"; then
  7160:   # Let the user override the test.
  7161:   lt_cv_path_NM=$NM
  7162: else
  7163:   lt_nm_to_check=${ac_tool_prefix}nm
  7164:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  7165:     lt_nm_to_check="$lt_nm_to_check nm"
  7166:   fi
  7167:   for lt_tmp_nm in $lt_nm_to_check; do
  7168:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  7169:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  7170:       IFS=$lt_save_ifs
  7171:       test -z "$ac_dir" && ac_dir=.
  7172:       tmp_nm=$ac_dir/$lt_tmp_nm
  7173:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  7174: 	# Check to see if the nm accepts a BSD-compat flag.
  7175: 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  7176: 	#   nm: unknown option "B" ignored
  7177: 	# Tru64's nm complains that /dev/null is an invalid object file
  7178: 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  7179: 	case $build_os in
  7180: 	mingw*) lt_bad_file=conftest.nm/nofile ;;
  7181: 	*) lt_bad_file=/dev/null ;;
  7182: 	esac
  7183: 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  7184: 	*$lt_bad_file* | *'Invalid file or object type'*)
  7185: 	  lt_cv_path_NM="$tmp_nm -B"
  7186: 	  break 2
  7187: 	  ;;
  7188: 	*)
  7189: 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  7190: 	  */dev/null*)
  7191: 	    lt_cv_path_NM="$tmp_nm -p"
  7192: 	    break 2
  7193: 	    ;;
  7194: 	  *)
  7195: 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  7196: 	    continue # so that we can try to find one that supports BSD flags
  7197: 	    ;;
  7198: 	  esac
  7199: 	  ;;
  7200: 	esac
  7201:       fi
  7202:     done
  7203:     IFS=$lt_save_ifs
  7204:   done
  7205:   : ${lt_cv_path_NM=no}
  7206: fi
  7207: fi
  7208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  7209: $as_echo "$lt_cv_path_NM" >&6; }
  7210: if test no != "$lt_cv_path_NM"; then
  7211:   NM=$lt_cv_path_NM
  7212: else
  7213:   # Didn't find any BSD compatible name lister, look for dumpbin.
  7214:   if test -n "$DUMPBIN"; then :
  7215:     # Let the user override the test.
  7216:   else
  7217:     if test -n "$ac_tool_prefix"; then
  7218:   for ac_prog in dumpbin "link -dump"
  7219:   do
  7220:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7221: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7223: $as_echo_n "checking for $ac_word... " >&6; }
  7224: if ${ac_cv_prog_DUMPBIN+:} false; then :
  7225:   $as_echo_n "(cached) " >&6
  7226: else
  7227:   if test -n "$DUMPBIN"; then
  7228:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  7229: else
  7230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7231: for as_dir in $PATH
  7232: do
  7233:   IFS=$as_save_IFS
  7234:   test -z "$as_dir" && as_dir=.
  7235:     for ac_exec_ext in '' $ac_executable_extensions; do
  7236:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7237:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  7238:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7239:     break 2
  7240:   fi
  7241: done
  7242:   done
  7243: IFS=$as_save_IFS
  7244: 
  7245: fi
  7246: fi
  7247: DUMPBIN=$ac_cv_prog_DUMPBIN
  7248: if test -n "$DUMPBIN"; then
  7249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  7250: $as_echo "$DUMPBIN" >&6; }
  7251: else
  7252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7253: $as_echo "no" >&6; }
  7254: fi
  7255: 
  7256: 
  7257:     test -n "$DUMPBIN" && break
  7258:   done
  7259: fi
  7260: if test -z "$DUMPBIN"; then
  7261:   ac_ct_DUMPBIN=$DUMPBIN
  7262:   for ac_prog in dumpbin "link -dump"
  7263: do
  7264:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  7265: set dummy $ac_prog; ac_word=$2
  7266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7267: $as_echo_n "checking for $ac_word... " >&6; }
  7268: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  7269:   $as_echo_n "(cached) " >&6
  7270: else
  7271:   if test -n "$ac_ct_DUMPBIN"; then
  7272:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  7273: else
  7274: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7275: for as_dir in $PATH
  7276: do
  7277:   IFS=$as_save_IFS
  7278:   test -z "$as_dir" && as_dir=.
  7279:     for ac_exec_ext in '' $ac_executable_extensions; do
  7280:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7281:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  7282:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7283:     break 2
  7284:   fi
  7285: done
  7286:   done
  7287: IFS=$as_save_IFS
  7288: 
  7289: fi
  7290: fi
  7291: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  7292: if test -n "$ac_ct_DUMPBIN"; then
  7293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  7294: $as_echo "$ac_ct_DUMPBIN" >&6; }
  7295: else
  7296:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7297: $as_echo "no" >&6; }
  7298: fi
  7299: 
  7300: 
  7301:   test -n "$ac_ct_DUMPBIN" && break
  7302: done
  7303: 
  7304:   if test "x$ac_ct_DUMPBIN" = x; then
  7305:     DUMPBIN=":"
  7306:   else
  7307:     case $cross_compiling:$ac_tool_warned in
  7308: yes:)
  7309: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7310: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7311: ac_tool_warned=yes ;;
  7312: esac
  7313:     DUMPBIN=$ac_ct_DUMPBIN
  7314:   fi
  7315: fi
  7316: 
  7317:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  7318:     *COFF*)
  7319:       DUMPBIN="$DUMPBIN -symbols -headers"
  7320:       ;;
  7321:     *)
  7322:       DUMPBIN=:
  7323:       ;;
  7324:     esac
  7325:   fi
  7326: 
  7327:   if test : != "$DUMPBIN"; then
  7328:     NM=$DUMPBIN
  7329:   fi
  7330: fi
  7331: test -z "$NM" && NM=nm
  7332: 
  7333: 
  7334: 
  7335: 
  7336: 
  7337: 
  7338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  7339: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  7340: if ${lt_cv_nm_interface+:} false; then :
  7341:   $as_echo_n "(cached) " >&6
  7342: else
  7343:   lt_cv_nm_interface="BSD nm"
  7344:   echo "int some_variable = 0;" > conftest.$ac_ext
  7345:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  7346:   (eval "$ac_compile" 2>conftest.err)
  7347:   cat conftest.err >&5
  7348:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  7349:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  7350:   cat conftest.err >&5
  7351:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  7352:   cat conftest.out >&5
  7353:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  7354:     lt_cv_nm_interface="MS dumpbin"
  7355:   fi
  7356:   rm -f conftest*
  7357: fi
  7358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  7359: $as_echo "$lt_cv_nm_interface" >&6; }
  7360: 
  7361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  7362: $as_echo_n "checking whether ln -s works... " >&6; }
  7363: LN_S=$as_ln_s
  7364: if test "$LN_S" = "ln -s"; then
  7365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7366: $as_echo "yes" >&6; }
  7367: else
  7368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  7369: $as_echo "no, using $LN_S" >&6; }
  7370: fi
  7371: 
  7372: # find the maximum length of command line arguments
  7373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  7374: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  7375: if ${lt_cv_sys_max_cmd_len+:} false; then :
  7376:   $as_echo_n "(cached) " >&6
  7377: else
  7378:     i=0
  7379:   teststring=ABCD
  7380: 
  7381:   case $build_os in
  7382:   msdosdjgpp*)
  7383:     # On DJGPP, this test can blow up pretty badly due to problems in libc
  7384:     # (any single argument exceeding 2000 bytes causes a buffer overrun
  7385:     # during glob expansion).  Even if it were fixed, the result of this
  7386:     # check would be larger than it should be.
  7387:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  7388:     ;;
  7389: 
  7390:   gnu*)
  7391:     # Under GNU Hurd, this test is not required because there is
  7392:     # no limit to the length of command line arguments.
  7393:     # Libtool will interpret -1 as no limit whatsoever
  7394:     lt_cv_sys_max_cmd_len=-1;
  7395:     ;;
  7396: 
  7397:   cygwin* | mingw* | cegcc*)
  7398:     # On Win9x/ME, this test blows up -- it succeeds, but takes
  7399:     # about 5 minutes as the teststring grows exponentially.
  7400:     # Worse, since 9x/ME are not pre-emptively multitasking,
  7401:     # you end up with a "frozen" computer, even though with patience
  7402:     # the test eventually succeeds (with a max line length of 256k).
  7403:     # Instead, let's just punt: use the minimum linelength reported by
  7404:     # all of the supported platforms: 8192 (on NT/2K/XP).
  7405:     lt_cv_sys_max_cmd_len=8192;
  7406:     ;;
  7407: 
  7408:   mint*)
  7409:     # On MiNT this can take a long time and run out of memory.
  7410:     lt_cv_sys_max_cmd_len=8192;
  7411:     ;;
  7412: 
  7413:   amigaos*)
  7414:     # On AmigaOS with pdksh, this test takes hours, literally.
  7415:     # So we just punt and use a minimum line length of 8192.
  7416:     lt_cv_sys_max_cmd_len=8192;
  7417:     ;;
  7418: 
  7419:   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  7420:     # This has been around since 386BSD, at least.  Likely further.
  7421:     if test -x /sbin/sysctl; then
  7422:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  7423:     elif test -x /usr/sbin/sysctl; then
  7424:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  7425:     else
  7426:       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  7427:     fi
  7428:     # And add a safety zone
  7429:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  7430:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  7431:     ;;
  7432: 
  7433:   interix*)
  7434:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  7435:     lt_cv_sys_max_cmd_len=196608
  7436:     ;;
  7437: 
  7438:   os2*)
  7439:     # The test takes a long time on OS/2.
  7440:     lt_cv_sys_max_cmd_len=8192
  7441:     ;;
  7442: 
  7443:   osf*)
  7444:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  7445:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  7446:     # nice to cause kernel panics so lets avoid the loop below.
  7447:     # First set a reasonable default.
  7448:     lt_cv_sys_max_cmd_len=16384
  7449:     #
  7450:     if test -x /sbin/sysconfig; then
  7451:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  7452:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  7453:       esac
  7454:     fi
  7455:     ;;
  7456:   sco3.2v5*)
  7457:     lt_cv_sys_max_cmd_len=102400
  7458:     ;;
  7459:   sysv5* | sco5v6* | sysv4.2uw2*)
  7460:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  7461:     if test -n "$kargmax"; then
  7462:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  7463:     else
  7464:       lt_cv_sys_max_cmd_len=32768
  7465:     fi
  7466:     ;;
  7467:   *)
  7468:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  7469:     if test -n "$lt_cv_sys_max_cmd_len" && \
  7470:        test undefined != "$lt_cv_sys_max_cmd_len"; then
  7471:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  7472:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  7473:     else
  7474:       # Make teststring a little bigger before we do anything with it.
  7475:       # a 1K string should be a reasonable start.
  7476:       for i in 1 2 3 4 5 6 7 8; do
  7477:         teststring=$teststring$teststring
  7478:       done
  7479:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  7480:       # If test is not a shell built-in, we'll probably end up computing a
  7481:       # maximum length that is only half of the actual maximum length, but
  7482:       # we can't tell.
  7483:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  7484: 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  7485: 	      test 17 != "$i" # 1/2 MB should be enough
  7486:       do
  7487:         i=`expr $i + 1`
  7488:         teststring=$teststring$teststring
  7489:       done
  7490:       # Only check the string length outside the loop.
  7491:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  7492:       teststring=
  7493:       # Add a significant safety factor because C++ compilers can tack on
  7494:       # massive amounts of additional arguments before passing them to the
  7495:       # linker.  It appears as though 1/2 is a usable value.
  7496:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  7497:     fi
  7498:     ;;
  7499:   esac
  7500: 
  7501: fi
  7502: 
  7503: if test -n "$lt_cv_sys_max_cmd_len"; then
  7504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  7505: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  7506: else
  7507:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  7508: $as_echo "none" >&6; }
  7509: fi
  7510: max_cmd_len=$lt_cv_sys_max_cmd_len
  7511: 
  7512: 
  7513: 
  7514: 
  7515: 
  7516: 
  7517: : ${CP="cp -f"}
  7518: : ${MV="mv -f"}
  7519: : ${RM="rm -f"}
  7520: 
  7521: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7522:   lt_unset=unset
  7523: else
  7524:   lt_unset=false
  7525: fi
  7526: 
  7527: 
  7528: 
  7529: 
  7530: 
  7531: # test EBCDIC or ASCII
  7532: case `echo X|tr X '\101'` in
  7533:  A) # ASCII based system
  7534:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  7535:   lt_SP2NL='tr \040 \012'
  7536:   lt_NL2SP='tr \015\012 \040\040'
  7537:   ;;
  7538:  *) # EBCDIC based system
  7539:   lt_SP2NL='tr \100 \n'
  7540:   lt_NL2SP='tr \r\n \100\100'
  7541:   ;;
  7542: esac
  7543: 
  7544: 
  7545: 
  7546: 
  7547: 
  7548: 
  7549: 
  7550: 
  7551: 
  7552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  7553: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  7554: if ${lt_cv_to_host_file_cmd+:} false; then :
  7555:   $as_echo_n "(cached) " >&6
  7556: else
  7557:   case $host in
  7558:   *-*-mingw* )
  7559:     case $build in
  7560:       *-*-mingw* ) # actually msys
  7561:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  7562:         ;;
  7563:       *-*-cygwin* )
  7564:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  7565:         ;;
  7566:       * ) # otherwise, assume *nix
  7567:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  7568:         ;;
  7569:     esac
  7570:     ;;
  7571:   *-*-cygwin* )
  7572:     case $build in
  7573:       *-*-mingw* ) # actually msys
  7574:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  7575:         ;;
  7576:       *-*-cygwin* )
  7577:         lt_cv_to_host_file_cmd=func_convert_file_noop
  7578:         ;;
  7579:       * ) # otherwise, assume *nix
  7580:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  7581:         ;;
  7582:     esac
  7583:     ;;
  7584:   * ) # unhandled hosts (and "normal" native builds)
  7585:     lt_cv_to_host_file_cmd=func_convert_file_noop
  7586:     ;;
  7587: esac
  7588: 
  7589: fi
  7590: 
  7591: to_host_file_cmd=$lt_cv_to_host_file_cmd
  7592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  7593: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  7594: 
  7595: 
  7596: 
  7597: 
  7598: 
  7599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  7600: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  7601: if ${lt_cv_to_tool_file_cmd+:} false; then :
  7602:   $as_echo_n "(cached) " >&6
  7603: else
  7604:   #assume ordinary cross tools, or native build.
  7605: lt_cv_to_tool_file_cmd=func_convert_file_noop
  7606: case $host in
  7607:   *-*-mingw* )
  7608:     case $build in
  7609:       *-*-mingw* ) # actually msys
  7610:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  7611:         ;;
  7612:     esac
  7613:     ;;
  7614: esac
  7615: 
  7616: fi
  7617: 
  7618: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  7619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  7620: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  7621: 
  7622: 
  7623: 
  7624: 
  7625: 
  7626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  7627: $as_echo_n "checking for $LD option to reload object files... " >&6; }
  7628: if ${lt_cv_ld_reload_flag+:} false; then :
  7629:   $as_echo_n "(cached) " >&6
  7630: else
  7631:   lt_cv_ld_reload_flag='-r'
  7632: fi
  7633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  7634: $as_echo "$lt_cv_ld_reload_flag" >&6; }
  7635: reload_flag=$lt_cv_ld_reload_flag
  7636: case $reload_flag in
  7637: "" | " "*) ;;
  7638: *) reload_flag=" $reload_flag" ;;
  7639: esac
  7640: reload_cmds='$LD$reload_flag -o $output$reload_objs'
  7641: case $host_os in
  7642:   cygwin* | mingw* | pw32* | cegcc*)
  7643:     if test yes != "$GCC"; then
  7644:       reload_cmds=false
  7645:     fi
  7646:     ;;
  7647:   darwin*)
  7648:     if test yes = "$GCC"; then
  7649:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  7650:     else
  7651:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  7652:     fi
  7653:     ;;
  7654: esac
  7655: 
  7656: 
  7657: 
  7658: 
  7659: 
  7660: 
  7661: 
  7662: 
  7663: 
  7664: if test -n "$ac_tool_prefix"; then
  7665:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  7666: set dummy ${ac_tool_prefix}objdump; ac_word=$2
  7667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7668: $as_echo_n "checking for $ac_word... " >&6; }
  7669: if ${ac_cv_prog_OBJDUMP+:} false; then :
  7670:   $as_echo_n "(cached) " >&6
  7671: else
  7672:   if test -n "$OBJDUMP"; then
  7673:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  7674: else
  7675: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7676: for as_dir in $PATH
  7677: do
  7678:   IFS=$as_save_IFS
  7679:   test -z "$as_dir" && as_dir=.
  7680:     for ac_exec_ext in '' $ac_executable_extensions; do
  7681:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7682:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  7683:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7684:     break 2
  7685:   fi
  7686: done
  7687:   done
  7688: IFS=$as_save_IFS
  7689: 
  7690: fi
  7691: fi
  7692: OBJDUMP=$ac_cv_prog_OBJDUMP
  7693: if test -n "$OBJDUMP"; then
  7694:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  7695: $as_echo "$OBJDUMP" >&6; }
  7696: else
  7697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7698: $as_echo "no" >&6; }
  7699: fi
  7700: 
  7701: 
  7702: fi
  7703: if test -z "$ac_cv_prog_OBJDUMP"; then
  7704:   ac_ct_OBJDUMP=$OBJDUMP
  7705:   # Extract the first word of "objdump", so it can be a program name with args.
  7706: set dummy objdump; ac_word=$2
  7707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7708: $as_echo_n "checking for $ac_word... " >&6; }
  7709: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  7710:   $as_echo_n "(cached) " >&6
  7711: else
  7712:   if test -n "$ac_ct_OBJDUMP"; then
  7713:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  7714: else
  7715: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7716: for as_dir in $PATH
  7717: do
  7718:   IFS=$as_save_IFS
  7719:   test -z "$as_dir" && as_dir=.
  7720:     for ac_exec_ext in '' $ac_executable_extensions; do
  7721:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7722:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  7723:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7724:     break 2
  7725:   fi
  7726: done
  7727:   done
  7728: IFS=$as_save_IFS
  7729: 
  7730: fi
  7731: fi
  7732: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  7733: if test -n "$ac_ct_OBJDUMP"; then
  7734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  7735: $as_echo "$ac_ct_OBJDUMP" >&6; }
  7736: else
  7737:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7738: $as_echo "no" >&6; }
  7739: fi
  7740: 
  7741:   if test "x$ac_ct_OBJDUMP" = x; then
  7742:     OBJDUMP="false"
  7743:   else
  7744:     case $cross_compiling:$ac_tool_warned in
  7745: yes:)
  7746: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7747: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7748: ac_tool_warned=yes ;;
  7749: esac
  7750:     OBJDUMP=$ac_ct_OBJDUMP
  7751:   fi
  7752: else
  7753:   OBJDUMP="$ac_cv_prog_OBJDUMP"
  7754: fi
  7755: 
  7756: test -z "$OBJDUMP" && OBJDUMP=objdump
  7757: 
  7758: 
  7759: 
  7760: 
  7761: 
  7762: 
  7763: 
  7764: 
  7765: 
  7766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  7767: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  7768: if ${lt_cv_deplibs_check_method+:} false; then :
  7769:   $as_echo_n "(cached) " >&6
  7770: else
  7771:   lt_cv_file_magic_cmd='$MAGIC_CMD'
  7772: lt_cv_file_magic_test_file=
  7773: lt_cv_deplibs_check_method='unknown'
  7774: # Need to set the preceding variable on all platforms that support
  7775: # interlibrary dependencies.
  7776: # 'none' -- dependencies not supported.
  7777: # 'unknown' -- same as none, but documents that we really don't know.
  7778: # 'pass_all' -- all dependencies passed with no checks.
  7779: # 'test_compile' -- check by making test program.
  7780: # 'file_magic [[regex]]' -- check by looking for files in library path
  7781: # that responds to the $file_magic_cmd with a given extended regex.
  7782: # If you have 'file' or equivalent on your system and you're not sure
  7783: # whether 'pass_all' will *always* work, you probably want this one.
  7784: 
  7785: case $host_os in
  7786: aix[4-9]*)
  7787:   lt_cv_deplibs_check_method=pass_all
  7788:   ;;
  7789: 
  7790: beos*)
  7791:   lt_cv_deplibs_check_method=pass_all
  7792:   ;;
  7793: 
  7794: bsdi[45]*)
  7795:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  7796:   lt_cv_file_magic_cmd='/usr/bin/file -L'
  7797:   lt_cv_file_magic_test_file=/shlib/libc.so
  7798:   ;;
  7799: 
  7800: cygwin*)
  7801:   # func_win32_libid is a shell function defined in ltmain.sh
  7802:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  7803:   lt_cv_file_magic_cmd='func_win32_libid'
  7804:   ;;
  7805: 
  7806: mingw* | pw32*)
  7807:   # Base MSYS/MinGW do not provide the 'file' command needed by
  7808:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  7809:   # unless we find 'file', for example because we are cross-compiling.
  7810:   if ( file / ) >/dev/null 2>&1; then
  7811:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  7812:     lt_cv_file_magic_cmd='func_win32_libid'
  7813:   else
  7814:     # Keep this pattern in sync with the one in func_win32_libid.
  7815:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  7816:     lt_cv_file_magic_cmd='$OBJDUMP -f'
  7817:   fi
  7818:   ;;
  7819: 
  7820: cegcc*)
  7821:   # use the weaker test based on 'objdump'. See mingw*.
  7822:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  7823:   lt_cv_file_magic_cmd='$OBJDUMP -f'
  7824:   ;;
  7825: 
  7826: darwin* | rhapsody*)
  7827:   lt_cv_deplibs_check_method=pass_all
  7828:   ;;
  7829: 
  7830: freebsd* | dragonfly*)
  7831:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  7832:     case $host_cpu in
  7833:     i*86 )
  7834:       # Not sure whether the presence of OpenBSD here was a mistake.
  7835:       # Let's accept both of them until this is cleared up.
  7836:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  7837:       lt_cv_file_magic_cmd=/usr/bin/file
  7838:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  7839:       ;;
  7840:     esac
  7841:   else
  7842:     lt_cv_deplibs_check_method=pass_all
  7843:   fi
  7844:   ;;
  7845: 
  7846: haiku*)
  7847:   lt_cv_deplibs_check_method=pass_all
  7848:   ;;
  7849: 
  7850: hpux10.20* | hpux11*)
  7851:   lt_cv_file_magic_cmd=/usr/bin/file
  7852:   case $host_cpu in
  7853:   ia64*)
  7854:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  7855:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  7856:     ;;
  7857:   hppa*64*)
  7858:     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]'
  7859:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  7860:     ;;
  7861:   *)
  7862:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  7863:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  7864:     ;;
  7865:   esac
  7866:   ;;
  7867: 
  7868: interix[3-9]*)
  7869:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  7870:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  7871:   ;;
  7872: 
  7873: irix5* | irix6* | nonstopux*)
  7874:   case $LD in
  7875:   *-32|*"-32 ") libmagic=32-bit;;
  7876:   *-n32|*"-n32 ") libmagic=N32;;
  7877:   *-64|*"-64 ") libmagic=64-bit;;
  7878:   *) libmagic=never-match;;
  7879:   esac
  7880:   lt_cv_deplibs_check_method=pass_all
  7881:   ;;
  7882: 
  7883: # This must be glibc/ELF.
  7884: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  7885:   lt_cv_deplibs_check_method=pass_all
  7886:   ;;
  7887: 
  7888: netbsd*)
  7889:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  7890:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  7891:   else
  7892:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  7893:   fi
  7894:   ;;
  7895: 
  7896: newos6*)
  7897:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  7898:   lt_cv_file_magic_cmd=/usr/bin/file
  7899:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  7900:   ;;
  7901: 
  7902: *nto* | *qnx*)
  7903:   lt_cv_deplibs_check_method=pass_all
  7904:   ;;
  7905: 
  7906: openbsd* | bitrig*)
  7907:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  7908:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  7909:   else
  7910:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  7911:   fi
  7912:   ;;
  7913: 
  7914: osf3* | osf4* | osf5*)
  7915:   lt_cv_deplibs_check_method=pass_all
  7916:   ;;
  7917: 
  7918: rdos*)
  7919:   lt_cv_deplibs_check_method=pass_all
  7920:   ;;
  7921: 
  7922: solaris*)
  7923:   lt_cv_deplibs_check_method=pass_all
  7924:   ;;
  7925: 
  7926: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  7927:   lt_cv_deplibs_check_method=pass_all
  7928:   ;;
  7929: 
  7930: sysv4 | sysv4.3*)
  7931:   case $host_vendor in
  7932:   motorola)
  7933:     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]'
  7934:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  7935:     ;;
  7936:   ncr)
  7937:     lt_cv_deplibs_check_method=pass_all
  7938:     ;;
  7939:   sequent)
  7940:     lt_cv_file_magic_cmd='/bin/file'
  7941:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  7942:     ;;
  7943:   sni)
  7944:     lt_cv_file_magic_cmd='/bin/file'
  7945:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  7946:     lt_cv_file_magic_test_file=/lib/libc.so
  7947:     ;;
  7948:   siemens)
  7949:     lt_cv_deplibs_check_method=pass_all
  7950:     ;;
  7951:   pc)
  7952:     lt_cv_deplibs_check_method=pass_all
  7953:     ;;
  7954:   esac
  7955:   ;;
  7956: 
  7957: tpf*)
  7958:   lt_cv_deplibs_check_method=pass_all
  7959:   ;;
  7960: os2*)
  7961:   lt_cv_deplibs_check_method=pass_all
  7962:   ;;
  7963: esac
  7964: 
  7965: fi
  7966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  7967: $as_echo "$lt_cv_deplibs_check_method" >&6; }
  7968: 
  7969: file_magic_glob=
  7970: want_nocaseglob=no
  7971: if test "$build" = "$host"; then
  7972:   case $host_os in
  7973:   mingw* | pw32*)
  7974:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  7975:       want_nocaseglob=yes
  7976:     else
  7977:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  7978:     fi
  7979:     ;;
  7980:   esac
  7981: fi
  7982: 
  7983: file_magic_cmd=$lt_cv_file_magic_cmd
  7984: deplibs_check_method=$lt_cv_deplibs_check_method
  7985: test -z "$deplibs_check_method" && deplibs_check_method=unknown
  7986: 
  7987: 
  7988: 
  7989: 
  7990: 
  7991: 
  7992: 
  7993: 
  7994: 
  7995: 
  7996: 
  7997: 
  7998: 
  7999: 
  8000: 
  8001: 
  8002: 
  8003: 
  8004: 
  8005: 
  8006: 
  8007: 
  8008: if test -n "$ac_tool_prefix"; then
  8009:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  8010: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  8011: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8012: $as_echo_n "checking for $ac_word... " >&6; }
  8013: if ${ac_cv_prog_DLLTOOL+:} false; then :
  8014:   $as_echo_n "(cached) " >&6
  8015: else
  8016:   if test -n "$DLLTOOL"; then
  8017:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  8018: else
  8019: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8020: for as_dir in $PATH
  8021: do
  8022:   IFS=$as_save_IFS
  8023:   test -z "$as_dir" && as_dir=.
  8024:     for ac_exec_ext in '' $ac_executable_extensions; do
  8025:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8026:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  8027:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8028:     break 2
  8029:   fi
  8030: done
  8031:   done
  8032: IFS=$as_save_IFS
  8033: 
  8034: fi
  8035: fi
  8036: DLLTOOL=$ac_cv_prog_DLLTOOL
  8037: if test -n "$DLLTOOL"; then
  8038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  8039: $as_echo "$DLLTOOL" >&6; }
  8040: else
  8041:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8042: $as_echo "no" >&6; }
  8043: fi
  8044: 
  8045: 
  8046: fi
  8047: if test -z "$ac_cv_prog_DLLTOOL"; then
  8048:   ac_ct_DLLTOOL=$DLLTOOL
  8049:   # Extract the first word of "dlltool", so it can be a program name with args.
  8050: set dummy dlltool; ac_word=$2
  8051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8052: $as_echo_n "checking for $ac_word... " >&6; }
  8053: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  8054:   $as_echo_n "(cached) " >&6
  8055: else
  8056:   if test -n "$ac_ct_DLLTOOL"; then
  8057:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  8058: else
  8059: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8060: for as_dir in $PATH
  8061: do
  8062:   IFS=$as_save_IFS
  8063:   test -z "$as_dir" && as_dir=.
  8064:     for ac_exec_ext in '' $ac_executable_extensions; do
  8065:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8066:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  8067:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8068:     break 2
  8069:   fi
  8070: done
  8071:   done
  8072: IFS=$as_save_IFS
  8073: 
  8074: fi
  8075: fi
  8076: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  8077: if test -n "$ac_ct_DLLTOOL"; then
  8078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  8079: $as_echo "$ac_ct_DLLTOOL" >&6; }
  8080: else
  8081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8082: $as_echo "no" >&6; }
  8083: fi
  8084: 
  8085:   if test "x$ac_ct_DLLTOOL" = x; then
  8086:     DLLTOOL="false"
  8087:   else
  8088:     case $cross_compiling:$ac_tool_warned in
  8089: yes:)
  8090: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8091: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8092: ac_tool_warned=yes ;;
  8093: esac
  8094:     DLLTOOL=$ac_ct_DLLTOOL
  8095:   fi
  8096: else
  8097:   DLLTOOL="$ac_cv_prog_DLLTOOL"
  8098: fi
  8099: 
  8100: test -z "$DLLTOOL" && DLLTOOL=dlltool
  8101: 
  8102: 
  8103: 
  8104: 
  8105: 
  8106: 
  8107: 
  8108: 
  8109: 
  8110: 
  8111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  8112: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  8113: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  8114:   $as_echo_n "(cached) " >&6
  8115: else
  8116:   lt_cv_sharedlib_from_linklib_cmd='unknown'
  8117: 
  8118: case $host_os in
  8119: cygwin* | mingw* | pw32* | cegcc*)
  8120:   # two different shell functions defined in ltmain.sh;
  8121:   # decide which one to use based on capabilities of $DLLTOOL
  8122:   case `$DLLTOOL --help 2>&1` in
  8123:   *--identify-strict*)
  8124:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  8125:     ;;
  8126:   *)
  8127:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  8128:     ;;
  8129:   esac
  8130:   ;;
  8131: *)
  8132:   # fallback: assume linklib IS sharedlib
  8133:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
  8134:   ;;
  8135: esac
  8136: 
  8137: fi
  8138: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  8139: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  8140: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  8141: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  8142: 
  8143: 
  8144: 
  8145: 
  8146: 
  8147: 
  8148: 
  8149: if test -n "$ac_tool_prefix"; then
  8150:   for ac_prog in ar
  8151:   do
  8152:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8153: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8155: $as_echo_n "checking for $ac_word... " >&6; }
  8156: if ${ac_cv_prog_AR+:} false; then :
  8157:   $as_echo_n "(cached) " >&6
  8158: else
  8159:   if test -n "$AR"; then
  8160:   ac_cv_prog_AR="$AR" # Let the user override the test.
  8161: else
  8162: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8163: for as_dir in $PATH
  8164: do
  8165:   IFS=$as_save_IFS
  8166:   test -z "$as_dir" && as_dir=.
  8167:     for ac_exec_ext in '' $ac_executable_extensions; do
  8168:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8169:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  8170:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8171:     break 2
  8172:   fi
  8173: done
  8174:   done
  8175: IFS=$as_save_IFS
  8176: 
  8177: fi
  8178: fi
  8179: AR=$ac_cv_prog_AR
  8180: if test -n "$AR"; then
  8181:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  8182: $as_echo "$AR" >&6; }
  8183: else
  8184:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8185: $as_echo "no" >&6; }
  8186: fi
  8187: 
  8188: 
  8189:     test -n "$AR" && break
  8190:   done
  8191: fi
  8192: if test -z "$AR"; then
  8193:   ac_ct_AR=$AR
  8194:   for ac_prog in ar
  8195: do
  8196:   # Extract the first word of "$ac_prog", so it can be a program name with args.
  8197: set dummy $ac_prog; ac_word=$2
  8198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8199: $as_echo_n "checking for $ac_word... " >&6; }
  8200: if ${ac_cv_prog_ac_ct_AR+:} false; then :
  8201:   $as_echo_n "(cached) " >&6
  8202: else
  8203:   if test -n "$ac_ct_AR"; then
  8204:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  8205: else
  8206: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8207: for as_dir in $PATH
  8208: do
  8209:   IFS=$as_save_IFS
  8210:   test -z "$as_dir" && as_dir=.
  8211:     for ac_exec_ext in '' $ac_executable_extensions; do
  8212:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8213:     ac_cv_prog_ac_ct_AR="$ac_prog"
  8214:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8215:     break 2
  8216:   fi
  8217: done
  8218:   done
  8219: IFS=$as_save_IFS
  8220: 
  8221: fi
  8222: fi
  8223: ac_ct_AR=$ac_cv_prog_ac_ct_AR
  8224: if test -n "$ac_ct_AR"; then
  8225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  8226: $as_echo "$ac_ct_AR" >&6; }
  8227: else
  8228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8229: $as_echo "no" >&6; }
  8230: fi
  8231: 
  8232: 
  8233:   test -n "$ac_ct_AR" && break
  8234: done
  8235: 
  8236:   if test "x$ac_ct_AR" = x; then
  8237:     AR="false"
  8238:   else
  8239:     case $cross_compiling:$ac_tool_warned in
  8240: yes:)
  8241: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8242: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8243: ac_tool_warned=yes ;;
  8244: esac
  8245:     AR=$ac_ct_AR
  8246:   fi
  8247: fi
  8248: 
  8249: : ${AR=ar}
  8250: : ${AR_FLAGS=cru}
  8251: 
  8252: 
  8253: 
  8254: 
  8255: 
  8256: 
  8257: 
  8258: 
  8259: 
  8260: 
  8261: 
  8262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  8263: $as_echo_n "checking for archiver @FILE support... " >&6; }
  8264: if ${lt_cv_ar_at_file+:} false; then :
  8265:   $as_echo_n "(cached) " >&6
  8266: else
  8267:   lt_cv_ar_at_file=no
  8268:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8269: /* end confdefs.h.  */
  8270: 
  8271: int
  8272: main ()
  8273: {
  8274: 
  8275:   ;
  8276:   return 0;
  8277: }
  8278: _ACEOF
  8279: if ac_fn_c_try_compile "$LINENO"; then :
  8280:   echo conftest.$ac_objext > conftest.lst
  8281:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  8282:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  8283:   (eval $lt_ar_try) 2>&5
  8284:   ac_status=$?
  8285:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8286:   test $ac_status = 0; }
  8287:       if test 0 -eq "$ac_status"; then
  8288: 	# Ensure the archiver fails upon bogus file names.
  8289: 	rm -f conftest.$ac_objext libconftest.a
  8290: 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  8291:   (eval $lt_ar_try) 2>&5
  8292:   ac_status=$?
  8293:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8294:   test $ac_status = 0; }
  8295: 	if test 0 -ne "$ac_status"; then
  8296:           lt_cv_ar_at_file=@
  8297:         fi
  8298:       fi
  8299:       rm -f conftest.* libconftest.a
  8300: 
  8301: fi
  8302: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8303: 
  8304: fi
  8305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  8306: $as_echo "$lt_cv_ar_at_file" >&6; }
  8307: 
  8308: if test no = "$lt_cv_ar_at_file"; then
  8309:   archiver_list_spec=
  8310: else
  8311:   archiver_list_spec=$lt_cv_ar_at_file
  8312: fi
  8313: 
  8314: 
  8315: 
  8316: 
  8317: 
  8318: 
  8319: 
  8320: if test -n "$ac_tool_prefix"; then
  8321:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  8322: set dummy ${ac_tool_prefix}strip; ac_word=$2
  8323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8324: $as_echo_n "checking for $ac_word... " >&6; }
  8325: if ${ac_cv_prog_STRIP+:} false; then :
  8326:   $as_echo_n "(cached) " >&6
  8327: else
  8328:   if test -n "$STRIP"; then
  8329:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  8330: else
  8331: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8332: for as_dir in $PATH
  8333: do
  8334:   IFS=$as_save_IFS
  8335:   test -z "$as_dir" && as_dir=.
  8336:     for ac_exec_ext in '' $ac_executable_extensions; do
  8337:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8338:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  8339:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8340:     break 2
  8341:   fi
  8342: done
  8343:   done
  8344: IFS=$as_save_IFS
  8345: 
  8346: fi
  8347: fi
  8348: STRIP=$ac_cv_prog_STRIP
  8349: if test -n "$STRIP"; then
  8350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  8351: $as_echo "$STRIP" >&6; }
  8352: else
  8353:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8354: $as_echo "no" >&6; }
  8355: fi
  8356: 
  8357: 
  8358: fi
  8359: if test -z "$ac_cv_prog_STRIP"; then
  8360:   ac_ct_STRIP=$STRIP
  8361:   # Extract the first word of "strip", so it can be a program name with args.
  8362: set dummy strip; ac_word=$2
  8363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8364: $as_echo_n "checking for $ac_word... " >&6; }
  8365: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  8366:   $as_echo_n "(cached) " >&6
  8367: else
  8368:   if test -n "$ac_ct_STRIP"; then
  8369:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  8370: else
  8371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8372: for as_dir in $PATH
  8373: do
  8374:   IFS=$as_save_IFS
  8375:   test -z "$as_dir" && as_dir=.
  8376:     for ac_exec_ext in '' $ac_executable_extensions; do
  8377:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8378:     ac_cv_prog_ac_ct_STRIP="strip"
  8379:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8380:     break 2
  8381:   fi
  8382: done
  8383:   done
  8384: IFS=$as_save_IFS
  8385: 
  8386: fi
  8387: fi
  8388: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  8389: if test -n "$ac_ct_STRIP"; then
  8390:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  8391: $as_echo "$ac_ct_STRIP" >&6; }
  8392: else
  8393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8394: $as_echo "no" >&6; }
  8395: fi
  8396: 
  8397:   if test "x$ac_ct_STRIP" = x; then
  8398:     STRIP=":"
  8399:   else
  8400:     case $cross_compiling:$ac_tool_warned in
  8401: yes:)
  8402: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8403: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8404: ac_tool_warned=yes ;;
  8405: esac
  8406:     STRIP=$ac_ct_STRIP
  8407:   fi
  8408: else
  8409:   STRIP="$ac_cv_prog_STRIP"
  8410: fi
  8411: 
  8412: test -z "$STRIP" && STRIP=:
  8413: 
  8414: 
  8415: 
  8416: 
  8417: 
  8418: 
  8419: if test -n "$ac_tool_prefix"; then
  8420:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  8421: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  8422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8423: $as_echo_n "checking for $ac_word... " >&6; }
  8424: if ${ac_cv_prog_RANLIB+:} false; then :
  8425:   $as_echo_n "(cached) " >&6
  8426: else
  8427:   if test -n "$RANLIB"; then
  8428:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  8429: else
  8430: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8431: for as_dir in $PATH
  8432: do
  8433:   IFS=$as_save_IFS
  8434:   test -z "$as_dir" && as_dir=.
  8435:     for ac_exec_ext in '' $ac_executable_extensions; do
  8436:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8437:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  8438:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8439:     break 2
  8440:   fi
  8441: done
  8442:   done
  8443: IFS=$as_save_IFS
  8444: 
  8445: fi
  8446: fi
  8447: RANLIB=$ac_cv_prog_RANLIB
  8448: if test -n "$RANLIB"; then
  8449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  8450: $as_echo "$RANLIB" >&6; }
  8451: else
  8452:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8453: $as_echo "no" >&6; }
  8454: fi
  8455: 
  8456: 
  8457: fi
  8458: if test -z "$ac_cv_prog_RANLIB"; then
  8459:   ac_ct_RANLIB=$RANLIB
  8460:   # Extract the first word of "ranlib", so it can be a program name with args.
  8461: set dummy ranlib; ac_word=$2
  8462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8463: $as_echo_n "checking for $ac_word... " >&6; }
  8464: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  8465:   $as_echo_n "(cached) " >&6
  8466: else
  8467:   if test -n "$ac_ct_RANLIB"; then
  8468:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  8469: else
  8470: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8471: for as_dir in $PATH
  8472: do
  8473:   IFS=$as_save_IFS
  8474:   test -z "$as_dir" && as_dir=.
  8475:     for ac_exec_ext in '' $ac_executable_extensions; do
  8476:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8477:     ac_cv_prog_ac_ct_RANLIB="ranlib"
  8478:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8479:     break 2
  8480:   fi
  8481: done
  8482:   done
  8483: IFS=$as_save_IFS
  8484: 
  8485: fi
  8486: fi
  8487: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  8488: if test -n "$ac_ct_RANLIB"; then
  8489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  8490: $as_echo "$ac_ct_RANLIB" >&6; }
  8491: else
  8492:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8493: $as_echo "no" >&6; }
  8494: fi
  8495: 
  8496:   if test "x$ac_ct_RANLIB" = x; then
  8497:     RANLIB=":"
  8498:   else
  8499:     case $cross_compiling:$ac_tool_warned in
  8500: yes:)
  8501: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8502: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8503: ac_tool_warned=yes ;;
  8504: esac
  8505:     RANLIB=$ac_ct_RANLIB
  8506:   fi
  8507: else
  8508:   RANLIB="$ac_cv_prog_RANLIB"
  8509: fi
  8510: 
  8511: test -z "$RANLIB" && RANLIB=:
  8512: 
  8513: 
  8514: 
  8515: 
  8516: 
  8517: 
  8518: # Determine commands to create old-style static archives.
  8519: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  8520: old_postinstall_cmds='chmod 644 $oldlib'
  8521: old_postuninstall_cmds=
  8522: 
  8523: if test -n "$RANLIB"; then
  8524:   case $host_os in
  8525:   bitrig* | openbsd*)
  8526:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  8527:     ;;
  8528:   *)
  8529:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  8530:     ;;
  8531:   esac
  8532:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  8533: fi
  8534: 
  8535: case $host_os in
  8536:   darwin*)
  8537:     lock_old_archive_extraction=yes ;;
  8538:   *)
  8539:     lock_old_archive_extraction=no ;;
  8540: esac
  8541: 
  8542: 
  8543: 
  8544: 
  8545: 
  8546: 
  8547: 
  8548: 
  8549: 
  8550: 
  8551: 
  8552: 
  8553: 
  8554: 
  8555: 
  8556: 
  8557: 
  8558: 
  8559: 
  8560: 
  8561: 
  8562: 
  8563: 
  8564: 
  8565: 
  8566: 
  8567: 
  8568: 
  8569: 
  8570: 
  8571: 
  8572: 
  8573: 
  8574: 
  8575: 
  8576: 
  8577: 
  8578: 
  8579: 
  8580: # If no C compiler was specified, use CC.
  8581: LTCC=${LTCC-"$CC"}
  8582: 
  8583: # If no C compiler flags were specified, use CFLAGS.
  8584: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8585: 
  8586: # Allow CC to be a program name with arguments.
  8587: compiler=$CC
  8588: 
  8589: 
  8590: # Check for command to grab the raw symbol name followed by C symbol from nm.
  8591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  8592: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  8593: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  8594:   $as_echo_n "(cached) " >&6
  8595: else
  8596: 
  8597: # These are sane defaults that work on at least a few old systems.
  8598: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  8599: 
  8600: # Character class describing NM global symbol codes.
  8601: symcode='[BCDEGRST]'
  8602: 
  8603: # Regexp to match symbols that can be accessed directly from C.
  8604: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  8605: 
  8606: # Define system-specific variables.
  8607: case $host_os in
  8608: aix*)
  8609:   symcode='[BCDT]'
  8610:   ;;
  8611: cygwin* | mingw* | pw32* | cegcc*)
  8612:   symcode='[ABCDGISTW]'
  8613:   ;;
  8614: hpux*)
  8615:   if test ia64 = "$host_cpu"; then
  8616:     symcode='[ABCDEGRST]'
  8617:   fi
  8618:   ;;
  8619: irix* | nonstopux*)
  8620:   symcode='[BCDEGRST]'
  8621:   ;;
  8622: osf*)
  8623:   symcode='[BCDEGQRST]'
  8624:   ;;
  8625: solaris*)
  8626:   symcode='[BDRT]'
  8627:   ;;
  8628: sco3.2v5*)
  8629:   symcode='[DT]'
  8630:   ;;
  8631: sysv4.2uw2*)
  8632:   symcode='[DT]'
  8633:   ;;
  8634: sysv5* | sco5v6* | unixware* | OpenUNIX*)
  8635:   symcode='[ABDT]'
  8636:   ;;
  8637: sysv4)
  8638:   symcode='[DFNSTU]'
  8639:   ;;
  8640: esac
  8641: 
  8642: # If we're using GNU nm, then use its standard symbol codes.
  8643: case `$NM -V 2>&1` in
  8644: *GNU* | *'with BFD'*)
  8645:   symcode='[ABCDGIRSTW]' ;;
  8646: esac
  8647: 
  8648: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  8649:   # Gets list of data symbols to import.
  8650:   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  8651:   # Adjust the below global symbol transforms to fixup imported variables.
  8652:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  8653:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
  8654:   lt_c_name_lib_hook="\
  8655:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
  8656:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
  8657: else
  8658:   # Disable hooks by default.
  8659:   lt_cv_sys_global_symbol_to_import=
  8660:   lt_cdecl_hook=
  8661:   lt_c_name_hook=
  8662:   lt_c_name_lib_hook=
  8663: fi
  8664: 
  8665: # Transform an extracted symbol line into a proper C declaration.
  8666: # Some systems (esp. on ia64) link data and code symbols differently,
  8667: # so use this general approach.
  8668: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  8669: $lt_cdecl_hook\
  8670: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  8671: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  8672: 
  8673: # Transform an extracted symbol line into symbol name and symbol address
  8674: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  8675: $lt_c_name_hook\
  8676: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
  8677: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
  8678: 
  8679: # Transform an extracted symbol line into symbol name with lib prefix and
  8680: # symbol address.
  8681: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  8682: $lt_c_name_lib_hook\
  8683: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
  8684: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
  8685: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
  8686: 
  8687: # Handle CRLF in mingw tool chain
  8688: opt_cr=
  8689: case $build_os in
  8690: mingw*)
  8691:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  8692:   ;;
  8693: esac
  8694: 
  8695: # Try without a prefix underscore, then with it.
  8696: for ac_symprfx in "" "_"; do
  8697: 
  8698:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  8699:   symxfrm="\\1 $ac_symprfx\\2 \\2"
  8700: 
  8701:   # Write the raw and C identifiers.
  8702:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  8703:     # Fake it for dumpbin and say T for any non-static function,
  8704:     # D for any global variable and I for any imported variable.
  8705:     # Also find C++ and __fastcall symbols from MSVC++,
  8706:     # which start with @ or ?.
  8707:     lt_cv_sys_global_symbol_pipe="$AWK '"\
  8708: "     {last_section=section; section=\$ 3};"\
  8709: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  8710: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  8711: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  8712: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  8713: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  8714: "     \$ 0!~/External *\|/{next};"\
  8715: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  8716: "     {if(hide[section]) next};"\
  8717: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  8718: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  8719: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  8720: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  8721: "     ' prfx=^$ac_symprfx"
  8722:   else
  8723:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  8724:   fi
  8725:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  8726: 
  8727:   # Check to see that the pipe works correctly.
  8728:   pipe_works=no
  8729: 
  8730:   rm -f conftest*
  8731:   cat > conftest.$ac_ext <<_LT_EOF
  8732: #ifdef __cplusplus
  8733: extern "C" {
  8734: #endif
  8735: char nm_test_var;
  8736: void nm_test_func(void);
  8737: void nm_test_func(void){}
  8738: #ifdef __cplusplus
  8739: }
  8740: #endif
  8741: int main(){nm_test_var='a';nm_test_func();return(0);}
  8742: _LT_EOF
  8743: 
  8744:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8745:   (eval $ac_compile) 2>&5
  8746:   ac_status=$?
  8747:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8748:   test $ac_status = 0; }; then
  8749:     # Now try to grab the symbols.
  8750:     nlist=conftest.nm
  8751:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  8752:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  8753:   ac_status=$?
  8754:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8755:   test $ac_status = 0; } && test -s "$nlist"; then
  8756:       # Try sorting and uniquifying the output.
  8757:       if sort "$nlist" | uniq > "$nlist"T; then
  8758: 	mv -f "$nlist"T "$nlist"
  8759:       else
  8760: 	rm -f "$nlist"T
  8761:       fi
  8762: 
  8763:       # Make sure that we snagged all the symbols we need.
  8764:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  8765: 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  8766: 	  cat <<_LT_EOF > conftest.$ac_ext
  8767: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
  8768: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  8769: /* DATA imports from DLLs on WIN32 can't be const, because runtime
  8770:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
  8771: # define LT_DLSYM_CONST
  8772: #elif defined __osf__
  8773: /* This system does not cope well with relocations in const data.  */
  8774: # define LT_DLSYM_CONST
  8775: #else
  8776: # define LT_DLSYM_CONST const
  8777: #endif
  8778: 
  8779: #ifdef __cplusplus
  8780: extern "C" {
  8781: #endif
  8782: 
  8783: _LT_EOF
  8784: 	  # Now generate the symbol file.
  8785: 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  8786: 
  8787: 	  cat <<_LT_EOF >> conftest.$ac_ext
  8788: 
  8789: /* The mapping between symbol names and symbols.  */
  8790: LT_DLSYM_CONST struct {
  8791:   const char *name;
  8792:   void       *address;
  8793: }
  8794: lt__PROGRAM__LTX_preloaded_symbols[] =
  8795: {
  8796:   { "@PROGRAM@", (void *) 0 },
  8797: _LT_EOF
  8798: 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  8799: 	  cat <<\_LT_EOF >> conftest.$ac_ext
  8800:   {0, (void *) 0}
  8801: };
  8802: 
  8803: /* This works around a problem in FreeBSD linker */
  8804: #ifdef FREEBSD_WORKAROUND
  8805: static const void *lt_preloaded_setup() {
  8806:   return lt__PROGRAM__LTX_preloaded_symbols;
  8807: }
  8808: #endif
  8809: 
  8810: #ifdef __cplusplus
  8811: }
  8812: #endif
  8813: _LT_EOF
  8814: 	  # Now try linking the two files.
  8815: 	  mv conftest.$ac_objext conftstm.$ac_objext
  8816: 	  lt_globsym_save_LIBS=$LIBS
  8817: 	  lt_globsym_save_CFLAGS=$CFLAGS
  8818: 	  LIBS=conftstm.$ac_objext
  8819: 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  8820: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  8821:   (eval $ac_link) 2>&5
  8822:   ac_status=$?
  8823:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8824:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
  8825: 	    pipe_works=yes
  8826: 	  fi
  8827: 	  LIBS=$lt_globsym_save_LIBS
  8828: 	  CFLAGS=$lt_globsym_save_CFLAGS
  8829: 	else
  8830: 	  echo "cannot find nm_test_func in $nlist" >&5
  8831: 	fi
  8832:       else
  8833: 	echo "cannot find nm_test_var in $nlist" >&5
  8834:       fi
  8835:     else
  8836:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  8837:     fi
  8838:   else
  8839:     echo "$progname: failed program was:" >&5
  8840:     cat conftest.$ac_ext >&5
  8841:   fi
  8842:   rm -rf conftest* conftst*
  8843: 
  8844:   # Do not use the global_symbol_pipe unless it works.
  8845:   if test yes = "$pipe_works"; then
  8846:     break
  8847:   else
  8848:     lt_cv_sys_global_symbol_pipe=
  8849:   fi
  8850: done
  8851: 
  8852: fi
  8853: 
  8854: if test -z "$lt_cv_sys_global_symbol_pipe"; then
  8855:   lt_cv_sys_global_symbol_to_cdecl=
  8856: fi
  8857: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  8858:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  8859: $as_echo "failed" >&6; }
  8860: else
  8861:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  8862: $as_echo "ok" >&6; }
  8863: fi
  8864: 
  8865: # Response file support.
  8866: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  8867:   nm_file_list_spec='@'
  8868: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  8869:   nm_file_list_spec='@'
  8870: fi
  8871: 
  8872: 
  8873: 
  8874: 
  8875: 
  8876: 
  8877: 
  8878: 
  8879: 
  8880: 
  8881: 
  8882: 
  8883: 
  8884: 
  8885: 
  8886: 
  8887: 
  8888: 
  8889: 
  8890: 
  8891: 
  8892: 
  8893: 
  8894: 
  8895: 
  8896: 
  8897: 
  8898: 
  8899: 
  8900: 
  8901: 
  8902: 
  8903: 
  8904: 
  8905: 
  8906: 
  8907: 
  8908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  8909: $as_echo_n "checking for sysroot... " >&6; }
  8910: 
  8911: # Check whether --with-sysroot was given.
  8912: if test "${with_sysroot+set}" = set; then :
  8913:   withval=$with_sysroot;
  8914: else
  8915:   with_sysroot=no
  8916: fi
  8917: 
  8918: 
  8919: lt_sysroot=
  8920: case $with_sysroot in #(
  8921:  yes)
  8922:    if test yes = "$GCC"; then
  8923:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  8924:    fi
  8925:    ;; #(
  8926:  /*)
  8927:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  8928:    ;; #(
  8929:  no|'')
  8930:    ;; #(
  8931:  *)
  8932:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  8933: $as_echo "$with_sysroot" >&6; }
  8934:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  8935:    ;;
  8936: esac
  8937: 
  8938:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  8939: $as_echo "${lt_sysroot:-no}" >&6; }
  8940: 
  8941: 
  8942: 
  8943: 
  8944: 
  8945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  8946: $as_echo_n "checking for a working dd... " >&6; }
  8947: if ${ac_cv_path_lt_DD+:} false; then :
  8948:   $as_echo_n "(cached) " >&6
  8949: else
  8950:   printf 0123456789abcdef0123456789abcdef >conftest.i
  8951: cat conftest.i conftest.i >conftest2.i
  8952: : ${lt_DD:=$DD}
  8953: if test -z "$lt_DD"; then
  8954:   ac_path_lt_DD_found=false
  8955:   # Loop through the user's path and test for each of PROGNAME-LIST
  8956:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8957: for as_dir in $PATH
  8958: do
  8959:   IFS=$as_save_IFS
  8960:   test -z "$as_dir" && as_dir=.
  8961:     for ac_prog in dd; do
  8962:     for ac_exec_ext in '' $ac_executable_extensions; do
  8963:       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  8964:       as_fn_executable_p "$ac_path_lt_DD" || continue
  8965: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  8966:   cmp -s conftest.i conftest.out \
  8967:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  8968: fi
  8969:       $ac_path_lt_DD_found && break 3
  8970:     done
  8971:   done
  8972:   done
  8973: IFS=$as_save_IFS
  8974:   if test -z "$ac_cv_path_lt_DD"; then
  8975:     :
  8976:   fi
  8977: else
  8978:   ac_cv_path_lt_DD=$lt_DD
  8979: fi
  8980: 
  8981: rm -f conftest.i conftest2.i conftest.out
  8982: fi
  8983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  8984: $as_echo "$ac_cv_path_lt_DD" >&6; }
  8985: 
  8986: 
  8987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  8988: $as_echo_n "checking how to truncate binary pipes... " >&6; }
  8989: if ${lt_cv_truncate_bin+:} false; then :
  8990:   $as_echo_n "(cached) " >&6
  8991: else
  8992:   printf 0123456789abcdef0123456789abcdef >conftest.i
  8993: cat conftest.i conftest.i >conftest2.i
  8994: lt_cv_truncate_bin=
  8995: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  8996:   cmp -s conftest.i conftest.out \
  8997:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  8998: fi
  8999: rm -f conftest.i conftest2.i conftest.out
  9000: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  9001: fi
  9002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  9003: $as_echo "$lt_cv_truncate_bin" >&6; }
  9004: 
  9005: 
  9006: 
  9007: 
  9008: 
  9009: 
  9010: 
  9011: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  9012: func_cc_basename ()
  9013: {
  9014:     for cc_temp in $*""; do
  9015:       case $cc_temp in
  9016:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  9017:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  9018:         \-*) ;;
  9019:         *) break;;
  9020:       esac
  9021:     done
  9022:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  9023: }
  9024: 
  9025: # Check whether --enable-libtool-lock was given.
  9026: if test "${enable_libtool_lock+set}" = set; then :
  9027:   enableval=$enable_libtool_lock;
  9028: fi
  9029: 
  9030: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  9031: 
  9032: # Some flags need to be propagated to the compiler or linker for good
  9033: # libtool support.
  9034: case $host in
  9035: ia64-*-hpux*)
  9036:   # Find out what ABI is being produced by ac_compile, and set mode
  9037:   # options accordingly.
  9038:   echo 'int i;' > conftest.$ac_ext
  9039:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9040:   (eval $ac_compile) 2>&5
  9041:   ac_status=$?
  9042:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9043:   test $ac_status = 0; }; then
  9044:     case `/usr/bin/file conftest.$ac_objext` in
  9045:       *ELF-32*)
  9046: 	HPUX_IA64_MODE=32
  9047: 	;;
  9048:       *ELF-64*)
  9049: 	HPUX_IA64_MODE=64
  9050: 	;;
  9051:     esac
  9052:   fi
  9053:   rm -rf conftest*
  9054:   ;;
  9055: *-*-irix6*)
  9056:   # Find out what ABI is being produced by ac_compile, and set linker
  9057:   # options accordingly.
  9058:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  9059:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9060:   (eval $ac_compile) 2>&5
  9061:   ac_status=$?
  9062:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9063:   test $ac_status = 0; }; then
  9064:     if test yes = "$lt_cv_prog_gnu_ld"; then
  9065:       case `/usr/bin/file conftest.$ac_objext` in
  9066: 	*32-bit*)
  9067: 	  LD="${LD-ld} -melf32bsmip"
  9068: 	  ;;
  9069: 	*N32*)
  9070: 	  LD="${LD-ld} -melf32bmipn32"
  9071: 	  ;;
  9072: 	*64-bit*)
  9073: 	  LD="${LD-ld} -melf64bmip"
  9074: 	;;
  9075:       esac
  9076:     else
  9077:       case `/usr/bin/file conftest.$ac_objext` in
  9078: 	*32-bit*)
  9079: 	  LD="${LD-ld} -32"
  9080: 	  ;;
  9081: 	*N32*)
  9082: 	  LD="${LD-ld} -n32"
  9083: 	  ;;
  9084: 	*64-bit*)
  9085: 	  LD="${LD-ld} -64"
  9086: 	  ;;
  9087:       esac
  9088:     fi
  9089:   fi
  9090:   rm -rf conftest*
  9091:   ;;
  9092: 
  9093: mips64*-*linux*)
  9094:   # Find out what ABI is being produced by ac_compile, and set linker
  9095:   # options accordingly.
  9096:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  9097:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9098:   (eval $ac_compile) 2>&5
  9099:   ac_status=$?
  9100:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9101:   test $ac_status = 0; }; then
  9102:     emul=elf
  9103:     case `/usr/bin/file conftest.$ac_objext` in
  9104:       *32-bit*)
  9105: 	emul="${emul}32"
  9106: 	;;
  9107:       *64-bit*)
  9108: 	emul="${emul}64"
  9109: 	;;
  9110:     esac
  9111:     case `/usr/bin/file conftest.$ac_objext` in
  9112:       *MSB*)
  9113: 	emul="${emul}btsmip"
  9114: 	;;
  9115:       *LSB*)
  9116: 	emul="${emul}ltsmip"
  9117: 	;;
  9118:     esac
  9119:     case `/usr/bin/file conftest.$ac_objext` in
  9120:       *N32*)
  9121: 	emul="${emul}n32"
  9122: 	;;
  9123:     esac
  9124:     LD="${LD-ld} -m $emul"
  9125:   fi
  9126:   rm -rf conftest*
  9127:   ;;
  9128: 
  9129: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  9130: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  9131:   # Find out what ABI is being produced by ac_compile, and set linker
  9132:   # options accordingly.  Note that the listed cases only cover the
  9133:   # situations where additional linker options are needed (such as when
  9134:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  9135:   # vice versa); the common cases where no linker options are needed do
  9136:   # not appear in the list.
  9137:   echo 'int i;' > conftest.$ac_ext
  9138:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9139:   (eval $ac_compile) 2>&5
  9140:   ac_status=$?
  9141:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9142:   test $ac_status = 0; }; then
  9143:     case `/usr/bin/file conftest.o` in
  9144:       *32-bit*)
  9145: 	case $host in
  9146: 	  x86_64-*kfreebsd*-gnu)
  9147: 	    LD="${LD-ld} -m elf_i386_fbsd"
  9148: 	    ;;
  9149: 	  x86_64-*linux*)
  9150: 	    case `/usr/bin/file conftest.o` in
  9151: 	      *x86-64*)
  9152: 		LD="${LD-ld} -m elf32_x86_64"
  9153: 		;;
  9154: 	      *)
  9155: 		LD="${LD-ld} -m elf_i386"
  9156: 		;;
  9157: 	    esac
  9158: 	    ;;
  9159: 	  powerpc64le-*linux*)
  9160: 	    LD="${LD-ld} -m elf32lppclinux"
  9161: 	    ;;
  9162: 	  powerpc64-*linux*)
  9163: 	    LD="${LD-ld} -m elf32ppclinux"
  9164: 	    ;;
  9165: 	  s390x-*linux*)
  9166: 	    LD="${LD-ld} -m elf_s390"
  9167: 	    ;;
  9168: 	  sparc64-*linux*)
  9169: 	    LD="${LD-ld} -m elf32_sparc"
  9170: 	    ;;
  9171: 	esac
  9172: 	;;
  9173:       *64-bit*)
  9174: 	case $host in
  9175: 	  x86_64-*kfreebsd*-gnu)
  9176: 	    LD="${LD-ld} -m elf_x86_64_fbsd"
  9177: 	    ;;
  9178: 	  x86_64-*linux*)
  9179: 	    LD="${LD-ld} -m elf_x86_64"
  9180: 	    ;;
  9181: 	  powerpcle-*linux*)
  9182: 	    LD="${LD-ld} -m elf64lppc"
  9183: 	    ;;
  9184: 	  powerpc-*linux*)
  9185: 	    LD="${LD-ld} -m elf64ppc"
  9186: 	    ;;
  9187: 	  s390*-*linux*|s390*-*tpf*)
  9188: 	    LD="${LD-ld} -m elf64_s390"
  9189: 	    ;;
  9190: 	  sparc*-*linux*)
  9191: 	    LD="${LD-ld} -m elf64_sparc"
  9192: 	    ;;
  9193: 	esac
  9194: 	;;
  9195:     esac
  9196:   fi
  9197:   rm -rf conftest*
  9198:   ;;
  9199: 
  9200: *-*-sco3.2v5*)
  9201:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  9202:   SAVE_CFLAGS=$CFLAGS
  9203:   CFLAGS="$CFLAGS -belf"
  9204:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  9205: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  9206: if ${lt_cv_cc_needs_belf+:} false; then :
  9207:   $as_echo_n "(cached) " >&6
  9208: else
  9209:   ac_ext=c
  9210: ac_cpp='$CPP $CPPFLAGS'
  9211: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9212: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9213: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9214: 
  9215:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9216: /* end confdefs.h.  */
  9217: 
  9218: int
  9219: main ()
  9220: {
  9221: 
  9222:   ;
  9223:   return 0;
  9224: }
  9225: _ACEOF
  9226: if ac_fn_c_try_link "$LINENO"; then :
  9227:   lt_cv_cc_needs_belf=yes
  9228: else
  9229:   lt_cv_cc_needs_belf=no
  9230: fi
  9231: rm -f core conftest.err conftest.$ac_objext \
  9232:     conftest$ac_exeext conftest.$ac_ext
  9233:      ac_ext=c
  9234: ac_cpp='$CPP $CPPFLAGS'
  9235: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9236: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9237: ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9238: 
  9239: fi
  9240: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  9241: $as_echo "$lt_cv_cc_needs_belf" >&6; }
  9242:   if test yes != "$lt_cv_cc_needs_belf"; then
  9243:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  9244:     CFLAGS=$SAVE_CFLAGS
  9245:   fi
  9246:   ;;
  9247: *-*solaris*)
  9248:   # Find out what ABI is being produced by ac_compile, and set linker
  9249:   # options accordingly.
  9250:   echo 'int i;' > conftest.$ac_ext
  9251:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9252:   (eval $ac_compile) 2>&5
  9253:   ac_status=$?
  9254:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9255:   test $ac_status = 0; }; then
  9256:     case `/usr/bin/file conftest.o` in
  9257:     *64-bit*)
  9258:       case $lt_cv_prog_gnu_ld in
  9259:       yes*)
  9260:         case $host in
  9261:         i?86-*-solaris*|x86_64-*-solaris*)
  9262:           LD="${LD-ld} -m elf_x86_64"
  9263:           ;;
  9264:         sparc*-*-solaris*)
  9265:           LD="${LD-ld} -m elf64_sparc"
  9266:           ;;
  9267:         esac
  9268:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
  9269:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  9270:           LD=${LD-ld}_sol2
  9271:         fi
  9272:         ;;
  9273:       *)
  9274: 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  9275: 	  LD="${LD-ld} -64"
  9276: 	fi
  9277: 	;;
  9278:       esac
  9279:       ;;
  9280:     esac
  9281:   fi
  9282:   rm -rf conftest*
  9283:   ;;
  9284: esac
  9285: 
  9286: need_locks=$enable_libtool_lock
  9287: 
  9288: if test -n "$ac_tool_prefix"; then
  9289:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  9290: set dummy ${ac_tool_prefix}mt; ac_word=$2
  9291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9292: $as_echo_n "checking for $ac_word... " >&6; }
  9293: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  9294:   $as_echo_n "(cached) " >&6
  9295: else
  9296:   if test -n "$MANIFEST_TOOL"; then
  9297:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  9298: else
  9299: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9300: for as_dir in $PATH
  9301: do
  9302:   IFS=$as_save_IFS
  9303:   test -z "$as_dir" && as_dir=.
  9304:     for ac_exec_ext in '' $ac_executable_extensions; do
  9305:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9306:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  9307:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9308:     break 2
  9309:   fi
  9310: done
  9311:   done
  9312: IFS=$as_save_IFS
  9313: 
  9314: fi
  9315: fi
  9316: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  9317: if test -n "$MANIFEST_TOOL"; then
  9318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  9319: $as_echo "$MANIFEST_TOOL" >&6; }
  9320: else
  9321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9322: $as_echo "no" >&6; }
  9323: fi
  9324: 
  9325: 
  9326: fi
  9327: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  9328:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  9329:   # Extract the first word of "mt", so it can be a program name with args.
  9330: set dummy mt; ac_word=$2
  9331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9332: $as_echo_n "checking for $ac_word... " >&6; }
  9333: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  9334:   $as_echo_n "(cached) " >&6
  9335: else
  9336:   if test -n "$ac_ct_MANIFEST_TOOL"; then
  9337:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  9338: else
  9339: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9340: for as_dir in $PATH
  9341: do
  9342:   IFS=$as_save_IFS
  9343:   test -z "$as_dir" && as_dir=.
  9344:     for ac_exec_ext in '' $ac_executable_extensions; do
  9345:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9346:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  9347:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9348:     break 2
  9349:   fi
  9350: done
  9351:   done
  9352: IFS=$as_save_IFS
  9353: 
  9354: fi
  9355: fi
  9356: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  9357: if test -n "$ac_ct_MANIFEST_TOOL"; then
  9358:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  9359: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  9360: else
  9361:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9362: $as_echo "no" >&6; }
  9363: fi
  9364: 
  9365:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
  9366:     MANIFEST_TOOL=":"
  9367:   else
  9368:     case $cross_compiling:$ac_tool_warned in
  9369: yes:)
  9370: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9371: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9372: ac_tool_warned=yes ;;
  9373: esac
  9374:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  9375:   fi
  9376: else
  9377:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  9378: fi
  9379: 
  9380: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  9381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  9382: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  9383: if ${lt_cv_path_mainfest_tool+:} false; then :
  9384:   $as_echo_n "(cached) " >&6
  9385: else
  9386:   lt_cv_path_mainfest_tool=no
  9387:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  9388:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  9389:   cat conftest.err >&5
  9390:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  9391:     lt_cv_path_mainfest_tool=yes
  9392:   fi
  9393:   rm -f conftest*
  9394: fi
  9395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  9396: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  9397: if test yes != "$lt_cv_path_mainfest_tool"; then
  9398:   MANIFEST_TOOL=:
  9399: fi
  9400: 
  9401: 
  9402: 
  9403: 
  9404: 
  9405: 
  9406:   case $host_os in
  9407:     rhapsody* | darwin*)
  9408:     if test -n "$ac_tool_prefix"; then
  9409:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  9410: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  9411: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9412: $as_echo_n "checking for $ac_word... " >&6; }
  9413: if ${ac_cv_prog_DSYMUTIL+:} false; then :
  9414:   $as_echo_n "(cached) " >&6
  9415: else
  9416:   if test -n "$DSYMUTIL"; then
  9417:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  9418: else
  9419: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9420: for as_dir in $PATH
  9421: do
  9422:   IFS=$as_save_IFS
  9423:   test -z "$as_dir" && as_dir=.
  9424:     for ac_exec_ext in '' $ac_executable_extensions; do
  9425:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9426:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  9427:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9428:     break 2
  9429:   fi
  9430: done
  9431:   done
  9432: IFS=$as_save_IFS
  9433: 
  9434: fi
  9435: fi
  9436: DSYMUTIL=$ac_cv_prog_DSYMUTIL
  9437: if test -n "$DSYMUTIL"; then
  9438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  9439: $as_echo "$DSYMUTIL" >&6; }
  9440: else
  9441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9442: $as_echo "no" >&6; }
  9443: fi
  9444: 
  9445: 
  9446: fi
  9447: if test -z "$ac_cv_prog_DSYMUTIL"; then
  9448:   ac_ct_DSYMUTIL=$DSYMUTIL
  9449:   # Extract the first word of "dsymutil", so it can be a program name with args.
  9450: set dummy dsymutil; ac_word=$2
  9451: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9452: $as_echo_n "checking for $ac_word... " >&6; }
  9453: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  9454:   $as_echo_n "(cached) " >&6
  9455: else
  9456:   if test -n "$ac_ct_DSYMUTIL"; then
  9457:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  9458: else
  9459: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9460: for as_dir in $PATH
  9461: do
  9462:   IFS=$as_save_IFS
  9463:   test -z "$as_dir" && as_dir=.
  9464:     for ac_exec_ext in '' $ac_executable_extensions; do
  9465:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9466:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  9467:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9468:     break 2
  9469:   fi
  9470: done
  9471:   done
  9472: IFS=$as_save_IFS
  9473: 
  9474: fi
  9475: fi
  9476: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  9477: if test -n "$ac_ct_DSYMUTIL"; then
  9478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  9479: $as_echo "$ac_ct_DSYMUTIL" >&6; }
  9480: else
  9481:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9482: $as_echo "no" >&6; }
  9483: fi
  9484: 
  9485:   if test "x$ac_ct_DSYMUTIL" = x; then
  9486:     DSYMUTIL=":"
  9487:   else
  9488:     case $cross_compiling:$ac_tool_warned in
  9489: yes:)
  9490: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9491: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9492: ac_tool_warned=yes ;;
  9493: esac
  9494:     DSYMUTIL=$ac_ct_DSYMUTIL
  9495:   fi
  9496: else
  9497:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  9498: fi
  9499: 
  9500:     if test -n "$ac_tool_prefix"; then
  9501:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  9502: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  9503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9504: $as_echo_n "checking for $ac_word... " >&6; }
  9505: if ${ac_cv_prog_NMEDIT+:} false; then :
  9506:   $as_echo_n "(cached) " >&6
  9507: else
  9508:   if test -n "$NMEDIT"; then
  9509:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  9510: else
  9511: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9512: for as_dir in $PATH
  9513: do
  9514:   IFS=$as_save_IFS
  9515:   test -z "$as_dir" && as_dir=.
  9516:     for ac_exec_ext in '' $ac_executable_extensions; do
  9517:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9518:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  9519:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9520:     break 2
  9521:   fi
  9522: done
  9523:   done
  9524: IFS=$as_save_IFS
  9525: 
  9526: fi
  9527: fi
  9528: NMEDIT=$ac_cv_prog_NMEDIT
  9529: if test -n "$NMEDIT"; then
  9530:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  9531: $as_echo "$NMEDIT" >&6; }
  9532: else
  9533:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9534: $as_echo "no" >&6; }
  9535: fi
  9536: 
  9537: 
  9538: fi
  9539: if test -z "$ac_cv_prog_NMEDIT"; then
  9540:   ac_ct_NMEDIT=$NMEDIT
  9541:   # Extract the first word of "nmedit", so it can be a program name with args.
  9542: set dummy nmedit; ac_word=$2
  9543: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9544: $as_echo_n "checking for $ac_word... " >&6; }
  9545: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  9546:   $as_echo_n "(cached) " >&6
  9547: else
  9548:   if test -n "$ac_ct_NMEDIT"; then
  9549:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  9550: else
  9551: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9552: for as_dir in $PATH
  9553: do
  9554:   IFS=$as_save_IFS
  9555:   test -z "$as_dir" && as_dir=.
  9556:     for ac_exec_ext in '' $ac_executable_extensions; do
  9557:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9558:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  9559:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9560:     break 2
  9561:   fi
  9562: done
  9563:   done
  9564: IFS=$as_save_IFS
  9565: 
  9566: fi
  9567: fi
  9568: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  9569: if test -n "$ac_ct_NMEDIT"; then
  9570:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  9571: $as_echo "$ac_ct_NMEDIT" >&6; }
  9572: else
  9573:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9574: $as_echo "no" >&6; }
  9575: fi
  9576: 
  9577:   if test "x$ac_ct_NMEDIT" = x; then
  9578:     NMEDIT=":"
  9579:   else
  9580:     case $cross_compiling:$ac_tool_warned in
  9581: yes:)
  9582: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9583: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9584: ac_tool_warned=yes ;;
  9585: esac
  9586:     NMEDIT=$ac_ct_NMEDIT
  9587:   fi
  9588: else
  9589:   NMEDIT="$ac_cv_prog_NMEDIT"
  9590: fi
  9591: 
  9592:     if test -n "$ac_tool_prefix"; then
  9593:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  9594: set dummy ${ac_tool_prefix}lipo; ac_word=$2
  9595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9596: $as_echo_n "checking for $ac_word... " >&6; }
  9597: if ${ac_cv_prog_LIPO+:} false; then :
  9598:   $as_echo_n "(cached) " >&6
  9599: else
  9600:   if test -n "$LIPO"; then
  9601:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  9602: else
  9603: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9604: for as_dir in $PATH
  9605: do
  9606:   IFS=$as_save_IFS
  9607:   test -z "$as_dir" && as_dir=.
  9608:     for ac_exec_ext in '' $ac_executable_extensions; do
  9609:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9610:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  9611:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9612:     break 2
  9613:   fi
  9614: done
  9615:   done
  9616: IFS=$as_save_IFS
  9617: 
  9618: fi
  9619: fi
  9620: LIPO=$ac_cv_prog_LIPO
  9621: if test -n "$LIPO"; then
  9622:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  9623: $as_echo "$LIPO" >&6; }
  9624: else
  9625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9626: $as_echo "no" >&6; }
  9627: fi
  9628: 
  9629: 
  9630: fi
  9631: if test -z "$ac_cv_prog_LIPO"; then
  9632:   ac_ct_LIPO=$LIPO
  9633:   # Extract the first word of "lipo", so it can be a program name with args.
  9634: set dummy lipo; ac_word=$2
  9635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9636: $as_echo_n "checking for $ac_word... " >&6; }
  9637: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  9638:   $as_echo_n "(cached) " >&6
  9639: else
  9640:   if test -n "$ac_ct_LIPO"; then
  9641:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  9642: else
  9643: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9644: for as_dir in $PATH
  9645: do
  9646:   IFS=$as_save_IFS
  9647:   test -z "$as_dir" && as_dir=.
  9648:     for ac_exec_ext in '' $ac_executable_extensions; do
  9649:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9650:     ac_cv_prog_ac_ct_LIPO="lipo"
  9651:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9652:     break 2
  9653:   fi
  9654: done
  9655:   done
  9656: IFS=$as_save_IFS
  9657: 
  9658: fi
  9659: fi
  9660: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  9661: if test -n "$ac_ct_LIPO"; then
  9662:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  9663: $as_echo "$ac_ct_LIPO" >&6; }
  9664: else
  9665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9666: $as_echo "no" >&6; }
  9667: fi
  9668: 
  9669:   if test "x$ac_ct_LIPO" = x; then
  9670:     LIPO=":"
  9671:   else
  9672:     case $cross_compiling:$ac_tool_warned in
  9673: yes:)
  9674: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9675: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9676: ac_tool_warned=yes ;;
  9677: esac
  9678:     LIPO=$ac_ct_LIPO
  9679:   fi
  9680: else
  9681:   LIPO="$ac_cv_prog_LIPO"
  9682: fi
  9683: 
  9684:     if test -n "$ac_tool_prefix"; then
  9685:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  9686: set dummy ${ac_tool_prefix}otool; ac_word=$2
  9687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9688: $as_echo_n "checking for $ac_word... " >&6; }
  9689: if ${ac_cv_prog_OTOOL+:} false; then :
  9690:   $as_echo_n "(cached) " >&6
  9691: else
  9692:   if test -n "$OTOOL"; then
  9693:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  9694: else
  9695: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9696: for as_dir in $PATH
  9697: do
  9698:   IFS=$as_save_IFS
  9699:   test -z "$as_dir" && as_dir=.
  9700:     for ac_exec_ext in '' $ac_executable_extensions; do
  9701:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9702:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  9703:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9704:     break 2
  9705:   fi
  9706: done
  9707:   done
  9708: IFS=$as_save_IFS
  9709: 
  9710: fi
  9711: fi
  9712: OTOOL=$ac_cv_prog_OTOOL
  9713: if test -n "$OTOOL"; then
  9714:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  9715: $as_echo "$OTOOL" >&6; }
  9716: else
  9717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9718: $as_echo "no" >&6; }
  9719: fi
  9720: 
  9721: 
  9722: fi
  9723: if test -z "$ac_cv_prog_OTOOL"; then
  9724:   ac_ct_OTOOL=$OTOOL
  9725:   # Extract the first word of "otool", so it can be a program name with args.
  9726: set dummy otool; ac_word=$2
  9727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9728: $as_echo_n "checking for $ac_word... " >&6; }
  9729: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  9730:   $as_echo_n "(cached) " >&6
  9731: else
  9732:   if test -n "$ac_ct_OTOOL"; then
  9733:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  9734: else
  9735: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9736: for as_dir in $PATH
  9737: do
  9738:   IFS=$as_save_IFS
  9739:   test -z "$as_dir" && as_dir=.
  9740:     for ac_exec_ext in '' $ac_executable_extensions; do
  9741:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9742:     ac_cv_prog_ac_ct_OTOOL="otool"
  9743:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9744:     break 2
  9745:   fi
  9746: done
  9747:   done
  9748: IFS=$as_save_IFS
  9749: 
  9750: fi
  9751: fi
  9752: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  9753: if test -n "$ac_ct_OTOOL"; then
  9754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  9755: $as_echo "$ac_ct_OTOOL" >&6; }
  9756: else
  9757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9758: $as_echo "no" >&6; }
  9759: fi
  9760: 
  9761:   if test "x$ac_ct_OTOOL" = x; then
  9762:     OTOOL=":"
  9763:   else
  9764:     case $cross_compiling:$ac_tool_warned in
  9765: yes:)
  9766: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9767: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9768: ac_tool_warned=yes ;;
  9769: esac
  9770:     OTOOL=$ac_ct_OTOOL
  9771:   fi
  9772: else
  9773:   OTOOL="$ac_cv_prog_OTOOL"
  9774: fi
  9775: 
  9776:     if test -n "$ac_tool_prefix"; then
  9777:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  9778: set dummy ${ac_tool_prefix}otool64; ac_word=$2
  9779: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9780: $as_echo_n "checking for $ac_word... " >&6; }
  9781: if ${ac_cv_prog_OTOOL64+:} false; then :
  9782:   $as_echo_n "(cached) " >&6
  9783: else
  9784:   if test -n "$OTOOL64"; then
  9785:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  9786: else
  9787: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9788: for as_dir in $PATH
  9789: do
  9790:   IFS=$as_save_IFS
  9791:   test -z "$as_dir" && as_dir=.
  9792:     for ac_exec_ext in '' $ac_executable_extensions; do
  9793:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9794:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  9795:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9796:     break 2
  9797:   fi
  9798: done
  9799:   done
  9800: IFS=$as_save_IFS
  9801: 
  9802: fi
  9803: fi
  9804: OTOOL64=$ac_cv_prog_OTOOL64
  9805: if test -n "$OTOOL64"; then
  9806:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  9807: $as_echo "$OTOOL64" >&6; }
  9808: else
  9809:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9810: $as_echo "no" >&6; }
  9811: fi
  9812: 
  9813: 
  9814: fi
  9815: if test -z "$ac_cv_prog_OTOOL64"; then
  9816:   ac_ct_OTOOL64=$OTOOL64
  9817:   # Extract the first word of "otool64", so it can be a program name with args.
  9818: set dummy otool64; ac_word=$2
  9819: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9820: $as_echo_n "checking for $ac_word... " >&6; }
  9821: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  9822:   $as_echo_n "(cached) " >&6
  9823: else
  9824:   if test -n "$ac_ct_OTOOL64"; then
  9825:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  9826: else
  9827: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9828: for as_dir in $PATH
  9829: do
  9830:   IFS=$as_save_IFS
  9831:   test -z "$as_dir" && as_dir=.
  9832:     for ac_exec_ext in '' $ac_executable_extensions; do
  9833:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9834:     ac_cv_prog_ac_ct_OTOOL64="otool64"
  9835:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9836:     break 2
  9837:   fi
  9838: done
  9839:   done
  9840: IFS=$as_save_IFS
  9841: 
  9842: fi
  9843: fi
  9844: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  9845: if test -n "$ac_ct_OTOOL64"; then
  9846:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  9847: $as_echo "$ac_ct_OTOOL64" >&6; }
  9848: else
  9849:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9850: $as_echo "no" >&6; }
  9851: fi
  9852: 
  9853:   if test "x$ac_ct_OTOOL64" = x; then
  9854:     OTOOL64=":"
  9855:   else
  9856:     case $cross_compiling:$ac_tool_warned in
  9857: yes:)
  9858: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9859: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9860: ac_tool_warned=yes ;;
  9861: esac
  9862:     OTOOL64=$ac_ct_OTOOL64
  9863:   fi
  9864: else
  9865:   OTOOL64="$ac_cv_prog_OTOOL64"
  9866: fi
  9867: 
  9868: 
  9869: 
  9870: 
  9871: 
  9872: 
  9873: 
  9874: 
  9875: 
  9876: 
  9877: 
  9878: 
  9879: 
  9880: 
  9881: 
  9882: 
  9883: 
  9884: 
  9885: 
  9886: 
  9887: 
  9888: 
  9889: 
  9890: 
  9891: 
  9892: 
  9893: 
  9894:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  9895: $as_echo_n "checking for -single_module linker flag... " >&6; }
  9896: if ${lt_cv_apple_cc_single_mod+:} false; then :
  9897:   $as_echo_n "(cached) " >&6
  9898: else
  9899:   lt_cv_apple_cc_single_mod=no
  9900:       if test -z "$LT_MULTI_MODULE"; then
  9901: 	# By default we will add the -single_module flag. You can override
  9902: 	# by either setting the environment variable LT_MULTI_MODULE
  9903: 	# non-empty at configure time, or by adding -multi_module to the
  9904: 	# link flags.
  9905: 	rm -rf libconftest.dylib*
  9906: 	echo "int foo(void){return 1;}" > conftest.c
  9907: 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  9908: -dynamiclib -Wl,-single_module conftest.c" >&5
  9909: 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  9910: 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  9911:         _lt_result=$?
  9912: 	# If there is a non-empty error log, and "single_module"
  9913: 	# appears in it, assume the flag caused a linker warning
  9914:         if test -s conftest.err && $GREP single_module conftest.err; then
  9915: 	  cat conftest.err >&5
  9916: 	# Otherwise, if the output was created with a 0 exit code from
  9917: 	# the compiler, it worked.
  9918: 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  9919: 	  lt_cv_apple_cc_single_mod=yes
  9920: 	else
  9921: 	  cat conftest.err >&5
  9922: 	fi
  9923: 	rm -rf libconftest.dylib*
  9924: 	rm -f conftest.*
  9925:       fi
  9926: fi
  9927: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  9928: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  9929: 
  9930:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  9931: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  9932: if ${lt_cv_ld_exported_symbols_list+:} false; then :
  9933:   $as_echo_n "(cached) " >&6
  9934: else
  9935:   lt_cv_ld_exported_symbols_list=no
  9936:       save_LDFLAGS=$LDFLAGS
  9937:       echo "_main" > conftest.sym
  9938:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  9939:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9940: /* end confdefs.h.  */
  9941: 
  9942: int
  9943: main ()
  9944: {
  9945: 
  9946:   ;
  9947:   return 0;
  9948: }
  9949: _ACEOF
  9950: if ac_fn_c_try_link "$LINENO"; then :
  9951:   lt_cv_ld_exported_symbols_list=yes
  9952: else
  9953:   lt_cv_ld_exported_symbols_list=no
  9954: fi
  9955: rm -f core conftest.err conftest.$ac_objext \
  9956:     conftest$ac_exeext conftest.$ac_ext
  9957: 	LDFLAGS=$save_LDFLAGS
  9958: 
  9959: fi
  9960: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  9961: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  9962: 
  9963:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  9964: $as_echo_n "checking for -force_load linker flag... " >&6; }
  9965: if ${lt_cv_ld_force_load+:} false; then :
  9966:   $as_echo_n "(cached) " >&6
  9967: else
  9968:   lt_cv_ld_force_load=no
  9969:       cat > conftest.c << _LT_EOF
  9970: int forced_loaded() { return 2;}
  9971: _LT_EOF
  9972:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  9973:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  9974:       echo "$AR cru libconftest.a conftest.o" >&5
  9975:       $AR cru libconftest.a conftest.o 2>&5
  9976:       echo "$RANLIB libconftest.a" >&5
  9977:       $RANLIB libconftest.a 2>&5
  9978:       cat > conftest.c << _LT_EOF
  9979: int main() { return 0;}
  9980: _LT_EOF
  9981:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  9982:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  9983:       _lt_result=$?
  9984:       if test -s conftest.err && $GREP force_load conftest.err; then
  9985: 	cat conftest.err >&5
  9986:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  9987: 	lt_cv_ld_force_load=yes
  9988:       else
  9989: 	cat conftest.err >&5
  9990:       fi
  9991:         rm -f conftest.err libconftest.a conftest conftest.c
  9992:         rm -rf conftest.dSYM
  9993: 
  9994: fi
  9995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  9996: $as_echo "$lt_cv_ld_force_load" >&6; }
  9997:     case $host_os in
  9998:     rhapsody* | darwin1.[012])
  9999:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 10000:     darwin1.*)
 10001:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 10002:     darwin*) # darwin 5.x on
 10003:       # if running on 10.5 or later, the deployment target defaults
 10004:       # to the OS version, if on x86, and 10.4, the deployment
 10005:       # target defaults to 10.4. Don't you love it?
 10006:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 10007: 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 10008: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 10009: 	10.[012][,.]*)
 10010: 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 10011: 	10.*)
 10012: 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 10013:       esac
 10014:     ;;
 10015:   esac
 10016:     if test yes = "$lt_cv_apple_cc_single_mod"; then
 10017:       _lt_dar_single_mod='$single_module'
 10018:     fi
 10019:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
 10020:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 10021:     else
 10022:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 10023:     fi
 10024:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 10025:       _lt_dsymutil='~$DSYMUTIL $lib || :'
 10026:     else
 10027:       _lt_dsymutil=
 10028:     fi
 10029:     ;;
 10030:   esac
 10031: 
 10032: # func_munge_path_list VARIABLE PATH
 10033: # -----------------------------------
 10034: # VARIABLE is name of variable containing _space_ separated list of
 10035: # directories to be munged by the contents of PATH, which is string
 10036: # having a format:
 10037: # "DIR[:DIR]:"
 10038: #       string "DIR[ DIR]" will be prepended to VARIABLE
 10039: # ":DIR[:DIR]"
 10040: #       string "DIR[ DIR]" will be appended to VARIABLE
 10041: # "DIRP[:DIRP]::[DIRA:]DIRA"
 10042: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 10043: #       "DIRA[ DIRA]" will be appended to VARIABLE
 10044: # "DIR[:DIR]"
 10045: #       VARIABLE will be replaced by "DIR[ DIR]"
 10046: func_munge_path_list ()
 10047: {
 10048:     case x$2 in
 10049:     x)
 10050:         ;;
 10051:     *:)
 10052:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 10053:         ;;
 10054:     x:*)
 10055:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 10056:         ;;
 10057:     *::*)
 10058:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 10059:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 10060:         ;;
 10061:     *)
 10062:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 10063:         ;;
 10064:     esac
 10065: }
 10066: 
 10067: for ac_header in dlfcn.h
 10068: do :
 10069:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 10070: "
 10071: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 10072:   cat >>confdefs.h <<_ACEOF
 10073: #define HAVE_DLFCN_H 1
 10074: _ACEOF
 10075: 
 10076: fi
 10077: 
 10078: done
 10079: 
 10080: 
 10081: 
 10082: 
 10083: 
 10084: # Set options
 10085: 
 10086: 
 10087: 
 10088:         enable_dlopen=no
 10089: 
 10090: 
 10091:   enable_win32_dll=no
 10092: 
 10093: 
 10094:             # Check whether --enable-shared was given.
 10095: if test "${enable_shared+set}" = set; then :
 10096:   enableval=$enable_shared; p=${PACKAGE-default}
 10097:     case $enableval in
 10098:     yes) enable_shared=yes ;;
 10099:     no) enable_shared=no ;;
 10100:     *)
 10101:       enable_shared=no
 10102:       # Look at the argument we got.  We use all the common list separators.
 10103:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10104:       for pkg in $enableval; do
 10105: 	IFS=$lt_save_ifs
 10106: 	if test "X$pkg" = "X$p"; then
 10107: 	  enable_shared=yes
 10108: 	fi
 10109:       done
 10110:       IFS=$lt_save_ifs
 10111:       ;;
 10112:     esac
 10113: else
 10114:   enable_shared=yes
 10115: fi
 10116: 
 10117: 
 10118: 
 10119: 
 10120: 
 10121: 
 10122: 
 10123: 
 10124: 
 10125:   # Check whether --enable-static was given.
 10126: if test "${enable_static+set}" = set; then :
 10127:   enableval=$enable_static; p=${PACKAGE-default}
 10128:     case $enableval in
 10129:     yes) enable_static=yes ;;
 10130:     no) enable_static=no ;;
 10131:     *)
 10132:      enable_static=no
 10133:       # Look at the argument we got.  We use all the common list separators.
 10134:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10135:       for pkg in $enableval; do
 10136: 	IFS=$lt_save_ifs
 10137: 	if test "X$pkg" = "X$p"; then
 10138: 	  enable_static=yes
 10139: 	fi
 10140:       done
 10141:       IFS=$lt_save_ifs
 10142:       ;;
 10143:     esac
 10144: else
 10145:   enable_static=yes
 10146: fi
 10147: 
 10148: 
 10149: 
 10150: 
 10151: 
 10152: 
 10153: 
 10154: 
 10155: 
 10156: 
 10157: # Check whether --with-pic was given.
 10158: if test "${with_pic+set}" = set; then :
 10159:   withval=$with_pic; lt_p=${PACKAGE-default}
 10160:     case $withval in
 10161:     yes|no) pic_mode=$withval ;;
 10162:     *)
 10163:       pic_mode=default
 10164:       # Look at the argument we got.  We use all the common list separators.
 10165:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10166:       for lt_pkg in $withval; do
 10167: 	IFS=$lt_save_ifs
 10168: 	if test "X$lt_pkg" = "X$lt_p"; then
 10169: 	  pic_mode=yes
 10170: 	fi
 10171:       done
 10172:       IFS=$lt_save_ifs
 10173:       ;;
 10174:     esac
 10175: else
 10176:   pic_mode=default
 10177: fi
 10178: 
 10179: 
 10180: 
 10181: 
 10182: 
 10183: 
 10184: 
 10185: 
 10186:   # Check whether --enable-fast-install was given.
 10187: if test "${enable_fast_install+set}" = set; then :
 10188:   enableval=$enable_fast_install; p=${PACKAGE-default}
 10189:     case $enableval in
 10190:     yes) enable_fast_install=yes ;;
 10191:     no) enable_fast_install=no ;;
 10192:     *)
 10193:       enable_fast_install=no
 10194:       # Look at the argument we got.  We use all the common list separators.
 10195:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
 10196:       for pkg in $enableval; do
 10197: 	IFS=$lt_save_ifs
 10198: 	if test "X$pkg" = "X$p"; then
 10199: 	  enable_fast_install=yes
 10200: 	fi
 10201:       done
 10202:       IFS=$lt_save_ifs
 10203:       ;;
 10204:     esac
 10205: else
 10206:   enable_fast_install=yes
 10207: fi
 10208: 
 10209: 
 10210: 
 10211: 
 10212: 
 10213: 
 10214: 
 10215: 
 10216:   shared_archive_member_spec=
 10217: case $host,$enable_shared in
 10218: power*-*-aix[5-9]*,yes)
 10219:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 10220: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 10221: 
 10222: # Check whether --with-aix-soname was given.
 10223: if test "${with_aix_soname+set}" = set; then :
 10224:   withval=$with_aix_soname; case $withval in
 10225:     aix|svr4|both)
 10226:       ;;
 10227:     *)
 10228:       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 10229:       ;;
 10230:     esac
 10231:     lt_cv_with_aix_soname=$with_aix_soname
 10232: else
 10233:   if ${lt_cv_with_aix_soname+:} false; then :
 10234:   $as_echo_n "(cached) " >&6
 10235: else
 10236:   lt_cv_with_aix_soname=aix
 10237: fi
 10238: 
 10239:     with_aix_soname=$lt_cv_with_aix_soname
 10240: fi
 10241: 
 10242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 10243: $as_echo "$with_aix_soname" >&6; }
 10244:   if test aix != "$with_aix_soname"; then
 10245:     # For the AIX way of multilib, we name the shared archive member
 10246:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 10247:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 10248:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 10249:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
 10250:     if test 64 = "${OBJECT_MODE-32}"; then
 10251:       shared_archive_member_spec=shr_64
 10252:     else
 10253:       shared_archive_member_spec=shr
 10254:     fi
 10255:   fi
 10256:   ;;
 10257: *)
 10258:   with_aix_soname=aix
 10259:   ;;
 10260: esac
 10261: 
 10262: 
 10263: 
 10264: 
 10265: 
 10266: 
 10267: 
 10268: 
 10269: 
 10270: 
 10271: # This can be used to rebuild libtool when needed
 10272: LIBTOOL_DEPS=$ltmain
 10273: 
 10274: # Always use our own libtool.
 10275: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 10276: 
 10277: 
 10278: 
 10279: 
 10280: 
 10281: 
 10282: 
 10283: 
 10284: 
 10285: 
 10286: 
 10287: 
 10288: 
 10289: 
 10290: 
 10291: 
 10292: 
 10293: 
 10294: 
 10295: 
 10296: 
 10297: 
 10298: 
 10299: 
 10300: 
 10301: 
 10302: 
 10303: 
 10304: 
 10305: 
 10306: test -z "$LN_S" && LN_S="ln -s"
 10307: 
 10308: 
 10309: 
 10310: 
 10311: 
 10312: 
 10313: 
 10314: 
 10315: 
 10316: 
 10317: 
 10318: 
 10319: 
 10320: 
 10321: if test -n "${ZSH_VERSION+set}"; then
 10322:    setopt NO_GLOB_SUBST
 10323: fi
 10324: 
 10325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 10326: $as_echo_n "checking for objdir... " >&6; }
 10327: if ${lt_cv_objdir+:} false; then :
 10328:   $as_echo_n "(cached) " >&6
 10329: else
 10330:   rm -f .libs 2>/dev/null
 10331: mkdir .libs 2>/dev/null
 10332: if test -d .libs; then
 10333:   lt_cv_objdir=.libs
 10334: else
 10335:   # MS-DOS does not allow filenames that begin with a dot.
 10336:   lt_cv_objdir=_libs
 10337: fi
 10338: rmdir .libs 2>/dev/null
 10339: fi
 10340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 10341: $as_echo "$lt_cv_objdir" >&6; }
 10342: objdir=$lt_cv_objdir
 10343: 
 10344: 
 10345: 
 10346: 
 10347: 
 10348: cat >>confdefs.h <<_ACEOF
 10349: #define LT_OBJDIR "$lt_cv_objdir/"
 10350: _ACEOF
 10351: 
 10352: 
 10353: 
 10354: 
 10355: case $host_os in
 10356: aix3*)
 10357:   # AIX sometimes has problems with the GCC collect2 program.  For some
 10358:   # reason, if we set the COLLECT_NAMES environment variable, the problems
 10359:   # vanish in a puff of smoke.
 10360:   if test set != "${COLLECT_NAMES+set}"; then
 10361:     COLLECT_NAMES=
 10362:     export COLLECT_NAMES
 10363:   fi
 10364:   ;;
 10365: esac
 10366: 
 10367: # Global variables:
 10368: ofile=libtool
 10369: can_build_shared=yes
 10370: 
 10371: # All known linkers require a '.a' archive for static linking (except MSVC,
 10372: # which needs '.lib').
 10373: libext=a
 10374: 
 10375: with_gnu_ld=$lt_cv_prog_gnu_ld
 10376: 
 10377: old_CC=$CC
 10378: old_CFLAGS=$CFLAGS
 10379: 
 10380: # Set sane defaults for various variables
 10381: test -z "$CC" && CC=cc
 10382: test -z "$LTCC" && LTCC=$CC
 10383: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 10384: test -z "$LD" && LD=ld
 10385: test -z "$ac_objext" && ac_objext=o
 10386: 
 10387: func_cc_basename $compiler
 10388: cc_basename=$func_cc_basename_result
 10389: 
 10390: 
 10391: # Only perform the check for file, if the check method requires it
 10392: test -z "$MAGIC_CMD" && MAGIC_CMD=file
 10393: case $deplibs_check_method in
 10394: file_magic*)
 10395:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 10396:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 10397: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 10398: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 10399:   $as_echo_n "(cached) " >&6
 10400: else
 10401:   case $MAGIC_CMD in
 10402: [\\/*] |  ?:[\\/]*)
 10403:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 10404:   ;;
 10405: *)
 10406:   lt_save_MAGIC_CMD=$MAGIC_CMD
 10407:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 10408:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 10409:   for ac_dir in $ac_dummy; do
 10410:     IFS=$lt_save_ifs
 10411:     test -z "$ac_dir" && ac_dir=.
 10412:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
 10413:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
 10414:       if test -n "$file_magic_test_file"; then
 10415: 	case $deplibs_check_method in
 10416: 	"file_magic "*)
 10417: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 10418: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10419: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 10420: 	    $EGREP "$file_magic_regex" > /dev/null; then
 10421: 	    :
 10422: 	  else
 10423: 	    cat <<_LT_EOF 1>&2
 10424: 
 10425: *** Warning: the command libtool uses to detect shared libraries,
 10426: *** $file_magic_cmd, produces output that libtool cannot recognize.
 10427: *** The result is that libtool may fail to recognize shared libraries
 10428: *** as such.  This will affect the creation of libtool libraries that
 10429: *** depend on shared libraries, but programs linked with such libtool
 10430: *** libraries will work regardless of this problem.  Nevertheless, you
 10431: *** may want to report the problem to your system manager and/or to
 10432: *** bug-libtool@gnu.org
 10433: 
 10434: _LT_EOF
 10435: 	  fi ;;
 10436: 	esac
 10437:       fi
 10438:       break
 10439:     fi
 10440:   done
 10441:   IFS=$lt_save_ifs
 10442:   MAGIC_CMD=$lt_save_MAGIC_CMD
 10443:   ;;
 10444: esac
 10445: fi
 10446: 
 10447: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10448: if test -n "$MAGIC_CMD"; then
 10449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 10450: $as_echo "$MAGIC_CMD" >&6; }
 10451: else
 10452:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10453: $as_echo "no" >&6; }
 10454: fi
 10455: 
 10456: 
 10457: 
 10458: 
 10459: 
 10460: if test -z "$lt_cv_path_MAGIC_CMD"; then
 10461:   if test -n "$ac_tool_prefix"; then
 10462:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 10463: $as_echo_n "checking for file... " >&6; }
 10464: if ${lt_cv_path_MAGIC_CMD+:} false; then :
 10465:   $as_echo_n "(cached) " >&6
 10466: else
 10467:   case $MAGIC_CMD in
 10468: [\\/*] |  ?:[\\/]*)
 10469:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 10470:   ;;
 10471: *)
 10472:   lt_save_MAGIC_CMD=$MAGIC_CMD
 10473:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 10474:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 10475:   for ac_dir in $ac_dummy; do
 10476:     IFS=$lt_save_ifs
 10477:     test -z "$ac_dir" && ac_dir=.
 10478:     if test -f "$ac_dir/file"; then
 10479:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
 10480:       if test -n "$file_magic_test_file"; then
 10481: 	case $deplibs_check_method in
 10482: 	"file_magic "*)
 10483: 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 10484: 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10485: 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 10486: 	    $EGREP "$file_magic_regex" > /dev/null; then
 10487: 	    :
 10488: 	  else
 10489: 	    cat <<_LT_EOF 1>&2
 10490: 
 10491: *** Warning: the command libtool uses to detect shared libraries,
 10492: *** $file_magic_cmd, produces output that libtool cannot recognize.
 10493: *** The result is that libtool may fail to recognize shared libraries
 10494: *** as such.  This will affect the creation of libtool libraries that
 10495: *** depend on shared libraries, but programs linked with such libtool
 10496: *** libraries will work regardless of this problem.  Nevertheless, you
 10497: *** may want to report the problem to your system manager and/or to
 10498: *** bug-libtool@gnu.org
 10499: 
 10500: _LT_EOF
 10501: 	  fi ;;
 10502: 	esac
 10503:       fi
 10504:       break
 10505:     fi
 10506:   done
 10507:   IFS=$lt_save_ifs
 10508:   MAGIC_CMD=$lt_save_MAGIC_CMD
 10509:   ;;
 10510: esac
 10511: fi
 10512: 
 10513: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 10514: if test -n "$MAGIC_CMD"; then
 10515:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 10516: $as_echo "$MAGIC_CMD" >&6; }
 10517: else
 10518:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 10519: $as_echo "no" >&6; }
 10520: fi
 10521: 
 10522: 
 10523:   else
 10524:     MAGIC_CMD=:
 10525:   fi
 10526: fi
 10527: 
 10528:   fi
 10529:   ;;
 10530: esac
 10531: 
 10532: # Use C for the default configuration in the libtool script
 10533: 
 10534: lt_save_CC=$CC
 10535: ac_ext=c
 10536: ac_cpp='$CPP $CPPFLAGS'
 10537: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 10538: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 10539: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 10540: 
 10541: 
 10542: # Source file extension for C test sources.
 10543: ac_ext=c
 10544: 
 10545: # Object file extension for compiled C test sources.
 10546: objext=o
 10547: objext=$objext
 10548: 
 10549: # Code to be used in simple compile tests
 10550: lt_simple_compile_test_code="int some_variable = 0;"
 10551: 
 10552: # Code to be used in simple link tests
 10553: lt_simple_link_test_code='int main(){return(0);}'
 10554: 
 10555: 
 10556: 
 10557: 
 10558: 
 10559: 
 10560: 
 10561: # If no C compiler was specified, use CC.
 10562: LTCC=${LTCC-"$CC"}
 10563: 
 10564: # If no C compiler flags were specified, use CFLAGS.
 10565: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 10566: 
 10567: # Allow CC to be a program name with arguments.
 10568: compiler=$CC
 10569: 
 10570: # Save the default compiler, since it gets overwritten when the other
 10571: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 10572: compiler_DEFAULT=$CC
 10573: 
 10574: # save warnings/boilerplate of simple test code
 10575: ac_outfile=conftest.$ac_objext
 10576: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 10577: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 10578: _lt_compiler_boilerplate=`cat conftest.err`
 10579: $RM conftest*
 10580: 
 10581: ac_outfile=conftest.$ac_objext
 10582: echo "$lt_simple_link_test_code" >conftest.$ac_ext
 10583: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 10584: _lt_linker_boilerplate=`cat conftest.err`
 10585: $RM -r conftest*
 10586: 
 10587: 
 10588: ## CAVEAT EMPTOR:
 10589: ## There is no encapsulation within the following macros, do not change
 10590: ## the running order or otherwise move them around unless you know exactly
 10591: ## what you are doing...
 10592: if test -n "$compiler"; then
 10593: 
 10594: lt_prog_compiler_no_builtin_flag=
 10595: 
 10596: if test yes = "$GCC"; then
 10597:   case $cc_basename in
 10598:   nvcc*)
 10599:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 10600:   *)
 10601:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 10602:   esac
 10603: 
 10604:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 10605: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 10606: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 10607:   $as_echo_n "(cached) " >&6
 10608: else
 10609:   lt_cv_prog_compiler_rtti_exceptions=no
 10610:    ac_outfile=conftest.$ac_objext
 10611:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 10612:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
 10613:    # Insert the option either (1) after the last *FLAGS variable, or
 10614:    # (2) before a word containing "conftest.", or (3) at the end.
 10615:    # Note that $ac_compile itself does not contain backslashes and begins
 10616:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 10617:    # The option is referenced via a variable to avoid confusing sed.
 10618:    lt_compile=`echo "$ac_compile" | $SED \
 10619:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 10620:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 10621:    -e 's:$: $lt_compiler_flag:'`
 10622:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 10623:    (eval "$lt_compile" 2>conftest.err)
 10624:    ac_status=$?
 10625:    cat conftest.err >&5
 10626:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10627:    if (exit $ac_status) && test -s "$ac_outfile"; then
 10628:      # The compiler can only warn and ignore the option if not recognized
 10629:      # So say no if there are warnings other than the usual output.
 10630:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 10631:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 10632:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 10633:        lt_cv_prog_compiler_rtti_exceptions=yes
 10634:      fi
 10635:    fi
 10636:    $RM conftest*
 10637: 
 10638: fi
 10639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 10640: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 10641: 
 10642: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
 10643:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 10644: else
 10645:     :
 10646: fi
 10647: 
 10648: fi
 10649: 
 10650: 
 10651: 
 10652: 
 10653: 
 10654: 
 10655:   lt_prog_compiler_wl=
 10656: lt_prog_compiler_pic=
 10657: lt_prog_compiler_static=
 10658: 
 10659: 
 10660:   if test yes = "$GCC"; then
 10661:     lt_prog_compiler_wl='-Wl,'
 10662:     lt_prog_compiler_static='-static'
 10663: 
 10664:     case $host_os in
 10665:       aix*)
 10666:       # All AIX code is PIC.
 10667:       if test ia64 = "$host_cpu"; then
 10668: 	# AIX 5 now supports IA64 processor
 10669: 	lt_prog_compiler_static='-Bstatic'
 10670:       fi
 10671:       lt_prog_compiler_pic='-fPIC'
 10672:       ;;
 10673: 
 10674:     amigaos*)
 10675:       case $host_cpu in
 10676:       powerpc)
 10677:             # see comment about AmigaOS4 .so support
 10678:             lt_prog_compiler_pic='-fPIC'
 10679:         ;;
 10680:       m68k)
 10681:             # FIXME: we need at least 68020 code to build shared libraries, but
 10682:             # adding the '-m68020' flag to GCC prevents building anything better,
 10683:             # like '-m68040'.
 10684:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 10685:         ;;
 10686:       esac
 10687:       ;;
 10688: 
 10689:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 10690:       # PIC is the default for these OSes.
 10691:       ;;
 10692: 
 10693:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 10694:       # This hack is so that the source file can tell whether it is being
 10695:       # built for inclusion in a dll (and should export symbols for example).
 10696:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 10697:       # (--disable-auto-import) libraries
 10698:       lt_prog_compiler_pic='-DDLL_EXPORT'
 10699:       case $host_os in
 10700:       os2*)
 10701: 	lt_prog_compiler_static='$wl-static'
 10702: 	;;
 10703:       esac
 10704:       ;;
 10705: 
 10706:     darwin* | rhapsody*)
 10707:       # PIC is the default on this platform
 10708:       # Common symbols not allowed in MH_DYLIB files
 10709:       lt_prog_compiler_pic='-fno-common'
 10710:       ;;
 10711: 
 10712:     haiku*)
 10713:       # PIC is the default for Haiku.
 10714:       # The "-static" flag exists, but is broken.
 10715:       lt_prog_compiler_static=
 10716:       ;;
 10717: 
 10718:     hpux*)
 10719:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 10720:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 10721:       # sets the default TLS model and affects inlining.
 10722:       case $host_cpu in
 10723:       hppa*64*)
 10724: 	# +Z the default
 10725: 	;;
 10726:       *)
 10727: 	lt_prog_compiler_pic='-fPIC'
 10728: 	;;
 10729:       esac
 10730:       ;;
 10731: 
 10732:     interix[3-9]*)
 10733:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 10734:       # Instead, we relocate shared libraries at runtime.
 10735:       ;;
 10736: 
 10737:     msdosdjgpp*)
 10738:       # Just because we use GCC doesn't mean we suddenly get shared libraries
 10739:       # on systems that don't support them.
 10740:       lt_prog_compiler_can_build_shared=no
 10741:       enable_shared=no
 10742:       ;;
 10743: 
 10744:     *nto* | *qnx*)
 10745:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 10746:       # it will coredump.
 10747:       lt_prog_compiler_pic='-fPIC -shared'
 10748:       ;;
 10749: 
 10750:     sysv4*MP*)
 10751:       if test -d /usr/nec; then
 10752: 	lt_prog_compiler_pic=-Kconform_pic
 10753:       fi
 10754:       ;;
 10755: 
 10756:     *)
 10757:       lt_prog_compiler_pic='-fPIC'
 10758:       ;;
 10759:     esac
 10760: 
 10761:     case $cc_basename in
 10762:     nvcc*) # Cuda Compiler Driver 2.2
 10763:       lt_prog_compiler_wl='-Xlinker '
 10764:       if test -n "$lt_prog_compiler_pic"; then
 10765:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 10766:       fi
 10767:       ;;
 10768:     esac
 10769:   else
 10770:     # PORTME Check for flag to pass linker flags through the system compiler.
 10771:     case $host_os in
 10772:     aix*)
 10773:       lt_prog_compiler_wl='-Wl,'
 10774:       if test ia64 = "$host_cpu"; then
 10775: 	# AIX 5 now supports IA64 processor
 10776: 	lt_prog_compiler_static='-Bstatic'
 10777:       else
 10778: 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 10779:       fi
 10780:       ;;
 10781: 
 10782:     darwin* | rhapsody*)
 10783:       # PIC is the default on this platform
 10784:       # Common symbols not allowed in MH_DYLIB files
 10785:       lt_prog_compiler_pic='-fno-common'
 10786:       case $cc_basename in
 10787:       nagfor*)
 10788:         # NAG Fortran compiler
 10789:         lt_prog_compiler_wl='-Wl,-Wl,,'
 10790:         lt_prog_compiler_pic='-PIC'
 10791:         lt_prog_compiler_static='-Bstatic'
 10792:         ;;
 10793:       esac
 10794:       ;;
 10795: 
 10796:     mingw* | cygwin* | pw32* | os2* | cegcc*)
 10797:       # This hack is so that the source file can tell whether it is being
 10798:       # built for inclusion in a dll (and should export symbols for example).
 10799:       lt_prog_compiler_pic='-DDLL_EXPORT'
 10800:       case $host_os in
 10801:       os2*)
 10802: 	lt_prog_compiler_static='$wl-static'
 10803: 	;;
 10804:       esac
 10805:       ;;
 10806: 
 10807:     hpux9* | hpux10* | hpux11*)
 10808:       lt_prog_compiler_wl='-Wl,'
 10809:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 10810:       # not for PA HP-UX.
 10811:       case $host_cpu in
 10812:       hppa*64*|ia64*)
 10813: 	# +Z the default
 10814: 	;;
 10815:       *)
 10816: 	lt_prog_compiler_pic='+Z'
 10817: 	;;
 10818:       esac
 10819:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 10820:       lt_prog_compiler_static='$wl-a ${wl}archive'
 10821:       ;;
 10822: 
 10823:     irix5* | irix6* | nonstopux*)
 10824:       lt_prog_compiler_wl='-Wl,'
 10825:       # PIC (with -KPIC) is the default.
 10826:       lt_prog_compiler_static='-non_shared'
 10827:       ;;
 10828: 
 10829:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 10830:       case $cc_basename in
 10831:       # old Intel for x86_64, which still supported -KPIC.
 10832:       ecc*)
 10833: 	lt_prog_compiler_wl='-Wl,'
 10834: 	lt_prog_compiler_pic='-KPIC'
 10835: 	lt_prog_compiler_static='-static'
 10836:         ;;
 10837:       # icc used to be incompatible with GCC.
 10838:       # ICC 10 doesn't accept -KPIC any more.
 10839:       icc* | ifort*)
 10840: 	lt_prog_compiler_wl='-Wl,'
 10841: 	lt_prog_compiler_pic='-fPIC'
 10842: 	lt_prog_compiler_static='-static'
 10843:         ;;
 10844:       # Lahey Fortran 8.1.
 10845:       lf95*)
 10846: 	lt_prog_compiler_wl='-Wl,'
 10847: 	lt_prog_compiler_pic='--shared'
 10848: 	lt_prog_compiler_static='--static'
 10849: 	;;
 10850:       nagfor*)
 10851: 	# NAG Fortran compiler
 10852: 	lt_prog_compiler_wl='-Wl,-Wl,,'
 10853: 	lt_prog_compiler_pic='-PIC'
 10854: 	lt_prog_compiler_static='-Bstatic'
 10855: 	;;
 10856:       tcc*)
 10857: 	# Fabrice Bellard et al's Tiny C Compiler
 10858: 	lt_prog_compiler_wl='-Wl,'
 10859: 	lt_prog_compiler_pic='-fPIC'
 10860: 	lt_prog_compiler_static='-static'
 10861: 	;;
 10862:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 10863:         # Portland Group compilers (*not* the Pentium gcc compiler,
 10864: 	# which looks to be a dead project)
 10865: 	lt_prog_compiler_wl='-Wl,'
 10866: 	lt_prog_compiler_pic='-fpic'
 10867: 	lt_prog_compiler_static='-Bstatic'
 10868:         ;;
 10869:       ccc*)
 10870:         lt_prog_compiler_wl='-Wl,'
 10871:         # All Alpha code is PIC.
 10872:         lt_prog_compiler_static='-non_shared'
 10873:         ;;
 10874:       xl* | bgxl* | bgf* | mpixl*)
 10875: 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 10876: 	lt_prog_compiler_wl='-Wl,'
 10877: 	lt_prog_compiler_pic='-qpic'
 10878: 	lt_prog_compiler_static='-qstaticlink'
 10879: 	;;
 10880:       *)
 10881: 	case `$CC -V 2>&1 | sed 5q` in
 10882: 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 10883: 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 10884: 	  lt_prog_compiler_pic='-KPIC'
 10885: 	  lt_prog_compiler_static='-Bstatic'
 10886: 	  lt_prog_compiler_wl=''
 10887: 	  ;;
 10888: 	*Sun\ F* | *Sun*Fortran*)
 10889: 	  lt_prog_compiler_pic='-KPIC'
 10890: 	  lt_prog_compiler_static='-Bstatic'
 10891: 	  lt_prog_compiler_wl='-Qoption ld '
 10892: 	  ;;
 10893: 	*Sun\ C*)
 10894: 	  # Sun C 5.9
 10895: 	  lt_prog_compiler_pic='-KPIC'
 10896: 	  lt_prog_compiler_static='-Bstatic'
 10897: 	  lt_prog_compiler_wl='-Wl,'
 10898: 	  ;;
 10899:         *Intel*\ [CF]*Compiler*)
 10900: 	  lt_prog_compiler_wl='-Wl,'
 10901: 	  lt_prog_compiler_pic='-fPIC'
 10902: 	  lt_prog_compiler_static='-static'
 10903: 	  ;;
 10904: 	*Portland\ Group*)
 10905: 	  lt_prog_compiler_wl='-Wl,'
 10906: 	  lt_prog_compiler_pic='-fpic'
 10907: 	  lt_prog_compiler_static='-Bstatic'
 10908: 	  ;;
 10909: 	esac
 10910: 	;;
 10911:       esac
 10912:       ;;
 10913: 
 10914:     newsos6)
 10915:       lt_prog_compiler_pic='-KPIC'
 10916:       lt_prog_compiler_static='-Bstatic'
 10917:       ;;
 10918: 
 10919:     *nto* | *qnx*)
 10920:       # QNX uses GNU C++, but need to define -shared option too, otherwise
 10921:       # it will coredump.
 10922:       lt_prog_compiler_pic='-fPIC -shared'
 10923:       ;;
 10924: 
 10925:     osf3* | osf4* | osf5*)
 10926:       lt_prog_compiler_wl='-Wl,'
 10927:       # All OSF/1 code is PIC.
 10928:       lt_prog_compiler_static='-non_shared'
 10929:       ;;
 10930: 
 10931:     rdos*)
 10932:       lt_prog_compiler_static='-non_shared'
 10933:       ;;
 10934: 
 10935:     solaris*)
 10936:       lt_prog_compiler_pic='-KPIC'
 10937:       lt_prog_compiler_static='-Bstatic'
 10938:       case $cc_basename in
 10939:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 10940: 	lt_prog_compiler_wl='-Qoption ld ';;
 10941:       *)
 10942: 	lt_prog_compiler_wl='-Wl,';;
 10943:       esac
 10944:       ;;
 10945: 
 10946:     sunos4*)
 10947:       lt_prog_compiler_wl='-Qoption ld '
 10948:       lt_prog_compiler_pic='-PIC'
 10949:       lt_prog_compiler_static='-Bstatic'
 10950:       ;;
 10951: 
 10952:     sysv4 | sysv4.2uw2* | sysv4.3*)
 10953:       lt_prog_compiler_wl='-Wl,'
 10954:       lt_prog_compiler_pic='-KPIC'
 10955:       lt_prog_compiler_static='-Bstatic'
 10956:       ;;
 10957: 
 10958:     sysv4*MP*)
 10959:       if test -d /usr/nec; then
 10960: 	lt_prog_compiler_pic='-Kconform_pic'
 10961: 	lt_prog_compiler_static='-Bstatic'
 10962:       fi
 10963:       ;;
 10964: 
 10965:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 10966:       lt_prog_compiler_wl='-Wl,'
 10967:       lt_prog_compiler_pic='-KPIC'
 10968:       lt_prog_compiler_static='-Bstatic'
 10969:       ;;
 10970: 
 10971:     unicos*)
 10972:       lt_prog_compiler_wl='-Wl,'
 10973:       lt_prog_compiler_can_build_shared=no
 10974:       ;;
 10975: 
 10976:     uts4*)
 10977:       lt_prog_compiler_pic='-pic'
 10978:       lt_prog_compiler_static='-Bstatic'
 10979:       ;;
 10980: 
 10981:     *)
 10982:       lt_prog_compiler_can_build_shared=no
 10983:       ;;
 10984:     esac
 10985:   fi
 10986: 
 10987: case $host_os in
 10988:   # For platforms that do not support PIC, -DPIC is meaningless:
 10989:   *djgpp*)
 10990:     lt_prog_compiler_pic=
 10991:     ;;
 10992:   *)
 10993:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 10994:     ;;
 10995: esac
 10996: 
 10997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 10998: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 10999: if ${lt_cv_prog_compiler_pic+:} false; then :
 11000:   $as_echo_n "(cached) " >&6
 11001: else
 11002:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 11003: fi
 11004: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 11005: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
 11006: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 11007: 
 11008: #
 11009: # Check to make sure the PIC flag actually works.
 11010: #
 11011: if test -n "$lt_prog_compiler_pic"; then
 11012:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 11013: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 11014: if ${lt_cv_prog_compiler_pic_works+:} false; then :
 11015:   $as_echo_n "(cached) " >&6
 11016: else
 11017:   lt_cv_prog_compiler_pic_works=no
 11018:    ac_outfile=conftest.$ac_objext
 11019:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11020:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
 11021:    # Insert the option either (1) after the last *FLAGS variable, or
 11022:    # (2) before a word containing "conftest.", or (3) at the end.
 11023:    # Note that $ac_compile itself does not contain backslashes and begins
 11024:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11025:    # The option is referenced via a variable to avoid confusing sed.
 11026:    lt_compile=`echo "$ac_compile" | $SED \
 11027:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11028:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11029:    -e 's:$: $lt_compiler_flag:'`
 11030:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11031:    (eval "$lt_compile" 2>conftest.err)
 11032:    ac_status=$?
 11033:    cat conftest.err >&5
 11034:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11035:    if (exit $ac_status) && test -s "$ac_outfile"; then
 11036:      # The compiler can only warn and ignore the option if not recognized
 11037:      # So say no if there are warnings other than the usual output.
 11038:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 11039:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11040:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 11041:        lt_cv_prog_compiler_pic_works=yes
 11042:      fi
 11043:    fi
 11044:    $RM conftest*
 11045: 
 11046: fi
 11047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 11048: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 11049: 
 11050: if test yes = "$lt_cv_prog_compiler_pic_works"; then
 11051:     case $lt_prog_compiler_pic in
 11052:      "" | " "*) ;;
 11053:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 11054:      esac
 11055: else
 11056:     lt_prog_compiler_pic=
 11057:      lt_prog_compiler_can_build_shared=no
 11058: fi
 11059: 
 11060: fi
 11061: 
 11062: 
 11063: 
 11064: 
 11065: 
 11066: 
 11067: 
 11068: 
 11069: 
 11070: 
 11071: 
 11072: #
 11073: # Check to make sure the static flag actually works.
 11074: #
 11075: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 11076: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 11077: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 11078: if ${lt_cv_prog_compiler_static_works+:} false; then :
 11079:   $as_echo_n "(cached) " >&6
 11080: else
 11081:   lt_cv_prog_compiler_static_works=no
 11082:    save_LDFLAGS=$LDFLAGS
 11083:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 11084:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 11085:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 11086:      # The linker can only warn and ignore the option if not recognized
 11087:      # So say no if there are warnings
 11088:      if test -s conftest.err; then
 11089:        # Append any errors to the config.log.
 11090:        cat conftest.err 1>&5
 11091:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 11092:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 11093:        if diff conftest.exp conftest.er2 >/dev/null; then
 11094:          lt_cv_prog_compiler_static_works=yes
 11095:        fi
 11096:      else
 11097:        lt_cv_prog_compiler_static_works=yes
 11098:      fi
 11099:    fi
 11100:    $RM -r conftest*
 11101:    LDFLAGS=$save_LDFLAGS
 11102: 
 11103: fi
 11104: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 11105: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 11106: 
 11107: if test yes = "$lt_cv_prog_compiler_static_works"; then
 11108:     :
 11109: else
 11110:     lt_prog_compiler_static=
 11111: fi
 11112: 
 11113: 
 11114: 
 11115: 
 11116: 
 11117: 
 11118: 
 11119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 11120: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 11121: if ${lt_cv_prog_compiler_c_o+:} false; then :
 11122:   $as_echo_n "(cached) " >&6
 11123: else
 11124:   lt_cv_prog_compiler_c_o=no
 11125:    $RM -r conftest 2>/dev/null
 11126:    mkdir conftest
 11127:    cd conftest
 11128:    mkdir out
 11129:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11130: 
 11131:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 11132:    # Insert the option either (1) after the last *FLAGS variable, or
 11133:    # (2) before a word containing "conftest.", or (3) at the end.
 11134:    # Note that $ac_compile itself does not contain backslashes and begins
 11135:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11136:    lt_compile=`echo "$ac_compile" | $SED \
 11137:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11138:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11139:    -e 's:$: $lt_compiler_flag:'`
 11140:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11141:    (eval "$lt_compile" 2>out/conftest.err)
 11142:    ac_status=$?
 11143:    cat out/conftest.err >&5
 11144:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11145:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11146:    then
 11147:      # The compiler can only warn and ignore the option if not recognized
 11148:      # So say no if there are warnings
 11149:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 11150:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11151:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11152:        lt_cv_prog_compiler_c_o=yes
 11153:      fi
 11154:    fi
 11155:    chmod u+w . 2>&5
 11156:    $RM conftest*
 11157:    # SGI C++ compiler will create directory out/ii_files/ for
 11158:    # template instantiation
 11159:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 11160:    $RM out/* && rmdir out
 11161:    cd ..
 11162:    $RM -r conftest
 11163:    $RM conftest*
 11164: 
 11165: fi
 11166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 11167: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 11168: 
 11169: 
 11170: 
 11171: 
 11172: 
 11173: 
 11174:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 11175: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 11176: if ${lt_cv_prog_compiler_c_o+:} false; then :
 11177:   $as_echo_n "(cached) " >&6
 11178: else
 11179:   lt_cv_prog_compiler_c_o=no
 11180:    $RM -r conftest 2>/dev/null
 11181:    mkdir conftest
 11182:    cd conftest
 11183:    mkdir out
 11184:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 11185: 
 11186:    lt_compiler_flag="-o out/conftest2.$ac_objext"
 11187:    # Insert the option either (1) after the last *FLAGS variable, or
 11188:    # (2) before a word containing "conftest.", or (3) at the end.
 11189:    # Note that $ac_compile itself does not contain backslashes and begins
 11190:    # with a dollar sign (not a hyphen), so the echo should work correctly.
 11191:    lt_compile=`echo "$ac_compile" | $SED \
 11192:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 11193:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 11194:    -e 's:$: $lt_compiler_flag:'`
 11195:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 11196:    (eval "$lt_compile" 2>out/conftest.err)
 11197:    ac_status=$?
 11198:    cat out/conftest.err >&5
 11199:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11200:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 11201:    then
 11202:      # The compiler can only warn and ignore the option if not recognized
 11203:      # So say no if there are warnings
 11204:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 11205:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 11206:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 11207:        lt_cv_prog_compiler_c_o=yes
 11208:      fi
 11209:    fi
 11210:    chmod u+w . 2>&5
 11211:    $RM conftest*
 11212:    # SGI C++ compiler will create directory out/ii_files/ for
 11213:    # template instantiation
 11214:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 11215:    $RM out/* && rmdir out
 11216:    cd ..
 11217:    $RM -r conftest
 11218:    $RM conftest*
 11219: 
 11220: fi
 11221: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 11222: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 11223: 
 11224: 
 11225: 
 11226: 
 11227: hard_links=nottested
 11228: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
 11229:   # do not overwrite the value of need_locks provided by the user
 11230:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 11231: $as_echo_n "checking if we can lock with hard links... " >&6; }
 11232:   hard_links=yes
 11233:   $RM conftest*
 11234:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11235:   touch conftest.a
 11236:   ln conftest.a conftest.b 2>&5 || hard_links=no
 11237:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 11238:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 11239: $as_echo "$hard_links" >&6; }
 11240:   if test no = "$hard_links"; then
 11241:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
 11242: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
 11243:     need_locks=warn
 11244:   fi
 11245: else
 11246:   need_locks=no
 11247: fi
 11248: 
 11249: 
 11250: 
 11251: 
 11252: 
 11253: 
 11254:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11255: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 11256: 
 11257:   runpath_var=
 11258:   allow_undefined_flag=
 11259:   always_export_symbols=no
 11260:   archive_cmds=
 11261:   archive_expsym_cmds=
 11262:   compiler_needs_object=no
 11263:   enable_shared_with_static_runtimes=no
 11264:   export_dynamic_flag_spec=
 11265:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 11266:   hardcode_automatic=no
 11267:   hardcode_direct=no
 11268:   hardcode_direct_absolute=no
 11269:   hardcode_libdir_flag_spec=
 11270:   hardcode_libdir_separator=
 11271:   hardcode_minus_L=no
 11272:   hardcode_shlibpath_var=unsupported
 11273:   inherit_rpath=no
 11274:   link_all_deplibs=unknown
 11275:   module_cmds=
 11276:   module_expsym_cmds=
 11277:   old_archive_from_new_cmds=
 11278:   old_archive_from_expsyms_cmds=
 11279:   thread_safe_flag_spec=
 11280:   whole_archive_flag_spec=
 11281:   # include_expsyms should be a list of space-separated symbols to be *always*
 11282:   # included in the symbol list
 11283:   include_expsyms=
 11284:   # exclude_expsyms can be an extended regexp of symbols to exclude
 11285:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
 11286:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
 11287:   # as well as any symbol that contains 'd'.
 11288:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 11289:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 11290:   # platforms (ab)use it in PIC code, but their linkers get confused if
 11291:   # the symbol is explicitly referenced.  Since portable code cannot
 11292:   # rely on this symbol name, it's probably fine to never include it in
 11293:   # preloaded symbol tables.
 11294:   # Exclude shared library initialization/finalization symbols.
 11295:   extract_expsyms_cmds=
 11296: 
 11297:   case $host_os in
 11298:   cygwin* | mingw* | pw32* | cegcc*)
 11299:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 11300:     # When not using gcc, we currently assume that we are using
 11301:     # Microsoft Visual C++.
 11302:     if test yes != "$GCC"; then
 11303:       with_gnu_ld=no
 11304:     fi
 11305:     ;;
 11306:   interix*)
 11307:     # we just hope/assume this is gcc and not c89 (= MSVC++)
 11308:     with_gnu_ld=yes
 11309:     ;;
 11310:   openbsd* | bitrig*)
 11311:     with_gnu_ld=no
 11312:     ;;
 11313:   esac
 11314: 
 11315:   ld_shlibs=yes
 11316: 
 11317:   # On some targets, GNU ld is compatible enough with the native linker
 11318:   # that we're better off using the native interface for both.
 11319:   lt_use_gnu_ld_interface=no
 11320:   if test yes = "$with_gnu_ld"; then
 11321:     case $host_os in
 11322:       aix*)
 11323: 	# The AIX port of GNU ld has always aspired to compatibility
 11324: 	# with the native linker.  However, as the warning in the GNU ld
 11325: 	# block says, versions before 2.19.5* couldn't really create working
 11326: 	# shared libraries, regardless of the interface used.
 11327: 	case `$LD -v 2>&1` in
 11328: 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 11329: 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 11330: 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 11331: 	  *)
 11332: 	    lt_use_gnu_ld_interface=yes
 11333: 	    ;;
 11334: 	esac
 11335: 	;;
 11336:       *)
 11337: 	lt_use_gnu_ld_interface=yes
 11338: 	;;
 11339:     esac
 11340:   fi
 11341: 
 11342:   if test yes = "$lt_use_gnu_ld_interface"; then
 11343:     # If archive_cmds runs LD, not CC, wlarc should be empty
 11344:     wlarc='$wl'
 11345: 
 11346:     # Set some defaults for GNU ld with shared library support. These
 11347:     # are reset later if shared libraries are not supported. Putting them
 11348:     # here allows them to be overridden if necessary.
 11349:     runpath_var=LD_RUN_PATH
 11350:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 11351:     export_dynamic_flag_spec='$wl--export-dynamic'
 11352:     # ancient GNU ld didn't support --whole-archive et. al.
 11353:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 11354:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
 11355:     else
 11356:       whole_archive_flag_spec=
 11357:     fi
 11358:     supports_anon_versioning=no
 11359:     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
 11360:       *GNU\ gold*) supports_anon_versioning=yes ;;
 11361:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 11362:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 11363:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 11364:       *\ 2.11.*) ;; # other 2.11 versions
 11365:       *) supports_anon_versioning=yes ;;
 11366:     esac
 11367: 
 11368:     # See if GNU ld supports shared libraries.
 11369:     case $host_os in
 11370:     aix[3-9]*)
 11371:       # On AIX/PPC, the GNU linker is very broken
 11372:       if test ia64 != "$host_cpu"; then
 11373: 	ld_shlibs=no
 11374: 	cat <<_LT_EOF 1>&2
 11375: 
 11376: *** Warning: the GNU linker, at least up to release 2.19, is reported
 11377: *** to be unable to reliably create shared libraries on AIX.
 11378: *** Therefore, libtool is disabling shared libraries support.  If you
 11379: *** really care for shared libraries, you may want to install binutils
 11380: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 11381: *** You will then need to restart the configuration process.
 11382: 
 11383: _LT_EOF
 11384:       fi
 11385:       ;;
 11386: 
 11387:     amigaos*)
 11388:       case $host_cpu in
 11389:       powerpc)
 11390:             # see comment about AmigaOS4 .so support
 11391:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11392:             archive_expsym_cmds=''
 11393:         ;;
 11394:       m68k)
 11395:             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)'
 11396:             hardcode_libdir_flag_spec='-L$libdir'
 11397:             hardcode_minus_L=yes
 11398:         ;;
 11399:       esac
 11400:       ;;
 11401: 
 11402:     beos*)
 11403:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11404: 	allow_undefined_flag=unsupported
 11405: 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 11406: 	# support --undefined.  This deserves some investigation.  FIXME
 11407: 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11408:       else
 11409: 	ld_shlibs=no
 11410:       fi
 11411:       ;;
 11412: 
 11413:     cygwin* | mingw* | pw32* | cegcc*)
 11414:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 11415:       # as there is no search path for DLLs.
 11416:       hardcode_libdir_flag_spec='-L$libdir'
 11417:       export_dynamic_flag_spec='$wl--export-all-symbols'
 11418:       allow_undefined_flag=unsupported
 11419:       always_export_symbols=no
 11420:       enable_shared_with_static_runtimes=yes
 11421:       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'
 11422:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 11423: 
 11424:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 11425:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 11426: 	# If the export-symbols file already is a .def file, use it as
 11427: 	# is; otherwise, prepend EXPORTS...
 11428: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 11429:           cp $export_symbols $output_objdir/$soname.def;
 11430:         else
 11431:           echo EXPORTS > $output_objdir/$soname.def;
 11432:           cat $export_symbols >> $output_objdir/$soname.def;
 11433:         fi~
 11434:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 11435:       else
 11436: 	ld_shlibs=no
 11437:       fi
 11438:       ;;
 11439: 
 11440:     haiku*)
 11441:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11442:       link_all_deplibs=yes
 11443:       ;;
 11444: 
 11445:     os2*)
 11446:       hardcode_libdir_flag_spec='-L$libdir'
 11447:       hardcode_minus_L=yes
 11448:       allow_undefined_flag=unsupported
 11449:       shrext_cmds=.dll
 11450:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 11451: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 11452: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 11453: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 11454: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 11455: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 11456: 	emximp -o $lib $output_objdir/$libname.def'
 11457:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 11458: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 11459: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 11460: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 11461: 	prefix_cmds="$SED"~
 11462: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 11463: 	  prefix_cmds="$prefix_cmds -e 1d";
 11464: 	fi~
 11465: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 11466: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 11467: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 11468: 	emximp -o $lib $output_objdir/$libname.def'
 11469:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 11470:       enable_shared_with_static_runtimes=yes
 11471:       ;;
 11472: 
 11473:     interix[3-9]*)
 11474:       hardcode_direct=no
 11475:       hardcode_shlibpath_var=no
 11476:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 11477:       export_dynamic_flag_spec='$wl-E'
 11478:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 11479:       # Instead, shared libraries are loaded at an image base (0x10000000 by
 11480:       # default) and relocated if they conflict, which is a slow very memory
 11481:       # consuming and fragmenting process.  To avoid this, we pick a random,
 11482:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 11483:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 11484:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 11485:       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'
 11486:       ;;
 11487: 
 11488:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 11489:       tmp_diet=no
 11490:       if test linux-dietlibc = "$host_os"; then
 11491: 	case $cc_basename in
 11492: 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
 11493: 	esac
 11494:       fi
 11495:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 11496: 	 && test no = "$tmp_diet"
 11497:       then
 11498: 	tmp_addflag=' $pic_flag'
 11499: 	tmp_sharedflag='-shared'
 11500: 	case $cc_basename,$host_cpu in
 11501:         pgcc*)				# Portland Group C compiler
 11502: 	  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'
 11503: 	  tmp_addflag=' $pic_flag'
 11504: 	  ;;
 11505: 	pgf77* | pgf90* | pgf95* | pgfortran*)
 11506: 					# Portland Group f77 and f90 compilers
 11507: 	  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'
 11508: 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 11509: 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
 11510: 	  tmp_addflag=' -i_dynamic' ;;
 11511: 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 11512: 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 11513: 	ifc* | ifort*)			# Intel Fortran compiler
 11514: 	  tmp_addflag=' -nofor_main' ;;
 11515: 	lf95*)				# Lahey Fortran 8.1
 11516: 	  whole_archive_flag_spec=
 11517: 	  tmp_sharedflag='--shared' ;;
 11518:         nagfor*)                        # NAGFOR 5.3
 11519:           tmp_sharedflag='-Wl,-shared' ;;
 11520: 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 11521: 	  tmp_sharedflag='-qmkshrobj'
 11522: 	  tmp_addflag= ;;
 11523: 	nvcc*)	# Cuda Compiler Driver 2.2
 11524: 	  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'
 11525: 	  compiler_needs_object=yes
 11526: 	  ;;
 11527: 	esac
 11528: 	case `$CC -V 2>&1 | sed 5q` in
 11529: 	*Sun\ C*)			# Sun C 5.9
 11530: 	  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'
 11531: 	  compiler_needs_object=yes
 11532: 	  tmp_sharedflag='-G' ;;
 11533: 	*Sun\ F*)			# Sun Fortran 8.3
 11534: 	  tmp_sharedflag='-G' ;;
 11535: 	esac
 11536: 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11537: 
 11538:         if test yes = "$supports_anon_versioning"; then
 11539:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 11540:             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 11541:             echo "local: *; };" >> $output_objdir/$libname.ver~
 11542:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
 11543:         fi
 11544: 
 11545: 	case $cc_basename in
 11546: 	tcc*)
 11547: 	  export_dynamic_flag_spec='-rdynamic'
 11548: 	  ;;
 11549: 	xlf* | bgf* | bgxlf* | mpixlf*)
 11550: 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 11551: 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 11552: 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 11553: 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 11554: 	  if test yes = "$supports_anon_versioning"; then
 11555: 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 11556:               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 11557:               echo "local: *; };" >> $output_objdir/$libname.ver~
 11558:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 11559: 	  fi
 11560: 	  ;;
 11561: 	esac
 11562:       else
 11563:         ld_shlibs=no
 11564:       fi
 11565:       ;;
 11566: 
 11567:     netbsd*)
 11568:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 11569: 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 11570: 	wlarc=
 11571:       else
 11572: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11573: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 11574:       fi
 11575:       ;;
 11576: 
 11577:     solaris*)
 11578:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 11579: 	ld_shlibs=no
 11580: 	cat <<_LT_EOF 1>&2
 11581: 
 11582: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 11583: *** create shared libraries on Solaris systems.  Therefore, libtool
 11584: *** is disabling shared libraries support.  We urge you to upgrade GNU
 11585: *** binutils to release 2.9.1 or newer.  Another option is to modify
 11586: *** your PATH or compiler configuration so that the native linker is
 11587: *** used, and then restart.
 11588: 
 11589: _LT_EOF
 11590:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11591: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11592: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 11593:       else
 11594: 	ld_shlibs=no
 11595:       fi
 11596:       ;;
 11597: 
 11598:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 11599:       case `$LD -v 2>&1` in
 11600:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 11601: 	ld_shlibs=no
 11602: 	cat <<_LT_EOF 1>&2
 11603: 
 11604: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
 11605: *** reliably create shared libraries on SCO systems.  Therefore, libtool
 11606: *** is disabling shared libraries support.  We urge you to upgrade GNU
 11607: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 11608: *** your PATH or compiler configuration so that the native linker is
 11609: *** used, and then restart.
 11610: 
 11611: _LT_EOF
 11612: 	;;
 11613: 	*)
 11614: 	  # For security reasons, it is highly recommended that you always
 11615: 	  # use absolute paths for naming shared libraries, and exclude the
 11616: 	  # DT_RUNPATH tag from executables and libraries.  But doing so
 11617: 	  # requires that you compile everything twice, which is a pain.
 11618: 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11619: 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 11620: 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11621: 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 11622: 	  else
 11623: 	    ld_shlibs=no
 11624: 	  fi
 11625: 	;;
 11626:       esac
 11627:       ;;
 11628: 
 11629:     sunos4*)
 11630:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 11631:       wlarc=
 11632:       hardcode_direct=yes
 11633:       hardcode_shlibpath_var=no
 11634:       ;;
 11635: 
 11636:     *)
 11637:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 11638: 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11639: 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
 11640:       else
 11641: 	ld_shlibs=no
 11642:       fi
 11643:       ;;
 11644:     esac
 11645: 
 11646:     if test no = "$ld_shlibs"; then
 11647:       runpath_var=
 11648:       hardcode_libdir_flag_spec=
 11649:       export_dynamic_flag_spec=
 11650:       whole_archive_flag_spec=
 11651:     fi
 11652:   else
 11653:     # PORTME fill in a description of your system's linker (not GNU ld)
 11654:     case $host_os in
 11655:     aix3*)
 11656:       allow_undefined_flag=unsupported
 11657:       always_export_symbols=yes
 11658:       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'
 11659:       # Note: this linker hardcodes the directories in LIBPATH if there
 11660:       # are no directories specified by -L.
 11661:       hardcode_minus_L=yes
 11662:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
 11663: 	# Neither direct hardcoding nor static linking is supported with a
 11664: 	# broken collect2.
 11665: 	hardcode_direct=unsupported
 11666:       fi
 11667:       ;;
 11668: 
 11669:     aix[4-9]*)
 11670:       if test ia64 = "$host_cpu"; then
 11671: 	# On IA64, the linker does run time linking by default, so we don't
 11672: 	# have to do anything special.
 11673: 	aix_use_runtimelinking=no
 11674: 	exp_sym_flag='-Bexport'
 11675: 	no_entry_flag=
 11676:       else
 11677: 	# If we're using GNU nm, then we don't want the "-C" option.
 11678: 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
 11679: 	# Without the "-l" option, or with the "-B" option, AIX nm treats
 11680: 	# weak defined symbols like other global defined symbols, whereas
 11681: 	# GNU nm marks them as "W".
 11682: 	# While the 'weak' keyword is ignored in the Export File, we need
 11683: 	# it in the Import File for the 'aix-soname' feature, so we have
 11684: 	# to replace the "-B" option with "-P" for AIX nm.
 11685: 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 11686: 	  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'
 11687: 	else
 11688: 	  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'
 11689: 	fi
 11690: 	aix_use_runtimelinking=no
 11691: 
 11692: 	# Test if we are trying to use run time linking or normal
 11693: 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 11694: 	# have runtime linking enabled, and use it for executables.
 11695: 	# For shared libraries, we enable/disable runtime linking
 11696: 	# depending on the kind of the shared library created -
 11697: 	# when "with_aix_soname,aix_use_runtimelinking" is:
 11698: 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
 11699: 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
 11700: 	#            lib.a           static archive
 11701: 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
 11702: 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
 11703: 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
 11704: 	#            lib.a(lib.so.V) shared, rtl:no
 11705: 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
 11706: 	#            lib.a           static archive
 11707: 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 11708: 	  for ld_flag in $LDFLAGS; do
 11709: 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
 11710: 	    aix_use_runtimelinking=yes
 11711: 	    break
 11712: 	  fi
 11713: 	  done
 11714: 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
 11715: 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
 11716: 	    # so we don't have lib.a shared libs to link our executables.
 11717: 	    # We have to force runtime linking in this case.
 11718: 	    aix_use_runtimelinking=yes
 11719: 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
 11720: 	  fi
 11721: 	  ;;
 11722: 	esac
 11723: 
 11724: 	exp_sym_flag='-bexport'
 11725: 	no_entry_flag='-bnoentry'
 11726:       fi
 11727: 
 11728:       # When large executables or shared objects are built, AIX ld can
 11729:       # have problems creating the table of contents.  If linking a library
 11730:       # or program results in "error TOC overflow" add -mminimal-toc to
 11731:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 11732:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 11733: 
 11734:       archive_cmds=''
 11735:       hardcode_direct=yes
 11736:       hardcode_direct_absolute=yes
 11737:       hardcode_libdir_separator=':'
 11738:       link_all_deplibs=yes
 11739:       file_list_spec='$wl-f,'
 11740:       case $with_aix_soname,$aix_use_runtimelinking in
 11741:       aix,*) ;; # traditional, no import file
 11742:       svr4,* | *,yes) # use import file
 11743: 	# The Import File defines what to hardcode.
 11744: 	hardcode_direct=no
 11745: 	hardcode_direct_absolute=no
 11746: 	;;
 11747:       esac
 11748: 
 11749:       if test yes = "$GCC"; then
 11750: 	case $host_os in aix4.[012]|aix4.[012].*)
 11751: 	# We only want to do this on AIX 4.2 and lower, the check
 11752: 	# below for broken collect2 doesn't work under 4.3+
 11753: 	  collect2name=`$CC -print-prog-name=collect2`
 11754: 	  if test -f "$collect2name" &&
 11755: 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 11756: 	  then
 11757: 	  # We have reworked collect2
 11758: 	  :
 11759: 	  else
 11760: 	  # We have old collect2
 11761: 	  hardcode_direct=unsupported
 11762: 	  # It fails to find uninstalled libraries when the uninstalled
 11763: 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 11764: 	  # to unsupported forces relinking
 11765: 	  hardcode_minus_L=yes
 11766: 	  hardcode_libdir_flag_spec='-L$libdir'
 11767: 	  hardcode_libdir_separator=
 11768: 	  fi
 11769: 	  ;;
 11770: 	esac
 11771: 	shared_flag='-shared'
 11772: 	if test yes = "$aix_use_runtimelinking"; then
 11773: 	  shared_flag="$shared_flag "'$wl-G'
 11774: 	fi
 11775: 	# Need to ensure runtime linking is disabled for the traditional
 11776: 	# shared library, or the linker may eventually find shared libraries
 11777: 	# /with/ Import File - we do not want to mix them.
 11778: 	shared_flag_aix='-shared'
 11779: 	shared_flag_svr4='-shared $wl-G'
 11780:       else
 11781: 	# not using gcc
 11782: 	if test ia64 = "$host_cpu"; then
 11783: 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 11784: 	# chokes on -Wl,-G. The following line is correct:
 11785: 	  shared_flag='-G'
 11786: 	else
 11787: 	  if test yes = "$aix_use_runtimelinking"; then
 11788: 	    shared_flag='$wl-G'
 11789: 	  else
 11790: 	    shared_flag='$wl-bM:SRE'
 11791: 	  fi
 11792: 	  shared_flag_aix='$wl-bM:SRE'
 11793: 	  shared_flag_svr4='$wl-G'
 11794: 	fi
 11795:       fi
 11796: 
 11797:       export_dynamic_flag_spec='$wl-bexpall'
 11798:       # It seems that -bexpall does not export symbols beginning with
 11799:       # underscore (_), so it is better to generate a list of symbols to export.
 11800:       always_export_symbols=yes
 11801:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
 11802: 	# Warning - without using the other runtime loading flags (-brtl),
 11803: 	# -berok will link without error, but may produce a broken library.
 11804: 	allow_undefined_flag='-berok'
 11805:         # Determine the default libpath from the value encoded in an
 11806:         # empty executable.
 11807:         if test set = "${lt_cv_aix_libpath+set}"; then
 11808:   aix_libpath=$lt_cv_aix_libpath
 11809: else
 11810:   if ${lt_cv_aix_libpath_+:} false; then :
 11811:   $as_echo_n "(cached) " >&6
 11812: else
 11813:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11814: /* end confdefs.h.  */
 11815: 
 11816: int
 11817: main ()
 11818: {
 11819: 
 11820:   ;
 11821:   return 0;
 11822: }
 11823: _ACEOF
 11824: if ac_fn_c_try_link "$LINENO"; then :
 11825: 
 11826:   lt_aix_libpath_sed='
 11827:       /Import File Strings/,/^$/ {
 11828: 	  /^0/ {
 11829: 	      s/^0  *\([^ ]*\) *$/\1/
 11830: 	      p
 11831: 	  }
 11832:       }'
 11833:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11834:   # Check for a 64-bit object if we didn't find anything.
 11835:   if test -z "$lt_cv_aix_libpath_"; then
 11836:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11837:   fi
 11838: fi
 11839: rm -f core conftest.err conftest.$ac_objext \
 11840:     conftest$ac_exeext conftest.$ac_ext
 11841:   if test -z "$lt_cv_aix_libpath_"; then
 11842:     lt_cv_aix_libpath_=/usr/lib:/lib
 11843:   fi
 11844: 
 11845: fi
 11846: 
 11847:   aix_libpath=$lt_cv_aix_libpath_
 11848: fi
 11849: 
 11850:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
 11851:         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
 11852:       else
 11853: 	if test ia64 = "$host_cpu"; then
 11854: 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
 11855: 	  allow_undefined_flag="-z nodefs"
 11856: 	  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"
 11857: 	else
 11858: 	 # Determine the default libpath from the value encoded in an
 11859: 	 # empty executable.
 11860: 	 if test set = "${lt_cv_aix_libpath+set}"; then
 11861:   aix_libpath=$lt_cv_aix_libpath
 11862: else
 11863:   if ${lt_cv_aix_libpath_+:} false; then :
 11864:   $as_echo_n "(cached) " >&6
 11865: else
 11866:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11867: /* end confdefs.h.  */
 11868: 
 11869: int
 11870: main ()
 11871: {
 11872: 
 11873:   ;
 11874:   return 0;
 11875: }
 11876: _ACEOF
 11877: if ac_fn_c_try_link "$LINENO"; then :
 11878: 
 11879:   lt_aix_libpath_sed='
 11880:       /Import File Strings/,/^$/ {
 11881: 	  /^0/ {
 11882: 	      s/^0  *\([^ ]*\) *$/\1/
 11883: 	      p
 11884: 	  }
 11885:       }'
 11886:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11887:   # Check for a 64-bit object if we didn't find anything.
 11888:   if test -z "$lt_cv_aix_libpath_"; then
 11889:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 11890:   fi
 11891: fi
 11892: rm -f core conftest.err conftest.$ac_objext \
 11893:     conftest$ac_exeext conftest.$ac_ext
 11894:   if test -z "$lt_cv_aix_libpath_"; then
 11895:     lt_cv_aix_libpath_=/usr/lib:/lib
 11896:   fi
 11897: 
 11898: fi
 11899: 
 11900:   aix_libpath=$lt_cv_aix_libpath_
 11901: fi
 11902: 
 11903: 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
 11904: 	  # Warning - without using the other run time loading flags,
 11905: 	  # -berok will link without error, but may produce a broken library.
 11906: 	  no_undefined_flag=' $wl-bernotok'
 11907: 	  allow_undefined_flag=' $wl-berok'
 11908: 	  if test yes = "$with_gnu_ld"; then
 11909: 	    # We only use this code for GNU lds that support --whole-archive.
 11910: 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
 11911: 	  else
 11912: 	    # Exported symbols can be pulled into shared objects from archives
 11913: 	    whole_archive_flag_spec='$convenience'
 11914: 	  fi
 11915: 	  archive_cmds_need_lc=yes
 11916: 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
 11917: 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
 11918: 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
 11919: 	  if test svr4 != "$with_aix_soname"; then
 11920: 	    # This is similar to how AIX traditionally builds its shared libraries.
 11921: 	    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'
 11922: 	  fi
 11923: 	  if test aix != "$with_aix_soname"; then
 11924: 	    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'
 11925: 	  else
 11926: 	    # used by -dlpreopen to get the symbols
 11927: 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
 11928: 	  fi
 11929: 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
 11930: 	fi
 11931:       fi
 11932:       ;;
 11933: 
 11934:     amigaos*)
 11935:       case $host_cpu in
 11936:       powerpc)
 11937:             # see comment about AmigaOS4 .so support
 11938:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 11939:             archive_expsym_cmds=''
 11940:         ;;
 11941:       m68k)
 11942:             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)'
 11943:             hardcode_libdir_flag_spec='-L$libdir'
 11944:             hardcode_minus_L=yes
 11945:         ;;
 11946:       esac
 11947:       ;;
 11948: 
 11949:     bsdi[45]*)
 11950:       export_dynamic_flag_spec=-rdynamic
 11951:       ;;
 11952: 
 11953:     cygwin* | mingw* | pw32* | cegcc*)
 11954:       # When not using gcc, we currently assume that we are using
 11955:       # Microsoft Visual C++.
 11956:       # hardcode_libdir_flag_spec is actually meaningless, as there is
 11957:       # no search path for DLLs.
 11958:       case $cc_basename in
 11959:       cl*)
 11960: 	# Native MSVC
 11961: 	hardcode_libdir_flag_spec=' '
 11962: 	allow_undefined_flag=unsupported
 11963: 	always_export_symbols=yes
 11964: 	file_list_spec='@'
 11965: 	# Tell ltmain to make .lib files, not .a files.
 11966: 	libext=lib
 11967: 	# Tell ltmain to make .dll files, not .so files.
 11968: 	shrext_cmds=.dll
 11969: 	# FIXME: Setting linknames here is a bad hack.
 11970: 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
 11971: 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 11972:             cp "$export_symbols" "$output_objdir/$soname.def";
 11973:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
 11974:           else
 11975:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
 11976:           fi~
 11977:           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 11978:           linknames='
 11979: 	# The linker will not automatically build a static lib if we build a DLL.
 11980: 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 11981: 	enable_shared_with_static_runtimes=yes
 11982: 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 11983: 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 11984: 	# Don't use ranlib
 11985: 	old_postinstall_cmds='chmod 644 $oldlib'
 11986: 	postlink_cmds='lt_outputfile="@OUTPUT@"~
 11987:           lt_tool_outputfile="@TOOL_OUTPUT@"~
 11988:           case $lt_outputfile in
 11989:             *.exe|*.EXE) ;;
 11990:             *)
 11991:               lt_outputfile=$lt_outputfile.exe
 11992:               lt_tool_outputfile=$lt_tool_outputfile.exe
 11993:               ;;
 11994:           esac~
 11995:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
 11996:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 11997:             $RM "$lt_outputfile.manifest";
 11998:           fi'
 11999: 	;;
 12000:       *)
 12001: 	# Assume MSVC wrapper
 12002: 	hardcode_libdir_flag_spec=' '
 12003: 	allow_undefined_flag=unsupported
 12004: 	# Tell ltmain to make .lib files, not .a files.
 12005: 	libext=lib
 12006: 	# Tell ltmain to make .dll files, not .so files.
 12007: 	shrext_cmds=.dll
 12008: 	# FIXME: Setting linknames here is a bad hack.
 12009: 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 12010: 	# The linker will automatically build a .lib file if we build a DLL.
 12011: 	old_archive_from_new_cmds='true'
 12012: 	# FIXME: Should let the user specify the lib program.
 12013: 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 12014: 	enable_shared_with_static_runtimes=yes
 12015: 	;;
 12016:       esac
 12017:       ;;
 12018: 
 12019:     darwin* | rhapsody*)
 12020: 
 12021: 
 12022:   archive_cmds_need_lc=no
 12023:   hardcode_direct=no
 12024:   hardcode_automatic=yes
 12025:   hardcode_shlibpath_var=unsupported
 12026:   if test yes = "$lt_cv_ld_force_load"; then
 12027:     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\"`'
 12028: 
 12029:   else
 12030:     whole_archive_flag_spec=''
 12031:   fi
 12032:   link_all_deplibs=yes
 12033:   allow_undefined_flag=$_lt_dar_allow_undefined
 12034:   case $cc_basename in
 12035:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
 12036:      *) _lt_dar_can_shared=$GCC ;;
 12037:   esac
 12038:   if test yes = "$_lt_dar_can_shared"; then
 12039:     output_verbose_link_cmd=func_echo_all
 12040:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
 12041:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
 12042:     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"
 12043:     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"
 12044: 
 12045:   else
 12046:   ld_shlibs=no
 12047:   fi
 12048: 
 12049:       ;;
 12050: 
 12051:     dgux*)
 12052:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12053:       hardcode_libdir_flag_spec='-L$libdir'
 12054:       hardcode_shlibpath_var=no
 12055:       ;;
 12056: 
 12057:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 12058:     # support.  Future versions do this automatically, but an explicit c++rt0.o
 12059:     # does not break anything, and helps significantly (at the cost of a little
 12060:     # extra space).
 12061:     freebsd2.2*)
 12062:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 12063:       hardcode_libdir_flag_spec='-R$libdir'
 12064:       hardcode_direct=yes
 12065:       hardcode_shlibpath_var=no
 12066:       ;;
 12067: 
 12068:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 12069:     freebsd2.*)
 12070:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 12071:       hardcode_direct=yes
 12072:       hardcode_minus_L=yes
 12073:       hardcode_shlibpath_var=no
 12074:       ;;
 12075: 
 12076:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 12077:     freebsd* | dragonfly*)
 12078:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12079:       hardcode_libdir_flag_spec='-R$libdir'
 12080:       hardcode_direct=yes
 12081:       hardcode_shlibpath_var=no
 12082:       ;;
 12083: 
 12084:     hpux9*)
 12085:       if test yes = "$GCC"; then
 12086: 	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'
 12087:       else
 12088: 	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'
 12089:       fi
 12090:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
 12091:       hardcode_libdir_separator=:
 12092:       hardcode_direct=yes
 12093: 
 12094:       # hardcode_minus_L: Not really in the search PATH,
 12095:       # but as the default location of the library.
 12096:       hardcode_minus_L=yes
 12097:       export_dynamic_flag_spec='$wl-E'
 12098:       ;;
 12099: 
 12100:     hpux10*)
 12101:       if test yes,no = "$GCC,$with_gnu_ld"; then
 12102: 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 12103:       else
 12104: 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 12105:       fi
 12106:       if test no = "$with_gnu_ld"; then
 12107: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
 12108: 	hardcode_libdir_separator=:
 12109: 	hardcode_direct=yes
 12110: 	hardcode_direct_absolute=yes
 12111: 	export_dynamic_flag_spec='$wl-E'
 12112: 	# hardcode_minus_L: Not really in the search PATH,
 12113: 	# but as the default location of the library.
 12114: 	hardcode_minus_L=yes
 12115:       fi
 12116:       ;;
 12117: 
 12118:     hpux11*)
 12119:       if test yes,no = "$GCC,$with_gnu_ld"; then
 12120: 	case $host_cpu in
 12121: 	hppa*64*)
 12122: 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
 12123: 	  ;;
 12124: 	ia64*)
 12125: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 12126: 	  ;;
 12127: 	*)
 12128: 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 12129: 	  ;;
 12130: 	esac
 12131:       else
 12132: 	case $host_cpu in
 12133: 	hppa*64*)
 12134: 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
 12135: 	  ;;
 12136: 	ia64*)
 12137: 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 12138: 	  ;;
 12139: 	*)
 12140: 
 12141: 	  # Older versions of the 11.00 compiler do not understand -b yet
 12142: 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 12143: 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 12144: $as_echo_n "checking if $CC understands -b... " >&6; }
 12145: if ${lt_cv_prog_compiler__b+:} false; then :
 12146:   $as_echo_n "(cached) " >&6
 12147: else
 12148:   lt_cv_prog_compiler__b=no
 12149:    save_LDFLAGS=$LDFLAGS
 12150:    LDFLAGS="$LDFLAGS -b"
 12151:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 12152:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 12153:      # The linker can only warn and ignore the option if not recognized
 12154:      # So say no if there are warnings
 12155:      if test -s conftest.err; then
 12156:        # Append any errors to the config.log.
 12157:        cat conftest.err 1>&5
 12158:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 12159:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12160:        if diff conftest.exp conftest.er2 >/dev/null; then
 12161:          lt_cv_prog_compiler__b=yes
 12162:        fi
 12163:      else
 12164:        lt_cv_prog_compiler__b=yes
 12165:      fi
 12166:    fi
 12167:    $RM -r conftest*
 12168:    LDFLAGS=$save_LDFLAGS
 12169: 
 12170: fi
 12171: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 12172: $as_echo "$lt_cv_prog_compiler__b" >&6; }
 12173: 
 12174: if test yes = "$lt_cv_prog_compiler__b"; then
 12175:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 12176: else
 12177:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 12178: fi
 12179: 
 12180: 	  ;;
 12181: 	esac
 12182:       fi
 12183:       if test no = "$with_gnu_ld"; then
 12184: 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
 12185: 	hardcode_libdir_separator=:
 12186: 
 12187: 	case $host_cpu in
 12188: 	hppa*64*|ia64*)
 12189: 	  hardcode_direct=no
 12190: 	  hardcode_shlibpath_var=no
 12191: 	  ;;
 12192: 	*)
 12193: 	  hardcode_direct=yes
 12194: 	  hardcode_direct_absolute=yes
 12195: 	  export_dynamic_flag_spec='$wl-E'
 12196: 
 12197: 	  # hardcode_minus_L: Not really in the search PATH,
 12198: 	  # but as the default location of the library.
 12199: 	  hardcode_minus_L=yes
 12200: 	  ;;
 12201: 	esac
 12202:       fi
 12203:       ;;
 12204: 
 12205:     irix5* | irix6* | nonstopux*)
 12206:       if test yes = "$GCC"; then
 12207: 	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'
 12208: 	# Try to use the -exported_symbol ld option, if it does not
 12209: 	# work, assume that -exports_file does not work either and
 12210: 	# implicitly export all symbols.
 12211: 	# This should be the same for all languages, so no per-tag cache variable.
 12212: 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 12213: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 12214: if ${lt_cv_irix_exported_symbol+:} false; then :
 12215:   $as_echo_n "(cached) " >&6
 12216: else
 12217:   save_LDFLAGS=$LDFLAGS
 12218: 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
 12219: 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12220: /* end confdefs.h.  */
 12221: int foo (void) { return 0; }
 12222: _ACEOF
 12223: if ac_fn_c_try_link "$LINENO"; then :
 12224:   lt_cv_irix_exported_symbol=yes
 12225: else
 12226:   lt_cv_irix_exported_symbol=no
 12227: fi
 12228: rm -f core conftest.err conftest.$ac_objext \
 12229:     conftest$ac_exeext conftest.$ac_ext
 12230:            LDFLAGS=$save_LDFLAGS
 12231: fi
 12232: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 12233: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
 12234: 	if test yes = "$lt_cv_irix_exported_symbol"; then
 12235:           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'
 12236: 	fi
 12237:       else
 12238: 	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'
 12239: 	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'
 12240:       fi
 12241:       archive_cmds_need_lc='no'
 12242:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12243:       hardcode_libdir_separator=:
 12244:       inherit_rpath=yes
 12245:       link_all_deplibs=yes
 12246:       ;;
 12247: 
 12248:     linux*)
 12249:       case $cc_basename in
 12250:       tcc*)
 12251: 	# Fabrice Bellard et al's Tiny C Compiler
 12252: 	ld_shlibs=yes
 12253: 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12254: 	;;
 12255:       esac
 12256:       ;;
 12257: 
 12258:     netbsd*)
 12259:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 12260: 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 12261:       else
 12262: 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 12263:       fi
 12264:       hardcode_libdir_flag_spec='-R$libdir'
 12265:       hardcode_direct=yes
 12266:       hardcode_shlibpath_var=no
 12267:       ;;
 12268: 
 12269:     newsos6)
 12270:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12271:       hardcode_direct=yes
 12272:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12273:       hardcode_libdir_separator=:
 12274:       hardcode_shlibpath_var=no
 12275:       ;;
 12276: 
 12277:     *nto* | *qnx*)
 12278:       ;;
 12279: 
 12280:     openbsd* | bitrig*)
 12281:       if test -f /usr/libexec/ld.so; then
 12282: 	hardcode_direct=yes
 12283: 	hardcode_shlibpath_var=no
 12284: 	hardcode_direct_absolute=yes
 12285: 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 12286: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12287: 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
 12288: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 12289: 	  export_dynamic_flag_spec='$wl-E'
 12290: 	else
 12291: 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 12292: 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 12293: 	fi
 12294:       else
 12295: 	ld_shlibs=no
 12296:       fi
 12297:       ;;
 12298: 
 12299:     os2*)
 12300:       hardcode_libdir_flag_spec='-L$libdir'
 12301:       hardcode_minus_L=yes
 12302:       allow_undefined_flag=unsupported
 12303:       shrext_cmds=.dll
 12304:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 12305: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 12306: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 12307: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 12308: 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 12309: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 12310: 	emximp -o $lib $output_objdir/$libname.def'
 12311:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 12312: 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 12313: 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 12314: 	$ECHO EXPORTS >> $output_objdir/$libname.def~
 12315: 	prefix_cmds="$SED"~
 12316: 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 12317: 	  prefix_cmds="$prefix_cmds -e 1d";
 12318: 	fi~
 12319: 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 12320: 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 12321: 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 12322: 	emximp -o $lib $output_objdir/$libname.def'
 12323:       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 12324:       enable_shared_with_static_runtimes=yes
 12325:       ;;
 12326: 
 12327:     osf3*)
 12328:       if test yes = "$GCC"; then
 12329: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
 12330: 	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'
 12331:       else
 12332: 	allow_undefined_flag=' -expect_unresolved \*'
 12333: 	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'
 12334:       fi
 12335:       archive_cmds_need_lc='no'
 12336:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12337:       hardcode_libdir_separator=:
 12338:       ;;
 12339: 
 12340:     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 12341:       if test yes = "$GCC"; then
 12342: 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
 12343: 	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'
 12344: 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 12345:       else
 12346: 	allow_undefined_flag=' -expect_unresolved \*'
 12347: 	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'
 12348: 	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~
 12349:           $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'
 12350: 
 12351: 	# Both c and cxx compiler support -rpath directly
 12352: 	hardcode_libdir_flag_spec='-rpath $libdir'
 12353:       fi
 12354:       archive_cmds_need_lc='no'
 12355:       hardcode_libdir_separator=:
 12356:       ;;
 12357: 
 12358:     solaris*)
 12359:       no_undefined_flag=' -z defs'
 12360:       if test yes = "$GCC"; then
 12361: 	wlarc='$wl'
 12362: 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
 12363: 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 12364:           $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'
 12365:       else
 12366: 	case `$CC -V 2>&1` in
 12367: 	*"Compilers 5.0"*)
 12368: 	  wlarc=''
 12369: 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12370: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 12371:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 12372: 	  ;;
 12373: 	*)
 12374: 	  wlarc='$wl'
 12375: 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 12376: 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 12377:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 12378: 	  ;;
 12379: 	esac
 12380:       fi
 12381:       hardcode_libdir_flag_spec='-R$libdir'
 12382:       hardcode_shlibpath_var=no
 12383:       case $host_os in
 12384:       solaris2.[0-5] | solaris2.[0-5].*) ;;
 12385:       *)
 12386: 	# The compiler driver will combine and reorder linker options,
 12387: 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
 12388: 	# but is careful enough not to reorder.
 12389: 	# Supported since Solaris 2.6 (maybe 2.5.1?)
 12390: 	if test yes = "$GCC"; then
 12391: 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
 12392: 	else
 12393: 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 12394: 	fi
 12395: 	;;
 12396:       esac
 12397:       link_all_deplibs=yes
 12398:       ;;
 12399: 
 12400:     sunos4*)
 12401:       if test sequent = "$host_vendor"; then
 12402: 	# Use $CC to link under sequent, because it throws in some extra .o
 12403: 	# files that make .init and .fini sections work.
 12404: 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 12405:       else
 12406: 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 12407:       fi
 12408:       hardcode_libdir_flag_spec='-L$libdir'
 12409:       hardcode_direct=yes
 12410:       hardcode_minus_L=yes
 12411:       hardcode_shlibpath_var=no
 12412:       ;;
 12413: 
 12414:     sysv4)
 12415:       case $host_vendor in
 12416: 	sni)
 12417: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12418: 	  hardcode_direct=yes # is this really true???
 12419: 	;;
 12420: 	siemens)
 12421: 	  ## LD is ld it makes a PLAMLIB
 12422: 	  ## CC just makes a GrossModule.
 12423: 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 12424: 	  reload_cmds='$CC -r -o $output$reload_objs'
 12425: 	  hardcode_direct=no
 12426:         ;;
 12427: 	motorola)
 12428: 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12429: 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 12430: 	;;
 12431:       esac
 12432:       runpath_var='LD_RUN_PATH'
 12433:       hardcode_shlibpath_var=no
 12434:       ;;
 12435: 
 12436:     sysv4.3*)
 12437:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12438:       hardcode_shlibpath_var=no
 12439:       export_dynamic_flag_spec='-Bexport'
 12440:       ;;
 12441: 
 12442:     sysv4*MP*)
 12443:       if test -d /usr/nec; then
 12444: 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12445: 	hardcode_shlibpath_var=no
 12446: 	runpath_var=LD_RUN_PATH
 12447: 	hardcode_runpath_var=yes
 12448: 	ld_shlibs=yes
 12449:       fi
 12450:       ;;
 12451: 
 12452:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 12453:       no_undefined_flag='$wl-z,text'
 12454:       archive_cmds_need_lc=no
 12455:       hardcode_shlibpath_var=no
 12456:       runpath_var='LD_RUN_PATH'
 12457: 
 12458:       if test yes = "$GCC"; then
 12459: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12460: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12461:       else
 12462: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12463: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12464:       fi
 12465:       ;;
 12466: 
 12467:     sysv5* | sco3.2v5* | sco5v6*)
 12468:       # Note: We CANNOT use -z defs as we might desire, because we do not
 12469:       # link with -lc, and that would cause any symbols used from libc to
 12470:       # always be unresolved, which means just about no library would
 12471:       # ever link correctly.  If we're not using GNU ld we use -z text
 12472:       # though, which does catch some bad symbols but isn't as heavy-handed
 12473:       # as -z defs.
 12474:       no_undefined_flag='$wl-z,text'
 12475:       allow_undefined_flag='$wl-z,nodefs'
 12476:       archive_cmds_need_lc=no
 12477:       hardcode_shlibpath_var=no
 12478:       hardcode_libdir_flag_spec='$wl-R,$libdir'
 12479:       hardcode_libdir_separator=':'
 12480:       link_all_deplibs=yes
 12481:       export_dynamic_flag_spec='$wl-Bexport'
 12482:       runpath_var='LD_RUN_PATH'
 12483: 
 12484:       if test yes = "$GCC"; then
 12485: 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12486: 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12487:       else
 12488: 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12489: 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12490:       fi
 12491:       ;;
 12492: 
 12493:     uts4*)
 12494:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 12495:       hardcode_libdir_flag_spec='-L$libdir'
 12496:       hardcode_shlibpath_var=no
 12497:       ;;
 12498: 
 12499:     *)
 12500:       ld_shlibs=no
 12501:       ;;
 12502:     esac
 12503: 
 12504:     if test sni = "$host_vendor"; then
 12505:       case $host in
 12506:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 12507: 	export_dynamic_flag_spec='$wl-Blargedynsym'
 12508: 	;;
 12509:       esac
 12510:     fi
 12511:   fi
 12512: 
 12513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 12514: $as_echo "$ld_shlibs" >&6; }
 12515: test no = "$ld_shlibs" && can_build_shared=no
 12516: 
 12517: with_gnu_ld=$with_gnu_ld
 12518: 
 12519: 
 12520: 
 12521: 
 12522: 
 12523: 
 12524: 
 12525: 
 12526: 
 12527: 
 12528: 
 12529: 
 12530: 
 12531: 
 12532: 
 12533: #
 12534: # Do we need to explicitly link libc?
 12535: #
 12536: case "x$archive_cmds_need_lc" in
 12537: x|xyes)
 12538:   # Assume -lc should be added
 12539:   archive_cmds_need_lc=yes
 12540: 
 12541:   if test yes,yes = "$GCC,$enable_shared"; then
 12542:     case $archive_cmds in
 12543:     *'~'*)
 12544:       # FIXME: we may have to deal with multi-command sequences.
 12545:       ;;
 12546:     '$CC '*)
 12547:       # Test whether the compiler implicitly links with -lc since on some
 12548:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 12549:       # to ld, don't add -lc before -lgcc.
 12550:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 12551: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 12552: if ${lt_cv_archive_cmds_need_lc+:} false; then :
 12553:   $as_echo_n "(cached) " >&6
 12554: else
 12555:   $RM conftest*
 12556: 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 12557: 
 12558: 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 12559:   (eval $ac_compile) 2>&5
 12560:   ac_status=$?
 12561:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 12562:   test $ac_status = 0; } 2>conftest.err; then
 12563: 	  soname=conftest
 12564: 	  lib=conftest
 12565: 	  libobjs=conftest.$ac_objext
 12566: 	  deplibs=
 12567: 	  wl=$lt_prog_compiler_wl
 12568: 	  pic_flag=$lt_prog_compiler_pic
 12569: 	  compiler_flags=-v
 12570: 	  linker_flags=-v
 12571: 	  verstring=
 12572: 	  output_objdir=.
 12573: 	  libname=conftest
 12574: 	  lt_save_allow_undefined_flag=$allow_undefined_flag
 12575: 	  allow_undefined_flag=
 12576: 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 12577:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 12578:   ac_status=$?
 12579:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 12580:   test $ac_status = 0; }
 12581: 	  then
 12582: 	    lt_cv_archive_cmds_need_lc=no
 12583: 	  else
 12584: 	    lt_cv_archive_cmds_need_lc=yes
 12585: 	  fi
 12586: 	  allow_undefined_flag=$lt_save_allow_undefined_flag
 12587: 	else
 12588: 	  cat conftest.err 1>&5
 12589: 	fi
 12590: 	$RM conftest*
 12591: 
 12592: fi
 12593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 12594: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 12595:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 12596:       ;;
 12597:     esac
 12598:   fi
 12599:   ;;
 12600: esac
 12601: 
 12602: 
 12603: 
 12604: 
 12605: 
 12606: 
 12607: 
 12608: 
 12609: 
 12610: 
 12611: 
 12612: 
 12613: 
 12614: 
 12615: 
 12616: 
 12617: 
 12618: 
 12619: 
 12620: 
 12621: 
 12622: 
 12623: 
 12624: 
 12625: 
 12626: 
 12627: 
 12628: 
 12629: 
 12630: 
 12631: 
 12632: 
 12633: 
 12634: 
 12635: 
 12636: 
 12637: 
 12638: 
 12639: 
 12640: 
 12641: 
 12642: 
 12643: 
 12644: 
 12645: 
 12646: 
 12647: 
 12648: 
 12649: 
 12650: 
 12651: 
 12652: 
 12653: 
 12654: 
 12655: 
 12656: 
 12657: 
 12658: 
 12659: 
 12660: 
 12661: 
 12662: 
 12663: 
 12664: 
 12665: 
 12666: 
 12667: 
 12668: 
 12669: 
 12670: 
 12671: 
 12672: 
 12673: 
 12674: 
 12675: 
 12676: 
 12677: 
 12678: 
 12679: 
 12680: 
 12681: 
 12682: 
 12683: 
 12684: 
 12685: 
 12686: 
 12687: 
 12688: 
 12689: 
 12690: 
 12691: 
 12692: 
 12693: 
 12694: 
 12695: 
 12696: 
 12697: 
 12698: 
 12699: 
 12700: 
 12701: 
 12702: 
 12703: 
 12704: 
 12705: 
 12706: 
 12707: 
 12708: 
 12709: 
 12710: 
 12711: 
 12712: 
 12713: 
 12714: 
 12715: 
 12716: 
 12717: 
 12718: 
 12719: 
 12720: 
 12721: 
 12722: 
 12723: 
 12724: 
 12725: 
 12726: 
 12727: 
 12728: 
 12729: 
 12730: 
 12731: 
 12732: 
 12733: 
 12734: 
 12735: 
 12736: 
 12737: 
 12738: 
 12739: 
 12740: 
 12741: 
 12742: 
 12743: 
 12744: 
 12745: 
 12746: 
 12747: 
 12748: 
 12749: 
 12750: 
 12751: 
 12752: 
 12753:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 12754: $as_echo_n "checking dynamic linker characteristics... " >&6; }
 12755: 
 12756: if test yes = "$GCC"; then
 12757:   case $host_os in
 12758:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
 12759:     *) lt_awk_arg='/^libraries:/' ;;
 12760:   esac
 12761:   case $host_os in
 12762:     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
 12763:     *) lt_sed_strip_eq='s|=/|/|g' ;;
 12764:   esac
 12765:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 12766:   case $lt_search_path_spec in
 12767:   *\;*)
 12768:     # if the path contains ";" then we assume it to be the separator
 12769:     # otherwise default to the standard path separator (i.e. ":") - it is
 12770:     # assumed that no part of a normal pathname contains ";" but that should
 12771:     # okay in the real world where ";" in dirpaths is itself problematic.
 12772:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 12773:     ;;
 12774:   *)
 12775:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 12776:     ;;
 12777:   esac
 12778:   # Ok, now we have the path, separated by spaces, we can step through it
 12779:   # and add multilib dir if necessary...
 12780:   lt_tmp_lt_search_path_spec=
 12781:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 12782:   # ...but if some path component already ends with the multilib dir we assume
 12783:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
 12784:   case "$lt_multi_os_dir; $lt_search_path_spec " in
 12785:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
 12786:     lt_multi_os_dir=
 12787:     ;;
 12788:   esac
 12789:   for lt_sys_path in $lt_search_path_spec; do
 12790:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
 12791:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
 12792:     elif test -n "$lt_multi_os_dir"; then
 12793:       test -d "$lt_sys_path" && \
 12794: 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 12795:     fi
 12796:   done
 12797:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 12798: BEGIN {RS = " "; FS = "/|\n";} {
 12799:   lt_foo = "";
 12800:   lt_count = 0;
 12801:   for (lt_i = NF; lt_i > 0; lt_i--) {
 12802:     if ($lt_i != "" && $lt_i != ".") {
 12803:       if ($lt_i == "..") {
 12804:         lt_count++;
 12805:       } else {
 12806:         if (lt_count == 0) {
 12807:           lt_foo = "/" $lt_i lt_foo;
 12808:         } else {
 12809:           lt_count--;
 12810:         }
 12811:       }
 12812:     }
 12813:   }
 12814:   if (lt_foo != "") { lt_freq[lt_foo]++; }
 12815:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
 12816: }'`
 12817:   # AWK program above erroneously prepends '/' to C:/dos/paths
 12818:   # for these hosts.
 12819:   case $host_os in
 12820:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 12821:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
 12822:   esac
 12823:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 12824: else
 12825:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 12826: fi
 12827: library_names_spec=
 12828: libname_spec='lib$name'
 12829: soname_spec=
 12830: shrext_cmds=.so
 12831: postinstall_cmds=
 12832: postuninstall_cmds=
 12833: finish_cmds=
 12834: finish_eval=
 12835: shlibpath_var=
 12836: shlibpath_overrides_runpath=unknown
 12837: version_type=none
 12838: dynamic_linker="$host_os ld.so"
 12839: sys_lib_dlsearch_path_spec="/lib /usr/lib"
 12840: need_lib_prefix=unknown
 12841: hardcode_into_libs=no
 12842: 
 12843: # when you set need_version to no, make sure it does not cause -set_version
 12844: # flags to be left without arguments
 12845: need_version=unknown
 12846: 
 12847: 
 12848: 
 12849: case $host_os in
 12850: aix3*)
 12851:   version_type=linux # correct to gnu/linux during the next big refactor
 12852:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
 12853:   shlibpath_var=LIBPATH
 12854: 
 12855:   # AIX 3 has no versioning support, so we append a major version to the name.
 12856:   soname_spec='$libname$release$shared_ext$major'
 12857:   ;;
 12858: 
 12859: aix[4-9]*)
 12860:   version_type=linux # correct to gnu/linux during the next big refactor
 12861:   need_lib_prefix=no
 12862:   need_version=no
 12863:   hardcode_into_libs=yes
 12864:   if test ia64 = "$host_cpu"; then
 12865:     # AIX 5 supports IA64
 12866:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
 12867:     shlibpath_var=LD_LIBRARY_PATH
 12868:   else
 12869:     # With GCC up to 2.95.x, collect2 would create an import file
 12870:     # for dependence libraries.  The import file would start with
 12871:     # the line '#! .'.  This would cause the generated library to
 12872:     # depend on '.', always an invalid library.  This was fixed in
 12873:     # development snapshots of GCC prior to 3.0.
 12874:     case $host_os in
 12875:       aix4 | aix4.[01] | aix4.[01].*)
 12876:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 12877: 	   echo ' yes '
 12878: 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
 12879: 	:
 12880:       else
 12881: 	can_build_shared=no
 12882:       fi
 12883:       ;;
 12884:     esac
 12885:     # Using Import Files as archive members, it is possible to support
 12886:     # filename-based versioning of shared library archives on AIX. While
 12887:     # this would work for both with and without runtime linking, it will
 12888:     # prevent static linking of such archives. So we do filename-based
 12889:     # shared library versioning with .so extension only, which is used
 12890:     # when both runtime linking and shared linking is enabled.
 12891:     # Unfortunately, runtime linking may impact performance, so we do
 12892:     # not want this to be the default eventually. Also, we use the
 12893:     # versioned .so libs for executables only if there is the -brtl
 12894:     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 12895:     # To allow for filename-based versioning support, we need to create
 12896:     # libNAME.so.V as an archive file, containing:
 12897:     # *) an Import File, referring to the versioned filename of the
 12898:     #    archive as well as the shared archive member, telling the
 12899:     #    bitwidth (32 or 64) of that shared object, and providing the
 12900:     #    list of exported symbols of that shared object, eventually
 12901:     #    decorated with the 'weak' keyword
 12902:     # *) the shared object with the F_LOADONLY flag set, to really avoid
 12903:     #    it being seen by the linker.
 12904:     # At run time we better use the real file rather than another symlink,
 12905:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
 12906: 
 12907:     case $with_aix_soname,$aix_use_runtimelinking in
 12908:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
 12909:     # soname into executable. Probably we can add versioning support to
 12910:     # collect2, so additional links can be useful in future.
 12911:     aix,yes) # traditional libtool
 12912:       dynamic_linker='AIX unversionable lib.so'
 12913:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 12914:       # instead of lib<name>.a to let people know that these are not
 12915:       # typical AIX shared libraries.
 12916:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12917:       ;;
 12918:     aix,no) # traditional AIX only
 12919:       dynamic_linker='AIX lib.a(lib.so.V)'
 12920:       # We preserve .a as extension for shared libraries through AIX4.2
 12921:       # and later when we are not doing run time linking.
 12922:       library_names_spec='$libname$release.a $libname.a'
 12923:       soname_spec='$libname$release$shared_ext$major'
 12924:       ;;
 12925:     svr4,*) # full svr4 only
 12926:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
 12927:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 12928:       # We do not specify a path in Import Files, so LIBPATH fires.
 12929:       shlibpath_overrides_runpath=yes
 12930:       ;;
 12931:     *,yes) # both, prefer svr4
 12932:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
 12933:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 12934:       # unpreferred sharedlib libNAME.a needs extra handling
 12935:       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"'
 12936:       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"'
 12937:       # We do not specify a path in Import Files, so LIBPATH fires.
 12938:       shlibpath_overrides_runpath=yes
 12939:       ;;
 12940:     *,no) # both, prefer aix
 12941:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
 12942:       library_names_spec='$libname$release.a $libname.a'
 12943:       soname_spec='$libname$release$shared_ext$major'
 12944:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 12945:       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)'
 12946:       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"'
 12947:       ;;
 12948:     esac
 12949:     shlibpath_var=LIBPATH
 12950:   fi
 12951:   ;;
 12952: 
 12953: amigaos*)
 12954:   case $host_cpu in
 12955:   powerpc)
 12956:     # Since July 2007 AmigaOS4 officially supports .so libraries.
 12957:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 12958:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12959:     ;;
 12960:   m68k)
 12961:     library_names_spec='$libname.ixlibrary $libname.a'
 12962:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
 12963:     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'
 12964:     ;;
 12965:   esac
 12966:   ;;
 12967: 
 12968: beos*)
 12969:   library_names_spec='$libname$shared_ext'
 12970:   dynamic_linker="$host_os ld.so"
 12971:   shlibpath_var=LIBRARY_PATH
 12972:   ;;
 12973: 
 12974: bsdi[45]*)
 12975:   version_type=linux # correct to gnu/linux during the next big refactor
 12976:   need_version=no
 12977:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12978:   soname_spec='$libname$release$shared_ext$major'
 12979:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 12980:   shlibpath_var=LD_LIBRARY_PATH
 12981:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 12982:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 12983:   # the default ld.so.conf also contains /usr/contrib/lib and
 12984:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 12985:   # libtool to hard-code these into programs
 12986:   ;;
 12987: 
 12988: cygwin* | mingw* | pw32* | cegcc*)
 12989:   version_type=windows
 12990:   shrext_cmds=.dll
 12991:   need_version=no
 12992:   need_lib_prefix=no
 12993: 
 12994:   case $GCC,$cc_basename in
 12995:   yes,*)
 12996:     # gcc
 12997:     library_names_spec='$libname.dll.a'
 12998:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 12999:     postinstall_cmds='base_file=`basename \$file`~
 13000:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 13001:       dldir=$destdir/`dirname \$dlpath`~
 13002:       test -d \$dldir || mkdir -p \$dldir~
 13003:       $install_prog $dir/$dlname \$dldir/$dlname~
 13004:       chmod a+x \$dldir/$dlname~
 13005:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 13006:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 13007:       fi'
 13008:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13009:       dlpath=$dir/\$dldll~
 13010:        $RM \$dlpath'
 13011:     shlibpath_overrides_runpath=yes
 13012: 
 13013:     case $host_os in
 13014:     cygwin*)
 13015:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 13016:       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13017: 
 13018:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 13019:       ;;
 13020:     mingw* | cegcc*)
 13021:       # MinGW DLLs use traditional 'lib' prefix
 13022:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13023:       ;;
 13024:     pw32*)
 13025:       # pw32 DLLs use 'pw' prefix rather than 'lib'
 13026:       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13027:       ;;
 13028:     esac
 13029:     dynamic_linker='Win32 ld.exe'
 13030:     ;;
 13031: 
 13032:   *,cl*)
 13033:     # Native MSVC
 13034:     libname_spec='$name'
 13035:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 13036:     library_names_spec='$libname.dll.lib'
 13037: 
 13038:     case $build_os in
 13039:     mingw*)
 13040:       sys_lib_search_path_spec=
 13041:       lt_save_ifs=$IFS
 13042:       IFS=';'
 13043:       for lt_path in $LIB
 13044:       do
 13045:         IFS=$lt_save_ifs
 13046:         # Let DOS variable expansion print the short 8.3 style file name.
 13047:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 13048:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 13049:       done
 13050:       IFS=$lt_save_ifs
 13051:       # Convert to MSYS style.
 13052:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 13053:       ;;
 13054:     cygwin*)
 13055:       # Convert to unix form, then to dos form, then back to unix form
 13056:       # but this time dos style (no spaces!) so that the unix form looks
 13057:       # like /cygdrive/c/PROGRA~1:/cygdr...
 13058:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 13059:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 13060:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 13061:       ;;
 13062:     *)
 13063:       sys_lib_search_path_spec=$LIB
 13064:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 13065:         # It is most probably a Windows format PATH.
 13066:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 13067:       else
 13068:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 13069:       fi
 13070:       # FIXME: find the short name or the path components, as spaces are
 13071:       # common. (e.g. "Program Files" -> "PROGRA~1")
 13072:       ;;
 13073:     esac
 13074: 
 13075:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 13076:     postinstall_cmds='base_file=`basename \$file`~
 13077:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 13078:       dldir=$destdir/`dirname \$dlpath`~
 13079:       test -d \$dldir || mkdir -p \$dldir~
 13080:       $install_prog $dir/$dlname \$dldir/$dlname'
 13081:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13082:       dlpath=$dir/\$dldll~
 13083:        $RM \$dlpath'
 13084:     shlibpath_overrides_runpath=yes
 13085:     dynamic_linker='Win32 link.exe'
 13086:     ;;
 13087: 
 13088:   *)
 13089:     # Assume MSVC wrapper
 13090:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
 13091:     dynamic_linker='Win32 ld.exe'
 13092:     ;;
 13093:   esac
 13094:   # FIXME: first we should search . and the directory the executable is in
 13095:   shlibpath_var=PATH
 13096:   ;;
 13097: 
 13098: darwin* | rhapsody*)
 13099:   dynamic_linker="$host_os dyld"
 13100:   version_type=darwin
 13101:   need_lib_prefix=no
 13102:   need_version=no
 13103:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
 13104:   soname_spec='$libname$release$major$shared_ext'
 13105:   shlibpath_overrides_runpath=yes
 13106:   shlibpath_var=DYLD_LIBRARY_PATH
 13107:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 13108: 
 13109:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 13110:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 13111:   ;;
 13112: 
 13113: dgux*)
 13114:   version_type=linux # correct to gnu/linux during the next big refactor
 13115:   need_lib_prefix=no
 13116:   need_version=no
 13117:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13118:   soname_spec='$libname$release$shared_ext$major'
 13119:   shlibpath_var=LD_LIBRARY_PATH
 13120:   ;;
 13121: 
 13122: freebsd* | dragonfly*)
 13123:   # DragonFly does not have aout.  When/if they implement a new
 13124:   # versioning mechanism, adjust this.
 13125:   if test -x /usr/bin/objformat; then
 13126:     objformat=`/usr/bin/objformat`
 13127:   else
 13128:     case $host_os in
 13129:     freebsd[23].*) objformat=aout ;;
 13130:     *) objformat=elf ;;
 13131:     esac
 13132:   fi
 13133:   version_type=freebsd-$objformat
 13134:   case $version_type in
 13135:     freebsd-elf*)
 13136:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13137:       soname_spec='$libname$release$shared_ext$major'
 13138:       need_version=no
 13139:       need_lib_prefix=no
 13140:       ;;
 13141:     freebsd-*)
 13142:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13143:       need_version=yes
 13144:       ;;
 13145:   esac
 13146:   shlibpath_var=LD_LIBRARY_PATH
 13147:   case $host_os in
 13148:   freebsd2.*)
 13149:     shlibpath_overrides_runpath=yes
 13150:     ;;
 13151:   freebsd3.[01]* | freebsdelf3.[01]*)
 13152:     shlibpath_overrides_runpath=yes
 13153:     hardcode_into_libs=yes
 13154:     ;;
 13155:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 13156:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 13157:     shlibpath_overrides_runpath=no
 13158:     hardcode_into_libs=yes
 13159:     ;;
 13160:   *) # from 4.6 on, and DragonFly
 13161:     shlibpath_overrides_runpath=yes
 13162:     hardcode_into_libs=yes
 13163:     ;;
 13164:   esac
 13165:   ;;
 13166: 
 13167: haiku*)
 13168:   version_type=linux # correct to gnu/linux during the next big refactor
 13169:   need_lib_prefix=no
 13170:   need_version=no
 13171:   dynamic_linker="$host_os runtime_loader"
 13172:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13173:   soname_spec='$libname$release$shared_ext$major'
 13174:   shlibpath_var=LIBRARY_PATH
 13175:   shlibpath_overrides_runpath=no
 13176:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 13177:   hardcode_into_libs=yes
 13178:   ;;
 13179: 
 13180: hpux9* | hpux10* | hpux11*)
 13181:   # Give a soname corresponding to the major version so that dld.sl refuses to
 13182:   # link against other versions.
 13183:   version_type=sunos
 13184:   need_lib_prefix=no
 13185:   need_version=no
 13186:   case $host_cpu in
 13187:   ia64*)
 13188:     shrext_cmds='.so'
 13189:     hardcode_into_libs=yes
 13190:     dynamic_linker="$host_os dld.so"
 13191:     shlibpath_var=LD_LIBRARY_PATH
 13192:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13193:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13194:     soname_spec='$libname$release$shared_ext$major'
 13195:     if test 32 = "$HPUX_IA64_MODE"; then
 13196:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 13197:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
 13198:     else
 13199:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 13200:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
 13201:     fi
 13202:     ;;
 13203:   hppa*64*)
 13204:     shrext_cmds='.sl'
 13205:     hardcode_into_libs=yes
 13206:     dynamic_linker="$host_os dld.sl"
 13207:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 13208:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13209:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13210:     soname_spec='$libname$release$shared_ext$major'
 13211:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 13212:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13213:     ;;
 13214:   *)
 13215:     shrext_cmds='.sl'
 13216:     dynamic_linker="$host_os dld.sl"
 13217:     shlibpath_var=SHLIB_PATH
 13218:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 13219:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13220:     soname_spec='$libname$release$shared_ext$major'
 13221:     ;;
 13222:   esac
 13223:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 13224:   postinstall_cmds='chmod 555 $lib'
 13225:   # or fails outright, so override atomically:
 13226:   install_override_mode=555
 13227:   ;;
 13228: 
 13229: interix[3-9]*)
 13230:   version_type=linux # correct to gnu/linux during the next big refactor
 13231:   need_lib_prefix=no
 13232:   need_version=no
 13233:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13234:   soname_spec='$libname$release$shared_ext$major'
 13235:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 13236:   shlibpath_var=LD_LIBRARY_PATH
 13237:   shlibpath_overrides_runpath=no
 13238:   hardcode_into_libs=yes
 13239:   ;;
 13240: 
 13241: irix5* | irix6* | nonstopux*)
 13242:   case $host_os in
 13243:     nonstopux*) version_type=nonstopux ;;
 13244:     *)
 13245: 	if test yes = "$lt_cv_prog_gnu_ld"; then
 13246: 		version_type=linux # correct to gnu/linux during the next big refactor
 13247: 	else
 13248: 		version_type=irix
 13249: 	fi ;;
 13250:   esac
 13251:   need_lib_prefix=no
 13252:   need_version=no
 13253:   soname_spec='$libname$release$shared_ext$major'
 13254:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
 13255:   case $host_os in
 13256:   irix5* | nonstopux*)
 13257:     libsuff= shlibsuff=
 13258:     ;;
 13259:   *)
 13260:     case $LD in # libtool.m4 will add one of these switches to LD
 13261:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 13262:       libsuff= shlibsuff= libmagic=32-bit;;
 13263:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 13264:       libsuff=32 shlibsuff=N32 libmagic=N32;;
 13265:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 13266:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 13267:     *) libsuff= shlibsuff= libmagic=never-match;;
 13268:     esac
 13269:     ;;
 13270:   esac
 13271:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 13272:   shlibpath_overrides_runpath=no
 13273:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
 13274:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
 13275:   hardcode_into_libs=yes
 13276:   ;;
 13277: 
 13278: # No shared lib support for Linux oldld, aout, or coff.
 13279: linux*oldld* | linux*aout* | linux*coff*)
 13280:   dynamic_linker=no
 13281:   ;;
 13282: 
 13283: linux*android*)
 13284:   version_type=none # Android doesn't support versioned libraries.
 13285:   need_lib_prefix=no
 13286:   need_version=no
 13287:   library_names_spec='$libname$release$shared_ext'
 13288:   soname_spec='$libname$release$shared_ext'
 13289:   finish_cmds=
 13290:   shlibpath_var=LD_LIBRARY_PATH
 13291:   shlibpath_overrides_runpath=yes
 13292: 
 13293:   # This implies no fast_install, which is unacceptable.
 13294:   # Some rework will be needed to allow for fast_install
 13295:   # before this can be enabled.
 13296:   hardcode_into_libs=yes
 13297: 
 13298:   dynamic_linker='Android linker'
 13299:   # Don't embed -rpath directories since the linker doesn't support them.
 13300:   hardcode_libdir_flag_spec='-L$libdir'
 13301:   ;;
 13302: 
 13303: # This must be glibc/ELF.
 13304: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 13305:   version_type=linux # correct to gnu/linux during the next big refactor
 13306:   need_lib_prefix=no
 13307:   need_version=no
 13308:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13309:   soname_spec='$libname$release$shared_ext$major'
 13310:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 13311:   shlibpath_var=LD_LIBRARY_PATH
 13312:   shlibpath_overrides_runpath=no
 13313: 
 13314:   # Some binutils ld are patched to set DT_RUNPATH
 13315:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 13316:   $as_echo_n "(cached) " >&6
 13317: else
 13318:   lt_cv_shlibpath_overrides_runpath=no
 13319:     save_LDFLAGS=$LDFLAGS
 13320:     save_libdir=$libdir
 13321:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 13322: 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 13323:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13324: /* end confdefs.h.  */
 13325: 
 13326: int
 13327: main ()
 13328: {
 13329: 
 13330:   ;
 13331:   return 0;
 13332: }
 13333: _ACEOF
 13334: if ac_fn_c_try_link "$LINENO"; then :
 13335:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 13336:   lt_cv_shlibpath_overrides_runpath=yes
 13337: fi
 13338: fi
 13339: rm -f core conftest.err conftest.$ac_objext \
 13340:     conftest$ac_exeext conftest.$ac_ext
 13341:     LDFLAGS=$save_LDFLAGS
 13342:     libdir=$save_libdir
 13343: 
 13344: fi
 13345: 
 13346:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 13347: 
 13348:   # This implies no fast_install, which is unacceptable.
 13349:   # Some rework will be needed to allow for fast_install
 13350:   # before this can be enabled.
 13351:   hardcode_into_libs=yes
 13352: 
 13353:   # Add ABI-specific directories to the system library path.
 13354:   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 13355: 
 13356:   # Ideally, we could use ldconfig to report *all* directores which are
 13357:   # searched for libraries, however this is still not possible.  Aside from not
 13358:   # being certain /sbin/ldconfig is available, command
 13359:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 13360:   # even though it is searched at run-time.  Try to do the best guess by
 13361:   # appending ld.so.conf contents (and includes) to the search path.
 13362:   if test -f /etc/ld.so.conf; then
 13363:     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' ' '`
 13364:     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 13365:   fi
 13366: 
 13367:   # We used to test for /lib/ld.so.1 and disable shared libraries on
 13368:   # powerpc, because MkLinux only supported shared libraries with the
 13369:   # GNU dynamic linker.  Since this was broken with cross compilers,
 13370:   # most powerpc-linux boxes support dynamic linking these days and
 13371:   # people can always --disable-shared, the test was removed, and we
 13372:   # assume the GNU/Linux dynamic linker is in use.
 13373:   dynamic_linker='GNU/Linux ld.so'
 13374:   ;;
 13375: 
 13376: netbsd*)
 13377:   version_type=sunos
 13378:   need_lib_prefix=no
 13379:   need_version=no
 13380:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 13381:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13382:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 13383:     dynamic_linker='NetBSD (a.out) ld.so'
 13384:   else
 13385:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13386:     soname_spec='$libname$release$shared_ext$major'
 13387:     dynamic_linker='NetBSD ld.elf_so'
 13388:   fi
 13389:   shlibpath_var=LD_LIBRARY_PATH
 13390:   shlibpath_overrides_runpath=yes
 13391:   hardcode_into_libs=yes
 13392:   ;;
 13393: 
 13394: newsos6)
 13395:   version_type=linux # correct to gnu/linux during the next big refactor
 13396:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13397:   shlibpath_var=LD_LIBRARY_PATH
 13398:   shlibpath_overrides_runpath=yes
 13399:   ;;
 13400: 
 13401: *nto* | *qnx*)
 13402:   version_type=qnx
 13403:   need_lib_prefix=no
 13404:   need_version=no
 13405:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13406:   soname_spec='$libname$release$shared_ext$major'
 13407:   shlibpath_var=LD_LIBRARY_PATH
 13408:   shlibpath_overrides_runpath=no
 13409:   hardcode_into_libs=yes
 13410:   dynamic_linker='ldqnx.so'
 13411:   ;;
 13412: 
 13413: openbsd* | bitrig*)
 13414:   version_type=sunos
 13415:   sys_lib_dlsearch_path_spec=/usr/lib
 13416:   need_lib_prefix=no
 13417:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 13418:     need_version=no
 13419:   else
 13420:     need_version=yes
 13421:   fi
 13422:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13423:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 13424:   shlibpath_var=LD_LIBRARY_PATH
 13425:   shlibpath_overrides_runpath=yes
 13426:   ;;
 13427: 
 13428: os2*)
 13429:   libname_spec='$name'
 13430:   version_type=windows
 13431:   shrext_cmds=.dll
 13432:   need_version=no
 13433:   need_lib_prefix=no
 13434:   # OS/2 can only load a DLL with a base name of 8 characters or less.
 13435:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 13436:     v=$($ECHO $release$versuffix | tr -d .-);
 13437:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 13438:     $ECHO $n$v`$shared_ext'
 13439:   library_names_spec='${libname}_dll.$libext'
 13440:   dynamic_linker='OS/2 ld.exe'
 13441:   shlibpath_var=BEGINLIBPATH
 13442:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 13443:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13444:   postinstall_cmds='base_file=`basename \$file`~
 13445:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 13446:     dldir=$destdir/`dirname \$dlpath`~
 13447:     test -d \$dldir || mkdir -p \$dldir~
 13448:     $install_prog $dir/$dlname \$dldir/$dlname~
 13449:     chmod a+x \$dldir/$dlname~
 13450:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 13451:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 13452:     fi'
 13453:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 13454:     dlpath=$dir/\$dldll~
 13455:     $RM \$dlpath'
 13456:   ;;
 13457: 
 13458: osf3* | osf4* | osf5*)
 13459:   version_type=osf
 13460:   need_lib_prefix=no
 13461:   need_version=no
 13462:   soname_spec='$libname$release$shared_ext$major'
 13463:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13464:   shlibpath_var=LD_LIBRARY_PATH
 13465:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 13466:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13467:   ;;
 13468: 
 13469: rdos*)
 13470:   dynamic_linker=no
 13471:   ;;
 13472: 
 13473: solaris*)
 13474:   version_type=linux # correct to gnu/linux during the next big refactor
 13475:   need_lib_prefix=no
 13476:   need_version=no
 13477:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13478:   soname_spec='$libname$release$shared_ext$major'
 13479:   shlibpath_var=LD_LIBRARY_PATH
 13480:   shlibpath_overrides_runpath=yes
 13481:   hardcode_into_libs=yes
 13482:   # ldd complains unless libraries are executable
 13483:   postinstall_cmds='chmod +x $lib'
 13484:   ;;
 13485: 
 13486: sunos4*)
 13487:   version_type=sunos
 13488:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13489:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 13490:   shlibpath_var=LD_LIBRARY_PATH
 13491:   shlibpath_overrides_runpath=yes
 13492:   if test yes = "$with_gnu_ld"; then
 13493:     need_lib_prefix=no
 13494:   fi
 13495:   need_version=yes
 13496:   ;;
 13497: 
 13498: sysv4 | sysv4.3*)
 13499:   version_type=linux # correct to gnu/linux during the next big refactor
 13500:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13501:   soname_spec='$libname$release$shared_ext$major'
 13502:   shlibpath_var=LD_LIBRARY_PATH
 13503:   case $host_vendor in
 13504:     sni)
 13505:       shlibpath_overrides_runpath=no
 13506:       need_lib_prefix=no
 13507:       runpath_var=LD_RUN_PATH
 13508:       ;;
 13509:     siemens)
 13510:       need_lib_prefix=no
 13511:       ;;
 13512:     motorola)
 13513:       need_lib_prefix=no
 13514:       need_version=no
 13515:       shlibpath_overrides_runpath=no
 13516:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 13517:       ;;
 13518:   esac
 13519:   ;;
 13520: 
 13521: sysv4*MP*)
 13522:   if test -d /usr/nec; then
 13523:     version_type=linux # correct to gnu/linux during the next big refactor
 13524:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
 13525:     soname_spec='$libname$shared_ext.$major'
 13526:     shlibpath_var=LD_LIBRARY_PATH
 13527:   fi
 13528:   ;;
 13529: 
 13530: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 13531:   version_type=sco
 13532:   need_lib_prefix=no
 13533:   need_version=no
 13534:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 13535:   soname_spec='$libname$release$shared_ext$major'
 13536:   shlibpath_var=LD_LIBRARY_PATH
 13537:   shlibpath_overrides_runpath=yes
 13538:   hardcode_into_libs=yes
 13539:   if test yes = "$with_gnu_ld"; then
 13540:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 13541:   else
 13542:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 13543:     case $host_os in
 13544:       sco3.2v5*)
 13545:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 13546: 	;;
 13547:     esac
 13548:   fi
 13549:   sys_lib_dlsearch_path_spec='/usr/lib'
 13550:   ;;
 13551: 
 13552: tpf*)
 13553:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 13554:   version_type=linux # correct to gnu/linux during the next big refactor
 13555:   need_lib_prefix=no
 13556:   need_version=no
 13557:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13558:   shlibpath_var=LD_LIBRARY_PATH
 13559:   shlibpath_overrides_runpath=no
 13560:   hardcode_into_libs=yes
 13561:   ;;
 13562: 
 13563: uts4*)
 13564:   version_type=linux # correct to gnu/linux during the next big refactor
 13565:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13566:   soname_spec='$libname$release$shared_ext$major'
 13567:   shlibpath_var=LD_LIBRARY_PATH
 13568:   ;;
 13569: 
 13570: *)
 13571:   dynamic_linker=no
 13572:   ;;
 13573: esac
 13574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 13575: $as_echo "$dynamic_linker" >&6; }
 13576: test no = "$dynamic_linker" && can_build_shared=no
 13577: 
 13578: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 13579: if test yes = "$GCC"; then
 13580:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 13581: fi
 13582: 
 13583: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
 13584:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 13585: fi
 13586: 
 13587: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
 13588:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 13589: fi
 13590: 
 13591: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
 13592: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 13593: 
 13594: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 13595: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 13596: 
 13597: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
 13598: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
 13599: 
 13600: 
 13601: 
 13602: 
 13603: 
 13604: 
 13605: 
 13606: 
 13607: 
 13608: 
 13609: 
 13610: 
 13611: 
 13612: 
 13613: 
 13614: 
 13615: 
 13616: 
 13617: 
 13618: 
 13619: 
 13620: 
 13621: 
 13622: 
 13623: 
 13624: 
 13625: 
 13626: 
 13627: 
 13628: 
 13629: 
 13630: 
 13631: 
 13632: 
 13633: 
 13634: 
 13635: 
 13636: 
 13637: 
 13638: 
 13639: 
 13640: 
 13641: 
 13642: 
 13643: 
 13644: 
 13645: 
 13646: 
 13647: 
 13648: 
 13649: 
 13650: 
 13651: 
 13652: 
 13653: 
 13654: 
 13655: 
 13656: 
 13657: 
 13658: 
 13659: 
 13660: 
 13661: 
 13662: 
 13663: 
 13664: 
 13665: 
 13666: 
 13667: 
 13668: 
 13669: 
 13670: 
 13671: 
 13672: 
 13673: 
 13674: 
 13675: 
 13676: 
 13677: 
 13678: 
 13679: 
 13680: 
 13681: 
 13682: 
 13683: 
 13684: 
 13685: 
 13686: 
 13687: 
 13688: 
 13689: 
 13690: 
 13691: 
 13692: 
 13693: 
 13694: 
 13695: 
 13696:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 13697: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 13698: hardcode_action=
 13699: if test -n "$hardcode_libdir_flag_spec" ||
 13700:    test -n "$runpath_var" ||
 13701:    test yes = "$hardcode_automatic"; then
 13702: 
 13703:   # We can hardcode non-existent directories.
 13704:   if test no != "$hardcode_direct" &&
 13705:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 13706:      # have to relink, otherwise we might link with an installed library
 13707:      # when we should be linking with a yet-to-be-installed one
 13708:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
 13709:      test no != "$hardcode_minus_L"; then
 13710:     # Linking always hardcodes the temporary library directory.
 13711:     hardcode_action=relink
 13712:   else
 13713:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 13714:     hardcode_action=immediate
 13715:   fi
 13716: else
 13717:   # We cannot hardcode anything, or else we can only hardcode existing
 13718:   # directories.
 13719:   hardcode_action=unsupported
 13720: fi
 13721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 13722: $as_echo "$hardcode_action" >&6; }
 13723: 
 13724: if test relink = "$hardcode_action" ||
 13725:    test yes = "$inherit_rpath"; then
 13726:   # Fast installation is not supported
 13727:   enable_fast_install=no
 13728: elif test yes = "$shlibpath_overrides_runpath" ||
 13729:      test no = "$enable_shared"; then
 13730:   # Fast installation is not necessary
 13731:   enable_fast_install=needless
 13732: fi
 13733: 
 13734: 
 13735: 
 13736: 
 13737: 
 13738: 
 13739:   if test yes != "$enable_dlopen"; then
 13740:   enable_dlopen=unknown
 13741:   enable_dlopen_self=unknown
 13742:   enable_dlopen_self_static=unknown
 13743: else
 13744:   lt_cv_dlopen=no
 13745:   lt_cv_dlopen_libs=
 13746: 
 13747:   case $host_os in
 13748:   beos*)
 13749:     lt_cv_dlopen=load_add_on
 13750:     lt_cv_dlopen_libs=
 13751:     lt_cv_dlopen_self=yes
 13752:     ;;
 13753: 
 13754:   mingw* | pw32* | cegcc*)
 13755:     lt_cv_dlopen=LoadLibrary
 13756:     lt_cv_dlopen_libs=
 13757:     ;;
 13758: 
 13759:   cygwin*)
 13760:     lt_cv_dlopen=dlopen
 13761:     lt_cv_dlopen_libs=
 13762:     ;;
 13763: 
 13764:   darwin*)
 13765:     # if libdl is installed we need to link against it
 13766:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 13767: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 13768: if ${ac_cv_lib_dl_dlopen+:} false; then :
 13769:   $as_echo_n "(cached) " >&6
 13770: else
 13771:   ac_check_lib_save_LIBS=$LIBS
 13772: LIBS="-ldl  $LIBS"
 13773: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13774: /* end confdefs.h.  */
 13775: 
 13776: /* Override any GCC internal prototype to avoid an error.
 13777:    Use char because int might match the return type of a GCC
 13778:    builtin and then its argument prototype would still apply.  */
 13779: #ifdef __cplusplus
 13780: extern "C"
 13781: #endif
 13782: char dlopen ();
 13783: int
 13784: main ()
 13785: {
 13786: return dlopen ();
 13787:   ;
 13788:   return 0;
 13789: }
 13790: _ACEOF
 13791: if ac_fn_c_try_link "$LINENO"; then :
 13792:   ac_cv_lib_dl_dlopen=yes
 13793: else
 13794:   ac_cv_lib_dl_dlopen=no
 13795: fi
 13796: rm -f core conftest.err conftest.$ac_objext \
 13797:     conftest$ac_exeext conftest.$ac_ext
 13798: LIBS=$ac_check_lib_save_LIBS
 13799: fi
 13800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 13801: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 13802: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 13803:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
 13804: else
 13805: 
 13806:     lt_cv_dlopen=dyld
 13807:     lt_cv_dlopen_libs=
 13808:     lt_cv_dlopen_self=yes
 13809: 
 13810: fi
 13811: 
 13812:     ;;
 13813: 
 13814:   tpf*)
 13815:     # Don't try to run any link tests for TPF.  We know it's impossible
 13816:     # because TPF is a cross-compiler, and we know how we open DSOs.
 13817:     lt_cv_dlopen=dlopen
 13818:     lt_cv_dlopen_libs=
 13819:     lt_cv_dlopen_self=no
 13820:     ;;
 13821: 
 13822:   *)
 13823:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 13824: if test "x$ac_cv_func_shl_load" = xyes; then :
 13825:   lt_cv_dlopen=shl_load
 13826: else
 13827:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 13828: $as_echo_n "checking for shl_load in -ldld... " >&6; }
 13829: if ${ac_cv_lib_dld_shl_load+:} false; then :
 13830:   $as_echo_n "(cached) " >&6
 13831: else
 13832:   ac_check_lib_save_LIBS=$LIBS
 13833: LIBS="-ldld  $LIBS"
 13834: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13835: /* end confdefs.h.  */
 13836: 
 13837: /* Override any GCC internal prototype to avoid an error.
 13838:    Use char because int might match the return type of a GCC
 13839:    builtin and then its argument prototype would still apply.  */
 13840: #ifdef __cplusplus
 13841: extern "C"
 13842: #endif
 13843: char shl_load ();
 13844: int
 13845: main ()
 13846: {
 13847: return shl_load ();
 13848:   ;
 13849:   return 0;
 13850: }
 13851: _ACEOF
 13852: if ac_fn_c_try_link "$LINENO"; then :
 13853:   ac_cv_lib_dld_shl_load=yes
 13854: else
 13855:   ac_cv_lib_dld_shl_load=no
 13856: fi
 13857: rm -f core conftest.err conftest.$ac_objext \
 13858:     conftest$ac_exeext conftest.$ac_ext
 13859: LIBS=$ac_check_lib_save_LIBS
 13860: fi
 13861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 13862: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 13863: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 13864:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
 13865: else
 13866:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 13867: if test "x$ac_cv_func_dlopen" = xyes; then :
 13868:   lt_cv_dlopen=dlopen
 13869: else
 13870:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 13871: $as_echo_n "checking for dlopen in -ldl... " >&6; }
 13872: if ${ac_cv_lib_dl_dlopen+:} false; then :
 13873:   $as_echo_n "(cached) " >&6
 13874: else
 13875:   ac_check_lib_save_LIBS=$LIBS
 13876: LIBS="-ldl  $LIBS"
 13877: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13878: /* end confdefs.h.  */
 13879: 
 13880: /* Override any GCC internal prototype to avoid an error.
 13881:    Use char because int might match the return type of a GCC
 13882:    builtin and then its argument prototype would still apply.  */
 13883: #ifdef __cplusplus
 13884: extern "C"
 13885: #endif
 13886: char dlopen ();
 13887: int
 13888: main ()
 13889: {
 13890: return dlopen ();
 13891:   ;
 13892:   return 0;
 13893: }
 13894: _ACEOF
 13895: if ac_fn_c_try_link "$LINENO"; then :
 13896:   ac_cv_lib_dl_dlopen=yes
 13897: else
 13898:   ac_cv_lib_dl_dlopen=no
 13899: fi
 13900: rm -f core conftest.err conftest.$ac_objext \
 13901:     conftest$ac_exeext conftest.$ac_ext
 13902: LIBS=$ac_check_lib_save_LIBS
 13903: fi
 13904: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 13905: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 13906: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 13907:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
 13908: else
 13909:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 13910: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 13911: if ${ac_cv_lib_svld_dlopen+:} false; then :
 13912:   $as_echo_n "(cached) " >&6
 13913: else
 13914:   ac_check_lib_save_LIBS=$LIBS
 13915: LIBS="-lsvld  $LIBS"
 13916: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13917: /* end confdefs.h.  */
 13918: 
 13919: /* Override any GCC internal prototype to avoid an error.
 13920:    Use char because int might match the return type of a GCC
 13921:    builtin and then its argument prototype would still apply.  */
 13922: #ifdef __cplusplus
 13923: extern "C"
 13924: #endif
 13925: char dlopen ();
 13926: int
 13927: main ()
 13928: {
 13929: return dlopen ();
 13930:   ;
 13931:   return 0;
 13932: }
 13933: _ACEOF
 13934: if ac_fn_c_try_link "$LINENO"; then :
 13935:   ac_cv_lib_svld_dlopen=yes
 13936: else
 13937:   ac_cv_lib_svld_dlopen=no
 13938: fi
 13939: rm -f core conftest.err conftest.$ac_objext \
 13940:     conftest$ac_exeext conftest.$ac_ext
 13941: LIBS=$ac_check_lib_save_LIBS
 13942: fi
 13943: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 13944: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 13945: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 13946:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
 13947: else
 13948:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 13949: $as_echo_n "checking for dld_link in -ldld... " >&6; }
 13950: if ${ac_cv_lib_dld_dld_link+:} false; then :
 13951:   $as_echo_n "(cached) " >&6
 13952: else
 13953:   ac_check_lib_save_LIBS=$LIBS
 13954: LIBS="-ldld  $LIBS"
 13955: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13956: /* end confdefs.h.  */
 13957: 
 13958: /* Override any GCC internal prototype to avoid an error.
 13959:    Use char because int might match the return type of a GCC
 13960:    builtin and then its argument prototype would still apply.  */
 13961: #ifdef __cplusplus
 13962: extern "C"
 13963: #endif
 13964: char dld_link ();
 13965: int
 13966: main ()
 13967: {
 13968: return dld_link ();
 13969:   ;
 13970:   return 0;
 13971: }
 13972: _ACEOF
 13973: if ac_fn_c_try_link "$LINENO"; then :
 13974:   ac_cv_lib_dld_dld_link=yes
 13975: else
 13976:   ac_cv_lib_dld_dld_link=no
 13977: fi
 13978: rm -f core conftest.err conftest.$ac_objext \
 13979:     conftest$ac_exeext conftest.$ac_ext
 13980: LIBS=$ac_check_lib_save_LIBS
 13981: fi
 13982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 13983: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 13984: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 13985:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
 13986: fi
 13987: 
 13988: 
 13989: fi
 13990: 
 13991: 
 13992: fi
 13993: 
 13994: 
 13995: fi
 13996: 
 13997: 
 13998: fi
 13999: 
 14000: 
 14001: fi
 14002: 
 14003:     ;;
 14004:   esac
 14005: 
 14006:   if test no = "$lt_cv_dlopen"; then
 14007:     enable_dlopen=no
 14008:   else
 14009:     enable_dlopen=yes
 14010:   fi
 14011: 
 14012:   case $lt_cv_dlopen in
 14013:   dlopen)
 14014:     save_CPPFLAGS=$CPPFLAGS
 14015:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 14016: 
 14017:     save_LDFLAGS=$LDFLAGS
 14018:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 14019: 
 14020:     save_LIBS=$LIBS
 14021:     LIBS="$lt_cv_dlopen_libs $LIBS"
 14022: 
 14023:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 14024: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
 14025: if ${lt_cv_dlopen_self+:} false; then :
 14026:   $as_echo_n "(cached) " >&6
 14027: else
 14028:   	  if test yes = "$cross_compiling"; then :
 14029:   lt_cv_dlopen_self=cross
 14030: else
 14031:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 14032:   lt_status=$lt_dlunknown
 14033:   cat > conftest.$ac_ext <<_LT_EOF
 14034: #line $LINENO "configure"
 14035: #include "confdefs.h"
 14036: 
 14037: #if HAVE_DLFCN_H
 14038: #include <dlfcn.h>
 14039: #endif
 14040: 
 14041: #include <stdio.h>
 14042: 
 14043: #ifdef RTLD_GLOBAL
 14044: #  define LT_DLGLOBAL		RTLD_GLOBAL
 14045: #else
 14046: #  ifdef DL_GLOBAL
 14047: #    define LT_DLGLOBAL		DL_GLOBAL
 14048: #  else
 14049: #    define LT_DLGLOBAL		0
 14050: #  endif
 14051: #endif
 14052: 
 14053: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 14054:    find out it does not work in some platform. */
 14055: #ifndef LT_DLLAZY_OR_NOW
 14056: #  ifdef RTLD_LAZY
 14057: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 14058: #  else
 14059: #    ifdef DL_LAZY
 14060: #      define LT_DLLAZY_OR_NOW		DL_LAZY
 14061: #    else
 14062: #      ifdef RTLD_NOW
 14063: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 14064: #      else
 14065: #        ifdef DL_NOW
 14066: #          define LT_DLLAZY_OR_NOW	DL_NOW
 14067: #        else
 14068: #          define LT_DLLAZY_OR_NOW	0
 14069: #        endif
 14070: #      endif
 14071: #    endif
 14072: #  endif
 14073: #endif
 14074: 
 14075: /* When -fvisibility=hidden is used, assume the code has been annotated
 14076:    correspondingly for the symbols needed.  */
 14077: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 14078: int fnord () __attribute__((visibility("default")));
 14079: #endif
 14080: 
 14081: int fnord () { return 42; }
 14082: int main ()
 14083: {
 14084:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 14085:   int status = $lt_dlunknown;
 14086: 
 14087:   if (self)
 14088:     {
 14089:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 14090:       else
 14091:         {
 14092: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 14093:           else puts (dlerror ());
 14094: 	}
 14095:       /* dlclose (self); */
 14096:     }
 14097:   else
 14098:     puts (dlerror ());
 14099: 
 14100:   return status;
 14101: }
 14102: _LT_EOF
 14103:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 14104:   (eval $ac_link) 2>&5
 14105:   ac_status=$?
 14106:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 14107:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
 14108:     (./conftest; exit; ) >&5 2>/dev/null
 14109:     lt_status=$?
 14110:     case x$lt_status in
 14111:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 14112:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 14113:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 14114:     esac
 14115:   else :
 14116:     # compilation failed
 14117:     lt_cv_dlopen_self=no
 14118:   fi
 14119: fi
 14120: rm -fr conftest*
 14121: 
 14122: 
 14123: fi
 14124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 14125: $as_echo "$lt_cv_dlopen_self" >&6; }
 14126: 
 14127:     if test yes = "$lt_cv_dlopen_self"; then
 14128:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 14129:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 14130: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 14131: if ${lt_cv_dlopen_self_static+:} false; then :
 14132:   $as_echo_n "(cached) " >&6
 14133: else
 14134:   	  if test yes = "$cross_compiling"; then :
 14135:   lt_cv_dlopen_self_static=cross
 14136: else
 14137:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 14138:   lt_status=$lt_dlunknown
 14139:   cat > conftest.$ac_ext <<_LT_EOF
 14140: #line $LINENO "configure"
 14141: #include "confdefs.h"
 14142: 
 14143: #if HAVE_DLFCN_H
 14144: #include <dlfcn.h>
 14145: #endif
 14146: 
 14147: #include <stdio.h>
 14148: 
 14149: #ifdef RTLD_GLOBAL
 14150: #  define LT_DLGLOBAL		RTLD_GLOBAL
 14151: #else
 14152: #  ifdef DL_GLOBAL
 14153: #    define LT_DLGLOBAL		DL_GLOBAL
 14154: #  else
 14155: #    define LT_DLGLOBAL		0
 14156: #  endif
 14157: #endif
 14158: 
 14159: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 14160:    find out it does not work in some platform. */
 14161: #ifndef LT_DLLAZY_OR_NOW
 14162: #  ifdef RTLD_LAZY
 14163: #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 14164: #  else
 14165: #    ifdef DL_LAZY
 14166: #      define LT_DLLAZY_OR_NOW		DL_LAZY
 14167: #    else
 14168: #      ifdef RTLD_NOW
 14169: #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 14170: #      else
 14171: #        ifdef DL_NOW
 14172: #          define LT_DLLAZY_OR_NOW	DL_NOW
 14173: #        else
 14174: #          define LT_DLLAZY_OR_NOW	0
 14175: #        endif
 14176: #      endif
 14177: #    endif
 14178: #  endif
 14179: #endif
 14180: 
 14181: /* When -fvisibility=hidden is used, assume the code has been annotated
 14182:    correspondingly for the symbols needed.  */
 14183: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 14184: int fnord () __attribute__((visibility("default")));
 14185: #endif
 14186: 
 14187: int fnord () { return 42; }
 14188: int main ()
 14189: {
 14190:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 14191:   int status = $lt_dlunknown;
 14192: 
 14193:   if (self)
 14194:     {
 14195:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 14196:       else
 14197:         {
 14198: 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 14199:           else puts (dlerror ());
 14200: 	}
 14201:       /* dlclose (self); */
 14202:     }
 14203:   else
 14204:     puts (dlerror ());
 14205: 
 14206:   return status;
 14207: }
 14208: _LT_EOF
 14209:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 14210:   (eval $ac_link) 2>&5
 14211:   ac_status=$?
 14212:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 14213:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
 14214:     (./conftest; exit; ) >&5 2>/dev/null
 14215:     lt_status=$?
 14216:     case x$lt_status in
 14217:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 14218:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 14219:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 14220:     esac
 14221:   else :
 14222:     # compilation failed
 14223:     lt_cv_dlopen_self_static=no
 14224:   fi
 14225: fi
 14226: rm -fr conftest*
 14227: 
 14228: 
 14229: fi
 14230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 14231: $as_echo "$lt_cv_dlopen_self_static" >&6; }
 14232:     fi
 14233: 
 14234:     CPPFLAGS=$save_CPPFLAGS
 14235:     LDFLAGS=$save_LDFLAGS
 14236:     LIBS=$save_LIBS
 14237:     ;;
 14238:   esac
 14239: 
 14240:   case $lt_cv_dlopen_self in
 14241:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 14242:   *) enable_dlopen_self=unknown ;;
 14243:   esac
 14244: 
 14245:   case $lt_cv_dlopen_self_static in
 14246:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 14247:   *) enable_dlopen_self_static=unknown ;;
 14248:   esac
 14249: fi
 14250: 
 14251: 
 14252: 
 14253: 
 14254: 
 14255: 
 14256: 
 14257: 
 14258: 
 14259: 
 14260: 
 14261: 
 14262: 
 14263: 
 14264: 
 14265: 
 14266: 
 14267: striplib=
 14268: old_striplib=
 14269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 14270: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
 14271: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 14272:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 14273:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 14274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 14275: $as_echo "yes" >&6; }
 14276: else
 14277: # FIXME - insert some real tests, host_os isn't really good enough
 14278:   case $host_os in
 14279:   darwin*)
 14280:     if test -n "$STRIP"; then
 14281:       striplib="$STRIP -x"
 14282:       old_striplib="$STRIP -S"
 14283:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 14284: $as_echo "yes" >&6; }
 14285:     else
 14286:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 14287: $as_echo "no" >&6; }
 14288:     fi
 14289:     ;;
 14290:   *)
 14291:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 14292: $as_echo "no" >&6; }
 14293:     ;;
 14294:   esac
 14295: fi
 14296: 
 14297: 
 14298: 
 14299: 
 14300: 
 14301: 
 14302: 
 14303: 
 14304: 
 14305: 
 14306: 
 14307: 
 14308:   # Report what library types will actually be built
 14309:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 14310: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 14311:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 14312: $as_echo "$can_build_shared" >&6; }
 14313: 
 14314:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 14315: $as_echo_n "checking whether to build shared libraries... " >&6; }
 14316:   test no = "$can_build_shared" && enable_shared=no
 14317: 
 14318:   # On AIX, shared libraries and static libraries use the same namespace, and
 14319:   # are all built from PIC.
 14320:   case $host_os in
 14321:   aix3*)
 14322:     test yes = "$enable_shared" && enable_static=no
 14323:     if test -n "$RANLIB"; then
 14324:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
 14325:       postinstall_cmds='$RANLIB $lib'
 14326:     fi
 14327:     ;;
 14328: 
 14329:   aix[4-9]*)
 14330:     if test ia64 != "$host_cpu"; then
 14331:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
 14332:       yes,aix,yes) ;;			# shared object as lib.so file only
 14333:       yes,svr4,*) ;;			# shared object as lib.so archive member only
 14334:       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
 14335:       esac
 14336:     fi
 14337:     ;;
 14338:   esac
 14339:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 14340: $as_echo "$enable_shared" >&6; }
 14341: 
 14342:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 14343: $as_echo_n "checking whether to build static libraries... " >&6; }
 14344:   # Make sure either enable_shared or enable_static is yes.
 14345:   test yes = "$enable_shared" || enable_static=yes
 14346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 14347: $as_echo "$enable_static" >&6; }
 14348: 
 14349: 
 14350: 
 14351: 
 14352: fi
 14353: ac_ext=c
 14354: ac_cpp='$CPP $CPPFLAGS'
 14355: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 14356: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 14357: ac_compiler_gnu=$ac_cv_c_compiler_gnu
 14358: 
 14359: CC=$lt_save_CC
 14360: 
 14361: 
 14362: 
 14363: 
 14364: 
 14365: 
 14366: 
 14367: 
 14368: 
 14369: 
 14370: 
 14371: 
 14372: 
 14373: 
 14374: 
 14375:         ac_config_commands="$ac_config_commands libtool"
 14376: 
 14377: 
 14378: 
 14379: 
 14380: # Only expand once:
 14381: 
 14382: 
 14383: 
 14384: CPPFLAGS = -DLAC_SYSDIR='"$(datadir)"' @CPPFLAGS@
 14385: 
 14386: ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/repl/Makefile examples/Makefile"
 14387: 
 14388: ac_config_headers="$ac_config_headers config.h"
 14389: 
 14390: cat >confcache <<\_ACEOF
 14391: # This file is a shell script that caches the results of configure
 14392: # tests run on this system so they can be shared between configure
 14393: # scripts and configure runs, see configure's option --config-cache.
 14394: # It is not useful on other systems.  If it contains results you don't
 14395: # want to keep, you may remove or edit it.
 14396: #
 14397: # config.status only pays attention to the cache file if you give it
 14398: # the --recheck option to rerun configure.
 14399: #
 14400: # `ac_cv_env_foo' variables (set or unset) will be overridden when
 14401: # loading this file, other *unset* `ac_cv_foo' will be assigned the
 14402: # following values.
 14403: 
 14404: _ACEOF
 14405: 
 14406: # The following way of writing the cache mishandles newlines in values,
 14407: # but we know of no workaround that is simple, portable, and efficient.
 14408: # So, we kill variables containing newlines.
 14409: # Ultrix sh set writes to stderr and can't be redirected directly,
 14410: # and sets the high bit in the cache file unless we assign to the vars.
 14411: (
 14412:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 14413:     eval ac_val=\$$ac_var
 14414:     case $ac_val in #(
 14415:     *${as_nl}*)
 14416:       case $ac_var in #(
 14417:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 14418: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 14419:       esac
 14420:       case $ac_var in #(
 14421:       _ | IFS | as_nl) ;; #(
 14422:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 14423:       *) { eval $ac_var=; unset $ac_var;} ;;
 14424:       esac ;;
 14425:     esac
 14426:   done
 14427: 
 14428:   (set) 2>&1 |
 14429:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 14430:     *${as_nl}ac_space=\ *)
 14431:       # `set' does not quote correctly, so add quotes: double-quote
 14432:       # substitution turns \\\\ into \\, and sed turns \\ into \.
 14433:       sed -n \
 14434: 	"s/'/'\\\\''/g;
 14435: 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 14436:       ;; #(
 14437:     *)
 14438:       # `set' quotes correctly as required by POSIX, so do not add quotes.
 14439:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 14440:       ;;
 14441:     esac |
 14442:     sort
 14443: ) |
 14444:   sed '
 14445:      /^ac_cv_env_/b end
 14446:      t clear
 14447:      :clear
 14448:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 14449:      t end
 14450:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 14451:      :end' >>confcache
 14452: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 14453:   if test -w "$cache_file"; then
 14454:     if test "x$cache_file" != "x/dev/null"; then
 14455:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 14456: $as_echo "$as_me: updating cache $cache_file" >&6;}
 14457:       if test ! -f "$cache_file" || test -h "$cache_file"; then
 14458: 	cat confcache >"$cache_file"
 14459:       else
 14460:         case $cache_file in #(
 14461:         */* | ?:*)
 14462: 	  mv -f confcache "$cache_file"$$ &&
 14463: 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
 14464:         *)
 14465: 	  mv -f confcache "$cache_file" ;;
 14466: 	esac
 14467:       fi
 14468:     fi
 14469:   else
 14470:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 14471: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 14472:   fi
 14473: fi
 14474: rm -f confcache
 14475: 
 14476: test "x$prefix" = xNONE && prefix=$ac_default_prefix
 14477: # Let make expand exec_prefix.
 14478: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 14479: 
 14480: DEFS=-DHAVE_CONFIG_H
 14481: 
 14482: ac_libobjs=
 14483: ac_ltlibobjs=
 14484: U=
 14485: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 14486:   # 1. Remove the extension, and $U if already installed.
 14487:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 14488:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 14489:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 14490:   #    will be set to the directory where LIBOBJS objects are built.
 14491:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 14492:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 14493: done
 14494: LIBOBJS=$ac_libobjs
 14495: 
 14496: LTLIBOBJS=$ac_ltlibobjs
 14497: 
 14498: 
 14499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 14500: $as_echo_n "checking that generated files are newer than configure... " >&6; }
 14501:    if test -n "$am_sleep_pid"; then
 14502:      # Hide warnings about reused PIDs.
 14503:      wait $am_sleep_pid 2>/dev/null
 14504:    fi
 14505:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 14506: $as_echo "done" >&6; }
 14507:  if test -n "$EXEEXT"; then
 14508:   am__EXEEXT_TRUE=
 14509:   am__EXEEXT_FALSE='#'
 14510: else
 14511:   am__EXEEXT_TRUE='#'
 14512:   am__EXEEXT_FALSE=
 14513: fi
 14514: 
 14515: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 14516:   as_fn_error $? "conditional \"AMDEP\" was never defined.
 14517: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 14518: fi
 14519: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 14520:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 14521: Usually this means the macro was only invoked conditionally." "$LINENO" 5
 14522: fi
 14523: 
 14524: : "${CONFIG_STATUS=./config.status}"
 14525: ac_write_fail=0
 14526: ac_clean_files_save=$ac_clean_files
 14527: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 14528: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 14529: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 14530: as_write_fail=0
 14531: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 14532: #! $SHELL
 14533: # Generated by $as_me.
 14534: # Run this file to recreate the current configuration.
 14535: # Compiler output produced by configure, useful for debugging
 14536: # configure, is in config.log if it exists.
 14537: 
 14538: debug=false
 14539: ac_cs_recheck=false
 14540: ac_cs_silent=false
 14541: 
 14542: SHELL=\${CONFIG_SHELL-$SHELL}
 14543: export SHELL
 14544: _ASEOF
 14545: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 14546: ## -------------------- ##
 14547: ## M4sh Initialization. ##
 14548: ## -------------------- ##
 14549: 
 14550: # Be more Bourne compatible
 14551: DUALCASE=1; export DUALCASE # for MKS sh
 14552: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 14553:   emulate sh
 14554:   NULLCMD=:
 14555:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 14556:   # is contrary to our usage.  Disable this feature.
 14557:   alias -g '${1+"$@"}'='"$@"'
 14558:   setopt NO_GLOB_SUBST
 14559: else
 14560:   case `(set -o) 2>/dev/null` in #(
 14561:   *posix*) :
 14562:     set -o posix ;; #(
 14563:   *) :
 14564:      ;;
 14565: esac
 14566: fi
 14567: 
 14568: 
 14569: as_nl='
 14570: '
 14571: export as_nl
 14572: # Printing a long string crashes Solaris 7 /usr/bin/printf.
 14573: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 14574: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 14575: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 14576: # Prefer a ksh shell builtin over an external printf program on Solaris,
 14577: # but without wasting forks for bash or zsh.
 14578: if test -z "$BASH_VERSION$ZSH_VERSION" \
 14579:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 14580:   as_echo='print -r --'
 14581:   as_echo_n='print -rn --'
 14582: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 14583:   as_echo='printf %s\n'
 14584:   as_echo_n='printf %s'
 14585: else
 14586:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 14587:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 14588:     as_echo_n='/usr/ucb/echo -n'
 14589:   else
 14590:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 14591:     as_echo_n_body='eval
 14592:       arg=$1;
 14593:       case $arg in #(
 14594:       *"$as_nl"*)
 14595: 	expr "X$arg" : "X\\(.*\\)$as_nl";
 14596: 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 14597:       esac;
 14598:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 14599:     '
 14600:     export as_echo_n_body
 14601:     as_echo_n='sh -c $as_echo_n_body as_echo'
 14602:   fi
 14603:   export as_echo_body
 14604:   as_echo='sh -c $as_echo_body as_echo'
 14605: fi
 14606: 
 14607: # The user is always right.
 14608: if test "${PATH_SEPARATOR+set}" != set; then
 14609:   PATH_SEPARATOR=:
 14610:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 14611:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 14612:       PATH_SEPARATOR=';'
 14613:   }
 14614: fi
 14615: 
 14616: 
 14617: # IFS
 14618: # We need space, tab and new line, in precisely that order.  Quoting is
 14619: # there to prevent editors from complaining about space-tab.
 14620: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 14621: # splitting by setting IFS to empty value.)
 14622: IFS=" ""	$as_nl"
 14623: 
 14624: # Find who we are.  Look in the path if we contain no directory separator.
 14625: as_myself=
 14626: case $0 in #((
 14627:   *[\\/]* ) as_myself=$0 ;;
 14628:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 14629: for as_dir in $PATH
 14630: do
 14631:   IFS=$as_save_IFS
 14632:   test -z "$as_dir" && as_dir=.
 14633:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 14634:   done
 14635: IFS=$as_save_IFS
 14636: 
 14637:      ;;
 14638: esac
 14639: # We did not find ourselves, most probably we were run as `sh COMMAND'
 14640: # in which case we are not to be found in the path.
 14641: if test "x$as_myself" = x; then
 14642:   as_myself=$0
 14643: fi
 14644: if test ! -f "$as_myself"; then
 14645:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 14646:   exit 1
 14647: fi
 14648: 
 14649: # Unset variables that we do not need and which cause bugs (e.g. in
 14650: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 14651: # suppresses any "Segmentation fault" message there.  '((' could
 14652: # trigger a bug in pdksh 5.2.14.
 14653: for as_var in BASH_ENV ENV MAIL MAILPATH
 14654: do eval test x\${$as_var+set} = xset \
 14655:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 14656: done
 14657: PS1='$ '
 14658: PS2='> '
 14659: PS4='+ '
 14660: 
 14661: # NLS nuisances.
 14662: LC_ALL=C
 14663: export LC_ALL
 14664: LANGUAGE=C
 14665: export LANGUAGE
 14666: 
 14667: # CDPATH.
 14668: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 14669: 
 14670: 
 14671: # as_fn_error STATUS ERROR [LINENO LOG_FD]
 14672: # ----------------------------------------
 14673: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 14674: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 14675: # script with STATUS, using 1 if that was 0.
 14676: as_fn_error ()
 14677: {
 14678:   as_status=$1; test $as_status -eq 0 && as_status=1
 14679:   if test "$4"; then
 14680:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 14681:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 14682:   fi
 14683:   $as_echo "$as_me: error: $2" >&2
 14684:   as_fn_exit $as_status
 14685: } # as_fn_error
 14686: 
 14687: 
 14688: # as_fn_set_status STATUS
 14689: # -----------------------
 14690: # Set $? to STATUS, without forking.
 14691: as_fn_set_status ()
 14692: {
 14693:   return $1
 14694: } # as_fn_set_status
 14695: 
 14696: # as_fn_exit STATUS
 14697: # -----------------
 14698: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 14699: as_fn_exit ()
 14700: {
 14701:   set +e
 14702:   as_fn_set_status $1
 14703:   exit $1
 14704: } # as_fn_exit
 14705: 
 14706: # as_fn_unset VAR
 14707: # ---------------
 14708: # Portably unset VAR.
 14709: as_fn_unset ()
 14710: {
 14711:   { eval $1=; unset $1;}
 14712: }
 14713: as_unset=as_fn_unset
 14714: # as_fn_append VAR VALUE
 14715: # ----------------------
 14716: # Append the text in VALUE to the end of the definition contained in VAR. Take
 14717: # advantage of any shell optimizations that allow amortized linear growth over
 14718: # repeated appends, instead of the typical quadratic growth present in naive
 14719: # implementations.
 14720: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 14721:   eval 'as_fn_append ()
 14722:   {
 14723:     eval $1+=\$2
 14724:   }'
 14725: else
 14726:   as_fn_append ()
 14727:   {
 14728:     eval $1=\$$1\$2
 14729:   }
 14730: fi # as_fn_append
 14731: 
 14732: # as_fn_arith ARG...
 14733: # ------------------
 14734: # Perform arithmetic evaluation on the ARGs, and store the result in the
 14735: # global $as_val. Take advantage of shells that can avoid forks. The arguments
 14736: # must be portable across $(()) and expr.
 14737: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 14738:   eval 'as_fn_arith ()
 14739:   {
 14740:     as_val=$(( $* ))
 14741:   }'
 14742: else
 14743:   as_fn_arith ()
 14744:   {
 14745:     as_val=`expr "$@" || test $? -eq 1`
 14746:   }
 14747: fi # as_fn_arith
 14748: 
 14749: 
 14750: if expr a : '\(a\)' >/dev/null 2>&1 &&
 14751:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 14752:   as_expr=expr
 14753: else
 14754:   as_expr=false
 14755: fi
 14756: 
 14757: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 14758:   as_basename=basename
 14759: else
 14760:   as_basename=false
 14761: fi
 14762: 
 14763: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 14764:   as_dirname=dirname
 14765: else
 14766:   as_dirname=false
 14767: fi
 14768: 
 14769: as_me=`$as_basename -- "$0" ||
 14770: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 14771: 	 X"$0" : 'X\(//\)$' \| \
 14772: 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 14773: $as_echo X/"$0" |
 14774:     sed '/^.*\/\([^/][^/]*\)\/*$/{
 14775: 	    s//\1/
 14776: 	    q
 14777: 	  }
 14778: 	  /^X\/\(\/\/\)$/{
 14779: 	    s//\1/
 14780: 	    q
 14781: 	  }
 14782: 	  /^X\/\(\/\).*/{
 14783: 	    s//\1/
 14784: 	    q
 14785: 	  }
 14786: 	  s/.*/./; q'`
 14787: 
 14788: # Avoid depending upon Character Ranges.
 14789: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 14790: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 14791: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 14792: as_cr_digits='0123456789'
 14793: as_cr_alnum=$as_cr_Letters$as_cr_digits
 14794: 
 14795: ECHO_C= ECHO_N= ECHO_T=
 14796: case `echo -n x` in #(((((
 14797: -n*)
 14798:   case `echo 'xy\c'` in
 14799:   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 14800:   xy)  ECHO_C='\c';;
 14801:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 14802:        ECHO_T='	';;
 14803:   esac;;
 14804: *)
 14805:   ECHO_N='-n';;
 14806: esac
 14807: 
 14808: rm -f conf$$ conf$$.exe conf$$.file
 14809: if test -d conf$$.dir; then
 14810:   rm -f conf$$.dir/conf$$.file
 14811: else
 14812:   rm -f conf$$.dir
 14813:   mkdir conf$$.dir 2>/dev/null
 14814: fi
 14815: if (echo >conf$$.file) 2>/dev/null; then
 14816:   if ln -s conf$$.file conf$$ 2>/dev/null; then
 14817:     as_ln_s='ln -s'
 14818:     # ... but there are two gotchas:
 14819:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 14820:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 14821:     # In both cases, we have to default to `cp -pR'.
 14822:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 14823:       as_ln_s='cp -pR'
 14824:   elif ln conf$$.file conf$$ 2>/dev/null; then
 14825:     as_ln_s=ln
 14826:   else
 14827:     as_ln_s='cp -pR'
 14828:   fi
 14829: else
 14830:   as_ln_s='cp -pR'
 14831: fi
 14832: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 14833: rmdir conf$$.dir 2>/dev/null
 14834: 
 14835: 
 14836: # as_fn_mkdir_p
 14837: # -------------
 14838: # Create "$as_dir" as a directory, including parents if necessary.
 14839: as_fn_mkdir_p ()
 14840: {
 14841: 
 14842:   case $as_dir in #(
 14843:   -*) as_dir=./$as_dir;;
 14844:   esac
 14845:   test -d "$as_dir" || eval $as_mkdir_p || {
 14846:     as_dirs=
 14847:     while :; do
 14848:       case $as_dir in #(
 14849:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14850:       *) as_qdir=$as_dir;;
 14851:       esac
 14852:       as_dirs="'$as_qdir' $as_dirs"
 14853:       as_dir=`$as_dirname -- "$as_dir" ||
 14854: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14855: 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14856: 	 X"$as_dir" : 'X\(//\)$' \| \
 14857: 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14858: $as_echo X"$as_dir" |
 14859:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14860: 	    s//\1/
 14861: 	    q
 14862: 	  }
 14863: 	  /^X\(\/\/\)[^/].*/{
 14864: 	    s//\1/
 14865: 	    q
 14866: 	  }
 14867: 	  /^X\(\/\/\)$/{
 14868: 	    s//\1/
 14869: 	    q
 14870: 	  }
 14871: 	  /^X\(\/\).*/{
 14872: 	    s//\1/
 14873: 	    q
 14874: 	  }
 14875: 	  s/.*/./; q'`
 14876:       test -d "$as_dir" && break
 14877:     done
 14878:     test -z "$as_dirs" || eval "mkdir $as_dirs"
 14879:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 14880: 
 14881: 
 14882: } # as_fn_mkdir_p
 14883: if mkdir -p . 2>/dev/null; then
 14884:   as_mkdir_p='mkdir -p "$as_dir"'
 14885: else
 14886:   test -d ./-p && rmdir ./-p
 14887:   as_mkdir_p=false
 14888: fi
 14889: 
 14890: 
 14891: # as_fn_executable_p FILE
 14892: # -----------------------
 14893: # Test if FILE is an executable regular file.
 14894: as_fn_executable_p ()
 14895: {
 14896:   test -f "$1" && test -x "$1"
 14897: } # as_fn_executable_p
 14898: as_test_x='test -x'
 14899: as_executable_p=as_fn_executable_p
 14900: 
 14901: # Sed expression to map a string onto a valid CPP name.
 14902: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 14903: 
 14904: # Sed expression to map a string onto a valid variable name.
 14905: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 14906: 
 14907: 
 14908: exec 6>&1
 14909: ## ----------------------------------- ##
 14910: ## Main body of $CONFIG_STATUS script. ##
 14911: ## ----------------------------------- ##
 14912: _ASEOF
 14913: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 14914: 
 14915: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14916: # Save the log message, to keep $0 and so on meaningful, and to
 14917: # report actual input values of CONFIG_FILES etc. instead of their
 14918: # values after options handling.
 14919: ac_log="
 14920: This file was extended by lac $as_me 0.1.0, which was
 14921: generated by GNU Autoconf 2.69.  Invocation command line was
 14922: 
 14923:   CONFIG_FILES    = $CONFIG_FILES
 14924:   CONFIG_HEADERS  = $CONFIG_HEADERS
 14925:   CONFIG_LINKS    = $CONFIG_LINKS
 14926:   CONFIG_COMMANDS = $CONFIG_COMMANDS
 14927:   $ $0 $@
 14928: 
 14929: on `(hostname || uname -n) 2>/dev/null | sed 1q`
 14930: "
 14931: 
 14932: _ACEOF
 14933: 
 14934: case $ac_config_files in *"
 14935: "*) set x $ac_config_files; shift; ac_config_files=$*;;
 14936: esac
 14937: 
 14938: case $ac_config_headers in *"
 14939: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 14940: esac
 14941: 
 14942: 
 14943: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14944: # Files that config.status was made for.
 14945: config_files="$ac_config_files"
 14946: config_headers="$ac_config_headers"
 14947: config_commands="$ac_config_commands"
 14948: 
 14949: _ACEOF
 14950: 
 14951: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14952: ac_cs_usage="\
 14953: \`$as_me' instantiates files and other configuration actions
 14954: from templates according to the current configuration.  Unless the files
 14955: and actions are specified as TAGs, all are instantiated by default.
 14956: 
 14957: Usage: $0 [OPTION]... [TAG]...
 14958: 
 14959:   -h, --help       print this help, then exit
 14960:   -V, --version    print version number and configuration settings, then exit
 14961:       --config     print configuration, then exit
 14962:   -q, --quiet, --silent
 14963:                    do not print progress messages
 14964:   -d, --debug      don't remove temporary files
 14965:       --recheck    update $as_me by reconfiguring in the same conditions
 14966:       --file=FILE[:TEMPLATE]
 14967:                    instantiate the configuration file FILE
 14968:       --header=FILE[:TEMPLATE]
 14969:                    instantiate the configuration header FILE
 14970: 
 14971: Configuration files:
 14972: $config_files
 14973: 
 14974: Configuration headers:
 14975: $config_headers
 14976: 
 14977: Configuration commands:
 14978: $config_commands
 14979: 
 14980: Report bugs to <lac@tlbflush.org>."
 14981: 
 14982: _ACEOF
 14983: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14984: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 14985: ac_cs_version="\\
 14986: lac config.status 0.1.0
 14987: configured by $0, generated by GNU Autoconf 2.69,
 14988:   with options \\"\$ac_cs_config\\"
 14989: 
 14990: Copyright (C) 2012 Free Software Foundation, Inc.
 14991: This config.status script is free software; the Free Software Foundation
 14992: gives unlimited permission to copy, distribute and modify it."
 14993: 
 14994: ac_pwd='$ac_pwd'
 14995: srcdir='$srcdir'
 14996: INSTALL='$INSTALL'
 14997: MKDIR_P='$MKDIR_P'
 14998: AWK='$AWK'
 14999: test -n "\$AWK" || AWK=awk
 15000: _ACEOF
 15001: 
 15002: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15003: # The default lists apply if the user does not specify any file.
 15004: ac_need_defaults=:
 15005: while test $# != 0
 15006: do
 15007:   case $1 in
 15008:   --*=?*)
 15009:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 15010:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 15011:     ac_shift=:
 15012:     ;;
 15013:   --*=)
 15014:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 15015:     ac_optarg=
 15016:     ac_shift=:
 15017:     ;;
 15018:   *)
 15019:     ac_option=$1
 15020:     ac_optarg=$2
 15021:     ac_shift=shift
 15022:     ;;
 15023:   esac
 15024: 
 15025:   case $ac_option in
 15026:   # Handling of the options.
 15027:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 15028:     ac_cs_recheck=: ;;
 15029:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 15030:     $as_echo "$ac_cs_version"; exit ;;
 15031:   --config | --confi | --conf | --con | --co | --c )
 15032:     $as_echo "$ac_cs_config"; exit ;;
 15033:   --debug | --debu | --deb | --de | --d | -d )
 15034:     debug=: ;;
 15035:   --file | --fil | --fi | --f )
 15036:     $ac_shift
 15037:     case $ac_optarg in
 15038:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 15039:     '') as_fn_error $? "missing file argument" ;;
 15040:     esac
 15041:     as_fn_append CONFIG_FILES " '$ac_optarg'"
 15042:     ac_need_defaults=false;;
 15043:   --header | --heade | --head | --hea )
 15044:     $ac_shift
 15045:     case $ac_optarg in
 15046:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 15047:     esac
 15048:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 15049:     ac_need_defaults=false;;
 15050:   --he | --h)
 15051:     # Conflict between --help and --header
 15052:     as_fn_error $? "ambiguous option: \`$1'
 15053: Try \`$0 --help' for more information.";;
 15054:   --help | --hel | -h )
 15055:     $as_echo "$ac_cs_usage"; exit ;;
 15056:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 15057:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 15058:     ac_cs_silent=: ;;
 15059: 
 15060:   # This is an error.
 15061:   -*) as_fn_error $? "unrecognized option: \`$1'
 15062: Try \`$0 --help' for more information." ;;
 15063: 
 15064:   *) as_fn_append ac_config_targets " $1"
 15065:      ac_need_defaults=false ;;
 15066: 
 15067:   esac
 15068:   shift
 15069: done
 15070: 
 15071: ac_configure_extra_args=
 15072: 
 15073: if $ac_cs_silent; then
 15074:   exec 6>/dev/null
 15075:   ac_configure_extra_args="$ac_configure_extra_args --silent"
 15076: fi
 15077: 
 15078: _ACEOF
 15079: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15080: if \$ac_cs_recheck; then
 15081:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 15082:   shift
 15083:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 15084:   CONFIG_SHELL='$SHELL'
 15085:   export CONFIG_SHELL
 15086:   exec "\$@"
 15087: fi
 15088: 
 15089: _ACEOF
 15090: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15091: exec 5>>config.log
 15092: {
 15093:   echo
 15094:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 15095: ## Running $as_me. ##
 15096: _ASBOX
 15097:   $as_echo "$ac_log"
 15098: } >&5
 15099: 
 15100: _ACEOF
 15101: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15102: #
 15103: # INIT-COMMANDS
 15104: #
 15105: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 15106: 
 15107: 
 15108: # The HP-UX ksh and POSIX shell print the target directory to stdout
 15109: # if CDPATH is set.
 15110: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 15111: 
 15112: sed_quote_subst='$sed_quote_subst'
 15113: double_quote_subst='$double_quote_subst'
 15114: delay_variable_subst='$delay_variable_subst'
 15115: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 15116: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 15117: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 15118: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 15119: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 15120: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 15121: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
 15122: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 15123: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 15124: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 15125: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 15126: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 15127: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 15128: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 15129: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 15130: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 15131: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 15132: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 15133: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 15134: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 15135: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 15136: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 15137: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 15138: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 15139: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 15140: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 15141: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 15142: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 15143: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 15144: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 15145: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 15146: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 15147: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 15148: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 15149: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 15150: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 15151: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 15152: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 15153: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 15154: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 15155: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 15156: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 15157: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 15158: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 15159: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 15160: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 15161: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 15162: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 15163: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 15164: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 15165: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 15166: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 15167: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 15168: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 15169: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 15170: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 15171: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 15172: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 15173: 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"`'
 15174: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
 15175: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 15176: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 15177: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
 15178: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 15179: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 15180: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 15181: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 15182: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 15183: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 15184: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 15185: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 15186: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 15187: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 15188: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 15189: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 15190: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 15191: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 15192: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 15193: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 15194: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 15195: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 15196: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 15197: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 15198: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 15199: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 15200: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 15201: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 15202: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 15203: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 15204: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 15205: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 15206: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 15207: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 15208: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 15209: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 15210: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 15211: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 15212: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 15213: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 15214: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 15215: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 15216: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 15217: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 15218: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 15219: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 15220: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 15221: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 15222: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 15223: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 15224: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 15225: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 15226: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 15227: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 15228: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 15229: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 15230: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 15231: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 15232: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 15233: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 15234: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 15235: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 15236: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 15237: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 15238: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 15239: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 15240: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 15241: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 15242: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
 15243: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
 15244: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 15245: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 15246: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 15247: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 15248: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 15249: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 15250: 
 15251: LTCC='$LTCC'
 15252: LTCFLAGS='$LTCFLAGS'
 15253: compiler='$compiler_DEFAULT'
 15254: 
 15255: # A function that is used when there is no print builtin or printf.
 15256: func_fallback_echo ()
 15257: {
 15258:   eval 'cat <<_LTECHO_EOF
 15259: \$1
 15260: _LTECHO_EOF'
 15261: }
 15262: 
 15263: # Quote evaled strings.
 15264: for var in SHELL \
 15265: ECHO \
 15266: PATH_SEPARATOR \
 15267: SED \
 15268: GREP \
 15269: EGREP \
 15270: FGREP \
 15271: LD \
 15272: NM \
 15273: LN_S \
 15274: lt_SP2NL \
 15275: lt_NL2SP \
 15276: reload_flag \
 15277: OBJDUMP \
 15278: deplibs_check_method \
 15279: file_magic_cmd \
 15280: file_magic_glob \
 15281: want_nocaseglob \
 15282: DLLTOOL \
 15283: sharedlib_from_linklib_cmd \
 15284: AR \
 15285: AR_FLAGS \
 15286: archiver_list_spec \
 15287: STRIP \
 15288: RANLIB \
 15289: CC \
 15290: CFLAGS \
 15291: compiler \
 15292: lt_cv_sys_global_symbol_pipe \
 15293: lt_cv_sys_global_symbol_to_cdecl \
 15294: lt_cv_sys_global_symbol_to_import \
 15295: lt_cv_sys_global_symbol_to_c_name_address \
 15296: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 15297: lt_cv_nm_interface \
 15298: nm_file_list_spec \
 15299: lt_cv_truncate_bin \
 15300: lt_prog_compiler_no_builtin_flag \
 15301: lt_prog_compiler_pic \
 15302: lt_prog_compiler_wl \
 15303: lt_prog_compiler_static \
 15304: lt_cv_prog_compiler_c_o \
 15305: need_locks \
 15306: MANIFEST_TOOL \
 15307: DSYMUTIL \
 15308: NMEDIT \
 15309: LIPO \
 15310: OTOOL \
 15311: OTOOL64 \
 15312: shrext_cmds \
 15313: export_dynamic_flag_spec \
 15314: whole_archive_flag_spec \
 15315: compiler_needs_object \
 15316: with_gnu_ld \
 15317: allow_undefined_flag \
 15318: no_undefined_flag \
 15319: hardcode_libdir_flag_spec \
 15320: hardcode_libdir_separator \
 15321: exclude_expsyms \
 15322: include_expsyms \
 15323: file_list_spec \
 15324: variables_saved_for_relink \
 15325: libname_spec \
 15326: library_names_spec \
 15327: soname_spec \
 15328: install_override_mode \
 15329: finish_eval \
 15330: old_striplib \
 15331: striplib; do
 15332:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 15333:     *[\\\\\\\`\\"\\\$]*)
 15334:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
 15335:       ;;
 15336:     *)
 15337:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 15338:       ;;
 15339:     esac
 15340: done
 15341: 
 15342: # Double-quote double-evaled strings.
 15343: for var in reload_cmds \
 15344: old_postinstall_cmds \
 15345: old_postuninstall_cmds \
 15346: old_archive_cmds \
 15347: extract_expsyms_cmds \
 15348: old_archive_from_new_cmds \
 15349: old_archive_from_expsyms_cmds \
 15350: archive_cmds \
 15351: archive_expsym_cmds \
 15352: module_cmds \
 15353: module_expsym_cmds \
 15354: export_symbols_cmds \
 15355: prelink_cmds \
 15356: postlink_cmds \
 15357: postinstall_cmds \
 15358: postuninstall_cmds \
 15359: finish_cmds \
 15360: sys_lib_search_path_spec \
 15361: configure_time_dlsearch_path \
 15362: configure_time_lt_sys_library_path; do
 15363:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 15364:     *[\\\\\\\`\\"\\\$]*)
 15365:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
 15366:       ;;
 15367:     *)
 15368:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 15369:       ;;
 15370:     esac
 15371: done
 15372: 
 15373: ac_aux_dir='$ac_aux_dir'
 15374: 
 15375: # See if we are running on zsh, and set the options that allow our
 15376: # commands through without removal of \ escapes INIT.
 15377: if test -n "\${ZSH_VERSION+set}"; then
 15378:    setopt NO_GLOB_SUBST
 15379: fi
 15380: 
 15381: 
 15382:     PACKAGE='$PACKAGE'
 15383:     VERSION='$VERSION'
 15384:     RM='$RM'
 15385:     ofile='$ofile'
 15386: 
 15387: 
 15388: 
 15389: 
 15390: _ACEOF
 15391: 
 15392: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15393: 
 15394: # Handling of arguments.
 15395: for ac_config_target in $ac_config_targets
 15396: do
 15397:   case $ac_config_target in
 15398:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 15399:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 15400:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 15401:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 15402:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
 15403:     "src/repl/Makefile") CONFIG_FILES="$CONFIG_FILES src/repl/Makefile" ;;
 15404:     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
 15405:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 15406: 
 15407:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 15408:   esac
 15409: done
 15410: 
 15411: 
 15412: # If the user did not use the arguments to specify the items to instantiate,
 15413: # then the envvar interface is used.  Set only those that are not.
 15414: # We use the long form for the default assignment because of an extremely
 15415: # bizarre bug on SunOS 4.1.3.
 15416: if $ac_need_defaults; then
 15417:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 15418:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 15419:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 15420: fi
 15421: 
 15422: # Have a temporary directory for convenience.  Make it in the build tree
 15423: # simply because there is no reason against having it here, and in addition,
 15424: # creating and moving files from /tmp can sometimes cause problems.
 15425: # Hook for its removal unless debugging.
 15426: # Note that there is a small window in which the directory will not be cleaned:
 15427: # after its creation but before its name has been assigned to `$tmp'.
 15428: $debug ||
 15429: {
 15430:   tmp= ac_tmp=
 15431:   trap 'exit_status=$?
 15432:   : "${ac_tmp:=$tmp}"
 15433:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 15434: ' 0
 15435:   trap 'as_fn_exit 1' 1 2 13 15
 15436: }
 15437: # Create a (secure) tmp directory for tmp files.
 15438: 
 15439: {
 15440:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 15441:   test -d "$tmp"
 15442: }  ||
 15443: {
 15444:   tmp=./conf$$-$RANDOM
 15445:   (umask 077 && mkdir "$tmp")
 15446: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 15447: ac_tmp=$tmp
 15448: 
 15449: # Set up the scripts for CONFIG_FILES section.
 15450: # No need to generate them if there are no CONFIG_FILES.
 15451: # This happens for instance with `./config.status config.h'.
 15452: if test -n "$CONFIG_FILES"; then
 15453: 
 15454: 
 15455: ac_cr=`echo X | tr X '\015'`
 15456: # On cygwin, bash can eat \r inside `` if the user requested igncr.
 15457: # But we know of no other shell where ac_cr would be empty at this
 15458: # point, so we can use a bashism as a fallback.
 15459: if test "x$ac_cr" = x; then
 15460:   eval ac_cr=\$\'\\r\'
 15461: fi
 15462: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 15463: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 15464:   ac_cs_awk_cr='\\r'
 15465: else
 15466:   ac_cs_awk_cr=$ac_cr
 15467: fi
 15468: 
 15469: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 15470: _ACEOF
 15471: 
 15472: 
 15473: {
 15474:   echo "cat >conf$$subs.awk <<_ACEOF" &&
 15475:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 15476:   echo "_ACEOF"
 15477: } >conf$$subs.sh ||
 15478:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 15479: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 15480: ac_delim='%!_!# '
 15481: for ac_last_try in false false false false false :; do
 15482:   . ./conf$$subs.sh ||
 15483:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 15484: 
 15485:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 15486:   if test $ac_delim_n = $ac_delim_num; then
 15487:     break
 15488:   elif $ac_last_try; then
 15489:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 15490:   else
 15491:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 15492:   fi
 15493: done
 15494: rm -f conf$$subs.sh
 15495: 
 15496: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15497: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 15498: _ACEOF
 15499: sed -n '
 15500: h
 15501: s/^/S["/; s/!.*/"]=/
 15502: p
 15503: g
 15504: s/^[^!]*!//
 15505: :repl
 15506: t repl
 15507: s/'"$ac_delim"'$//
 15508: t delim
 15509: :nl
 15510: h
 15511: s/\(.\{148\}\)..*/\1/
 15512: t more1
 15513: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 15514: p
 15515: n
 15516: b repl
 15517: :more1
 15518: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 15519: p
 15520: g
 15521: s/.\{148\}//
 15522: t nl
 15523: :delim
 15524: h
 15525: s/\(.\{148\}\)..*/\1/
 15526: t more2
 15527: s/["\\]/\\&/g; s/^/"/; s/$/"/
 15528: p
 15529: b
 15530: :more2
 15531: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 15532: p
 15533: g
 15534: s/.\{148\}//
 15535: t delim
 15536: ' <conf$$subs.awk | sed '
 15537: /^[^""]/{
 15538:   N
 15539:   s/\n//
 15540: }
 15541: ' >>$CONFIG_STATUS || ac_write_fail=1
 15542: rm -f conf$$subs.awk
 15543: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15544: _ACAWK
 15545: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 15546:   for (key in S) S_is_set[key] = 1
 15547:   FS = ""
 15548: 
 15549: }
 15550: {
 15551:   line = $ 0
 15552:   nfields = split(line, field, "@")
 15553:   substed = 0
 15554:   len = length(field[1])
 15555:   for (i = 2; i < nfields; i++) {
 15556:     key = field[i]
 15557:     keylen = length(key)
 15558:     if (S_is_set[key]) {
 15559:       value = S[key]
 15560:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 15561:       len += length(value) + length(field[++i])
 15562:       substed = 1
 15563:     } else
 15564:       len += 1 + keylen
 15565:   }
 15566: 
 15567:   print line
 15568: }
 15569: 
 15570: _ACAWK
 15571: _ACEOF
 15572: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15573: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 15574:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 15575: else
 15576:   cat
 15577: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 15578:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 15579: _ACEOF
 15580: 
 15581: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 15582: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 15583: # trailing colons and then remove the whole line if VPATH becomes empty
 15584: # (actually we leave an empty line to preserve line numbers).
 15585: if test "x$srcdir" = x.; then
 15586:   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
 15587: h
 15588: s///
 15589: s/^/:/
 15590: s/[	 ]*$/:/
 15591: s/:\$(srcdir):/:/g
 15592: s/:\${srcdir}:/:/g
 15593: s/:@srcdir@:/:/g
 15594: s/^:*//
 15595: s/:*$//
 15596: x
 15597: s/\(=[	 ]*\).*/\1/
 15598: G
 15599: s/\n//
 15600: s/^[^=]*=[	 ]*$//
 15601: }'
 15602: fi
 15603: 
 15604: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15605: fi # test -n "$CONFIG_FILES"
 15606: 
 15607: # Set up the scripts for CONFIG_HEADERS section.
 15608: # No need to generate them if there are no CONFIG_HEADERS.
 15609: # This happens for instance with `./config.status Makefile'.
 15610: if test -n "$CONFIG_HEADERS"; then
 15611: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 15612: BEGIN {
 15613: _ACEOF
 15614: 
 15615: # Transform confdefs.h into an awk script `defines.awk', embedded as
 15616: # here-document in config.status, that substitutes the proper values into
 15617: # config.h.in to produce config.h.
 15618: 
 15619: # Create a delimiter string that does not exist in confdefs.h, to ease
 15620: # handling of long lines.
 15621: ac_delim='%!_!# '
 15622: for ac_last_try in false false :; do
 15623:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 15624:   if test -z "$ac_tt"; then
 15625:     break
 15626:   elif $ac_last_try; then
 15627:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 15628:   else
 15629:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 15630:   fi
 15631: done
 15632: 
 15633: # For the awk script, D is an array of macro values keyed by name,
 15634: # likewise P contains macro parameters if any.  Preserve backslash
 15635: # newline sequences.
 15636: 
 15637: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 15638: sed -n '
 15639: s/.\{148\}/&'"$ac_delim"'/g
 15640: t rset
 15641: :rset
 15642: s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 15643: t def
 15644: d
 15645: :def
 15646: s/\\$//
 15647: t bsnl
 15648: s/["\\]/\\&/g
 15649: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 15650: D["\1"]=" \3"/p
 15651: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 15652: d
 15653: :bsnl
 15654: s/["\\]/\\&/g
 15655: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 15656: D["\1"]=" \3\\\\\\n"\\/p
 15657: t cont
 15658: s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 15659: t cont
 15660: d
 15661: :cont
 15662: n
 15663: s/.\{148\}/&'"$ac_delim"'/g
 15664: t clear
 15665: :clear
 15666: s/\\$//
 15667: t bsnlc
 15668: s/["\\]/\\&/g; s/^/"/; s/$/"/p
 15669: d
 15670: :bsnlc
 15671: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 15672: b cont
 15673: ' <confdefs.h | sed '
 15674: s/'"$ac_delim"'/"\\\
 15675: "/g' >>$CONFIG_STATUS || ac_write_fail=1
 15676: 
 15677: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15678:   for (key in D) D_is_set[key] = 1
 15679:   FS = ""
 15680: }
 15681: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 15682:   line = \$ 0
 15683:   split(line, arg, " ")
 15684:   if (arg[1] == "#") {
 15685:     defundef = arg[2]
 15686:     mac1 = arg[3]
 15687:   } else {
 15688:     defundef = substr(arg[1], 2)
 15689:     mac1 = arg[2]
 15690:   }
 15691:   split(mac1, mac2, "(") #)
 15692:   macro = mac2[1]
 15693:   prefix = substr(line, 1, index(line, defundef) - 1)
 15694:   if (D_is_set[macro]) {
 15695:     # Preserve the white space surrounding the "#".
 15696:     print prefix "define", macro P[macro] D[macro]
 15697:     next
 15698:   } else {
 15699:     # Replace #undef with comments.  This is necessary, for example,
 15700:     # in the case of _POSIX_SOURCE, which is predefined and required
 15701:     # on some systems where configure will not decide to define it.
 15702:     if (defundef == "undef") {
 15703:       print "/*", prefix defundef, macro, "*/"
 15704:       next
 15705:     }
 15706:   }
 15707: }
 15708: { print }
 15709: _ACAWK
 15710: _ACEOF
 15711: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15712:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 15713: fi # test -n "$CONFIG_HEADERS"
 15714: 
 15715: 
 15716: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 15717: shift
 15718: for ac_tag
 15719: do
 15720:   case $ac_tag in
 15721:   :[FHLC]) ac_mode=$ac_tag; continue;;
 15722:   esac
 15723:   case $ac_mode$ac_tag in
 15724:   :[FHL]*:*);;
 15725:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 15726:   :[FH]-) ac_tag=-:-;;
 15727:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 15728:   esac
 15729:   ac_save_IFS=$IFS
 15730:   IFS=:
 15731:   set x $ac_tag
 15732:   IFS=$ac_save_IFS
 15733:   shift
 15734:   ac_file=$1
 15735:   shift
 15736: 
 15737:   case $ac_mode in
 15738:   :L) ac_source=$1;;
 15739:   :[FH])
 15740:     ac_file_inputs=
 15741:     for ac_f
 15742:     do
 15743:       case $ac_f in
 15744:       -) ac_f="$ac_tmp/stdin";;
 15745:       *) # Look for the file first in the build tree, then in the source tree
 15746: 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 15747: 	 # because $ac_f cannot contain `:'.
 15748: 	 test -f "$ac_f" ||
 15749: 	   case $ac_f in
 15750: 	   [\\/$]*) false;;
 15751: 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 15752: 	   esac ||
 15753: 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 15754:       esac
 15755:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 15756:       as_fn_append ac_file_inputs " '$ac_f'"
 15757:     done
 15758: 
 15759:     # Let's still pretend it is `configure' which instantiates (i.e., don't
 15760:     # use $as_me), people would be surprised to read:
 15761:     #    /* config.h.  Generated by config.status.  */
 15762:     configure_input='Generated from '`
 15763: 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 15764: 	`' by configure.'
 15765:     if test x"$ac_file" != x-; then
 15766:       configure_input="$ac_file.  $configure_input"
 15767:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 15768: $as_echo "$as_me: creating $ac_file" >&6;}
 15769:     fi
 15770:     # Neutralize special characters interpreted by sed in replacement strings.
 15771:     case $configure_input in #(
 15772:     *\&* | *\|* | *\\* )
 15773:        ac_sed_conf_input=`$as_echo "$configure_input" |
 15774:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 15775:     *) ac_sed_conf_input=$configure_input;;
 15776:     esac
 15777: 
 15778:     case $ac_tag in
 15779:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
 15780:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 15781:     esac
 15782:     ;;
 15783:   esac
 15784: 
 15785:   ac_dir=`$as_dirname -- "$ac_file" ||
 15786: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15787: 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 15788: 	 X"$ac_file" : 'X\(//\)$' \| \
 15789: 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 15790: $as_echo X"$ac_file" |
 15791:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15792: 	    s//\1/
 15793: 	    q
 15794: 	  }
 15795: 	  /^X\(\/\/\)[^/].*/{
 15796: 	    s//\1/
 15797: 	    q
 15798: 	  }
 15799: 	  /^X\(\/\/\)$/{
 15800: 	    s//\1/
 15801: 	    q
 15802: 	  }
 15803: 	  /^X\(\/\).*/{
 15804: 	    s//\1/
 15805: 	    q
 15806: 	  }
 15807: 	  s/.*/./; q'`
 15808:   as_dir="$ac_dir"; as_fn_mkdir_p
 15809:   ac_builddir=.
 15810: 
 15811: case "$ac_dir" in
 15812: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 15813: *)
 15814:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 15815:   # A ".." for each directory in $ac_dir_suffix.
 15816:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 15817:   case $ac_top_builddir_sub in
 15818:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 15819:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 15820:   esac ;;
 15821: esac
 15822: ac_abs_top_builddir=$ac_pwd
 15823: ac_abs_builddir=$ac_pwd$ac_dir_suffix
 15824: # for backward compatibility:
 15825: ac_top_builddir=$ac_top_build_prefix
 15826: 
 15827: case $srcdir in
 15828:   .)  # We are building in place.
 15829:     ac_srcdir=.
 15830:     ac_top_srcdir=$ac_top_builddir_sub
 15831:     ac_abs_top_srcdir=$ac_pwd ;;
 15832:   [\\/]* | ?:[\\/]* )  # Absolute name.
 15833:     ac_srcdir=$srcdir$ac_dir_suffix;
 15834:     ac_top_srcdir=$srcdir
 15835:     ac_abs_top_srcdir=$srcdir ;;
 15836:   *) # Relative name.
 15837:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 15838:     ac_top_srcdir=$ac_top_build_prefix$srcdir
 15839:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 15840: esac
 15841: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 15842: 
 15843: 
 15844:   case $ac_mode in
 15845:   :F)
 15846:   #
 15847:   # CONFIG_FILE
 15848:   #
 15849: 
 15850:   case $INSTALL in
 15851:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 15852:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 15853:   esac
 15854:   ac_MKDIR_P=$MKDIR_P
 15855:   case $MKDIR_P in
 15856:   [\\/$]* | ?:[\\/]* ) ;;
 15857:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 15858:   esac
 15859: _ACEOF
 15860: 
 15861: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15862: # If the template does not know about datarootdir, expand it.
 15863: # FIXME: This hack should be removed a few years after 2.60.
 15864: ac_datarootdir_hack=; ac_datarootdir_seen=
 15865: ac_sed_dataroot='
 15866: /datarootdir/ {
 15867:   p
 15868:   q
 15869: }
 15870: /@datadir@/p
 15871: /@docdir@/p
 15872: /@infodir@/p
 15873: /@localedir@/p
 15874: /@mandir@/p'
 15875: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 15876: *datarootdir*) ac_datarootdir_seen=yes;;
 15877: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 15878:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 15879: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 15880: _ACEOF
 15881: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15882:   ac_datarootdir_hack='
 15883:   s&@datadir@&$datadir&g
 15884:   s&@docdir@&$docdir&g
 15885:   s&@infodir@&$infodir&g
 15886:   s&@localedir@&$localedir&g
 15887:   s&@mandir@&$mandir&g
 15888:   s&\\\${datarootdir}&$datarootdir&g' ;;
 15889: esac
 15890: _ACEOF
 15891: 
 15892: # Neutralize VPATH when `$srcdir' = `.'.
 15893: # Shell code in configure.ac might set extrasub.
 15894: # FIXME: do we really want to maintain this feature?
 15895: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15896: ac_sed_extra="$ac_vpsub
 15897: $extrasub
 15898: _ACEOF
 15899: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15900: :t
 15901: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 15902: s|@configure_input@|$ac_sed_conf_input|;t t
 15903: s&@top_builddir@&$ac_top_builddir_sub&;t t
 15904: s&@top_build_prefix@&$ac_top_build_prefix&;t t
 15905: s&@srcdir@&$ac_srcdir&;t t
 15906: s&@abs_srcdir@&$ac_abs_srcdir&;t t
 15907: s&@top_srcdir@&$ac_top_srcdir&;t t
 15908: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 15909: s&@builddir@&$ac_builddir&;t t
 15910: s&@abs_builddir@&$ac_abs_builddir&;t t
 15911: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 15912: s&@INSTALL@&$ac_INSTALL&;t t
 15913: s&@MKDIR_P@&$ac_MKDIR_P&;t t
 15914: $ac_datarootdir_hack
 15915: "
 15916: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 15917:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 15918: 
 15919: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 15920:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 15921:   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
 15922:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
 15923:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 15924: which seems to be undefined.  Please make sure it is defined" >&5
 15925: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 15926: which seems to be undefined.  Please make sure it is defined" >&2;}
 15927: 
 15928:   rm -f "$ac_tmp/stdin"
 15929:   case $ac_file in
 15930:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 15931:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 15932:   esac \
 15933:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 15934:  ;;
 15935:   :H)
 15936:   #
 15937:   # CONFIG_HEADER
 15938:   #
 15939:   if test x"$ac_file" != x-; then
 15940:     {
 15941:       $as_echo "/* $configure_input  */" \
 15942:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 15943:     } >"$ac_tmp/config.h" \
 15944:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 15945:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 15946:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 15947: $as_echo "$as_me: $ac_file is unchanged" >&6;}
 15948:     else
 15949:       rm -f "$ac_file"
 15950:       mv "$ac_tmp/config.h" "$ac_file" \
 15951: 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
 15952:     fi
 15953:   else
 15954:     $as_echo "/* $configure_input  */" \
 15955:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 15956:       || as_fn_error $? "could not create -" "$LINENO" 5
 15957:   fi
 15958: # Compute "$ac_file"'s index in $config_headers.
 15959: _am_arg="$ac_file"
 15960: _am_stamp_count=1
 15961: for _am_header in $config_headers :; do
 15962:   case $_am_header in
 15963:     $_am_arg | $_am_arg:* )
 15964:       break ;;
 15965:     * )
 15966:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 15967:   esac
 15968: done
 15969: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 15970: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15971: 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 15972: 	 X"$_am_arg" : 'X\(//\)$' \| \
 15973: 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 15974: $as_echo X"$_am_arg" |
 15975:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15976: 	    s//\1/
 15977: 	    q
 15978: 	  }
 15979: 	  /^X\(\/\/\)[^/].*/{
 15980: 	    s//\1/
 15981: 	    q
 15982: 	  }
 15983: 	  /^X\(\/\/\)$/{
 15984: 	    s//\1/
 15985: 	    q
 15986: 	  }
 15987: 	  /^X\(\/\).*/{
 15988: 	    s//\1/
 15989: 	    q
 15990: 	  }
 15991: 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 15992:  ;;
 15993: 
 15994:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 15995: $as_echo "$as_me: executing $ac_file commands" >&6;}
 15996:  ;;
 15997:   esac
 15998: 
 15999: 
 16000:   case $ac_file$ac_mode in
 16001:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 16002:   # Older Autoconf quotes --file arguments for eval, but not when files
 16003:   # are listed without --file.  Let's play safe and only enable the eval
 16004:   # if we detect the quoting.
 16005:   case $CONFIG_FILES in
 16006:   *\'*) eval set x "$CONFIG_FILES" ;;
 16007:   *)   set x $CONFIG_FILES ;;
 16008:   esac
 16009:   shift
 16010:   for mf
 16011:   do
 16012:     # Strip MF so we end up with the name of the file.
 16013:     mf=`echo "$mf" | sed -e 's/:.*$//'`
 16014:     # Check whether this is an Automake generated Makefile or not.
 16015:     # We used to match only the files named 'Makefile.in', but
 16016:     # some people rename them; so instead we look at the file content.
 16017:     # Grep'ing the first line is not enough: some people post-process
 16018:     # each Makefile.in and add a new line on top of each file to say so.
 16019:     # Grep'ing the whole file is not good either: AIX grep has a line
 16020:     # limit of 2048, but all sed's we know have understand at least 4000.
 16021:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 16022:       dirpart=`$as_dirname -- "$mf" ||
 16023: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16024: 	 X"$mf" : 'X\(//\)[^/]' \| \
 16025: 	 X"$mf" : 'X\(//\)$' \| \
 16026: 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 16027: $as_echo X"$mf" |
 16028:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16029: 	    s//\1/
 16030: 	    q
 16031: 	  }
 16032: 	  /^X\(\/\/\)[^/].*/{
 16033: 	    s//\1/
 16034: 	    q
 16035: 	  }
 16036: 	  /^X\(\/\/\)$/{
 16037: 	    s//\1/
 16038: 	    q
 16039: 	  }
 16040: 	  /^X\(\/\).*/{
 16041: 	    s//\1/
 16042: 	    q
 16043: 	  }
 16044: 	  s/.*/./; q'`
 16045:     else
 16046:       continue
 16047:     fi
 16048:     # Extract the definition of DEPDIR, am__include, and am__quote
 16049:     # from the Makefile without running 'make'.
 16050:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 16051:     test -z "$DEPDIR" && continue
 16052:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
 16053:     test -z "$am__include" && continue
 16054:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 16055:     # Find all dependency output files, they are included files with
 16056:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
 16057:     # simplest approach to changing $(DEPDIR) to its actual value in the
 16058:     # expansion.
 16059:     for file in `sed -n "
 16060:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 16061: 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 16062:       # Make sure the directory exists.
 16063:       test -f "$dirpart/$file" && continue
 16064:       fdir=`$as_dirname -- "$file" ||
 16065: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16066: 	 X"$file" : 'X\(//\)[^/]' \| \
 16067: 	 X"$file" : 'X\(//\)$' \| \
 16068: 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 16069: $as_echo X"$file" |
 16070:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16071: 	    s//\1/
 16072: 	    q
 16073: 	  }
 16074: 	  /^X\(\/\/\)[^/].*/{
 16075: 	    s//\1/
 16076: 	    q
 16077: 	  }
 16078: 	  /^X\(\/\/\)$/{
 16079: 	    s//\1/
 16080: 	    q
 16081: 	  }
 16082: 	  /^X\(\/\).*/{
 16083: 	    s//\1/
 16084: 	    q
 16085: 	  }
 16086: 	  s/.*/./; q'`
 16087:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
 16088:       # echo "creating $dirpart/$file"
 16089:       echo '# dummy' > "$dirpart/$file"
 16090:     done
 16091:   done
 16092: }
 16093:  ;;
 16094:     "libtool":C)
 16095: 
 16096:     # See if we are running on zsh, and set the options that allow our
 16097:     # commands through without removal of \ escapes.
 16098:     if test -n "${ZSH_VERSION+set}"; then
 16099:       setopt NO_GLOB_SUBST
 16100:     fi
 16101: 
 16102:     cfgfile=${ofile}T
 16103:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 16104:     $RM "$cfgfile"
 16105: 
 16106:     cat <<_LT_EOF >> "$cfgfile"
 16107: #! $SHELL
 16108: # Generated automatically by $as_me ($PACKAGE) $VERSION
 16109: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 16110: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 16111: 
 16112: # Provide generalized library-building support services.
 16113: # Written by Gordon Matzigkeit, 1996
 16114: 
 16115: # Copyright (C) 2014 Free Software Foundation, Inc.
 16116: # This is free software; see the source for copying conditions.  There is NO
 16117: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 16118: 
 16119: # GNU Libtool is free software; you can redistribute it and/or modify
 16120: # it under the terms of the GNU General Public License as published by
 16121: # the Free Software Foundation; either version 2 of of the License, or
 16122: # (at your option) any later version.
 16123: #
 16124: # As a special exception to the GNU General Public License, if you
 16125: # distribute this file as part of a program or library that is built
 16126: # using GNU Libtool, you may include this file under the  same
 16127: # distribution terms that you use for the rest of that program.
 16128: #
 16129: # GNU Libtool is distributed in the hope that it will be useful, but
 16130: # WITHOUT ANY WARRANTY; without even the implied warranty of
 16131: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16132: # GNU General Public License for more details.
 16133: #
 16134: # You should have received a copy of the GNU General Public License
 16135: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 16136: 
 16137: 
 16138: # The names of the tagged configurations supported by this script.
 16139: available_tags=''
 16140: 
 16141: # Configured defaults for sys_lib_dlsearch_path munging.
 16142: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
 16143: 
 16144: # ### BEGIN LIBTOOL CONFIG
 16145: 
 16146: # Which release of libtool.m4 was used?
 16147: macro_version=$macro_version
 16148: macro_revision=$macro_revision
 16149: 
 16150: # Whether or not to build shared libraries.
 16151: build_libtool_libs=$enable_shared
 16152: 
 16153: # Whether or not to build static libraries.
 16154: build_old_libs=$enable_static
 16155: 
 16156: # What type of objects to build.
 16157: pic_mode=$pic_mode
 16158: 
 16159: # Whether or not to optimize for fast installation.
 16160: fast_install=$enable_fast_install
 16161: 
 16162: # Shared archive member basename,for filename based shared library versioning on AIX.
 16163: shared_archive_member_spec=$shared_archive_member_spec
 16164: 
 16165: # Shell to use when invoking shell scripts.
 16166: SHELL=$lt_SHELL
 16167: 
 16168: # An echo program that protects backslashes.
 16169: ECHO=$lt_ECHO
 16170: 
 16171: # The PATH separator for the build system.
 16172: PATH_SEPARATOR=$lt_PATH_SEPARATOR
 16173: 
 16174: # The host system.
 16175: host_alias=$host_alias
 16176: host=$host
 16177: host_os=$host_os
 16178: 
 16179: # The build system.
 16180: build_alias=$build_alias
 16181: build=$build
 16182: build_os=$build_os
 16183: 
 16184: # A sed program that does not truncate output.
 16185: SED=$lt_SED
 16186: 
 16187: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 16188: Xsed="\$SED -e 1s/^X//"
 16189: 
 16190: # A grep program that handles long lines.
 16191: GREP=$lt_GREP
 16192: 
 16193: # An ERE matcher.
 16194: EGREP=$lt_EGREP
 16195: 
 16196: # A literal string matcher.
 16197: FGREP=$lt_FGREP
 16198: 
 16199: # A BSD- or MS-compatible name lister.
 16200: NM=$lt_NM
 16201: 
 16202: # Whether we need soft or hard links.
 16203: LN_S=$lt_LN_S
 16204: 
 16205: # What is the maximum length of a command?
 16206: max_cmd_len=$max_cmd_len
 16207: 
 16208: # Object file suffix (normally "o").
 16209: objext=$ac_objext
 16210: 
 16211: # Executable file suffix (normally "").
 16212: exeext=$exeext
 16213: 
 16214: # whether the shell understands "unset".
 16215: lt_unset=$lt_unset
 16216: 
 16217: # turn spaces into newlines.
 16218: SP2NL=$lt_lt_SP2NL
 16219: 
 16220: # turn newlines into spaces.
 16221: NL2SP=$lt_lt_NL2SP
 16222: 
 16223: # convert \$build file names to \$host format.
 16224: to_host_file_cmd=$lt_cv_to_host_file_cmd
 16225: 
 16226: # convert \$build files to toolchain format.
 16227: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 16228: 
 16229: # An object symbol dumper.
 16230: OBJDUMP=$lt_OBJDUMP
 16231: 
 16232: # Method to check whether dependent libraries are shared objects.
 16233: deplibs_check_method=$lt_deplibs_check_method
 16234: 
 16235: # Command to use when deplibs_check_method = "file_magic".
 16236: file_magic_cmd=$lt_file_magic_cmd
 16237: 
 16238: # How to find potential files when deplibs_check_method = "file_magic".
 16239: file_magic_glob=$lt_file_magic_glob
 16240: 
 16241: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 16242: want_nocaseglob=$lt_want_nocaseglob
 16243: 
 16244: # DLL creation program.
 16245: DLLTOOL=$lt_DLLTOOL
 16246: 
 16247: # Command to associate shared and link libraries.
 16248: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 16249: 
 16250: # The archiver.
 16251: AR=$lt_AR
 16252: 
 16253: # Flags to create an archive.
 16254: AR_FLAGS=$lt_AR_FLAGS
 16255: 
 16256: # How to feed a file listing to the archiver.
 16257: archiver_list_spec=$lt_archiver_list_spec
 16258: 
 16259: # A symbol stripping program.
 16260: STRIP=$lt_STRIP
 16261: 
 16262: # Commands used to install an old-style archive.
 16263: RANLIB=$lt_RANLIB
 16264: old_postinstall_cmds=$lt_old_postinstall_cmds
 16265: old_postuninstall_cmds=$lt_old_postuninstall_cmds
 16266: 
 16267: # Whether to use a lock for old archive extraction.
 16268: lock_old_archive_extraction=$lock_old_archive_extraction
 16269: 
 16270: # A C compiler.
 16271: LTCC=$lt_CC
 16272: 
 16273: # LTCC compiler flags.
 16274: LTCFLAGS=$lt_CFLAGS
 16275: 
 16276: # Take the output of nm and produce a listing of raw symbols and C names.
 16277: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 16278: 
 16279: # Transform the output of nm in a proper C declaration.
 16280: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 16281: 
 16282: # Transform the output of nm into a list of symbols to manually relocate.
 16283: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
 16284: 
 16285: # Transform the output of nm in a C name address pair.
 16286: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 16287: 
 16288: # Transform the output of nm in a C name address pair when lib prefix is needed.
 16289: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 16290: 
 16291: # The name lister interface.
 16292: nm_interface=$lt_lt_cv_nm_interface
 16293: 
 16294: # Specify filename containing input files for \$NM.
 16295: nm_file_list_spec=$lt_nm_file_list_spec
 16296: 
 16297: # The root where to search for dependent libraries,and where our libraries should be installed.
 16298: lt_sysroot=$lt_sysroot
 16299: 
 16300: # Command to truncate a binary pipe.
 16301: lt_truncate_bin=$lt_lt_cv_truncate_bin
 16302: 
 16303: # The name of the directory that contains temporary libtool files.
 16304: objdir=$objdir
 16305: 
 16306: # Used to examine libraries when file_magic_cmd begins with "file".
 16307: MAGIC_CMD=$MAGIC_CMD
 16308: 
 16309: # Must we lock files when doing compilation?
 16310: need_locks=$lt_need_locks
 16311: 
 16312: # Manifest tool.
 16313: MANIFEST_TOOL=$lt_MANIFEST_TOOL
 16314: 
 16315: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 16316: DSYMUTIL=$lt_DSYMUTIL
 16317: 
 16318: # Tool to change global to local symbols on Mac OS X.
 16319: NMEDIT=$lt_NMEDIT
 16320: 
 16321: # Tool to manipulate fat objects and archives on Mac OS X.
 16322: LIPO=$lt_LIPO
 16323: 
 16324: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
 16325: OTOOL=$lt_OTOOL
 16326: 
 16327: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 16328: OTOOL64=$lt_OTOOL64
 16329: 
 16330: # Old archive suffix (normally "a").
 16331: libext=$libext
 16332: 
 16333: # Shared library suffix (normally ".so").
 16334: shrext_cmds=$lt_shrext_cmds
 16335: 
 16336: # The commands to extract the exported symbol list from a shared archive.
 16337: extract_expsyms_cmds=$lt_extract_expsyms_cmds
 16338: 
 16339: # Variables whose values should be saved in libtool wrapper scripts and
 16340: # restored at link time.
 16341: variables_saved_for_relink=$lt_variables_saved_for_relink
 16342: 
 16343: # Do we need the "lib" prefix for modules?
 16344: need_lib_prefix=$need_lib_prefix
 16345: 
 16346: # Do we need a version for libraries?
 16347: need_version=$need_version
 16348: 
 16349: # Library versioning type.
 16350: version_type=$version_type
 16351: 
 16352: # Shared library runtime path variable.
 16353: runpath_var=$runpath_var
 16354: 
 16355: # Shared library path variable.
 16356: shlibpath_var=$shlibpath_var
 16357: 
 16358: # Is shlibpath searched before the hard-coded library search path?
 16359: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 16360: 
 16361: # Format of library name prefix.
 16362: libname_spec=$lt_libname_spec
 16363: 
 16364: # List of archive names.  First name is the real one, the rest are links.
 16365: # The last name is the one that the linker finds with -lNAME
 16366: library_names_spec=$lt_library_names_spec
 16367: 
 16368: # The coded name of the library, if different from the real name.
 16369: soname_spec=$lt_soname_spec
 16370: 
 16371: # Permission mode override for installation of shared libraries.
 16372: install_override_mode=$lt_install_override_mode
 16373: 
 16374: # Command to use after installation of a shared archive.
 16375: postinstall_cmds=$lt_postinstall_cmds
 16376: 
 16377: # Command to use after uninstallation of a shared archive.
 16378: postuninstall_cmds=$lt_postuninstall_cmds
 16379: 
 16380: # Commands used to finish a libtool library installation in a directory.
 16381: finish_cmds=$lt_finish_cmds
 16382: 
 16383: # As "finish_cmds", except a single script fragment to be evaled but
 16384: # not shown.
 16385: finish_eval=$lt_finish_eval
 16386: 
 16387: # Whether we should hardcode library paths into libraries.
 16388: hardcode_into_libs=$hardcode_into_libs
 16389: 
 16390: # Compile-time system search path for libraries.
 16391: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 16392: 
 16393: # Detected run-time system search path for libraries.
 16394: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
 16395: 
 16396: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
 16397: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
 16398: 
 16399: # Whether dlopen is supported.
 16400: dlopen_support=$enable_dlopen
 16401: 
 16402: # Whether dlopen of programs is supported.
 16403: dlopen_self=$enable_dlopen_self
 16404: 
 16405: # Whether dlopen of statically linked programs is supported.
 16406: dlopen_self_static=$enable_dlopen_self_static
 16407: 
 16408: # Commands to strip libraries.
 16409: old_striplib=$lt_old_striplib
 16410: striplib=$lt_striplib
 16411: 
 16412: 
 16413: # The linker used to build libraries.
 16414: LD=$lt_LD
 16415: 
 16416: # How to create reloadable object files.
 16417: reload_flag=$lt_reload_flag
 16418: reload_cmds=$lt_reload_cmds
 16419: 
 16420: # Commands used to build an old-style archive.
 16421: old_archive_cmds=$lt_old_archive_cmds
 16422: 
 16423: # A language specific compiler.
 16424: CC=$lt_compiler
 16425: 
 16426: # Is the compiler the GNU compiler?
 16427: with_gcc=$GCC
 16428: 
 16429: # Compiler flag to turn off builtin functions.
 16430: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 16431: 
 16432: # Additional compiler flags for building library objects.
 16433: pic_flag=$lt_lt_prog_compiler_pic
 16434: 
 16435: # How to pass a linker flag through the compiler.
 16436: wl=$lt_lt_prog_compiler_wl
 16437: 
 16438: # Compiler flag to prevent dynamic linking.
 16439: link_static_flag=$lt_lt_prog_compiler_static
 16440: 
 16441: # Does compiler simultaneously support -c and -o options?
 16442: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 16443: 
 16444: # Whether or not to add -lc for building shared libraries.
 16445: build_libtool_need_lc=$archive_cmds_need_lc
 16446: 
 16447: # Whether or not to disallow shared libs when runtime libs are static.
 16448: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 16449: 
 16450: # Compiler flag to allow reflexive dlopens.
 16451: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 16452: 
 16453: # Compiler flag to generate shared objects directly from archives.
 16454: whole_archive_flag_spec=$lt_whole_archive_flag_spec
 16455: 
 16456: # Whether the compiler copes with passing no objects directly.
 16457: compiler_needs_object=$lt_compiler_needs_object
 16458: 
 16459: # Create an old-style archive from a shared archive.
 16460: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 16461: 
 16462: # Create a temporary old-style archive to link instead of a shared archive.
 16463: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 16464: 
 16465: # Commands used to build a shared archive.
 16466: archive_cmds=$lt_archive_cmds
 16467: archive_expsym_cmds=$lt_archive_expsym_cmds
 16468: 
 16469: # Commands used to build a loadable module if different from building
 16470: # a shared archive.
 16471: module_cmds=$lt_module_cmds
 16472: module_expsym_cmds=$lt_module_expsym_cmds
 16473: 
 16474: # Whether we are building with GNU ld or not.
 16475: with_gnu_ld=$lt_with_gnu_ld
 16476: 
 16477: # Flag that allows shared libraries with undefined symbols to be built.
 16478: allow_undefined_flag=$lt_allow_undefined_flag
 16479: 
 16480: # Flag that enforces no undefined symbols.
 16481: no_undefined_flag=$lt_no_undefined_flag
 16482: 
 16483: # Flag to hardcode \$libdir into a binary during linking.
 16484: # This must work even if \$libdir does not exist
 16485: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 16486: 
 16487: # Whether we need a single "-rpath" flag with a separated argument.
 16488: hardcode_libdir_separator=$lt_hardcode_libdir_separator
 16489: 
 16490: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
 16491: # DIR into the resulting binary.
 16492: hardcode_direct=$hardcode_direct
 16493: 
 16494: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
 16495: # DIR into the resulting binary and the resulting library dependency is
 16496: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
 16497: # library is relocated.
 16498: hardcode_direct_absolute=$hardcode_direct_absolute
 16499: 
 16500: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 16501: # into the resulting binary.
 16502: hardcode_minus_L=$hardcode_minus_L
 16503: 
 16504: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 16505: # into the resulting binary.
 16506: hardcode_shlibpath_var=$hardcode_shlibpath_var
 16507: 
 16508: # Set to "yes" if building a shared library automatically hardcodes DIR
 16509: # into the library and all subsequent libraries and executables linked
 16510: # against it.
 16511: hardcode_automatic=$hardcode_automatic
 16512: 
 16513: # Set to yes if linker adds runtime paths of dependent libraries
 16514: # to runtime path list.
 16515: inherit_rpath=$inherit_rpath
 16516: 
 16517: # Whether libtool must link a program against all its dependency libraries.
 16518: link_all_deplibs=$link_all_deplibs
 16519: 
 16520: # Set to "yes" if exported symbols are required.
 16521: always_export_symbols=$always_export_symbols
 16522: 
 16523: # The commands to list exported symbols.
 16524: export_symbols_cmds=$lt_export_symbols_cmds
 16525: 
 16526: # Symbols that should not be listed in the preloaded symbols.
 16527: exclude_expsyms=$lt_exclude_expsyms
 16528: 
 16529: # Symbols that must always be exported.
 16530: include_expsyms=$lt_include_expsyms
 16531: 
 16532: # Commands necessary for linking programs (against libraries) with templates.
 16533: prelink_cmds=$lt_prelink_cmds
 16534: 
 16535: # Commands necessary for finishing linking programs.
 16536: postlink_cmds=$lt_postlink_cmds
 16537: 
 16538: # Specify filename containing input files.
 16539: file_list_spec=$lt_file_list_spec
 16540: 
 16541: # How to hardcode a shared library path into an executable.
 16542: hardcode_action=$hardcode_action
 16543: 
 16544: # ### END LIBTOOL CONFIG
 16545: 
 16546: _LT_EOF
 16547: 
 16548:     cat <<'_LT_EOF' >> "$cfgfile"
 16549: 
 16550: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
 16551: 
 16552: # func_munge_path_list VARIABLE PATH
 16553: # -----------------------------------
 16554: # VARIABLE is name of variable containing _space_ separated list of
 16555: # directories to be munged by the contents of PATH, which is string
 16556: # having a format:
 16557: # "DIR[:DIR]:"
 16558: #       string "DIR[ DIR]" will be prepended to VARIABLE
 16559: # ":DIR[:DIR]"
 16560: #       string "DIR[ DIR]" will be appended to VARIABLE
 16561: # "DIRP[:DIRP]::[DIRA:]DIRA"
 16562: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 16563: #       "DIRA[ DIRA]" will be appended to VARIABLE
 16564: # "DIR[:DIR]"
 16565: #       VARIABLE will be replaced by "DIR[ DIR]"
 16566: func_munge_path_list ()
 16567: {
 16568:     case x$2 in
 16569:     x)
 16570:         ;;
 16571:     *:)
 16572:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 16573:         ;;
 16574:     x:*)
 16575:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 16576:         ;;
 16577:     *::*)
 16578:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 16579:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 16580:         ;;
 16581:     *)
 16582:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 16583:         ;;
 16584:     esac
 16585: }
 16586: 
 16587: 
 16588: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 16589: func_cc_basename ()
 16590: {
 16591:     for cc_temp in $*""; do
 16592:       case $cc_temp in
 16593:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 16594:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 16595:         \-*) ;;
 16596:         *) break;;
 16597:       esac
 16598:     done
 16599:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 16600: }
 16601: 
 16602: 
 16603: # ### END FUNCTIONS SHARED WITH CONFIGURE
 16604: 
 16605: _LT_EOF
 16606: 
 16607:   case $host_os in
 16608:   aix3*)
 16609:     cat <<\_LT_EOF >> "$cfgfile"
 16610: # AIX sometimes has problems with the GCC collect2 program.  For some
 16611: # reason, if we set the COLLECT_NAMES environment variable, the problems
 16612: # vanish in a puff of smoke.
 16613: if test set != "${COLLECT_NAMES+set}"; then
 16614:   COLLECT_NAMES=
 16615:   export COLLECT_NAMES
 16616: fi
 16617: _LT_EOF
 16618:     ;;
 16619:   esac
 16620: 
 16621: 
 16622: ltmain=$ac_aux_dir/ltmain.sh
 16623: 
 16624: 
 16625:   # We use sed instead of cat because bash on DJGPP gets confused if
 16626:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 16627:   # text mode, it properly converts lines to CR/LF.  This bash problem
 16628:   # is reportedly fixed, but why not run on old versions too?
 16629:   sed '$q' "$ltmain" >> "$cfgfile" \
 16630:      || (rm -f "$cfgfile"; exit 1)
 16631: 
 16632:    mv -f "$cfgfile" "$ofile" ||
 16633:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 16634:   chmod +x "$ofile"
 16635: 
 16636:  ;;
 16637: 
 16638:   esac
 16639: done # for ac_tag
 16640: 
 16641: 
 16642: as_fn_exit 0
 16643: _ACEOF
 16644: ac_clean_files=$ac_clean_files_save
 16645: 
 16646: test $ac_write_fail = 0 ||
 16647:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 16648: 
 16649: 
 16650: # configure is writing to config.log, and then calls config.status.
 16651: # config.status does its own redirection, appending to config.log.
 16652: # Unfortunately, on DOS this fails, as config.log is still kept open
 16653: # by configure, so config.status won't be able to write to it; its
 16654: # output is simply discarded.  So we exec the FD to /dev/null,
 16655: # effectively closing config.log, so it can be properly (re)opened and
 16656: # appended to by config.status.  When coming back to configure, we
 16657: # need to make the FD available again.
 16658: if test "$no_create" != yes; then
 16659:   ac_cs_success=:
 16660:   ac_config_status_args=
 16661:   test "$silent" = yes &&
 16662:     ac_config_status_args="$ac_config_status_args --quiet"
 16663:   exec 5>/dev/null
 16664:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 16665:   exec 5>>config.log
 16666:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 16667:   # would make configure fail if this is the last instruction.
 16668:   $ac_cs_success || as_fn_exit 1
 16669: fi
 16670: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 16671:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 16672: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 16673: fi
 16674: 

Generated by git2html.